/* ==========================================================================
   NAMD Nadavidyalaya — Academy of Music & Dance
   Design system: deep peacock ink, temple gold, vermilion, jade.
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { list-style: none; }

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* ---- PALETTE ------------------------------------------------------------
     Maroon & marigold. Every colour on the site derives from this block —
     change these values and the whole site follows. The *-rgb triplets exist
     so translucent layers can be expressed as rgba(var(--x-rgb), alpha).
     ---------------------------------------------------------------------- */

  /* Ink — deep oxblood maroon */
  --ink:        #4A0E20;   /* page base                      */
  --ink-deep:   #38091A;   /* deeper maroon: headers, scrims */
  --ink-1:      #400B1C;   /* mobile nav drawer              */
  --ink-2:      #5C1429;   /* panel / image placeholder      */
  --ink-3:      #6E1832;   /* raised surface                 */

  --ink-rgb:     74, 14, 32;
  --deep-rgb:    56, 9, 26;
  --surf-rgb:    92, 20, 41;
  --raise-rgb:  110, 24, 50;

  --ink-line:   rgba(var(--gold-rgb), .22);

  /* Accents */
  --gold:       #F5C451;   /* temple gold — rules, labels    */
  --gold-rgb:   245, 196, 81;
  --gold-soft:  #FBE0A6;
  --vermilion:  #FF8A29;   /* bright saffron — primary CTA   */
  --verm-rgb:   255, 138, 41;
  --jade:       #29D19A;   /* emerald — hover, fresh accent  */
  --jade-rgb:   41, 209, 154;

  /* Text */
  --cream:      #FFF3E4;
  --cream-rgb:  255, 243, 228;
  --cream-2:    #EBD3C6;
  --muted:      #C99AA4;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1240px;
  --section-y: clamp(4.5rem, 10vw, 9rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --- Base ----------------------------------------------------------------- */
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--cream);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.7;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  /* Ambient light — a warm stage glow that never fully leaves the page */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(90ch 60ch at 8% -10%, rgba(var(--verm-rgb), .13), transparent 60%),
    radial-gradient(80ch 55ch at 100% 8%, rgba(var(--gold-rgb), .11), transparent 62%),
    radial-gradient(70ch 50ch at 50% 105%, rgba(var(--jade-rgb), .07), transparent 65%);
}

/* No z-index here: it would trap the gallery lightbox below the fixed header. */
main { position: relative; }

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

:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 40;
  text-wrap: balance;
}

.h-display { font-size: clamp(2.75rem, 1.3rem + 6.4vw, 6rem); line-height: .98; letter-spacing: -.03em; }
.h1 { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.4rem); }
.h2 { font-size: clamp(1.95rem, 1.3rem + 2.6vw, 3.25rem); }
.h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); line-height: 1.15; }
.h4 { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.25; }

.italic { font-style: italic; font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 40; }
.gold  { color: var(--gold); }
.jade  { color: var(--jade); }
.verm  { color: var(--vermilion); }

.lede {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.35rem);
  line-height: 1.6;
  color: var(--cream-2);
  text-wrap: pretty;
}

p + p { margin-top: 1.1em; }
.prose p { color: var(--cream-2); text-wrap: pretty; }
.prose p + p { margin-top: 1.15em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  flex: none;
}
.eyebrow.center::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--gold));
  flex: none;
}

/* --- Layout --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 820px; }
.wrap-wide { max-width: 1480px; }

.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: clamp(3rem, 6vw, 5rem); }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
}

.stack-sm > * + * { margin-top: .6rem; }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2.25rem; }

/* Ornamental divider */
.rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--ink-line), transparent);
}
.rule .diamond {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
  opacity: .8;
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--vermilion);
  --btn-fg: #38091A;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .95rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
  box-shadow: 0 10px 30px -12px rgba(var(--verm-rgb), .55);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(var(--verm-rgb), .75); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: rgba(var(--cream-rgb), .3);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

