/* ==========================================================================
   Rise Up Dance Competition — draft stylesheet
   Every colour and font lives in the custom properties below.
   ========================================================================== */

:root {
  /* --- Fonts. To swap in the licensed fonts, change the first two lines. --- */
  --font-display: "Libre Baskerville", "Bookmania", Georgia, serif;          /* stand-in for Bookmania */
  --font-script: "Mrs Saint Delafield", "Miss Noteworthy", cursive;          /* stand-in for Miss Noteworthy */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* --- Brand colours, sampled from the logo --- */
  --teal: #2f7875;
  --orange-script: #d56927;
  --orange-bright: #f8971d;
  --orange-mid: #f57e20;
  --magenta: #933184;
  --violet: #683393;
  --navy: #163a64;

  /* --- Dark palette built from them --- */
  --ink: #07111f;            /* near-black navy: page base */
  --sky-1: #07111f;
  --sky-2: #0a2a30;          /* deep teal */
  --sky-3: #0d3438;
  --sky-4: #14234a;          /* indigo */
  --sky-5: #2b1a52;          /* violet */
  --sky-6: #3f1c4d;          /* magenta dusk */
  --sky-7: #4a2319;          /* ember */
  --surface: rgba(244, 238, 228, 0.045);
  --surface-strong: rgba(7, 17, 31, 0.55);
  --line: rgba(244, 238, 228, 0.16);
  --line-strong: rgba(244, 238, 228, 0.34);
  --teal-light: #6fc2bc;     /* lighter step of teal, for lines and small labels */

  --cream: #f4eee4;          /* text */
  --cream-soft: #d3ccbf;     /* secondary text */
  --muted: #a9a59c;          /* closed / greyed text (still AA on the dark palette) */
  --accent: var(--orange-bright);
  --gold-1: #ffc34d;         /* Register button */
  --gold-2: #f8971d;
  --gold-ink: #1c1004;
  --pill-1: #bd5210;         /* gradient pill: deep orange into purple, dark enough for white text */
  --pill-2: #933184;
  --pill-3: #683393;
  --review: #ff5ad1;

  --max: 70rem;
  --prose: 44rem;
  --gutter: 1.25rem;
  --header-h: 4.5rem;
  --radius: 14px;
  --p: 0;                    /* scroll progress 0..1, set by js/main.js */
}

@media (min-width: 700px) { :root { --gutter: 2rem; } }
@media (min-width: 1120px) { :root { --gutter: 6rem; --header-h: 5.5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--gold-1); }
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--cream); color: var(--ink); padding: 0.75rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* ---------- Scroll-shifting twilight background ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.sky__grad {
  height: 400%;
  background: linear-gradient(180deg,
    var(--sky-1) 0%, var(--sky-2) 20%, var(--sky-3) 34%, var(--sky-4) 52%,
    var(--sky-5) 70%, var(--sky-6) 86%, var(--sky-7) 100%);
  transform: translate3d(0, calc(var(--p) * -75%), 0);
  will-change: transform;
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.4vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.3rem, 3.4vw, 1.75rem); letter-spacing: 0.03em; }
h3 { font-size: 1.125rem; letter-spacing: 0.02em; color: var(--cream); }
p, ul, ol { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
li::marker { color: var(--teal-light); }
strong { font-weight: 600; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--accent); font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1; margin: 0 0 0.2em; }
.lede { font-size: 1.2rem; color: var(--cream); }
.soft { color: var(--cream-soft); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.prose { width: min(100% - 2 * var(--gutter), var(--prose)); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 7vw, 5rem); }
.section + .section { padding-top: 0; }

/* ---------- Draft banner ---------- */
.draft { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.25rem var(--gutter); background: #0d1b2e; border-bottom: 1px solid var(--line); font-size: 0.8125rem; color: var(--cream-soft); }
.draft-off .draft { display: none; }
.draft p { margin: 0; }
.draft strong { color: var(--cream); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; margin-right: 0.4em; }
.draft button { min-height: 44px; min-width: 44px; padding: 0 0.75rem; background: none; border: 0; color: var(--cream); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(7, 17, 31, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__in { position: relative; display: flex; align-items: center; gap: 0.5rem; height: var(--header-h); padding-inline: 0.75rem; }
.brand { order: 1; display: block; flex: none; margin-right: auto; margin-inline-start: -0.9rem; }
/* The logo file has transparent margins; it is shown whole, never cropped. */
.brand img { display: block; height: calc(var(--header-h) - 0.5rem); width: auto; }

.elev-mini { order: 2; display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--teal-light); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 4.4rem; justify-content: flex-end; margin-right: 0.25rem; }
@media (max-width: 349px) { .elev-mini { display: none; } }

.register {
  order: 3; flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.15rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--gold-ink); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 195, 77, 0.35), 0 6px 22px -8px rgba(248, 151, 29, 0.8);
}
.register:hover { color: var(--gold-ink); filter: brightness(1.07); }

