/* ==========================================================================
   JOY TV Chennai
   Warm cream editorial system · deep brown ink · flame accent
   Design language ported from the supplied studio system and retuned to the
   channel's own orange. Self-contained: no framework, no build step.
   ========================================================================== */

:root {
  /* ---- colour ---- */
  --c-bg:        #fcfcf8;   /* cream paper                                  */
  --c-ink:       #2a160d;   /* deep brown ink        16.75:1 on cream       */
  --c-ink-soft:  #6f5b4c;   /* muted brown            6.23:1 on cream       */
  --c-accent:    #a8480c;   /* deep flame   5.68:1 cream / 4.97:1 sand (AA)  */
  --c-flame:     #f8821a;   /* JOY TV brand orange    6.73:1 on ink    (AA)  */
  --c-sand:      #f2ece1;   /* warm tint panel                              */
  --c-sand-deep: #e7dcc8;
  --c-ink-mid:   #4a3428;   /* legible on every panel tint  5.33:1 min   */
  --c-line:      rgba(42, 22, 13, .14);
  --c-line-dark: rgba(252, 252, 248, .18);
  --c-cream-mid: rgba(252, 252, 248, .62);  /* 7.09:1 on ink   (AA)         */

  /* ---- motion ---- */
  --ease-in:    cubic-bezier(.37, .16, .12, 1);
  --ease-hover: cubic-bezier(.52, .08, .18, 1);
  --ease-out:   cubic-bezier(.22, .94, .44, 1);

  /* ---- type ---- */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono:  "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --font-tamil: "Noto Sans Tamil", "Latha", "Nirmala UI", var(--font-sans);

  /* ---- metrics ---- */
  --pad:    clamp(1.25rem, 4vw, 4rem);
  --radius: 10px;
  --shell:  1320px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body[data-loading] { overflow: hidden; }

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

img, iframe, video { max-width: 100%; }
img { height: auto; display: block; border: 0; }

a { color: inherit; text-decoration: none; }

/* Prose links stay underlined so they read as links without relying on hue. */
.prose a:not(.btn), .card p a:not(.btn), .note a, .qa__body a, .step p a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.prose a:not(.btn):hover, .card p a:not(.btn):hover, .note a:hover,
.qa__body a:hover, .step p a:hover { color: var(--c-ink); }

.section--dark .prose a:not(.btn), .section--dark .card p a:not(.btn),
.section--dark .qa__body a {
  color: var(--c-flame);
}
.section--dark .prose a:not(.btn):hover,
.section--dark .card p a:not(.btn):hover { color: var(--c-bg); }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ta { font-family: var(--font-tamil); line-height: 1.7; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--dark :focus-visible, .footer :focus-visible,
.mobilenav :focus-visible { outline-color: var(--c-flame); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-ink); color: var(--c-bg);
  padding: .8rem 1.2rem; border-radius: 0 0 var(--radius) 0;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
}
.skip:focus { left: 0; }

/* ============================ LOADER ============================ */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--c-ink); color: var(--c-bg);
  display: flex; align-items: center; justify-content: center;
  padding: var(--pad);
  transition: opacity .6s var(--ease-in), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__meta { color: var(--c-cream-mid); }
.loader__meta.ta { text-transform: none; font-size: 13px; letter-spacing: 0; }
.loader__count {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(5rem, 20vw, 14rem);
  line-height: 1; margin: .4rem 0;
  font-variant-numeric: tabular-nums;
}

