/* askmeryam.com inner pages — the same worlds as the home page (home.css):
   each page opens on a full-bleed world, then a sheet of paper is laid over
   it to read on. On a dark device the sheet is night instead of paper.
   Palette from lib/theme/app_theme.dart. No purple. */

:root {
  --night: #1b2a1e;
  --night-deep: #111a13;
  --night-text: #dad7c9;
  --night-hi: #e9f4ea;
  --night-soft: #a3b18a;
  --candle: #ebc49a;
  --paper: #fffbec;
  --ink: #2a3b31;
  --ink-soft: #54685c;
  --sage: #3f7a57;
  --gold: #e9b457;
  --gold-text: #85590f;

  /* the reading sheet — swapped for night on dark devices */
  --bg: var(--paper);
  --bg-alt: #f7f0dd;
  --card: #ffffff;
  --field: #fffdf6;
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --heading: var(--ink);
  --accent: var(--sage);
  --eyebrow: var(--gold-text);
  --error: #a85443;
  --line: #e8e0cc;
  --shadow: 0 1px 2px rgba(42, 59, 49, 0.05), 0 22px 44px -26px rgba(42, 59, 49, 0.3);

  --serif: "Lora", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Amiri", "Geeza Pro", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--night-deep);
    --bg-alt: #16231a;
    --card: #1c2a20;
    --field: #132019;
    --text: var(--night-text);
    --text-soft: #b4b8a5;
    --heading: var(--night-hi);
    --accent: var(--candle);
    --eyebrow: var(--candle);
    --error: #e8a48e;
    --line: rgba(163, 177, 138, 0.22);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 22px 44px -26px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night-deep); color: var(--text); font: 17px/1.7 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--candle); outline-offset: 4px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--paper); color: var(--ink); padding: 8px 14px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
@media (max-width: 480px) { .wrap { width: calc(100% - 32px); } }

/* ── crisis line: always first, never dismissable ─────────────────────── */
.crisis {
  position: relative; z-index: 5;
  background: rgba(17, 26, 19, 0.96);
  color: var(--candle);
  font-size: 0.86rem; text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(235, 196, 154, 0.18);
}
.crisis a { color: var(--candle); font-weight: 800; text-underline-offset: 3px; }

/* ── the world at the top of every page ───────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: clamp(480px, 70svh, 760px);
  background: var(--night-deep); color: var(--night-text);
}
.hero.full { min-height: 100svh; }
.hero > .bg {
  position: absolute; inset: -3%; z-index: -2;
  background: var(--world) var(--world-pos, center) / cover no-repeat;
  animation: drift 40s var(--ease) infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 16, 12, 0.55) 0%, rgba(10, 16, 12, 0) 26%, rgba(10, 16, 12, 0) 55%, rgba(10, 16, 12, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 16, 12, 0.82) 0%, rgba(10, 16, 12, 0.5) 45%, rgba(10, 16, 12, 0.05) 78%);
}
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); } }

.w-isha   { --world: url("img/worlds/isha-wide.webp");   --world-pos: 70% 50%; }
.w-meryam { --world: url("img/worlds/meryam-wide.webp"); --world-pos: 75% 50%; }
.w-sos    { --world: url("img/worlds/sos-wide.webp");    --world-pos: 30% 50%; }
.w-moon   { --world: url("img/worlds/moon-wide.webp");   --world-pos: 70% 40%; }
@media (max-aspect-ratio: 1/1) {
  .w-isha   { --world: url("img/worlds/isha-tall.webp");   --world-pos: center 30%; }
  .w-meryam { --world: url("img/worlds/meryam-tall.webp"); --world-pos: center top; }
  .w-sos    { --world: url("img/worlds/sos-tall.webp");    --world-pos: center top; }
  .w-moon   { --world: url("img/worlds/moon-tall.webp");   --world-pos: center top; }
  .hero::before {
    background: linear-gradient(180deg, rgba(10, 16, 12, 0.6) 0%, rgba(10, 16, 12, 0.2) 28%, rgba(10, 16, 12, 0.7) 60%, rgba(10, 16, 12, 0.92) 100%);
  }
}

/* header, over the world */
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--night-hi); font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.top nav { display: flex; gap: 26px; font-size: 0.95rem; font-weight: 700; }
.top nav a { color: var(--night-text); text-decoration: none; opacity: 0.85; transition: opacity 0.3s, color 0.3s; }
.top nav a:hover, .top nav a[aria-current="page"] { opacity: 1; color: var(--candle); }
.top nav a { white-space: nowrap; }
@media (max-width: 720px) { .top nav a:not(.keep) { display: none; } .top nav { gap: 16px; font-size: 0.9rem; } }
@media (max-width: 380px) { .brand { font-size: 1.12rem; } .brand img { width: 34px; height: 34px; } }

