/* =============================================================================
   STAR QUALITY CREATIVE ARTS COLLEGE
   "Reel" — production-company aesthetic, talent-agency feel.
   Dark canvas · brand gold (#E1B450) · editorial variable serif.
   ============================================================================= */


/* ---------- TOKENS ---------- */
:root {
  --ink:           #0A0908;
  --ink-up:        #14110D;
  --smoke:         #1F1B16;
  --bone:          #EDE6D6;
  --bone-deep:     #C9BFA8;
  --bone-muted:    #8A7F6B;
  --bone-low:      #4D4538;
  --gold:          #E1B450;
  --gold-deep:     #BF9900;
  --gold-soft:     #F0CD7C;
  --gold-glow:     rgba(225, 180, 80, 0.10);
  --line:          rgba(237, 230, 214, 0.10);
  --line-strong:   rgba(237, 230, 214, 0.18);

  --font-display:  'Fraunces', 'Bodoni Moda', 'Iowan Old Style', Georgia, serif;
  --font-body:     'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

  --fs-cinema:     clamp(3.5rem, 1.5rem + 9vw, 12rem);
  --fs-display:    clamp(2.75rem, 1.8rem + 4.2vw, 6.5rem);
  --fs-section:    clamp(2rem, 1.4rem + 2.6vw, 4rem);
  --fs-h3:         clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
  --fs-h4:         clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  --fs-body:       clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lede:       clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  --fs-small:      0.875rem;
  --fs-micro:      0.72rem;

  --pad-x:         clamp(1.25rem, 4.5vw, 4.5rem);
  --max-frame:     1480px;
  --pad-sec:       clamp(4rem, 8vw, 8rem);

  --ease:          cubic-bezier(0.2, 0, 0, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:        180ms;
  --t-mid:         320ms;
  --t-slow:        520ms;
  --t-marquee:     55s;
}


/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--ink);
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-feature-settings: 'ss01';
  overflow-x: hidden;
}

img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ol, ul { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--ink); }


/* ---------- UTILITIES ---------- */
.frame {
  width: 100%;
  max-width: var(--max-frame);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -200%);
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-small);
  text-decoration: none;
  z-index: 9999;
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); outline: none; }

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ---------- LINK DECORATIONS ---------- */
.link-deco {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}
.link-deco:hover { color: var(--bone); gap: 0.85em; }
.link-deco__arrow { display: inline-block; transition: transform var(--t-fast) var(--ease); }
.link-deco:hover .link-deco__arrow { transform: translateX(3px); }


/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0 1.85rem;
  height: 3.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--bone-low);
}
.btn--ghost:hover {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}

.btn--lg { height: 4rem; padding: 0 2.5rem; font-size: 0.85rem; }

/* Ghost variant override for light/paper backgrounds — flips bone→ink */
.btn--ghost.btn--on-light {
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost.btn--on-light:hover {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.btn__play {
  display: inline-grid;
  place-items: center;
  width: 1.75em; height: 1.75em;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.85em;
  line-height: 1;
  padding-left: 0.18em;       /* optical centring of the ▶ glyph */
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover .btn__play { transform: scale(1.08); }
.btn--gold:hover .btn__play { background: var(--ink); color: var(--gold); }
.btn__arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }


/* ---------- WORDMARK ---------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--bone);
  transition: color var(--t-fast) var(--ease);
}
.wordmark:hover { color: var(--gold); }
.wordmark__star {
  width: 34px; height: 34px;
  color: var(--gold);
  flex: 0 0 34px;
}
.wordmark__star svg { width: 100%; height: 100%; fill: currentColor; }
.wordmark__name {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.25rem;
}
.wordmark__primary {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 14, 'wght' 500, 'SOFT' 30;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.wordmark__sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-muted);
}


/* ---------- MASTHEAD ---------- */
.masthead {
  background-color: rgba(10, 9, 8, 0.86);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(10px);
}
.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}
.masthead.is-scrolled { border-bottom-color: var(--line-strong); }


/* ---------- NAV ----------
   All items are text-style. Apply CTA is gold with persistent underline and
   animated arrow — same baseline as other items, no filled background. */
.nav { display: flex; align-items: center; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav__menu a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  position: relative;
  padding: 4px 0;
  transition: color var(--t-fast) var(--ease);
}
.nav__num {
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t-fast) var(--ease);
}
.nav__menu a:hover,
.nav__menu a[aria-current="page"] { color: var(--bone); }
.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after { width: 100%; }

