/* ==========================================================================
   youthai.fashion — dark photo-studio editorial
   ========================================================================== */

:root {
  --bg:           #0a0a0c;
  --bg-deep:      #050507;
  --bg-soft:      #111114;
  --line:         #1c1c20;
  --line-strong:  #2a2a30;

  --ink:          #ece8e0;
  --ink-soft:     #b9b3a8;
  --ink-muted:    #6e6a64;
  --ink-faint:    #38362f;

  --copper:       #d4a574;
  --copper-deep:  #b08652;
  --rim:          #7fbfff;

  --serif:    "Fraunces", "Times New Roman", serif;
  --sans:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:     "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --easing:   cubic-bezier(.65, .05, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --pad-x:    clamp(1.25rem, 4vw, 3rem);
  --pad-y:    clamp(3rem, 8vw, 6rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* subtle grain */
  background-image:
    radial-gradient(circle at 30% 20%, rgba(40,38,34,.18), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(20,18,16,.30), transparent 60%);
}

/* film-grain texture for the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s var(--easing), opacity .2s var(--easing); }

::selection { background: var(--copper); color: var(--bg-deep); }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-deep);
  display: grid; place-items: center;
  pointer-events: none;
  transition: opacity .8s var(--easing), visibility .8s var(--easing);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-mark {
  display: flex; align-items: center; gap: 1.5rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
  animation: pl-in 1.4s var(--ease-out) .15s forwards;
}
.pl-line {
  display: block; width: 4rem; height: 1px;
  background: var(--ink-faint);
  position: relative; overflow: hidden;
}
.pl-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--copper);
  transform: translateX(-100%);
  animation: pl-fill 1.4s var(--ease-out) .3s forwards;
}
@keyframes pl-in  { to { opacity: 1; } }
@keyframes pl-fill { to { transform: translateX(0); } }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: linear-gradient(180deg, rgba(10,10,12,.85), rgba(10,10,12,.55) 60%, rgba(10,10,12,0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1700px; margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--ink);
}
.brand-mark { color: var(--copper); display: inline-flex; }
.brand-text {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.18rem;
  letter-spacing: -.01em;
}
.brand-dot { color: var(--copper); font-style: normal; }

.nav-links {
  display: flex; gap: 2rem;
  font-family: var(--mono);
  font-size: .73rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--copper); }

.nav-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .58rem 1.05rem;
  border: 1px solid var(--ink-faint);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: all .25s var(--easing);
}
.nav-cta:hover {
  border-color: var(--copper);
  color: var(--copper);
}
.nav-cta-arrow { transition: transform .25s var(--easing); }
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }

/* ==========================================================================
   STUDIO LAYOUT — sticky photo column + scrolling text
   ========================================================================== */
.studio {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 100vh;
  z-index: 2;
}

/* ---------- STAGE (sticky photo column) ---------- */
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-deep);
  border-right: 1px solid var(--line);
}

.stage-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.look {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--easing);
  pointer-events: none;
  will-change: opacity;
}
.look.is-active {
  opacity: 1;
  pointer-events: auto;
}
.look img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* slight ken-burns drift on active look */
  animation: drift 22s var(--easing) infinite alternate;
  animation-play-state: paused;
}
.look.is-active img { animation-play-state: running; }

@keyframes drift {
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.2%, -1.5%); }
}

/* gentle vignette over each look */
.look::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 60%, transparent 50%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.30) 0%, transparent 18%, transparent 82%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

/* metadata in lower-left of photo */
.look-meta {
  position: absolute;
  left: 1.6rem;
  bottom: 1.4rem;
  display: flex; flex-direction: column; gap: .15rem;
  z-index: 4;
  font-family: var(--mono);
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .8s var(--easing) .15s, transform .8s var(--easing) .15s;
}
.look.is-active .look-meta {
  opacity: 1;
  transform: translateY(0);
}
.look-num {
  font-size: .64rem;
  color: var(--copper);
}
.look-name {
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: .15em;
  font-weight: 500;
}

