/* ==========================================================================
   FACE LEVEL INDUSTRIES — headfirst & horizontal to gravity
   ========================================================================== */

:root {
  --bg: #070708;
  --panel: #0c0d0f;
  --bone: #eceae3;
  --dim: #a8a59b;
  --hzd: #ffe000;
  --aqua: #2ad8c9;
  --line: rgba(236, 234, 227, 0.14);
  --font-display: "Anton", sans-serif;
  --font-body: "Barlow", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --pad: clamp(20px, 4vw, 64px);
  --content: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--hzd); outline-offset: 3px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; }

.container { max-width: var(--content); margin: 0 auto; padding-inline: var(--pad); }

::selection { background: var(--hzd); color: #000; }

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: #000;
  display: grid; place-items: center;
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader.is-done { transform: translateY(-101%); }
.loader__inner { text-align: center; }
.loader__icon {
  width: 72px; margin: 0 auto 18px;
  animation: loaderPulse 1.1s ease-in-out infinite;
}
@keyframes loaderPulse { 50% { transform: scale(1.08) rotate(2deg); } }
.loader__word { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.18em; color: var(--bone); }
.loader__word span { display: inline-block; opacity: 0; transform: translateY(0.6em); animation: loaderLetter 0.5s forwards; }
.loader__word span:nth-child(n) { animation-delay: calc(var(--i, 0) * 1s); }
.loader__gap { width: 0.5em; }
@keyframes loaderLetter { to { opacity: 1; transform: none; } }
.loader__bar { width: 180px; height: 2px; background: rgba(255,255,255,0.15); margin: 22px auto 0; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--hzd); transform: scaleX(0); transform-origin: left; transition: transform 0.2s; }