.nav__cta {
  color: var(--gold) !important;
  gap: 0.6em;
}
.nav__cta::after { width: 100% !important; }
.nav__cta:hover { color: var(--gold-soft) !important; }
.nav__cta-arrow {
  display: inline-block;
  font-size: 0.9em;
  transition: transform var(--t-fast) var(--ease);
}
.nav__cta:hover .nav__cta-arrow { transform: translateX(4px); }


/* ---------- NAV TOGGLE (mobile) ---------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--bone-low);
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle__bar {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--gold);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ---------- HERO — TITLE CARD ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  min-height: clamp(640px, 92vh, 1080px);
  overflow: hidden;
  isolation: isolate;
}

.hero__backdrop { position: absolute; inset: 0; z-index: 0; }
.hero__backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.82) contrast(1.1) brightness(0.5);
}
.hero__backdrop-grade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(225, 180, 80, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(225, 180, 80, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.5) 0%, rgba(10, 9, 8, 0.2) 30%, rgba(10, 9, 8, 0.6) 75%, rgba(10, 9, 8, 0.98) 100%);
}

.hero__inner {
  position: relative;
  z-index: 4;
  min-height: inherit;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem);
  gap: clamp(2rem, 4vw, 4rem);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-deep);
}
.hero__slate { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0; }
.hero__slate-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.78); }
}
.hero__runtime { margin: 0; color: var(--bone-muted); font-variant-numeric: tabular-nums; }

.hero__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 500, 'SOFT' 0;
  font-size: var(--fs-cinema);
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--bone);
  align-self: center;
  display: flex;
  flex-direction: column;
  max-width: 18ch;
}
.hero__line { display: block; overflow: hidden; }
.hero__title em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  color: var(--gold);
  padding-inline: 0.04em;
}

.hero__line {
  opacity: 0;
  transform: translateY(50%);
  animation: title-rise 1.1s var(--ease-out) forwards;
}
.hero__line:nth-child(1) { animation-delay: 0.15s; }
.hero__line:nth-child(2) { animation-delay: 0.32s; }
.hero__line:nth-child(3) { animation-delay: 0.5s; }
@keyframes title-rise { to { opacity: 1; transform: translateY(0); } }

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(1.5rem, 3vw, 3rem);
  opacity: 0;
  animation: fade-in 0.9s var(--ease-out) 0.85s forwards;
}
@keyframes fade-in { to { opacity: 1; } }

.hero__credits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem 2rem;
  max-width: 36rem;
  margin: 0;
}
.hero__credits > div {
  border-top: 1px solid var(--line-strong);
  padding-top: 0.6rem;
}
.hero__credits dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-muted);
  margin: 0 0 0.3rem;
}
.hero__credits dd {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'wght' 400, 'SOFT' 50;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--bone);
  margin: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}


/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 8rem;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee__rail {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--t-marquee) linear infinite;
}
.marquee:hover .marquee__rail { animation-play-state: paused; }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  padding-inline: 1.4rem;
  padding-block: 1.05rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'wght' 400, 'SOFT' 60;
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.4rem);
  color: var(--bone);
  white-space: nowrap;
}
.marquee__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
}
.marquee__role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.18em 0.5em;
  border: 1px solid currentColor;
  transform: translateY(-0.18em);
}
.marquee__at {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.7em;
  color: var(--bone-muted);
}
.marquee__sep { color: var(--gold); font-size: 1.1rem; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ---------- SECTION HEAD ---------- */
.sec-head {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 56rem;
}
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  max-width: none;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.sec-head__counter {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-muted);
  margin: 0 0 1.25rem;
}
.sec-head__counter--gold { color: var(--gold); }
.sec-head--center .sec-head__counter { justify-self: center; }

