/* ══════════════════════════════════════════════════════════════════
   AJ Studio — site stylesheet
   "Ember Noir": warm near-black ground, one ember accent, Georgia
   display. Committed dark theme — the same world the app icons and
   splash screens live in. No webfonts: the products render on the
   native system stack, so the site does too.
   ══════════════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark;

  /* Grounds — warm charcoals, never neutral grey */
  --ink:        #0e0b0a;
  --ink-raise:  #16110f;
  --ink-sink:   #0a0807;
  --card:       #1b1613;
  --card-in:    #141010;

  /* Lines */
  --line:       #251d19;
  --line-2:     #33261f;

  /* The studio's accent */
  --ember:      #ff6f47;
  --ember-deep: #e2521f;
  --ember-wash: rgba(255, 111, 71, .12);
  --copper:     #c4907a;

  /* MiSuite's own key. The product wears its colour on this site exactly
     as HoopBoard wears green — these are the values the shipped apps and
     the booking site actually paint with, not a tint of ember. */
  /* MedSolutions' key. It used to borrow --live, which is a STATE colour and
     sits a few degrees from MiSuite's mint — on one page the two products read
     as the same brand. A clinical blue separates them and suits the subject. */
  --med:        #7fb0e8;
  --med-wash:   rgba(127, 176, 232, .13);

  --mint:       #5fcabb;
  --mint-text:  #80d4c8;
  --mint-deep:  #4fb8a8;
  --mint-wash:  rgba(95, 202, 187, .14);
  --on-mint:    #14171a;

  /* State — semantic, deliberately not the accent */
  --live:       #7fd1b0;
  --live-wash:  rgba(127, 209, 176, .13);
  --wip:        #f4b15a;
  --wip-wash:   rgba(244, 177, 90, .13);
  --wait:       #8f9aa8;
  --wait-wash:  rgba(143, 154, 168, .12);

  /* In-product accents — MiSuite's real category wheel, used only inside
     device motifs so a stripe here means what it means on the till. */
  --app-lash:  #9888d3;
  --app-spa:   #6a92d2;
  --app-nail:  #d26ab3;
  --app-other: #6a6ad2;

  /* Ink */
  --t-head: #f8f1ea;
  --t-body: #e0d5cc;
  --t-soft: #ab9d93;
  --t-mute: #6d5f57;
  --t-on:   #1c110c;

  --serif: Georgia, "Times New Roman", "Hoefler Text", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:  ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --pad:   clamp(20px, 5vw, 40px);
  --rise:  clamp(52px, 8vw, 104px);
  --ease:  cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--t-body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[id] { scroll-margin-top: 88px; }

a { color: inherit; }

img, svg { max-width: 100%; }

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

/* ── Layout ─────────────────────────────────────────────────────── */

.wrap   { max-width: 1140px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 800px; }

.band          { border-top: 1px solid var(--line); }
.band--panel   { background: var(--ink-raise); }
.band--sink    { background: var(--ink-sink); }
.band > .wrap  { padding-top: var(--rise); padding-bottom: var(--rise); }

.stack   { display: flex; flex-direction: column; gap: 14px; }
.stack-6 { display: flex; flex-direction: column; gap: 6px; }
.row     { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.grid   { display: grid; gap: 18px; }
/* min() on the floor, always — a bare minmax(Npx,1fr) keeps an N-wide track
   on a viewport narrower than N, and pushes the page sideways. */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
/* Four app cards want a 2×2 block, not 3-and-a-widow. */
.grid-apps { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }

.split {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  align-items: center;
}

/* ── Type ───────────────────────────────────────────────────────── */

.eyebrow {
  margin: 0;
  font: 700 11px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--t-soft);
}
.eyebrow--ember { color: var(--ember); }
.eyebrow--mint  { color: var(--mint-text); }

.display {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -.022em;
  color: var(--t-head);
  text-wrap: balance;
}

.h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--t-head);
  text-wrap: balance;
}
.h2--sans {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -.025em;
}

