/* ==========================================================================
   Lori Huss — Coaching, Speaking & Healthcare Consulting
   Design system / global stylesheet.

   Brand tokens are matched to lorihuss.com (Webflow "Untitled UI" theme):
   deep indigo primary + bright periwinkle accent on white / light-gray.
   Typeface: the live site uses Avenir (a licensed font) + Style Script.
   We use Nunito Sans as the closest free Avenir match, plus the real
   Style Script for the signature accent. To match Avenir exactly, self-host
   it and set --font-body / --font-head to "Avenir" (see ASSETS-NEEDED.md).
   ========================================================================== */

/* ------- Design tokens (from lorihuss.com) ------- */
:root {
  /* iOS Safari inverts pages that do not declare a scheme. */
  color-scheme: light only !important;
  --brand:        #1a1697;   /* primary indigo  (untitled-ui primary600) */
  --brand-bright: #4d65ff;   /* periwinkle accent — links, highlights, gradients */
  --brand-deep:   #061459;   /* deepest indigo  (primary-dark) — dark sections */
  --brand-mid:    #383d9e;   /* mid indigo      (primary800) — gradient start */
  --brand-soft:   #ebebff;   /* indigo tint     (primary100) — icon/chip fills */
  --brand-tint:   #f5f5ff;   /* lightest indigo (primary50) */

  --ink:     #101828;   /* gray900 — headings */
  --text:    #475467;   /* gray600 — body copy */
  --muted:   #667085;   /* gray500 — secondary text */
  --line:    #eaecf0;   /* gray200 — borders */
  --line-strong: #d0d5dd; /* gray300 */
  --line-light: rgba(255, 255, 255, 0.16);

  --paper:     #ffffff;   /* cards */
  --bg:        #ffffff;   /* page background */
  --surface:   #f9fafb;   /* alt section (gray50) */
  --surface-2: #f2f4f7;   /* alt section (gray100) */

  /* ---- On-dark palette ----
     Anything sitting on a brand-indigo band must come from this group. The
     light-surface tokens above (--text, --muted, --brand-bright) all fail WCAG
     AA on indigo: --text measured 1.68:1 and --brand-bright 2.85:1 against the
     band. --accent-on-dark is a lightened periwinkle at 6.9:1. */
  --on-dark:        #E7E8FB;
  --on-dark-dim:    rgba(231, 232, 251, 0.82);
  --accent-on-dark: #AEB9FF;

  /* One gradient for every brand band, so the deep sections, the CTA band and
     the footer read as a single system rather than three near-misses. */
  --grad-brand: radial-gradient(85% 130% at 12% 0%, var(--brand-mid) 0%, var(--brand) 48%, var(--brand-deep) 100%);

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 2px 8px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 8px 30px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 20, 89, 0.18);

  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --font-body:   'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head:   'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Style Script', 'Segoe Script', cursive;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(2.75rem, 6vw, 5rem);
}

/* ------- Reset ------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ------- Typography ------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--text); }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.375rem); color: var(--muted); line-height: 1.6; }

/* Signature / script accent (matches the site's Style Script font) */
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }

/* ------- Layout helpers ------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-cream-2 { background: var(--surface-2); }
.bg-ink { background: var(--brand-deep); color: #E7E8FB; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #FFFFFF; }
.bg-paper { background: var(--paper); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.bg-ink .eyebrow { color: var(--brand-bright); }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 1rem; }

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.975rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-bright); box-shadow: var(--shadow-md); }
.btn--ink { background: var(--brand-deep); color: #fff; }
.btn--ink:hover { background: var(--brand); }
.btn--outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.bg-ink .btn--outline { border-color: rgba(255,255,255,.5); color: #fff; }
.bg-ink .btn--outline:hover { background: #fff; color: var(--brand-deep); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* text link with underline animation */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; color: var(--brand);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color 0.2s ease, gap 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { border-color: var(--brand-bright); color: var(--brand-bright); gap: 0.65rem; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-head); }
.brand__name { font-size: 1.5rem; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.brand__mark {
  font-size: 0.7rem; font-family: var(--font-body); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-bright);
}
/* Lori's real logo (Style Script wordmark, indigo on transparent) */
.brand__logo { height: 52px; width: auto; display: block; }
.brand__logo--light { filter: brightness(0) invert(1); }  /* render white on the dark footer */
@media (max-width: 900px) { .brand__logo { height: 46px; } }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  position: relative; padding: 0.25rem 0; transition: color 0.2s ease;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--brand-bright); transition: width 0.25s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__cta { margin-left: 0.5rem; flex: none; white-space: nowrap; border-radius: 10px; padding: 0.65rem 1.35rem; }
.nav__cta.btn--primary, .nav__cta.btn--primary[aria-current="page"] { color: #fff; }
.nav__cta.btn--primary::after { display: none; }

.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: none; background: transparent; border-radius: 8px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--brand); border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { width: 100%; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1.25rem 0 0; width: 100%; justify-content: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__eyebrow { color: var(--brand); }
.hero h1 { margin-bottom: 1.5rem; }
/* Showcase her Style Script brand font on the emphasized word */
.hero h1 em {
  font-family: var(--font-script); font-style: normal; font-weight: 400;
  color: var(--brand-bright); font-size: 1.15em; letter-spacing: 0;
}
.hero__lead { max-width: 34ch; margin-bottom: 2rem; }
.hero__media { position: relative; }   /* anchor the floating award chip to the image */
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__stats { display: flex; gap: 1.75rem; margin-top: 2.5rem; flex-wrap: wrap; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--brand); line-height: 1; }
.stat__label { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
}
/* Desktop: keep the two hero buttons on one line and the three stats on one row */
@media (min-width: 861px) {
  .hero__actions { flex-wrap: nowrap; }
  .hero__stats { flex-wrap: nowrap; }
  .hero__stats .stat { flex: 1 1 0; min-width: 0; }
}

/* ------- Portrait / image placeholders -------
   Elegant branded blocks until real photos are dropped in.
   To use a real photo, replace the .portrait div with:
   <img class="portrait" src="assets/images/lori-hero.jpg" alt="Lori Huss"> */
.portrait {
  position: relative; aspect-ratio: 4 / 5; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 0%, var(--brand-mid) 0%, var(--brand) 45%, var(--brand-deep) 100%);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  object-fit: cover; object-position: center;   /* fill the frame when used on <img> */
}
.portrait::after {
  content: attr(data-initials);
  font-family: var(--font-script); font-size: clamp(4.5rem, 13vw, 9rem);
  color: rgba(255, 255, 255, 0.92); letter-spacing: 0.02em;
}
.portrait--tag::before {
  content: attr(data-note);
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  padding: 0.3rem 0.85rem; white-space: nowrap;
}
.portrait--frame { border: 1px solid var(--line); }
.portrait--wide { aspect-ratio: 3 / 2; }

/* Floating award chip on hero image */
.hero__chip {
  position: absolute; bottom: 1.25rem; left: -1.25rem;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 0.9rem 1.15rem;
  display: flex; align-items: center; gap: 0.75rem; max-width: 250px;
}
.hero__chip .badge { font-size: 1.5rem; color: var(--brand); display: grid; place-items: center; }
.hero__chip .badge svg { width: 26px; height: 26px; }
.hero__chip strong { display: block; font-size: 0.9rem; color: var(--ink); }
.hero__chip span { font-size: 0.78rem; color: var(--muted); }
@media (max-width: 860px) { .hero__chip { left: 0.5rem; } }

/* ==========================================================================
   Credibility strip
   ========================================================================== */
.trustbar { border-block: 1px solid var(--line); }
.trustbar__label { text-align: center; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1.5rem, 4.5vw, 3.25rem);
}
.logos img { height: clamp(26px, 3vw, 34px); width: auto; object-fit: contain; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: clamp(1rem, 2vw, 1.3rem); color: var(--ink); opacity: 0.5; letter-spacing: -0.01em; }
/* Forbes Coaches Council text badge (Forbes provides no logo image) */
.logo-forbes {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: #0b0b0c; color: #fff; border-radius: 4px; padding: 0.4rem 0.75rem; line-height: 1;
}
.logo-forbes strong { font-family: 'Times New Roman', Georgia, serif; font-weight: 700; font-size: clamp(0.95rem, 2vw, 1.15rem); letter-spacing: -0.01em; }
.logo-forbes span { font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 3px; opacity: 0.85; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-bright); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1.5rem; margin-bottom: 1.25rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card__num svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); margin-bottom: 1.25rem; }
.card .link-arrow { margin-top: auto; }
.card__num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--brand); margin-bottom: 0.75rem; }

