/*
Theme Name: Spectrum Assessments Editorial SEO
Theme URI: https://spectrumassessments.com.au
Author: Spectrum Assessments
Description: Editorial clinical-precision theme for Spectrum Assessments, psychological assessments on Sydney's North Shore.
Version: 4.2
License: Private
Text Domain: spectrum-editorial
*/

/* =========================================
   FONTS, Instrument Serif (editorial display)
             + Geist (technical sans)
             + Geist Mono (data accents)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:wght@400&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

/* =========================================
   TOKENS
   ========================================= */
:root {
  /* A single deep green doing almost all the work, supported by near-blacks and bone-paper */
  --ink:            #0A0B0A;
  --ink-2:          #1C1D1B;
  --ink-3:          #3A3B38;
  --ink-4:          #62635F;
  --ink-5:          #8C8D87;

  --paper:          #F5F2EA;   /* warm bone, hero / sections */
  --paper-2:        #EDE9DD;   /* slightly darker paper */
  --paper-3:        #DCD7C5;   /* paper divider */
  --white:          #FBFAF6;   /* clean off-white */
  --pure:           #FFFFFF;

  --rule:           #1C1D1B;   /* hairline rule colour */
  --rule-soft:      rgba(28,29,27,0.12);

  /* Accent, a single cadmium-like green, used like a pull-quote highlight */
  --accent:         #2E5D4F;
  --accent-2:       #3F7D69;
  --accent-pale:    #D4E2DC;

  /* Warning/pop, reserved for 1-2 moments only */
  --pop:            #D9451C;   /* editorial vermilion */

  --font-display:   'Instrument Serif', 'Times New Roman', Times, serif;
  --font-sans:      'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono:      'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max-width:      1360px;
  --gutter:         clamp(20px, 4vw, 48px);
  --section-y:      clamp(80px, 10vw, 160px);

  --ease:           cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* Preview router: ensure hidden pages actually disappear, belt and braces */
.page-container[hidden],
[hidden] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================
   RESET
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-feature-settings: 'ss01' 1, 'cv11' 1;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' 1, 'ss03' 1, 'tnum' 0;
  overflow-x: hidden;
  font-weight: 400;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }

/* =========================================
   TYPE SYSTEM, editorial, restrained
   ========================================= */

/* Display serif, the one distinctive voice */
.display,
h1, .h1,
.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-size: clamp(56px, 10vw, 156px);
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-size: clamp(40px, 5.5vw, 76px);
}

h3, .h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.005em;
}

p {
  color: var(--ink-3);
  font-size: 17px;
  line-height: 1.55;
  max-width: 62ch;
}

/* Editorial caption, the tiny all-caps with number */
.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 32px;
}
.eyebrow-num {
  font-variant-numeric: tabular-nums;
  color: var(--ink-4);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
  align-self: center;
  margin-right: 2px;
}

/* Tabular numerals utility */
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

