
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/space-grotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/space-grotesk-700.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fraunces-300.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300; font-display: swap; src: url('/assets/fraunces-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fraunces-600.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/archivo-400.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/archivo-600.woff2') format('woff2'); }

:root {
  --bg: #fdfcf9; --bg-soft: #f5f2ea; --bg-warm: #faf3e9;
  --ink: #17141f; --ink-soft: #5b5566;
  --violet: #6d28d9; --magenta: #d61f74; --amber: #e56910;
  --violet-soft: #ede7fb; --magenta-soft: #fbe7f1;
  --night: #08070d; --night-2: #17141f;
  --light: #f2efe8; --light-soft: #a9a4b3;
  --line: #e6e1d8; --line-dark: #35313f;
  --grad: linear-gradient(100deg, #6d28d9 0%, #d61f74 55%, #e56910 100%);
  --cinema: #08070d; --cinema-text: #f2efe8; --cinema-soft: #a9a4b3; --stagelight: #e9a862; --stagelight-deep: #9a5b16;
  --serif: 'Fraunces', Georgia, serif;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font-family: var(--body); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); margin: 0 0 1.1rem; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0 0 0.75rem; font-weight: 300; }
h3 { font-size: 1.3rem; margin: 0 0 0.3rem; }
p, li, figcaption, blockquote { text-wrap: pretty; }
p { margin: 0.8rem 0; }
a { color: var(--stagelight-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
code { background: var(--bg-soft); border: 1px solid var(--line); padding: 0.1rem 0.4rem; border-radius: 6px; font-size: 0.92em; }
main { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }

/* the one gradient that carries every accent */
.accent, .hero h1 em, h2 em { font-family: var(--serif); font-style: italic; color: var(--stagelight-deep); }

/* ---- masthead ------------------------------------------------------- */
.masthead { background: rgba(255,255,255,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.masthead__inner { max-width: 82rem; margin: 0 auto; padding: 0.9rem 1.6rem; display: flex; flex-wrap: nowrap; gap: 0.5rem 1.7rem; align-items: center; }
.masthead__links { display: flex; flex-wrap: nowrap; gap: 1.7rem; align-items: baseline; }
.masthead__drop { display: none; position: relative; }
@media (max-width: 52rem) {
  .masthead__links { display: none; }
  .masthead__drop { display: block; }
}
.masthead__drop summary { list-style: none; cursor: pointer; font-family: var(--body); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ink-soft); padding: 0.45rem 1.15rem; border: 1px solid var(--line); border-radius: 999px; user-select: none; }
.masthead__drop summary::-webkit-details-marker { display: none; }
.masthead__drop[open] summary { color: var(--stagelight-deep); border-color: var(--stagelight-deep); }
.masthead__panel { position: absolute; right: 0; top: calc(100% + 0.7rem); background: #ffffff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 54px -22px rgba(23,20,31,0.4); padding: 1rem 1.3rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; min-width: 13.5rem; z-index: 40; }
.masthead__panel .masthead__gate { align-self: stretch; text-align: center; }
body:has(.hero--cinema) .masthead__drop summary { color: var(--cinema-soft); border-color: rgba(242,239,232,0.3); }
body:has(.hero--cinema) .masthead__drop[open] summary { color: var(--stagelight); border-color: var(--stagelight); }
body:has(.hero--cinema) .masthead__panel { background: #14111c; border-color: rgba(242,239,232,0.16); }
.masthead__name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; margin-right: auto; }
.masthead__name b { font-weight: 700; color: var(--stagelight-deep); }
.masthead__inner a:not(.masthead__name) { text-decoration: none; color: var(--ink-soft); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; padding-bottom: 2px; border-bottom: 2px solid transparent; transition: color 150ms ease, border-color 150ms ease; }
.masthead__inner a:not(.masthead__name):hover { color: var(--stagelight-deep); border-bottom-color: var(--stagelight-deep); }
.masthead__inner a.masthead__gate { border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem; border-bottom-width: 1px; transition: border-color 150ms ease, color 150ms ease; }
.masthead__inner a.masthead__gate:hover { border-color: var(--stagelight-deep); }
.masthead__gate i { font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0.02em; margin-right: 0.35rem; }
body:has(.hero--cinema) .masthead__inner a.masthead__gate { border-color: rgba(242,239,232,0.25); }
body:has(.hero--cinema) .masthead__inner a.masthead__gate:hover { border-color: var(--stagelight); }

/* ---- hero: light, vivid, moving -------------------------------------- */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 52rem; height: 52rem; border-radius: 50%; background: radial-gradient(circle, rgba(233,168,98,0.14), transparent 62%); top: -18rem; left: -14rem; animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 46rem; height: 46rem; border-radius: 50%; background: radial-gradient(circle, rgba(233,168,98,0.1), transparent 60%); bottom: -16rem; right: -10rem; animation: drift 22s ease-in-out infinite alternate-reverse; pointer-events: none; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(6rem,4rem) scale(1.18); } }
.hero__inner { position: relative; z-index: 1; max-width: 82rem; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) 1.6rem clamp(3rem, 7vw, 5.5rem); display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 60rem) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; } }
.hero__copy > * { animation: enter 0.9s cubic-bezier(.2,.7,.2,1) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.1s; } .hero__copy > :nth-child(3) { animation-delay: 0.2s; }
.hero__copy > :nth-child(4) { animation-delay: 0.3s; } .hero__copy > :nth-child(5) { animation-delay: 0.4s; }
@keyframes enter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__kicker { display: inline-block; font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: var(--stagelight-deep); }
.hero h1 { color: var(--ink); }
.hero__lede { max-width: 48ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); }
.hero__cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero__note { color: var(--ink-soft); font-size: 0.95rem; }