.sec-head__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 0;
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.sec-head__title em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'wght' 400, 'SOFT' 100;
  color: var(--gold-deep);
}
.sec-head__title--on-dark { color: var(--bone); }
.sec-head__title--on-dark em { color: var(--gold); }
.sec-head__title--med { font-size: var(--fs-section); }

.sec-head__lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--bone-low);
  max-width: 40ch;
  margin: 0;
}
.sec-head__lede--on-dark { color: var(--bone-deep); }
.sec-head--center .sec-head__lede { margin-inline: auto; }


/* ---------- ROSTER — split layout: sticky head left, scroll-snap rail right ---------- */
.roster {
  background: var(--bone);
  color: var(--ink);
  padding-block: var(--pad-sec);
  overflow: hidden;                       /* clip the rail's negative margin / overflow */
}
.roster .sec-head__title { color: var(--ink); }
.roster .sec-head__lede { color: var(--bone-low); }

.roster__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.roster__head {
  position: sticky;
  top: 5rem;                              /* clear the sticky masthead */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* Scaled down vs the global --fs-display so the left column matches the rail
   height roughly 1:1 in the 2-column layout. */
.roster__head .sec-head__title {
  font-size: clamp(2.75rem, 1.8rem + 3.4vw, 5.25rem);
  line-height: 0.98;
  margin: 0 0 0.5rem;
}
.roster__head .sec-head__lede { max-width: 30ch; }

.roster__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-low);
  margin: 0;
}
.roster__hint-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-deep);
  animation: pulse 2s ease-in-out infinite;
}

.roster__more { margin: 0; }
.roster__more .link-deco { color: var(--ink); }
.roster__more .link-deco:hover { color: var(--gold-deep); }

/* The rail — bleeds past the right edge for a "scrolls off-screen" feel.
   Two duplicated tracks side-by-side; animation translates by -50% for a
   seamless infinite loop. Pauses on hover/focus. */
.roster__rail-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin-right: calc(var(--pad-x) * -1);
}
.roster__rail-wrap::before,
.roster__rail-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(2rem, 5vw, 5rem);
  pointer-events: none;
  z-index: 2;
}
.roster__rail-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bone), transparent);
}
.roster__rail-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bone), transparent);
}

.roster__rail {
  display: flex;
  width: max-content;
  animation: roster-slide 60s linear infinite;
  padding-block: 0.5rem 1rem;
}
.roster__rail-wrap:hover .roster__rail,
.roster__rail-wrap:focus-within .roster__rail {
  animation-play-state: paused;
}

.roster__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-right: clamp(1rem, 2vw, 1.5rem);   /* gap-equivalent so the seam between tracks matches inter-card spacing */
  flex-shrink: 0;
  margin: 0;
}

.roster-card {
  flex: 0 0 clamp(220px, 28vw, 320px);
}

@keyframes roster-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.roster-card__link {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.roster-card__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-up);
  margin: 0 0 1rem;
  border-radius: 6px;
}
.roster-card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter var(--t-mid) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.roster-card:hover .roster-card__frame img {
  filter: grayscale(0) contrast(1.05) saturate(0.95);
  transform: scale(1.04);
}

.roster-card__placement {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  margin: 0;
  transform: translateY(110%);
  transition: transform var(--t-mid) var(--ease-out);
}
.roster-card__placement strong { font-weight: 700; }
.roster-card:hover .roster-card__placement { transform: translateY(0); }