.h3 {
  margin: 0;
  font: 700 18px/1.25 var(--sans);
  letter-spacing: -.01em;
  color: var(--t-head);
}

.lede {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.7vw, 18.5px);
  line-height: 1.62;
  color: var(--t-body);
}

.note  { margin: 0; font-size: 14px; line-height: 1.6; color: var(--t-soft); }
.fine  { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--t-mute); }
.money { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── Brand mark ─────────────────────────────────────────────────── */

.tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.40), rgba(255,255,255,0) 46%),
    linear-gradient(157deg, #ff9168 2%, #f5602f 52%, #e2521f);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -1px;
  color: #3a1409;
  text-shadow: 0 1px 0 rgba(255,222,202,.5);
  box-shadow:
    0 1px 0 rgba(255,212,192,.55) inset,
    0 -6px 12px rgba(140,38,8,.35) inset,
    0 5px 12px -4px rgba(0,0,0,.5),
    0 2px 4px rgba(0,0,0,.4);
}
.tile--lg { width: 38px; height: 38px; border-radius: 11px; font-size: 20px; }

.wordmark {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--t-head);
}

/* ── Nav ────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 11, 10, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.nav__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 26px); }
.nav__links a {
  font: 500 13.5px/1 var(--sans);
  color: var(--t-soft);
  text-decoration: none;
  transition: color .15s var(--ease);
}
.nav__links a:hover { color: var(--t-head); }
.nav__links a.is-current { color: var(--ember); }

@media (max-width: 640px) {
  .nav__links a.opt { display: none; }
}

/* ── Buttons ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: 700 14.5px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn--primary { background: var(--ember); color: var(--t-on); }
.btn--primary:hover { background: #ff8564; }
.btn--outline { border-color: var(--ember); color: var(--ember); }
.btn--outline:hover { background: var(--ember); color: var(--t-on); }
.btn--ghost { border-color: var(--line-2); color: var(--t-head); }
.btn--ghost:hover { background: var(--card); }
.btn--mint { background: var(--mint); color: var(--on-mint); }
.btn--mint:hover { background: var(--mint-text); }
.btn--mint-outline { border-color: var(--mint); color: var(--mint-text); }
.btn--mint-outline:hover { background: var(--mint); color: var(--on-mint); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13.5px; }

/* ── Cards ──────────────────────────────────────────────────────── */

.card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 22px;
}
.card p { margin: 9px 0 0; font-size: 14px; line-height: 1.6; color: var(--t-soft); }
.card--flat { background: var(--card-in); }
.card--pad  { padding: clamp(22px, 3vw, 30px); }

/* ── Badges, chips, state ───────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font: 700 10.5px/1 var(--sans);
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--live  { background: var(--live-wash); color: var(--live); }
.badge--wip   { background: var(--wip-wash);  color: var(--wip); }
.badge--wait  { background: var(--wait-wash); color: var(--wait); }
.badge--ember { background: var(--ember); color: var(--t-on); }
.badge--mint  { background: var(--mint); color: var(--on-mint); }

.dot { width: 7px; height: 7px; border-radius: 999px; flex: none; background: currentColor; }
.dot--pulse { animation: pulse 2.4s var(--ease) infinite; }

@keyframes pulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 29px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card-in);
  font: 500 12.5px/1 var(--sans);
  color: var(--t-soft);
}

/* ── The trading day (MiSuite spine) ────────────────────────────── */

.day { display: grid; gap: 0; margin-top: 40px; }

.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(18px, 3vw, 38px);
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; }

.step__clock {
  font: 700 13px/1.3 var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  color: var(--ember);
  padding-top: 3px;
}
.step__clock span {
  display: block;
  margin-top: 5px;
  font: 700 9.5px/1.4 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-mute);
}
.step__body { display: grid; gap: clamp(18px, 3vw, 34px); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); align-items: start; }
.step__body p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--t-soft); max-width: 52ch; }
.step__body p strong { color: var(--t-body); font-weight: 600; }