/* studio chrome — corner brackets */
.stage-frame-overlay {
  position: absolute; inset: 1.2rem;
  pointer-events: none;
  z-index: 5;
}
.frame-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid rgba(236,232,224,.18);
}
.frame-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.frame-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.frame-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.frame-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* stage controls (look counter + progress bar) */
.stage-controls {
  position: absolute;
  right: 1.6rem;
  top: 1.6rem;
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 6;
}
.ctrl-label { color: var(--ink-muted); }
.ctrl-current { color: var(--copper); font-weight: 500; }
.ctrl-divider { color: var(--ink-faint); }
.ctrl-total { color: var(--ink-muted); }
.ctrl-bar {
  width: 80px; height: 1px;
  background: var(--ink-faint);
  margin-left: .4rem;
  position: relative;
}
.ctrl-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 16.66%;
  background: var(--copper);
  transition: width .8s var(--easing);
}

/* ==========================================================================
   SCRIPT (scrolling content column)
   ========================================================================== */
.script {
  position: relative;
  background: var(--bg);
  border-left: 1px solid var(--line);
}

.scene {
  min-height: 100vh;
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.scene:last-of-type { border-bottom: none; }

.scene-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

/* hairline divider between scenes */
.scene::before {
  content: "";
  position: absolute;
  left: var(--pad-x); right: var(--pad-x);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.scene:first-of-type::before { display: none; }

/* ---------- TYPE SYSTEM ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 2.4rem;
}
.kicker .kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--copper);
  animation: blink 2.4s var(--easing) infinite;
}
@keyframes blink {
  0%, 60%, 100% { opacity: 1; }
  70%, 80% { opacity: .25; }
}
.kicker .num { color: var(--ink-soft); }
.kicker .kicker-rule {
  flex: 0 0 28px;
  height: 1px;
  background: var(--ink-faint);
}

.display, .display-2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -.025em;
  color: var(--ink);
}
.display {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1;
  margin-bottom: 2.2rem;
}
.display-2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: 1.8rem;
}
.display em, .display-2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--copper);
}
.display .muted, .display-2 .muted {
  color: var(--ink-muted);
  font-style: italic;
}

.lede {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 56ch;
  margin-bottom: 2.4rem;
}

.callout {
  margin-top: 2.6rem;
  padding: 1.6rem 1.8rem;
  border-left: 2px solid var(--copper);
  background: linear-gradient(180deg, rgba(212,165,116,.04), rgba(212,165,116,0));
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
  position: relative;
}
.callout-mark {
  display: inline-block;
  margin-right: .55rem;
  color: var(--copper);
  font-style: normal;
  font-family: var(--mono);
  font-size: .9rem;
  vertical-align: middle;
}

/* ---------- HERO ---------- */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 3.4rem;
}

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.5rem;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .25s var(--easing);
  cursor: pointer;
}
.btn span { transition: transform .25s var(--easing); }
.btn:hover span { transform: translateX(3px); }
.btn-light {
  background: var(--ink);
  color: var(--bg-deep);
}
.btn-light:hover {
  background: var(--copper);
  color: var(--bg-deep);
}
.btn-ghost {
  border-color: var(--ink-faint);
  color: var(--ink-soft);
}
.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper);
}
.btn-big { padding: 1.1rem 1.8rem; font-size: .8rem; }

.hero-spec {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 3rem;
}
.hero-spec li {
  background: var(--bg);
  padding: 1rem 1.2rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.spec-k {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.spec-v {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  font-weight: 400;
}

.scroll-hint {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 1rem;
}
.scroll-line {
  display: block;
  width: 50px; height: 1px;
  background: var(--ink-faint);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute; left: -50%; top: 0; bottom: 0;
  width: 50%;
  background: var(--copper);
  animation: scroll-pulse 2.6s var(--easing) infinite;
}
@keyframes scroll-pulse {
  0% { left: -50%; }
  60%, 100% { left: 100%; }
}

/* ---------- CURRENTLY (domains grid) ---------- */
.domains {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 1.5rem 0 0;
}
.domain {
  background: var(--bg);
  padding: 1.6rem 1.4rem;
  position: relative;
  transition: background .25s var(--easing);
}
.domain:hover { background: var(--bg-soft); }
.domain-num {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .25em;
  color: var(--copper);
  display: block;
  margin-bottom: .65rem;
}
.domain h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.18rem;
  margin-bottom: .55rem;
  letter-spacing: -.005em;
}
.domain p {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 300;
}

/* ---------- CURRICULUM (levels) ---------- */
.levels {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1.4rem;
}
.level {
  background: var(--bg);
  padding: 1.8rem 1.6rem;
  position: relative;
  transition: background .25s var(--easing);
}
.level:hover { background: var(--bg-soft); }
.level.is-flagship {
  background: linear-gradient(180deg, rgba(212,165,116,.04), var(--bg));
}
.level header {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.level-tag {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--copper);
}
.level h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.85rem;
  letter-spacing: -.02em;
  flex: 0 0 auto;
}
.level-spec {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .15em;
  color: var(--ink-muted);
  margin-left: auto;
}
.level-summary {
  font-size: .98rem;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 1.1rem;
  line-height: 1.55;
  font-family: var(--serif);
  font-style: italic;
}
.lessons {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem;
  margin: 0 0 1.2rem 0;
}
.lessons li {
  display: flex;
  gap: .9rem;
  align-items: baseline;
  padding: .35rem 0;
  font-size: .92rem;
  color: var(--ink);
  font-weight: 300;
  border-bottom: 1px dashed var(--line);
}
.lessons li span {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--copper);
  letter-spacing: .12em;
  flex: 0 0 1.7rem;
}
.lessons li span.cap { color: var(--copper); font-size: .85rem; }

