/* ============================================================
   Streetwise Driving School Waterford — styles
   3 theme variants driven by [data-theme] on <html>
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Base tokens — overridden per theme */
  --bg: #fdfcf8;
  --surface: #ffffff;
  --surface-2: #f4f1ea;
  --ink: #1a1d24;
  --ink-soft: #4a4f5a;
  --ink-muted: #7a7f8a;
  --line: #e5e1d6;
  --brand: #1f3a5f;
  --brand-ink: #ffffff;
  --accent: #d97706;
  --accent-soft: #fde7c9;
  --ok: #16794a;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20,24,30,.06), 0 1px 3px rgba(20,24,30,.04);
  --shadow-md: 0 8px 24px -8px rgba(20,24,30,.12), 0 2px 6px rgba(20,24,30,.05);
  --shadow-lg: 0 24px 60px -20px rgba(20,24,30,.18);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1200px;
  --section-pad: clamp(72px, 9vw, 128px);

  /* Hero illustration */
  --hero-grad-1: #dfe8f2;
  --hero-grad-2: #f4eadd;
}

/* Theme A — Warm Local (default): cream + deep navy + amber */
:root[data-theme="warm"] {
  --bg: #faf7f0;
  --surface: #ffffff;
  --surface-2: #f1ece0;
  --ink: #1b1f28;
  --ink-soft: #434956;
  --ink-muted: #737884;
  --line: #e6ddcb;
  --brand: #1f3a5f;
  --brand-ink: #ffffff;
  --accent: #c2410c;
  --accent-soft: #fde7c9;
  --hero-grad-1: #e8d9bf;
  --hero-grad-2: #c6d3e3;
  --font-head: "Fraunces", Georgia, serif;
}

/* Theme B — Modern Confident: near-black + lime-yellow accent */
:root[data-theme="modern"] {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #efefea;
  --ink: #0a0a0a;
  --ink-soft: #3a3a3a;
  --ink-muted: #6b6b6b;
  --line: #e3e3de;
  --brand: #0a0a0a;
  --brand-ink: #eaff3a;
  --accent: #eaff3a;
  --accent-soft: #f5ffa8;
  --hero-grad-1: #eaff3a;
  --hero-grad-2: #e6e6e0;
  --font-head: "Instrument Serif", "Fraunces", Georgia, serif;
}

/* Theme C — Bright Approachable: off-white + teal + coral */
:root[data-theme="bright"] {
  --bg: #f6fbfa;
  --surface: #ffffff;
  --surface-2: #e6f2ee;
  --ink: #0e2b24;
  --ink-soft: #335049;
  --ink-muted: #668077;
  --line: #d3e4de;
  --brand: #0f766e;
  --brand-ink: #ffffff;
  --accent: #f4714d;
  --accent-soft: #ffe1d7;
  --hero-grad-1: #a7d8ce;
  --hero-grad-2: #ffd4c3;
  --font-head: "Fraunces", Georgia, serif;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--ink); }

/* Layout container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ============================================================
   Typography
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 6.2vw, 82px); font-weight: 500; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2vw, 26px); }

p { text-wrap: pretty; color: var(--ink-soft); }

.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 58ch; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-mark { width: 38px; height: 38px; }
.brand-words {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-words .b1 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand-words .b2 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font: 500 15px/1 var(--font-body);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-md); filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-accent {
  background: var(--accent);
  color: var(--ink);
}
:root[data-theme="warm"] .btn-accent,
:root[data-theme="bright"] .btn-accent { color: #fff; }

.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 var(--section-pad);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 .accent-word {
  background: linear-gradient(180deg, transparent 65%, var(--accent-soft) 65%);
  padding: 0 4px;
  font-style: italic;
  font-weight: 400;
}
:root[data-theme="modern"] .hero h1 .accent-word {
  background: var(--accent);
  padding: 0 10px;
  border-radius: 6px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.meta-item .num {
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.meta-item .lbl {
  font-size: 13px;
  color: var(--ink-muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Hero illustration card */
.hero-card {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
}
.hero-card .sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 50% at 30% 25%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(180deg, var(--hero-grad-1) 0%, var(--hero-grad-2) 100%);
}
.hero-card svg.illo { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-badge {
  position: absolute;
  left: 20px; top: 20px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ok) 25%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px color-mix(in oklab, var(--ok) 25%, transparent); }
  50% { box-shadow: 0 0 0 7px color-mix(in oklab, var(--ok) 5%, transparent); }
}

