/* ==========================================================================
   ATXpert - Independent Forensic Toxicology
   Design system & site styles
   Hand-coded, dependency-free (Google Fonts only). Suitable for static hosting.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette - deep midnight navy + crisp white + a disciplined blue accent
     and a restrained gold used only for credentials/awards. */
  --navy-900: #060d1a;
  --navy-850: #081120;
  --navy-800: #0a1526;
  --navy-750: #0d1b30;
  --navy-700: #10213a;
  --navy-600: #142a48;
  --navy-500: #1b3557;

  --white:    #f6f9fd;
  --text:     #dbe4f0;   /* body copy */
  --muted:    #93a5bf;   /* secondary copy */
  --faint:    #6a7d99;   /* meta / captions */

  --accent:      #4f9cf9; /* primary action / links / icon strokes */
  --accent-strong:#2f80e8;
  --accent-soft: rgba(79, 156, 249, 0.12);
  --accent-line: rgba(79, 156, 249, 0.30);

  --gold:      #c9a86a;   /* credentials, awards - used sparingly */
  --gold-soft: rgba(201, 168, 106, 0.14);

  --line:      rgba(147, 165, 191, 0.16);
  --line-soft: rgba(147, 165, 191, 0.09);

  /* Typography */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing / layout */
  --container: 1180px;
  --container-narrow: 820px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-sm: 6px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 24px -16px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 20px 44px -26px rgba(0, 0, 0, 0.7);

  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--navy-800);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #7fb6fb; }

ul { list-style: none; padding: 0; }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #04101f; }

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.65rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { color: var(--text); }
strong { color: var(--white); font-weight: 600; }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--muted);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.text-gold { color: var(--gold); }

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; }

.surface { background: var(--navy-750); }
.surface-deep { background: var(--navy-900); }

.divider { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 859px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  padding: 0.85rem 1.45rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #04101f;
}
.btn-primary:hover {
  color: #04101f;
  background: var(--accent-strong);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--white);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg { padding: 1.05rem 1.85rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8, 17, 32, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(6, 13, 26, 0.9);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo:hover { color: inherit; }
.logo-mark { width: 40px; height: auto; flex: none; color: var(--white); }
/* Brand mark: white on dark backgrounds, brand blue on light. Add .on-light to flip it. */
.logo-mark.on-light { color: var(--accent); }
.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--white);
}
.logo-word b { color: var(--accent); font-weight: 700; }
.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 1px;
}

/* Primary nav */
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.nav-item.current > .nav-link {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.nav-link .caret { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }

/* Dropdown */
.nav-item.has-menu { position: relative; }
.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: var(--navy-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-menu::before {
  content: "";
  position: absolute;
  top: -18px; left: 0; right: 0;
  height: 18px;
}
.nav-item.has-menu:hover .nav-menu,
.nav-item.has-menu:focus-within .nav-menu,
.nav-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-item.has-menu:hover .nav-link .caret,
.nav-item.has-menu:focus-within .nav-link .caret { transform: rotate(180deg); }
.menu-link {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  transition: background 0.18s var(--ease);
}
.menu-link:hover { background: rgba(255, 255, 255, 0.05); }
.menu-link .m-icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}
.menu-link .m-icon svg { width: 20px; height: 20px; }
.menu-link > span:last-child { min-width: 0; }
.menu-link .m-title { display: block; color: var(--white); font-weight: 600; font-size: 0.95rem; font-family: var(--font-display); }
.menu-link .m-desc { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.4; margin-top: 2px; }

.nav-cta { margin-left: 0.5rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--white); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   7. Mobile nav
   -------------------------------------------------------------------------- */
@media (max-width: 940px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-850);
    border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1.15rem, 4vw, 2.5rem) 1.6rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), visibility 0.28s;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-link { padding: 0.85rem 0.5rem; font-size: 1.05rem; border-radius: 8px; }
  .nav-item { border-bottom: 1px solid var(--line-soft); }
  .nav-item.has-menu { position: static; }
  .nav-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0.6rem 0.6rem;
    display: none;
  }
  .nav-menu.open { display: block; transform: none; } /* override desktop translateX(-50%) */
  .nav-item.has-menu:hover .nav-menu { transform: none; }
  .nav-cta { margin: 1.1rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.12fr 0.88fr; gap: 4rem; }
}
.hero h1 { margin-top: 1.3rem; }
.hero .lead { margin-top: 1.4rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-trust .t-item { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.88rem; }
.hero-trust .t-item svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.hero-trust .t-item b { color: var(--white); font-weight: 600; }

/* Hero side card */
.hero-card {
  position: relative;
  background: var(--navy-750);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
}
.hero-card .hc-eyebrow { color: var(--gold); }
.hero-card h3 { margin: 0.8rem 0 1.2rem; }
.hc-list { display: grid; gap: 0.9rem; }
.hc-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text); font-size: 0.96rem; }
.hc-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-top: 1px;
}
.hc-list .tick svg { width: 13px; height: 13px; }
.hero-card .hc-foot {
  margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.7rem; font-size: 0.86rem; color: var(--muted);
}
.hero-card .hc-foot svg { width: 22px; height: 22px; color: var(--gold); }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--navy-750);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: border-color 0.2s var(--ease);
}
.card:hover { border-color: var(--muted); }