.roster-card__no {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin: 0 0 0.45rem;
}
.roster-card__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'wght' 500, 'SOFT' 25;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.35rem;
  transition: color var(--t-fast) var(--ease);
}
.roster-card:hover .roster-card__name { color: var(--gold-deep); }
.roster-card__role {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--bone-low);
  margin: 0;
}


/* ---------- CURRICULUM ---------- */
.curriculum {
  background: var(--ink);
  color: var(--bone);
  padding-block: var(--pad-sec);
}

.discipline { margin-bottom: clamp(3rem, 5vw, 5rem); }
.discipline:last-child { margin-bottom: 0; }

.discipline__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding-bottom: 1.1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold);
}
.discipline__rom {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.discipline__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'wght' 500, 'SOFT' 0;
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--bone);
  margin: 0;
}
.discipline__count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-muted);
  font-style: italic;
}

.course-list { margin: 0; }
.course-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: baseline;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.course-row::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px; height: 60%;
  background: var(--gold);
  transition: transform var(--t-mid) var(--ease-out);
}
.course-row:hover::before { transform: translateY(-50%) scaleY(1); }
.course-row:hover { background: var(--ink-up); padding-inline: 1rem; }

.course-row__code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0;
  align-self: start;
  padding-top: 0.35rem;
}
.course-row__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'wght' 500, 'SOFT' 20;
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--bone);
}
.course-row__name a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 92%;
  transition: background-size var(--t-mid) var(--ease-out), color var(--t-fast) var(--ease);
}
.course-row__name a:hover { background-size: 100% 1px; color: var(--gold); }
.course-row__meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-muted);
  margin: 0.5rem 0 0;
  grid-column: 2;
}
.course-row__copy {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--bone-deep);
  margin: 0;
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
}


/* ---------- DIRECTORS ---------- */
.directors {
  background: var(--bone);
  color: var(--ink);
  padding-block: var(--pad-sec);
}
/* New 3-cell grid: visual spans both rows; intro top-right, body bottom-right.
   Stacks to a single column (intro → visual → body) at ≤1024px. */
.directors__layout {
  display: grid;
  grid-template-columns: 6fr 5fr;
  grid-template-areas:
    "visual intro"
    "visual body";
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.directors__visual { grid-area: visual; align-self: stretch; }
.directors__intro  { grid-area: intro; }
.directors__body   { grid-area: body; }

.directors__visual { position: relative; margin: 0; }
.directors__frame {
  position: relative;
  aspect-ratio: 5 / 6;                /* match the source image's native ratio */
  overflow: hidden;
  background: var(--bone);             /* matches section bg so letterboxing is invisible */
}
.directors__frame::before {
  content: '';
  position: absolute;
  inset: -1rem;
  background:
    linear-gradient(var(--ink), var(--ink)) top    left  / 16px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top    left  / 1px 16px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top    right / 16px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top    right / 1px 16px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left  / 16px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left  / 1px 16px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right / 16px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right / 1px 16px no-repeat;
  pointer-events: none;
  z-index: 1;
}
.directors__frame img {
  width: 100%; height: 100%;
  object-fit: cover;                   /* fill the frame — no negative gap below */
  object-position: center;
  filter: grayscale(0.92) contrast(1.08);
}

.directors__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: baseline;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--bone-low);
  margin: 0.75rem 0 0;
}
.directors__caption-fig {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.directors__body { min-width: 0; }
.directors__credit {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}
.directors__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 500, 'SOFT' 0;
  /* Matches .roster__head .sec-head__title */
  font-size: clamp(2.75rem, 1.8rem + 3.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.directors__title em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  color: var(--gold-deep);
}
.directors__amp {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 300, 'SOFT' 100;
  font-style: italic;
  color: var(--gold);
  font-size: 0.85em;
  padding-inline: 0.05em;
}

.directors__pull {
  position: relative;
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'wght' 400, 'SOFT' 40;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 1.75rem;
}
.directors__pull-mark {
  position: absolute;
  left: -0.5rem;
  top: -1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
}
.directors__pull p { margin: 0; }
.directors__pull cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-low);
  margin-top: 1rem;
}