.btn-gold { --btn-bg: var(--gold); --btn-fg: #38091A; box-shadow: 0 10px 30px -12px rgba(var(--gold-rgb), .5); }
.btn-gold:hover { box-shadow: 0 16px 38px -12px rgba(var(--gold-rgb), .7); }

.btn-sm { padding: .7rem 1.25rem; font-size: .74rem; }

/* WhatsApp: the emerald accent rather than the brand green, which fights the maroon */
.btn-whatsapp {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: rgba(var(--jade-rgb), .45);
  box-shadow: none;
}
.btn-whatsapp:hover {
  --btn-bg: var(--jade);
  --btn-fg: #06281D;
  border-color: var(--jade);
  box-shadow: 0 16px 38px -12px rgba(var(--jade-rgb), .5);
}
.btn-whatsapp .wa {
  width: 17px; height: 17px; flex: none;
  fill: var(--jade);
  transition: fill .3s ease;
}
.btn-whatsapp:hover .wa { fill: #06281D; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: .3rem;
  border-bottom: 1px solid rgba(var(--gold-rgb), .35);
  transition: color .3s ease, border-color .3s ease, gap .3s var(--ease);
}
.link-arrow:hover { color: var(--jade); border-color: var(--jade); gap: .9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s ease, backdrop-filter .4s ease, border-color .4s ease, padding .4s var(--ease);
  border-bottom: 1px solid transparent;
  padding-block: 1.1rem;
}
.site-header.scrolled {
  background: rgba(var(--deep-rgb), .9);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--ink-line);
  padding-block: .7rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Wordmark */
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  flex: none;
}
.brand-mark { width: 46px; height: 46px; flex: none; transition: transform .4s ease; }
.brand:hover .brand-mark { transform: scale(1.05); }
.site-footer .brand-mark { width: 58px; height: 58px; }
@media (max-width: 420px) { .brand-mark { width: 40px; height: 40px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-size: 1.32rem;
  letter-spacing: .01em;
  font-variation-settings: "opsz" 40, "WONK" 1;
  color: var(--cream);
}
.brand-name sup { font-size: .5em; vertical-align: super; color: var(--gold); }
.brand-sub {
  font-size: .555rem;
  letter-spacing: .29em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .38rem;
  font-weight: 500;
}

/* Nav */
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-decoration: none;
  color: var(--cream-2);
  position: relative;
  padding-block: .35rem;
  transition: color .3s ease;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { flex: none; }
.nav-mob-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid rgba(var(--cream-rgb), .25);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  flex: none;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.5px;
  background: var(--cream);
  transform: translateX(-50%);
  transition: all .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 24px; width: 12px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; width: 18px; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--ink-1);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .35rem;
    padding: 6rem var(--gutter) 3rem;
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path .7s var(--ease);
    overflow-y: auto;
  }
  .nav.open { clip-path: circle(150% at calc(100% - 44px) 44px); }
  .nav a {
    font-family: var(--display);
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    letter-spacing: -.02em;
    color: var(--cream);
    padding-block: .3rem;
    opacity: 0;
    transform: translateY(18px);
  }
  .nav.open a { animation: navIn .55s var(--ease) forwards; }
  .nav.open a:nth-child(1) { animation-delay: .12s; }
  .nav.open a:nth-child(2) { animation-delay: .18s; }
  .nav.open a:nth-child(3) { animation-delay: .24s; }
  .nav.open a:nth-child(4) { animation-delay: .30s; }
  .nav.open a:nth-child(5) { animation-delay: .36s; }
  .nav.open a:nth-child(6) { animation-delay: .42s; }
  .nav.open a:nth-child(7) { animation-delay: .48s; }
  .nav a::after { display: none; }
  .nav .nav-mob-cta { display: inline-flex; margin-top: 1.75rem; opacity: 0; }
  .nav.open .nav-mob-cta { animation: navIn .55s var(--ease) .54s forwards; }
}
@keyframes navIn { to { opacity: 1; transform: translateY(0); } }

body.nav-locked { overflow: hidden; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(7rem, 14vh, 10rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-figure { order: -1; max-width: 360px; margin-inline: auto; }
  /* Tuck the second arch inside the frame — a negative offset would run off
     the edge of a phone screen. */
  .hero-arch-inset { left: 2%; bottom: -6%; width: 42%; }
}

/* The hero headline shares a column with the paired arches, so it runs a size
   below the page-head displays on interior pages — otherwise "of dance &
   music," wraps and pushes the stats below the fold. */
.hero .h-display { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 5.25rem); }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: riseIn 1.1s var(--ease) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: .15s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .27s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .39s; }
@keyframes riseIn { to { transform: translateY(0); } }