.icon-badge {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
  margin-bottom: 1.25rem;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.gold { background: var(--gold-soft); color: var(--gold); border-color: rgba(201,168,106,0.3); }

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .link-arrow { margin-top: 1.2rem; }

/* Service (large) card */
.service-card { display: flex; flex-direction: column; padding: 2rem; }
.service-card .tag {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.service-card ul { display: grid; gap: 0.6rem; margin: 1.3rem 0 1.6rem; }
.service-card ul li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  color: var(--text); font-size: 0.94rem;
}
.service-card ul li svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.service-card .link-arrow { margin-top: auto; }

/* Compact feature item */
.feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.015);
  transition: border-color 0.2s var(--ease);
}
.feature:hover { border-color: var(--muted); }
.feature .f-icon {
  flex: none; width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--navy-600); color: var(--accent);
  border: 1px solid var(--line);
}
.feature .f-icon svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 0.25rem; }
.feature p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* --------------------------------------------------------------------------
   10. Charge chips
   -------------------------------------------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}
.chip svg { width: 16px; height: 16px; color: var(--accent); }

/* --------------------------------------------------------------------------
   11. Steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1.4rem; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 2rem 1.7rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-750);
}
.step .num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: 0.9;
}
.step h3 { margin: 0.9rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3.1rem; right: -1.4rem;
    width: 1.4rem; height: 1px;
    background: var(--accent-line);
  }
}

/* --------------------------------------------------------------------------
   12. Credentials / trust band
   -------------------------------------------------------------------------- */
.creds { display: grid; gap: 1.4rem; align-items: center; }
@media (min-width: 900px) { .creds { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.cred-list { display: grid; gap: 0.9rem; }
.cred-item {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  background: rgba(255,255,255,0.015);
}
.cred-item svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.cred-item .c-title { color: var(--white); font-weight: 600; font-family: var(--font-display); font-size: 0.98rem; }
.cred-item .c-sub { color: var(--muted); font-size: 0.86rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--navy-700);
  font-size: 0.86rem; color: var(--muted);
}
.trust-badge b { color: var(--white); font-weight: 600; font-family: var(--font-display); }
.trust-badge svg { width: 26px; height: 26px; color: var(--gold); }

/* Stat row */
.stats { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.015);
  text-align: center;
}
.stat .n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 700; color: var(--white); line-height: 1; }
.stat .n .plus { color: var(--accent); }
.stat .l { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; }
.cta-inner {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  background: var(--navy-750);
  text-align: center;
}
.cta-inner h2 { max-width: 20ch; margin-inline: auto; }
.cta-inner p { max-width: 52ch; margin: 1rem auto 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   14. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { max-width: var(--container); }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--faint); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 1.2rem; max-width: 60ch; }

