/* ============================================================
   CatalyseR site.css — layout shell + shared components
   Mobile-first. Breakpoints: 640 / 900 / 1200.
   Depends on tokens.css. No jQuery, no sliders, no marquees.
   ============================================================ */

/* ---------- 1. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }
img { border: 0; }

a { color: var(--c-accent-press); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-accent); }

hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--sp-6) 0; }

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

::selection { background: var(--c-accent); color: #fff; }

body.drawer-open { overflow: hidden; }

/* Visually hidden but readable by screen readers + search engines */
.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;
}

/* ---------- 2. Typography ---------- */
h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: var(--c-ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lead);
  color: var(--c-ink-2);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: var(--fw-heavy);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}

.muted { color: var(--c-ink-2); }
.small { font-size: var(--fs-small); }
.text-center { text-align: center; }

/* ---------- 3. Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * .6); }
.section-peach { background: var(--c-tint-peach); }
.section-blue { background: var(--c-tint-blue); }
.section-ink { background: var(--c-dark); color: #fff; }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }
.section-ink .lead, .section-ink .muted, .section-ink p { color: var(--c-dark-muted); }

.section-head {
  margin: 0 auto var(--sp-7);
  text-align: center;
}
.section-head p { color: var(--c-ink-2); }

/* Responsive grids */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 4. Buttons, chips, stat stickers ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-semi);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--speed) var(--ease),
              color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              transform var(--speed) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: 0 0 auto; }

.btn-accent {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 6px 16px var(--c-accent-glow);
}
.btn-accent:hover { background: var(--c-accent-press); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line-strong);
}
.btn-ghost:hover { border-color: var(--c-ink); color: var(--c-ink); }
.section-ink .btn-ghost, .hero-ink .btn-ghost, .cmp-hero-ink .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.section-ink .btn-ghost:hover, .hero-ink .btn-ghost:hover, .cmp-hero-ink .btn-ghost:hover { border-color: #fff; color: #fff; }

.btn-wa {
  background: var(--c-wa-bg);
  color: var(--c-wa-ink);
}
.btn-wa:hover { background: #c8f2da; color: var(--c-wa-ink); }

.btn-sm { min-height: 40px; padding: 8px 18px; font-size: var(--fs-small); }
.btn-lg { min-height: 54px; padding: 14px 34px; font-size: var(--fs-lead); }
.btn-block { width: 100%; }

/* Chips (exam filters, tags, AIR stickers) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-tint-blue);
  color: var(--c-ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  line-height: 1.3;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
a.chip:hover { background: var(--c-dark); color: #fff; }
.chip-accent { background: var(--c-accent-soft); color: var(--c-accent-press); }
.chip-air { background: var(--c-accent); color: #fff; font-weight: var(--fw-heavy); letter-spacing: .01em; }
.chip-wa { background: var(--c-wa-bg); color: var(--c-wa-ink); }
.chip.is-active { background: var(--c-dark); color: #fff; }

/* Stat stickers — bold number + label, straight (count-up animation kept via JS) */
.stat-sticker {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 24px;
  background: var(--ground);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.stat-sticker:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.stat-num {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: var(--fw-heavy);
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  color: var(--c-ink-2);
}

/* ---------- 5. Cards & reels ---------- */
.card {
  background: var(--ground);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--sp-5);
}
.card-hover { transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease); }
.card-hover:hover { box-shadow: var(--shadow-pop); transform: translateY(-2px); }

/* Horizontal scroll-snap reel (toppers, programs) */
.reel-wrap { position: relative; }
.reel {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  scrollbar-width: none;        /* Firefox */
  -webkit-overflow-scrolling: touch;
}
.reel::-webkit-scrollbar { display: none; }
.reel > * { flex: 0 0 auto; scroll-snap-align: start; }

.reel-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: var(--ground);
  color: var(--c-ink);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
.reel-btn:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
@media (min-width: 640px) {
  .reel-btn {
    display: inline-flex;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .reel-btn[data-reel-prev] { left: -12px; }
  .reel-btn[data-reel-next] { right: -12px; }
}

/* Topper cards (dark ink, orange AIR chip, optional video play badge) */
.topper-card {
  width: 236px;
  background: var(--c-dark);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.topper-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.4;
  background: #2A3560;
  color: inherit;
}
.topper-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.initials-circle {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 26px;
  font-weight: var(--fw-heavy);
  letter-spacing: .02em;
}
.play-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  transition: transform var(--speed) var(--ease);
}
a.topper-media:hover .play-badge { transform: scale(1.08); }
.topper-body { padding: var(--sp-4); display: grid; gap: 6px; justify-items: start; }
.topper-name { margin: 0; font-size: 16px; font-weight: var(--fw-semi); color: #fff; }
.topper-meta { margin: 0; font-size: var(--fs-tiny); color: var(--c-ink-3); }

/* ---------- 6. Topbar + navbar + drawer ---------- */
.topbar {
  background: var(--c-dark);
  color: #fff;
  font-size: 13.5px;
}
.topbar-in {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 38px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  font-weight: var(--fw-semi);
  transition: color var(--speed) var(--ease);
}
.topbar a:hover { color: #fff; }
.topbar a svg { flex: 0 0 auto; }
.topbar-wa { color: var(--c-wa) !important; }
.topbar-wa:hover { color: #5df08f !important; }
.topbar-spacer { flex: 1; }

.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--ground);
  border-bottom: 1px solid var(--c-line);
}
.navbar-in {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 42px; width: auto; display: block; }

/* Checkbox-hack drawer: works with JS disabled */
.nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.nav-burger {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--c-dark);
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.nav-check:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-check:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-check:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-check:focus-visible ~ .nav-burger { outline: 3px solid var(--c-focus); outline-offset: 2px; }

.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--ground);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-pop);
  padding: var(--sp-3) var(--gutter) var(--sp-5);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.nav-check:checked ~ .nav-menu { display: flex; }