/* Mono accents */
.mono {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================
   HAIRLINE RULES, core structural element
   ========================================= */
.rule {
  height: 1px;
  background: var(--rule);
  margin: 0;
  border: none;
}
.rule-soft {
  height: 1px;
  background: var(--rule-soft);
  border: none;
}

/* =========================================
   BUTTONS, plain, confident, high contrast
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  line-height: 1;
  border-radius: 0;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-arrow {
  width: 14px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Primary, solid ink */
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Inverse, for dark backgrounds; highly visible */
.btn-inverse {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-inverse:hover {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

/* Ghost, text-button with underline */
.btn-ghost {
  padding: 14px 0;
  background: transparent;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn-ghost:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.btn-lg {
  padding: 22px 34px;
  font-size: 15px;
}

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

/* =========================================
   NAVIGATION, minimal, editorial
   ========================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,242,234,0.82);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
#site-header.scrolled {
  background: rgba(245,242,234,0.96);
  border-bottom-color: var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
}
.site-logo-mark {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding-left: 10px;
  border-left: 1px solid var(--ink-4);
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.002em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-menu a::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 6px;
  height: 6px;
  background: var(--accent);
  transition: transform 0.25s var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--ink);
}
.nav-menu a.active::before { transform: translateY(-50%) scale(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 16px;
  border: 1px solid var(--ink);
  transition: all 0.25s var(--ease);
  background: transparent;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}
.nav-cta-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transition: background 0.25s var(--ease);
}
.nav-cta:hover .nav-cta-dot { background: var(--paper); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--ink);
  display: block;
}

/* =========================================
   SCROLL PROGRESS, hairline only
   ========================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  width: 0%;
  z-index: 1000;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* =========================================
   HERO, signature moment #1
   Oversized serif headline + monumental counting numeral
   ========================================= */
.hero {
  padding: clamp(32px, 4vw, 64px) var(--gutter) clamp(40px, 5vw, 80px);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.hero-meta-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-meta-center { text-align: center; justify-content: center; }
.hero-meta-end { text-align: right; justify-content: flex-end; }
.hero-meta-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.hero-meta-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: clamp(28px, 3.5vw, 56px);
  max-width: 18ch;
}
.hero-headline-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.02;
  padding-bottom: 0.12em;
  padding-top: 0.02em;
}
.hero-headline-word span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 0.9s var(--ease-out) forwards;
}
.hero-headline-word:nth-child(1) span { animation-delay: 0.1s; }
.hero-headline-word:nth-child(2) span { animation-delay: 0.2s; }
.hero-headline-word:nth-child(3) span { animation-delay: 0.28s; }
.hero-headline-word:nth-child(4) span { animation-delay: 0.36s; }
.hero-headline-word:nth-child(5) span { animation-delay: 0.42s; }
.hero-headline-word:nth-child(6) span { animation-delay: 0.48s; }
.hero-headline-word:nth-child(7) span { animation-delay: 0.54s; }
.hero-headline-word:nth-child(8) span { animation-delay: 0.6s; }
.hero-accent {
  color: var(--accent);
}
@keyframes word-up {
  to { transform: translateY(0); }
}

/* The signature numeral block */
.hero-lower {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--rule);
  align-items: start;
}

.hero-lead {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.42;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  max-width: 38ch;
  font-weight: 400;
  opacity: 0;
  animation: fade-in 0.8s 0.7s var(--ease) forwards;
}
.hero-lead strong {
  font-weight: 500;
  color: var(--ink);
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  opacity: 0;
  animation: fade-in 0.8s 0.85s var(--ease) forwards;
}

.hero-counter-wrap {
  text-align: right;
  opacity: 0;
  animation: fade-in 0.8s 1s var(--ease) forwards;
}
.hero-counter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-4);
  margin-bottom: 12px;
}
.hero-counter {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(88px, 14vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  display: inline-block;
  position: relative;
}
.hero-counter .unit {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-4);
  display: block;
  margin-top: 14px;
  font-variant-numeric: normal;
}

@keyframes fade-in {
  to { opacity: 1; }
}

/* Hero tickers, small row of credentials at the very bottom */
.hero-creds {
  display: flex;
  gap: clamp(20px, 3vw, 56px);
  flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  opacity: 0;
  animation: fade-in 0.8s 1.15s var(--ease) forwards;
}
.hero-creds span { white-space: nowrap; }
.hero-creds span strong {
  color: var(--ink);
  font-weight: 500;
}

/* =========================================
   SECTION HEADER, editorial
   ========================================= */
.section {
  padding: var(--section-y) var(--gutter);
  position: relative;
}
.section-paper    { background: var(--paper); }
.section-paper-2  { background: var(--paper-2); }
.section-white    { background: var(--white); }
.section-ink      { background: var(--ink); color: var(--paper); }

/* CTA band on dark ink, tighter than a regular section, since it butts into the footer */
.cta-band {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-hdr {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 4vw, 72px);
  padding-bottom: clamp(32px, 4vw, 56px);
  margin-bottom: clamp(40px, 5vw, 80px);
  border-bottom: 1px solid var(--rule);
  align-items: end;
}
.section-ink .section-hdr { border-bottom-color: rgba(245,242,234,0.22); }
.section-ink .eyebrow { color: var(--paper); }
.section-ink .eyebrow-num { color: rgba(245,242,234,0.5); }
.section-ink h2 { color: var(--paper); }
.section-ink p { color: rgba(245,242,234,0.72); }

/* Kill stray ::before dots from hidden page eyebrows that might leak */
.page-container[hidden] *::before,
.page-container[hidden] *::after,
[hidden] *::before,
[hidden] *::after {
  display: none !important;
}