.directors__lede {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--bone-low);
  margin: 0 0 1.5rem;
  max-width: 50ch;
}
.directors__cta { margin: 0; }
.directors__cta .link-deco { color: var(--ink); }
.directors__cta .link-deco:hover { color: var(--gold-deep); }


/* ---------- PRESENTED (accreditation) ---------- */
.presented {
  background: var(--ink-up);
  color: var(--bone);
  padding-block: var(--pad-sec);
}
.presented .sec-head__title { color: var(--bone); }
.presented .sec-head__title em { color: var(--gold); }
.presented .sec-head__lede { color: var(--bone-deep); }

.seals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 60rem;
  margin: 0 auto;
}

.seal {
  background: var(--ink);
  border: 1px solid var(--line-strong);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  position: relative;
  transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.seal::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.seal::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 24px; height: 24px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.seal:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.seal__rosette {
  margin: 0 auto 1.25rem;
  width: 76px; height: 76px;
  color: var(--gold);
}
.seal__rosette svg { width: 100%; height: 100%; }

.seal__sigil {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
.seal__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'wght' 500, 'SOFT' 0;
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.7rem;
  color: var(--bone);
}
.seal__no {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--bone-deep);
  margin: 0 0 0.8rem;
}
.seal__no strong { color: var(--gold); font-weight: 500; }
.seal__sector {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--bone-muted);
  margin: 0 0 1rem;
}
.seal__copy {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--bone-deep);
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}


/* ---------- CLOSING — APPLY ---------- */
.closing {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  padding-block: clamp(5rem, 11vw, 9rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(225, 180, 80, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 110%, rgba(225, 180, 80, 0.32) 0%, transparent 65%);
  z-index: 1;
}

.closing__inner {
  position: relative;
  z-index: 4;
  max-width: 64rem;
  margin: 0 auto;
}

.closing__cue {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 auto 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.closing__cue-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.closing__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 500, 'SOFT' 0;
  font-size: clamp(2.25rem, 1rem + 5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bone);
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.25em;
}
.closing__title em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
  color: var(--gold);
}
.closing__l2 { color: var(--bone-deep); }

.closing__lede {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'wght' 400, 'SOFT' 60;
  font-style: italic;
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--bone-deep);
  max-width: 38ch;
  margin: 0 auto 2.5rem;
}

.closing__actions { margin: 0 0 2rem; }

.closing__contact {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--bone-muted);
  margin: 0;
}
.closing__contact a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--bone-low);
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.closing__contact a:hover { color: var(--gold); border-bottom-color: var(--gold); }


/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding-block: clamp(3rem, 5vw, 5rem) 2rem;
  border-top: 1px solid var(--line-strong);
}

.footer__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.wordmark--footer .wordmark__star { width: 40px; height: 40px; flex: 0 0 40px; }
.wordmark--footer .wordmark__primary { font-size: 1.65rem; }
.footer__tagline {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'wght' 400, 'SOFT' 30;
  font-size: clamp(1rem, 0.85rem + 0.4vw, 1.35rem);
  line-height: 1.2;
  color: var(--bone-deep);
  margin: 0;
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}
.footer__tagline em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: 'opsz' 72, 'wght' 400, 'SOFT' 100;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-muted);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.55em;
}
.footer__heading span { color: var(--gold); font-size: 0.65rem; }
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__col a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--bone);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover { color: var(--gold); }

.footer__address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--bone-deep);
  margin: 0 0 1.2rem;
}
.footer__col ul.footer__social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.footer__social a {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--bone-low);
  border-radius: 50%;
  color: var(--bone-deep);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
}
.footer__social a svg {
  width: 16px; height: 16px;
  display: block;
}
.footer__social a:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.footer__social a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.footer__rule {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--bone-muted);
  margin: 0;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--bone-muted);
}
.footer__legal a {
  color: var(--bone-deep);
  text-decoration: none;
  border-bottom: 1px dotted var(--bone-low);
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease);
}
.footer__legal a:hover { color: var(--gold); }