.hero-fade { opacity: 0; animation: fadeUp 1s var(--ease) .7s forwards; }
.hero-fade-2 { opacity: 0; animation: fadeUp 1s var(--ease) .85s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Arch frame — the signature shape, drawn from temple gopura */
.arch {
  position: relative;
  border-radius: 50% 50% 6px 6px / 40% 40% 6px 6px;
  overflow: hidden;
  background: var(--ink-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
/* Most of these portraits were shot against black. A maroon vignette settles
   them into the page instead of leaving a black rectangle floating on it. */
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(118% 88% at 50% 38%, transparent 38%, rgba(var(--ink-rgb), .68) 100%);
}
.arch-framed { position: relative; }
.arch-framed::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--ink-line);
  border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px;
  pointer-events: none;
}
.arch-framed::after {
  content: "";
  position: absolute;
  inset: -26px;
  border: 1px solid rgba(var(--gold-rgb), .1);
  border-radius: 50% 50% 10px 10px / 40% 40% 10px 10px;
  pointer-events: none;
}

/* Paired hero: dance and music, one arch each. The smaller arch is offset
   rather than sitting symmetrically — a locket, not a pair of bookends. */
.hero-figure { position: relative; }
.hero-arch-main { aspect-ratio: 3 / 3.7; }
.hero-arch-main::after {
  background:
    linear-gradient(180deg, transparent 55%, rgba(var(--deep-rgb), .55)),
    radial-gradient(118% 88% at 50% 36%, transparent 40%, rgba(var(--ink-rgb), .72) 100%);
}
.hero-arch-inset {
  position: absolute;
  left: -13%;
  bottom: -4%;
  width: 45%;
  aspect-ratio: 3 / 3.9;
  box-shadow:
    0 0 0 7px var(--ink),
    0 26px 60px -22px rgba(0, 0, 0, .7);
}
.hero-arch-inset::after {
  background: radial-gradient(120% 90% at 50% 34%, transparent 34%, rgba(var(--ink-rgb), .6) 100%);
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--ink-line);
}
.stat .n {
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1;
  color: var(--gold);
  font-variation-settings: "opsz" 40, "WONK" 1;
}
.stat .l {
  max-width: 21ch;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .5rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.3s forwards;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.55); opacity: .4; } }
@media (max-width: 940px) { .scroll-cue { display: none; } }

/* --- Marquee -------------------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--ink-line);
  background: rgba(var(--surf-rgb), .5);
  overflow: hidden;
  padding-block: 1.15rem;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display);
  font-size: clamp(1rem, .9rem + .5vw, 1.35rem);
  font-style: italic;
  color: var(--cream-2);
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--vermilion);
  transform: rotate(45deg);
  flex: none;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* --- Cards ---------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.35rem);
  background: linear-gradient(160deg, rgba(var(--raise-rgb), .55), rgba(var(--deep-rgb), .5));
  border: 1px solid var(--ink-line);
  border-radius: 4px 4px 4px 26px;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s ease, background .4s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--vermilion));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: rgba(var(--gold-rgb), .45); }
.card:hover::before { transform: scaleX(1); }
.card .num {
  font-family: var(--display);
  font-size: .95rem;
  color: var(--gold);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 1.1rem;
  opacity: .75;
}
.card h3 { margin-bottom: .75rem; }
.card p { color: var(--cream-2); font-size: .96rem; }
.card ul.ticks { margin-top: 1.2rem; }
.card ul.ticks li {
  font-size: .89rem;
  color: var(--muted);
  padding-left: 1.15rem;
  position: relative;
  margin-top: .45rem;
}
.card ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  background: var(--jade);
  transform: rotate(45deg);
}

/* Card variant with a photograph across the top */
.card-photo { padding: 0; display: flex; flex-direction: column; }
.card-photo::before { z-index: 2; }
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-2);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.95);
  transition: transform 1s var(--ease), filter .5s ease;
}
.card-photo:hover .card-media img { transform: scale(1.05); filter: saturate(1.1); }
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(var(--deep-rgb), .55));
}
.card-body {
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body .num { margin-bottom: .85rem; }

/* Plain photograph — keeps its natural aspect ratio, no arch */
.photo {
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-2);
}
.photo img { width: 100%; height: auto; }

/* Two photographs stacked in one column */
.media-stack { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }

/* --- Split feature -------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.split.narrow-img { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 880px) {
  .split, .split.narrow-img { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.flip > *:first-child { order: 2; }
}

.figure-caption {
  margin-top: 1.1rem;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Works rail (horizontal scroll) --------------------------------------- */
.rail {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto;
  padding-inline: var(--gutter);
  padding-bottom: 1.75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-3) transparent;
}
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-track { background: rgba(var(--cream-rgb), .08); }
.rail::-webkit-scrollbar-thumb { background: var(--gold); }