.hero-copy { margin-top: auto; padding: 48px 0 clamp(104px, 15vh, 160px); }
.hero-copy > * { max-width: 40rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--candle); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; color: var(--night-hi); margin-bottom: 22px; }
.hero.full h1 { font-size: clamp(2.8rem, 7.4vw, 5.8rem); max-width: 14ch; }
.hero h1 em { color: var(--candle); }
.hero .lede { font-size: clamp(1.06rem, 1.7vw, 1.22rem); color: var(--night-text); margin: 0 0 12px; max-width: 34em; }
.hero .meta { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--night-soft); margin: 18px 0 0; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--candle); color: var(--night);
  font: 800 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(235, 196, 154, 0.7);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(235, 196, 154, 0.8); }
.btn.ghost {
  background: rgba(233, 244, 234, 0.08); color: var(--night-hi);
  border: 1px solid rgba(235, 196, 154, 0.4); box-shadow: none;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9rem; color: var(--night-soft); }
.trust li { display: flex; align-items: center; gap: 9px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--candle); box-shadow: 0 0 10px var(--candle); }

/* ── the sheet laid over the world ────────────────────────────────────── */
.sheet {
  position: relative; z-index: 1;
  margin-top: -56px; border-radius: 34px 34px 0 0;
  background: var(--bg); color: var(--text);
  box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, 0.55);
}
.sheet::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 150px; height: 14px; opacity: 0.8;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 2.5px, transparent 3px),
    linear-gradient(90deg, transparent, var(--gold) 30%, transparent 46%, transparent 54%, var(--gold) 70%, transparent) center / 100% 1px no-repeat;
}

/* ── documents: privacy, terms, support… ──────────────────────────────── */
.doc-grid { display: grid; gap: 40px; padding: clamp(64px, 8vw, 104px) 0 clamp(88px, 11vw, 140px); }
.doc-grid > .prose { width: 100%; max-width: 720px; margin-inline: auto; }
@media (min-width: 1040px) {
  .doc-grid.has-toc { grid-template-columns: 230px minmax(0, 720px); justify-content: center; gap: 80px; }
  .doc-grid.has-toc > .prose { margin: 0; }
}
.toc { display: none; }
@media (min-width: 1040px) {
  .toc.ready { display: block; position: sticky; top: 36px; align-self: start; max-height: calc(100vh - 72px); overflow: auto; }
}
.toc p { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 14px; }
.toc a { display: block; padding: 7px 0 7px 16px; border-left: 2px solid var(--line); color: var(--text-soft); text-decoration: none; font-size: 0.9rem; line-height: 1.4; transition: color 0.3s, border-color 0.3s; }
.toc a:hover { color: var(--heading); }
.toc a.on { color: var(--heading); border-left-color: var(--accent); font-weight: 700; }

