/* ==========================================================================
   SubjectRX — global.css
   Single source of truth for tokens, reset, typography, layout,
   navigation, footer, buttons, forms, reveals, and shared utilities.
   Page-specific CSS files import nothing from here — they rely on this
   file being linked first in every page <head>.
   ========================================================================== */


/* ─────────────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ───────────────────────────────────────────────────────────────────────── */
:root {
  /* Brand greens */
  --g:        #0C5642;
  --g-lift:   #156650;
  --g-deep:   #093F32;
  --g-dark:   #072F24;
  --g-cta:    #0A4A39;
  --g-hover:  #0A4738;

  /* Shared hero gradient — source of truth for all green gradient elements */
  --g-gradient: linear-gradient(135deg, #156650 0%, #0C5642 42%, #093F32 100%);

  /* Surfaces */
  --cream:    #F1ECE4;
  --surf:     #F7F4EE;
  --white:    #FFFFFF;

  /* Borders */
  --bdr:      #D6CFC4;
  --bdr-lt:   #E2DCD4;

  /* Ink */
  --ink:      #22302B;
  --ink-ft:   #1D2925;
  --muted:    #475A53;

  /* Accent */
  --sage:     #6E9282;
  --sage-lt:  #DCE9E4;
  --btn-fill: #EAF2ED;

  /* Form states */
  --focus:    #2E6A57;
  --err:      #B94040;
  --err-bg:   #FDF4F4;
  --ok:       #2E7D5A;

  /* Nav height placeholder — overwritten by JS */
  --nav-h:    52px;
}


/* ─────────────────────────────────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  /* Prevent iOS font-size inflation */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100dvh;
}

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

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

button {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* Remove default button appearance */
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Focus-visible: only show outline on keyboard navigation */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}


/* ─────────────────────────────────────────────────────────────────────────
   3. LAYOUT
   ───────────────────────────────────────────────────────────────────────── */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 44px;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 22px;
  }
}


/* ─────────────────────────────────────────────────────────────────────────
   4. TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────── */

/* Eyebrow label — DM Mono, uppercase, muted sage */
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 16px;
}

/* Section heading — Inter light with Cormorant em */
.h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--ink);
}

.h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.22em;
  letter-spacing: -.005em;
}

/* Body copy */
.body-copy {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.76;
  color: var(--muted);
  margin-bottom: 16px;
}

.body-copy:last-child {
  margin-bottom: 0;
}


/* ─────────────────────────────────────────────────────────────────────────
   5. BUTTON SYSTEM
   All variants share .btn base. Context variants are additive modifiers.
   ───────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
  padding: 12px 26px;
  /* Prevent text-size override by page CSS */
  line-height: 1;
}

/* Primary — sage fill on light backgrounds */
.btn-primary {
  background: var(--btn-fill);
  color: var(--g);
  border-color: transparent;
}

.btn-primary:hover {
  background: var(--sage-lt);
}

/* Secondary — ghost on dark backgrounds */
.btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, .84);
  border-color: rgba(255, 255, 255, .3);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, .65);
  color: var(--white);
}

/* Outline — ghost on light backgrounds */
.btn-outline {
  background: transparent;
  color: var(--g);
  border-color: rgba(12, 86, 66, .3);
}

.btn-outline:hover {
  background: var(--sage-lt);
  border-color: var(--g);
}

/* Submit — gradient brand green; used for all form submit actions */
.btn-submit {
  background: var(--g-gradient);
  color: var(--white);
  border-color: transparent;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #1a7a5e 0%, #156650 42%, #0C5642 100%);
}

.btn-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Focus states for all .btn variants */
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}


/* ─────────────────────────────────────────────────────────────────────────
   6. SCROLL REVEAL ANIMATION
   Elements marked .reveal are invisible by default.
   IntersectionObserver in global.js adds .visible when they enter viewport.
   Delay utilities .d1–.d4 stagger sibling elements.
   ───────────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* Reduced motion: remove transforms and shorten all transitions site-wide.
   .reveal opacity is kept so content still fades in — just without movement. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    transform: none;
    transition: opacity .3s ease !important;
  }

  .mob-menu {
    transform: none;
    transition: opacity .15s ease, visibility 0s linear .15s !important;
  }

  .mob-menu.open {
    transition: opacity .15s ease, visibility 0s linear 0s !important;
  }
}


/* ─────────────────────────────────────────────────────────────────────────
   7. NAVIGATION
   Fixed top bar. Dark brand green. Logo + links + CTA button + hamburger.
   Nav CTA is hidden on /contact and /thank-you via .no-nav-cta body class.
   ───────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--g-lift);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 15px 44px;
}

.nav-content {
  display: flex;
  align-items: center;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.025em;
  margin-right: 52px;
  flex-shrink: 0;
  transition: opacity .15s;
}

.nav-logo:hover {
  opacity: .8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
  /* nav-links is a <ul> — li children are flex items, not blocks */
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, .68);
  letter-spacing: .005em;
  transition: color .15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 3px;
  padding: 9px 18px;
  white-space: nowrap;
  transition: background .18s, border-color .18s;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .6);
}

