/* Mindengine v2: cinematic, game-first. A violet-black stage; each game brings its own light.
   Layout idea: image-led. Rounded inset frames, a living hero reel, a bento of worlds, chapters that recolour the page. */
:root {
  --stage: #0c0b10;
  --stage-2: #15131c;
  --line: rgba(243, 239, 247, .12);
  --ink: #f3eff7;
  --dim: #a9a3b4;
  --brand: #ff7a59;
  --g: var(--brand);

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(16px, 3.4vw, 48px);
  --max: 1360px;
  --r-lg: clamp(18px, 2.2vw, 30px);
  --r-md: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--stage); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; transition: background-color .8s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.02; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--stage); padding: 8px 12px; z-index: 60; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--dim); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 12px var(--g); }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; padding: 14px 0; transition: background .3s, backdrop-filter .3s; }
.top.solid { background: color-mix(in srgb, var(--stage) 78%, transparent); backdrop-filter: blur(14px) saturate(1.3); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(20, 18, 26, .55); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: 99px; color: var(--dim); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .08); }
.nav .cta { background: var(--ink); color: var(--stage); }
.nav .cta:hover { background: var(--g); color: #0c0b10; }
@media (max-width: 680px) { .nav a.opt { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 14px 22px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--ink);
  transition: background .2s, color .2s, transform .2s; cursor: pointer; font-family: inherit; }
.btn:hover { background: rgba(255,255,255,.14); }
.btn.primary { background: var(--g); border-color: transparent; color: #0c0b10; }
.btn.primary:hover { background: var(--ink); }
.btn .ar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(12,11,16,.14); transition: transform .2s; }
.btn:not(.primary) .ar { background: rgba(255,255,255,.1); }
.btn:hover .ar { transform: translateX(3px); }

/* ---------- Hero reel ---------- */
.reel { position: relative; height: clamp(560px, 92vh, 920px); margin: 0 auto; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.slide.on img { animation: drift 9s ease-out forwards; }
@keyframes drift { from { transform: scale(1.12) translate3d(1%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,11,16,.7) 0%, rgba(12,11,16,0) 22%, rgba(12,11,16,0) 45%, rgba(12,11,16,.92) 88%, var(--stage) 100%),
              linear-gradient(90deg, rgba(12,11,16,.55) 0%, rgba(12,11,16,0) 55%); }
.reel-ui { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(28px, 5vw, 64px); }
.reel-ui .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.reel-copy { display: grid; gap: 18px; max-width: 760px; }
.reel-copy .kicker { font-size: 15px; font-weight: 600; color: var(--ink); opacity: .85; }
.reel-copy h1 { font-size: clamp(48px, 8.4vw, 124px); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
.reel-copy p { font-size: clamp(18px, 1.6vw, 22px); color: #d8d3df; max-width: 46ch; }
.reel-copy .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.reel-copy [data-slot] { transition: opacity .35s ease; }
.reel-copy.swap [data-slot] { opacity: 0; }
.picker { display: grid; grid-template-columns: repeat(4, 120px); gap: 10px; }
.picker button { all: unset; cursor: pointer; display: grid; gap: 8px; color: var(--dim); font-size: 13px; font-weight: 600; }
.picker button img { width: 120px; height: 72px; object-fit: cover; border-radius: 12px; opacity: .55; outline: 1px solid var(--line); transition: opacity .25s, transform .25s; }
.picker button:hover img, .picker button[aria-selected="true"] img { opacity: 1; }
.picker button[aria-selected="true"] { color: var(--ink); }
.picker .bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.picker .bar i { display: block; height: 100%; width: 0; background: var(--g); }
.picker button[aria-selected="true"] .bar i { animation: fill var(--dur, 7s) linear forwards; }
.picker button:focus-visible { outline: 2px solid var(--g); outline-offset: 4px; border-radius: 12px; }
@keyframes fill { to { width: 100%; } }
@media (max-width: 1020px) { .reel-ui .wrap { grid-template-columns: 1fr; } .picker { grid-template-columns: repeat(4, minmax(0, 1fr)); } .picker button img { width: 100%; } }
@media (max-width: 520px) { .picker button img { height: 52px; } .picker span.t { display: none; } }

/* ---------- Statement with image pills ---------- */
.statement { padding: clamp(80px, 11vw, 160px) 0 clamp(56px, 7vw, 96px); }
.statement p.big { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -.03em; max-width: 22ch; color: var(--dim); }
.statement p.big b { color: var(--ink); font-weight: 700; }
.pill { display: inline-block; vertical-align: -.12em; width: 1.9em; height: .92em; border-radius: 99px; overflow: hidden; margin: 0 .08em; box-shadow: 0 0 0 1px var(--line); }
.pill img { width: 100%; height: 100%; object-fit: cover; }
.statement .aside { display: flex; gap: 40px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 56px); color: var(--dim); max-width: 920px; }
.statement .aside p { flex: 1 1 320px; }

/* ---------- Bento ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 60px); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile { --g: var(--brand); position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); text-decoration: none; background: var(--stage-2); min-height: 380px; isolation: isolate; }
.tile:nth-child(1) { grid-column: span 7; min-height: 520px; }
.tile:nth-child(2) { grid-column: span 5; min-height: 520px; }
.tile:nth-child(3) { grid-column: span 5; }
.tile:nth-child(4) { grid-column: span 7; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,11,16,0) 35%, rgba(12,11,16,.88) 100%); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; transition: box-shadow .3s; }
.tile:hover img { transform: scale(1.05); }
.tile:hover::after { box-shadow: inset 0 0 0 2px var(--g); }
.tile .body { position: absolute; inset: auto 0 0 0; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; }
.tile h3 { font-size: clamp(28px, 3vw, 44px); }
.tile p { color: #d4cfdb; max-width: 40ch; }
.tile .go { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(12,11,16,.5); backdrop-filter: blur(8px); border: 1px solid var(--line); transition: background .25s, color .25s, transform .25s; }
.tile:hover .go { background: var(--g); color: #0c0b10; transform: rotate(-45deg); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(12,11,16,.55); backdrop-filter: blur(8px); border: 1px solid var(--line); width: max-content; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); }
@media (max-width: 900px) { .tile:nth-child(n) { grid-column: 1 / -1; min-height: 420px; } }

/* ---------- Beyond games ---------- */
.beyond { padding: clamp(96px, 12vw, 168px) 0 0; }
.beyond-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.beyond-grid h2 { font-size: clamp(34px, 4.4vw, 60px); position: sticky; top: 110px; }
.beyond-grid h2 + p { color: var(--dim); margin-top: 18px; max-width: 36ch; }
.crafts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.craft { padding: 28px; border-radius: var(--r-md); background: var(--stage-2); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; transition: border-color .25s, transform .25s; }
.craft:hover { border-color: rgba(255,122,89,.5); transform: translateY(-2px); }
.craft svg { width: 40px; height: 40px; color: var(--brand); }
.craft h3 { font-size: 26px; }
.craft p { color: var(--dim); }
.craft.wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,122,89,.18), transparent 55%), var(--stage-2); }
@media (max-width: 900px) { .beyond-grid { grid-template-columns: 1fr; } .beyond-grid h2 { position: static; } }
@media (max-width: 560px) { .crafts { grid-template-columns: 1fr; } .craft.wide { grid-template-columns: 1fr; } }