/* Prose (long-form pages: privacy, about copy) */
.prose { max-width: var(--container-narrow); }
.prose h2 { margin-top: 2.6rem; margin-bottom: 0.9rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.6rem; }
.prose p { margin-bottom: 1rem; color: var(--text); }
.prose ul { display: grid; gap: 0.55rem; margin: 0.5rem 0 1.4rem; }
.prose ul li { position: relative; padding-left: 1.5rem; color: var(--text); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose h3 { color: var(--white); font-size: 1.12rem; }

/* Newsletter / blog article meta */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; margin-top: 1.1rem; color: var(--faint); font-size: 0.9rem; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.post-foot { max-width: var(--container-narrow); margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.post-back { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--accent); }
.post-back svg { width: 18px; height: 18px; }
/* Newsletter archive card */
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card .post-card-meta { color: var(--faint); font-size: 0.85rem; margin-bottom: 0.7rem; }
.post-card h3 { margin-bottom: 0.6rem; }
.post-card .link-arrow { margin-top: auto; }

/* Placeholder thumbnail: same idea as the About headshot: a CSS/SVG stand-in
   (no photo files needed). Swap for a real image any time; see images/README.txt. */
.post-thumb {
  margin: -2rem -2rem 1.4rem;            /* bleed to the card edges (cancels the 2rem padding) */
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(79,156,249,0.22), transparent 60%),
    linear-gradient(180deg, var(--navy-600), var(--navy-850));
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.16);
  position: relative;
}
.post-thumb svg { width: 44px; height: 44px; }
.post-thumb::after {                     /* subtle brand mark, bottom-right */
  content: ""; position: absolute; right: 14px; bottom: 12px;
  width: 22px; height: 22px; border-radius: 5px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
/* Article hero placeholder banner */
.post-hero-thumb {
  max-width: var(--container-narrow);
  aspect-ratio: 21 / 8;
  margin: 1.8rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(79,156,249,0.20), transparent 60%),
    linear-gradient(180deg, var(--navy-600), var(--navy-850));
  display: grid; place-items: center;
  color: rgba(255,255,255,0.16);
  position: relative;
}
.post-hero-thumb svg { width: 54px; height: 54px; }

/* --------------------------------------------------------------------------
   15. About specifics
   -------------------------------------------------------------------------- */
.bio { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .bio { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; } }
.bio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-750);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.bio-portrait {
  aspect-ratio: 4 / 4.4;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(79,156,249,0.25), transparent 60%),
    linear-gradient(180deg, var(--navy-600), var(--navy-850));
  display: grid; place-items: center;
  color: var(--faint);
  position: relative;
}
.bio-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block;
}
.bio-portrait .initials {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 700; color: rgba(255,255,255,0.14);
  letter-spacing: -0.03em;
}
.bio-portrait .ph-note {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-size: 0.72rem; color: var(--faint);
}
.bio-meta { padding: 1.5rem; }
.bio-meta .name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--white); }
.bio-meta .role { color: var(--accent); font-size: 0.9rem; font-weight: 500; margin-top: 2px; }
.bio-meta .quals { margin-top: 1.1rem; display: grid; gap: 0.5rem; }
.bio-meta .quals li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.bio-meta .quals li svg { flex: none; width: 15px; height: 15px; color: var(--gold); margin-top: 3px; }

.timeline { display: grid; gap: 0; margin-top: 0.5rem; }
.tl-item { position: relative; padding: 0 0 2rem 2rem; border-left: 1.5px solid var(--line); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -6.5px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.tl-item .tl-when { font-size: 0.8rem; color: var(--accent); font-weight: 600; letter-spacing: 0.03em; }
.tl-item h3 { margin: 0.3rem 0 0.5rem; font-size: 1.15rem; }
.tl-item p { color: var(--muted); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.contact-methods { display: grid; gap: 1rem; }
.contact-method {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-750);
  transition: border-color 0.2s var(--ease);
}
.contact-method:hover { border-color: var(--muted); }
.contact-method .cm-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.contact-method .cm-icon svg { width: 22px; height: 22px; }
.contact-method > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-method .cm-label { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.contact-method .cm-value { display: block; color: var(--white); font-weight: 600; font-family: var(--font-display); font-size: 1.02rem; word-break: break-word; }
.contact-method .cm-value:hover { color: var(--accent); }

/* Form */
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--navy-750);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--white); margin-bottom: 0.45rem; font-family: var(--font-display); }
.field label .req { color: var(--accent); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.invalid input, .field.invalid textarea { border-color: #e5686d; }
.field .error-msg { display: none; color: #f0989c; font-size: 0.8rem; margin-top: 0.35rem; }
.field.invalid .error-msg { display: block; }

.form-note { font-size: 0.82rem; color: var(--faint); margin-top: 0.9rem; line-height: 1.5; }
.form-note a { color: var(--muted); }

/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* form feedback */
.form-alert {
  display: none;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}
.form-alert.show { display: block; }
.form-alert.ok { background: rgba(63, 176, 122, 0.14); border: 1px solid rgba(63,176,122,0.4); color: #a7e6c6; }
.form-alert.err { background: rgba(229, 104, 109, 0.12); border: 1px solid rgba(229,104,109,0.4); color: #f0989c; }

/* ---- Toast notifications (form submit feedback) ---------------------------- */
.toast-region {
  position: fixed;
  z-index: 1000;
  top: 1.1rem;
  right: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: min(92vw, 400px);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--navy-700);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(115%);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast .toast-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.toast .toast-icon svg { width: 14px; height: 14px; stroke-width: 2.6; }
.toast.ok  { border-color: rgba(63,176,122,0.5); }
.toast.ok  .toast-icon { background: rgba(63,176,122,0.18); color: #6ee0a6; }
.toast.err { border-color: rgba(229,104,109,0.5); }
.toast.err .toast-icon { background: rgba(229,104,109,0.18); color: #f0989c; }
.toast .toast-close {
  flex: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--faint);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0 0.15rem;
}
.toast .toast-close:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.2s linear; transform: none; }
}

.map-embed {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  filter: grayscale(0.3) contrast(1.05) brightness(0.85);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   17. FAQ / accordion
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0.9rem; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-750); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: none; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--white);
}
.faq-q .fq-icon { flex: none; width: 22px; height: 22px; color: var(--accent); transition: transform 0.25s var(--ease); }
.faq-item.open .fq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy-900);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.3fr; } }
.footer-brand .logo { margin-bottom: 1.1rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.footer-brand address { font-style: normal; color: var(--muted); font-size: 0.9rem; margin-top: 1rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { color: var(--muted); font-size: 0.94rem; }
.footer-col a:hover { color: var(--white); }
.footer-contact .fc-item { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.7rem; color: var(--muted); font-size: 0.92rem; }
.footer-contact .fc-item svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--white); }