/* Suppress nav CTA on pages where it creates circular UX */
/* Applied via body class: <body class="no-nav-cta"> */
.no-nav-cta .nav-cta {
  display: none;
}

/* Hamburger — mobile only */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(255, 255, 255, .8);
  border-radius: 1px;
  /* Transition present on all pages — was missing from non-homepage pages */
  transition: transform .2s, opacity .2s;
}

/* Animated X state */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu panel */
.mob-menu {
  display: flex;
  flex-direction: column;
  background: var(--g-dark);
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  top: var(--nav-h, 52px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  /* Slide in from above */
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform .22s ease, opacity .22s ease, visibility 0s linear .22s;
}

.mob-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: transform .22s ease, opacity .22s ease, visibility 0s linear 0s;
}

.mob-menu a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, .78);
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: color .15s;
}

.mob-menu a:hover {
  color: var(--white);
}

/* Last link in mobile menu — CTA treatment */
.mob-menu a.mob-cta {
  font-weight: 500;
  color: var(--white);
  border-bottom: none;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-inner {
    padding: 13px 22px;
  }
}


/* ─────────────────────────────────────────────────────────────────────────
   8. SUB-PAGE HERO BASE
   Text-only hero used across Services, FAQ, and Join.
   Contact does not use this pattern (it uses a full-viewport 2-col layout).
   Page CSS files can override .hero-inner padding and .hero-h1 size.
   ───────────────────────────────────────────────────────────────────────── */
.page-hero {
  padding-top: var(--nav-h, 52px);
  background: var(--g-gradient);
}

.page-hero-inner {
  padding: 64px 0 72px;
  max-width: 720px;
}

.page-hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .32);
  display: block;
  margin-bottom: 24px;
}

.page-hero-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 28px;
}

.page-hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.04;
  letter-spacing: -.018em;
  color: var(--white);
  margin-bottom: 22px;
}

.page-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255, 255, 255, .52);
  max-width: 460px;
}

@media (max-width: 768px) {
  .page-hero-inner {
    padding: 48px 0 56px;
  }

  .page-hero-h1 {
    font-size: clamp(28px, 8vw, 40px);
  }
}


/* ─────────────────────────────────────────────────────────────────────────
   9. SHARED FORM SYSTEM
   Base styles for all form fields across contact and join pages.
   Page CSS files handle layout (grid, columns) but not base field appearance.
   ───────────────────────────────────────────────────────────────────────── */

/* Field wrapper */
.field {
  margin-bottom: 14px;
}

.field:last-of-type {
  margin-bottom: 0;
}

/* Label */
.field-label {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
  /* Smooth capitalisation behaviour handled in JS */
  text-transform: none;
}

/* Input and textarea base */
.field-input,
.field-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 3px;
  padding: 10px 13px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}

.field-textarea {
  height: 110px;
  resize: vertical;
  min-height: 88px;
  line-height: 1.6;
}

/* Focus state */
.field-input:focus,
.field-textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(46, 106, 87, .09);
}

/* Error state */
.field-input.has-error,
.field-textarea.has-error {
  border-color: var(--err);
  background: var(--err-bg);
}

/* Success state */
.field-input.is-valid,
.field-textarea.is-valid {
  border-color: var(--ok);
}

/* Placeholder */
.field-input::placeholder,
.field-textarea::placeholder {
  color: #B8B0A6;
  font-style: italic;
}

/* Autofill — prevent browser from breaking the design language */
.field-input:-webkit-autofill,
.field-input:-webkit-autofill:hover,
.field-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px var(--white) inset;
  -webkit-text-fill-color: var(--ink);
  /* Delay so browser fill colour never flashes */
  transition: background-color 9999s ease-in-out 0s;
}

/* Error message */
.field-error {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--err);
  margin-top: 4px;
  display: none;
  line-height: 1.4;
}

.field-error.visible {
  display: block;
}

/* Field note (helper text below input) */
.field-note {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: #A0A89E;
  margin-top: 4px;
  display: block;
  line-height: 1.5;
}

