/* ─────────────────────────────────────────────────────────────
   Waves Dance Tech

   White ground, red accents, black text. #C81E22 is sampled from
   the logo artwork and is already the single source of truth for
   the red in the product code (DailyDance/rehearse_theme.py).

   Sections:  tokens · base · header · buttons · hero · sections
              cards · video · forms · prose · footer
   ───────────────────────────────────────────────────────────── */

:root {
  --white:     #FFFFFF;
  --paper:     #FAF8F7;
  --paper-2:   #F3EFEC;
  --black:     #111111;
  --soft:      #4A4644;
  --muted:     #85807D;
  --rule:      #E6E2DF;
  --rule-firm: #CFC9C5;

  --red:       #C81E22;
  --red-deep:  #A5171B;
  --red-wash:  rgba(200, 30, 34, 0.06);
  --grey-wash: rgba(17, 17, 17, 0.05);

  --shadow:    0 1px 2px rgba(17, 17, 17, 0.04), 0 12px 32px -16px rgba(17, 17, 17, 0.18);

  --display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --prose:   "Newsreader", Georgia, "Times New Roman", serif;
  --mono:    ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(1rem, 5vw, 4rem);
  --shell:  70rem;
}

/* ── base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--prose);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.022em;
  text-wrap: balance;
  margin: 0;
  line-height: 1.1;
  color: var(--black);
}

p { margin: 0; }
a { color: inherit; }
img, video, iframe { max-width: 100%; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 0.7rem 1rem;
  font-family: var(--display);
  font-size: 0.875rem;
  z-index: 100;
}

.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow { max-width: 46rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.lede {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  color: var(--soft);
  max-width: 34rem;
}

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

/* ── header ────────────────────────────────────────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--rule);
  padding-top: env(safe-area-inset-top, 0px);
}

.masthead-in {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}

.brand img { width: 22px; height: auto; display: block; }

.brand b {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-size: 0.875rem;
}

.nav a {
  text-decoration: none;
  color: var(--soft);
  padding-block: 0.3rem;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}

.nav a:hover { color: var(--black); border-bottom-color: var(--red); }
.nav a.is-here { color: var(--black); border-bottom-color: var(--red); }

/* The red button in the nav: `.nav a` above is more specific than `.btn-solid`
   and would turn its label grey, then black on hover. */
.nav a.btn-solid,
.nav a.btn-solid:hover { color: var(--white); border-bottom-color: transparent; }

.navtoggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--rule-firm);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: var(--display);
  font-size: 0.8125rem;
  color: var(--black);
  cursor: pointer;
}

.navtoggle-bars { display: grid; gap: 4px; }
.navtoggle-bars i { display: block; width: 15px; height: 1.5px; background: var(--black); }

/* Mobile nav: the menu becomes a sheet under the bar. Nothing fancy -
   a hidden list that JS unhides, so it still works if the CSS loads late. */
@media (max-width: 62rem) {
  .navtoggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    padding: 0.5rem var(--gutter) 1.25rem;
  }

  .nav[hidden] { display: none; }

  .nav ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 1rem; }

  .nav li { border-bottom: 1px solid var(--rule); }

  .nav a { display: block; padding-block: 0.85rem; border-bottom: none; }
  .nav a.is-here { color: var(--red); }

  .nav-cta { margin-top: 1.1rem; align-self: flex-start; }
}

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.85rem 1.3rem;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.16s, border-color 0.16s, color 0.16s;
}

.btn:hover { transform: translateY(-1px); }

.btn-solid { background: var(--red); color: var(--white); }
.btn-solid:hover { background: var(--red-deep); color: var(--white); }

.btn-line { background: transparent; border-color: var(--rule-firm); color: var(--black); }
.btn-line:hover { border-color: var(--black); }

.btn-sm { font-size: 0.8125rem; padding: 0.55rem 1rem; min-height: 2.25rem; }

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

.textlink {
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  gap: 0.4rem;
  align-items: baseline;
}