/* ============================ CURSOR ============================ */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 99; }
.cursor__dot {
  position: absolute; top: 0; left: 0;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--c-ink); border-radius: 50%;
  transition: transform .35s var(--ease-out), opacity .3s;
}
.cursor__label {
  position: absolute; top: 0; left: 0;
  width: 74px; height: 74px; margin: -37px 0 0 -37px;
  background: var(--c-accent); color: var(--c-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase;
  transform: scale(0);
  transition: transform .45s var(--ease-out);
}
.cursor.is-view .cursor__label { transform: scale(1); }
.cursor.is-view .cursor__dot { transform: scale(0); }
.cursor.is-link .cursor__dot { transform: scale(2.4); opacity: .85; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============================ HEADER ============================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .85rem var(--pad);
  transition: transform .5s var(--ease-in), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-hidden { transform: translateY(-115%); }
.header.is-scrolled {
  background: rgba(252, 252, 248, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--c-line);
}

.brand { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.3rem; letter-spacing: -.02em;
}
.brand__place {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .16em; color: var(--c-ink-soft);
  margin-top: 2px;
}

.header__nav {
  display: flex; gap: .2rem;
  border: 1px solid var(--c-line); border-radius: 999px;
  padding: .28rem;
  background: rgba(252, 252, 248, .6);
}
.header__nav a {
  position: relative; white-space: nowrap;
  font-size: 13.5px; font-weight: 500;
  padding: .42rem .82rem; border-radius: 999px;
  transition: background .35s var(--ease-hover), color .35s var(--ease-hover);
}
.header__nav a:hover { background: var(--c-ink); color: var(--c-bg); }
.header__nav a[aria-current="page"] { background: var(--c-sand); }
.header__nav a[aria-current="page"]:hover { background: var(--c-ink); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  border: 1px solid var(--c-ink); border-radius: 999px;
  padding: .78rem 1.45rem;
  background: none; color: var(--c-ink); cursor: pointer;
  transition: background .4s var(--ease-hover), color .4s var(--ease-hover);
  will-change: transform;
}
.btn__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-flame); flex: 0 0 auto;
  transition: width .5s var(--ease-hover), height .5s var(--ease-hover);
}
.btn:hover { background: var(--c-ink); color: var(--c-bg); }
.btn:hover .btn__dot { width: 10px; height: 10px; }
.btn--light { border-color: var(--c-bg); color: var(--c-bg); }
.btn--light:hover { background: var(--c-bg); color: var(--c-ink); }
.btn--solid { background: var(--c-ink); color: var(--c-bg); }
.btn--solid:hover { background: var(--c-accent); border-color: var(--c-accent); }
.header__cta { flex: 0 0 auto; padding: .62rem 1.2rem; font-size: 13.5px; }

.header__burger {
  display: none;
  background: none; border: 1px solid var(--c-line); border-radius: 999px;
  height: 44px; padding: 0 1.05rem; cursor: pointer;
  align-items: center; gap: .6rem;
  flex: 0 0 auto;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .1em; color: var(--c-ink);
}
.header__bars { display: flex; flex-direction: column; gap: 5px; }
.header__bars span {
  display: block; width: 16px; height: 1.5px; background: var(--c-ink);
  transition: transform .4s var(--ease-in);
}
.header__burger.is-open .header__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.header__burger.is-open .header__bars span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* ---- mobile overlay nav ---- */
.mobilenav {
  position: fixed; inset: 0; z-index: 40;
  background: var(--c-ink); color: var(--c-bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5.5rem var(--pad) 2rem;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-in);
}
.mobilenav.is-open { clip-path: inset(0 0 0 0); }
.mobilenav__links { display: flex; flex-direction: column; }
.mobilenav__links a {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.6rem, 7vw, 2.6rem); line-height: 1.35;
  padding: .12em 0;
}
.mobilenav__links a[aria-current="page"] { color: var(--c-flame); }
.mobilenav__meta {
  margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid var(--c-line-dark);
  color: var(--c-cream-mid);
  display: flex; flex-direction: column; gap: .4rem;
}
.mobilenav__meta a {
  text-transform: none; letter-spacing: .02em;
  display: inline-block; padding-block: .3rem; width: fit-content;
}

/* ============================ SHELL / SECTIONS ============================ */
.shell { max-width: var(--shell); margin-inline: auto; width: 100%; }

.section { padding: clamp(4rem, 9vw, 7.5rem) var(--pad); }
.section--dark { background: var(--c-ink); color: var(--c-bg); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: inherit; }
.section--sand { background: var(--c-sand); }
.section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); }

.section__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section__our {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-ink-soft); flex: 0 0 auto;
}
.section--dark .section__our { color: var(--c-cream-mid); }
.section__name {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 5rem);
  letter-spacing: -.02em; line-height: 1;
  text-align: right;
  overflow-wrap: anywhere; min-width: 0;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 300; color: var(--c-ink); }