/* Focus areas (compact tiles) */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 780px) { .focus-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .focus-grid { grid-template-columns: 1fr; } }
.focus {
  background: var(--paper); padding: 1.75rem; transition: background 0.2s ease;
}
.focus:hover { background: var(--brand-tint); }
.focus__n { font-family: var(--font-head); font-weight: 800; color: var(--brand-bright); font-size: 1.1rem; }
.focus h4 { margin: 0.5rem 0 0.4rem; color: var(--ink); }
.focus p { font-size: 0.92rem; color: var(--muted); }

/* ==========================================================================
   Split feature blocks
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--flip .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }
/* Make an image in a split fill the full height of the taller (text) column */
@media (min-width: 861px) {
  .split--stretch { align-items: stretch; }
  .split--stretch .split__media { display: flex; }
  .split--stretch .portrait { height: 100%; aspect-ratio: auto; }
}
.checklist { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text); }
.checklist li::before {
  content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: 0.8rem; font-weight: 800;
  display: grid; place-items: center; margin-top: 3px;
}

/* Contact details — aligned two-column list */
.contact-list { display: grid; gap: 0.9rem; margin-top: 1.75rem; }
.contact-list > div { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: baseline; }
.contact-list dt { font-weight: 700; color: var(--ink); }
.contact-list dd { margin: 0; color: var(--text); }
@media (max-width: 420px) { .contact-list > div { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; height: 100%;
}
.quote__mark { font-family: var(--font-script); font-size: 3.5rem; line-height: 0.5; color: var(--brand-bright); margin-bottom: 0.75rem; }
.quote p { font-size: 1.05rem; color: var(--text); font-style: italic; margin-bottom: 1.5rem; }
.quote__who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
}
.quote__who strong { display: block; font-size: 0.95rem; color: var(--ink); font-style: normal; }
.quote__who span { font-size: 0.82rem; color: var(--muted); }
/* The avatar is itself a <span>, so it inherited --muted (1.57:1 on the indigo
   disc). It needs the white it was designed with. */
.quote__who .avatar { color: #fff; font-size: 1.05rem; }

/* ==========================================================================
   FAQ (native accordion)
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; padding: 1.25rem 0;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; flex: none; font-family: var(--font-body); font-weight: 400;
  font-size: 1.6rem; line-height: 1; color: var(--brand); transition: transform 0.2s ease;
}
.faq__item[open] summary::after { content: '\2212'; }
.faq__a { padding: 0 0 1.4rem; }
.faq__a p, .faq__a li { color: var(--muted); }
.faq__a p { margin-bottom: 0.75rem; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a ol { list-style: decimal; padding-left: 1.25rem; margin-bottom: 0.85rem; display: grid; gap: 0.5rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-brand);
}
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 780px) { .cta-band__inner { grid-template-columns: 1fr; text-align: center; } .cta-band__inner .hero__actions { justify-content: center; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(231, 232, 251, 0.85); margin-top: 0.75rem; }
.cta-band .btn--primary { background: #fff; color: var(--brand); }
.cta-band .btn--primary:hover { background: var(--brand-soft); }

/* ==========================================================================
   Forms (contact + newsletter)
   ========================================================================== */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--ink); letter-spacing: 0.01em; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.8rem 1rem; width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-bright); box-shadow: 0 0 0 3px rgba(77, 101, 255, 0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Newsletter inline */
/* Brand tint, not the neutral --surface-2, so the card still reads as a card
   when the section above it is already tinted. */
.newsletter {
  background: var(--brand-tint); border: 1px solid var(--brand-soft); border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
}
.newsletter__form { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.newsletter__form input { flex: 1 1 240px; }
.newsletter__form .btn { flex: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brand-deep); color: rgba(231, 232, 251, 0.75); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer__brand .brand__name { color: #fff; }
.site-footer p { color: rgba(231, 232, 251, 0.7); font-size: 0.95rem; margin-top: 1rem; max-width: 40ch; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__col a { display: block; padding: 0.35rem 0; color: rgba(231, 232, 251, 0.72); font-size: 0.95rem; transition: color 0.2s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(231, 232, 251, 0.55);
}
/* Keep footer-bottom links tappable (44px minimum) */
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light);
  display: grid; place-items: center; color: rgba(231, 232, 251, 0.85); transition: all 0.2s ease;
}
.footer__social a:hover { background: var(--brand-bright); color: #fff; border-color: var(--brand-bright); }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: var(--brand); }

/* Prose (privacy etc.) */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.prose h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }
.prose p, .prose li { color: var(--text); margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose a { color: var(--brand); text-decoration: underline; }

/* ==========================================================================
   Motion / reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Accessibility */
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 0.7rem 1.1rem; border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }
.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; }

/* 404 / success */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 18vw, 11rem); color: var(--brand-bright); line-height: 1; }