.menu-btn { order: 4; flex: none; width: 44px; height: 44px; display: inline-grid; place-items: center; background: none; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--cream); cursor: pointer; }
.menu-btn__bars { display: grid; gap: 5px; width: 18px; }
.menu-btn__bars span { height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
html:not(.js) .menu-btn { display: none; }

.nav { order: 5; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { color: var(--cream); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); }
.sub-btn { background: none; border: 0; color: var(--cream); cursor: pointer; display: inline-grid; place-items: center; }

/* Phone / tablet: the nav is a panel under the header */
@media (max-width: 1119.98px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; background: #091627; border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1.5rem; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  html:not(.js) .nav { position: static; }
  html:not(.js) .site-header__in { height: auto; flex-wrap: wrap; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav a { display: flex; align-items: center; min-height: 52px; font-size: 1.0625rem; }
  .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .sub-btn { display: none; }
  .sub { grid-column: 1 / -1; padding: 0 0 0.5rem 1rem !important; }
  .sub a { min-height: 46px; font-size: 0.975rem; color: var(--cream-soft); }
}

/* Desktop nav */
@media (min-width: 1120px) {
  .site-header__in { padding-inline: 1.5rem; gap: 1rem; }
  .brand { margin-right: 0; }
  .menu-btn, .elev-mini { display: none; }
  .nav { order: 2; margin-left: auto; }
  .nav__list { display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.6rem); }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; letter-spacing: 0.02em; white-space: nowrap; }
  .nav__list > li > a:hover, .nav__list > li > a[aria-current="page"] { color: var(--accent); }
  .has-sub { position: relative; display: flex; align-items: center; }
  .sub-btn { width: 28px; height: 44px; margin-left: 0.1rem; }
  .sub-btn svg { transition: transform 0.2s; }
  .sub { position: absolute; top: 100%; left: -1rem; min-width: 19rem; padding: 0.5rem !important; background: #0b1a2d; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); display: none; }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { display: block; }
  .has-sub.is-closed .sub { display: none; }
  .has-sub.is-open .sub-btn svg { transform: rotate(180deg); }
  .sub a { display: flex; padding: 0 0.85rem; border-radius: 8px; white-space: normal; }
  .sub a:hover { background: var(--surface); color: var(--accent); }
  .register { order: 3; padding: 0 1.5rem; min-height: 46px; }
}

/* ---------- Elevation counter (desktop margin) ---------- */
.elev { display: none; }
@media (min-width: 1120px) {
  .elev { position: fixed; right: 1.75rem; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; justify-items: center; gap: 0.7rem; color: var(--teal-light); pointer-events: none; }
  .elev__num { font-size: 0.75rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--cream); white-space: nowrap; }
  .elev__track { position: relative; width: 1px; height: 9.5rem; background: var(--line-strong); }
  .elev__dot { position: absolute; left: 50%; bottom: calc(var(--p) * 100%); width: 7px; height: 7px; margin: 0 0 -3.5px -3.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(248, 151, 29, 0.18); }
  .elev__label { writing-mode: vertical-rl; font-size: 0.625rem; letter-spacing: 0.34em; text-transform: uppercase; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.6rem; border-radius: 999px; border: 0;
  background: linear-gradient(100deg, var(--pill-1) 0%, var(--pill-2) 62%, var(--pill-3) 100%);
  color: #fff; font: 600 1rem/1 var(--font-body); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px -14px rgba(147, 49, 132, 0.9);
  transition: filter 0.2s, transform 0.2s;
}
.btn:hover { color: #fff; }
@media (hover: hover) { .btn:not([disabled]):not([aria-disabled="true"]):hover { filter: brightness(1.12); transform: translateY(-1px); } }
.btn--ghost { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--cream); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--cream); color: var(--cream); }
.btn[disabled], .btn[aria-disabled="true"] { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); cursor: not-allowed; transform: none; filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- Thin-line mountains ---------- */
.ridge { display: block; width: 100%; height: clamp(56px, 9vw, 120px); }
.ridge path, .hero__ridge path { fill: none; stroke-width: 1.15; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ridge__far { stroke: var(--orange-script); opacity: 0.55; }
.ridge__mid { stroke: var(--teal-light); opacity: 0.75; }
.ridge__near { stroke: var(--teal-light); opacity: 0.4; }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(calc(100vh - var(--header-h)), 54rem); min-height: min(calc(100svh - var(--header-h)), 54rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(7, 17, 31, 0.84) 0%, rgba(7, 17, 31, 0.76) 52%, rgba(7, 17, 31, 0.56) 74%, rgba(7, 17, 31, 0.72) 88%, var(--sky-1) 100%); }
.hero__ridge { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: clamp(170px, 30vw, 380px); }
.hero__ridge .r-back { stroke: var(--teal-light); opacity: 0.6; }
.hero__ridge .r-far { stroke: var(--orange-bright); opacity: 0.5; }
.hero__ridge .r-front { stroke: var(--cream); opacity: 0.9; }
.hero__ridge .r-facet { stroke: var(--cream); opacity: 0.35; }
.hero__in { text-align: center; padding-top: clamp(2rem, 6vw, 4rem); padding-bottom: clamp(190px, 32vw, 400px); }
.hero h1 { margin-bottom: 0.35em; }
.hero .script { font-size: clamp(2.5rem, 8vw, 4rem); }
.hero__meta { display: grid; gap: 0.15rem; font-size: 1.0625rem; margin: 0 0 0.25rem; }
.hero__dates { font-family: var(--font-display); font-size: clamp(1.25rem, 3.6vw, 1.7rem); letter-spacing: 0.04em; }
.hero__venue { color: var(--cream-soft); }
.hero .btn-row { justify-content: center; }