/* ==========================================================================
   PROGRESS
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 997; }
.progress i { display: block; height: 100%; width: 0%; background: var(--hzd); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px var(--pad);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 8, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__icon { width: 38px; transition: transform 0.3s ease; }
.nav__brand:hover .nav__icon { transform: rotate(-4deg); }
.nav__word { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.12em; line-height: 1.05; }
.nav__word em { display: block; font-style: normal; font-size: 0.62rem; letter-spacing: 0.3em; color: var(--hzd); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav__links a {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--dim); position: relative;
  transition: color 0.3s;
}
.nav__links a:hover { color: var(--bone); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 100%;
  background: var(--hzd); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { color: #000 !important; background: var(--hzd); padding: 8px 16px; }
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--bone); }
.nav__est { color: var(--dim); }
@media (max-width: 880px) {
  .nav__est { display: none; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: -12% 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 14s ease-out forwards;
  filter: saturate(1.05);
}
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1.01); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,7,8,0.6) 0%, rgba(7,7,8,0.18) 32%, rgba(7,7,8,0.62) 62%, rgba(7,7,8,0.97) 100%),
    radial-gradient(120% 70% at 70% 20%, transparent 40%, rgba(7,7,8,0.55) 100%);
}
.hero__content { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
.hero__content { padding: 0 var(--pad) clamp(100px, 14vh, 170px); max-width: 1400px; }
.hero__kicker { color: var(--hzd); margin-bottom: 18px; }

.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, min(10.5vw, 13.5svh), 9.5rem);
  line-height: 0.92; letter-spacing: 0.01em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero__row { display: block; overflow: hidden; padding-block: 0.04em; }
.hw { display: inline-block; }
.hw .ch { display: inline-block; transform: translateY(110%); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
body.is-loaded .hw .ch { transform: none; }
.hw--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--hzd);
}
.hero__meta { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 64px; }
.hero__sub { max-width: 490px; color: var(--bone); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.hero__coords { display: flex; flex-direction: column; gap: 8px; color: #c7c4bb; }

.hero__scrollcue {
  position: absolute; right: var(--pad); bottom: 120px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #c7c4bb; font-size: 0.68rem; letter-spacing: 0.3em;
  writing-mode: vertical-rl;
}
.hero__scrollcue i { width: 1px; height: 56px; background: var(--hzd); animation: cueDrop 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes cueDrop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 880px) { .hero__scrollcue { display: none; } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee__track { display: inline-flex; animation: marquee 52s linear infinite; }
.marquee__track span {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(0.85rem, 1.8vw, 1.2rem); letter-spacing: 0.08em;
  padding-right: 0.5em;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--hero {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--hzd); color: #000;
  padding: 8px 0; transform: rotate(0.001deg);
}
.marquee--footer { background: var(--hzd); color: #000; padding: 12px 0; }
.marquee--footer .marquee__track span { font-size: clamp(1.2rem, 2.6vw, 1.9rem); }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { padding: clamp(110px, 16vh, 200px) 0; background: var(--bg); position: relative; }
.manifesto__label { color: var(--hzd); margin-bottom: 34px; }
.manifesto__text {
  font-size: clamp(1.5rem, 3.4vw, 2.7rem);
  line-height: 1.35; font-weight: 400; max-width: 22ch+; max-width: 950px;
}
.manifesto__text .w { opacity: 0.34; transition: opacity 0.35s linear; }
.manifesto__text .w.is-lit { opacity: 1; }
.manifesto__def {
  margin-top: 54px; max-width: 640px;
  border-left: 1px solid var(--line);
  padding: 18px 0 18px 24px;
  color: var(--dim); line-height: 1.9;
}
.manifesto__def b { color: var(--hzd); }
.manifesto__def i { color: var(--dim); font-style: italic; }
.manifesto__sig { display: flex; align-items: center; gap: 22px; margin-top: 56px; }
.manifesto__rider { width: 84px; filter: invert(0.92); opacity: 0.85; transform: rotate(-6deg); }
.manifesto__sig p { color: var(--dim); }

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.sect-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 0.95; letter-spacing: 0.01em;
}
.sect-title .outline { color: transparent; -webkit-text-stroke: 2px var(--hzd); }
.sect-sub { color: var(--dim); margin-top: 14px; }
[data-split-reveal] { display: inline-block; overflow: hidden; vertical-align: bottom; }
[data-split-reveal] .ch { display: inline-block; transform: translateY(110%); transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
[data-split-reveal].in-view .ch { transform: none; }

/* generic reveal */
.reveal, .reveal-line span { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in-view, .reveal-line span.in-view { opacity: 1; transform: none; }
.reveal-line { overflow: hidden; display: block; }

/* ==========================================================================
   DISCIPLINES — sticky stack
   ========================================================================== */
.disciplines__head { padding: clamp(80px, 12vh, 140px) var(--pad) 60px; }

.stack { position: relative; }
.panel {
  position: sticky; top: 0; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.panel__media { position: absolute; inset: -10% 0; z-index: 0; }
.panel__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: saturate(1.05); }
.panel__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 10, 0.82) 0%, rgba(5, 8, 10, 0.45) 46%, rgba(5, 8, 10, 0.08) 78%);
}
.panel__fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.panel__inner { position: relative; z-index: 2; width: 100%; padding-block: 90px; }
.panel__index { color: var(--hzd); margin-bottom: 16px; font-size: 0.8rem; }
.panel__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.8rem, 9vw, 7.6rem); line-height: 0.92; margin-bottom: 26px;
}
.panel__copy { max-width: 560px; color: var(--bone); font-size: clamp(1rem, 1.3vw, 1.1rem); margin-bottom: 42px; }
.panel__stats { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); }
.panel__stats li { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--hzd); padding-left: 14px; }
.panel__stats b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--bone); }
.panel__stats span { color: var(--dim); font-size: 0.72rem; }