.prose p { color: var(--c-ink-soft); font-size: 16.5px; max-width: 62ch; }
.prose p + p { margin-top: 1rem; }
.prose h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  letter-spacing: -.02em; line-height: 1.1; margin-bottom: 1.1rem;
  overflow-wrap: anywhere;
}
.prose h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 1.35rem; margin-bottom: .5rem;
}
.section--dark .prose p { color: var(--c-cream-mid); }

.lede {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.32; letter-spacing: -.01em;
  color: var(--c-ink); max-width: 26ch;
}

.split2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease-in), transform .9s var(--ease-in);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ============================ HERO (home) ============================ */
.hero {
  position: relative;
  padding: calc(5.5rem + 3vw) var(--pad) 3.5rem;
  border-bottom: 1px solid var(--c-line);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
.hero__kicker { color: var(--c-ink-soft); margin-bottom: 1.6rem; }
.hero__kicker.ta {
  text-transform: none; letter-spacing: 0;
  font-family: var(--font-tamil); font-size: 15px;
  color: var(--c-accent);
}
.hero__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2.6rem, 7.4vw, 6.6rem);
  line-height: 1.03; letter-spacing: -.025em;
  overflow-wrap: anywhere; min-width: 0;
}
.hero__line { display: block; overflow: hidden; }
.hero__line em { font-style: italic; font-weight: 300; color: var(--c-accent); }

.split .char {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease-in);
}
.is-in .split .char { transform: translateY(0); }

.hero__blurb {
  color: var(--c-ink-soft); font-size: 17px; max-width: 44ch;
  margin: 1.8rem 0 1.6rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .7rem 2.5rem;
  margin-top: 3rem; padding-top: 1.1rem;
  border-top: 1px solid var(--c-line);
  color: var(--c-ink-soft);
}

/* ============================ BANNER (interior pages) ============================ */
.banner {
  padding: calc(7rem + 3vw) var(--pad) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--c-line);
}
.banner--dark { background: var(--c-ink); color: var(--c-bg); border-bottom: 0; }
.banner--dark h1, .banner--dark h2, .banner--dark h3,
.banner--dark .banner__title { color: var(--c-bg); }
.crumbs {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-ink-soft); margin-bottom: 1.4rem;
}
.crumbs a {
  display: inline-block; padding-block: .35rem;
  text-decoration: underline; text-decoration-color: var(--c-line);
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.crumbs a:hover { color: var(--c-accent); text-decoration-color: currentColor; }
.banner--dark .crumbs { color: var(--c-cream-mid); }
.banner--dark .crumbs a:hover { color: var(--c-flame); }
.banner__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2.4rem, 8vw, 6rem);
  line-height: 1.02; letter-spacing: -.025em;
  overflow-wrap: anywhere; min-width: 0;
}
.banner__title em { font-style: italic; color: var(--c-accent); }
.banner--dark .banner__title em { color: var(--c-flame); }
.banner__sub {
  margin-top: 1.2rem; max-width: 52ch;
  font-size: 17px; color: var(--c-ink-soft);
}
.banner--dark .banner__sub { color: var(--c-cream-mid); }