.prose { font-size: 1.05rem; line-height: 1.8; }
.prose > :first-child { margin-top: 0; }
.prose > p:first-child { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.38rem); line-height: 1.65; color: var(--heading); }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; color: var(--heading); margin: 2.4em 0 0.7em; scroll-margin-top: 28px; }
.prose h2::before { content: ""; display: block; width: 36px; height: 2px; border-radius: 2px; background: var(--gold); margin-bottom: 18px; }
.prose h2 em { color: var(--accent); }
.prose p, .prose li { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li::marker { color: var(--gold-text); font-weight: 800; }
.prose a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
.prose strong { color: var(--heading); }

.table-scroll { overflow-x: auto; margin: 1.4em 0 1.8em; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; line-height: 1.55; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); background: var(--bg-alt); }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--heading); font-weight: 600; }

.callout {
  position: relative; margin: 0 0 1.6em; padding: 20px 24px 20px 28px; border-radius: 20px;
  background: rgba(233, 180, 87, 0.13); border: 1px solid rgba(233, 180, 87, 0.38);
  color: var(--heading); font-family: var(--sans); font-size: 1rem;
}
.callout::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
.callout a { color: inherit; }
.prose > p.callout:first-child { font-family: var(--sans); font-size: 1rem; }

/* contact card (support) */
.contact {
  display: grid; gap: 6px; margin: 0 0 1.6em; padding: 26px 28px; border-radius: 24px;
  background: linear-gradient(160deg, #22382a, #111a13); color: var(--night-text);
  box-shadow: 0 30px 60px -28px rgba(17, 26, 19, 0.7);
}
.contact b { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--night-hi); }
.contact a { color: var(--candle); font-weight: 800; font-size: 1.1rem; word-break: break-word; }
.contact span { font-size: 0.95rem; }

/* questions */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.12rem; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-family: var(--sans); font-weight: 800; transition: transform 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--text-soft); }
details a { color: var(--accent); font-weight: 700; }

/* ── sections (for therapists) ────────────────────────────────────────── */
.section { padding: clamp(84px, 11vw, 150px) 0; }
.section + .section { padding-top: 0; }
.kicker { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 18px; }
.section h2 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.08; color: var(--heading); margin-bottom: 20px; }
.section h2 em { color: var(--accent); }
.section .intro { max-width: 36em; color: var(--text-soft); font-size: 1.1rem; margin: 0; }
.center { text-align: center; }
.center h2, .center .intro { margin-inline: auto; }
.center h2 { max-width: 20ch; }
.intro a { color: var(--accent); font-weight: 700; }

.benefits { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 760px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit { padding: 30px 28px 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.benefit i { display: block; font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--gold-text); margin-bottom: 22px; }
.benefit b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--heading); margin-bottom: 8px; }
.benefit p { margin: 0; color: var(--text-soft); font-size: 0.98rem; line-height: 1.65; }
@media (prefers-color-scheme: dark) { .benefit i { color: var(--candle); } }

.split { display: grid; gap: clamp(48px, 7vw, 100px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .split { grid-template-columns: 0.9fr 1.1fr; } }

.price-card {
  position: relative; padding: 40px 36px 36px; border-radius: 30px;
  background: radial-gradient(90% 70% at 85% 0%, rgba(235, 196, 154, 0.18), transparent 60%), linear-gradient(160deg, #22382a, #111a13);
  color: var(--night-text); box-shadow: 0 40px 80px -34px rgba(17, 26, 19, 0.75);
}
.price-card .flag { position: absolute; top: -13px; left: 34px; margin: 0; padding: 5px 14px; border-radius: 999px; background: var(--candle); color: var(--night); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.price-card .name { margin: 0 0 16px; font-weight: 800; letter-spacing: 0.06em; color: var(--night-soft); text-transform: uppercase; font-size: 0.8rem; }
.price-card .big { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2.8rem, 6vw, 3.8rem); line-height: 1; color: var(--night-hi); }
.price-card .then { margin: 12px 0 26px; font-size: 1.05rem; }
.price-card .then b { color: var(--candle); }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--candle); font-weight: 800; }
.price-card .btn { width: 100%; }