/* ---------- Inner page head ---------- */
.page-head { padding-top: clamp(2.5rem, 8vw, 5.5rem); text-align: center; }
.page-head .script { margin-bottom: 0.15em; }
.page-head h1 { margin-bottom: 0; }
.page-head + .ridge { margin-top: clamp(0.5rem, 2vw, 1.5rem); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1rem; list-style: none; padding: 0; margin-block: 0; }
.cards > li { margin: 0; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards--2 { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s, background 0.2s; }
.card:hover { border-color: var(--line-strong); background: rgba(244, 238, 228, 0.07); }
.card h2, .card h3 { font-size: 1.25rem; margin-bottom: 0.5em; }
.card p { color: var(--cream-soft); margin-bottom: 1rem; font-size: 1rem; }
.card__link { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card__link span { margin-left: 0.4em; transition: transform 0.2s; }
.card:hover .card__link span { transform: translateX(4px); }

.panel { padding: clamp(1.25rem, 4vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel > :last-child { margin-bottom: 0; }
.note { padding: 1.1rem 1.25rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--cream); }
.note > :last-child { margin-bottom: 0; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 0.75rem; }

.split { display: grid; gap: 2rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; } }

.philosophy { font-family: var(--font-display); font-size: clamp(1.125rem, 2.6vw, 1.4rem); line-height: 1.85; }
.philosophy p { margin: 0; }

/* ---------- Placeholder stock photos (T24 / N06) ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 17, 31, 0.08) 0%, rgba(7, 17, 31, 0.1) 55%, rgba(7, 17, 31, 0.5) 100%); }
.band .photo { aspect-ratio: 16 / 10; }
@media (min-width: 760px) { .band .photo { aspect-ratio: 21 / 9; } }
.mosaic { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.mosaic .photo { aspect-ratio: 4 / 5; }
.mosaic .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mosaic .photo:nth-child(3) img { object-position: 27% 50%; } /* keep the dancer in frame when cropped tall */
@media (min-width: 760px) {
  .mosaic { grid-template-columns: 1.5fr 1fr 1fr; gap: 1rem; }
  .mosaic .photo, .mosaic .photo:first-child { grid-column: auto; aspect-ratio: auto; height: clamp(16rem, 30vw, 24rem); }
}

/* ---------- Fuller page furniture: ledes, section heads, feature tiles, steps ---------- */
.center { text-align: center; }
.display { font-size: clamp(1.6rem, 4.6vw, 2.5rem); letter-spacing: 0; line-height: 1.18; }
.page-head__lede { max-width: 40rem; margin: 1.1rem auto 0; font-size: 1.125rem; color: var(--cream-soft); text-wrap: pretty; }
.section-head { max-width: 44rem; margin-bottom: 1.75rem; }
.section-head .lede { margin-bottom: 0; }
.btn-row--center { justify-content: center; }
.panel--gap { margin-top: 1rem; }
.panel--feature { padding: clamp(1.75rem, 6vw, 3.5rem); text-align: center; background: linear-gradient(135deg, rgba(104, 51, 147, 0.28), rgba(47, 120, 117, 0.16)); overflow: hidden; }
.panel--feature .lede { max-width: 42rem; margin-inline: auto; }
.panel--feature .btn-row { justify-content: center; }

.features ul, .steps ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.85rem; }
@media (min-width: 640px) { .features ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features--3 ul { grid-template-columns: repeat(3, 1fr); } .steps--3 ul { grid-template-columns: repeat(3, 1fr); } }
.features li, .steps li { position: relative; margin: 0; padding: 1.35rem 1.35rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--cream-soft); font-size: 1rem; line-height: 1.6; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s; }
.features li strong, .steps li strong { display: block; margin-bottom: 0.4rem; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; color: var(--cream); }
.features li::before, .steps li::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--orange-bright), var(--magenta), var(--violet)); transform: scaleX(0.14); transform-origin: 0 50%; transition: transform 0.7s var(--ease); }
.steps ul { counter-reset: step; }
.steps li { padding-left: 4rem; }
.steps li::after { counter-increment: step; content: counter(step); position: absolute; left: 1.25rem; top: 1.2rem; width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font: 600 0.875rem var(--font-body); color: var(--accent); transition: background 0.4s, color 0.4s, border-color 0.4s; }