.level-out {
  display: flex; flex-direction: column; gap: .25rem;
  padding: .9rem 1rem;
  background: var(--bg-deep);
  border-left: 2px solid var(--copper);
}
.out-label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--copper);
}
.out-text {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--ink);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}

.tools-strip {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .35rem;
}
.tools-label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--copper);
}
.tools-list {
  font-family: var(--serif);
  font-size: .9rem;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -.005em;
}

/* ---------- EVENTS ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1.4rem;
}
.event {
  background: var(--bg);
  padding: 1.4rem 1.3rem;
  position: relative;
  transition: background .25s var(--easing);
}
.event:hover { background: var(--bg-soft); }
.event.is-flagship {
  background: linear-gradient(180deg, rgba(212,165,116,.06), var(--bg));
  grid-column: span 2;
}
.event-month {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .25em;
  color: var(--copper);
  display: inline-block;
  margin-bottom: .5rem;
}
.event-flag {
  position: absolute;
  top: 1.4rem; right: 1.3rem;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid var(--copper);
  padding: .15rem .45rem;
  border-radius: 999px;
}
.event h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.18rem;
  margin-bottom: .5rem;
  letter-spacing: -.005em;
}
.event p {
  font-size: .89rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 300;
}

/* ---------- CAREERS / ROLES ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1.4rem;
}
.role {
  background: var(--bg);
  padding: 1.4rem 1.3rem;
  display: flex; flex-direction: column; gap: .4rem;
  transition: background .25s var(--easing);
}
.role:hover { background: var(--bg-soft); }
.role-money {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--copper);
}
.role h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: -.005em;
}
.role-stack {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--ink-muted);
  text-transform: uppercase;
  line-height: 1.7;
}

/* ---------- APPLY FORM ---------- */
.apply-form {
  margin-top: 1.4rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  padding: 1.8rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.field {
  display: flex; flex-direction: column; gap: .45rem;
}
.field label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--copper);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: .85rem 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  transition: border-color .2s var(--easing), background .2s var(--easing);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: #0d0d10;
}
.field textarea { resize: vertical; min-height: 6rem; font-family: var(--sans); font-size: .95rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--copper) 50%), linear-gradient(135deg, var(--copper) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }

.form-note {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-top: .4rem;
}