/* ---------- Director / journey ---------- */
.director { padding: clamp(96px, 12vw, 168px) 0 0; }
.dir-card { border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: var(--stage-2); border: 1px solid var(--line); }
.dir-card .art { position: relative; min-height: 420px; }
.dir-card .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dir-card .txt { padding: clamp(28px, 4vw, 56px); display: grid; gap: 20px; align-content: center; }
.dir-card h2 { font-size: clamp(30px, 3.4vw, 48px); }
.dir-card .txt > p { color: var(--dim); max-width: 52ch; }
.journey { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.journey li { display: grid; grid-template-columns: 11px 108px 1fr; gap: 16px; align-items: baseline; padding: 9px 0; }
.journey li::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--stage-2); border: 2px solid var(--brand); transform: translateY(1px); }
.journey li:last-child::before { background: var(--brand); box-shadow: 0 0 12px var(--brand); }
.journey .yr { color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; }
.journey .what { font-size: 15px; }
.journey .what b { font-weight: 600; }
@media (max-width: 860px) { .dir-card { grid-template-columns: 1fr; } .dir-card .art { min-height: 280px; } }
@media (max-width: 460px) { .journey li { grid-template-columns: 11px 1fr; } .journey .what { grid-column: 2; } }

/* ---------- Contact ---------- */
.contact { padding: clamp(96px, 12vw, 168px) 0 clamp(64px, 8vw, 112px); }
.contact-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(76,201,217,.22), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(224,69,79,.22), transparent 60%),
    radial-gradient(40% 60% at 30% 0%, rgba(255,194,26,.14), transparent 60%),
    var(--stage-2);
  border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.contact-card h2 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.045em; }