/* ---------- Prose from the client outline ---------- */
.copy h2 { margin-top: 2.2em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.copy > h2:first-child, .copy .acc__body > :first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.copy h3 { margin-top: 1.8em; color: var(--teal-light); }
.copy .panel h2, .copy .note h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.copy > .panel, .copy > .note, .copy > div { margin-bottom: 1.5rem; }
.copy > h3:first-child, .copy > div > h3:first-child { margin-top: 0; }
.copy ul { margin-bottom: 1.3em; }

/* ---------- Deadlines ---------- */
.deadlines { list-style: none; padding: 0; margin: 0 0 1.5em; border-top: 1px solid var(--line); }
.deadlines li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.75rem; margin: 0; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.dl__label { font-weight: 600; flex: 1 1 15rem; }
.dl__date { color: var(--cream-soft); }
.is-closed .dl__label, .is-closed .dl__date, li.is-closed { color: var(--muted); }
.tag { display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.6rem; border-radius: 999px; font: 600 0.6875rem/1.7 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; vertical-align: 0.1em; white-space: nowrap; }
.tag--closed { border: 1px solid var(--muted); color: var(--muted); }
.tag--open { border: 1px solid var(--teal-light); color: var(--teal-light); }

/* ---------- Accordions ---------- */
.acc-tools { display: flex; justify-content: flex-end; margin-bottom: 0.75rem; }
.acc-tools button { min-height: 44px; padding: 0 1rem; background: none; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--cream); font: 500 0.875rem var(--font-body); cursor: pointer; }
.acc-tools button:hover { border-color: var(--cream); }
html:not(.js) .acc-tools { display: none; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 0.75rem 0; cursor: pointer; list-style: none; }
.acc > summary::-webkit-details-marker { display: none; }
.copy .acc > summary h2, .acc > summary h2 { margin: 0; padding: 0; border: 0; font-size: clamp(1.05rem, 3vw, 1.35rem); }
.acc > summary::after { content: ""; flex: none; width: 14px; height: 14px; background:
  linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat,
  linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat; transition: transform 0.2s; }
.acc[open] > summary::after { background: linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat; }
.acc > summary:hover h2 { color: var(--accent); }
.acc__body { padding: 0.5rem 0 2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; background: rgba(7, 17, 31, 0.55); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--cream); font: inherit; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 1px; border-color: transparent; }
.form__note { padding: 0.9rem 1.1rem; border-left: 3px solid var(--accent); background: var(--surface-strong); border-radius: 0 10px 10px 0; }
.form__note > :last-child { margin-bottom: 0; }
.email-plain { font-size: clamp(1.02rem, 4.4vw, 1.3rem); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(3rem, 8vw, 6rem); }
.site-footer__in { background: linear-gradient(180deg, rgba(7, 17, 31, 0) 0%, rgba(7, 17, 31, 0.38) 30%, rgba(7, 17, 31, 0.5) 100%); padding: clamp(2rem, 6vw, 4rem) var(--gutter) 2rem; }
.footer__cols { display: grid; gap: 2rem; width: min(100%, var(--max)); margin-inline: auto; }
@media (min-width: 760px) { .footer__cols { grid-template-columns: auto minmax(18.5rem, 1.2fr) 1fr; gap: 2.5rem; align-items: start; } }
.footer__logo img { display: block; width: 13.5rem; margin: -0.5rem 0 0 -2.2rem; }
.footer__h { font: 600 0.75rem var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 1rem; }
.footer__contact p { margin-bottom: 0.6em; }
.footer__contact a { overflow-wrap: anywhere; }
.footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.footer__nav li { margin: 0; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none; }
.footer__nav a:hover { color: var(--accent); }

.statement { text-align: center; margin-top: clamp(3rem, 9vw, 6rem); }
.statement__script { margin-bottom: 0; }
.statement__dates {
  margin: 0.1em 0 0; font-family: var(--font-display); font-weight: 700; text-wrap: balance;
  font-size: 15.5vw; line-height: 1.08; letter-spacing: 0.01em; color: var(--cream);
}
@supports (-webkit-text-stroke: 1px black) {
  .statement__dates { color: transparent; -webkit-text-stroke: clamp(1px, 0.16vw, 2.25px) var(--cream); }
}
@media (min-width: 700px) { .statement__dates { white-space: nowrap; font-size: clamp(3rem, 8.3vw, 9.25rem); line-height: 1.15; } }
.statement__where { margin: 0.5rem 0 1.5rem; color: var(--cream-soft); letter-spacing: 0.04em; }
.footer__fine { margin: 3rem 0 0; text-align: center; font-size: 0.8125rem; color: var(--cream-soft); }