/* Consent row */
.consent-wrap {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0 18px;
}

.consent-check {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--g);
  cursor: pointer;
}

.consent-label {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--sage);
  cursor: pointer;
}

.consent-label a {
  color: var(--g);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Post-submit helper text */
.submit-note {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
}

.submit-redirect {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--sage);
  margin-top: 5px;
}

.submit-redirect a {
  color: var(--g);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ─────────────────────────────────────────────────────────────────────────
   10. BACK TO TOP
   Only included in HTML on homepage and services.
   JS adds/removes .visible based on scroll position.
   ───────────────────────────────────────────────────────────────────────── */
.btt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  background: var(--g);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, background .2s;
  z-index: 99;
}

.btt.visible {
  opacity: 1;
  transform: translateY(0);
}

.btt:hover {
  background: var(--g-hover);
}

.btt svg {
  width: 12px;
  height: 12px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
}


/* ─────────────────────────────────────────────────────────────────────────
   11. COOKIE BANNER
   Slides up from bottom on first visit. Absent from 404 and thank-you HTML.
   ───────────────────────────────────────────────────────────────────────── */
.cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink-ft);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 14px 0;
  z-index: 150;
  transform: translateY(100%);
  transition: transform .26s ease;
}

.cookie.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .52);
  flex: 1;
  min-width: 180px;
}

.cookie-text a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ck {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  transition: opacity .15s;
}

.ck:hover {
  opacity: .85;
}

.ck-yes {
  background: var(--g);
  color: var(--white);
}

.ck-no {
  background: transparent;
  color: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .18);
}


/* ─────────────────────────────────────────────────────────────────────────
   12. FOOTER
   4-column grid above a legal baseline row.
   LinkedIn link lives in the Company column.
   ───────────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink-ft);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 10px;
  display: block;
}

.footer-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .32);
  max-width: 220px;
}

.footer-col-head {
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .28);
  display: block;
  margin-bottom: 14px;
}

.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, .48);
  display: block;
  margin-bottom: 9px;
  transition: color .14s;
}

.footer-link:hover {
  color: rgba(255, 255, 255, .82);
}

/* LinkedIn link — refined icon + label treatment */
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, .38);
  margin-top: 4px;
  transition: color .14s;
}

.footer-linkedin:hover {
  color: rgba(255, 255, 255, .72);
}

.footer-linkedin svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: .7;
  transition: opacity .14s;
}

.footer-linkedin:hover svg {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.footer-legal {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .22);
  flex: 1;
}

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .09em;
  color: rgba(255, 255, 255, .22);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}


/* ─────────────────────────────────────────────────────────────────────────
   13. LEGAL CONTENT TEMPLATE
   Shared by privacy.html and terms.html via legal.css which builds on this.
   ───────────────────────────────────────────────────────────────────────── */
.legal-wrap {
  background: var(--cream);
  padding: 64px 0 96px;
}

.legal-intro {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 14px;
}

.legal-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 10px;
}

.legal-date {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--sage);
  display: block;
  margin-bottom: 48px;
}

.legal-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--bdr-lt);
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Section heading — was <div> in original, now <h2> */
.legal-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.008em;
  color: var(--ink);
  margin-bottom: 14px;
}

/* Sub-section heading — was <div> in original, now <h3> */
.legal-section h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  margin-top: 18px;
}

.legal-body {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--muted);
}

.legal-body p {
  margin-bottom: 10px;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

.legal-body ul {
  list-style: disc;
  padding-left: 18px;
  margin-bottom: 10px;
}

.legal-body li {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 4px;
}


/* ─────────────────────────────────────────────────────────────────────────
   14. UTILITY PAGE SHELL
   Shared by 404.html and thank-you.html.
   Minimal centred layout — no progress bar, no back-to-top, no cookie.
   ───────────────────────────────────────────────────────────────────────── */
.util-wrap {
  padding-top: var(--nav-h, 52px);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--cream);
}

.util-inner {
  padding: 72px 0 96px;
  max-width: 520px;
}

.util-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 20px;
}

.util-rule {
  border: none;
  border-top: 2px solid var(--g);
  width: 28px;
  margin-bottom: 24px;
}

.util-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 18px;
}

.util-body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 28px;
}

.util-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* ─────────────────────────────────────────────────────────────────────────
   15. VISUALLY HIDDEN UTILITY
   For semantic headings that should not disrupt visual design.
   Used across services, homepage, and any page requiring sr-only headings.
   ───────────────────────────────────────────────────────────────────────── */
.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;
}