.work {
  flex: 0 0 clamp(240px, 30vw, 340px);
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
}
.work-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: var(--ink-2);
}
.work-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s ease;
  filter: saturate(.92);
}
.work:hover .work-img img { transform: scale(1.06); filter: saturate(1.1); }
.work-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(var(--deep-rgb), .88));
}
.work-meta {
  position: absolute;
  left: 1.25rem; right: 1.25rem; bottom: 1.15rem;
  z-index: 2;
}
.work-meta .t {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--cream);
  font-variation-settings: "opsz" 40, "WONK" 1;
}
.work-meta .s {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .5rem;
}

.rail-hint {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* --- Panel (dark inset band) ---------------------------------------------- */
.panel {
  background:
    linear-gradient(160deg, rgba(var(--raise-rgb), .5), rgba(var(--deep-rgb), .72));
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 55ch; height: 55ch;
  background: radial-gradient(circle, rgba(var(--gold-rgb), .13), transparent 65%);
  pointer-events: none;
}

/* Tier list (festival) */
.tier {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--ink-line);
  align-items: start;
}
.tier:last-child { border-bottom: 1px solid var(--ink-line); }
.tier .tier-name {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem);
  color: var(--gold);
  min-width: clamp(9rem, 18vw, 15rem);
  font-variation-settings: "opsz" 40, "WONK" 1;
}
.tier p { color: var(--cream-2); font-size: .96rem; }
@media (max-width: 700px) { .tier { grid-template-columns: 1fr; gap: .5rem; } }

/* --- Timeline ------------------------------------------------------------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 4px; top: .6rem; bottom: .6rem;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(var(--gold-rgb), .14));
}
.tl-item { position: relative; padding-bottom: 2.25rem; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -2rem; top: .55rem;
  width: 9px; height: 9px;
  background: var(--ink);
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  margin-left: 0px;
}
.tl-item .yr {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: .4rem;
}
.tl-item p { color: var(--cream-2); font-size: .95rem; margin-top: .35rem; }

/* --- Guru profile --------------------------------------------------------- */
.guru { padding-block: clamp(3rem, 7vw, 6rem); }
.guru + .guru { border-top: 1px solid var(--ink-line); }
.guru-portrait { position: relative; }
.guru-portrait .arch { aspect-ratio: 3 / 4; }
.guru-name-tag {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}