.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* ── sections ──────────────────────────────────────────────── */
.section { border-top: 1px solid var(--rule); }
.section > .wrap { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-paper { background: var(--paper); }
.section-flush { border-top: none; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 42rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: 0.7rem; }
.section-head p { margin-top: 1rem; color: var(--soft); }

/* ── hero ──────────────────────────────────────────────────── */
.hero > .wrap { padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.hero h1 { font-size: clamp(2.35rem, 6vw, 4.25rem); margin-block: 1.1rem 0; }

.hero h1 em {
  font-family: var(--prose);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -0.005em;
}

.hero-sub { margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2.2rem; }

.hero-mark { justify-self: center; width: min(100%, 15.5rem); }
.hero-mark img { width: 100%; height: auto; display: block; }

@media (max-width: 50rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { width: min(46%, 9.5rem); order: -1; justify-self: start; }
}

/* page heroes on inner pages: type only, no mark */
.pagehead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.pagehead > .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.pagehead h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin-top: 0.75rem; max-width: 18ch; }
.pagehead .lede { margin-top: 1.35rem; }
.pagehead .btn-row { margin-top: 2rem; }

/* ── hero film ─────────────────────────────────────────────── */
/* No border, radius or shadow: the video's white is matched to the page's
   white at encode time, so the dancers appear to stand on the page itself. */
.hero-film {
  position: relative;
  max-width: 60rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.hero-film-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--white);
}

.hero-film-sound {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: var(--black);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rule-firm);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.16s;
}

/* The circle looks small but the tappable area is still about 45px, which is
   what a thumb needs. */
.hero-film-sound::after {
  content: "";
  position: absolute;
  inset: -0.3rem;
}

.hero-film-sound:hover { border-color: var(--black); }
.hero-film-sound[hidden] { display: none; }
.hero-film-sound svg { width: 1.05rem; height: 1.05rem; flex: none; }
.hero-film-sound .on-only { display: none; }
.hero-film-sound.is-on .on-only { display: inline; }
.hero-film-sound.is-on .off-only { display: none; }

/* ── the wave rule ─────────────────────────────────────────── */
.wave {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 64px);
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.wave svg { display: block; width: 200%; height: 100%; }
.wave path { fill: none; vector-effect: non-scaling-stroke; }
.wave .w-red { stroke: var(--red); stroke-width: 2.5; }

@media (prefers-reduced-motion: no-preference) {
  .wave svg { animation: drift 30s linear infinite; }
}

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

/* ── cards ─────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}

.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 52rem) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 42rem) {
  .cards-2, .cards-3 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: var(--white);
  padding: clamp(1.5rem, 2.8vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.section-paper .card { background: var(--paper); }

.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card h3 { font-size: 1.25rem; }
.card > p { font-size: 1rem; line-height: 1.6; color: var(--soft); }
.card .textlink { margin-top: auto; padding-top: 0.3rem; align-self: flex-start; }

.card-detail {
  font-family: var(--mono);
  font-size: 0.7188rem;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 0.9rem;
  margin-top: auto;
  border-top: 1px solid var(--rule);
}

/* status chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem 0.28rem;
  border-radius: 3px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.chip::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.chip-live  { color: var(--red);   background: var(--red-wash); }
.chip-build { color: var(--black); background: var(--grey-wash); }
.chip-open  { color: var(--soft);  border-color: var(--rule-firm); }
.chip-soon  { color: var(--muted); border-color: var(--rule); }

/* ── video ─────────────────────────────────────────────────── */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-note {
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.7188rem;
  line-height: 1.6;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

@media (max-width: 54rem) { .feature { grid-template-columns: 1fr; } }

/* practice grid: a card per session */
.sessions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.session {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.25rem;
  background: var(--white);
}

.session.is-soon { background: var(--paper); border-style: dashed; }

.session h3 { font-size: 1.1rem; }

.session-use {
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--red);
}

.session p { font-size: 0.9688rem; line-height: 1.58; color: var(--soft); }
.session .textlink { margin-top: auto; font-size: 0.875rem; }

/* ── lists ─────────────────────────────────────────────────── */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }

.ticks li { padding-left: 1.4rem; position: relative; color: var(--soft); }

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.7rem;
  height: 2px;
  background: var(--red);
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--rule);
}

.steps li:last-child { border-bottom: 1px solid var(--rule); }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--muted);
  padding-top: 0.35em;
}

.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--soft); font-size: 0.9688rem; grid-column: 2; }

