/* ==========================================================================
   YANTRIX — design system
   Palette is pulled from the club badge: deep navy, signal orange, electric blue.
   Type: Big Shoulders Display (headlines) / Hanken Grotesk (text) / IBM Plex Mono (labels)
   ========================================================================== */
@import url("fonts.css");

:root {
  --ink: #050a17;
  --navy: #0a1430;
  --navy-2: #101d42;
  --blue: #2f6bff;
  --orange: #ff7a1a;
  --orange-deep: #e5620a;
  --paper: #f2efe8;
  --paper-2: #e7e2d6;
  --steel: #8993ab;
  --text-on-paper: #0b1226;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(11, 18, 38, 0.16);

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 600;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec { position: relative; padding: clamp(90px, 13vw, 190px) 0; }
.theme-dark { background: var(--navy); color: var(--paper); }
.theme-ink { background: var(--ink); color: var(--paper); }
.theme-light { background: var(--paper); color: var(--text-on-paper); }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
}
.h-xl { font-size: clamp(64px, 11.5vw, 190px); }
.h-lg { font-size: clamp(52px, 8vw, 128px); }
.h-md { font-size: clamp(40px, 5.2vw, 84px); line-height: 0.9; }
.h-sm { font-size: clamp(28px, 3vw, 44px); line-height: 0.95; }
.accent { color: var(--orange); }
.outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }

.label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}
.tag {
  display: inline-flex; align-items: center; gap: 10px;
}
.tag::before {
  content: ""; width: 8px; height: 8px; background: var(--orange); flex: none;
}
.muted { color: var(--steel); }
.theme-light .muted { color: #5b6479; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; max-width: 56ch; }
.prose p + p { margin-top: 1em; }

/* line-mask reveal for display headlines */
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: block; transform: translateY(108%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.in .ln > span, .ln.in > span { transform: none; }

/* generic reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 26px 17px 28px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), transform 0.2s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(101%); transition: transform 0.45s var(--ease); z-index: -1;
}
.btn:hover::before { transform: none; }
.btn:active { transform: scale(0.98); }
.btn .arr { transition: transform 0.4s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(5px); }
.btn--ghost { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover { color: var(--ink); }
.theme-light .btn--ghost { --fg: var(--text-on-paper); box-shadow: inset 0 0 0 1px var(--text-on-paper); }
.theme-light .btn--ghost::before { background: var(--text-on-paper); }
.theme-light .btn--ghost:hover { color: var(--paper); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow .arr { transition: transform 0.4s var(--ease); }
.link-arrow:hover .arr { transform: translateX(6px); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background 0.4s, backdrop-filter 0.4s, transform 0.5s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.hdr.solid { background: rgba(5, 10, 23, 0.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line-dark); }
.hdr.hide { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 46px; height: 46px; }
.brand__t { display: flex; flex-direction: column; line-height: 1; }
.brand__t b { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: 0.04em; text-transform: uppercase; }
.brand__t small { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--steel); text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a:not(.btn) {
  position: relative; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 12px 20px; font-size: 12px; }
.burger { display: none; width: 46px; height: 46px; position: relative; z-index: 120; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--paper); transition: transform 0.45s var(--ease), top 0.45s var(--ease), opacity 0.2s; }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 27px; }
.menu-open .burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 110; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease); visibility: hidden;
}
.menu-open .sheet { clip-path: inset(0); visibility: visible; }
.sheet a.big { display: flex; align-items: baseline; gap: 16px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 16vw, 96px); line-height: 1; padding: 6px 0; border-bottom: 1px solid var(--line-dark); }
.sheet a.big span { font-family: var(--f-mono); font-size: 12px; color: var(--orange); letter-spacing: 0.1em; }
.sheet a.big[aria-current="page"] { color: var(--orange); }
.sheet__foot { margin-top: 32px; color: var(--steel); }
.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
}

/* ---------- Page transition ---------- */
.veil { position: fixed; inset: 0; z-index: 300; background: var(--ink); pointer-events: none; opacity: 0; transition: opacity 0.35s ease; display: grid; place-items: center; }
.veil img { width: 84px; opacity: 0.9; transform: scale(0.9); transition: transform 0.6s var(--ease); }
.leaving .veil { opacity: 1; pointer-events: all; }
.leaving .veil img { transform: none; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; padding-top: clamp(70px, 9vw, 130px); }
.ftr__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; padding-bottom: clamp(60px, 8vw, 110px); }
.ftr h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin-bottom: 20px; }
.ftr li { margin: 8px 0; }
.ftr li a { position: relative; transition: color 0.2s; }
.ftr li a:hover { color: var(--orange); }
.ftr address { font-style: normal; color: #c8cede; }
.ftr__lead { max-width: 34ch; color: #c8cede; margin-top: 18px; }
.ftr__word {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em;
  font-size: clamp(90px, 31vw, 560px); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22);
  text-align: center; margin: 0 0 8px; user-select: none; white-space: nowrap; overflow: hidden;
}
.ftr__bar { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--steel); }
@media (max-width: 900px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__top > :first-child { grid-column: 1 / -1; } }