/* ==========================================================================
   EDITORIAL LAYER
   Added in the structural reframe. The site's job is to route a visitor to the
   right path and get a call booked, so the homepage leads with audience intent
   rather than a service menu. Type is scaled up and section backgrounds
   alternate to give long pages a readable cadence.
   ========================================================================== */

/* Display type: a touch larger and tighter than the base scale */
.display { letter-spacing: -0.035em; }
h1.display { font-size: clamp(2.6rem, 6.4vw, 4.4rem); font-weight: 900; }
h2.display { font-size: clamp(2.05rem, 4.2vw, 3.1rem); font-weight: 900; }

/* Soft brand wash behind the hero */
/* overflow:hidden keeps the oversized wash from widening the document scroll box */
.hero--wash { position: relative; overflow: hidden; }
.hero--wash::before {
  content: ''; position: absolute; inset: -10% -20% auto -20%; height: 130%;
  background:
    radial-gradient(60% 55% at 78% 22%, rgba(77,101,255,0.13) 0%, rgba(77,101,255,0) 70%),
    radial-gradient(45% 45% at 8% 0%, rgba(26,22,151,0.09) 0%, rgba(26,22,151,0) 70%);
  pointer-events: none; z-index: 0;
}
.hero--wash > .container { position: relative; z-index: 1; }

/* ------- Intent doors: the primary homepage routing device ------- */
.intent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1040px) { .intent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .intent-grid { grid-template-columns: 1fr; } }