/* form success state */
.apply-form.is-sent > *:not(.form-success) { display: none; }
.form-success {
  display: none;
  padding: 1.4rem 1.6rem;
  background: var(--bg-deep);
  border-left: 2px solid var(--copper);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
}
.apply-form.is-sent .form-success { display: block; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); font-style: italic; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot {
  background: var(--bg-deep);
  padding: 4rem var(--pad-x) 2rem;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.foot-inner {
  max-width: 1700px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.foot-brand .brand-text { font-size: 1.4rem; }
.foot-brand p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  max-width: 36ch;
  line-height: 1.5;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.foot-col {
  display: flex; flex-direction: column; gap: .55rem;
}
.foot-h {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: .5rem;
}
.foot-col a {
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 300;
}
.foot-col a:hover { color: var(--copper); }

.foot-bottom {
  max-width: 1700px; margin: 0 auto;
  padding-top: 2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .15em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.scene .scene-inner > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--easing), transform .9s var(--easing);
}
.scene.is-in .scene-inner > * { opacity: 1; transform: translateY(0); }
.scene.is-in .scene-inner > *:nth-child(2) { transition-delay: .08s; }
.scene.is-in .scene-inner > *:nth-child(3) { transition-delay: .16s; }
.scene.is-in .scene-inner > *:nth-child(4) { transition-delay: .24s; }
.scene.is-in .scene-inner > *:nth-child(5) { transition-delay: .32s; }
.scene.is-in .scene-inner > *:nth-child(6) { transition-delay: .40s; }

/* ==========================================================================
   MOBILE — HAMBURGER BUTTON (hidden on desktop, enabled in mobile MQ)
   ========================================================================== */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink-faint);
  border-radius: 999px;
  align-items: center; justify-content: center;
  position: relative;
  cursor: pointer;
  transition: border-color .25s var(--easing), background .25s var(--easing);
  z-index: 110;
}
.nav-burger:hover { border-color: var(--copper); }
.burger-bar {
  position: absolute;
  left: 12px; right: 12px;
  height: 1px;
  background: var(--ink);
  transition: transform .35s var(--easing), opacity .25s var(--easing), background .25s var(--easing);
}
.burger-bar:nth-child(1) { top: 16px; }
.burger-bar:nth-child(2) { top: 21px; }
.burger-bar:nth-child(3) { top: 26px; }
body.is-menu-open .nav-burger { border-color: var(--copper); background: rgba(212,165,116,.06); }
body.is-menu-open .burger-bar { background: var(--copper); }
body.is-menu-open .burger-bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.is-menu-open .burger-bar:nth-child(2) { opacity: 0; }
body.is-menu-open .burger-bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   MOBILE — FULL-SCREEN MENU TAKEOVER
   ========================================================================== */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg-deep);
  z-index: 105;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 5rem var(--pad-x) 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--easing), visibility .45s var(--easing);
}
.mobile-menu::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 75% 25%, rgba(212,165,116,.07), transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(20,18,16,.5), transparent 60%);
  pointer-events: none;
}
body.is-menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mm-inner { position: relative; max-width: 600px; width: 100%; margin: 0 auto; }
.mm-list { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.mm-list a {
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: .65rem 0;
  border-bottom: 1px dashed var(--line-strong);
  transform: translateY(18px);
  opacity: 0;
  transition: transform .55s var(--easing), opacity .55s var(--easing), color .25s var(--easing);
}
body.is-menu-open .mm-list a { transform: translateY(0); opacity: 1; }
.mm-list li:nth-child(1) a { transition-delay: .08s; }
.mm-list li:nth-child(2) a { transition-delay: .14s; }
.mm-list li:nth-child(3) a { transition-delay: .20s; }
.mm-list li:nth-child(4) a { transition-delay: .26s; }
.mm-list li:nth-child(5) a { transition-delay: .32s; }
.mm-list li:nth-child(6) a { transition-delay: .38s; }
.mm-num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .25em;
  color: var(--copper);
  flex: 0 0 2rem;
}
.mm-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 9vw, 2.8rem);
  letter-spacing: -.02em;
  color: var(--ink);
}
.mm-list a:hover .mm-name,
.mm-list a:active .mm-name { color: var(--copper); }
.mm-foot {
  margin-top: 2.4rem;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0;
  transform: translateY(20px);
  transition: transform .65s var(--easing) .45s, opacity .65s var(--easing) .45s;
}
body.is-menu-open .mm-foot { opacity: 1; transform: translateY(0); }
.mm-foot a { color: var(--ink-soft); }
.mm-foot a:hover { color: var(--copper); }
.mm-foot-label { color: var(--copper); }
body.is-menu-open { overflow: hidden; }

/* ==========================================================================
   MOBILE — SECTION RAIL (floating tick indicator, right edge)
   ========================================================================== */