@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step__clock { display: flex; align-items: baseline; gap: 10px; padding-top: 0; }
  .step__clock span { margin-top: 0; }
}

/* ── Device motifs — the apps' own palette lives in here ────────── */

.screen {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
.screen__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.screen__title { font: 700 13.5px/1 var(--sans); color: var(--t-head); }
.screen__tag {
  font: 700 9.5px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-mute);
}

.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card-in);
  border-left: 3px solid var(--app-lash);
  border-radius: 8px;
  padding: 11px 13px;
  font: 500 13.5px/1.3 var(--sans);
  color: var(--t-body);
}
.line b { font: 600 13.5px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--t-head); }
.line--nail  { border-left-color: var(--app-nail); }
.line--other { border-left-color: var(--app-other); }
.line--spa   { border-left-color: var(--app-spa); }
.line small { display: block; font: 11.5px/1.3 var(--sans); color: var(--t-mute); margin-top: 2px; }

.totals {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.totals__row { display: flex; justify-content: space-between; font: 13px/1.2 var(--sans); color: var(--t-soft); }
.totals__sum { display: flex; justify-content: space-between; align-items: baseline; }
.totals__sum span { font: 600 14px/1 var(--sans); color: var(--t-head); }
.totals__sum b { font: 800 24px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--t-head); }

.screen__cta {
  margin-top: 14px;
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--on-mint);
  font: 700 14px/1 var(--sans);
}

/* Queue board motif */
.board { display: flex; flex-direction: column; gap: 8px; }
.board__row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  background: var(--card-in);
  border-radius: 8px;
  padding: 10px 13px;
  font: 500 13.5px/1.2 var(--sans);
  color: var(--t-body);
}
.board__row b {
  font: 800 17px/1 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--t-mute);
}
.board__row.is-up { background: var(--mint-wash); }
.board__row.is-up b { color: var(--mint-text); }
.board__row em {
  font: 700 10px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--t-mute);
}
.board__row.is-up em { color: var(--mint-text); }

/* ── The receipt — the one paper object on the site ─────────────── */

.receipt {
  --paper: #f4efe6;
  background: var(--paper);
  color: #24201c;
  border-radius: 4px;
  padding: 24px 22px 30px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
  max-width: 340px;
  box-shadow: 0 20px 44px rgba(0,0,0,.5);
  position: relative;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.2));
}
.receipt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 10px;
  background: var(--paper);
  -webkit-mask-image: radial-gradient(7px 10px at 7px 0, transparent 98%, #000 100%);
  mask-image: radial-gradient(7px 10px at 7px 0, transparent 98%, #000 100%);
  -webkit-mask-size: 14px 10px;
  mask-size: 14px 10px;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}
.receipt hr { border: 0; border-top: 1px dashed #b3a595; margin: 10px 0; }
.receipt .c { text-align: center; }
.receipt .b { font-weight: 700; }
.receipt .r { display: flex; justify-content: space-between; gap: 12px; }
.receipt .hl { background: rgba(226, 82, 31, .16); box-shadow: 0 0 0 3px rgba(226, 82, 31, .16); border-radius: 2px; }
.receipt small { font-size: 11px; color: #6a6058; }

/* ── Reference grid ─────────────────────────────────────────────── */

.ref { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--card); }
.ref__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--card-in);
  border-bottom: 1px solid var(--line-2);
}
.ref__head h3 { margin: 0; font: 700 13.5px/1 var(--sans); color: var(--t-head); }
.ref__head::before { content: ""; flex: none; width: 3px; height: 15px; border-radius: 2px; background: var(--ember); }
.ref ul { margin: 0; padding: 14px 18px 18px; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ref li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.55; color: var(--t-soft); }
.ref li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--line-2);
}
.ref li b { color: var(--t-body); font-weight: 600; }

/* ── Ledger (honest status table) ───────────────────────────────── */