.intent {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.intent::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.intent:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-bright); }
.intent:hover::after { transform: scaleX(1); }
.intent__who {
  font-family: var(--font-script); font-size: 1.5rem; color: var(--brand-bright);
  line-height: 1; margin-bottom: .7rem;
}
.intent h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.intent p { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.intent .link-arrow { margin-top: auto; font-size: .92rem; }

/* ------- Deep brand band: positioning / big statement ------- */
.section--deep {
  position: relative; overflow: hidden;
  background: var(--grad-brand);
  color: var(--on-dark);
}
.section--deep h2, .section--deep h3, .section--deep h4, .section--deep strong { color: #fff; }
.section--deep p, .section--deep dd, .section--deep small { color: var(--on-dark-dim); }
.section--deep .eyebrow { color: var(--accent-on-dark); }
.section--deep .lead { color: var(--on-dark-dim); }
/* Lists inherit --text by default, which is 1.68:1 on the band. */
.section--deep .checklist li { color: var(--on-dark); }
.section--deep .checklist li::before { background: rgba(255,255,255,0.16); color: #fff; }
/* An indigo button on an indigo band has no edge. Invert it. */
.section--deep .btn--primary, .cta-band .btn--primary { background: #fff; color: var(--brand); }
.section--deep .btn--primary:hover, .cta-band .btn--primary:hover { background: var(--brand-soft); color: var(--brand-deep); }
.section--deep .link-arrow { color: var(--accent-on-dark); }
.section--deep .link-arrow:hover { color: #fff; border-color: var(--accent-on-dark); }

.statement {
  font-size: clamp(1.5rem, 3.1vw, 2.35rem); font-family: var(--font-head);
  font-weight: 800; line-height: 1.28; letter-spacing: -0.02em; color: #fff; max-width: 22ch;
}
.statement em { font-family: var(--font-script); font-style: normal; font-weight: 400; color: var(--accent-on-dark); font-size: 1.15em; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.25rem; }
@media (max-width: 620px) { .stat-row { grid-template-columns: 1fr; gap: 1.1rem; } }
.stat-row .stat__num { color: #fff; }
.stat-row .stat__label { color: rgba(231,232,251,.7); }

/* ------- Feature pull-quote ------- */
.quote--feature {
  border: none; background: transparent; box-shadow: none; text-align: center;
  max-width: 46rem; margin-inline: auto; padding: 0;
}
.quote--feature .quote__mark { font-size: 5rem; margin-bottom: .25rem; }
.quote--feature p {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.45; font-style: italic;
  color: var(--ink); margin-bottom: 1.5rem;
}
.quote--feature .quote__who { justify-content: center; }

/* ------- Speaker-kit topic cards ------- */
.topic {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; height: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.topic:hover { border-color: var(--brand-bright); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.topic__n { font-family: var(--font-script); font-size: 1.7rem; color: var(--brand-bright); line-height: 1; margin-bottom: .5rem; }
.topic h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.topic p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.topic__take { margin-top: auto; border-top: 1px dashed var(--line-strong); padding-top: .9rem; }
.topic__take span { display: block; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: .35rem; }
.topic__take p { font-size: .92rem; color: var(--text); margin: 0; }

/* ------- At-a-glance fact strip (speaker kit / corporate) ------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--paper); padding: 1.35rem 1.25rem; }
.fact dt { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: .4rem; }
.fact dd { margin: 0; color: var(--ink); font-weight: 700; font-size: 1.02rem; }
.fact dd small { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); margin-top: .2rem; }

/* ------- Numbered process steps ------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  display: grid; place-items: center;
}
.section--deep .step::before { background: rgba(255,255,255,.14); color: #fff; }
.step h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--muted); }
.section--deep .step p { color: rgba(231,232,251,.78); }

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-header, .site-footer, .nav__toggle, .cta-band, .skip-link, .newsletter { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .section--tight, .page-hero { padding-block: 0.75rem; }
  .section--deep, .bg-ink { background: #fff !important; color: #000 !important; }
  .section--deep h2, .section--deep p, .statement { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .card, .topic, .quote, .intent { break-inside: avoid; border-color: #ccc; box-shadow: none; }
}

/* ==========================================================================
   Dark-mode defence in depth
   `color-scheme: light only` on :root is what actually stops iOS Safari
   inverting the page. This block is the belt-and-braces layer. Every element
   that is MEANT to stay dark needs a protected rule here, or the override
   washes it out. Add to this list when you add a new dark background class.
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  html, body { background: var(--bg) !important; color: var(--text) !important; }
  .card, .topic, .quote, .intent, .focus, .fact, .newsletter, .site-header {
    background: var(--paper) !important; color: var(--text) !important;
  }
  h1, h2, h3, h4 { color: var(--ink) !important; }
  /* Intentionally dark: keep them dark */
  .site-footer, .cta-band, .section--deep, .bg-ink, .portrait {
    background-color: var(--brand-deep) !important; color: #E7E8FB !important;
  }
  .section--deep h2, .section--deep h3, .cta-band h2, .statement,
  .site-footer .brand__name, .bg-ink h2 { color: #fff !important; }
  .btn--primary { background: var(--brand) !important; color: #fff !important; }
}

/* --------------------------------------------------------------------------
   Touch devices: neutralise hover lifts.
   iOS fires :hover on the first tap, so a hover transform stays applied and the
   tap does not reach the link. Colour-only hover states are left alone; they are
   harmless without a pointer.
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .btn:hover { transform: none; }
  .btn:hover .arrow { transform: none; }
  .card:hover { transform: none; }
}


/* --------------------------------------------------------------------------
   Footer link tap targets (added 2026-08-06 after a rendered audit).
   Footer links measured 17-36px tall against the 44px minimum that both Apple
   and Google publish, so a fingertip overlapped the neighbouring link. Padding
   only: the text size is unchanged, and this is scoped to phones so desktop
   footer density stays exactly as it was.
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  footer .footer__col a { padding-top: 11px; padding-bottom: 11px; }
}

/* --------------------------------------------------------------------------
   Contact-row tap targets (2026-08-06). Phone, email and address links measured
   21-24px against the 44px minimum. Padding only, phones only; inline-block so
   the padding actually enlarges the hit area rather than being ignored.
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .link-arrow { display:inline-block; padding-top:10px; padding-bottom:10px; }
}
