/* ============================================================
   STUDIO PAGE
   Layered on experience.css (which owns the hero, manifesto and team
   cards). Adds:
     · the facts strip under the hero
     · the worlds wall: every game in js/games.js, drifting in two rows
     · three working principles
     · skill chips and credits on the team cards
     · a two-sided closing section: community and business
   ============================================================ */

/* ---- Facts strip ------------------------------------------------------ */
.studio-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* the room above is Snag's: he peeks over the top edge */
  margin: clamp(100px, 9vw, 140px) var(--gutter) 0;
  border: 1px solid var(--edge-soft, rgba(233, 238, 245, .12));
  border-radius: var(--r-lg, 22px);
  background: linear-gradient(160deg, rgba(27, 31, 41, .86), rgba(12, 14, 20, .94));
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
/* Snag, the bug, eyeing the strip from behind its top edge */
.studio-facts .lurk--snag { right: clamp(24px, 6vw, 110px); bottom: 100%; padding: 0; border: 0; }
.studio-facts > div:not(.lurk) { padding: 22px 26px 24px; border-left: 1px solid var(--edge-soft, rgba(233, 238, 245, .12)); }
.studio-facts > div:nth-child(2) { border-left: 0; }
.studio-facts dt { font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #8f9aa8; }
.studio-facts dd { margin: 12px 0 0; font: 800 clamp(26px, 2.6vw, 40px)/1 var(--display); text-transform: uppercase; color: #f1f4f8; }

/* ---- The worlds wall ---------------------------------------------------- */
.studio-wall {
  padding: clamp(100px, 10vw, 150px) 0 clamp(90px, 9vw, 130px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 14, 21, .35), rgba(11, 14, 21, .72));
}
.studio-wall__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--gutter);
  margin-bottom: 44px;
}
.studio-wall__head h2 { margin: 18px 0 0; font-size: clamp(64px, 8vw, 132px); line-height: .9; }
.studio-wall__fallback { padding: 0 var(--gutter); }
.wall { display: grid; gap: 14px; }
.wall-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
/* each track holds its set twice; one set plus one gap is exactly half the
   track minus half a gap, so the loop lands where it started */