/* ============================ MARQUEE ============================ */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid var(--c-line);
  padding: 1rem 0;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 2.4rem;
  padding-right: 2.4rem;
  will-change: transform;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
}
.marquee__track i { font-style: normal; color: var(--c-flame); font-size: .85rem; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ============================ PLAYER ============================ */
.onair {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .9rem;
}
.section--dark .onair, .stage .onair { color: var(--c-flame); }
.onair i {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; flex: 0 0 auto;
  animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%      { opacity: .35; transform: scale(.78); }
}

.stage {
  position: relative;
  background: var(--c-ink);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.stage .video-js { width: 100%; }
.player__fallback {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  color: var(--c-bg);
  display: flex; flex-direction: column; gap: .7rem;
  min-height: 220px; justify-content: center;
}
.player__fallback strong {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  letter-spacing: -.01em;
}
.player__fallback p { color: var(--c-cream-mid); font-size: 15px; max-width: 52ch; }
.player__fallback a {
  color: var(--c-flame);
  text-decoration: underline; text-underline-offset: 2px;
}
.player__fallback code {
  font-family: var(--font-mono); font-size: .86em;
  background: rgba(252, 252, 248, .1);
  padding: .1em .38em; border-radius: 4px;
}
.player__fallback-actions {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem;
}
.player__fallback-actions .btn { font-size: 13.5px; padding: .68rem 1.25rem; }
.player__fallback-actions a { text-decoration: none; color: var(--c-bg); }

/* ============================ EDITORIAL CARD GRID ============================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.card {
  padding: 1.7rem 1.6rem 1.9rem;
  border-bottom: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
.card:nth-child(3n+1) { border-left: 0; padding-left: 0; }

.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--2 .card { border-left: 1px solid var(--c-line); padding-left: 1.6rem; }
.cards--2 .card:nth-child(2n+1) { border-left: 0; padding-left: 0; }
.card h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 1.3rem; letter-spacing: -.01em;
  margin-bottom: .5rem;
}
.card p { color: var(--c-ink-soft); font-size: 15.5px; max-width: 38ch; }
.card p + p { margin-top: .7rem; }

/* A link that is the whole paragraph is a destination, not an aside: give it
   the mono label treatment and a comfortable target. */
.card p > a:only-child:not(.btn) {
  display: inline-block; padding-block: .38rem;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-accent);
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.card p > a:only-child::after { content: " \2192"; }
.card p > a:only-child:hover { color: var(--c-ink); }
.section--dark .card p > a:only-child:not(.btn) { color: var(--c-flame); }
.card__num {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .08em; color: var(--c-accent);
  display: block; margin-bottom: 1.6rem;
}
.section--dark .card { border-color: var(--c-line-dark); }
.section--dark .cards { border-color: var(--c-line-dark); }
.section--dark .card p { color: var(--c-cream-mid); }
.section--dark .card__num { color: var(--c-flame); }

/* ============================ STICKY STACK ============================ */
.stack { position: relative; }
.stack__item {
  position: sticky;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.2vw, 2.8rem);
  margin-bottom: 1.3rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  transition: filter .5s var(--ease-out);
}
.stack__item:nth-child(1) { top: 5.5rem; }
.stack__item:nth-child(2) { top: 7rem; }
.stack__item:nth-child(3) { top: 8.5rem; }
.stack__item:nth-child(4) { top: 10rem; }
.stack__item.is-buried { filter: blur(3px) brightness(.97); }
.stack__head { display: flex; flex-direction: column; gap: 1rem; }
.stack__num { color: var(--c-accent); }
.stack__head h3 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  letter-spacing: -.02em; line-height: 1.05;
  overflow-wrap: anywhere;
}
.stack__body p { color: var(--c-ink-soft); font-size: 16.5px; max-width: 46ch; }
.stack__body p + p { margin-top: .8rem; }
.tags {
  display: flex; flex-wrap: wrap; gap: .45rem;
  list-style: none; margin-top: 1.2rem;
}
.tags li {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--c-line); border-radius: 999px;
  padding: .32rem .75rem; color: var(--c-ink-soft);
}

/* ============================ NUMBERED STEPS ============================ */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step { border-top: 1px solid var(--c-ink); padding-top: 1.1rem; }
.section--dark .step { border-top-color: var(--c-line-dark); }
.step__num {
  color: var(--c-accent); display: block; margin-bottom: 2rem;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
}
.section--dark .step__num { color: var(--c-flame); }
.step h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 1.4rem; letter-spacing: -.01em; margin-bottom: .55rem;
}
.step p { color: var(--c-ink-soft); font-size: 15px; }
.section--dark .step p { color: var(--c-cream-mid); }

/* ============================ ACCORDION ============================ */
.qa__list { max-width: 900px; margin-left: auto; }
.qa { border-top: 1px solid var(--c-line); }
.qa:last-child { border-bottom: 1px solid var(--c-line); }
.section--dark .qa { border-color: var(--c-line-dark); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: -.01em;
  transition: color .35s var(--ease-hover);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--c-accent); }