.section-hdr-title h2 {
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.section-hdr-meta {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 46ch;
  justify-self: end;
}

/* =========================================
   INTRO / REASONS
   ========================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.intro-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 20px;
  max-width: none;
}
.intro-body p strong {
  font-weight: 500;
  color: var(--ink);
}

.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.reason-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding 0.3s var(--ease);
  position: relative;
}
.reason-item:hover {
  padding-left: 16px;
}
.reason-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.reason-item:hover::before { transform: scaleY(1); }
.reason-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.reason-text {
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.reason-text strong {
  color: var(--ink);
  font-weight: 500;
}

/* =========================================
   SERVICES, editorial catalogue style
   ========================================= */
.services-list {
  border-top: 1px solid var(--rule);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr auto 48px;
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  cursor: pointer;
  transition: padding 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
}
.service-row:hover { padding-left: 20px; }
.service-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.service-row:hover::before { transform: scaleY(1); }

.service-num { display: none; }

.service-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.service-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.service-row:hover .service-name { color: var(--accent); }
.service-desc {
  font-size: 15px;
  color: var(--ink-3);
  max-width: 68ch;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.service-mode {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding: 6px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.service-arrow {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--ink-4);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  text-align: right;
}
.service-row:hover .service-arrow {
  color: var(--accent);
  transform: rotate(-45deg);
}

/* =========================================
   REMOTE, signature moment #2
   "Assessment protocol", appears like a clinical record
   ========================================= */
.remote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}

.remote-copy h2 { margin-bottom: 32px; }
.remote-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.remote-copy p strong { color: var(--ink); font-weight: 500; }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
}
.check-icon {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* Clinical-record panel */
.record-panel {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 48px);
  font-family: var(--font-mono);
  position: sticky;
  top: 100px;
}
.record-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.record-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-4);
}
.record-num {
  font-size: 11px;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.record-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.record-section {
  margin-bottom: 28px;
}
.record-section:last-child { margin-bottom: 0; }
.record-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-4);
  margin-bottom: 14px;
  display: block;
}
.record-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.record-row:first-child { border-top: none; }
.record-row-num {
  font-size: 10px;
  color: var(--ink-5);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.record-row-label { line-height: 1.4; }
.record-row-mark {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* =========================================
   AREAS, editorial grid with coordinates
   ========================================= */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.area-card {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  transition: background 0.3s var(--ease);
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}
.area-card:hover {
  background: var(--white);
}
.area-coord {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-5);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}
.area-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 16px;
}
.area-suburbs {
  font-size: 13px;
  color: var(--ink-4);
  line-height: 1.5;
  letter-spacing: -0.003em;
  margin-top: auto;
}

/* =========================================
   CTA BAND, dark, quiet
   ========================================= */
.cta-band .section-inner {
  padding: 0;
  text-align: left;
}
.cta-band h2 {
  color: var(--paper);
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  max-width: 14ch;
}
.cta-band h2 .hero-accent {
  color: var(--accent-2);
}
.cta-band p {
  color: rgba(245,242,234,0.7);
  font-size: 18px;
  line-height: 1.5;
  max-width: 52ch;
  margin-bottom: 40px;
}
.cta-band-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(245,242,234,0.2);
}
.cta-contact-item {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,242,234,0.6);
}
.cta-contact-item strong {
  display: block;
  font-weight: 500;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-variant: normal;
  text-transform: none;
  letter-spacing: -0.005em;
  margin-top: 8px;
}
.cta-contact-item a { color: inherit; }
.cta-contact-item a:hover strong { color: var(--accent-2); }

/* =========================================
   PAGE HERO (inner)
   ========================================= */
.page-hero {
  background: var(--paper);
  padding: clamp(40px, 5vw, 88px) var(--gutter) clamp(32px, 4vw, 64px);
  border-bottom: 1px solid var(--rule);
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7.5vw, 112px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: clamp(24px, 3vw, 40px);
  max-width: 16ch;
}
.page-hero p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  max-width: 52ch;
  font-weight: 400;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}