.creds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  margin-top: 2rem;
}
.creds div {
  background: var(--ink);
  padding: 1.1rem 1.25rem;
}
.creds .k {
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.creds .v { font-size: .92rem; color: var(--cream); line-height: 1.35; }

/* Honours */
.honours {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.5rem;
}
.honours li {
  font-size: .78rem;
  padding: .5rem 1rem;
  border: 1px solid var(--ink-line);
  border-radius: 100px;
  color: var(--cream-2);
  background: rgba(var(--raise-rgb), .42);
  transition: border-color .3s ease, color .3s ease;
}
.honours li:hover { border-color: var(--gold); color: var(--gold); }

/* Numbered work list */
.worklist { counter-reset: w; margin-top: 1.5rem; }
.worklist li {
  counter-increment: w;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: .5rem;
  padding-block: .85rem;
  border-bottom: 1px solid rgba(var(--gold-rgb), .14);
  align-items: baseline;
}
.worklist li::before {
  content: counter(w, decimal-leading-zero);
  font-family: var(--display);
  font-size: .82rem;
  color: var(--gold);
  opacity: .6;
}
.worklist .wt { display: block; font-family: var(--display); font-size: 1.12rem; font-variation-settings: "opsz" 40, "WONK" 1; }
.worklist .wd { display: block; font-size: .82rem; color: var(--muted); margin-top: .2rem; }

/* --- Gallery -------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filters button {
  background: transparent;
  border: 1px solid var(--ink-line);
  color: var(--cream-2);
  padding: .6rem 1.2rem;
  border-radius: 100px;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease;
}
.filters button:hover { border-color: var(--gold); color: var(--gold); }
.filters button[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #38091A;
  font-weight: 600;
}

.masonry { columns: 3; column-gap: clamp(.7rem, 1.5vw, 1.1rem); }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } }

.tile {
  break-inside: avoid;
  margin-bottom: clamp(.7rem, 1.5vw, 1.1rem);
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--ink-2);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 3px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.tile.shown { opacity: 1; transform: none; }
.tile img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s ease; filter: saturate(.9); }
.tile:hover img { transform: scale(1.05); filter: saturate(1.12); }
.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem .95rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(var(--deep-rgb), .94));
  font-size: .78rem;
  color: var(--cream);
  text-align: left;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s var(--ease);
}
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
.tile .cat {
  display: block;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(var(--deep-rgb), .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.lightbox img {
  max-height: calc(100svh - 12rem);
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin-inline: auto;
  border-radius: 3px;
}
.lightbox figcaption {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .88rem;
  color: var(--cream-2);
}
.lightbox figcaption .cat {
  display: block;
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
}
.lb-btn {
  position: absolute;
  background: rgba(var(--cream-rgb), .09);
  border: 1px solid rgba(var(--cream-rgb), .22);
  color: var(--cream);
  width: 48px; height: 48px;
  border-radius: 100px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .3s ease;
}
.lb-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb-prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--muted);
}

/* --- Blog -------------------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--ink-line);
  border-radius: 3px 3px 3px 24px;
  overflow: hidden;
  background: rgba(var(--deep-rgb), .5);
  transition: transform .5s var(--ease), border-color .4s ease;
  height: 100%;
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(var(--gold-rgb), .45); }
.post-card .pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: saturate(.92); }
.post-card:hover .pc-img img { transform: scale(1.05); }
.post-card .pc-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta {
  font-size: .66rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.post-card h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.post-card p { font-size: .92rem; color: var(--cream-2); flex: 1; }
.post-card .pc-more {
  margin-top: 1.25rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--jade);
}

/* --- Video ---------------------------------------------------------------- */
/* Cards reuse .post-card; only the poster area and the player differ. */
.vid-card .pc-img { display: block; position: relative; aspect-ratio: 16 / 9; }

.vplay { cursor: pointer; }
.vp-btn {
  position: absolute;
  left: 50%; top: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 100px;
  background: rgba(var(--gold-rgb), .92);
  box-shadow: 0 6px 22px rgba(var(--deep-rgb), .45);
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease), background .3s ease;
}
.vp-btn::before {
  content: "";
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 3px;
}
.post-card:hover .vp-btn, .vplay:focus-visible .vp-btn { background: var(--gold); transform: scale(1.1); }
.vp-dur {
  position: absolute;
  right: .6rem; bottom: .6rem;
  padding: .25rem .5rem;
  border-radius: 3px;
  background: rgba(var(--deep-rgb), .82);
  color: var(--cream);
  font-size: .66rem;
  letter-spacing: .1em;
}

/* Featured player, above the grids */
.vplay-lg {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px 3px 3px 24px;
  border: 1px solid var(--ink-line);
  background: var(--ink-2);
  transition: border-color .4s ease;
}
.vplay-lg:hover { border-color: rgba(var(--gold-rgb), .45); }
.vplay-lg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform 1s var(--ease); }
.vplay-lg:hover img { transform: scale(1.03); }
.vplay-lg .vp-btn { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.vplay-lg .vp-btn::before { border-width: 12px 0 12px 20px; margin-left: 4px; }
.vplay-lg .vp-dur { right: 1rem; bottom: 1rem; font-size: .74rem; }

/* The iframe that replaces a poster once it is clicked */
.vid-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink-deep); }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-frame.vplay-lg-frame { border-radius: 3px 3px 3px 24px; overflow: hidden; }

/* Playlist list — same shape as .worklist, but each row is a link */
.playlists a { display: block; text-decoration: none; }
.playlists a:hover .wt { color: var(--gold); }
.playlists .wt { transition: color .3s ease; }