@media (max-width: 34rem) {
  .steps li { grid-template-columns: 1.75rem minmax(0, 1fr); }
}

/* packages */
.packages { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }

.package {
  background: var(--white);
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto;
  gap: 0.6rem 2rem;
  align-items: baseline;
}

.package h3 { font-size: 1.15rem; }
.package p { color: var(--soft); font-size: 0.9688rem; }

.package-meta {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 52rem) {
  .package { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; }
  .package-meta { grid-row: 1; }
}

/* faq */
.faq { border-top: 1px solid var(--rule); }

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
  padding-block: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--red);
  font-size: 1.1rem;
  flex: none;
}

.faq details[open] summary::after { content: "\2013"; }

.faq details > p {
  padding-bottom: 1.2rem;
  color: var(--soft);
  max-width: 44rem;
}

/* ── forms ─────────────────────────────────────────────────── */
.form { display: grid; gap: 1.15rem; max-width: 38rem; }

.field { display: grid; gap: 0.4rem; }

.field > label {
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 500;
}

.field .hint { font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  font-family: var(--display);
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--rule-firm);
  border-radius: 5px;
  padding: 0.7rem 0.8rem;
  min-height: 2.75rem;
  width: 100%;
}

.field textarea { min-height: 8rem; resize: vertical; line-height: 1.55; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}

.field-error {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--red);
  min-height: 1rem;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--red); background: var(--red-wash); }

.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.15rem; }

.radios { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--rule-firm);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-family: var(--display);
  font-size: 0.875rem;
  cursor: pointer;
}

.radios input { accent-color: var(--red); margin: 0; }
.radios label:has(input:checked) { border-color: var(--red); background: var(--red-wash); color: var(--red); }

.form-success {
  border: 1px solid var(--red);
  background: var(--red-wash);
  border-radius: 6px;
  padding: 1.5rem;
  max-width: 38rem;
}

.form-success h3 { font-size: 1.15rem; color: var(--red); margin-bottom: 0.5rem; }
.form-success p { color: var(--soft); }

.form-note { font-family: var(--mono); font-size: 0.7188rem; color: var(--muted); line-height: 1.6; max-width: 38rem; }

/* ── prose (about, privacy, terms) ─────────────────────────── */
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2.5rem; }
.prose h3 { font-size: 1.08rem; margin-top: 1.75rem; }
.prose p, .prose li { color: var(--soft); }
.prose strong { color: var(--black); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.prose a { color: var(--red); text-underline-offset: 3px; }

.prose-updated { font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.callout {
  border-left: 2px solid var(--red);
  background: var(--paper);
  padding: 1.25rem 1.4rem;
  border-radius: 0 5px 5px 0;
}

.callout p { color: var(--soft); font-size: 0.9688rem; line-height: 1.65; }
.callout p + p { margin-top: 0.8rem; }
.callout h3 { font-size: 1rem; margin-bottom: 0.6rem; }

/* ── closing band ──────────────────────────────────────────── */
.closing { background: var(--paper); border-top: 1px solid var(--rule); }
.closing > .wrap { padding-block: clamp(3rem, 7vw, 5rem); text-align: center; }

.closing p {
  font-family: var(--prose);
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.012em;
  max-width: 22ch;
  margin-inline: auto;
  text-wrap: balance;
}

.closing b { font-style: normal; font-weight: 400; color: var(--red); }

.cta-band { border-top: 1px solid var(--rule); }
.cta-band > .wrap { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); max-width: 20ch; }
.cta-band p { margin-top: 0.9rem; color: var(--soft); max-width: 34rem; }
.cta-band .btn-row { margin-top: 1.75rem; }

/* ── footer ────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--rule); background: var(--paper); }

.footer > .wrap {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.footer-brand img { width: 22px; height: auto; display: block; }

.footer-brand b {
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-family: var(--display);
  font-size: 0.9062rem;
}

.footer-links a {
  color: var(--soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover { color: var(--red); border-bottom-color: var(--red); }

.footer-disclaimer {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 54rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-firm);
}

.footer-disclaimer + .footer-disclaimer { border-top: none; padding-top: 0; }

.footer-base {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ── entrance motion ───────────────────────────────────────── */
/* Everything is visible at rest. This only softens the arrival for
   people who have not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 0.5s ease both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