.section--dark .qa summary:hover { color: var(--c-flame); }
.qa__icon { position: relative; flex: 0 0 14px; height: 14px; }
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 14px; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease-in);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p {
  color: var(--c-ink-soft); max-width: 60ch;
  padding: 0 0 1.5rem; font-size: 16px;
}
.section--dark .qa__body p { color: var(--c-cream-mid); }

/* ============================ GALLERY FRAMES ============================ */
.frames {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem) 1.6rem;
}
.frame__link { display: block; }
.frame__box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-sand);
  border: 1px solid var(--c-line);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
}
.frame__box img { width: 100%; height: 100%; object-fit: cover; }
.frame__box::after {
  content: ""; position: absolute; inset: .7rem;
  border: 1px dashed var(--c-line); border-radius: 6px;
  pointer-events: none;
}
.frame__box:has(img)::after { display: none; }
.frame__ph, .frame__box .tile {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-ink-mid);
}
.frame__cap {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; flex-wrap: wrap;
}
.frame__cap h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.01em;
}
.frame__cap .mono { color: var(--c-ink-soft); }

.frame--a { grid-column: 1 / 8; }
.frame--b { grid-column: 8 / 13; margin-top: 14%; }
.frame--c { grid-column: 1 / 6; margin-top: -4%; }
.frame--d { grid-column: 6 / 13; }
.frame--e { grid-column: 1 / 5; }
.frame--f { grid-column: 5 / 10; margin-top: 8%; }
.frame--g { grid-column: 10 / 13; margin-top: -2%; }
.frame--h { grid-column: 1 / 7; }
.frame--i { grid-column: 7 / 13; margin-top: 10%; }

.frame--b .frame__box { aspect-ratio: 4 / 4.6; }
.frame--c .frame__box { aspect-ratio: 4 / 4.2; }
.frame--g .frame__box { aspect-ratio: 3 / 4; }
.frame--f .frame__box { aspect-ratio: 4 / 3.2; }

.tone-sand  { background: var(--c-sand-deep); }
.tone-flame { background: #e9a061; }
.tone-clay  { background: #d5c3a8; }
.tone-ink   { background: #4a3428; }
.tone-ink .frame__ph, .tone-flame .frame__ph,
.tone-ink .tile, .tone-flame .tile { color: rgba(252, 252, 248, .8); }
.tone-ink::after, .tone-flame::after { border-color: rgba(252, 252, 248, .3); }

/* ============================ SPEC LIST ============================ */
.spec { border-top: 1px solid var(--c-line); list-style: none; }
.spec li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1rem 2rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
.spec dt, .spec__k {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.spec dd, .spec__v { font-size: 16.5px; margin: 0; overflow-wrap: anywhere; }
.spec__v a {
  display: inline-block; padding-block: .28rem;
  color: var(--c-accent);
  text-decoration: underline; text-underline-offset: 3px;
}
.spec__v a:hover { color: var(--c-ink); }
.spec__v--tbc { color: var(--c-ink-soft); font-style: italic; }
.section--dark .spec, .section--dark .spec li { border-color: var(--c-line-dark); }
.section--dark .spec dt, .section--dark .spec__k { color: var(--c-cream-mid); }
.section--dark .spec__v a { color: var(--c-flame); }

/* ============================ SCHEDULE TABLE ============================ */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sched {
  width: 100%; border-collapse: collapse;
  min-width: 620px;
  text-align: left;
}
.sched caption { position: absolute; left: -9999px; }
.sched th, .sched td {
  padding: 1.05rem 1.2rem 1.05rem 0;
  border-bottom: 1px solid var(--c-line);
  vertical-align: baseline;
}
.sched thead th {
  font-family: var(--font-mono); font-size: 11.5px;
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-ink-soft);
  border-bottom-color: var(--c-ink);
  padding-bottom: .8rem;
}
.sched tbody th[scope="row"] {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -.01em; color: var(--c-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sched td { color: var(--c-ink-soft); font-size: 16px; }
.sched .tbc { font-style: italic; }
.sched tbody tr:hover td, .sched tbody tr:hover th { background: var(--c-sand); }

/* ============================ FORMS ============================ */
.form { max-width: 780px; }
.form__row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.6rem;
}
.field { display: flex; flex-direction: column; margin-bottom: 1.6rem; }
.field label {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-ink-soft); margin-bottom: .5rem;
}
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 16px; color: var(--c-ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--c-line);
  padding: .6rem 0; width: 100%;
  border-radius: 0;
  transition: border-color .35s var(--ease-hover);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-ink) 50%),
                    linear-gradient(135deg, var(--c-ink) 50%, transparent 50%);
  background-position: right 10px center, right 5px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.6rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--c-accent); border-bottom-width: 2px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--c-accent); outline-offset: 4px;
}