.footer__endmark {
  text-align: center;
  margin: 2.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--bone-low);
}


/* ---------- FLOATING ACTIONS (WhatsApp + back-to-top) ---------- */
.floats {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 90;                              /* below mobile nav drawer (105) */
  align-items: flex-end;
  pointer-events: none;                     /* let clicks pass through the gap */
}
.floats > * { pointer-events: auto; }

.float {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              opacity var(--t-fast) var(--ease);
  font: inherit;
}
.float:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.float:hover { transform: translateY(-2px); }
.float:active { transform: translateY(0); }
.float__icon { display: inline-grid; place-items: center; line-height: 0; }
.float__icon svg { width: 22px; height: 22px; }

/* WhatsApp — classic green so users recognise it instantly */
.float--whatsapp {
  background: #25D366;
  color: #FFFFFF;
}
.float--whatsapp::before {
  /* subtle pulse halo to draw attention without being annoying */
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.55;
  animation: float-pulse 2.4s var(--ease-out) infinite;
  pointer-events: none;
}
.float--whatsapp:hover { background: #1FB857; }
.float--whatsapp .float__icon svg { width: 26px; height: 26px; }

@keyframes float-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Back-to-top — brand styled, fades in only after the user has scrolled */
.float--top {
  background: var(--ink);
  color: var(--gold);
  border-color: var(--gold);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  visibility: hidden;
}
.float--top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.float--top:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Tooltip pill — slides in from the right on hover/focus */
.float__tooltip {
  position: absolute;
  right: calc(100% + 0.7rem);
  top: 50%;
  transform: translate(8px, -50%);
  white-space: nowrap;
  background: var(--ink);
  color: var(--gold);
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--gold-glow);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.float:hover .float__tooltip,
.float:focus-visible .float__tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (prefers-reduced-motion: reduce) {
  .float--whatsapp::before { animation: none; }
}


/* ---------- RESPONSIVE ----------
   Tier 1 (≤1200px): wide tablet — large display titles ease down.
   Tier 2 (≤1024px): tablet — roster splits, directors stacks, desktop nav tightens.
   Tier 3 (≤900px):  small tablet — mobile nav kicks in, sec-head split stacks.
   Tier 4 (≤640px):  mobile — single-column everywhere, hero compresses.
   Tier 5 (≤400px):  small mobile — wordmark sub hides, floats shrink. */


/* ---- Tier 1 · ≤1200px ---- */
@media (max-width: 1200px) {
  .nav__menu { gap: 1.5rem; }                          /* tighten the desktop nav gap */
}


/* ---- Tier 2 · ≤1024px ---- */
@media (max-width: 1024px) {
  .roster__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .roster__head { position: static; }
  .roster__rail-wrap { margin-right: calc(var(--pad-x) * -1); }

  .directors__layout {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "visual" "body";
    gap: 2rem;
  }
  .directors__visual { max-width: 32rem; }
  .directors__intro { margin-bottom: 0.5rem; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .footer__head { gap: 2rem; }
}


/* ---- Tier 3 · ≤900px (nav switches to mobile drawer) ---- */
@media (max-width: 900px) {
  .sec-head--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .course-row {
    grid-template-columns: 5rem 1fr;
    gap: 1rem 1.5rem;
  }
  .course-row__copy {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-top: 0.4rem;
  }
  .course-row__meta { grid-column: 1 / -1; }

  /* Mobile nav drawer */
  .nav-toggle { display: inline-flex; z-index: 110; }
  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    width: min(85vw, 360px);
    height: 100dvh;
    background: var(--ink-up);
    border-left: 1px solid var(--gold-glow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6rem var(--pad-x) var(--pad-x);
    transform: translateX(105%);
    transition: transform var(--t-slow) var(--ease);
    z-index: 105;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__menu li { width: 100%; }
  .nav__menu a {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
  }
  .nav__menu a::after { display: none; }
  .nav__cta {
    color: var(--gold) !important;
    border-bottom: 1px solid var(--gold) !important;
  }

  .hero__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 0; }

  .seals { grid-template-columns: 1fr; }

  .footer__head { grid-template-columns: 1fr; align-items: start; }
  .footer__tagline { justify-self: start; text-align: left; white-space: normal; }
}


/* ---- Tier 4 · ≤640px (mobile) ---- */
@media (max-width: 640px) {
  /* Tighten section vertical padding so phones don't scroll forever */
  :root {
    --pad-sec: clamp(3rem, 12vw, 4.5rem);
  }

  /* Hero compresses */
  .hero { min-height: clamp(560px, 80vh, 800px); }
  .hero__inner {
    padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }
  .hero__credits {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.25rem;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* All standalone CTAs go full width on phones */
  .btn { width: 100%; }
  .closing__actions, .directors__cta, .roster__more { display: block; }

  /* Marquee — slightly slower so phones don't feel rushed */
  .marquee__track { font-size: 1rem; gap: 1.8rem; }
  :root { --t-marquee: 45s; }

  /* Roster — single card visible, simpler interactions */
  .roster-card { flex-basis: min(80vw, 280px); }
  .roster-card__placement { transform: translateY(0); }   /* always visible on touch */

  /* Curriculum: course code on its own row above the name */
  .course-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-block: 1.25rem;
  }
  .course-row__code { padding-top: 0; }
  .course-row:hover { padding-inline: 0; }                /* disable hover-padding shift on touch */
  .course-row::before { display: none; }                  /* hide the take-marker on small screens */

  /* Directors — image takes full visual weight */
  .directors__visual { max-width: 100%; }

  /* Seals: tighten padding */
  .seal { padding: 1.5rem; }
  .seal__name { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Closing title */
  .closing__title { font-size: clamp(2rem, 11vw, 3.5rem); }
  .closing__lede { padding-inline: 0.5rem; }

  /* Footer rule wraps on mobile */
  .footer__rule { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer__legal { gap: 0.6rem 1rem; }

  /* Floats — slightly smaller on mobile */
  .floats {
    bottom: 0.9rem;
    right: 0.9rem;
    gap: 0.6rem;
  }
  .float { width: 2.85rem; height: 2.85rem; }
  .float__icon svg { width: 18px; height: 18px; }
  .float--whatsapp .float__icon svg { width: 22px; height: 22px; }
  .float__tooltip { display: none; }                      /* tooltips are noise on touch */
}


/* ---- Tier 5 · ≤400px (small mobile) ---- */
@media (max-width: 400px) {
  /* Wordmark — drop the long sub line to save horizontal room */
  .wordmark__sub { display: none; }
  .wordmark__star { width: 28px; height: 28px; flex-basis: 28px; }
  .wordmark__primary { font-size: 1.15rem; }

  /* Hero credits collapse to one column */
  .hero__credits { grid-template-columns: 1fr; }

  /* Hero title eases down */
  .hero__title { font-size: clamp(2.5rem, 12vw, 4rem); }

  /* Roster card narrower */
  .roster-card { flex-basis: 78vw; }

  /* Seal rosette smaller */
  .seal__rosette { width: 60px; height: 60px; }
}


/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__line { opacity: 1; transform: none; }
  .hero__bottom { opacity: 1; }
  .marquee__rail { animation: none; }
  .roster__rail { animation: none; }
  .hero__slate-dot, .closing__cue-dot, .roster__hint-dot { animation: none; }
}


/* ---------- PRINT ---------- */
@media print {
  .masthead, .nav-toggle, .marquee, .grain, .skip-link { display: none; }
  body { background: white; color: black; }
  .hero, .curriculum, .closing, .footer, .presented { background: white; color: black; }
  .hero__backdrop, .hero__backdrop-grade { display: none; }
}
