:root {
  --bg: #0A1F3D;
  --deep: #071730;
  --cream: #F5F0E6;
  --panel: #071730;
  --ink: #F5F0E6;
  --grey: #a6a8ab;
  --dim: #6f7276;
  --line: rgba(245, 240, 230, .18);
  --wrap: 1320px;
  --pad: clamp(18px, 4.2vw, 64px);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); position: relative; }

/* fixed photo behind inner pages */
body:not([data-page="home"])::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url(../assets/img1.jpg) 82% 18% / auto 150% no-repeat;
  opacity: .3;
}
body:not([data-page="home"])::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 23, 48, .86) 42%, rgba(7, 23, 48, .35) 100%);
}
main, .foot { position: relative; z-index: 1; }

/* ---------- type ---------- */
.title { font-weight: 300; font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -0.045em; line-height: .95; text-transform: lowercase; color: var(--grey); }
.title b { font-weight: 700; color: var(--ink); }
h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.prose { color: var(--ink); font-size: 16px; line-height: 1.5; }
.prose p + p { margin-top: 1.05em; }
.prose strong { font-weight: 700; }
@media (min-width: 721px) { .prose, .lede { text-align: justify; } }
.lede { max-width: 440px; font-size: 16px; }

.link { color: var(--grey); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.link:hover, a:hover > .link { color: var(--ink); border-color: var(--ink); }
.arrow::after { content: " \2192"; white-space: nowrap; }
.ext::after { content: " \2197"; font-size: .85em; }
.btn { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; padding: 15px 22px; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.btn:hover { background: var(--ink); color: var(--bg); }

/* ---------- header + menu ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(16px, 2.2vw, 30px);
  transition: background .3s;
}
.site-head.scrolled { background: linear-gradient(rgba(7, 23, 48, .96) 25%, rgba(7, 23, 48, 0)); }
.brand { font-size: 26px; font-weight: 300; letter-spacing: -0.05em; line-height: 1; text-transform: lowercase; transition: opacity .3s; }
.brand b { font-weight: 700; }
.brand small, .hero-brand small, .nav-brand small { display: block; font-size: 7px; font-weight: 700; letter-spacing: .5em; text-transform: uppercase; margin-top: 5px; padding-left: .2em; }
body[data-page="home"] .site-head:not(.scrolled) .brand { opacity: 0; pointer-events: none; }
.menu-open .site-head .brand { opacity: 0 !important; }

.menu-btn { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 30px; height: 1px; background: var(--ink); box-shadow: 0 1px 0 rgba(245, 240, 230, .5); transition: transform .25s; }
.menu-open .menu-btn span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: 65; background: var(--deep); overflow-y: auto;
  padding: 34px var(--pad) 48px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu-open .nav { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.nav-brand { text-align: center; font-size: clamp(34px, 4.4vw, 52px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; text-transform: lowercase; margin-bottom: clamp(40px, 8vh, 90px); }
.nav-brand b { font-weight: 700; }
.nav-brand small { font-size: 9px; margin-top: 9px; }
.nav-cols { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 40px 32px; max-width: var(--wrap); margin: 0 auto; }
.nav-cols h4 { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 18px; }
.nav-cols a { display: block; font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.42; text-transform: lowercase; color: #8b8d90; transition: color .15s, padding .2s; }
.nav-cols a:hover { color: var(--ink); padding-left: 6px; }
.nav-cols a.sm { font-size: 12px; font-weight: 400; margin-top: 12px; }
@media (max-width: 900px) { .nav-cols { grid-template-columns: 1fr 1fr; justify-content: start; } }
@media (max-width: 520px) { .nav-cols { grid-template-columns: 1fr; } }

/* ---------- home hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 21%; opacity: .62; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0,.55), rgba(0, 0, 0,.05) 35%, rgba(0, 0, 0,.1) 65%, rgba(0, 0, 0,.8)); pointer-events: none; }
.hero > *:not(.hero-bg) { position: absolute; z-index: 2; left: 0; right: 0; text-align: center; }
.hero-brand { top: 30px; font-size: clamp(40px, 5.4vw, 66px); font-weight: 300; letter-spacing: -0.055em; line-height: 1; text-transform: lowercase; }
.hero-brand b { font-weight: 700; }
.hero-brand small { font-size: clamp(8px, .8vw, 10px); margin-top: 10px; }
.tagline { top: 48%; transform: translateY(-50%); font-size: clamp(12px, 1.55vw, 23px); font-weight: 700; letter-spacing: .62em; text-transform: uppercase; padding: 0 16px 0 calc(16px + .62em); line-height: 2; }
.hero-links { bottom: 22px; display: flex; justify-content: center; gap: clamp(18px, 2.2vw, 30px); }
.hero-links a { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; text-transform: lowercase; color: rgba(245, 240, 230, .62); transition: color .2s; }
.hero-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .tagline { letter-spacing: .4em; padding-left: calc(16px + .4em); font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 8vw, 120px) 0; }
.sec.panel-bg { background: var(--panel); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.4vw, 44px); }

.intro { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(32px, 8vw, 140px); align-items: start; }
.intro .title { margin-bottom: 26px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.facts b { display: block; font-size: clamp(38px, 5vw, 68px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.facts span { display: block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }

/* cream band */
.cream { --ink: #0A1F3D; --grey: #56627a; --dim: #7b8598; --line: rgba(10, 31, 61, .2); background: var(--cream); color: var(--ink); }
.cream ::selection { background: #0A1F3D; color: #F5F0E6; }

/* inner page head */
.page-head { padding: clamp(120px, 21vh, 170px) 0 clamp(20px, 3vw, 36px); }
.crumbs { font-size: 18px; text-transform: lowercase; color: var(--grey); margin-bottom: 14px; }
.crumbs a { transition: color .2s; }
.crumbs a:hover, .crumbs [aria-current] { color: var(--ink); }
.crumbs [aria-current] { font-weight: 700; }
.page-head .title { margin-bottom: 22px; }
.subnav, .filters { display: flex; flex-wrap: wrap; font-size: 15px; color: var(--grey); margin-bottom: 22px; max-width: 620px; line-height: 1.6; }
.subnav a, .chip { color: var(--grey); transition: color .2s; }
.subnav a:hover, .chip:hover { color: var(--ink); }
.subnav a + a::before, .chip + .chip::before { content: "/"; margin: 0 .45em; color: var(--grey); font-weight: 400; }
.chip[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.chip sup { display: none; }

/* ---------- work list ---------- */
.work { list-style: none; border-top: 1px solid var(--line); }
.work li { border-bottom: 1px solid var(--line); }
.work li[hidden] { display: none; }
.row { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto 30px; gap: 6px 28px; align-items: center; padding: 20px 0; transition: padding .25s ease; }
.row:hover { padding-left: 10px; }
.row h3 { font-size: clamp(26px, 3.3vw, 44px); text-transform: lowercase; letter-spacing: -0.035em; color: #8b8d90; transition: color .2s; }
.row:hover h3, .open .row h3 { color: var(--ink); }
.row p { font-size: 15px; color: var(--grey); margin-top: 6px; max-width: 62ch; }
.row .tag, .row .soon { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.row .soon { color: var(--dim); }
.row .pm { position: relative; width: 30px; height: 30px; }
.row .pm::before, .row .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s; }
.row .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.open .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.row .go { font-size: 22px; text-align: right; color: var(--grey); transition: transform .2s, color .2s; }
.row:hover .go { transform: translateX(6px); color: var(--ink); }

.panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.open .panel { grid-template-rows: 1fr; }
.panel > div { overflow: hidden; }
.panel-in { display: grid; grid-template-columns: minmax(0, 620px) 240px; gap: clamp(28px, 6vw, 96px); padding: 6px 0 38px; }
.panel-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; font-size: 15px; }
.panel-links span { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 4px; }
.empty { padding: 40px 0; color: var(--grey); }
@media (max-width: 720px) {
  .row { grid-template-columns: 1fr 30px; }
  .row .tag, .row .soon { grid-column: 1; grid-row: 2; justify-self: start; white-space: normal; }
  .panel-in { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- athletes ---------- */
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 48px) clamp(14px, 2vw, 28px); }
.ath { text-align: left; display: block; }
.ath-img { aspect-ratio: 618 / 800; overflow: hidden; background: #fff; position: relative; }
.ath-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(.82); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.ath:hover .ath-img img, .ath:focus-visible .ath-img img { transform: scale(1.03); filter: none; }
.ath h3 { font-size: clamp(22px, 2.2vw, 30px); text-transform: lowercase; letter-spacing: -0.03em; margin-top: 14px; color: #8b8d90; transition: color .2s; }
.ath:hover h3 { color: var(--ink); }
.ath small { display: block; margin-top: 4px; font-size: 13px; color: var(--grey); }
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 var(--pad); padding: 0 var(--pad) 14px; margin: 0 calc(var(--pad) * -1); scrollbar-width: thin; scrollbar-color: #444 transparent; }
.strip .ath { flex: 0 0 min(260px, 64vw); scroll-snap-align: start; }
@media (max-width: 820px) { .roster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .roster { grid-template-columns: 1fr; } }

dialog.sheet { border: 0; padding: 0; margin: auto; background: var(--panel); color: var(--ink); width: min(960px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; }
dialog.sheet::backdrop { background: rgba(7, 23, 48, .86); }
.sheet-in { display: grid; grid-template-columns: 1fr 1fr; }
.sheet-in > img { width: 100%; background: #fff; }
.sheet-info { padding: clamp(24px, 4vw, 46px); display: flex; flex-direction: column; gap: 6px; }
.sheet-info h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; text-transform: lowercase; margin-top: 8px; }
.sheet-info small { color: var(--grey); font-size: 14px; }
.sheet-info dl { margin: 24px 0; border-top: 1px solid var(--line); }
.sheet-info dl div { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sheet-info dt { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
.sheet-info dd { font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.sheet-close { position: sticky; top: 8px; float: right; margin: 8px 8px -52px 0; width: 44px; height: 44px; font-size: 26px; font-weight: 300; z-index: 2; line-height: 1; }
.sheet-nav { display: flex; gap: 22px; margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--grey); }
.sheet-nav button:hover { color: var(--ink); }
@media (max-width: 720px) { .sheet-in { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 340px); justify-content: space-between; gap: clamp(32px, 6vw, 88px); align-items: start; }
.pull { font-weight: 300; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; line-height: 1.08; text-transform: lowercase; text-align: left; color: var(--grey); margin-bottom: 26px; }
.pull mark { background: none; color: var(--ink); font-weight: 700; }
.details { position: sticky; top: 110px; border-top: 1px solid var(--line); }
.details div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .details { position: static; } }

.xp { list-style: none; border-top: 1px solid var(--line); }
.xp li { display: grid; grid-template-columns: 210px minmax(0, 640px); gap: 10px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.xp time { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); padding-top: 9px; }
.xp h3 { font-size: clamp(22px, 2.6vw, 32px); text-transform: lowercase; letter-spacing: -0.03em; }
.xp .org { color: var(--grey); font-size: 15px; margin: 6px 0 10px; }
.xp p { font-size: 15.5px; }
@media (min-width: 721px) { .xp p { text-align: justify; } }
.xp .now { display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; border: 1px solid var(--line); padding: 3px 8px 3px 10px; margin-left: 10px; vertical-align: middle; color: var(--grey); }
@media (max-width: 720px) { .xp li { grid-template-columns: 1fr; } .xp time { padding: 0; } }

.kit { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 560px); justify-content: space-between; gap: clamp(24px, 5vw, 72px); align-items: start; }
.kit-tabs { display: flex; flex-direction: column; align-items: flex-start; }
.kit-tabs button { text-align: left; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.5; text-transform: lowercase; color: #8b8d90; transition: color .15s, padding .2s; }
.kit-tabs button:hover { color: var(--ink); padding-left: 6px; }
.kit-tabs button[aria-selected="true"] { color: var(--ink); }
.kit-pane { position: sticky; top: 110px; }
.kit-pane h3 { font-size: clamp(26px, 3vw, 38px); text-transform: lowercase; letter-spacing: -0.035em; margin-bottom: 12px; text-align: left; }
.kit-pane .proof { font-size: 11px; font-weight: 700; letter-spacing: .22em; line-height: 1.7; text-transform: uppercase; text-align: left; color: var(--grey); margin-bottom: 18px; }
@media (max-width: 820px) {
  .kit { grid-template-columns: 1fr; }
  .kit-tabs { flex-direction: row; flex-wrap: wrap; }
  .kit-tabs button { font-size: 15px; font-weight: 400; padding: 0 !important; }
  .kit-tabs button + button::before { content: "/"; margin: 0 .45em; color: var(--grey); font-weight: 400; }
  .kit-tabs button[aria-selected="true"] { font-weight: 700; }
  .kit-pane { position: static; }
}

/* ---------- writing ---------- */
.post { display: grid; grid-template-columns: 1.15fr minmax(0, 440px); gap: clamp(24px, 5vw, 72px); align-items: center; }
.post-img { overflow: hidden; aspect-ratio: 16 / 9; }
.post-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s; }
.post:hover .post-img img { transform: scale(1.04); filter: none; }
.post h3 { font-size: clamp(30px, 3.8vw, 52px); text-transform: lowercase; letter-spacing: -0.04em; margin: 14px 0 16px; }
@media (max-width: 720px) { .post { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--panel); padding: clamp(44px, 5vw, 64px) 0 clamp(40px, 5vw, 60px); font-size: 15px; }
.foot .wrap { max-width: none; padding: 0 clamp(16px, 2.2vw, 30px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.foot .brand { font-size: 32px; display: inline-block; margin-bottom: 26px; }
.foot .brand small { font-size: 8px; }
.foot ul { list-style: none; line-height: 1.45; }
.foot h4 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.foot h4:not(:first-child) { margin-top: 34px; }
.foot-col > a, .foot-col > button { display: block; text-align: left; color: var(--grey); line-height: 1.45; transition: color .2s; }
.foot-col > a:hover, .foot-col > button:hover { color: var(--ink); }
.foot-col i { font-style: normal; font-size: 12px; color: var(--dim); margin-left: 10px; }
.foot-base { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 190px; font-size: 12px; color: var(--dim); line-height: 1.7; }
.to-top { position: absolute; right: clamp(16px, 2.2vw, 30px); bottom: 0; width: 44px; height: 44px; border-radius: 50%; background: #8b8d90; color: var(--deep); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: background .2s; }
.to-top:hover { background: var(--ink); }
@media (max-width: 620px) { .foot .wrap { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; }
}

/* ============ scroll-through panel (selected work, work page, career path) ============ */
.stepper { position: relative; height: calc(100vh + (var(--n) - 1) * 62vh); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(230px, 27%) 1fr; grid-template-rows: auto minmax(0, 1fr); padding-top: 78px; }
.st-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 6px var(--pad) 22px; }
.st-head .title { font-size: clamp(34px, 4.6vw, 62px); }
.st-nav { grid-row: 2; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; padding: 18px 0 18px var(--pad); }
.st-nav::-webkit-scrollbar { display: none; }
.st-nav::before, .st-nav::after { content: ""; flex: 1; }
.st-nav button { text-align: left; font-size: 14.5px; font-weight: 500; letter-spacing: .09em; line-height: 1.25; text-transform: uppercase; color: var(--grey); padding: 11px 18px 11px 0; border-right: 3px solid transparent; transition: color .2s, border-color .2s, padding .2s; }
.st-nav button:hover { color: var(--ink); padding-left: 6px; }
.st-nav button.on { color: var(--ink); border-right-color: var(--ink); }
.st-view { grid-row: 2; position: relative; overflow: hidden; background: rgba(7, 23, 48, .78); }
.st-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.st-panel.on { opacity: 1; visibility: visible; }
.st-ctrl { position: absolute; right: clamp(18px, 2.4vw, 34px); bottom: 24px; z-index: 3; display: flex; align-items: center; gap: 16px; font-size: 14px; letter-spacing: .08em; }
.st-ctrl button { font-size: 22px; line-height: 1; padding: 6px; transition: opacity .2s, transform .2s; }
.st-ctrl button:hover { transform: translateY(-2px); }
.st-ctrl .st-next:hover { transform: translateY(2px); }
.st-ctrl .st-skip { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding: 0 0 2px; margin-left: 10px; }

/* home: media + caption bar */
.st-media { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 5%; }
.st-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ghost { position: relative; font-size: clamp(56px, 8vw, 128px); font-weight: 700; letter-spacing: -0.05em; line-height: .88; text-transform: lowercase; color: rgba(245, 240, 230, .1); margin-top: -12%; }
.st-cap { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(4, 14, 30, .84); padding: 30px 250px 30px clamp(22px, 3vw, 42px); }
.st-cap h3 { font-size: 16px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.st-cap p { max-width: 660px; margin-bottom: 20px; }
.st-cap .btn { padding: 12px 20px; }

/* work page + career path: full detail */
.st-detail { position: absolute; inset: 0; overflow-y: auto; padding: clamp(28px, 5vh, 56px) clamp(24px, 4vw, 64px) 96px; }
.st-detail > * { position: relative; max-width: 700px; }
.st-detail > img.st-bg { position: absolute; inset: 0; max-width: none; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.st-detail h2 { font-size: clamp(38px, 5.2vw, 76px); font-weight: 700; letter-spacing: -0.045em; line-height: .95; text-transform: lowercase; margin: 14px 0 14px; }
.st-detail .st-sum { color: var(--grey); font-size: 17px; margin-bottom: 22px; }
.st-detail .panel-links { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; align-items: baseline; }
.st-detail .now { display: none; }

/* ============ about (Evolv-style) ============ */
body[data-page="about"] .site-head { background: var(--deep); }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .7; }

.pin { position: relative; height: 250vh; }
.pin-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 110px var(--pad) 40px; }
.pin-stage .eyebrow { position: absolute; top: 108px; left: var(--pad); }
.pin-a { position: absolute; left: 0; right: 0; padding: 0 var(--pad); font-size: clamp(44px, 8.6vw, 132px); font-weight: 300; letter-spacing: -0.05em; line-height: .95; text-transform: lowercase; color: rgba(10, 31, 61, .26); transition: color .7s ease, opacity .5s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.pin-a b { font-weight: 700; }
.s1 .pin-a { color: var(--ink); }
.s2 .pin-a { opacity: 0; transform: translateY(-60px); }
.pin-b { opacity: 0; transform: translateY(40px); transition: opacity .6s ease .1s, transform .7s cubic-bezier(.2,.7,.2,1) .1s; max-width: 1040px; }
.s2 .pin-b { opacity: 1; transform: none; }
.pin-b h1 { font-size: clamp(34px, 5.4vw, 76px); font-weight: 300; letter-spacing: -0.045em; line-height: .98; text-transform: lowercase; color: var(--grey); }
.pin-b h1 b { font-weight: 700; color: var(--ink); }
.pin-b > p { max-width: 640px; margin: 26px auto 0; font-size: 17px; line-height: 1.55; color: var(--grey); text-align: center; }
.rule-label { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 38px 0 22px; font-size: 11px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; }
.rule-label::before, .rule-label::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.counters b { display: block; font-size: clamp(34px, 5.2vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.counters span { display: block; margin-top: 10px; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
@media (max-width: 620px) { .counters { grid-template-columns: 1fr 1fr; gap: 24px 12px; } .pin-b > p { font-size: 15px; } }

.story { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 620px); justify-content: space-between; gap: clamp(32px, 7vw, 120px); align-items: start; }
.story .details { position: sticky; top: 110px; margin-top: 26px; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } .story .details { position: static; } }

.band { padding: clamp(90px, 17vh, 190px) 0; text-align: center; }
.band h2 { font-size: clamp(44px, 8vw, 124px); font-weight: 300; letter-spacing: -0.05em; line-height: .92; text-transform: lowercase; }
.band h2 b { font-weight: 700; display: block; }
.band p { max-width: 660px; margin: 34px auto 0; font-size: 17px; line-height: 1.55; text-align: center; }
.band .eyebrow { justify-content: center; margin-bottom: 30px; }
.band .eyebrow::after { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .7; }

.acc .row h3 { font-size: clamp(22px, 2.5vw, 32px); }
.acc .row p { text-transform: none; }
.acc .panel-in { grid-template-columns: minmax(0, 700px); }
.sec-top { margin-bottom: clamp(28px, 4vw, 52px); }
.sec-top .title { margin-top: 18px; }
.sec-top p { max-width: 560px; margin-top: 18px; color: var(--grey); }

/* scroll-through panel on narrow screens: list becomes a strip across the top */
@media (max-width: 700px) {
  .stepper { height: calc(100vh + (var(--n) - 1) * 48vh); }
  .stage { display: flex; flex-direction: column; padding-top: 72px; }
  .st-head { padding: 4px var(--pad) 8px; }
  .st-head .link { display: none; }
  .st-nav { flex: none; flex-direction: row; gap: 24px; overflow-x: auto; overflow-y: hidden; padding: 4px var(--pad) 12px; }
  .st-nav::before, .st-nav::after { display: none; }
  .st-nav button { flex: none; white-space: nowrap; font-size: 12.5px; padding: 8px 0; border-right: 0; border-bottom: 2px solid transparent; }
  .st-nav button:hover { padding-left: 0; }
  .st-nav button.on { border-bottom-color: var(--ink); }
  .st-view { flex: 1; min-height: 0; }
  .st-cap { padding: 22px var(--pad) 74px; }
  .st-detail { padding: 24px var(--pad) 84px; }
  .st-detail h2 { font-size: 36px; }
  .st-ctrl { bottom: 16px; }
  .ghost { font-size: 54px; margin-top: -40%; }
}
.cream .ath h3 { color: #56627a; }
.cream .ath-img img { filter: none; }
.cream .ath-img { box-shadow: 0 1px 0 rgba(10, 31, 61, .12), 0 12px 28px -18px rgba(10, 31, 61, .45); }
@media (max-width: 700px) { .st-ctrl { right: 0; bottom: 0; padding: 10px var(--pad) 12px 18px; background: rgba(4, 14, 30, .92); } }

/* project media: Instagram embed column, or your own photo / clip */
.st-embed { position: absolute; top: 0; right: 0; bottom: 66px; width: min(390px, 38%); padding: 20px 26px 0 0; z-index: 2; }
.st-embed { display: flex; align-items: center; container-type: inline-size; }
.st-crop { width: 100%; height: calc(var(--head, 54px) + 100cqw * var(--r, 1.25)); max-height: 100%; overflow: hidden; border-radius: 6px; background: #fff; }
.st-embed iframe { display: block; width: 100%; height: calc(100% + 700px); border: 0; }
.has-embed .st-cap, .has-embed .st-detail, .has-embed .st-media { right: min(390px, 38%); }
.has-embed .st-cap { padding-right: 28px; }
.st-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-own { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.st-own img, .st-own video { width: 100%; height: 100%; object-fit: cover; }
.st-own::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 23, 48, .9), rgba(7, 23, 48, 0) 45%); }
.has-own .st-detail { right: 46%; }
@media (max-width: 900px) {
  .st-embed, .st-own { display: none; }
  .has-embed .st-cap, .has-embed .st-detail, .has-embed .st-media, .has-own .st-detail { right: 0; }
}

/* Canva deck: wider column, shown whole */
.has-deck .st-embed { width: min(600px, 52%); }
.has-deck .st-cap, .has-deck .st-detail, .has-deck .st-media { right: min(600px, 52%); }
.st-deck iframe { height: 100%; }
.st-deck .st-crop { background: var(--deep); }
@media (max-width: 900px) { .has-deck .st-cap, .has-deck .st-detail, .has-deck .st-media { right: 0; } }

/* faded title sizes itself to the space left of the media, so it never runs under it */
.st-media { container-type: inline-size; overflow: hidden; }
.ghost { font-size: clamp(40px, 12.5cqw, 128px); max-width: 100%; overflow-wrap: break-word; }

/* extra project photo */
.st-photo { margin-top: 26px; }
.st-photo img { width: 100%; border-radius: 4px; }
.st-media img.st-photo-bg { height: calc(100% - 178px); object-position: 62% 100%; }

/* brand logo on a cream plate, so any logo colour reads on the navy */
.st-logo { display: flex; align-items: center; justify-content: center; background: var(--cream); border-radius: 4px; margin-top: 26px; width: 260px; max-width: 100%; height: 150px; padding: 26px 34px; }
.st-logo img { position: static !important; width: 100% !important; height: 100% !important; object-fit: contain !important; }
.st-logo-lg { position: relative; margin-top: -14%; width: min(440px, 80%); height: clamp(180px, 34vh, 260px); padding: 44px 56px; }
.st-logo-dark { background: #04101f; border: 1px solid var(--line); }
.st-logo-white { background: #fff; }
@media (max-width: 700px) {
  .st-media { align-items: flex-start; padding-top: 22px; }
  .st-logo-lg { margin-top: 0; width: 100%; height: 170px; padding: 28px 40px; }
  .ghost { margin-top: 6px; }
  .st-media img.st-photo-bg { height: calc(100% - 230px); }
}

/* photo used as the right-hand column */
.st-own-photo { width: calc(42% - 26px); top: 20px; right: 26px; bottom: 66px; border-radius: 6px; overflow: hidden; }
.st-own-photo::after { display: none; }
.has-own .st-own-photo ~ .st-detail { right: 42%; }
@media (min-width: 901px) { .st-narrow-only { display: none; } }

/* blog: NIL news reels */
.news { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; margin-top: clamp(48px, 7vw, 92px); padding-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); }
.news h3 { font-size: clamp(30px, 3.8vw, 52px); text-transform: lowercase; letter-spacing: -0.04em; margin: 14px 0 16px; }
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); gap: 22px; justify-content: end; }
.reel { margin: 0; container-type: inline-size; }
.reel iframe { display: block; width: 100%; height: calc(100% + 700px); border: 0; }
.reel figcaption { margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }
@media (max-width: 820px) { .news { grid-template-columns: 1fr; } .reels { justify-content: start; } }
@media (max-width: 480px) { .reels { grid-template-columns: minmax(0, 330px); } }

/* ===== home panel: media fills the whole space above the caption, like a photo ===== */
.st-home { display: flex; flex-direction: column; }
.st-home .st-media { position: relative; inset: auto; flex: 1; min-height: 0; padding: 0; }
.st-home .st-cap { position: relative; left: auto; right: auto; bottom: auto; flex: none; }
.st-home.has-embed .st-media, .st-home.has-embed .st-cap { right: auto; margin-right: min(390px, 38%); }
.st-home.has-deck .st-media, .st-home.has-deck .st-cap { margin-right: min(600px, 52%); }
.st-home .ghost { margin: 0 5%; }
.st-home .st-media img.st-photo-bg { height: 100%; }
.st-home .st-logo-lg { position: absolute; inset: 0; width: auto; height: auto; margin: 0; border: 0; border-radius: 0; padding: 7% 13%; }
.st-logo-cover { padding: 0 !important; overflow: hidden; }
.st-logo-cover img { object-fit: cover !important; }
@media (max-width: 900px) { .st-home.has-embed .st-media, .st-home.has-embed .st-cap, .st-home.has-deck .st-media, .st-home.has-deck .st-cap { margin-right: 0; } }
@media (max-width: 700px) { .st-home .st-media { padding-top: 0; } .st-home .st-logo-lg { padding: 9% 14%; } .st-home .st-cap { padding-bottom: 74px; } }

/* ===== work page: logos fill their space ===== */
.st-detail .st-logo { width: 100%; height: clamp(150px, 25vh, 230px); padding: 30px 22%; }
.st-detail .st-logo.st-logo-cover { padding: 0; }
.st-own-logo { display: flex; align-items: center; justify-content: center; padding: 7% 7%; }
.st-own-logo:not(.st-logo-dark):not(.st-logo-white) { background: var(--cream); }
.st-own-logo img { width: 100%; height: 100%; object-fit: contain; }
.st-own-logo.st-logo-cover { padding: 0; }
.st-own-logo.st-logo-cover img { object-fit: cover; }