/* ---------- Review mode (?review=1) ---------- */
html.review [data-todo] { outline: 1.5px dashed var(--review); outline-offset: 2px; }
.todo-badge { position: absolute; z-index: 90; padding: 0 5px; background: var(--review); color: #1a0214; font: 700 10px/16px var(--font-body); letter-spacing: 0.04em; border-radius: 3px; pointer-events: none; white-space: nowrap; }
.todo-badge--fixed { position: fixed; }
.review-bar { position: fixed; left: 0.75rem; bottom: 0.75rem; z-index: 95; max-width: calc(100% - 1.5rem); padding: 0.35rem 0.7rem; background: var(--review); color: #1a0214; font: 600 12px/1.5 var(--font-body); border-radius: 6px; }

/* ==========================================================================
   The "feel" layer: calm motion, touch feedback, sound toggle.
   All of it sits behind html.motion (set only when the visitor has not asked
   for reduced motion) so the plain site is untouched without it.
   ========================================================================== */
:root { --ease: cubic-bezier(0.22, 0.7, 0.2, 1); }

/* Smooth cross-fade between pages (browsers that support it) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 0.35s ease both; }
  ::view-transition-new(root) { animation: vt-in 0.6s ease both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Reveal on scroll */
html.motion [data-reveal] { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
html.motion [data-reveal].is-in { opacity: 1; transform: none; }
html.motion .ridge[data-reveal] { opacity: 1; transform: none; clip-path: inset(-10% 100% -10% 0); transition: clip-path 2.6s var(--ease); }
html.motion .ridge[data-reveal].is-in { clip-path: inset(-10% 0 -10% 0); }
html.motion .photo[data-reveal] img { transform: scale(1.09); transition: transform 2.8s var(--ease); }
html.motion .photo[data-reveal].is-in img { transform: scale(1); }
@media (hover: hover) { html.motion .photo.is-in:hover img { transform: scale(1.035); transition-duration: 1.6s; } }

/* Hero: the scene assembles itself */
@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes write-on { from { clip-path: inset(-40% 100% -40% -6%); } to { clip-path: inset(-40% -6% -40% -6%); } }
@keyframes wipe-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: scale(1.05) translate3d(0, 0, 0); } to { transform: scale(1.13) translate3d(-1.2%, -1.5%, 0); } }
html.motion .hero__in > * { animation: rise-in 1.2s var(--ease) both; }
html.motion .hero__in > .script { animation: write-on 1.9s 0.25s var(--ease) both; }
html.motion .hero__in > h1 { animation-delay: 0.5s; }
html.motion .hero__in > .hero__meta { animation-delay: 0.8s; }
html.motion .hero__in > .btn-row { animation-delay: 1.05s; }
html.motion .hero__bg img { animation: drift 38s ease-in-out infinite alternate; transform-origin: 50% 70%; }
html.motion .hero__ridge .r-far { animation: wipe-in 3.2s 0.2s var(--ease) both; }
html.motion .hero__ridge .r-back { animation: wipe-in 3.2s 0.5s var(--ease) both; }
html.motion .hero__ridge .r-front { animation: wipe-in 3.4s 0.8s var(--ease) both; }
html.motion .hero__ridge .r-facet { animation: fade-in 1.6s 3.2s ease both; }
html.motion .hero__ridge image { animation: fade-in 2.2s 2.6s ease both; }

/* Twilight that breathes: two slow glows and rising motes of light */
.sky::before, .sky::after { content: ""; position: absolute; z-index: 1; width: 70vmax; height: 70vmax; border-radius: 50%; pointer-events: none; opacity: 0.5; }
.sky::before { left: -25vmax; top: 5%; background: radial-gradient(closest-side, rgba(47, 120, 117, 0.3), transparent); }
.sky::after { right: -28vmax; bottom: -10%; background: radial-gradient(closest-side, rgba(147, 49, 132, 0.26), transparent); }
@keyframes glow-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(14vmax, 8vmax, 0) scale(1.15); } }
@keyframes glow-b { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-12vmax, -10vmax, 0) scale(0.95); } }
html.motion .sky::before { animation: glow-a 46s ease-in-out infinite alternate; }
html.motion .sky::after { animation: glow-b 58s ease-in-out infinite alternate; }
.motes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.motes span { position: absolute; bottom: -12px; border-radius: 50%; background: var(--cream); opacity: 0; filter: blur(0.5px); animation: mote linear infinite; will-change: transform, opacity; }
.motes span.warm { background: var(--orange-bright); }
@keyframes mote {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: var(--peak, 0.4); }
  80% { opacity: var(--peak, 0.4); }
  100% { transform: translate3d(var(--sway, 20px), -108vh, 0); opacity: 0; }
}