/* ============================ NOTE PANEL ============================ */
.note {
  border-left: 2px solid var(--c-accent);
  background: var(--c-sand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.4rem;
}
.note p { color: var(--c-ink-soft); font-size: 15px; max-width: 62ch; }
.note p + p { margin-top: .7rem; }
.note strong { color: var(--c-ink); font-weight: 600; }
.note code {
  font-family: var(--font-mono); font-size: .86em;
  background: rgba(42, 22, 13, .07);
  padding: .1em .38em; border-radius: 4px;
}
.section--dark .note {
  background: rgba(252, 252, 248, .06);
  border-left-color: var(--c-flame);
}
.section--dark .note p { color: var(--c-cream-mid); }
.section--dark .note strong { color: var(--c-bg); }
.section--dark .note code { background: rgba(252, 252, 248, .12); }

/* ============================ PULL QUOTE ============================ */
.pull { max-width: 56ch; margin-left: auto; text-align: right; }
.pull .ta {
  font-size: clamp(1.35rem, 3.4vw, 2.4rem);
  line-height: 1.5; letter-spacing: -.005em;
  margin-bottom: .9rem;
}
.pull p {
  font-family: var(--font-serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  line-height: 1.4; margin-bottom: 1rem;
}
.pull footer { font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--c-cream-mid); }

/* ============================ MAP ============================ */
.mapframe {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-sand);
}
.mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.footer .mapframe { border-color: var(--c-line-dark); aspect-ratio: 3 / 2; }

/* ============================ CTA BAND ============================ */
.cta { text-align: center; }
.cta__kicker { color: var(--c-cream-mid); margin-bottom: 1.4rem; }
.cta__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2.4rem, 8vw, 6.5rem);
  line-height: 1.03; letter-spacing: -.03em;
  margin-bottom: 1.6rem;
  overflow-wrap: anywhere; min-width: 0;
}
.cta__title--long { font-size: clamp(1.9rem, 4.6vw, 3.6rem); letter-spacing: -.02em; }
.cta__line { display: block; overflow: hidden; }
.cta__line em { font-style: italic; color: var(--c-flame); }
.cta__sub {
  color: var(--c-cream-mid); max-width: 46ch;
  margin: 0 auto 2.4rem; font-size: 16.5px;
}
.cta__btn { font-size: 15px; padding: .95rem 1.9rem; }
.cta__meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem 2.5rem;
  color: var(--c-cream-mid);
  border-top: 1px solid var(--c-line-dark);
  padding-top: 1.3rem; margin-top: 3rem;
}
.cta__meta a {
  display: inline-block; padding-block: .3rem;
  text-decoration: underline; text-decoration-color: var(--c-line-dark);
  text-underline-offset: 3px;
}
.cta__meta a:hover { color: var(--c-flame); text-decoration-color: currentColor; }

/* ============================ FOOTER ============================ */
.footer {
  background: var(--c-ink); color: var(--c-bg);
  padding: 0 var(--pad) 2rem;
  border-top: 1px solid var(--c-line-dark);
}
.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.1fr);
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.footer__col { display: flex; flex-direction: column; gap: .15rem; font-size: 14.5px; }
.footer__col a { padding-block: .28rem; }
.footer__label {
  color: var(--c-cream-mid); margin-bottom: .6rem;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
}
.footer__col a { position: relative; width: fit-content; }
.footer__col a::after {
  content: ""; position: absolute; left: 0; bottom: .18rem;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-in);
}
.footer__col a:hover::after { transform: scaleX(1); }
.footer__col a[aria-current="page"] { color: var(--c-flame); }
.footer__blurb { color: var(--c-cream-mid); font-size: 14.5px; max-width: 40ch; }
.footer__ta { color: var(--c-bg); font-size: 15px; margin-bottom: .5rem; }
.footer__addr { color: var(--c-cream-mid); }