.rail {
  display: none;
  position: fixed;
  right: .9rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .22em;
  color: var(--ink-soft);
  padding: .55rem .4rem;
  background: rgba(10,10,12,.45);
  border: 1px solid rgba(28,28,32,.7);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  user-select: none;
}
.rail-num { color: var(--copper); font-weight: 500; }
.rail-sep { color: var(--ink-faint); margin: 0 .05rem; }
.rail-total { color: var(--ink-muted); }
.rail-ticks {
  list-style: none;
  margin-top: .3rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.rail-ticks li {
  width: 12px; height: 1px;
  background: var(--ink-faint);
  transition: background .35s var(--easing), width .35s var(--easing);
}
.rail-ticks li.is-active { background: var(--copper); width: 18px; }

/* ==========================================================================
   RESPONSIVE — MOBILE ARCHITECTURE (<= 980px)
   ========================================================================== */
@media (max-width: 980px) {
  /* nav: kill text links + apply CTA, surface hamburger */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-inner { gap: 1rem; }
  .nav { padding: .9rem 0; }

  /* studio collapses to single column; sticky stage is killed entirely */
  .studio { grid-template-columns: 1fr; }
  .stage { display: none; }
  .scroll-hint { display: none; }
  .rail { display: flex; }

  /* every scene now begins with a full-bleed scene-photo via ::before */
  .scene {
    min-height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .scene::before {
    content: "";
    display: block;
    position: static;       /* override desktop absolute hairline */
    left: auto; right: auto; top: auto;
    width: 100%;
    height: 62vh;
    min-height: 360px;
    background-image:
      linear-gradient(180deg, rgba(10,10,12,.25) 0%, transparent 22%, transparent 62%, rgba(10,10,12,.78) 92%, var(--bg) 100%),
      var(--scene-photo);
    background-size: cover, cover;
    background-position: center 18%, center 18%;
    background-repeat: no-repeat, no-repeat;
    background-color: var(--bg-deep);
    flex-shrink: 0;
  }
  /* the desktop rule hides the first scene's hairline; force the hero photo back on mobile */
  .scene:first-of-type::before { display: block; }

  /* the hero photo gets a taller, more cinematic crop */
  #hero::before {
    height: 78vh;
    background-position: center 14%, center 14%;
  }

  /* content below the photo */
  .scene-inner {
    width: 100%;
    max-width: 100%;
    padding: 2.4rem var(--pad-x) 3.6rem;
    margin: 0;
    position: relative;
    z-index: 2;
  }
  .kicker { margin-bottom: 1.4rem; }

  /* type scale on mobile */
  .display    { font-size: clamp(2.4rem, 9.5vw, 4rem); line-height: 1.02; margin-bottom: 1.6rem; }
  .display-2  { font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.04; margin-bottom: 1.4rem; }
  .lede       { font-size: 1rem; line-height: 1.6; margin-bottom: 1.8rem; }

  /* full-width CTAs stack vertically */
  .hero-ctas { flex-direction: column; align-items: stretch; gap: .7rem; margin-bottom: 2.4rem; }
  .hero-ctas .btn { justify-content: center; }
  .btn-big { width: 100%; justify-content: center; }

  /* one-column data grids; flagship event back to single column */
  .domains, .events-grid, .roles { grid-template-columns: 1fr; }
  .event.is-flagship { grid-column: span 1; }
  .hero-spec { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* curriculum levels */
  .level { padding: 1.4rem 1.2rem; }
  .level header { flex-wrap: wrap; gap: .4rem 1rem; }
  .level h3 { font-size: 1.55rem; }
  .level-spec { margin-left: 0; flex-basis: 100%; }

  /* apply form softens borders */
  .apply-form { padding: 1.4rem 1.2rem; }

  /* footer */
  .foot { padding: 3rem var(--pad-x) 1.6rem; }
  .foot-inner { grid-template-columns: 1fr; gap: 2rem; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ==========================================================================
   RESPONSIVE — SMALL PHONES (<= 600px)
   ========================================================================== */
@media (max-width: 600px) {
  :root { --pad-x: 1.25rem; --pad-y: 3rem; }

  .nav-inner { padding: 0 1rem; }
  .brand-text { font-size: 1.05rem; }

  #hero::before  { height: 88vh; }
  .scene::before { height: 56vh; min-height: 320px; }

  .display    { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .display-2  { font-size: clamp(1.75rem, 8.8vw, 2.6rem); }
  .lede       { font-size: .98rem; }

  .hero-spec  { grid-template-columns: 1fr; }
  .foot-cols  { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }

  /* the rail sits a bit closer to the edge on small screens */
  .rail { right: .55rem; padding: .45rem .35rem; }
}

/* ==========================================================================
   PREFERS REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .look img { animation: none; }
  html { scroll-behavior: auto; }
}