/* Buttons you can feel: they give under a press, and light passes across them */
.btn, .register, .menu-btn, .acc-tools button, .sound-btn { transition: transform 0.25s var(--ease), filter 0.25s, box-shadow 0.35s, border-color 0.25s, color 0.25s; -webkit-tap-highlight-color: transparent; }
.btn:active, .register:active, .menu-btn:active, .acc-tools button:active, .sound-btn:active { transform: scale(0.96); transition-duration: 0.08s; }
.btn:not([disabled]):not(.btn--ghost), .register { position: relative; overflow: hidden; }
.btn:not([disabled]):not(.btn--ghost)::after, .register::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent); transform: skewX(-18deg); pointer-events: none; opacity: 0; }
@keyframes sheen { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 60% { left: 120%; opacity: 0; } 100% { left: 120%; opacity: 0; } }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 195, 77, 0.35), 0 6px 22px -8px rgba(248, 151, 29, 0.8); } 50% { box-shadow: 0 0 0 1px rgba(255, 195, 77, 0.55), 0 8px 34px -6px rgba(248, 151, 29, 1); } }
html.motion .register { animation: breathe 5.5s ease-in-out infinite; }
html.motion .register::after { animation: sheen 7s 2s ease-in-out infinite; }
@media (hover: hover) { html.motion .btn:not([disabled]):not(.btn--ghost):hover::after { animation: sheen 1.4s ease-out; } }

/* Cards: lift a little, and a soft light follows the pointer */
.card, .panel { transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease), box-shadow 0.5s; }
@media (hover: hover) {
  html.motion .card:hover { transform: translate3d(0, -4px, 0); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.9); }
  html.motion .card::before, html.motion .panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.5s; background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(248, 151, 29, 0.13), transparent 60%); }
  html.motion .card:hover::before, html.motion .panel:hover::before { opacity: 1; }
}
.panel { position: relative; }
html.motion .card:active { transform: scale(0.985); transition-duration: 0.1s; }

/* Links and nav: underlines that glide in */
.nav__list > li > a, .footer__nav a { background: linear-gradient(var(--accent), var(--accent)) 0 calc(100% - 0.55rem) / 0 1px no-repeat; transition: background-size 0.45s var(--ease), color 0.25s; }
@media (min-width: 1120px) { .nav__list > li > a:hover, .nav__list > li > a[aria-current="page"], .footer__nav a:hover { background-size: 100% 1px; } }

/* Accordions open like a breath */
@keyframes acc-in { from { opacity: 0; transform: translate3d(0, -8px, 0); } to { opacity: 1; transform: none; } }
html.motion .acc[open] > .acc__body { animation: acc-in 0.6s var(--ease); }
.acc > summary::after { transition: transform 0.4s var(--ease); }
.acc[open] > summary::after { transform: rotate(180deg); }
.acc > summary h2 { transition: color 0.25s; }

/* Form fields warm up when you are in them */
.field input, .field textarea { transition: border-color 0.3s, box-shadow 0.4s, background 0.3s; }
.field input:focus, .field textarea:focus { background: rgba(7, 17, 31, 0.75); box-shadow: 0 0 0 4px rgba(248, 151, 29, 0.14); }

/* Deadlines and tags */
.tag--open { position: relative; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111, 194, 188, 0.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(111, 194, 188, 0); } }
html.motion .tag--open { animation: ping 3.2s ease-out infinite; }