.footer-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.75rem; border: 1px solid var(--line); border-radius: 8px;
  font-size: 0.76rem; color: var(--muted);
}
.footer-badge svg { width: 16px; height: 16px; color: var(--gold); }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem;
  align-items: center; justify-content: space-between;
}
.footer-bottom p { color: var(--faint); font-size: 0.84rem; }
.footer-bottom .fb-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-bottom .fb-links a { color: var(--faint); font-size: 0.84rem; }
.footer-bottom .fb-links a:hover { color: var(--white); }

.disclaimer {
  color: var(--faint); font-size: 0.78rem; line-height: 1.6;
  border-top: 1px solid var(--line-soft);
  padding-block: 1.4rem 2rem;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   18b. Penalty calculator
   -------------------------------------------------------------------------- */
.calc {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}
@media (min-width: 940px) { .calc { grid-template-columns: 1fr 1fr; gap: 2.2rem; } }

.calc-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--navy-750);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
}
.calc-panel .calc-step-label {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--faint); font-weight: 600; margin-bottom: 0.85rem;
}
.calc-panel h3 { margin-bottom: 0.4rem; }
.calc-legend { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.4rem; }

/* Offence chooser (radio cards) */
.calc-offences { display: grid; gap: 0.7rem; margin-bottom: 1.6rem; }
@media (min-width: 560px) { .calc-offences { grid-template-columns: 1fr 1fr; } }
.calc-offence {
  position: relative;
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.015);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.calc-offence:hover { border-color: var(--muted); }
.calc-offence input { position: absolute; opacity: 0; pointer-events: none; }
.calc-offence .o-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.calc-offence .o-icon svg { width: 21px; height: 21px; }
.calc-offence .o-title { display: block; font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 0.98rem; }
.calc-offence .o-sub { display: block; color: var(--faint); font-size: 0.8rem; margin-top: 2px; }
.calc-offence input:checked ~ .o-icon { background: var(--accent); color: #04101f; border-color: var(--accent); }
.calc-offence:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent-line);
}

/* Question fields */
.calc-q { margin-bottom: 1.3rem; }
.calc-q:last-of-type { margin-bottom: 0; }
.calc-q > .q-label {
  display: block; font-family: var(--font-display); font-weight: 600;
  color: var(--white); font-size: 0.96rem; margin-bottom: 0.6rem;
}
.calc-q .q-hint { display: block; color: var(--faint); font-size: 0.82rem; font-weight: 400; margin-top: 2px; }

/* Segmented control (yes/no & option pickers) */
.calc-seg { display: inline-flex; flex-wrap: wrap; gap: 0.5rem; }
.calc-seg label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--text); font-size: 0.92rem; font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}
.calc-seg label:hover { border-color: var(--muted); }
.calc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.calc-seg label:has(input:checked) {
  background: var(--accent); border-color: var(--accent); color: #04101f; font-weight: 600;
}