.nav-menu a {
  color: var(--c-ink);
  text-decoration: none;
  font-weight: var(--fw-semi);
  padding: 13px 4px;
  border-bottom: 1px solid var(--c-line);
  transition: color var(--speed) var(--ease);
}
.nav-menu a:hover { color: var(--c-accent); }
.nav-menu a[aria-current="page"] { color: var(--c-accent); }
.nav-menu .nav-cta {
  margin-top: var(--sp-4);
  border-bottom: 0;
  color: #fff;
  padding: 12px 26px;
}
.nav-menu .nav-cta:hover { color: #fff; }

@media (min-width: 900px) {
  .navbar-in { min-height: 76px; gap: var(--sp-5); }
  .brand img { height: 52px; }
  .nav-check, .nav-burger { display: none; }
  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    margin-left: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow: visible;
  }
  .nav-menu a { padding: 6px 0; border-bottom: 0; font-size: 15px; }
  .nav-menu a:not(.nav-cta) {
    position: relative;
  }
  .nav-menu a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--c-accent);
    transition: right var(--speed) var(--ease);
  }
  .nav-menu a:not(.nav-cta):hover::after,
  .nav-menu a:not(.nav-cta)[aria-current="page"]::after { right: 0; }
  .nav-menu .nav-cta { margin-top: 0; margin-left: var(--sp-2); }
}

/* ---------- 6b. Dropdown menus (old-site structure) ---------- */
/* Mobile (in drawer): group label is a heading, submenu links show indented. */
.nav-group { display: flex; flex-direction: column; }
.nav-group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--c-ink);
  font-weight: var(--fw-semi);
  padding: 13px 4px;
  border-bottom: 1px solid var(--c-line);
  cursor: default;
}
.nav-sub { display: flex; flex-direction: column; }
.nav-sub a { padding-left: 18px !important; font-size: 14.5px; color: var(--c-ink-2); }
.nav-caret { opacity: .55; }