.about-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 20px;
  max-width: 58ch;
}
.values-list {
  border-top: 1px solid var(--rule);
}
.value-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.value-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
.value-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.value-desc {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

/* Tools table */
.tools-table {
  border-top: 1px solid var(--rule);
}
.tool-row {
  display: grid;
  grid-template-columns: 80px 180px 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding 0.3s var(--ease);
}
.tool-row:hover { padding-left: 16px; background: var(--paper); }
.tool-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.tool-code {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.tool-row:hover .tool-code { color: var(--accent); }
.tool-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* =========================================
   SERVICES PAGE
   ========================================= */
.service-detail {
  padding: var(--section-y) var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.service-detail:nth-of-type(even) { background: var(--paper-2); }

.service-detail-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.service-detail-body h2 {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 0.95;
  max-width: 16ch;
}
.service-detail-body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 18px;
  max-width: 58ch;
}
.service-detail-body h4 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
}
.service-includes {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(24px, 3vw, 40px);
  position: sticky;
  top: 100px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.service-includes h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-4);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.service-includes ul {
  border-top: 1px solid var(--rule);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.service-includes li {
  display: block;
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  letter-spacing: -0.005em;
  width: 100%;
  box-sizing: border-box;
  word-wrap: normal;
  overflow-wrap: normal;
  white-space: normal;
}
.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.service-price-tag {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.service-price-tag small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-4);
  margin-top: 16px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.service-price-tag small strong {
  color: var(--accent);
  font-weight: 500;
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.faq-q-btn {
  display: grid;
  grid-template-columns: 60px 1fr 28px;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 28px 0;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: padding 0.3s var(--ease);
  font-family: inherit;
  color: inherit;
}
.faq-item:hover .faq-q-btn { padding-left: 16px; }
.faq-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.faq-q {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.faq-toggle {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink-4);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
  width: 28px;
  text-align: right;
}
.faq-item[aria-expanded="true"] .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-item[aria-expanded="true"] .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
  padding-left: 84px;
  padding-right: 56px;
}
.faq-a-text {
  padding-bottom: 32px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 70ch;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 32px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.contact-info p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 40px;
  max-width: 52ch;
}
.contact-details {
  border-top: 1px solid var(--rule);
}
.contact-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-4);
}
.contact-detail-value {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.contact-detail-value a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.contact-detail-value a:hover { border-bottom-color: var(--accent); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 48px);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 32px;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 26px; }
.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  margin-bottom: 10px;
  text-transform: none;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
  border-radius: 0;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
}
.form-group textarea { resize: vertical; min-height: 100px; }

.contact-hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}
.form-intro-note {
  padding: 14px 18px;
  background: var(--paper-2);
  border-left: 2px solid var(--accent);
  margin-bottom: 28px;
}
.form-intro-note p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}
.label-optional {
  font-weight: 400;
  color: var(--ink-4);
  font-size: 13px;
  margin-left: 4px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-5);
  opacity: 0.7;
}

/* =========================================
   FOOTER
   ========================================= */
#site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 32px var(--gutter);
  border-top: 1px solid rgba(245,242,234,0.15);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid rgba(245,242,234,0.2);
  margin-bottom: 24px;
}
.footer-brand .site-logo {
  color: var(--paper);
  display: inline-flex;
  margin-bottom: 24px;
  font-size: clamp(32px, 3.5vw, 48px);
  gap: 16px;
}
.footer-brand .site-logo-mark {
  color: rgba(245,242,234,0.5);
  border-left-color: rgba(245,242,234,0.3);
  padding-left: 16px;
  font-size: 12px;
  align-self: center;
}
.footer-brand p {
  font-size: 15px;
  color: rgba(245,242,234,0.6);
  line-height: 1.5;
  max-width: 36ch;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245,242,234,0.3);
  border-radius: 50%;
  color: var(--paper);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  overflow: hidden;
  flex-shrink: 0;
}
.footer-social a svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor;
  flex-shrink: 0;
  display: block;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.footer-social-label {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245,242,234,0.5);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(245,242,234,0.8);
  transition: color 0.2s var(--ease);
  letter-spacing: -0.005em;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,242,234,0.1);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245,242,234,0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 28px;
}
.footer-bottom-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245,242,234,0.4);
  transition: color 0.2s var(--ease);
}
.footer-bottom-links a:hover { color: var(--paper); }

/* =========================================
   ARTICLES LIST, editorial index
   ========================================= */
.articles-list {
  border-top: 1px solid var(--rule);
}
.article-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(20px, 4vw, 72px);
  align-items: baseline;
  padding: clamp(28px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: padding 0.3s var(--ease);
}
.article-row:hover { padding-left: 20px; }
.article-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.article-row:hover::before { transform: scaleY(1); }