/* ---------- Media frame with crop marks ---------- */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--orange); z-index: 3; pointer-events: none; }
.frame::before { left: -1px; top: -1px; border-width: 2px 0 0 2px; }
.frame::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }

/* ---------- Page head (inner pages) ---------- */
.phead { position: relative; padding: calc(var(--header-h) + clamp(70px, 11vw, 150px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.phead__bg { position: absolute; inset: 0; z-index: 0; }
.phead__bg img, .phead__bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.phead__bg video { opacity: 0.5; }
.phead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 23, 0.55), var(--ink) 96%); }
.phead .wrap { position: relative; z-index: 1; }
.phead__meta { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; margin-top: clamp(32px, 4vw, 56px); }
.phead__meta p { max-width: 52ch; color: #cfd5e4; font-size: clamp(17px, 1.4vw, 20px); }
.crumb { margin-bottom: 28px; color: var(--steel); }
.crumb b { color: var(--orange); font-weight: 500; }

/* ---------- HOME: hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 0; overflow: hidden; background: var(--ink); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(5, 10, 23, 0.72) 0%, rgba(5, 10, 23, 0.12) 24%, rgba(5, 10, 23, 0.28) 52%, rgba(5, 10, 23, 0.94) 100%),
  linear-gradient(90deg, rgba(5, 10, 23, 0.6), transparent 60%); }
.hero__grid { position: absolute; inset: 0; pointer-events: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--gutter); max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; }
.hero__grid i { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.hero__grid i:last-child { border-right: 1px solid rgba(255, 255, 255, 0.08); }
.hero__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(28px, 4vw, 56px); }
.hero__eyebrow { margin-bottom: clamp(18px, 2.4vw, 32px); color: #dfe4f0; }
.hero h1 { font-size: clamp(44px, min(8.7vw, 15vh, calc(var(--maxw) / 10.2)), 230px); line-height: 0.88; }
@media (min-width: 900px) { .hero h1 .ln > span { white-space: nowrap; } }
.hero h1 .ln:nth-child(3) { color: var(--orange); }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(26px, 3.2vw, 48px); flex-wrap: wrap; }
.hero__sub { max-width: 46ch; color: #d3d9e8; font-size: clamp(16px, 1.3vw, 19px); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__foot { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(26px, 3vw, 44px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.2); color: #aab3c8; }
.hero__foot .scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__foot .scroll i { width: 1px; height: 22px; background: var(--orange); display: block; animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__tc { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 22px); z-index: 3; text-align: right; color: #cbd2e3; }
.hero__tc b { color: var(--orange); font-weight: 500; }
.hero__tc .rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 8px; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
@media (max-width: 760px) { .hero__tc { display: none; } .hero__foot .coords { display: none; } .hero h1 { font-size: 13.4vw; } }

/* ---------- HOME: statement ---------- */
.stmt { display: grid; grid-template-columns: 220px 1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.stmt__text { font-size: clamp(30px, 4.3vw, 66px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.stmt__text .w { opacity: 0.16; transition: opacity 0.35s linear; }
.stmt__text .w.on { opacity: 1; }
.stmt__text em { font-style: normal; color: var(--orange-deep); }
@media (max-width: 800px) { .stmt { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- HOME: disciplines ---------- */
.disc { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: clamp(30px, 5vw, 90px); }
.disc__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.disc__head p { margin-top: 28px; color: #bfc7da; max-width: 36ch; }
.disc__list { border-top: 1px solid var(--line-dark); }
.disc__row { position: relative; display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; padding: clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid var(--line-dark); overflow: hidden; isolation: isolate; transition: padding 0.5s var(--ease); }
.disc__row::before { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); z-index: -1; }
.disc__row:hover::before { transform: scaleY(1); }
.disc__row:hover { padding-left: 22px; padding-right: 22px; color: var(--ink); }
.disc__no { font-family: var(--f-mono); font-size: 13px; color: var(--orange); transition: color 0.3s; }
.disc__row:hover .disc__no { color: var(--ink); }
.disc__row h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 5.4vw, 86px); line-height: 0.9; }
.disc__row p { margin-top: 12px; max-width: 48ch; color: #b8c0d4; transition: color 0.3s; }
.disc__row:hover p { color: #1a1206; }
.disc__tags { display: flex; flex-direction: column; gap: 4px; text-align: right; color: var(--steel); transition: color 0.3s; }
.disc__row:hover .disc__tags { color: var(--ink); }
@media (max-width: 900px) { .disc { grid-template-columns: 1fr; } .disc__head { position: static; } .disc__row { grid-template-columns: 44px 1fr; } .disc__tags { display: none; } }

/* ---------- HOME / JOURNEY: scrubbed video stage ---------- */
.scrub { position: relative; height: 360vh; background: linear-gradient(180deg, #87a9c2, #a9c4d6); color: #0b1a2c; }
.scrub--dark { background: var(--ink); color: var(--paper); height: 420vh; }
.scrub__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--gutter); padding: var(--header-h) var(--gutter) 24px; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; }
.scrub__txt { position: relative; height: 60vh; }
.beat { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.beat.on { opacity: 1; transform: none; pointer-events: auto; }
.beat .label { margin-bottom: 22px; }
.beat h2 { margin-bottom: 26px; }
.beat .link-arrow { align-self: flex-start; margin-top: 24px; }
.beat p:not(.label) { max-width: 42ch; font-size: clamp(17px, 1.4vw, 20px); }
.scrub__vid { position: relative; height: 100%; max-height: calc(100svh - var(--header-h) - 40px); justify-self: center; aspect-ratio: 9 / 16; }
.scrub__vid video { width: 100%; height: 100%; object-fit: cover; }
.scrub--dark .scrub__vid { box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5); }
.scrub__vid .frame-label { position: absolute; left: 12px; bottom: 12px; z-index: 4; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.scrub__bar { position: absolute; left: var(--gutter); bottom: 28px; width: 160px; height: 2px; background: rgba(11, 26, 44, 0.2); }
.scrub--dark .scrub__bar { background: rgba(255, 255, 255, 0.2); }
.scrub__bar i { position: absolute; inset: 0; background: var(--orange-deep); transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px) {
  .scrub__stick { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: calc(var(--header-h) + 8px); gap: 12px; }
  .scrub__txt { height: 200px; }
  .scrub__vid { height: auto; width: min(58vw, 300px); max-height: none; aspect-ratio: 9 / 16; }
  .beat h2 { margin-bottom: 12px; font-size: 40px; }
  .beat p { font-size: 15px; }
  .beat .label { margin-bottom: 10px; }
}

/* ---------- HOME: journey teaser ---------- */
.tz { position: relative; min-height: 100vh; display: grid; align-items: end; overflow: hidden; background: var(--ink); }
.tz__img { position: absolute; inset: -8% 0; }
.tz__img img { width: 100%; height: 100%; object-fit: cover; }
.tz__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 23, 0.55), rgba(5, 10, 23, 0.05) 40%, rgba(5, 10, 23, 0.9)); }
.tz__in { position: relative; z-index: 2; padding-bottom: clamp(50px, 7vw, 100px); padding-top: 140px; }
.tz__in .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: 36px; }
.tz__in p:not(.label) { max-width: 44ch; color: #dce1ee; }

/* ---------- Event rows (home teaser + events page) ---------- */
.evl { border-top: 1px solid var(--line-light); }
.theme-dark .evl, .theme-ink .evl { border-color: var(--line-dark); }
.ev { position: relative; display: grid; grid-template-columns: 190px 1fr 220px; gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(28px, 3.2vw, 48px) 0; border-bottom: 1px solid var(--line-light); }
.theme-dark .ev, .theme-ink .ev { border-color: var(--line-dark); }
.ev__date { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 68px); line-height: 0.9; }
.ev__date small { -webkit-text-stroke: 0; display: block; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; margin-top: 10px; color: var(--steel); }
.ev__date.tba small { color: var(--steel); }
.ev__date.tba { color: transparent; -webkit-text-stroke: 1.2px currentColor; }
.theme-light .ev__date.tba { -webkit-text-stroke-color: var(--text-on-paper); }
.theme-dark .ev__date.tba, .theme-ink .ev__date.tba { -webkit-text-stroke-color: var(--paper); }
.ev h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 52px); line-height: 0.95; margin: 10px 0 12px; }
.ev p { max-width: 56ch; color: inherit; opacity: 0.78; }
.ev__meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; color: var(--steel); }
.ev__act { justify-self: end; }
.ev .kind { color: var(--orange-deep); }
.theme-dark .ev .kind, .theme-ink .ev .kind { color: var(--orange); }
@media (max-width: 860px) { .ev { grid-template-columns: 1fr; gap: 14px; } .ev__act { justify-self: start; margin-top: 6px; } }