.steps { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 34px 72px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -4px;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem; color: var(--night);
  background: var(--candle); box-shadow: 0 10px 22px -10px rgba(196, 122, 74, 0.8);
}
.steps li::after { content: ""; position: absolute; left: 23px; top: 50px; bottom: 4px; width: 2px; background: linear-gradient(var(--candle), transparent); opacity: 0.6; }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--heading); margin-bottom: 4px; }
.steps span { color: var(--text-soft); }

/* apply: back into the world, the form on a sheet */
.apply { position: relative; isolation: isolate; overflow: hidden; background: var(--night-deep); color: var(--night-text); padding: clamp(96px, 12vw, 160px) 0; }
.apply > .bg { position: absolute; inset: 0; z-index: -2; background: var(--world) var(--world-pos, center) / cover no-repeat; }
.apply::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10, 16, 12, 0.55) 14%, rgba(10, 16, 12, 0.55) 86%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10, 16, 12, 0.85) 0%, rgba(10, 16, 12, 0.5) 50%, rgba(10, 16, 12, 0.7) 100%);
}
.apply .split { align-items: start; }
@media (min-width: 920px) { .apply .split { grid-template-columns: 0.8fr 1.2fr; } .apply-copy { position: sticky; top: 40px; } }
.apply h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; color: var(--night-hi); margin-bottom: 18px; }
.apply h2 em { color: var(--candle); }
.apply .kicker { color: var(--candle); }
.apply-copy p { color: var(--night-text); }
.apply-copy .trust { flex-direction: column; gap: 12px; font-size: 0.98rem; color: var(--night-text); }
.apply-copy a { color: var(--candle); font-weight: 700; }

.form-card { padding: clamp(24px, 4vw, 44px); border-radius: 30px; background: var(--bg); color: var(--text); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7); }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.form-card legend { display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 18px; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--heading); }
.form-card legend i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--sans); font-size: 0.85rem; font-weight: 800; background: var(--candle); color: var(--night); }
.fields { display: grid; gap: 16px 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .fields { grid-template-columns: 1fr 1fr; } }
.fields .wide { grid-column: 1 / -1; }
.field { display: block; font-weight: 700; font-size: 0.9rem; color: var(--heading); }
.field small { font-weight: 600; color: var(--text-soft); margin-left: 4px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px 15px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--field);
  font: 400 1rem/1.4 var(--sans); color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-soft); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(233, 180, 87, 0.22); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); font-weight: 700; font-size: 0.92rem; color: var(--heading); cursor: pointer; }
.check:has(input:checked) { border-color: var(--accent); }
input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--sage); flex: none; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 24px; font-size: 0.95rem; color: var(--text); }
.agree input { margin-top: 4px; }
.agree a { color: var(--accent); font-weight: 700; }
.form-card .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.t-status { margin: 16px 0 0; font-weight: 700; }
.t-status:empty { display: none; }
.t-status.ok { color: var(--accent); }
.t-status.err { color: var(--error); }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.lost .hero-copy { margin-block: auto; padding-bottom: 48px; }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { background: var(--night-deep); color: var(--night-soft); padding: 54px 0 60px; font-size: 0.92rem; border-top: 1px solid rgba(235, 196, 154, 0.12); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { color: var(--night-text); text-decoration: none; }
.foot a:hover { color: var(--candle); }
.credit { color: var(--candle); font-weight: 700; letter-spacing: 0.03em; margin: 0; }
.company { flex-basis: 100%; margin: 4px 0 0; font-size: 0.78rem; opacity: 0.8; }

/* reveal on scroll (page.js adds .js; without it everything is visible) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.1s; } .js .reveal.d2 { transition-delay: 0.2s; } .js .reveal.d3 { transition-delay: 0.3s; }
.js .hero .reveal { transition-duration: 0.7s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* On night, dark cards need an edge to sit off the page. */
.price-card, .contact { border: 1px solid rgba(235, 196, 154, 0.22); }
.form-card { border: 1px solid var(--line); }