/* Reading input with unit suffix */
.calc-reading { display: flex; align-items: stretch; max-width: 340px; }
.calc-reading input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: 10px 0 0 10px;
  border-right: 0;
  color: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.calc-reading input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.calc-reading .calc-unit {
  display: grid; place-items: center;
  padding: 0 1rem;
  background: var(--navy-700);
  border: 1px solid var(--line);
  border-radius: 0 10px 10px 0;
  color: var(--muted); font-size: 0.85rem; white-space: nowrap;
}
.calc-inline-err { display: none; color: #f0989c; font-size: 0.82rem; margin-top: 0.5rem; }
.calc-inline-err.show { display: block; }

.calc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }

/* Result card */
.calc-result-wrap { min-width: 0; }
.calc-result {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.calc-result-head {
  padding: 1.3rem clamp(1.3rem, 3vw, 1.8rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--navy-700), var(--navy-750));
}
.calc-result-head .r-eyebrow { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; }
.calc-result-head h3 { margin-top: 0.35rem; }
.calc-result-head .r-inputs { margin-top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.calc-tag {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--muted); font-size: 0.78rem;
}
.calc-rows { padding: 0.4rem clamp(1.3rem, 3vw, 1.8rem) 0.6rem; }
.calc-row { padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); }
.calc-row:last-child { border-bottom: 0; }
.calc-row .r-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.calc-row .r-label svg { width: 15px; height: 15px; color: var(--accent); }
.calc-row .r-value { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 1.18rem; margin-top: 0.3rem; line-height: 1.3; }
.calc-row.headline .r-value { color: var(--white); font-size: 1.35rem; }
.calc-row.headline .r-value .accent { color: var(--accent); }

.calc-note {
  margin: 0 clamp(1.3rem, 3vw, 1.8rem);
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid rgba(201,168,106,0.3);
  color: var(--text); font-size: 0.86rem; line-height: 1.55;
  display: flex; gap: 0.7rem; align-items: flex-start;
}
.calc-note svg { flex: none; width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }

.calc-factors { margin: 1.1rem clamp(1.3rem, 3vw, 1.8rem) 0.2rem; }
.calc-factors details { border-top: 1px solid var(--line-soft); padding: 0.4rem 0; }
.calc-factors summary { cursor: pointer; padding: 0.6rem 0; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--white); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.calc-factors summary::-webkit-details-marker { display: none; }
.calc-factors summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.calc-factors details[open] summary::after { content: "\2013"; }
.calc-factors ul { display: grid; gap: 0.4rem; padding: 0 0 0.8rem; }
.calc-factors li { position: relative; padding-left: 1.2rem; color: var(--muted); font-size: 0.87rem; }
.calc-factors li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }

.calc-cta {
  margin: 1.2rem clamp(1.3rem, 3vw, 1.8rem) clamp(1.3rem, 3vw, 1.8rem);
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.calc-cta p { color: var(--text); font-size: 0.92rem; margin-bottom: 0.9rem; }
.calc-cta p strong { color: var(--white); }

/* Empty / placeholder state for the result column */
.calc-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,0.01);
}
.calc-empty svg { width: 40px; height: 40px; color: var(--faint); margin: 0 auto 1rem; opacity: 0.7; }
.calc-empty h3 { color: var(--white); margin-bottom: 0.5rem; }
.calc-empty p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; margin-inline: auto; }

.calc-hidden { display: none !important; }

/* Home-page promo card for the calculator */
.calc-promo {
  display: grid; gap: 2rem; align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(79,156,249,0.14), transparent 55%),
    var(--navy-750);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
@media (min-width: 820px) { .calc-promo { grid-template-columns: 1.3fr 1fr; } }
.calc-promo .cp-eyebrow { color: var(--accent); }
.calc-promo h2 { margin: 0.8rem 0 0.7rem; }
.calc-promo p { color: var(--muted); max-width: 46ch; }
.calc-promo .cp-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.calc-promo-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-800);
  padding: 1.4rem;
}
.calc-promo-preview .pp-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.calc-promo-preview .pp-value { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 1.05rem; margin: 0.15rem 0 0.9rem; }
.calc-promo-preview .pp-value:last-child { margin-bottom: 0; }
.calc-promo-preview .pp-value .accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   19. Utilities & motion preferences
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--accent); color: #04101f;
  padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600; z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #04101f; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