/* ---------- Gallery strip (home) ---------- */
.strip { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 14vw, 210px); gap: 14px; }
.strip a { position: relative; overflow: hidden; background: var(--navy-2); display: block; }
.strip img, .strip video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip a:hover img, .strip a:hover video { transform: scale(1.06); }
.strip a span { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.strip a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 10, 23, 0.7)); }
.strip .s1 { grid-column: span 5; grid-row: span 2; } .strip .s2 { grid-column: span 4; } .strip .s3 { grid-column: span 3; grid-row: span 2; }
.strip .s4 { grid-column: span 4; } .strip .s5 { grid-column: span 4; } .strip .s6 { grid-column: span 3; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } .strip a { grid-column: span 1 !important; grid-row: span 1 !important; } .strip .s1 { grid-column: span 2 !important; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--orange); color: var(--ink); padding: clamp(80px, 11vw, 170px) 0; }
.cta .display { font-size: clamp(70px, 15vw, 250px); line-height: 0.82; }
.cta__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(30px, 4vw, 56px); flex-wrap: wrap; }
.cta p:not(.label) { max-width: 40ch; font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; }
.cta .btn { --bg: var(--ink); --fg: var(--paper); }
.cta .btn::before { background: var(--paper); }
.cta .btn:hover { color: var(--ink); }
.cta__logo { position: absolute; right: -6vw; top: 50%; width: min(46vw, 620px); transform: translateY(-50%) rotate(-12deg); opacity: 0.1; mix-blend-mode: multiply; pointer-events: none; }