.footer__def { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer__def strong {
  display: block; margin-bottom: .2rem;
  font-family: var(--font-mono); font-weight: 500; font-size: 11.5px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--c-flame);
}
.footer__def span { display: flex; flex-direction: column; color: var(--c-cream-mid); }
.footer__def span a { width: fit-content; }

.social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--c-line-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .35s var(--ease-hover), color .35s var(--ease-hover),
              border-color .35s var(--ease-hover);
}
.social a::after { display: none; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social a:hover { background: var(--c-flame); color: var(--c-ink); border-color: var(--c-flame); }

.footer__word {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(3.4rem, 19vw, 19rem);
  line-height: .92; letter-spacing: -.03em;
  text-align: center; color: var(--c-bg);
  border-top: 1px solid var(--c-line-dark);
  padding-top: clamp(1.5rem, 4vw, 3rem);
  white-space: nowrap;
}
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem;
  color: var(--c-cream-mid);
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.3rem;
  border-top: 1px solid var(--c-line-dark);
}

/* ============================ BACK TO TOP ============================ */
.totop {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 45;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--c-line);
  background: var(--c-bg); color: var(--c-ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s var(--ease-in), transform .4s var(--ease-in),
              visibility .4s, background .3s, color .3s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--c-ink); color: var(--c-bg); }
.totop svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1020px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; }
}

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack__item { grid-template-columns: 1fr; gap: 1.1rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pull { text-align: left; margin-left: 0; }
}

@media (max-width: 860px) {
  .split2 { grid-template-columns: 1fr; }
  .frames { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .frame--a, .frame--d, .frame--h, .frame--i { grid-column: 1 / 7; }
  .frame--b, .frame--c, .frame--e, .frame--f, .frame--g { grid-column: span 3; }
  .frame--b, .frame--c, .frame--e, .frame--f, .frame--g,
  .frame--i { margin-top: 0; }
  .frame--b .frame__box, .frame--c .frame__box,
  .frame--g .frame__box, .frame--f .frame__box { aspect-ratio: 4 / 3; }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards .card { border-left: 1px solid var(--c-line); padding-left: 1.3rem; padding-right: 1.3rem; }
  .cards .card:nth-child(2n+1) { border-left: 0; padding-left: 0; }
}

@media (max-width: 620px) {
  .section__head { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .section__name { text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .stack__item { position: static; margin-bottom: 1rem; }
  .stack__item.is-buried { filter: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .cards .card, .cards--2 .card {
    border-left: 0; padding-left: 0; padding-right: 0;
  }
  .spec li { grid-template-columns: 1fr; gap: .3rem; padding: .9rem 0; }
  .footer__cols { grid-template-columns: 1fr; }
  .pull .ta { font-size: 1.3rem; }
}

@media (max-width: 400px) {
  .frames { grid-template-columns: 1fr; }
  .frame--a, .frame--b, .frame--c, .frame--d, .frame--e,
  .frame--f, .frame--g, .frame--h, .frame--i { grid-column: 1 / -1; margin-top: 0; }
  .frame__box { aspect-ratio: 4 / 3 !important; }
  .brand__place { display: none; }
}

/* ============================ REDUCED MOTION ============================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .onair i { animation: none; }
  .reveal, .split .char { opacity: 1; transform: none; transition: none; }
  .loader { display: none; }
  body[data-loading] { overflow: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ============================ PRINT ============================ */
@media print {
  .loader, .cursor, .header, .mobilenav, .totop, .marquee,
  .mapframe, .stage { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section, .banner, .hero { padding: 1rem 0; }
  .section--dark, .footer { background: #fff !important; color: #000 !important; }
  .footer__word { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