/* per-panel theming */
.panel--river { background: #06151a; }
.panel--river .panel__index { color: var(--aqua); }
.panel--river .panel__stats li { border-color: var(--aqua); }

.panel--ocean { background: linear-gradient(195deg, #030b18 0%, #07223d 55%, #0a3a55 100%); }
.panel--snow { background: linear-gradient(200deg, #0b0f16 0%, #18222e 60%, #2c3c4a 100%); }
.panel--sky  { background: linear-gradient(185deg, #05060e 0%, #131732 48%, #3c2f4e 82%, #74454a 100%); }

.panel__rider { position: absolute; z-index: 1; pointer-events: none; opacity: 0.92; }
.panel__rider--ocean {
  width: clamp(220px, 32vw, 430px); right: 6%; top: 16%;
  filter: invert(1) drop-shadow(0 30px 50px rgba(0,0,0,0.5));
  transform: rotate(8deg);
}
.panel__rider--snow {
  width: clamp(200px, 28vw, 380px); right: 9%; bottom: 14%;
  filter: invert(1) drop-shadow(0 24px 40px rgba(0,0,0,0.55));
  transform: rotate(-14deg) scaleX(-1);
  opacity: 0.95;
}
.panel__wingsuit {
  position: absolute; z-index: 1; width: clamp(140px, 18vw, 250px);
  left: 76%; top: 6%; fill: #0a0a12; opacity: 0.9;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.45));
  transform: rotate(-10deg);
}
.panel__wingsuit path { fill: #11121f; stroke: rgba(236,234,227,0.5); stroke-width: 1.5; }

@media (max-width: 880px) {
  .panel__rider--ocean { width: 200px; right: -8%; top: 7%; opacity: 0.3; }
  .panel__rider--snow { width: 180px; right: -6%; bottom: auto; top: 7%; opacity: 0.35; }
  .panel__wingsuit { width: 120px; opacity: 0.5; }
}

/* ==========================================================================
   HAZARD DIVIDER
   ========================================================================== */
.hazard {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--hzd) 0 22px, #000 22px 44px);
  border-block: 1px solid #000;
  opacity: 0.85;
}

/* ==========================================================================
   BOARD
   ========================================================================== */
.board { padding: clamp(110px, 15vh, 190px) 0; background: var(--bg); overflow: hidden; }
.board__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 880px) { .board__grid { grid-template-columns: 1fr; } }
.board__tag { color: var(--hzd); margin-bottom: 22px; }
.board__lead { margin: 26px 0 30px; max-width: 460px; font-size: 1.05rem; }
.board__lead a { color: var(--hzd); border-bottom: 1px solid currentColor; }
.board__feats { list-style: none; display: grid; gap: 12px; margin-bottom: 40px; color: var(--dim); }
.board__feats li { padding-left: 18px; position: relative; }
.board__feats li::before { content: "▸"; position: absolute; left: 0; color: var(--hzd); }
.board__q { color: var(--dim); margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--hzd); color: #000;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  padding: 16px 26px; position: relative; overflow: hidden;
  transition: color 0.35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--bone);
  transform: translateY(101%); transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.btn:hover::before { transform: none; }
.btn span, .btn i { position: relative; z-index: 1; font-style: normal; }
.btn i { transition: transform 0.3s; }
.btn:hover i { transform: translateX(6px); }

.board__visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.board__glow {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 0, 0.09) 0%, transparent 65%);
  filter: blur(10px);
}
.board__img { position: relative; z-index: 2; width: min(92%, 560px); filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6)); }
.board__ring {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  color: rgba(236,234,227,0.22); font-size: 0.65rem; letter-spacing: 0.4em;
  animation: spinRing 48s linear infinite;
}
.board__ring span { display: none; } /* replaced by JS circular text */
.board__ring svg { width: min(100%, 520px); overflow: visible; }
.board__ring svg text { fill: rgba(236,234,227,0.3); font-size: 11.5px; letter-spacing: 0.32em; }
@keyframes spinRing { to { transform: rotate(360deg); } }

/* ==========================================================================
   GALLERY STRIP
   ========================================================================== */
.strip { overflow: hidden; padding: 30px 0 110px; background: var(--bg); }
.strip__track { display: flex; gap: 22px; padding-inline: var(--pad); will-change: transform; }
.strip figure { flex: 0 0 auto; width: clamp(260px, 34vw, 480px); }
.strip img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transition: filter 0.5s, transform 0.5s; transform: scale(1.001);
}
.strip figure:hover img { filter: none; transform: scale(1.03); }
.strip figcaption { margin-top: 10px; color: var(--dim); font-size: 0.72rem; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team { padding: clamp(90px, 13vh, 160px) 0 120px; border-top: 1px solid var(--line); }
.team header { margin-bottom: 64px; }
.team__list { list-style: none; border-top: 1px solid var(--line); max-width: var(--content); margin: 0 auto; }
.team__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 22px;
  padding: 26px var(--pad); border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden; cursor: pointer;
}
.team__row::before {
  content: ""; position: absolute; inset: 0; background: rgba(255, 224, 0, 0.05);
  opacity: 0; transition: opacity 0.3s ease;
}
.team__row:hover::before { opacity: 1; }
.team__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 4.6vw, 3.4rem); text-transform: uppercase; line-height: 1;
  position: relative; z-index: 1; transition: color 0.3s, transform 0.3s ease;
}
.team__meta { color: var(--dim); position: relative; z-index: 1; text-align: right; transition: color 0.3s; }
.team__row:hover .team__name { color: var(--hzd); transform: translateX(8px); }
.team__row:hover .team__meta { color: var(--bone); }
@media (max-width: 720px) {
  .team__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .team__meta { text-align: left; }
}