/* ---------- JOURNEY: pinned frame sequence ---------- */
.seq { position: relative; height: 640vh; background: var(--ink); }
.seq__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.seq canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 23, 0.62), transparent 24%, transparent 40%, rgba(5, 10, 23, 0.55) 68%, rgba(5, 10, 23, 0.92)); pointer-events: none; }
.cap { text-shadow: 0 2px 28px rgba(5, 10, 23, 0.55); }
.seq__hud { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 26px) var(--gutter) clamp(26px, 3.4vw, 46px); pointer-events: none; }
.seq__top { display: flex; justify-content: space-between; gap: 20px; color: #dfe5f2; }
.seq__chaps { display: flex; gap: clamp(14px, 2.4vw, 38px); }
.seq__chaps span { position: relative; padding-bottom: 10px; color: rgba(255, 255, 255, 0.45); transition: color 0.4s; }
.seq__chaps span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.22); }
.seq__chaps span::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(var(--p, 0)); transform-origin: left; z-index: 1; }
.seq__chaps span.on { color: #fff; }
.seq__cap { max-width: 880px; }
.seq__cap .cap { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(26px, 3.4vw, 46px); opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.seq__cap .cap.on { opacity: 1; transform: none; }
.cap h2 { margin: 14px 0 0; max-width: 14ch; }
.cap p:not(.label) { margin-top: 18px; max-width: 46ch; color: #dde2ef; }
.cap .btn { margin-top: 26px; pointer-events: auto; }
.seq__load { position: absolute; left: var(--gutter); top: calc(var(--header-h) + 70px); z-index: 4; color: #cdd4e6; transition: opacity 0.6s; }
.seq__load.done { opacity: 0; }
.seq__load i { display: block; width: 120px; height: 2px; background: rgba(255, 255, 255, 0.2); margin-top: 8px; position: relative; }
.seq__load i b { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
@media (max-width: 760px) { .seq { height: 520vh; } .seq__chaps span:not(.on) { display: none; } }

/* Journey: process */
.proc { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: clamp(30px, 5vw, 90px); }
.proc__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.proc__head p { margin-top: 26px; color: #4a5268; max-width: 36ch; }
.step { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: clamp(30px, 4vw, 56px) 0; border-top: 1px solid var(--line-light); }
.step:last-child { border-bottom: 1px solid var(--line-light); }
.step__n { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 7vw, 110px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--text-on-paper); transition: color 0.4s, -webkit-text-stroke-color 0.4s; }
.step:hover .step__n { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.step h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4vw, 62px); line-height: 0.92; margin-bottom: 14px; }
.step p { max-width: 50ch; color: #3d455a; }
@media (max-width: 860px) { .proc { grid-template-columns: 1fr; } .proc__head { position: static; } .step { grid-template-columns: 76px 1fr; } }

/* ---------- TEAM ---------- */
.fac { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.person { position: relative; }
.person__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-2); }
.person__ph img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-empty { position: absolute; inset: 0; display: grid; place-items: center; background:
  repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px), linear-gradient(160deg, #13234d, #0a1430); }
.ph-empty img { width: 44%; opacity: 0.16; filter: grayscale(1); }
.ph-empty span { position: absolute; left: 12px; top: 12px; color: var(--steel); }
.ph-empty::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); background:
  linear-gradient(var(--orange), var(--orange)) center / 100% 1px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 1px 100% no-repeat; opacity: 0; }
.person__no { position: absolute; right: 12px; top: 10px; z-index: 2; font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: 1; color: rgba(255, 255, 255, 0.9); }
.person__body { padding: 18px 0 0; }
.person__role { color: var(--orange); }
.person__name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 38px); line-height: 0.95; margin: 8px 0 6px; }
.person__name.tbd { color: var(--steel); font-family: var(--f-text); font-weight: 500; text-transform: none; font-size: 19px; line-height: 1.3; letter-spacing: 0; margin: 10px 0 8px; }
.person__dom { color: var(--steel); }
.person__links { display: flex; gap: 14px; margin-top: 12px; }
.person__links a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) 22px; }
.team-grid .person:nth-child(4n+2) { margin-top: 48px; }
.team-grid .person:nth-child(4n+4) { margin-top: 48px; }
.person__ph .ph-empty { transition: transform 1s var(--ease); }
.person:hover .ph-empty { transform: scale(1.04); }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, 1fr); } .team-grid .person { margin-top: 0 !important; } .team-grid .person:nth-child(3n+2) { margin-top: 40px !important; } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } .team-grid .person:nth-child(3n+2) { margin-top: 0 !important; } .team-grid .person:nth-child(even) { margin-top: 32px !important; } .fac { grid-template-columns: 1fr; } }
.team-note { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-top: clamp(60px, 7vw, 100px); }
@media (max-width: 720px) { .team-note { grid-template-columns: 1fr; } }