@media (min-width: 900px) {
  .nav-group { position: relative; }
  .nav-group-label {
    padding: 6px 0;
    border-bottom: 0;
    gap: 4px;
    cursor: pointer;
    font-size: 15px;
  }
  .nav-group:hover .nav-group-label { color: var(--c-accent); }
  .nav-sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 232px;
    background: var(--ground);
    border: 1px solid var(--c-line);
    border-radius: 12px;
    box-shadow: var(--shadow-pop);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
    z-index: var(--z-nav);
  }
  .nav-group:hover .nav-sub,
  .nav-group:focus-within .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
  }
  .nav-sub a {
    padding: 9px 12px !important;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    color: var(--c-ink);
  }
  .nav-sub a::after { display: none !important; }
  .nav-sub a:hover { background: var(--c-tint-peach); color: var(--c-accent); }
  .nav-caret { flex: none; }
}

/* ---------- 7. Announcement strip ---------- */
.announce {
  background: var(--c-accent);
  color: #fff;
  text-align: center;
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  padding: 9px 0;
}
.announce a { color: #fff; }

/* ---------- 7b. Gentle scroll reveal (opt-in via [data-reveal]) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- 8. Footer ---------- */
.footer {
  background: var(--c-dark);
  color: var(--c-dark-muted);
  font-size: var(--fs-small);
  padding: var(--sp-8) 0 var(--sp-5);
  margin-top: var(--sp-8);
}
.footer-brand {
  font-size: 24px;
  font-weight: var(--fw-heavy);
  color: #fff;
  letter-spacing: -0.01em;
}
.footer-wordmark {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: #fff;
  letter-spacing: .01em;
}
.footer-brand .dot { color: var(--c-accent); }
.footer-tag { color: var(--c-dark-muted); margin-top: var(--sp-2); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1.4fr; } }
.footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: var(--fw-heavy);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--c-dark-muted); text-decoration: none; transition: color var(--speed) var(--ease); }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; }
.footer-nap { display: grid; gap: var(--sp-4); }
.footer-nap strong { color: #fff; font-weight: var(--fw-semi); display: block; }
.footer-social { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-weight: var(--fw-semi);
}
.footer-social a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  font-size: var(--fs-tiny);
  color: var(--c-ink-3);
}
.footer-bottom a { color: var(--c-dark-muted); }
.footer-bottom nav { display: flex; gap: var(--sp-4); }

/* ---------- 9. Mobile sticky call/WhatsApp bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 16px rgba(30, 39, 73, .14);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  font-weight: var(--fw-heavy);
  font-size: 15px;
  text-decoration: none;
  transition: filter var(--speed) var(--ease);
}
.sticky-btn:hover { filter: brightness(1.08); }
.sticky-call { background: var(--c-dark); color: #fff; }
.sticky-call:hover { color: #fff; }
.sticky-wa { background: var(--c-wa-bg); color: var(--c-wa-ink); }
.sticky-wa:hover { color: var(--c-wa-ink); }
@media (max-width: 767.98px) {
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .sticky-bar { display: none; }
}

/* ---------- 10. Forms ---------- */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  margin-bottom: 6px;
}
.form .req { color: var(--c-accent); }
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="number"],
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: var(--radius-sm);
  background: var(--ground);
  color: var(--c-ink);
  font: inherit;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.form textarea { min-height: 110px; resize: vertical; }
.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' stroke='%235A6280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-focus);
}
.form-note { font-size: var(--fs-tiny); color: var(--c-ink-2); margin: 0; }

/* Honeypot — hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Enquiry success card */
.form-success {
  text-align: center;
  padding: var(--sp-7) var(--sp-5);
}
.form-success .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-wa-bg);
  color: var(--c-wa-ink);
  margin-bottom: var(--sp-4);
}

/* ---------- 11. FAQ (details/summary) ---------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--ground);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 16px 20px;
  font-weight: var(--fw-semi);
  transition: color var(--speed) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' stroke='%231E2749' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--speed) var(--ease);
}
.faq details[open] summary { color: var(--c-accent); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .faq-a { padding: 0 20px 18px; color: var(--c-ink-2); }

/* ---------- 12. 404 page ---------- */
.nf { text-align: center; }
.nf-code {
  font-size: clamp(64px, 16vw, 120px);
  font-weight: var(--fw-heavy);
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: -0.04em;
  margin: 0 0 var(--sp-3);
}
.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-6);
}

/* ---------- 13. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.flow > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* ---------- 14. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