.article-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  padding-top: 10px;
}
.article-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 14px;
  transition: color 0.3s var(--ease);
}
.article-row:hover .article-title { color: var(--accent); }
.article-excerpt {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 62ch;
  margin-bottom: 16px;
}
.article-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.article-row:hover .article-read {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.articles-pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.articles-pagination .page-numbers {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: all 0.2s var(--ease);
}
.articles-pagination .page-numbers:hover,
.articles-pagination .page-numbers.current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

@media (max-width: 768px) {
  .article-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .article-date { padding-top: 0; }
}
.marquee-band {
  background: var(--paper-2);
  padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 112px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.marquee-label {
  max-width: var(--max-width);
  margin: 0 auto clamp(24px, 3vw, 40px);
  padding: 0 var(--gutter);
}
.marquee-label .eyebrow { margin-bottom: 0; }

.marquee {
  overflow: hidden;
  padding: 0;
}
.marquee-track {
  display: flex;
  gap: clamp(40px, 5vw, 80px);
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 11vw, 180px);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
}
.marquee-dot {
  color: var(--accent);
  font-size: clamp(16px, 1.8vw, 28px);
  font-family: var(--font-sans);
  align-self: center;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

/* =========================================
   REVEAL ON SCROLL
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-headline-word span { transform: none !important; }
  .hero-lead, .hero-btns, .hero-counter-wrap, .hero-creds { opacity: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-detail-body h2 { max-width: none; }
  .service-detail-body p { max-width: 72ch; }
  .service-includes { position: static; max-width: 640px; }
}

@media (max-width: 1024px) {
  .section-hdr { grid-template-columns: 1fr; gap: 24px; }
  .section-hdr-meta { justify-self: start; }
  .hero-lower { grid-template-columns: 1fr; gap: 48px; }
  .hero-counter-wrap { text-align: left; }
  .hero-counter { font-size: clamp(80px, 20vw, 180px); }
  .intro-grid, .remote-inner, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .record-panel { position: static; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .tool-row { grid-template-columns: 60px 120px 1fr; }
}

@media (max-width: 768px) {
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .hero-meta-center, .hero-meta-end { text-align: left; }
  .hero-headline { font-size: clamp(48px, 13vw, 100px); }
  .page-hero h1 { font-size: clamp(44px, 11vw, 80px); }
  .section-hdr-title h2 { font-size: clamp(32px, 7vw, 48px); }
  .service-row {
    grid-template-columns: 1fr auto;
    gap: 16px 20px;
    align-items: center;
  }
  .service-body { gap: 8px; }
  .service-name { font-size: clamp(24px, 6vw, 36px); }
  .service-mode { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
  .service-arrow { align-self: center; }
  .areas-grid { grid-template-columns: 1fr; }
  .cta-contact-strip { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .tool-row { grid-template-columns: 50px 100px 1fr; gap: 16px; }
  .tool-code { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .faq-q-btn { grid-template-columns: 40px 1fr 24px; gap: 16px; padding: 22px 0; }
  .faq-a-inner { padding-left: 56px; padding-right: 0; }
  .value-card, .reason-item { grid-template-columns: 50px 1fr; gap: 16px; }

  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 24px var(--gutter);
    gap: 20px;
    z-index: 99;
  }
  .nav-menu.open a {
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.1;
  }
}

/* =========================================
   WORDPRESS
   ========================================= */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* =========================================
   SEO LANDING PAGE COMPONENTS (v4.0)
   ========================================= */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--ink-3);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.breadcrumb a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* Page hero variants */
.page-hero-lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  max-width: 60ch;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.page-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}

/* Trust strip, directly under hero */
.trust-strip {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(28px, 3vw, 44px) var(--gutter);
}
.trust-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,242,234,0.65);
  line-height: 1.4;
}

/* "Who this is for" heading inside reasons-list */
.who-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

/* Signs grid */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.sign-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(20px, 2.5vw, 32px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--white);
  min-height: 130px;
}
.sign-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.sign-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  letter-spacing: -0.005em;
}

/* Clinical detail */
.clinical-detail {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 70ch;
}
.clinical-detail p { margin-bottom: 16px; max-width: none; }
.clinical-detail h3, .clinical-detail h4 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}
.clinical-detail strong { color: var(--ink); font-weight: 500; }

/* Process list */
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.process-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}
.process-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
}
.process-body p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 65ch;
  margin: 0;
}

/* Receive grid */
.receive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.receive-card {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  min-height: 180px;
  transition: background 0.3s var(--ease);
}
.receive-card:hover { background: var(--white); }
.receive-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 14px;
}
.receive-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.why-card {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--accent);
}
.why-card h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 8px;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.why-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}

/* Related services grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.related-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.25s var(--ease);
  min-height: 180px;
}
.related-card:hover { background: var(--paper-2); }
.related-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 14px;
  transition: color 0.25s var(--ease);
}
.related-card:hover .related-name { color: var(--accent); }
.related-blurb {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: auto;
}
.related-arrow {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink-4);
  margin-top: 18px;
  transition: color 0.25s var(--ease), transform 0.3s var(--ease);
}
.related-card:hover .related-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .signs-grid, .receive-grid, .why-grid, .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .trust-inner { grid-template-columns: 1fr; }
  .signs-grid, .receive-grid, .why-grid, .related-grid {
    grid-template-columns: 1fr;
  }
  .process-step { grid-template-columns: 60px 1fr; gap: 16px; }
  .page-hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
}