/* The summit: the footer dates take on the sunset as you arrive */
.statement__dates { background: linear-gradient(90deg, var(--gold-1), var(--orange-mid) 30%, var(--magenta) 68%, var(--violet)) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
html.motion .statement__dates { transition: opacity 1s var(--ease), transform 1.1s var(--ease), background-size 3.4s 0.5s var(--ease); }
html.motion.at-summit .statement__dates.is-in { background-size: 100% 100%; }
@keyframes summit-pulse { 0% { box-shadow: 0 0 0 4px rgba(248, 151, 29, 0.18); } 50% { box-shadow: 0 0 0 12px rgba(248, 151, 29, 0); } 100% { box-shadow: 0 0 0 4px rgba(248, 151, 29, 0.18); } }
html.motion.at-summit .elev__dot { animation: summit-pulse 2.4s ease-out infinite; background: var(--gold-1); }
.elev__num, .elev-mini { transition: color 0.6s; }
.at-summit .elev__num, .at-summit .elev-mini { color: var(--gold-1); }

/* Sound toggle */
.sound-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 44px; min-height: 44px; padding: 0; background: rgba(7, 17, 31, 0.55); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--cream-soft); font: 500 0.875rem var(--font-body); cursor: pointer; }
.sound-btn:hover, .sound-btn[aria-pressed="true"] { color: var(--gold-1); border-color: var(--gold-1); }
.sound-btn .sound-wave { display: none; }
.sound-btn[aria-pressed="true"] .sound-wave { display: inline; }
.sound-btn[aria-pressed="true"] .sound-x { display: none; }
.sound-btn--float { display: none; position: fixed; right: 1.05rem; bottom: 1.25rem; z-index: 41; }
.sound-btn--menu { margin-top: 1rem; padding: 0 1.1rem; }
html:not(.js) .sound-btn { display: none; }
@media (min-width: 1120px) { .sound-btn--float { display: inline-flex; } .sound-btn--menu { display: none; } }
@keyframes wave { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
html.motion .sound-btn[aria-pressed="true"] .sound-wave { animation: wave 2.4s ease-in-out infinite; }

/* ---- More movement as you travel and as the cursor lands on things ---- */

/* Scroll progress: a hairline of sunset along the bottom of the header */
.site-header__in::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--teal-light), var(--orange-bright), var(--magenta)); transform: scaleX(var(--p)); transform-origin: 0 50%; pointer-events: none; }

/* Page heads: the same entrance on every page, with a short rule that grows under the title */
.page-head h1::after { content: ""; display: block; width: 4.5rem; height: 2px; margin: 0.9rem auto 0; background: linear-gradient(90deg, var(--orange-bright), var(--magenta)); border-radius: 2px; transform-origin: 50% 50%; }
@keyframes rule-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.motion .page-head h1::after { animation: rule-grow 1.4s 0.5s var(--ease) both; }
html.motion .page-head .script[data-reveal] { opacity: 1; transform: none; }
html.motion .page-head .script[data-reveal].is-in { animation: write-on 1.7s var(--ease) both; }

/* Lists arrive one line at a time */
html.motion ul[data-reveal] > li { opacity: 0; transform: translate3d(-10px, 0, 0); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), border-color 0.4s, background 0.4s; }
html.motion ul[data-reveal].is-in > li { opacity: 1; transform: none; }
html.motion ul[data-reveal].is-in > li:nth-child(2) { transition-delay: 70ms; }
html.motion ul[data-reveal].is-in > li:nth-child(3) { transition-delay: 140ms; }
html.motion ul[data-reveal].is-in > li:nth-child(4) { transition-delay: 210ms; }
html.motion ul[data-reveal].is-in > li:nth-child(5) { transition-delay: 280ms; }
html.motion ul[data-reveal].is-in > li:nth-child(6) { transition-delay: 350ms; }
html.motion ul[data-reveal].is-in > li:nth-child(7) { transition-delay: 420ms; }
html.motion ul[data-reveal].is-in > li:nth-child(n+8) { transition-delay: 490ms; }
html.motion .features ul.is-in > li::before, html.motion .steps ul.is-in > li::before { transform: scaleX(0.14); }

/* Photos drift a little against the scroll (where the browser supports it) */
@supports (animation-timeline: view()) {
  @keyframes parallax { from { transform: translate3d(0, -5%, 0) scale(1.14); } to { transform: translate3d(0, 5%, 0) scale(1.14); } }
  html.motion .photo img { animation: parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
}

/* Cursor: a soft lantern of light that follows the pointer behind the content */
.lantern { position: absolute; left: -17rem; top: -17rem; z-index: 3; width: 34rem; height: 34rem; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 1.2s; background: radial-gradient(closest-side, rgba(248, 151, 29, 0.11), rgba(147, 49, 132, 0.06) 55%, transparent); will-change: transform; }
.lantern.is-on { opacity: 1; }

/* Hero: the ridgelines lean gently toward the pointer */
.hero__ridge path, .hero__ridge image { transition: transform 1.4s var(--ease); }
.hero__ridge .r-far { transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -3px), 0); }
.hero__ridge .r-back { transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -6px), 0); }
.hero__ridge .r-front, .hero__ridge .r-facet, .hero__ridge image { transform: translate3d(calc(var(--px, 0) * -32px), calc(var(--py, 0) * -10px), 0); }
.hero__in { transform: translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 4px), 0); transition: transform 1.6s var(--ease); }