/* the photo cluster: colour photography in a gradient ring, slowly alive */
.hero__art { position: relative; min-height: 22rem; }
.hero__art .frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(8,7,13,0.55); }
.hero__art .frame::before { content: ''; position: absolute; inset: 0; border-radius: 24px; border: 1px solid rgba(233,168,98,0.65); z-index: 2; pointer-events: none; }
.hero__art .frame img { display: block; width: 100%; height: clamp(22rem, 44vw, 30rem); object-fit: cover; transform-origin: 60% 30%; animation: kenburns 26s ease-in-out infinite alternate; }
.hero__art .frame img.hero__alt { position: absolute; inset: 0; height: 100%; opacity: 0; animation: kenburns 26s ease-in-out infinite alternate, heroswap 22s ease-in-out infinite; transform-origin: 40% 45%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes heroswap { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
.hero__art .chip { position: absolute; z-index: 3; left: -1rem; bottom: 1.6rem; background: #ffffff; border: 1px solid var(--line); border-radius: 14px; padding: 0.7rem 1.1rem; box-shadow: 0 18px 40px -18px rgba(25,21,39,0.35); font-weight: 600; font-size: 0.9rem; animation: chipfloat 6s ease-in-out infinite alternate; }
.hero__art .chip b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--stagelight-deep); }
@keyframes chipfloat { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ---- the gateway: two doors, one house ------------------------------- */
.gateway { display: flex; flex-direction: column; min-height: 100svh; background: var(--cinema); color: var(--cinema-text); }
.gateway__doors { display: flex; flex-direction: column; flex: 1; }
@media (min-width: 54rem) { .gateway__doors { flex-direction: row; } }
.gateway__safety { margin: 0; padding: 0.8rem 1.6rem; text-align: center; font-size: 0.85rem; color: var(--cinema-soft); border-top: 1px solid rgba(242,239,232,0.12); }
.gateway__safety a { color: var(--stagelight); }
.gateway__door { position: relative; flex: 1; min-height: 50svh; display: flex; align-items: flex-end; overflow: hidden; text-decoration: none; color: var(--cinema-text); transition: flex 750ms cubic-bezier(.25,.8,.25,1); container-type: inline-size; }
@media (min-width: 54rem) { .gateway__door:hover, .gateway__door:focus-visible { flex: 1.55; } }
.gateway__door + .gateway__door { border-top: 1px solid rgba(242,239,232,0.18); }
@media (min-width: 54rem) { .gateway__door + .gateway__door { border-top: 0; border-left: 1px solid rgba(242,239,232,0.18); } }
.gateway__door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.85; filter: contrast(1.04) saturate(1.05) brightness(0.96); transform: scale(1.06); transition: transform 900ms cubic-bezier(.2,.7,.2,1), opacity 600ms ease; }
.gateway__door:hover img { transform: scale(1.12); opacity: 1; }
.gateway__doors .gateway__door:first-child img { object-position: center 22%; }
.gateway__doors .gateway__door:last-child img { object-position: center 78%; }
.gateway__door .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,13,0.5) 0%, rgba(8,7,13,0.05) 40%, rgba(8,7,13,0.92) 100%); }
@media (max-width: 54rem) { .gateway__door .scrim { background: linear-gradient(180deg, rgba(8,7,13,0.4) 0%, rgba(8,7,13,0.08) 34%, rgba(8,7,13,0.96) 100%); } }
.gateway__label { position: relative; z-index: 1; padding: clamp(1.8rem, 4vw, 3.5rem); padding-bottom: clamp(2.6rem, 6vh, 4.5rem); width: 100%; }
body:has(.notice) .gateway__label { padding-bottom: clamp(8rem, 16vh, 11rem); }
body:has(.notice) .hero--cinema .titles { padding-bottom: clamp(9rem, 18vh, 12rem); }
body:has(.notice) .feature__header .titles { padding-bottom: clamp(8rem, 16vh, 11rem); }
/* while the notice stands, every page ends with room to scroll clear of it */
body:has(.notice) { padding-bottom: 8rem; }
body:has(.notice) .totop { bottom: 8.5rem; }
@media (max-width: 40rem) { body:has(.notice) .totop { bottom: 13.5rem; } body:has(.notice) { padding-bottom: 13rem; } }
.gateway__label > * { animation: titleup 1.4s cubic-bezier(.16,.6,.2,1) both; }
.gateway__label > :nth-child(2) { animation-delay: 0.35s; }
.gateway__label > :nth-child(3) { animation-delay: 0.7s; }
.gateway__label > :nth-child(4) { animation-delay: 1s; }
.gateway__kicker { display: block; color: #ffffff; font-size: clamp(0.56rem, 2.5vw, 0.78rem); letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.8rem; white-space: nowrap; text-shadow: 0 1px 2px rgba(8,7,13,0.95), 0 2px 8px rgba(8,7,13,0.85), 0 4px 22px rgba(8,7,13,0.7); }
.gateway__label h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, min(4.5vw, 9.2cqw), 4rem); color: #ffffff; margin: 0 0 0.5rem; white-space: nowrap; text-shadow: 0 2px 22px rgba(8,7,13,0.65); }
.gateway__label h2 b { font-weight: 300; font-style: italic; color: var(--stagelight); }
.gateway__label p { color: var(--cinema-text); max-width: 34ch; min-height: 3.3em; margin: 0.3rem 0 1.1rem; }
/* equal rules under both doors: the same fixed width either side, so the
   two enter lines read as one level pair whatever their word lengths */