/* Article body */
.article { max-width: 700px; margin-inline: auto; }
.article > * + * { margin-top: 1.35rem; }
.article p { color: var(--cream-2); font-size: 1.06rem; line-height: 1.78; text-wrap: pretty; }
.article h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 2.75rem; }
.article h3 { margin-top: 2rem; }
.article ul { margin-left: 0; }
.article ul li {
  color: var(--cream-2);
  padding-left: 1.4rem;
  position: relative;
  margin-top: .6rem;
}
.article ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 6px; height: 6px;
  background: var(--vermilion);
  transform: rotate(45deg);
}
.article blockquote {
  border-left: 2px solid var(--gold);
  padding: .4rem 0 .4rem 1.6rem;
  margin-block: 2.25rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem);
  line-height: 1.4;
  color: var(--cream);
}
.article figure { margin-block: 2.5rem; }
.article figure img { border-radius: 3px; width: 100%; }
.article figcaption { margin-top: .8rem; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* --- Accordion (FAQ) ------------------------------------------------------ */
.acc { border-top: 1px solid var(--ink-line); }
.acc-item { border-bottom: 1px solid var(--ink-line); }
.acc-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem 3rem 1.5rem 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.05rem, .98rem + .45vw, 1.28rem);
  line-height: 1.3;
  color: var(--cream);
  position: relative;
  font-variation-settings: "opsz" 40, "WONK" 1;
  transition: color .3s ease;
}
.acc-q:hover { color: var(--gold); }
.acc-q::after, .acc-q::before {
  content: "";
  position: absolute;
  right: .5rem;
  top: 50%;
  background: var(--gold);
  transition: transform .4s var(--ease), opacity .3s ease;
}
.acc-q::before { width: 14px; height: 1.5px; transform: translateY(-50%); }
.acc-q::after { width: 1.5px; height: 14px; right: calc(.5rem + 6.25px); transform: translateY(-50%); }
.acc-q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.acc-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.acc-q[aria-expanded="true"] + .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a p { color: var(--cream-2); font-size: .98rem; padding-bottom: 1.6rem; padding-right: 2rem; }
.acc-a p + p { margin-top: .9rem; }

/* --- Forms ---------------------------------------------------------------- */
.field { display: block; margin-bottom: 1.25rem; }
.field span {
  display: block;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .55rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(var(--deep-rgb), .55);
  border: 1px solid var(--ink-line);
  border-radius: 3px;
  padding: .85rem 1rem;
  color: var(--cream);
  font-size: .95rem;
  transition: border-color .3s ease, background .3s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(var(--raise-rgb), .42);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }

/* --- Contact -------------------------------------------------------------- */
.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--ink-line);
  align-items: start;
}
.contact-list li:first-child { border-top: 1px solid var(--ink-line); }
.contact-list .ic {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 100px;
  color: var(--gold);
  flex: none;
}
.contact-list .k {
  font-size: .66rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.contact-list .v { color: var(--cream); font-size: 1rem; line-height: 1.5; }
.contact-list .v a { text-decoration: none; border-bottom: 1px solid rgba(var(--gold-rgb), .38); transition: color .3s ease; }
.contact-list .v a:hover { color: var(--gold); }

/* --- Page header (interior pages) ----------------------------------------- */
.page-head {
  padding-top: clamp(9rem, 18vh, 13rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
}
.page-head::after {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  opacity: .35;
}
.crumbs {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.crumbs a { text-decoration: none; color: var(--gold); }
.crumbs a:hover { color: var(--jade); }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--ink-line);
  background:
    radial-gradient(60ch 40ch at 50% 120%, rgba(var(--verm-rgb), .2), transparent 70%),
    linear-gradient(180deg, rgba(var(--deep-rgb), 0), rgba(var(--raise-rgb), .45));
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  padding-top: clamp(3rem, 6vw, 5rem);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-grid ul li { margin-bottom: .65rem; }
.footer-grid a {
  text-decoration: none;
  font-size: .92rem;
  color: var(--cream-2);
  transition: color .3s ease, padding-left .3s var(--ease);
}
.footer-grid a:hover { color: var(--gold); padding-left: .3rem; }
.footer-blurb { font-size: .92rem; color: var(--muted); margin-top: 1.25rem; max-width: 34ch; }

.footer-bar {
  border-top: 1px solid var(--ink-line);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--muted);
}
.footer-bar a { text-decoration: none; }
.footer-bar a:hover { color: var(--gold); }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* --- Reveal on scroll ----------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero-fade, .hero-fade-2, .scroll-cue { opacity: 1; }
}

/* --- Utilities ------------------------------------------------------------ */
.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;
  left: 1rem; top: -100px;
  background: var(--gold);
  color: var(--ink);
  padding: .75rem 1.25rem;
  z-index: 300;
  border-radius: 3px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  transition: top .3s ease;
}
.skip-link:focus { top: 1rem; }
.mt-0 { margin-top: 0 !important; }

/* --- Pull quote ----------------------------------------------------------- */
.pullquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 1.05rem + 1.6vw, 2.4rem);
  line-height: 1.35;
  color: var(--cream);
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 40;
  text-wrap: balance;
}

/* --- Registered mark inside display type ---------------------------------- */
.reg {
  font-size: .36em;
  vertical-align: super;
  color: var(--gold);
  letter-spacing: 0;
}

@media (max-width: 520px) {
  .creds { grid-template-columns: minmax(0, 1fr); }
  .eyebrow { letter-spacing: .16em; }
}
