/* ============================================================
   Speech Infinity Therapy Group — global design system
   Green / Gold / Cream · serif headings · sans body
   ============================================================ */

:root {
  --green-900: #0F2B22;
  --green-800: #14392C;
  --green-700: #1B5140;
  --green-600: #256B54;
  --green-100: #E4EDE8;
  --green-050: #F1F6F3;

  --gold-600: #A88326;
  /* --gold-600 is only 3.5:1 on white; this is the darkest brand gold that clears
     4.5:1 on white, cream, and mint, so all small gold text uses it */
  --gold-text: #856517;
  --gold-500: #C9A63C;
  --gold-400: #DDBE63;
  --gold-100: #F6EDD6;

  --cream: #F9F8F3;
  --white: #FFFFFF;
  --charcoal: #333333;
  --charcoal-soft: #55605A;
  --line: #E2E0D6;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 43, 34, .06);
  --shadow-md: 0 10px 30px rgba(15, 43, 34, .10);
  --shadow-lg: 0 24px 60px rgba(15, 43, 34, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--gold-text); }

/* Long unbroken strings (emails, organisation names) must never widen a column
   and start the page scrolling sideways. */
p, li, td, th, blockquote, footer, cite { overflow-wrap: break-word; }

/* ---------- focus visibility ----------
   Keyboard users need to see where they are. One ring, gold on light surfaces,
   flipped to cream where gold would sit on gold. */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.bg-gold :focus-visible { outline-color: var(--green-900); }
.hero :focus-visible, .bg-green :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-400); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--green-900);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--green-900);
  line-height: 1.18;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.28rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.lede { font-size: 1.12rem; color: var(--charcoal-soft); max-width: 66ch; }
.center .lede { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 .8rem;
}

section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-400); color: var(--green-900); box-shadow: var(--shadow-md); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-600); color: #fff; }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.textlink {
  font-weight: 600;
  font-size: .95rem;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.textlink::after { content: "→"; transition: transform .25s var(--ease); }
.textlink:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 248, 243, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img, .brand svg { height: 46px; width: auto; }
/* client-supplied logo already contains the wordmark — show it alone */
.brand.brand-logo { gap: 0; }
.brand.brand-logo img { height: 58px; }
.brand.brand-logo .brand-text { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--green-900);
  text-transform: uppercase;
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links .mobile-cta { display: none; } /* duplicates the header button on desktop */
.nav-links a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--gold-500);
  transition: width .28s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-900); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  background: none;
  border: 0;
  /* 44x44 minimum so the tap target clears the accessibility floor */
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--green-900);
  margin: 5px 0;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(90px, 13vw, 150px) 0 clamp(80px, 11vw, 130px);
  background:
    linear-gradient(115deg, rgba(15,43,34,.92) 0%, rgba(27,81,64,.80) 55%, rgba(15,43,34,.90) 100%),
    var(--hero-img, radial-gradient(circle at 30% 30%, #2c6d57, #0F2B22));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px; bottom: -160px;
  width: 520px; height: 520px;
  border: 1.5px solid rgba(201, 166, 60, .22);
  border-radius: 50%;
  pointer-events: none;
}
.hero h1, .hero h2 { color: #fff; }
.hero .eyebrow { color: var(--gold-400); }
.hero p { color: rgba(255,255,255,.86); font-size: 1.14rem; max-width: 62ch; }
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.page-hero { padding: clamp(70px, 9vw, 110px) 0; }
.page-hero p { max-width: 64ch; }

/* home hero — deep brand green + gold, matching the logo */
.hero-home {
  background:
    linear-gradient(115deg, rgba(15,43,34,.94) 0%, rgba(27,81,64,.86) 55%, rgba(15,43,34,.94) 100%),
    var(--hero-img, radial-gradient(circle at 30% 30%, #1B5140, #0F2B22));
}
.hero-home::after { border-color: rgba(201, 166, 60, .28); }
.hero-home .eyebrow { color: var(--gold-400); }
.hero-home p { color: rgba(255,255,255,.92); }

/* the home hero is a single centred column so the headline, accent line,
   supporting copy and the three buttons all share one axis */
.hero-home .hero-inner { margin-inline: auto; text-align: center; }
.hero-home .hero-inner > p { margin-inline: auto; }
.hero-home .hero-ctas { justify-content: center; }

.hero .hero-tags {
  /* one centred line — exempt from the 62ch measure that .hero p sets, and
     allowed to shrink a little so it survives narrow phones intact */
  max-width: none;
  margin: 22px 0 0;
  text-align: center;
  color: var(--gold-400);
  font-weight: 600;
  font-size: clamp(.82rem, 2.4vw, 1rem);
  letter-spacing: .02em;
}
/* if it ever must wrap, it breaks between items — never inside one */
.hero .hero-tags span { white-space: nowrap; }
.hero-home h1 .accent {
  display: block;
  font-size: .46em;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: .7rem;
}

/* ---------- generic surfaces ---------- */
.bg-white { background: var(--white); }
.bg-mint  { background: var(--green-050); }
.bg-green { background: var(--green-900); color: rgba(255,255,255,.85); }
.bg-green h2, .bg-green h3 { color: #fff; }
.bg-gold  { background: linear-gradient(140deg, var(--gold-500), var(--gold-400)); }
.bg-gold h2, .bg-gold h3 { color: var(--green-900); }
/* gold-on-gold is unreadable — the eyebrow goes dark on this surface */
.bg-gold .eyebrow { color: var(--green-800); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.card p { color: var(--charcoal-soft); font-size: .98rem; }
.card .textlink { margin-top: auto; padding-top: 10px; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-050);
  border: 1px solid var(--green-100);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--green-700);
}
.icon-badge svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* split (image + text) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
/* long-form bio: keep the portrait pinned at the top of the text column */
.split.split-top { align-items: start; }
.split.split-top .portrait { position: sticky; top: 100px; }
.split.reverse > :first-child { order: 2; }
/* without this a fixed-width child (the Turnstile widget) widens the whole column */
.split > * { min-width: 0; }
.portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-100);
  aspect-ratio: 4 / 5;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* prose block (long-form copy) */
.prose { max-width: 78ch; margin: 0 auto; }
.prose p { color: var(--charcoal); }

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist li { position: relative; padding-left: 40px; color: var(--charcoal); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1px solid var(--gold-400);
}
.checklist li::after {
  content: "";
  position: absolute; left: 8px; top: 10px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--gold-600);
  border-bottom: 2px solid var(--gold-600);
  transform: rotate(-45deg);
}
.checklist strong { display: block; color: var(--green-900); font-family: var(--serif); font-size: 1.05rem; }

/* credibility pills — the founder's headline qualifications, pulled out of the
   bio so they register before anyone reads six paragraphs */
.cred-highlights {
  list-style: none;
  margin: 0 0 1.6em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cred-highlights li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green-050);
  border: 1px solid var(--green-100);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--green-800);
  line-height: 1.35;
}
/* the dot is decoration, not information — the label carries the meaning */
.cred-highlights li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* credentials — a card list rather than a table, so nothing scrolls sideways
   on a phone and the credential reads above its issuing body */