.gateway__enter { display: inline-block; width: 15rem; max-width: 100%; font-family: var(--body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stagelight); border-bottom: 1px solid var(--stagelight); padding-bottom: 6px; transition: letter-spacing 300ms ease; }
.gateway__door:hover .gateway__enter { letter-spacing: 0.24em; }
.gateway__mark { position: absolute; z-index: 2; top: clamp(1.2rem, 3vh, 2.2rem); left: 50%; transform: translateX(-50%); font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 1.5rem; color: var(--cinema-text); letter-spacing: 0.04em; pointer-events: none; }

/* ---- the screens: the working product, framed ------------------------- */
.screens { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 60rem) { .screens { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.screen { margin: 0; }
.screen__frame { background: #ffffff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -34px rgba(8,7,13,0.5); }
.screen__bar { display: flex; gap: 6px; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.screen__bar i:first-child { background: var(--stagelight); }
.screen__frame img { display: block; width: 100%; }
.screen figcaption { color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.7rem; letter-spacing: 0.04em; }

/* ---- the cinematic hero (House Lights Down — the homepage overture) ---- */
.hero--cinema { position: relative; background: var(--cinema); color: var(--cinema-text); overflow: hidden; min-height: min(92svh, 64rem); display: flex; align-items: flex-end; }
.hero--cinema::before, .hero--cinema::after { display: none; }
.hero--cinema .backdrop { position: absolute; inset: 0; }
.hero--cinema .backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.92; filter: contrast(1.06) saturate(1.08) brightness(0.94); transform-origin: 55% 32%; animation: pushin 34s ease-out both; }
@keyframes pushin { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero--cinema .vignette { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,7,13,0.72) 0%, rgba(8,7,13,0.1) 26%, rgba(8,7,13,0.08) 52%, rgba(8,7,13,0.9) 86%, #08070d 100%),
  radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(8,7,13,0.55) 100%); }
.hero--cinema .titles { position: relative; z-index: 1; width: 100%; max-width: 82rem; margin: 0 auto; padding: clamp(6rem, 16vh, 11rem) 1.6rem clamp(3.5rem, 9vh, 6rem); display: grid; }
.hero--cinema .titles > * { animation: titleup 1.6s cubic-bezier(.16,.6,.2,1) both; }
.hero--cinema .titles > :nth-child(1) { animation-delay: 0.3s; }
.hero--cinema .titles > :nth-child(2) { animation-delay: 0.9s; }
.hero--cinema .titles > :nth-child(3) { animation-delay: 1.7s; }
.hero--cinema .titles > :nth-child(4) { animation-delay: 2.3s; }
.hero--cinema .titles > :nth-child(5) { animation-delay: 2.7s; }
@keyframes titleup { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero--cinema .hero__kicker { border: 0; background: none; padding: 0; color: var(--stagelight); font-size: 0.8rem; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 600; }
.hero--cinema h1 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; line-height: 1.02; font-size: clamp(3rem, 8.5vw, 7rem); max-width: 16ch; margin: 1rem 0 1.1rem; color: #ffffff; text-shadow: 0 2px 40px rgba(8,7,13,0.6); }
.hero--cinema h1 em { font-family: var(--serif); font-style: italic; font-weight: 300; background: none; -webkit-text-fill-color: currentColor; color: var(--stagelight); }
.hero--cinema .hero__lede { color: var(--cinema-text); max-width: 52ch; font-size: clamp(1rem, 1.4vw, 1.15rem); text-shadow: 0 1px 20px rgba(8,7,13,0.7); }
.hero--cinema .hero__cta { margin-top: 1.7rem; }
.hero--cinema .btn { background: var(--stagelight); color: #191106; box-shadow: 0 18px 44px -18px rgba(233,168,98,0.55); }
.hero--cinema .btn:hover { box-shadow: 0 24px 54px -18px rgba(233,168,98,0.65); }
.hero--cinema .btn--ghost { background: transparent; color: var(--cinema-text); border: 1px solid rgba(242,239,232,0.4); }
.hero--cinema .btn--ghost:hover { border-color: var(--stagelight); color: var(--stagelight); }
.hero--cinema .hero__note { color: var(--cinema-soft); }
.hero--cinema .cue { position: absolute; z-index: 1; left: 50%; bottom: 1.1rem; width: 1px; height: 2.6rem; background: linear-gradient(180deg, transparent, rgba(242,239,232,0.7)); animation: cuepulse 2.6s ease-in-out 3.4s infinite; opacity: 0; }
@keyframes cuepulse { 0% { opacity: 0; transform: translateY(-8px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* the masthead dims the house lights when the overture is on the bill */
body:has(.hero--cinema) .masthead { background: rgba(8,7,13,0.72); backdrop-filter: blur(12px); border-bottom-color: rgba(242,239,232,0.12); }
body:has(.hero--cinema) .masthead__name { color: var(--cinema-text); }
body:has(.hero--cinema) .masthead__name b { background: none; -webkit-text-fill-color: currentColor; color: var(--stagelight); }
body:has(.hero--cinema) .masthead__inner a:not(.masthead__name) { color: var(--cinema-soft); }
body:has(.hero--cinema) .masthead__inner a:not(.masthead__name):hover { color: var(--stagelight); border-bottom-color: var(--stagelight); }


/* ---- the ribbon ------------------------------------------------------- */
.tilt { overflow: clip; margin: 0; position: relative; z-index: 2; }
.marquee { background: var(--cinema); color: var(--cinema-soft); overflow: hidden; border-top: 1px solid rgba(242,239,232,0.1); border-bottom: 1px solid rgba(242,239,232,0.1); }
.marquee__track { display: flex; width: max-content; animation: ribbon 28s linear infinite; }
.marquee span { font-family: var(--body); font-weight: 600; text-transform: uppercase; font-size: clamp(0.8rem, 1.4vw, 0.95rem); letter-spacing: 0.22em; padding: 0.7rem 1.2rem 0.6rem 0; white-space: nowrap; }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- buttons ---------------------------------------------------------- */
.btn, button {
  display: inline-block; padding: 0.9rem 1.9rem; border: 0; border-radius: 999px;
  background: var(--stagelight); color: #191106; font-family: var(--body); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 16px 34px -16px rgba(233,168,98,0.7);
}
.btn:hover, button:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(233,168,98,0.75); }
.btn:active, button:active { transform: translateY(0); }
.btn--ghost { background: #ffffff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--stagelight-deep); color: var(--stagelight-deep); box-shadow: none; }

/* ---- bands ------------------------------------------------------------ */
.band { padding: clamp(3.5rem, 9vw, 6.5rem) 1.6rem; position: relative; overflow: hidden; }
.band__inner { max-width: 82rem; margin: 0 auto; position: relative; }
.band--stage { background: var(--night); color: var(--light); }
.band--stage h2 { color: #ffffff; }
.band--stage p { color: var(--light); }
.band--stage .soft, .band--stage .meta { color: var(--light-soft); }
.band--stage a:not(.btn) { color: var(--stagelight); }
.band--beige { background: var(--night); color: var(--light); }
.band--soft { background: var(--bg-soft); }
.band--slim { padding-top: 1.6rem; padding-bottom: 1.6rem; }
#apply { scroll-margin-top: 3.5rem; }
.band__kicker { font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stagelight-deep); font-weight: 600; }
.band--stage .band__kicker, .band--beige .band__kicker { color: var(--stagelight); }
.band__lede { max-width: 56ch; font-size: 1.1rem; color: var(--ink-soft); }
.band--stage .band__lede { color: var(--light); }

/* the ghost word behind a band */
.ghost { position: absolute; top: -0.12em; right: -0.05em; font-family: var(--serif); font-weight: 300; text-transform: uppercase; font-size: clamp(5rem, 18vw, 13rem); line-height: 1; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; user-select: none; }
.band--stage .ghost, .band--beige .ghost { -webkit-text-stroke: 1px var(--line-dark); }
.band--glow::before { content: ''; position: absolute; width: 44rem; height: 44rem; border-radius: 50%; background: radial-gradient(circle, rgba(233,168,98,0.12), transparent 65%); top: -14rem; right: -12rem; animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }

/* ---- the ledger: the programme of what works -------------------------- */
/* the programme of what works, set like programme notes: an aligned grid —
   every horizontal rule runs level across the page, the act numeral sits on
   the rule's right shoulder like a folio mark */
.ledger { list-style: none; padding: 0; margin: 3rem 0 0; position: relative; display: grid; gap: 0 clamp(3rem, 6vw, 5.5rem); }
@media (min-width: 54rem) { .ledger { grid-template-columns: 1fr 1fr; } }
.ledger li { padding: 1.3rem 0 2rem; border-top: 1px solid var(--ink); position: relative; }
.ledger .no { position: absolute; top: 1.35rem; right: 0; font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.28em; font-weight: 600; color: var(--stagelight-deep); }
.ledger h3 { color: var(--ink); margin: 0; padding-right: 5rem; font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 600; }
.ledger h3::after { content: ''; display: block; width: 2.2rem; height: 2px; background: var(--stagelight); margin-top: 0.55rem; transition: width 300ms cubic-bezier(.2,.7,.2,1); }
.ledger li:hover h3::after { width: 4.4rem; }
.ledger p { margin: 0.6rem 0 0; color: var(--ink-soft); max-width: 46ch; font-size: 0.98rem; }

/* ---- the filmstrip: photography in motion ----------------------------- */
.filmstrip { background: var(--bg); overflow: hidden; padding: clamp(1rem, 2.5vw, 2rem) 0; }
.filmstrip__track { display: flex; gap: clamp(0.9rem, 1.6vw, 1.4rem); width: max-content; animation: strip 48s linear infinite; }
.filmstrip:hover .filmstrip__track { animation-play-state: paused; }
.filmstrip img { height: clamp(13rem, 30vw, 20rem); width: auto; display: block; border-radius: 18px; box-shadow: 0 22px 44px -24px rgba(8,7,13,0.5); transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.filmstrip img:hover { transform: scale(1.05) rotate(-1deg); }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- the honest numbers ----------------------------------------------- */
.numbers { display: grid; gap: 1.6rem 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-top: 2.5rem; }
.numbers > div { border-left: 1px solid var(--line-dark); padding-left: 1.3rem; }
.numbers .fig { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7.5vw, 5rem); line-height: 1; margin: 0; letter-spacing: -0.02em; color: var(--stagelight); }
.numbers .cap { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); margin-top: 0.4rem; }
.band--stage .numbers .cap, .band--beige .numbers .cap { color: var(--light-soft); }

/* ---- splits ----------------------------------------------------------- */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; margin-top: 2.5rem; }
.split figure { margin: 0; position: relative; }
.split figure::after { content: ''; position: absolute; inset: 0; border-radius: 20px; border: 1px solid var(--stagelight); opacity: 0.85; transform: translate(14px, 14px); z-index: 0; transition: transform 400ms cubic-bezier(.2,.7,.2,1); }
.split figure:hover::after { transform: translate(8px, 8px); }
.split img { position: relative; z-index: 1; width: 100%; max-height: min(76svh, 36rem); display: block; border-radius: 20px; object-fit: cover; box-shadow: 0 24px 54px -26px rgba(25,21,39,0.5); transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.split figure:hover img { transform: scale(1.02); }
@media (min-width: 54rem) { .split { grid-template-columns: 1.1fr 1fr; } .split--flip > :first-child { order: 2; } }

/* ---- the price: the poster -------------------------------------------- */
.price { background: var(--cinema); color: var(--cinema-text); padding: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; margin-top: 2.5rem; border-radius: 28px; box-shadow: 0 34px 80px -34px rgba(8,7,13,0.7); }
.price img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.price__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,7,13,0.92) 30%, rgba(8,7,13,0.35) 100%); }
.price__inner { position: relative; max-width: 38rem; }
.price .band__kicker { color: var(--stagelight); }
.price__figure { font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 12vw, 7.5rem); letter-spacing: -0.02em; color: #ffffff; line-height: 0.95; margin: 0.4rem 0; }
.price__figure small { display: block; margin-top: 0.7rem; font-size: 0.16em; letter-spacing: 0.2em; font-family: var(--body); font-weight: 600; text-transform: uppercase; }
.price p { color: #ffffff; }

/* ---- forms ------------------------------------------------------------ */
label { display: block; margin: 1rem 0 0.3rem; font-weight: 600; font-size: 0.92rem; }
.band--stage label { color: var(--light); }
input, select, textarea { width: 100%; max-width: 26rem; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #ffffff; color: var(--ink); transition: border-color 150ms ease, box-shadow 150ms ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--stagelight-deep); box-shadow: 0 0 0 3px rgba(233,168,98,0.28); }
.band--stage input, .band--stage select, .band--stage textarea { background: var(--night-2); border-color: var(--line-dark); color: var(--light); }
button { margin-top: 1.2rem; }

/* ---- directory -------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: end; margin-top: 1.5rem; margin-bottom: 3rem; }
.filters label { margin: 0; }
.filters input, .filters select { max-width: 11rem; }
.filters button { margin-top: 0; }
.roster { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.roster li { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 2rem; align-items: center; padding: 1.6rem 0.6rem; border-bottom: 1px solid var(--line); margin: 0; border-radius: 12px; transition: background 180ms ease, padding-left 180ms ease; }
.roster li:hover { background: var(--bg-soft); padding-left: 1.4rem; }
.roster h3 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0; color: var(--ink); }
.roster .meta { color: var(--ink-soft); font-size: 0.92rem; margin: 0.15rem 0 0; }
.roster .bio { color: var(--ink-soft); max-width: 60ch; margin: 0.4rem 0 0; }
.roster .join { display: inline-block; text-decoration: none; background: var(--stagelight); color: #191106; padding: 0.65rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em; transition: transform 160ms ease, box-shadow 160ms ease; white-space: nowrap; box-shadow: 0 12px 26px -14px rgba(233,168,98,0.7); }
.roster .join:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(233,168,98,0.8); }
@media (max-width: 40rem) { .roster li { grid-template-columns: 1fr; } }

/* ---- the bill: promoted teachers on the family landing ---------------- */
.bill { list-style: none; padding: 0; margin: 2.5rem 0 1rem; display: grid; gap: 2rem 3rem; }
@media (min-width: 54rem) { .bill { grid-template-columns: 1fr 1fr; } }
.bill li { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.bill__name { display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; color: var(--ink); text-decoration: none; transition: color 200ms ease; }
.bill__name:hover { color: var(--stagelight-deep); font-style: italic; }
.bill .meta { color: var(--ink-soft); font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0.3rem 0 0; }

/* legacy card classes (operator console, safeguarding routes) kept usable */
.cards { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); display: block; }
.card { display: block; padding: 1.5rem 0.6rem; border-bottom: 1px solid var(--line); transition: background 180ms ease, padding-left 180ms ease; }
.card:hover { background: var(--bg-soft); padding-left: 1.4rem; }
.card h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 0; }
.card .meta { color: var(--ink-soft); font-size: 0.92rem; margin: 0.15rem 0 0; display: inline-block; margin-right: 1.2rem; }
.card .join { display: inline-block; margin-top: 0.8rem; text-decoration: none; background: var(--stagelight); color: #191106; padding: 0.6rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.85rem; }

/* ---- the feature: a story set like a magazine piece ------------------- */
.feature__header { position: relative; background: var(--cinema); color: var(--cinema-text); overflow: hidden; min-height: min(66svh, 42rem); display: flex; align-items: flex-end; }
.feature__header img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0.8; filter: contrast(1.05) saturate(1.05) brightness(0.95); transform-origin: 50% 40%; animation: pushin 30s ease-out both; }
.feature__header .vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,13,0.6) 0%, rgba(8,7,13,0.05) 30%, rgba(8,7,13,0.88) 82%, #08070d 100%); }
.feature__header .titles { position: relative; z-index: 1; width: 100%; max-width: 82rem; margin: 0 auto; padding: clamp(5rem, 12vh, 8rem) 1.6rem clamp(2.6rem, 6vh, 4rem); }
.feature__header .titles > * { animation: titleup 1.4s cubic-bezier(.16,.6,.2,1) both; }
.feature__header .titles > :nth-child(2) { animation-delay: 0.5s; }
.feature__header .titles > :nth-child(3) { animation-delay: 1s; }
.feature__kicker { display: block; color: var(--stagelight); font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.feature__header h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: 1.04; max-width: 18ch; margin: 0 0 0.9rem; color: #ffffff; }
.feature__standfirst { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--cinema-text); max-width: 46ch; font-family: var(--serif); font-style: italic; font-weight: 300; }
.feature__byline { color: var(--cinema-soft); font-size: 0.9rem; letter-spacing: 0.06em; }
.feature__body { max-width: 44rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 1.4rem 3rem; font-size: 1.08rem; line-height: 1.85; }
.feature__body > p:first-of-type::first-letter { font-family: var(--serif); font-weight: 300; font-size: 4.4em; line-height: 0.8; float: left; padding: 0.08em 0.12em 0 0; color: var(--stagelight-deep); }
.feature__body p { margin: 1.15rem 0; }
.feature__rule { border: 0; width: 4rem; height: 2px; background: var(--stagelight); margin: 2.6rem auto; }
.pullquote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35; color: var(--ink); border: 0; margin: 2.8rem 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--stagelight); }
.feature__figure { margin: 2.8rem -1.4rem; }
@media (min-width: 60rem) { .feature__figure { margin: 3rem -6rem; } }
.feature__figure img { width: 100%; display: block; border-radius: 16px; box-shadow: 0 26px 60px -30px rgba(8,7,13,0.55); }
.feature__figure figcaption { text-align: center; color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.7rem; letter-spacing: 0.04em; }
.feature__close { text-align: center; padding: 0 1.4rem clamp(3rem, 7vw, 5rem); }

/* ---- the essay (legacy) ----------------------------------------------- */
.essay p { margin: 1rem 0; }
.essay .byline { color: var(--ink-soft); font-style: italic; }

/* ---- footer ----------------------------------------------------------- */
footer { border-top: 1px solid var(--line); margin-top: 3.5rem; padding-top: 1.7rem; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.75; }
.band--stage footer, footer.on-stage { border-color: var(--line-dark); color: var(--light-soft); }
footer.on-stage { margin-top: 0; }

/* ---- the live room --------------------------------------------------- */
.room { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.room video { width: 100%; aspect-ratio: 4 / 3; background: var(--night-2); border-radius: 12px; object-fit: cover; }
@media (max-width: 40rem) { .room { grid-template-columns: 1fr; } }

/* ---- choreography: reveals that never hide the page ------------------- */
@supports (animation-timeline: view()) {
  .band__inner > *, .ledger li, .bill li, .screens .screen, .split figure, .split > div, .roster li, .feature__figure, .pullquote {
    animation: rise both; animation-timeline: view(); animation-range: entry 0% entry 65%;
  }
  @keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
}

/* ---- signed-in lists: actions stand in a level row, compact ------------ */
main ul { list-style: none; padding-left: 0; }
main ul li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.8rem; margin: 0 0 1.1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
main li form { margin: 0; }
/* single-button actions stand in one level cluster on the row's right */
main li > form:has(> button:only-child) { margin-left: 0.7rem; }
main li > form:has(> button:only-child):first-of-type { margin-left: auto; }
/* a form with fields takes its own full row beneath */
main li > form:has(input, select) { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
main li > form:has(input, select) label { margin: 0; }
main li button { margin: 0; padding: 0.45rem 1.15rem; font-size: 0.8rem; }
main li input[type="date"] { display: inline-block; width: auto; max-width: 11rem; margin-right: 0.6rem; padding: 0.45rem 0.8rem; vertical-align: middle; }
main li label { display: inline-block; margin: 0.3rem 0.7rem 0.2rem 0; font-size: 0.85rem; }

/* ---- back to the top --------------------------------------------------- */
.totop { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 20; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--cinema); color: var(--stagelight); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.05rem; border: 1px solid rgba(233,168,98,0.5); box-shadow: 0 12px 30px -12px rgba(8,7,13,0.6); transition: transform 200ms ease; }
.totop:hover { transform: translateY(-3px); color: var(--stagelight); }
@supports (animation-timeline: scroll()) {
  .totop { animation: topfade linear both; animation-timeline: scroll(); animation-range: 120px 480px; }
  @keyframes topfade { from { opacity: 0; pointer-events: none; } to { opacity: 1; pointer-events: auto; } }
}

/* ---- the privacy notice ------------------------------------------------ */
.notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--cinema); color: var(--cinema-text); border-top: 1px solid rgba(233,168,98,0.4); box-shadow: 0 -14px 40px -20px rgba(8,7,13,0.7); }
.notice__inner { max-width: 82rem; margin: 0 auto; padding: 1rem 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem 2.5rem; align-items: center; justify-content: space-between; }
.notice p { margin: 0; max-width: 68ch; font-size: 0.9rem; color: var(--cinema-text); }
.notice b { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--stagelight); font-size: 1.02rem; letter-spacing: 0.01em; }
.notice a { color: var(--stagelight); }
.notice form { margin: 0; }
.notice button { margin: 0; padding: 0.6rem 1.5rem; font-size: 0.85rem; }