.contact-card .lead { color: #d4cfdb; margin-top: 18px; max-width: 40ch; }
.contact-card .mail { display: inline-block; margin-top: 26px; font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); text-decoration: none; border-bottom: 2px solid var(--brand); }
.form { display: grid; gap: 12px; align-content: start; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--dim); }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; color: var(--ink); background: rgba(12,11,16,.55); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.form textarea { min-height: 128px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,122,89,.2); }
.form .note { font-size: 14px; color: var(--dim); }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .form .two { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--dim); font-size: 15px; }
.foot .wrap { display: flex; gap: 16px 32px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--ink); }

/* ================= GAMES PAGE ================= */
.g-intro { padding: clamp(120px, 14vw, 180px) 0 clamp(28px, 3vw, 40px); }
.g-intro h1 { font-size: clamp(54px, 9vw, 132px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.g-intro h1 em { font-style: normal; color: var(--dim); }
.g-intro .lede { margin-top: 24px; color: var(--dim); font-size: clamp(18px, 1.6vw, 21px); max-width: 52ch; }

.switch { position: sticky; top: 76px; z-index: 30; padding: 10px 0; }
.switch .wrap { display: flex; }
.switch nav { display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(20,18,26,.72); border: 1px solid var(--line); backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.switch a { white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 99px; color: var(--dim); display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s; }
.switch a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: .7; }
.switch a:hover { color: var(--ink); }
.switch a.on { background: var(--c); color: #0c0b10; }
.switch a.on::before { background: #0c0b10; opacity: .6; }

.chapter { padding: clamp(40px, 6vw, 88px) 0 clamp(72px, 9vw, 128px); scroll-margin-top: 120px; }
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; height: clamp(380px, 56vw, 720px); background: #000; isolation: isolate; }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.82) 100%); }
.frame .in { position: absolute; inset: 0; padding: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; }
.frame .in .topl { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.frame h2 { font-size: clamp(44px, 8vw, 116px); font-weight: 800; letter-spacing: -.05em; line-height: .9; max-width: 12ch; }
.frame .tagline { font-size: clamp(17px, 1.6vw, 22px); color: #e6e1ec; margin-top: 14px; max-width: 40ch; }
.frame .soft { filter: none; }

.ch-body { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.card-facts { position: sticky; top: 150px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 24px; display: grid; gap: 18px; backdrop-filter: blur(8px); }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--dim); }
.facts dd { margin: 0; text-align: right; font-weight: 500; }
.card-facts .btn { justify-content: space-between; }
.ch-copy { display: grid; gap: 22px; }
.ch-copy .log { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.025em; }
.ch-copy .log::first-letter { color: var(--g); }
.ch-copy > p { color: #cfc9d6; max-width: 64ch; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.feat { border-radius: 14px; padding: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; transition: border-color .25s, background .25s; }
.feat:hover { border-color: color-mix(in srgb, var(--g) 60%, transparent); background: color-mix(in srgb, var(--g) 7%, transparent); }
.feat b { font-family: var(--f-display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.feat span { color: var(--dim); font-size: 15px; line-height: 1.5; }
.radio { border-radius: 14px; padding: 18px 20px; background: color-mix(in srgb, var(--g) 10%, transparent); border: 1px solid color-mix(in srgb, var(--g) 35%, transparent); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.radio .wave { display: flex; gap: 3px; align-items: center; height: 28px; }
.radio .wave i { width: 3px; border-radius: 3px; background: var(--g); height: 30%; animation: wv 1.1s ease-in-out infinite; }
.radio .wave i:nth-child(2) { animation-delay: .15s; } .radio .wave i:nth-child(3) { animation-delay: .3s; } .radio .wave i:nth-child(4) { animation-delay: .45s; } .radio .wave i:nth-child(5) { animation-delay: .6s; }
@keyframes wv { 0%,100% { height: 25%; } 50% { height: 100%; } }
.radio q { font-style: italic; color: var(--ink); quotes: none; }
.radio small { display: block; color: var(--dim); font-size: 13px; margin-top: 4px; }
@media (max-width: 1100px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .ch-body { grid-template-columns: 1fr; } .card-facts { position: static; } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }

.rail-wrap { margin-top: clamp(32px, 4vw, 56px); }
.rail-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.rail-head span { color: var(--dim); font-size: 15px; font-weight: 600; }
.rail-btns { display: flex; gap: 8px; }
.rail-btns button { all: unset; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.05); transition: background .2s; }
.rail-btns button:hover { background: rgba(255,255,255,.14); }
.rail-btns button:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail figure { margin: 0; flex: 0 0 clamp(280px, 46vw, 640px); scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--stage-2); aspect-ratio: 16 / 10; }
.rail figure.port { flex-basis: clamp(200px, 22vw, 300px); }
.rail img { width: 100%; height: 100%; object-fit: cover; }
.rail figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: rgba(12,11,16,.66); backdrop-filter: blur(8px); }

.outro { padding: 0 0 clamp(72px, 9vw, 120px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .picker button[aria-selected="true"] .bar i { width: 100%; }
}

/* Chapters own their colour; with script the whole page eases between them. */
.chapter { background: var(--bg, transparent); }
.js-morph .chapter { background: transparent; }

/* ================= SINGLE GAME PAGES ================= */
.gp { --g: var(--brand); }
.gp-hero { position: relative; height: clamp(560px, 88vh, 900px); overflow: hidden; background: #000; isolation: isolate; }
.gp-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: drift 14s ease-out forwards; }
.gp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 46%, var(--bg) 100%),
              linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 60%); }
.gp-hero .wrap { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(32px, 5vw, 64px); gap: 18px; }
.crumbs { font-size: 14px; color: #d9d4df; display: flex; gap: 8px; align-items: center; }
.crumbs a { text-decoration: none; opacity: .8; } .crumbs a:hover { opacity: 1; }
.gp-hero h1 { font-size: clamp(56px, 10vw, 156px); font-weight: 800; letter-spacing: -.05em; line-height: .88; max-width: 11ch; }
.gp-hero .tagline { font-size: clamp(19px, 1.9vw, 26px); color: #ece8f0; max-width: 40ch; }
.gp-hero .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.facts-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-bar dl { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.facts-bar div { padding: 20px 20px 20px 0; display: grid; gap: 4px; }
.facts-bar div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts-bar dt { font-size: 13px; color: var(--dim); font-weight: 600; }
.facts-bar dd { margin: 0; font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 900px) { .facts-bar dl { grid-template-columns: 1fr 1fr; } .facts-bar div + div { border-left: 0; padding-left: 0; } .facts-bar div { border-bottom: 1px solid var(--line); } }

.gp-sec { padding: clamp(72px, 9vw, 136px) 0 0; }
.gp-sec h2 { font-size: clamp(34px, 4.4vw, 60px); }
.gp-sec .sub { color: var(--dim); margin-top: 14px; max-width: 56ch; font-size: 18px; }
.pitch { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pitch .log { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.pitch .log::first-letter { color: var(--g); }
.pitch .txt { display: grid; gap: 18px; color: #d2ccd9; font-size: 18px; }
@media (max-width: 860px) { .pitch { grid-template-columns: 1fr; } }

.loop { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 10px; counter-reset: s; }
.loop li { counter-increment: s; border-radius: 16px; padding: 22px 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; position: relative; }
.loop li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 15px; background: var(--g); color: #0c0b10; }
.loop li:not(:last-child)::after { content: ""; position: absolute; top: 37px; right: -11px; width: 12px; height: 2px; background: var(--g); opacity: .6; }
.loop b { font-family: var(--f-display); font-size: 20px; letter-spacing: -.01em; }
.loop span { color: var(--dim); font-size: 15px; line-height: 1.5; }
@media (max-width: 1000px) { .loop { grid-template-columns: 1fr 1fr; } .loop li::after { display: none; } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }

.showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 36px; }
.showcase figure { margin: 0; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--stage-2); }
.showcase img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.showcase figure:hover img { transform: scale(1.03); }
.showcase figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: rgba(12,11,16,.66); backdrop-filter: blur(8px); }
.s-8 { grid-column: span 8; } .s-4 { grid-column: span 4; } .s-6 { grid-column: span 6; } .s-12 { grid-column: span 12; } .s-3 { grid-column: span 3; } .s-9 { grid-column: span 9; } .s-5 { grid-column: span 5; } .s-7 { grid-column: span 7; }
.showcase .fill img { aspect-ratio: auto; height: 100%; }
@media (max-width: 760px) { .showcase figure { grid-column: 1 / -1 !important; } .showcase .fill img { aspect-ratio: 16 / 10; } }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.duo > div { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.duo .a { background: linear-gradient(160deg, rgba(232,190,120,.16), rgba(255,255,255,.02) 60%); }
.duo .b { background: linear-gradient(160deg, rgba(224,69,79,.22), rgba(255,255,255,.02) 60%); }
.duo h3 { font-size: clamp(30px, 3.4vw, 46px); }
.duo .role { color: var(--dim); font-weight: 600; }
.duo ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.duo li { padding: 11px 0; border-top: 1px solid var(--line); color: #d6d0dc; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.places { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 10px; margin-top: 36px; }
.places div { border-radius: 16px; padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.035); display: grid; gap: 6px; align-content: start; }
.places b { font-family: var(--f-display); font-size: 19px; }
.places span { color: var(--dim); font-size: 15px; line-height: 1.5; }
@media (max-width: 1000px) { .places { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .places { grid-template-columns: 1fr; } }

.status { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.status div { padding: 22px 22px 0 0; display: grid; gap: 8px; align-content: start; }
.status div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.status .st { font-size: 13px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.status .st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--g); }
.status .done .st::before { background: var(--g); }
.status .now .st::before { background: var(--g); box-shadow: 0 0 12px var(--g); }
.status b { font-family: var(--f-display); font-size: 21px; }
.status p { color: var(--dim); font-size: 15px; }
@media (max-width: 760px) { .status { grid-template-columns: 1fr; } .status div + div { border-left: 0; padding-left: 0; } }

.more { padding: clamp(80px, 10vw, 144px) 0 clamp(64px, 8vw, 112px); }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.more-grid .tile { min-height: 300px; grid-column: auto !important; }
.more-grid .tile h3 { font-size: clamp(24px, 2.2vw, 32px); }
@media (max-width: 860px) { .more-grid { grid-template-columns: 1fr; } }
/* Keep the studio wordmark in house type on every themed page */
.brand { font-family: "Bricolage Grotesque", "Avenir Next", sans-serif !important; letter-spacing: -.02em !important; text-transform: none !important; }