.hero-stat-card {
  position: absolute;
  right: -18px; bottom: 28px;
  background: var(--surface);
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 260px;
}
.hero-stat-card .big {
  font-family: var(--font-head);
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.hero-stat-card .sub {
  font-size: 13px;
  color: var(--ink-muted);
}

/* Credential strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--surface-2);
}
.strip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.strip-row .item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.strip-row .item svg { opacity: .7; }

/* ============================================================
   Sections
   ============================================================ */
section.block { padding: var(--section-pad) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
.section-head .lead { max-width: 52ch; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.service:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--brand) 40%, var(--line));
}
.service .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
}
.service h3 { margin-top: 22px; margin-bottom: 10px; }
.service .price {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
}
.service .price .amount {
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.service .price .unit { font-size: 12px; color: var(--ink-muted); }
.service .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  display: grid; place-items: center;
  color: var(--brand);
}
:root[data-theme="modern"] .service .icon { background: var(--accent); color: var(--ink); }

.service.featured {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: var(--brand);
}
.service.featured h3,
.service.featured .price .amount { color: var(--brand-ink); }
.service.featured p,
.service.featured .num,
.service.featured .price .unit { color: color-mix(in oklab, var(--brand-ink) 75%, transparent); }
.service.featured .price { border-top-color: color-mix(in oklab, var(--brand-ink) 20%, transparent); }
.service.featured .icon { background: color-mix(in oklab, var(--brand-ink) 15%, transparent); color: var(--brand-ink); }
:root[data-theme="modern"] .service.featured .icon { background: var(--accent); color: var(--ink); }

.tag {
  display: inline-block;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 8px;
}

/* About */
.about {
  background: var(--surface-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--hero-grad-2), var(--hero-grad-1));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.portrait .frame {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.portrait svg { width: 75%; height: 75%; }

.quote {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
  max-width: 28ch;
  margin-top: 18px;
}

.bio {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-soft);
}

.bio + .bio { margin-top: 14px; }

.sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.sign-line {
  font-family: "Caveat", "Fraunces", cursive;
  font-size: 36px;
  color: var(--ink);
  line-height: 1;
}
.sign-meta {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.3;
}

/* Reviews */
.reviews-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.google-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
}
.stars { display: inline-flex; gap: 2px; color: #f5a524; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review .quote-mark {
  font-family: var(--font-head);
  font-size: 50px;
  line-height: .5;
  color: var(--accent);
  margin-top: 10px;
  font-style: italic;
}
.review p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  flex: 1;
}
.review .who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
  color: var(--brand-ink);
  background: var(--brand);
  font-size: 14px;
}
.review .name { font-weight: 500; color: var(--ink); font-size: 14.5px; }
.review .meta { font-size: 12px; color: var(--ink-muted); }

/* Coverage map */
.map-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } }
.map-info { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-pill {
  display: inline-flex; align-items: center;
  padding: 7px 12px;
  font-size: 13px;
  background: var(--surface-2);
  border-radius: 999px;
  color: var(--ink-soft);
}

.map-iframe {
  position: relative;
  min-height: 380px;
  background: var(--surface-2);
}
.map-iframe iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; filter: saturate(.9) contrast(.95);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  color: var(--ink);
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s ease, background .2s ease;
}
.faq[open] summary .plus {
  transform: rotate(45deg);
  background: var(--brand);
  color: var(--brand-ink);
}
.faq .answer {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 70ch;
}

/* Booking / Contact */
.contact {
  background: var(--brand);
  color: var(--brand-ink);
}
.contact h2 { color: var(--brand-ink); }
.contact .lead { color: color-mix(in oklab, var(--brand-ink) 78%, transparent); }
.contact .eyebrow { color: color-mix(in oklab, var(--brand-ink) 70%, transparent); }
.contact .eyebrow::before { background: color-mix(in oklab, var(--brand-ink) 60%, transparent); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-big {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid color-mix(in oklab, var(--brand-ink) 18%, transparent);
  border-radius: 16px;
  background: color-mix(in oklab, var(--brand-ink) 5%, transparent);
  transition: background .15s ease;
}
.contact-big:hover { background: color-mix(in oklab, var(--brand-ink) 10%, transparent); }
.contact-big .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--brand-ink) 70%, transparent);
}
.contact-big .value {
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}

/* Form */
.booking-form {
  background: var(--surface);
  color: var(--ink);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font: inherit;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 15%, transparent);
}
.field textarea { min-height: 110px; resize: vertical; }

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  background: var(--surface);
  color: var(--ink-soft);
  transition: all .15s ease;
  user-select: none;
}
.chip.active {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: var(--brand);
}
.chip:hover:not(.active) { background: var(--surface-2); color: var(--ink); }

.form-success {
  padding: 16px 18px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--ok) 12%, transparent);
  color: var(--ok);
  border: 1px solid color-mix(in oklab, var(--ok) 30%, transparent);
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   Floating call button (mobile)
   ============================================================ */
.fab-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  background: var(--ok);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 32px -6px rgba(22,121,74,.5);
  transition: transform .15s ease;
}
.fab-call:active { transform: scale(.96); }
@media (max-width: 820px) { .fab-call { display: inline-flex; } }

.whatsapp-btn { background: #25D366; color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.site-foot {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Small */
.muted { color: var(--ink-muted); }
.nowrap { white-space: nowrap; }