/* Credentials read as a typeset list, not a card grid — hairline rules and
   type do the separating, so nothing is boxed, shadowed, or badged. */
.creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
}
.creds li {
  padding: 20px 2px;
  border-top: 1px solid rgba(15, 43, 34, .12);
}
.creds .cred-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--green-900);
  line-height: 1.3;
  margin-bottom: 4px;
}
.creds .cred-issuer {
  display: block;
  font-size: .93rem;
  color: var(--charcoal-soft);
  line-height: 1.5;
}
.creds .cred-note {
  display: inline-block;
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* quote */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: .6;
  color: var(--gold-500);
  margin-bottom: 18px;
  font-weight: 600;
}
.quote blockquote {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.7vw, 1.95rem);
  line-height: 1.45;
  color: var(--green-900);
  font-style: italic;
}
.quote cite { font-style: normal; font-weight: 600; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }

/* testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.testimonial::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: .5;
  color: var(--gold-text);
  margin-bottom: 14px;
}
.testimonial p { font-family: var(--serif); font-style: italic; font-size: 1.04rem; color: var(--green-900); }
.testimonial footer { margin-top: auto; padding-top: 4px; }
/* The attribution is a role, not a name — the named reviewers are anonymised
   and submitted reviews may be too. .t-detail is the optional second line for
   a reviewer who chose to be credited by name. */
.testimonial .t-attrib {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: .01em;
}
.testimonial .t-detail {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-top: 2px;
}

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .97rem; vertical-align: top; }
thead th {
  background: var(--green-900);
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 0;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--green-050); }
td strong { color: var(--green-900); }
.rate { font-family: var(--serif); font-size: 1.25rem; color: var(--gold-text); font-weight: 700; white-space: nowrap; }

/* ---------- forms ---------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 46px);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 7px;
}
.field .req { color: var(--gold-text); }
input, select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .8rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(37, 107, 84, .12);
}
input[type="file"] { padding: .65rem; background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* Honeypot — off-screen for sighted users, hidden from assistive tech.
   Bots that fill every field give themselves away. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cf-turnstile { margin-top: 20px; max-width: 100%; overflow-x: auto; }

/* stacked contact links need a real tap target — they are not inline in a sentence */
.contact-link { display: inline-block; padding: 5px 0; }
.form-note { font-size: .84rem; color: var(--charcoal-soft); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: .93rem; font-weight: 600; display: none; }
.form-status.ok { display: block; color: var(--green-700); }
.form-status.err { display: block; color: #A3392B; }

/* fieldset used as a form field — strip the browser's default chrome */
.fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.fieldset legend {
  padding: 0;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 10px;
}
/* one choice per line: these options are sentences, not one-word labels */
.radio-stack { display: grid; gap: 10px; }
.field .radio-stack label {
  display: grid;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .8rem 1rem;
  font-size: .93rem;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field .radio-stack label:hover { border-color: var(--green-600); }
.field .radio-stack input { width: auto; margin-top: .3rem; }
.field .radio-stack strong { color: var(--green-900); }
.field .radio-stack input:focus-visible { outline-offset: 2px; }

.field label.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
  text-transform: none;
  letter-spacing: 0;
  font-size: .93rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--charcoal);
  cursor: pointer;
  margin-bottom: 0;
}
.field label.consent input { width: auto; margin-top: .25rem; }

.radio-row { display: flex; gap: 22px; flex-wrap: wrap; }
.radio-row label {
  display: flex; align-items: center; gap: .5rem;
  text-transform: none; letter-spacing: 0; font-size: .98rem;
  font-weight: 500; color: var(--charcoal); margin: 0;
}
.radio-row input { width: auto; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 60ch; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 44px; padding-bottom: 46px; }
.site-footer .footer-head {
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .95rem; }
.footer-slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: #fff;
  margin: 16px 0 0;
  max-width: 30ch;
}
.footer-brand .brand-name { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .creds { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .portrait { max-width: 420px; aspect-ratio: 1 / 1; }
}
@media (max-width: 820px) {
  .hamburger { display: block; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .nav-links.open { max-height: 460px; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 24px; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-links .mobile-cta { display: block; }
  .nav-links .mobile-cta a { color: var(--gold-text); font-weight: 700; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .testimonial-grid, .field-row, .footer-grid, .creds { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