/* ---------- GALLERY ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 56px); }
.chip { padding: 11px 18px; border: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chip:hover { border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.chip sup { font-size: 10px; margin-left: 6px; opacity: 0.7; }
.masonry { columns: 3; column-gap: 16px; }
.gi { position: relative; display: block; width: 100%; margin: 0 0 16px; break-inside: avoid; overflow: hidden; background: var(--navy-2); cursor: zoom-in; text-align: left; }
.gi img, .gi video { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter 0.6s; }
.gi:hover img, .gi:hover video { transform: scale(1.05); }
.gi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 10, 23, 0.82)); opacity: 0.85; transition: opacity 0.4s; }
.gi .gcap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.gi .gcap b { font-family: var(--f-display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; }
.gi .gcap span { color: #cfd6e6; white-space: nowrap; }
.gi .play { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(5, 10, 23, 0.6); display: grid; place-items: center; backdrop-filter: blur(6px); }
.gi .play::before { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.gi.hide { display: none; }
@media (max-width: 960px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }
.gnote { margin-top: 56px; padding: 22px 26px; border: 1px dashed var(--line-dark); color: #aab3c8; max-width: 760px; }

.lb { position: fixed; inset: 0; z-index: 250; background: rgba(3, 6, 14, 0.94); display: none; align-items: center; justify-content: center; padding: 70px 70px 90px; }
.lb.open { display: flex; animation: fade 0.3s; }
@keyframes fade { from { opacity: 0; } }
.lb__m { max-width: 100%; max-height: 100%; display: flex; }
.lb__m img, .lb__m video { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; color: #cfd6e6; }
.lb button { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-dark); font-size: 20px; transition: background 0.2s, color 0.2s; }
.lb button:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.lb .x { right: 20px; top: 20px; } .lb .pv { left: 20px; top: 50%; margin-top: -26px; } .lb .nx { right: 20px; top: 50%; margin-top: -26px; }
@media (max-width: 720px) { .lb { padding: 70px 14px 100px; } .lb .pv, .lb .nx { top: auto; bottom: 20px; margin: 0; } .lb .pv { left: 20px; } .lb .nx { right: 20px; } }

/* ---------- EVENTS ---------- */
.empty { padding: clamp(40px, 6vw, 80px) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.empty p { max-width: 44ch; }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.formats li { padding: 36px 30px 40px 0; border-right: 1px solid var(--line-light); }
.formats li + li { padding-left: 30px; }
.formats li:last-child { border-right: 0; }
.formats h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 52px); line-height: 0.92; margin: 14px 0 12px; }
.formats p { color: #3d455a; max-width: 34ch; }
@media (max-width: 860px) { .empty { grid-template-columns: 1fr; } .formats { grid-template-columns: 1fr; } .formats li { border-right: 0; border-bottom: 1px solid var(--line-light); padding: 28px 0 !important; } }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.theme-light .chip { border-color: var(--line-light); }
.theme-light .chip:hover { border-color: var(--text-on-paper); }

/* ---------- JOIN ---------- */
.join { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.join__side { position: sticky; top: calc(var(--header-h) + 40px); }
.join__list { margin-top: 44px; border-top: 1px solid var(--line-dark); }
.join__list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.join__list b { font-family: var(--f-mono); font-weight: 500; font-size: 13px; color: var(--orange); padding-top: 4px; }
.join__list strong { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; margin-bottom: 6px; }
.join__list span { color: #b8c0d4; }
.form { background: var(--paper); color: var(--text-on-paper); padding: clamp(28px, 4vw, 56px); }
.form h2 { margin-bottom: 8px; }
.field { position: relative; margin-top: 30px; }
.field label, .field legend { display: block; margin-bottom: 10px; color: #4a5268; padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--text-on-paper); background: transparent; border: 0; border-bottom: 2px solid var(--line-light);
  padding: 10px 0 12px; border-radius: 0; outline: none; transition: border-color 0.3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-deep); }
.field.err input, .field.err select, .field.err textarea { border-color: #d12b2b; }
.field .msg { display: none; color: #d12b2b; margin-top: 8px; }
.field.err .msg { display: block; }
fieldset.field { border: 0; margin-left: 0; min-width: 0; padding: 0; margin-top: 30px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { margin: 0; cursor: pointer; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { display: inline-block; padding: 11px 16px; border: 1px solid var(--line-light); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-paper); transition: all 0.25s; }
.checks label:hover span { border-color: var(--text-on-paper); }
.checks input:checked + span { background: var(--text-on-paper); color: var(--paper); border-color: var(--text-on-paper); }
.checks input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 38px; }
.form .btn { --bg: var(--text-on-paper); --fg: var(--paper); }
.form .btn::before { background: var(--orange); }
.form .btn:hover { color: var(--ink); }
.form__status { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--orange-deep); background: rgba(255, 122, 26, 0.1); display: none; }
.form__status.show { display: block; }
.form__status.ok { border-color: #1f9d55; background: rgba(31, 157, 85, 0.1); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 960px) { .join { grid-template-columns: 1fr; } .join__side { position: static; } .form .row2 { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .rv, .ln > span { opacity: 1; transform: none; }
  .stmt__text .w { opacity: 1; }
}

/* Home hero driven by the frame sequence */
.hero-seq { height: 420vh; }
.hero-seq .seq__stick.hero { height: 100vh; height: 100svh; min-height: 0; }
.hero-seq .hero__in { transition: none; opacity: clamp(0, calc(1 - var(--p, 0) * 7), 1); transform: translateY(calc(var(--p, 0) * -60px)); pointer-events: auto; }
.hero-seq .hero__shade { opacity: clamp(0, calc(1 - var(--p, 0) * 5), 1); }
.hero-seq .hero__grid { opacity: clamp(0, calc(1 - var(--p, 0) * 8), 1); }
.hero-seq .hero__tc { display: block; }
@media (max-width: 760px) { .hero-seq .hero__tc { display: none; } }

.ev .live { margin-left: 14px; padding: 4px 10px; background: var(--orange); color: var(--ink); }
.ev .live { animation: blink 1.6s steps(2) infinite; }

/* ---------- Journey: horizontal film strip ---------- */
.hs { position: relative; height: 560vh; }
.hs__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hs__head { position: absolute; top: calc(var(--header-h) + 24px); left: 0; right: 0; display: flex; justify-content: space-between; z-index: 2; margin: 0 auto; }
.hs__count b { color: var(--orange); font-weight: 500; }
.hs__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); will-change: transform; align-items: center; margin-top: 40px; }
.hs__p { flex: none; width: min(66vw, 1000px); position: relative; }
.hs__p img { width: 100%; height: min(58vh, 560px); object-fit: cover; }
.hs__p::before { content: ""; position: absolute; left: -1px; top: -1px; width: 18px; height: 18px; border: solid var(--orange); border-width: 2px 0 0 2px; z-index: 2; }
.hs__p figcaption { display: grid; grid-template-columns: 56px auto 1fr; gap: 6px 22px; align-items: baseline; margin-top: 22px; }
.hs__p figcaption .label { color: var(--orange); }
.hs__p h3 { font-size: clamp(40px, 5vw, 76px); line-height: 0.9; }
.hs__p p { color: #c3cadb; max-width: 40ch; }
.hs__p--last { width: min(66vw, 1000px); margin-right: 10vw; }
.hs__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 30px; height: 2px; background: rgba(255, 255, 255, 0.16); }
.hs__bar i { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
@media (max-width: 760px) {
  .hs { height: 480vh; }
  .hs__p { width: 82vw; }
  .hs__p img { height: 40vh; }
  .hs__p figcaption { grid-template-columns: 40px 1fr; }
  .hs__p figcaption p { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .hs { height: auto; }
  .hs__stick { position: static; height: auto; padding: 120px 0 60px; }
  .hs__head { position: static; padding-bottom: 24px; }
  .hs__track { overflow-x: auto; transform: none !important; scroll-snap-type: x mandatory; }
  .hs__bar { display: none; }
}

/* Team photo */
.teamshot { padding: 0 0 clamp(50px, 7vw, 100px); }
.teamshot__f { position: relative; margin: 0; background: var(--navy-2); }
.teamshot__f img { width: 100%; height: auto; max-height: 82vh; object-fit: cover; object-position: 50% 40%; }
.teamshot__f figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px 0; color: var(--steel); }

/* Video hero on inner pages: video stays bright, only the text side is shaded */
.phead--video .phead__bg video { opacity: 1; }
.phead--video .phead__bg::after { background: linear-gradient(90deg, rgba(5, 10, 23, 0.82) 0%, rgba(5, 10, 23, 0.45) 45%, rgba(5, 10, 23, 0.1) 100%), linear-gradient(180deg, rgba(5, 10, 23, 0.5) 0%, transparent 25%, transparent 70%, var(--ink) 100%); }
.phead--video { min-height: 88vh; display: flex; align-items: flex-end; }

.strip a .ph-empty { transition: transform 1.2s var(--ease); }
.strip a:hover .ph-empty { transform: scale(1.04); }
.strip a:has(.ph-empty)::after { display: none; }
.strip .ph-empty img { width: auto; height: min(46%, 120px); max-width: 70%; object-fit: contain; opacity: 0.16; }

/* Home gallery strip: four portrait frames */
.strip.strip--p { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 16px; }
.strip.strip--p a { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 5; }
.strip.strip--p a:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
@media (max-width: 760px) { .strip.strip--p { grid-template-columns: repeat(2, 1fr); } .strip.strip--p a:nth-child(even) { margin-top: 24px; } }
.gi::after { display: none; }

/* ---------- Large monitors: widen the content area ---------- */
@media (min-width: 1800px) { :root { --maxw: 1600px; --gutter: 64px; } body { font-size: 18px; } }
@media (min-width: 2300px) { :root { --maxw: 2000px; --gutter: 80px; } body { font-size: 20px; } .h-xl { font-size: clamp(64px, 11.5vw, 260px); } .h-lg { font-size: clamp(52px, 8vw, 190px); } }

/* ---------- Tablets (portrait) ---------- */
@media (min-width: 600px) and (max-width: 900px) {
  .hero h1 { font-size: 11.4vw; }
  .hero h1 .ln > span { white-space: normal; }
  .h-xl { font-size: clamp(64px, 14vw, 130px); }
}

/* ---------- Short landscape screens (phones on their side, small laptops) ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 60px; }
  .hero { min-height: 0; }
  .hero h1 { font-size: min(8.7vw, 20vh) !important; }
  .hero__sub, .hero__foot, .hero__eyebrow { display: none; }
  .hero__row { margin-top: 18px; }
  .btn { padding: 12px 18px; }
  .scrub__stick { grid-template-columns: 1fr 1fr; grid-template-rows: none; padding-top: var(--header-h); }
  .scrub__txt { height: 70vh; } .scrub__vid { height: 100%; width: auto; max-height: calc(100svh - var(--header-h) - 20px); }
  .beat h2 { font-size: clamp(30px, 9vh, 52px); margin-bottom: 10px; } .beat p:not(.label) { font-size: 14px; }
  .hs__p img { height: 52vh; } .hs__p figcaption p { display: none; }
  .phead, .phead--video { min-height: 0; padding-top: calc(var(--header-h) + 30px); }
  .sheet { justify-content: flex-start; overflow-y: auto; padding-top: 70px; } .sheet a.big { font-size: 40px; }
}

/* ---------- Touch devices: no hover-only affordances ---------- */
@media (hover: none) {
  .disc__row:hover { padding-left: 0; padding-right: 0; color: inherit; }
  .disc__row:hover::before { transform: scaleY(0); }
  .disc__row:hover .disc__no { color: var(--orange); } .disc__row:hover p { color: #b8c0d4; } .disc__row:hover .disc__tags { color: var(--steel); }
  .btn:hover::before { transform: translateY(101%); } .btn:hover { color: var(--fg); }
  .btn--ghost:hover { color: var(--paper); } .theme-light .btn--ghost:hover { color: var(--text-on-paper); }
  .strip a:hover img, .gi:hover img, .person:hover .ph-empty { transform: none; }
}
.btn, .chip, .burger, .gi, .lb button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ---------- Very small phones ---------- */
@media (max-width: 360px) {
  body { font-size: 16px; }
  .brand__t small { display: none; }
  .hero__cta .btn, .cta .btn { width: 100%; justify-content: space-between; }
  .btn { padding: 15px 18px; }
  .h-xl { font-size: 17vw; } .h-lg { font-size: 15vw; }
  .form { padding: 22px 18px; }
  .team-grid { grid-template-columns: 1fr; } .team-grid .person { margin-top: 0 !important; }
}
/* Safe areas (notched phones) */
.hdr__in, .wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

/* Short screens: keep the hero text clear of the header */
@media (max-height: 700px) and (orientation: portrait), (max-width: 400px) {
  .hero__foot { display: none; }
  .hero__eyebrow { margin-bottom: 12px; font-size: 11px; }
  .hero__row { margin-top: 18px; gap: 20px; }
  .hero__sub { font-size: 15px; }
  .hero { padding-top: var(--header-h); }
  .hero__in { justify-content: flex-end; padding-bottom: 22px; }
  .hero h1 { font-size: 12.2vw; }
}
@media (max-height: 600px) and (orientation: portrait) { .hero__sub { display: none; } }
@media (max-width: 720px) { .fac .person { max-width: 240px; } .fac { gap: 22px; } }
@media (max-height: 520px) and (orientation: landscape) { .hero-seq .hero__tc { display: none; } }

/* ---------- TEAM: name-first roster ---------- */
.roster-sec { padding-top: clamp(70px, 9vw, 130px); padding-bottom: clamp(50px, 7vw, 100px); }
.roster-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(26px, 4vw, 54px); }
.roster { counter-reset: r; }
.rrow { position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; padding: clamp(22px, 3.2vw, 46px) 0; isolation: isolate; overflow: hidden; cursor: default; }
.rrow__bar { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.rrow.in .rrow__bar { transform: scaleX(1); }
.roster > .rrow:last-of-type::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark); }
/* orange sweep that follows the pointer's x-position */
.rrow::before { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease); z-index: -2; }
/* giant ghost initials that appear behind on hover */
.rrow::after { content: attr(data-ini); position: absolute; right: 2%; top: 50%; transform: translate(40px, -50%); font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 18vw, 300px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(5, 10, 23, 0.28); opacity: 0; transition: opacity 0.5s, transform 0.7s var(--ease); z-index: -1; pointer-events: none; }
.rrow:hover::before { transform: scaleY(1); }
.rrow:hover::after { opacity: 1; transform: translate(0, -50%); }
.rrow:hover { color: var(--ink); }
.rrow__no { color: var(--orange); transition: color 0.3s; }
.rrow:hover .rrow__no { color: var(--ink); }
.rrow__name { font-size: clamp(40px, 7.4vw, 124px); line-height: 0.92; margin: 0; transition: transform 0.6s var(--ease); }
.rrow:hover .rrow__name { transform: translateX(clamp(8px, 1.6vw, 28px)); }
.rrow__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.rrow__role { padding: 8px 12px; border: 1px solid currentColor; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.rrow:hover .rrow__role { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rrow__links { display: flex; gap: 14px; } .rrow__links a { border-bottom: 1px solid currentColor; }
.rrow__ph { position: absolute; right: 22%; top: 50%; width: 120px; height: 150px; object-fit: cover; transform: translateY(-50%) rotate(-4deg) scale(0.9); opacity: 0; transition: opacity 0.4s, transform 0.6s var(--ease); pointer-events: none; }
.rrow:hover .rrow__ph { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); }
.roster--mentors .rrow__name { font-size: clamp(44px, 9vw, 150px); }
.rrow.rv { transform: none; }
.roster__more { position: relative; display: flex; flex-wrap: wrap; gap: 0 0.3em; align-items: baseline; padding: clamp(28px, 4vw, 56px) 0 8px; font-size: clamp(30px, 5vw, 80px); line-height: 1; overflow: hidden; }
.roster__more .display { font-size: inherit; }
.roster__more .outline { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.roster__more i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, transparent, var(--orange), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: sweep 3.2s linear infinite; }
@keyframes sweep { from { background-position: -50% 0; } to { background-position: 150% 0; } }
@media (hover: none) { .rrow:hover::before, .rrow:hover::after { transform: scaleY(0); opacity: 0; } .rrow:hover { color: inherit; } .rrow:hover .rrow__name { transform: none; } .rrow:hover .rrow__no { color: var(--orange); } .rrow:hover .rrow__role { background: none; color: inherit; border-color: currentColor; } }
@media (max-width: 720px) {
  .rrow { grid-template-columns: 38px 1fr; gap: 8px 12px; padding: 24px 0; }
  .rrow__meta { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; flex-wrap: wrap; }
  .rrow__name { font-size: clamp(38px, 12.5vw, 70px); } .roster--mentors .rrow__name { font-size: clamp(40px, 13.5vw, 76px); }
  .rrow__ph { display: none; }
}
@media (prefers-reduced-motion: reduce) { .roster__more i { animation: none; } .rrow__bar { transform: scaleX(1); } }

/* portrait photos in the strip get a narrower, taller frame */
.hs__p--tall { width: min(34vw, 460px); }
.hs__p--tall img { height: min(62vh, 620px); }
.hs__p--tall figcaption { grid-template-columns: 40px 1fr; }
.hs__p--tall figcaption p { grid-column: 1 / -1; }
@media (max-width: 760px) { .hs__p--tall { width: 68vw; } .hs__p--tall img { height: 52vh; } }

/* ---------- TEAM hero: rotating emblem + names marquee ---------- */
.phead--team { padding-bottom: 0; }
.phead--team .phead__meta { margin-bottom: clamp(40px, 6vw, 80px); }
.emblem { position: absolute; z-index: 1; right: clamp(20px, 4vw, 90px); top: 50%; width: clamp(220px, 27vw, 440px); aspect-ratio: 1; transform: translateY(-58%); pointer-events: none; }
.emblem__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 38s linear infinite; }
.emblem__ring text { font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.3em; fill: rgba(242, 239, 232, 0.75); text-transform: uppercase; }
.emblem__ring--b { animation: spin 60s linear infinite reverse; }
.emblem__ring--b circle { stroke: rgba(255, 122, 26, 0.45); stroke-width: 1; stroke-dasharray: 2 9; }
.emblem__ring--b circle + circle { stroke: rgba(255, 255, 255, 0.14); stroke-dasharray: none; }
.emblem__logo { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 20px 50px rgba(47, 107, 255, 0.35)); }
.emblem__dot { position: absolute; left: 50%; top: 2.5%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255, 122, 26, 0.18); }
.emblem__orbit { position: absolute; inset: 0; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translate(-50%, -54%); } }
.marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 18px 0; background: rgba(5, 10, 23, 0.55); }
.marquee__t { display: flex; width: max-content; align-items: center; gap: 34px; animation: marq 38s linear infinite; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 46px); line-height: 1; white-space: nowrap; }
.marquee__t span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--paper); }
.marquee__t b { color: var(--orange); font-size: 0.5em; }
.marquee:hover .marquee__t { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-25%); } }
@media (max-width: 900px) {
  .emblem { position: relative; right: auto; top: auto; transform: none; width: min(60vw, 280px); margin: 0 auto -20px; z-index: 1; }
  .phead--team { padding-top: calc(var(--header-h) + 20px); }
}
@media (prefers-reduced-motion: reduce) { .emblem__ring, .emblem__logo, .emblem__orbit, .marquee__t { animation: none; } }

.phead--team h1 { font-size: clamp(52px, 7.6vw, 140px); }
@media (max-width: 900px) { .phead--team h1 { font-size: clamp(52px, 15vw, 110px); } }