.wall-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: wall-drift calc(var(--n, 8) * 6.5s) linear infinite;
}
.wall-row--back .wall-track { animation-direction: reverse; }
.wall:hover .wall-track,
.wall:focus-within .wall-track,
body.motion-paused .wall-track { animation-play-state: paused; }
@keyframes wall-drift { to { translate: calc(-50% - 7px) 0; } }
.wall-tile {
  position: relative;
  flex: none;
  width: clamp(240px, 24vw, 380px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--edge-soft, rgba(233, 238, 245, .12));
  border-radius: var(--r-md, 18px);
  background: #10141b;
  color: #fff;
  text-decoration: none;
}
.wall-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) brightness(.82);
  transition: scale .7s var(--ease), filter .4s ease;
}
.wall-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 7, 11, .82), transparent 55%);
}
.wall-tile__label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.wall-tile__label b { font: 800 clamp(20px, 1.8vw, 28px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.wall-tile__label i { font: 500 9px/1 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #c9d1db; white-space: nowrap; }
.wall-tile:hover img, .wall-tile:focus-visible img { scale: 1.05; filter: saturate(1.05) brightness(1.02); }
.wall-tile:hover, .wall-tile:focus-visible { border-color: rgba(214, 48, 76, .8); }

/* ---- By the numbers ----------------------------------------------------- */
.studio-numbers {
  padding: clamp(30px, 4vw, 60px) var(--gutter) clamp(30px, 3vw, 50px);
  background: rgba(11, 14, 21, .72);
}
.studio-numbers dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 36px);
  margin: 22px 0 0;
}
.studio-numbers dl > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.studio-numbers dd {
  margin: 0;
  font: 900 clamp(88px, 13vw, 220px)/.82 var(--display);
  letter-spacing: -.03em;
  color: #f4f6f9;
  font-variant-numeric: tabular-nums;
}
.studio-numbers dt { font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #9aa6b4; }
.studio-numbers dl > div:first-child dd { color: var(--red); }

/* ---- Principles --------------------------------------------------------- */
.studio-principles {
  padding: 0 var(--gutter) clamp(48px, 5vw, 72px);
  background: rgba(11, 14, 21, .93);
}
.studio-principles ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.studio-principles li { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); }
.studio-principles span { font: 500 10px/1 var(--mono); letter-spacing: .2em; color: var(--red); }
.studio-principles h3 { margin: 14px 0 12px; font: 800 clamp(30px, 3vw, 48px)/.95 var(--display); text-transform: uppercase; color: #f1f4f8; }
.studio-principles p { margin: 0; max-width: 36ch; color: #aeb8c4; font-size: 16px; line-height: 1.55; }
/* the manifesto now hands straight over to the principles */
.page-about .about-manifesto { padding-top: clamp(60px, 6vw, 90px); padding-bottom: clamp(70px, 7vw, 100px); }

/* ---- Team cards --------------------------------------------------------- */
.page-about .skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid #ffffff40;
}
.page-about .skills li {
  padding: 7px 11px;
  border: 1px solid var(--edge, rgba(233, 238, 245, .2));
  border-radius: 999px;
  font: 500 10px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #d1d6dd;
}
.page-about .team-card__text > .team-card__credit { margin: 14px 0 0; padding: 0; border: 0; font: 500 10px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #9fb0c4; }
.page-about .team-section { padding-top: clamp(60px, 6vw, 100px); }
.page-about .portrait img { transition: filter .5s ease, scale .8s var(--ease); }
.page-about .team-card:hover .portrait img { filter: saturate(1); scale: 1.04; }

/* ---- Closing: community and business ------------------------------------ */
.page-about .join {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: end;
  gap: clamp(40px, 6vw, 110px);
  min-height: 0;
  padding-top: clamp(100px, 10vw, 150px);
  padding-bottom: clamp(100px, 10vw, 150px);
}
.join__main > p:not(.eyebrow) { max-width: 44ch; margin: 0 0 30px; color: #cbd2db; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; }
.join__side {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--edge-soft, rgba(233, 238, 245, .12));
  border-radius: var(--r-lg, 22px);
  background: linear-gradient(160deg, rgba(30, 24, 32, .82), rgba(12, 11, 16, .9));
}
.join__side > p:not(.eyebrow) { margin: 14px 0 24px; color: #d3d8df; font-size: 17px; line-height: 1.5; }
.join__socials { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.join__socials a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--edge-soft, rgba(233, 238, 245, .12));
  font: 500 11px/1 var(--mono);
  letter-spacing: .12em;
  color: #eef1f5;
  text-decoration: none;
}
.join__socials span { color: #8f9aa8; text-transform: uppercase; }
.join__socials a:hover, .join__socials a:focus-visible { color: #fff; border-color: rgba(214, 48, 76, .8); }

/* ---- Small screens ------------------------------------------------------ */
@media (max-width: 900px) {
  .studio-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-facts > div:nth-child(4) { border-left: 0; }
  .studio-facts > div:nth-child(n + 4) { border-top: 1px solid var(--edge-soft, rgba(233, 238, 245, .12)); }
  .studio-wall__head { flex-direction: column; align-items: start; }
  .wall-tile { width: 240px; }
  .studio-principles ol { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .studio-numbers dl { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .page-about .join { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 540px) {
  .studio-facts > div:not(.lurk) { padding: 18px 18px 20px; }
  .studio-facts .lurk--snag { width: 200px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .wall-row { overflow-x: auto; scrollbar-width: none; }
  .wall-track { animation: none; }
  .wall-tile img, .page-about .portrait img { transition: none; }
}

/* ---- Hero ------------------------------------------------------------------
   The name on the left, and the four people it is talking about on the
   right as a fanned set of crew badges. The rain stays, graded down hard
   on the copy side so the type sits on near-black. */
.page-about .rain-grade {
  background:
    radial-gradient(ellipse 52% 62% at 24% 54%, rgba(9, 7, 9, .7), rgba(9, 7, 9, 0) 100%),
    linear-gradient(90deg, rgba(9, 7, 9, .42) 0, rgba(9, 7, 9, .12) 55%, rgba(9, 7, 9, 0) 100%),
    linear-gradient(180deg, transparent 0, transparent 62%, rgba(9, 7, 9, .85) 100%);
}
.page-about .about-intro.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  min-height: max(700px, 100svh);
  padding: clamp(130px, 14svh, 170px) var(--gutter) clamp(50px, 7svh, 80px);
  background: none;
}
.studio-hero .eyebrow { color: #cbbfc4; }
.studio-hero .eyebrow i { margin: 0 6px; font-style: normal; color: var(--red); }
.page-about .studio-hero h1 {
  margin: 24px 0 28px;
  font-size: clamp(72px, 8.6vw, 156px);
  line-height: .86;
  text-align: left;
  text-wrap: nowrap;
}
.page-about .studio-hero h1 span { color: var(--red); }
.studio-hero__lede { max-width: 30ch; margin: 0 0 34px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; color: #ddd5d8; }
.studio-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.studio-hero__quiet {
  padding: 12px 2px;
  border-bottom: 1px solid rgba(233, 228, 230, .5);
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f1ecee;
  text-decoration: none;
}
.studio-hero__quiet:hover { border-color: var(--red); }

/* the crew: four badges, fanned, the second column set lower */
.studio-crew {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  /* sized by the screen's height too, so all four always fit above the fold */
  max-width: min(clamp(400px, 28vw, 540px), 62svh);
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.crew-card:nth-child(even) { translate: 0 clamp(30px, 4vw, 60px); }
.crew-card a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 10px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md, 18px);
  background: linear-gradient(160deg, rgba(36, 24, 30, .86), rgba(12, 9, 12, .92));
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .1);
  color: #fff;
  text-decoration: none;
  rotate: var(--tilt, 0deg);
  transition: rotate .4s cubic-bezier(.2, .7, .2, 1), translate .4s cubic-bezier(.2, .7, .2, 1), border-color .3s ease;
}
.crew-card:nth-child(1) a { --tilt: -3deg; }
.crew-card:nth-child(2) a { --tilt: 2.5deg; }
.crew-card:nth-child(3) a { --tilt: 1.5deg; }
.crew-card:nth-child(4) a { --tilt: -2deg; }
.crew-card__photo { display: block; overflow: hidden; margin-bottom: 10px; border-radius: 12px; aspect-ratio: 1; background: #241b20; }
.crew-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: filter .4s ease, scale .6s cubic-bezier(.2, .7, .2, 1); }
.crew-card__no { position: absolute; top: 18px; left: 18px; padding: 5px 8px; border-radius: 999px; background: rgba(12, 9, 12, .78); font: 500 9px/1 var(--mono); letter-spacing: .14em; color: #e6dfe2; }
.crew-card b { padding: 0 6px; font: 800 clamp(24px, 2.2vw, 32px)/.95 var(--display); text-transform: uppercase; }
.crew-card small { padding: 0 6px; font: 500 9px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.crew-card i { padding: 0 6px; font: 500 9px/1.4 var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #a99ca2; }
.crew-card a:hover, .crew-card a:focus-visible { rotate: 0deg; translate: 0 -6px; border-color: rgba(214, 48, 76, .8); }
.crew-card a:hover img, .crew-card a:focus-visible img { filter: saturate(1); scale: 1.05; }

@media (prefers-reduced-motion: no-preference) {
  .studio-hero__copy > *, .crew-card { animation: crew-in .9s cubic-bezier(.2, .7, .2, 1) backwards; }
  .studio-hero h1 { animation-delay: .08s; }
  .studio-hero__lede { animation-delay: .18s; }
  .studio-hero__actions { animation-delay: .26s; }
  .crew-card:nth-child(1) { animation-delay: .3s; }
  .crew-card:nth-child(2) { animation-delay: .4s; }
  .crew-card:nth-child(3) { animation-delay: .5s; }
  .crew-card:nth-child(4) { animation-delay: .6s; }
}
@keyframes crew-in { from { opacity: 0; transform: translateY(24px); } }

@media (max-width: 960px) {
  .page-about .about-intro.studio-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; align-items: start; }
  .page-about .studio-hero h1 { font-size: clamp(60px, 15vw, 120px); text-wrap: wrap; }
  .studio-crew { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; margin: 10px 0 30px; gap: 10px; }
  .crew-card:nth-child(even) { translate: 0 18px; }
  .crew-card a { padding: 6px 6px 10px; }
  .crew-card b { font-size: 18px; padding: 0 3px; }
  .crew-card small { font-size: 8px; padding: 0 3px; }
  .crew-card i, .crew-card__no { display: none; }
}
@media (max-width: 520px) {
  .studio-crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-card b { font-size: 22px; }
}

/* ---- Manifesto: the journey it describes, from TRAUMA to ABYSS -------- */
.manifesto-side { display: grid; align-content: start; gap: clamp(30px, 4vw, 56px); }
.page-about .about-manifesto .manifesto-side > .eyebrow { padding-top: 10px; color: #98a2b0; }
.world-stack { position: relative; width: min(100%, 380px); aspect-ratio: 1.25; }
.world-stack__card {
  position: absolute;
  width: 78%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  transition: rotate .45s cubic-bezier(.2, .7, .2, 1), translate .45s cubic-bezier(.2, .7, .2, 1);
}
.world-stack__card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.85) brightness(.85); }
.world-stack__card b {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font: 800 22px/1 var(--display);
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.world-stack__card--1 { left: 0; top: 0; rotate: -7deg; }
.world-stack__card--2 { left: 11%; top: 20%; rotate: 3deg; }
.world-stack__card--3 { left: 22%; top: 40%; rotate: -2deg; border-color: rgba(214, 48, 76, .7); }
.world-stack__card--3 img { filter: none; }
.world-stack:hover .world-stack__card--1 { rotate: -11deg; translate: -10px -6px; }
.world-stack:hover .world-stack__card--3 { rotate: 0deg; translate: 8px 6px; }
@media (max-width: 900px) { .world-stack { width: min(100%, 340px); margin-bottom: 20px; } }

/* ---- Hero crew, as a hand of cards across the right ----------------------
   (overrides the 2x2 grid above on wide screens, so the middle of the
   hero is no longer empty) */
@media (min-width: 961px) {
  .page-about .about-intro.studio-hero { grid-template-columns: auto minmax(0, 1fr); }
  .studio-crew {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: none;
    margin: 0;
    padding-left: clamp(0px, 2vw, 40px);
  }
  .crew-card { position: relative; flex: 0 1 clamp(170px, 13.5vw, 270px); min-width: 0; }
  .crew-card + .crew-card { margin-left: clamp(-36px, -1.8vw, -14px); }
  .crew-card:nth-child(even) { translate: none; }
  .crew-card:nth-child(1) { translate: 0 14px; }
  .crew-card:nth-child(2) { translate: 0 -34px; }
  .crew-card:nth-child(3) { translate: 0 26px; }
  .crew-card:nth-child(4) { translate: 0 -18px; }
  .crew-card:nth-child(1) a { --tilt: -6deg; }
  .crew-card:nth-child(2) a { --tilt: -1.5deg; }
  .crew-card:nth-child(3) a { --tilt: 3deg; }
  .crew-card:nth-child(4) a { --tilt: 7deg; }
  .crew-card:hover, .crew-card:focus-within { z-index: 2; }
}

/* ---- Co-founders ------------------------------------------------------
   Key, QP and Vello: a red edge, a warm glow and a FOUNDER tag on the
   photo, on both the hero badges and the team cards. */
.founder-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 5px 8px;
  border: 1px solid rgba(214, 48, 76, .9);
  border-radius: 999px;
  background: rgba(120, 16, 34, .85);
  box-shadow: 0 0 14px rgba(214, 48, 76, .45);
  font: 600 9px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  font-style: normal;
}
.founder-tag::before { content: ""; width: 5px; height: 5px; background: #fff; rotate: 45deg; }
.crew-card .founder-tag { top: 18px; right: 18px; }
.crew-card.is-founder a {
  border-color: rgba(214, 48, 76, .6);
  background:
    linear-gradient(180deg, rgba(214, 48, 76, .16), transparent 45%),
    linear-gradient(160deg, rgba(40, 20, 28, .9), rgba(14, 8, 11, .94));
  box-shadow: 0 20px 44px rgba(0, 0, 0, .5), 0 0 30px rgba(214, 48, 76, .2), inset 0 1px 0 rgba(255, 180, 190, .18);
}
.crew-card.is-founder a:hover, .crew-card.is-founder a:focus-visible { border-color: rgba(214, 48, 76, 1); box-shadow: 0 24px 50px rgba(0, 0, 0, .55), 0 0 40px rgba(214, 48, 76, .35); }

.page-about .team-card.is-founder {
  border-color: rgba(214, 48, 76, .55);
  background: linear-gradient(120deg, rgba(214, 48, 76, .14), transparent 55%), #1b222d;
  box-shadow: 0 0 34px rgba(214, 48, 76, .16);
}
.page-about .team-card .portrait { position: relative; }
.page-about .team-card .founder-tag { top: 16px; right: 16px; }
@media (max-width: 960px) {
  .crew-card .founder-tag { top: 10px; right: 10px; padding: 4px 6px; font-size: 7px; letter-spacing: .12em; }
  .crew-card .founder-tag::before { display: none; }
}

/* every row as tall as the tallest card, so no one gets a bigger card */
.page-about .team-grid { grid-auto-rows: 1fr; }
.page-about .team-card { height: 100%; }

/* ---- The story so far: a timeline of every release ---------------------
   One rail across the page. Each world hangs off it as a card, a year
   marker sits where each year starts, and the newest world, ABYSS, ends
   it in red. Scrolls sideways (snap), drags with a mouse. */
.studio-timeline {
  padding: clamp(56px, 5.5vw, 84px) 0 clamp(20px, 2vw, 40px);
  background: rgba(11, 14, 21, .9);
  overflow: hidden;
}
.studio-timeline__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--gutter);
  margin-bottom: 44px;
}
.studio-timeline__head h2 { margin: 18px 0 0; font-size: clamp(64px, 8vw, 132px); line-height: .9; }
.studio-timeline__nav { display: grid; justify-items: end; gap: 18px; }
.studio-timeline__nav p { max-width: 30ch; margin: 0; text-align: right; color: #aeb8c4; font-size: 16px; line-height: 1.5; }
.studio-timeline__nav div { display: flex; gap: 8px; }
.studio-timeline__nav button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--edge, rgba(233, 238, 245, .2));
  border-radius: 50%;
  background: rgba(20, 24, 32, .8);
  color: #fff;
  font: 18px/1 var(--body);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.studio-timeline__nav button:hover, .studio-timeline__nav button:focus-visible { border-color: rgba(214, 48, 76, .9); background: rgba(80, 20, 34, .7); }

.timeline {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 18px;
  margin: 0;
  padding: 34px var(--gutter) 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  list-style: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}
.timeline::-webkit-scrollbar { display: none; }
.timeline.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.timeline.is-dragging a { pointer-events: none; }
/* the rail: each item draws its own stretch of it, so it runs the full length */
.timeline > li { position: relative; flex: none; scroll-snap-align: start; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: -9px;
  right: -9px;
  top: -18px;
  height: 1px;
  background: rgba(233, 238, 245, .22);
}
.timeline__year { display: flex; align-items: start; width: 120px; }
.timeline__year span {
  margin-top: 6px;
  font: 900 64px/.8 var(--display);
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 238, 245, .35);
}
.timeline__year::after {
  content: "";
  position: absolute;
  left: 0;
  top: -26px;
  width: 1px;
  height: 18px;
  background: rgba(233, 238, 245, .5);
}
.timeline__item { width: clamp(220px, 17vw, 280px); }
/* the dot on the rail */
.timeline__item::after {
  content: "";
  position: absolute;
  left: 18px;
  top: -22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0b0e15;
  border: 1px solid rgba(233, 238, 245, .6);
}
.timeline__item a {
  display: grid;
  align-content: start;
  gap: 8px;
  height: 100%;
  padding: 12px 12px 16px;
  border: 1px solid var(--edge-soft, rgba(233, 238, 245, .12));
  border-radius: var(--r-md, 18px);
  background: linear-gradient(160deg, rgba(27, 31, 41, .86), rgba(12, 14, 20, .94));
  color: #fff;
  text-decoration: none;
  transition: border-color .25s ease, translate .3s cubic-bezier(.2, .7, .2, 1);
}
.timeline__item time { padding: 0 2px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #9aa6b4; }
.timeline__item img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 10px; filter: saturate(.85) brightness(.88); transition: filter .3s ease; -webkit-user-drag: none; }
.timeline__item b { padding: 0 2px; font: 800 26px/1 var(--display); text-transform: uppercase; }
.timeline__item small { padding: 0 2px; font: 500 9px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8f9aa8; }
.timeline__item a:hover, .timeline__item a:focus-visible { border-color: rgba(214, 48, 76, .8); translate: 0 -4px; }
.timeline__item a:hover img, .timeline__item a:focus-visible img { filter: none; }
.timeline__item.is-first small { color: #e9eef3; }
/* ABYSS, now: red, and the rail ends here */
.timeline__item.is-now::before { right: 50%; }
.timeline__item.is-now::after { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(214, 48, 76, .2), 0 0 14px var(--red); animation: navLive 1.6s ease-in-out infinite; }
.timeline__item.is-now a { border-color: rgba(214, 48, 76, .7); background: linear-gradient(180deg, rgba(214, 48, 76, .16), transparent 50%), linear-gradient(160deg, rgba(40, 20, 28, .9), rgba(14, 8, 11, .94)); box-shadow: 0 0 34px rgba(214, 48, 76, .2); }
.timeline__item.is-now time { color: #f2a3b1; }
.timeline__item.is-now small { color: var(--red); }
.timeline > li:first-child::before { left: 18px; }
@media (max-width: 900px) {
  .studio-timeline__head { flex-direction: column; align-items: start; }
  .studio-timeline__nav { justify-items: start; }
  .studio-timeline__nav p { text-align: left; }
  .timeline__item { width: 220px; }
  .timeline__year { width: 90px; }
  .timeline__year span { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) { .timeline__item.is-now::after { animation: none; } }
.page-about .team-section { padding-bottom: clamp(50px, 5vw, 80px); }

/* ---- Where we're headed: heading on the left, five rows on the right ---- */
.studio-next {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 90px);
  padding: clamp(56px, 6vw, 96px) var(--gutter);
  background: rgba(11, 14, 21, .93);
}
.studio-next__head { position: sticky; top: 120px; align-self: start; }
.studio-next__head h2 { margin: 18px 0 0; font-size: clamp(64px, 8vw, 132px); line-height: .9; }
.studio-next__list { margin: 0; padding: 0; list-style: none; }
.studio-next__list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.studio-next__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.studio-next__list span { padding-top: 10px; font: 500 10px/1 var(--mono); letter-spacing: .2em; color: var(--red); }
.studio-next__list h3 { margin: 0 0 12px; font: 800 clamp(28px, 2.8vw, 44px)/.95 var(--display); text-transform: uppercase; color: #f1f4f8; }
.studio-next__list h3 i { font-style: normal; color: var(--red); }
.studio-next__list p { grid-column: 2; margin: 0; max-width: 58ch; color: #aeb8c4; font-size: 16px; line-height: 1.55; }
@media (max-width: 900px) {
  .studio-next { grid-template-columns: minmax(0, 1fr); }
  .studio-next__head { position: static; }
  .studio-next__list li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; }
}