/* ==========================================================================
   LEGACY
   ========================================================================== */
.legacy { position: relative; padding: clamp(110px, 15vh, 190px) 0; overflow: hidden; }
.legacy__bg { position: absolute; inset: -12% 0; z-index: 0; }
.legacy__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.legacy .container { position: relative; z-index: 1; }
.timeline { list-style: none; margin-top: 72px; display: grid; gap: 0; }
.tl {
  display: grid; grid-template-columns: minmax(110px, 200px) 1fr; gap: clamp(18px, 4vw, 60px);
  padding: 34px 0; border-top: 1px solid var(--line); align-items: start;
}
.tl__year {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 0.9;
  color: transparent; -webkit-text-stroke: 1.5px var(--hzd);
}
.tl h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 6px; text-transform: uppercase; }
.tl p { color: var(--dim); max-width: 560px; font-size: 1rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: #050505; border-top: 1px solid var(--line); }
.footer__grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px;
  padding-block: clamp(80px, 12vh, 140px);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__icon { width: 64px; margin-bottom: 26px; }
.footer__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 8vw, 6rem); line-height: 0.9; margin-bottom: 22px;
}
.footer__mail {
  font-family: var(--font-mono); font-size: clamp(0.95rem, 2vw, 1.3rem); letter-spacing: 0.06em;
  color: var(--hzd); border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.footer__mail:hover { color: var(--bone); }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 90px); align-items: start; }
.footer__cols h5 { color: var(--dim); font-size: 0.7rem; letter-spacing: 0.3em; margin-bottom: 16px; }
.footer__cols a { display: block; color: var(--bone); font-size: 0.85rem; letter-spacing: 0.14em; padding: 6px 0; transition: color 0.3s, transform 0.3s; }
.footer__cols a:hover { color: var(--hzd); transform: translateX(4px); }
.footer__base {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-block: 26px; border-top: 1px solid var(--line); color: var(--dim);
}

/* ==========================================================================
   MOTION-SAFE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .hw .ch, [data-split-reveal] .ch, .reveal { transform: none !important; opacity: 1 !important; }
  .manifesto__text .w { opacity: 1; }
}