.ledger { display: flex; flex-direction: column; }
.ledger__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 20px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.ledger__row:first-child { border-top: 0; }
.ledger__row h3 { margin: 0; font: 600 15px/1.3 var(--sans); color: var(--t-head); }
.ledger__row p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--t-soft); max-width: 68ch; }

/* ── Stat tiles ─────────────────────────────────────────────────── */

.stat { background: var(--card); border: 1px solid var(--line-2); border-radius: 13px; padding: 18px; }
.stat__k { font: 700 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t-mute); }
.stat__v { margin-top: 11px; font: 800 25px/1 var(--sans); letter-spacing: -.02em; color: var(--t-head); }
.stat__v.is-live { color: var(--live); }
.stat__v.is-wip  { color: var(--wip); }
.stat__s { margin-top: 7px; font-size: 12.5px; line-height: 1.5; color: var(--t-soft); }

/* ── Forms ──────────────────────────────────────────────────────── */

.form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.form__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 7px; }
.form .lbl {
  font: 700 10.5px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-mute);
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 0 14px;
  height: 47px;
  border-radius: 10px;
  background: var(--card-in);
  border: 1px solid var(--line-2);
  color: var(--t-head);
  font: 15px/1 var(--sans);
  outline: none;
  transition: border-color .15s var(--ease);
}
.form textarea { height: auto; padding: 13px 14px; line-height: 1.55; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--ember); outline: none; }
.form button { height: 50px; border: 0; border-radius: 10px; background: var(--ember); color: var(--t-on); font: 700 15px/1 var(--sans); cursor: pointer; }
.form button:hover { background: #ff8564; }
.form button[disabled] { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.msg { display: none; font: 13.5px/1.55 var(--sans); color: var(--app-nail); }
.msg.is-on { display: block; }

.done {
  display: none;
  max-width: 540px;
  margin: 32px auto 0;
  background: var(--card);
  border: 1px solid var(--live);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}
.done.is-on { display: block; }
.done h3 { margin: 12px 0 0; font: 800 18px/1.3 var(--sans); color: var(--t-head); }
.done p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--t-soft); }

/* ── FAQ ────────────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font: 600 15.5px/1.4 var(--sans);
  color: var(--t-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font: 400 20px/1 var(--mono);
  color: var(--ember);
  flex: none;
  transition: transform .18s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 20px; max-width: 68ch; }
.faq__a p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.65; color: var(--t-soft); }
.faq__a p:last-child { margin-bottom: 0; }

/* ── Prose (legal, privacy, terms) ──────────────────────────────── */

.prose { max-width: 68ch; }
.prose h2 {
  margin: 40px 0 0;
  font: 700 19px/1.3 var(--sans);
  letter-spacing: -.01em;
  color: var(--t-head);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 0; font: 600 15.5px/1.4 var(--sans); color: var(--t-head); }
.prose p  { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--t-body); }
.prose ul { margin: 12px 0 0; padding-left: 20px; }
.prose li { margin: 7px 0; font-size: 15px; line-height: 1.65; color: var(--t-body); }
.prose a  { color: var(--ember); text-decoration: none; border-bottom: 1px solid rgba(255,111,71,.35); }
.prose a:hover { border-bottom-color: var(--ember); }
.prose strong { color: var(--t-head); font-weight: 600; }
.prose .stamp {
  display: inline-block;
  font: 700 11px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t-mute);
}

/* ── Footer ─────────────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); background: var(--ink-sink); }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 32px; }
.foot__col h4 {
  margin: 0 0 14px;
  font: 700 10.5px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-mute);
}
.foot__col nav { display: flex; flex-direction: column; gap: 10px; }
.foot a { font: 13.5px/1 var(--sans); color: var(--t-soft); text-decoration: none; }
.foot a:hover { color: var(--t-head); }
.foot__base {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font: 12px/1.5 var(--sans);
  color: var(--t-mute);
}

/* ── Motion ─────────────────────────────────────────────────────── */

/* Hidden only once JS has confirmed it can reveal them again — no script,
   no invisible sections. */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .dot--pulse { animation: none; opacity: 1; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