/* Hover: every kind of element answers the cursor in the same quiet way */
@media (hover: hover) {
  .features li:hover, .steps li:hover { transform: translate3d(0, -4px, 0); border-color: var(--line-strong); background: rgba(244, 238, 228, 0.07); }
  .features li:hover::before, .steps li:hover::before,
  html.motion .features ul.is-in > li:hover::before, html.motion .steps ul.is-in > li:hover::before { transform: scaleX(1); }
  .steps li:hover::after { background: var(--accent); border-color: var(--accent); color: var(--gold-ink); }
  .deadlines li { transition: padding 0.45s var(--ease), background 0.4s; background: linear-gradient(90deg, rgba(248, 151, 29, 0.09), transparent 70%) 0 0 / 0% 100% no-repeat; }
  .deadlines li:hover { padding-left: 0.85rem; background-size: 100% 100%; }
  .acc > summary h2 { transition: color 0.25s, transform 0.45s var(--ease); }
  .acc > summary:hover h2 { transform: translate3d(8px, 0, 0); }
  .acc > summary:hover::after { transform: rotate(90deg); }
  .acc[open] > summary:hover::after { transform: rotate(180deg) scale(1.2); }
  .photo { transition: border-color 0.5s, box-shadow 0.6s; }
  .photo:hover { border-color: rgba(248, 151, 29, 0.55); box-shadow: 0 26px 60px -30px rgba(248, 151, 29, 0.55); }
  .note { transition: border-color 0.4s, background 0.4s; }
  .note:hover { border-color: var(--accent); background: rgba(248, 151, 29, 0.05); }
  .brand img, .footer__logo img { transition: transform 0.7s var(--ease), filter 0.7s; }
  .brand:hover img, .footer__logo:hover img { transform: scale(1.05) translate3d(0, -1px, 0); filter: drop-shadow(0 6px 18px rgba(248, 151, 29, 0.35)); }
  main a:not(.btn):not(.card__link), .footer__contact a { text-decoration-thickness: 1px; transition: color 0.25s, text-decoration-thickness 0.25s, text-underline-offset 0.25s; }
  main a:not(.btn):not(.card__link):hover, .footer__contact a:hover { text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
  .copy li, .acc__body li { transition: transform 0.4s var(--ease), color 0.3s; }
  .copy li:hover, .acc__body li:hover { transform: translate3d(4px, 0, 0); color: #fff; }
  .features li:hover, .steps li:hover { color: var(--cream); }
  .btn--ghost { transition: transform 0.25s var(--ease), box-shadow 0.35s, background 0.35s, color 0.25s; }
  .btn--ghost:hover { background: rgba(244, 238, 228, 0.07); transform: translateY(-1px); }
  .statement__dates { cursor: default; }
  html.motion .statement:hover .statement__script { transform: translate3d(0, -3px, 0); }
  .statement__script { transition: transform 0.8s var(--ease), opacity 1s var(--ease); }
  .elev-mini svg, .card__link span { transition: transform 0.4s var(--ease); }
}
@media (min-width: 1120px) {
  @keyframes drop { from { opacity: 0; transform: translate3d(0, -8px, 0); } to { opacity: 1; transform: none; } }
  html.motion .has-sub:hover .sub, html.motion .has-sub:focus-within .sub, html.motion .has-sub.is-open .sub { animation: drop 0.4s var(--ease); }
  .sub a { transition: background 0.3s, color 0.25s, padding 0.35s var(--ease); }
  .sub a:hover { padding-left: 1.15rem; }
}
/* Phone menu: links step in when the panel opens */
@keyframes menu-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@media (max-width: 1119.98px) {
  html.motion .nav.is-open .nav__list > li { animation: menu-in 0.5s var(--ease) both; }
  html.motion .nav.is-open .nav__list > li:nth-child(2) { animation-delay: 50ms; }
  html.motion .nav.is-open .nav__list > li:nth-child(3) { animation-delay: 100ms; }
  html.motion .nav.is-open .nav__list > li:nth-child(4) { animation-delay: 150ms; }
  html.motion .nav.is-open .nav__list > li:nth-child(5) { animation-delay: 200ms; }
  html.motion .nav.is-open .sound-btn { animation: menu-in 0.5s 250ms var(--ease) both; }
}

@media print { .motes, .lantern, .sound-btn { display: none !important; } [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* ---------- Reduced motion: nothing animates, background is a static gradient ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .motes, .lantern { display: none; }
  .hero__in, .hero__ridge path, .hero__ridge image { transform: none !important; }
  .sky__grad { height: 100%; transform: none; will-change: auto; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-3) 38%, var(--sky-4) 68%, var(--sky-5) 100%); }
}

/* ---------- Print ---------- */
@media print {
  .sky, .site-header, .elev, .draft, .acc-tools, .hero__bg, .ridge, .photo, .review-bar, .todo-badge { display: none !important; }
  body { background: #fff; color: #000; }
  a, h1, h2, h3, .soft, .dl__date, .copy h3 { color: #000 !important; }
  .acc > summary::after { display: none; }
  .statement__dates { color: #000; -webkit-text-stroke: 0; }
}