/* ---- the spacing pass (Philip's third edit): air around every button,
   air between words and pictures ---------------------------------------- */
.hero__cta { margin-top: 2.1rem; margin-bottom: 0.5rem; }
.hero--cinema .hero__cta { margin-top: 2rem; margin-bottom: 0.6rem; }
h2 { margin-bottom: 1rem; }
.band__lede { margin-bottom: 2.4rem; }
.band .btn { margin-top: 1rem; }
.hero__cta .btn, .notice button { margin-top: 0; }
button { margin-top: 1.4rem; }
.filters button { margin-top: 0; }
.split { gap: clamp(2.8rem, 5.5vw, 4.5rem); margin-top: 3rem; }
.split > div > .band__kicker { display: inline-block; margin-bottom: 0.3rem; }
.split figure { margin: 0.4rem 0; }
.split + .split { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.screens { gap: 3rem; margin-top: 3rem; }
.screen figcaption { margin-top: 0.9rem; }
.bill { margin: 3rem 0 1.6rem; }
.ledger { margin-top: 3rem; }
.numbers { margin-top: 3rem; }
.price { margin-top: 3rem; }
.price__inner p { max-width: 52ch; }
.feature__close p { margin: 1.2rem 0; }
.feature__close .btn { margin-top: 0.8rem; }
.hero__art { margin-top: 0.5rem; }
form label:first-of-type { margin-top: 1.4rem; }
input + button, select + button, textarea + button { margin-left: 1.2rem; }
.filters button { margin-left: 0.4rem; }

/* ---- page-to-page: a phased crossfade, never an abrupt cut ------------ */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 400ms ease both; }
::view-transition-new(root) { animation: vt-in 700ms 120ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* ---- motion respects the visitor (AW-059) ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
