/* =====================================================================
   Serve Pickleball Events: shared stylesheet
   Brand palette: teal #37AFA9 (CTAs, highlights on dark), deep teal
   #187875 (links and accents on light), sand #CFC3B8 (warm surfaces and
   borders), near-black #0A0F0D (dark bands and body text).
   Type: Bebas Neue (display, weight 400 only) + DM Sans (body).
   Layout: near-black bands alternate with warm paper bands; white court
   lines and the 7 ft kitchen line are the recurring graphic motif.
   ===================================================================== */

:root {
  /* Color */
  --navy: #0A0F0D;
  --navy-2: #111916;
  --navy-3: #18231F;
  --volt: #37AFA9;
  --volt-press: #2F9A94;
  --court: #187875;
  --court-deep: #125A57;
  --court-green: #187875;
  --paper: #F5F1EC;
  --white: #FFFFFF;
  --ink: #0A0F0D;
  --muted: #4F5B57;
  --line: #E3DAD1;
  --on-navy: #F4F7F5;
  --on-navy-muted: #A9B8B3;
  --danger: #B3261E;

  /* Type */
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 2.9rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 4.6rem);
  --step-5: clamp(3.1rem, 1.6rem + 7vw, 6.6rem);

  /* Space & shape */
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 18px 40px -22px rgba(10, 15, 13, 0.45);
  --header-h: 68px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--navy);
}
[hidden] { display: none !important; }
img, svg, picture, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--court); text-underline-offset: 3px; }
a:hover { color: var(--court-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.05; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--court); outline-offset: 2px; border-radius: 2px; }
.section-paper :focus-visible, .section :focus-visible { outline-color: var(--court); }
.section-dark :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .mobile-cta :focus-visible, .direct-card :focus-visible, .vs-new :focus-visible, .tier :focus-visible { outline-color: var(--volt); }
.form-card :focus-visible, .quick-quote :focus-visible { outline-color: var(--court); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--volt); color: var(--navy); padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.container > * { min-width: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.35em;
  font-family: var(--font-display); font-weight: 400; font-size: 1.15rem;
  letter-spacing: 0.06em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-volt { background: var(--volt); color: var(--navy); }
.btn-volt:hover { background: var(--volt-press); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--on-navy); border-color: color-mix(in srgb, var(--on-navy) 55%, transparent); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0.45em 1em; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--navy); color: var(--on-navy);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 8%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-navy); text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1; letter-spacing: 0.04em; }
.brand-name span { display: block; font-size: 0.72rem; letter-spacing: 0.22em; color: var(--volt); font-weight: 700; margin-top: 3px; }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-menu a:not(.btn) {
  display: block; padding: 10px 12px; color: var(--on-navy); text-decoration: none;
  font-weight: 600; font-size: 1rem; border-radius: var(--radius);
}
.nav-menu a:not(.btn):hover { color: var(--volt); }
.nav-menu a[aria-current="page"] { color: var(--volt); box-shadow: inset 0 -2px 0 var(--volt); border-radius: 0; }
.nav-menu .btn { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 2px solid color-mix(in srgb, var(--white) 30%, transparent); color: var(--on-navy);
  border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
    padding: 8px var(--gutter-r) 20px var(--gutter);
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid color-mix(in srgb, var(--white) 8%, transparent); font-size: 1.1rem; }
  .nav-menu a[aria-current="page"] { box-shadow: none; }
  .nav-menu .btn { margin: 16px 0 0; }
}

/* ---------- Heroes ---------- */
.hero, .page-hero { position: relative; isolation: isolate; background: var(--navy); color: var(--on-navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(1.06) contrast(1.03) brightness(1.03); }
/* Wide screens: photo occupies the right side so the people stay visible beside the headline */
@media (min-width: 961px) {
  .hero-media { left: 38%; }
  .hero-inner > * { max-width: min(560px, 46vw); }
  .hero::after, .page-hero::after {
    background:
      linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, color-mix(in srgb, var(--navy) 55%, transparent) 52%, color-mix(in srgb, var(--navy) 5%, transparent) 80%),
      linear-gradient(0deg, color-mix(in srgb, var(--navy) 35%, transparent) 0%, color-mix(in srgb, var(--navy) 0%, transparent) 30%) !important;
  }
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--navy) 86%, transparent) 0%, color-mix(in srgb, var(--navy) 70%, transparent) 50%, color-mix(in srgb, var(--navy) 45%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--navy) 75%, transparent) 0%, color-mix(in srgb, var(--navy) 0%, transparent) 45%);
}
.hero-inner { padding-block: clamp(64px, 9vw, 120px) clamp(56px, 8vw, 104px); display: grid; gap: 26px; }
.hero-inner > * { max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 400; font-size: 0.95rem;
  letter-spacing: 0.2em; color: var(--court);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow { color: var(--volt); }
.hero h1 { font-size: var(--step-5); letter-spacing: 0.02em; }
.hero h1 .hl { color: var(--volt); display: inline-block; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 60ch; }
.hero .lede, .page-hero .lede { color: var(--on-navy); }
.hero-note { font-size: var(--step--1); color: var(--on-navy-muted); }
.hero-note a { color: var(--on-navy); }

.page-hero .hero-inner { padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: var(--step-4); }
.breadcrumbs { font-size: var(--step--1); color: var(--on-navy-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.breadcrumbs a { color: var(--on-navy); }

/* Court-line base under heroes: the kitchen line */
.court-edge { height: 14px; background: var(--court); position: relative; }
.court-edge::before { content: ""; position: absolute; inset: 5px 0 auto; height: 3px; background: var(--white); opacity: 0.9; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-2); color: var(--on-navy); }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-list li { padding: 22px 12px; text-align: center; border-left: 1px solid color-mix(in srgb, var(--white) 10%, transparent); }
.trust-list li:first-child { border-left: 0; }
.trust-num { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); line-height: 1; color: var(--volt); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.trust-label { display: block; margin-top: 6px; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; color: var(--on-navy); }
@media (max-width: 640px) {
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--white) 10%, transparent); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); background: var(--white); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--navy); color: var(--on-navy); }
.section-court { background: var(--court); color: var(--white); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.section-dark .section-head p { color: var(--on-navy-muted); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.prose { max-width: 66ch; }
.prose p { color: var(--muted); }
.section-dark .prose p { color: var(--on-navy-muted); }

/* ---------- Pillars (home) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover { border-color: var(--court); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.pillar-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--volt); display: grid; place-items: center; }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar p { color: var(--muted); }
.pillar-link { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.08em; color: var(--court); }
.pillar:hover .pillar-link { color: var(--court-deep); }
@media (max-width: 880px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Split / media blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } .split.reverse > :first-child { order: 0; } }
.split-copy { display: grid; gap: 20px; }

.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-2); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; filter: saturate(1.06) contrast(1.04); }
.photo.tall img { aspect-ratio: 4 / 5; }
.photo.wide img { aspect-ratio: 16 / 10; }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-size: 0.85rem; font-weight: 600; color: var(--white);
  text-shadow: 0 1px 8px color-mix(in srgb, var(--ink) 60%, transparent);
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.checklist li::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--court) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.section-dark .checklist li::before {
  background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0F0D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checklist.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
@media (max-width: 640px) { .checklist.two-col { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--white); }
.steps li { counter-increment: step; padding: 26px 22px 8px 0; position: relative; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--volt); letter-spacing: 0.02em; }
.steps li::after { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--volt); }
.steps h3 { font-size: 1.45rem; }
.steps p { color: var(--on-navy-muted); font-size: 1rem; }
@media (max-width: 880px) {
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 3px solid var(--white); }
  .steps li { padding: 0 0 30px 28px; }
  .steps li::after { top: 6px; left: -9px; }
}

/* ---------- Founder bio ---------- */
.bio { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .bio { grid-template-columns: minmax(0, 1fr); } }
.portrait-art {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--court); box-shadow: var(--shadow);
}
.portrait-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-art .monogram {
  position: absolute; inset: auto 0 0 0; padding: 22px 24px;
  background: linear-gradient(0deg, color-mix(in srgb, var(--navy) 92%, transparent), color-mix(in srgb, var(--navy) 0%, transparent));
  color: var(--white); display: grid; gap: 4px;
}
.portrait-art .monogram strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 400; letter-spacing: 0.02em; }
.portrait-art .monogram span { color: var(--volt); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li {
  padding: 6px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 700;
  background: var(--paper); color: var(--navy); border: 1px solid var(--line);
}
.section-dark .badges li { background: var(--navy-3); color: var(--on-navy); border-color: color-mix(in srgb, var(--white) 12%, transparent); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.quote {
  margin: 0; padding: 28px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line);
  display: grid; grid-template-rows: auto 1fr auto; gap: 16px;
}
.stars { color: var(--court); letter-spacing: 3px; font-size: 1.1rem; }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.quote figcaption { display: grid; gap: 2px; font-size: 0.95rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-size: 1.02rem; }

/* ---------- Format cards (corporate) ---------- */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .formats { grid-template-columns: minmax(0, 1fr); } }
.format {
  display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 14px; padding: 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.format-kicker { font-family: var(--font-display); font-weight: 400; font-size: 0.9rem; letter-spacing: 0.18em; color: var(--court); }
.format p { color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 0.82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--navy); }
.format .btn { justify-self: start; }
.format.feature { grid-column: 1 / -1; background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.format.feature p { color: var(--on-navy-muted); }
.format.feature .format-kicker { color: var(--volt); }
.format.feature .tags li { background: var(--navy-3); color: var(--on-navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 3px solid var(--court); border-bottom: 3px solid var(--court); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 22px 22px; color: var(--muted); display: grid; gap: 12px; }
.faq .answer ul { padding-left: 1.2em; display: grid; gap: 6px; }
.fineprint { font-size: var(--step--1); color: var(--muted); }

/* ---------- Venues ---------- */
.venue { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.venue + .venue { margin-top: clamp(56px, 8vw, 96px); }
.venue.reverse > :first-child { order: 2; }
@media (max-width: 880px) { .venue { grid-template-columns: minmax(0, 1fr); } .venue.reverse > :first-child { order: 0; } }
.venue-copy { display: grid; gap: 18px; }
.flag { justify-self: start; background: var(--volt); color: var(--navy); font-family: var(--font-display); font-weight: 400; letter-spacing: 0.14em; font-size: 0.9rem; padding: 4px 12px; border-radius: 4px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.specs div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--court); }
.specs dd { margin: 2px 0 0; font-weight: 600; }
.court-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--court-green); }
.court-art svg { width: 100%; height: auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.1em; background: var(--navy); color: var(--on-navy); font-weight: 400; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 700; }

/* ---------- Lessons ---------- */
.lesson-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .lesson-formats { grid-template-columns: minmax(0, 1fr); } }
.lesson { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.lesson .size { font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--court); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.lesson .size small { font-size: 1rem; letter-spacing: 0.12em; color: var(--muted); margin-left: 6px; }
.lesson.highlight { border: 2px solid var(--navy); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 880px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier { padding: 30px 28px; display: grid; gap: 12px; align-content: start; }
.tier:nth-child(1) { background: var(--navy-2); }
.tier:nth-child(2) { background: var(--navy-3); }
.tier:nth-child(3) { background: var(--navy); box-shadow: inset 0 0 0 1px var(--navy-3); }
.tier .dupr { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.12em; color: var(--volt); font-size: 0.95rem; }
.tier p { color: var(--on-navy); }
.tier ul { padding-left: 1.1em; color: var(--on-navy); display: grid; gap: 4px; }

/* ---------- Contact / forms ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 2rem; margin-bottom: 6px; }
.form-intro { color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.95rem; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; min-height: 48px; background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--court); background: var(--white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--court) 18%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 6%, var(--white)); }
.field-error { color: var(--danger); font-size: 0.88rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.hint { font-size: 0.85rem; color: var(--muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; cursor: pointer;
}
.chip input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip input:focus-visible + span { outline: 2px solid var(--court); outline-offset: 2px; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input[type="range"] { flex: 1; min-width: 0; padding: 0; min-height: 32px; background: none; border: 0; accent-color: var(--court); box-shadow: none; }
.range-row output { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; min-width: 3.5ch; text-align: right; color: var(--court); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: 10px; margin-top: 22px; }
.form-actions .btn { width: 100%; }
.form-status { font-size: 0.9rem; color: var(--muted); text-align: center; }

.form-success { display: grid; gap: 16px; }
.form-success h3 { font-size: 2.1rem; }
.form-success .summary {
  margin: 0; padding: 14px 16px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88rem; white-space: pre-wrap; overflow-wrap: anywhere;
  max-height: 260px; overflow: auto;
}

.direct { display: grid; gap: 18px; }
.direct-card { background: var(--navy-2); border: 1px solid color-mix(in srgb, var(--white) 10%, transparent); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 16px; color: var(--on-navy); }
.direct-card h3 { font-size: 1.6rem; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--navy-3); border-radius: var(--radius); }
.copy-row .label { display: block; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-muted); font-weight: 700; }
.copy-row .value { display: block; font-weight: 700; font-size: 1.05rem; color: var(--white); overflow-wrap: anywhere; user-select: all; }
.copy-row > div { min-width: 0; }
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px;
  background: transparent; color: var(--volt); border: 1.5px solid var(--volt); border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer;
}
.copy-btn:hover { background: var(--volt); color: var(--navy); }
.copy-btn svg { width: 16px; height: 16px; }
.promise { display: grid; gap: 10px; color: var(--on-navy-muted); font-size: 0.98rem; }
.promise strong { color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--volt); color: var(--navy); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px; }
.cta-band h2 { font-size: var(--step-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 64px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h2 { font-size: 1.1rem; letter-spacing: 0.14em; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--volt); }
.site-footer address { font-style: normal; display: grid; gap: 6px; }
.footer-brand { display: grid; gap: 14px; }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--white) 10%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; }

/* ---------- Mobile action bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: color-mix(in srgb, var(--navy) 96%, transparent); border-top: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
    backdrop-filter: blur(8px);
  }
  .mobile-cta .btn { min-height: 46px; font-size: 1.05rem; padding-inline: 0.6em; }
  body { padding-bottom: 76px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 70; background: var(--volt); color: var(--navy); font-weight: 800; padding: 10px 18px; border-radius: 999px;
  box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center;
}

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

/* Steps on a light band */
.steps.on-light { border-color: var(--navy); }
.steps.on-light li::before { color: var(--court); }
.steps.on-light li::after { background: var(--court); }
.steps.on-light p { color: var(--muted); }

/* =====================================================================
   Home hero v2: the 3-second hero
   ===================================================================== */
.hero-home .hero-inner { gap: 22px; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero-home h1 { font-size: clamp(3rem, 1.4rem + 6.6vw, 6.4rem); line-height: 0.92; }
.hero-home h1 .line { display: block; }
.hero-home h1 .hl { color: var(--volt); }
.eyebrow.live { color: var(--volt); }
.eyebrow.live::before { display: none; }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 color-mix(in srgb, var(--volt) 70%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--volt) 60%, transparent); } 70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--volt) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--volt) 0%, transparent); } }

.proof-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 1rem; color: var(--on-navy); }
.proof-row li { display: inline-flex; align-items: center; gap: 6px; }
.proof-row strong { color: var(--white); font-size: 1.1rem; }
.proof-row .stars { color: var(--volt); letter-spacing: 2px; }
.proof-row li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--volt); margin-right: 16px; }

.quick-quote {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end;
  padding: 12px; background: color-mix(in srgb, var(--white) 97%, transparent); border-radius: var(--radius-lg); box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--ink) 60%, transparent);
}
.qq-field { display: grid; gap: 4px; min-width: 0; }
.qq-field label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--court); padding-left: 4px; }
.qq-field select { width: 100%; min-height: 48px; font: inherit; font-weight: 600; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.qq-field select:focus { outline: none; border-color: var(--court); box-shadow: 0 0 0 3px color-mix(in srgb, var(--court) 20%, transparent); }
.quick-quote .btn { min-height: 52px; }
@media (max-width: 640px) { .quick-quote { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .quick-quote .btn { grid-column: 1 / -1; } }

.director-card {
  position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 32px; z-index: 2;
  display: flex; align-items: center; gap: 14px; max-width: 340px; padding: 10px 16px 10px 10px;
  background: color-mix(in srgb, var(--navy) 88%, transparent); border: 1px solid color-mix(in srgb, var(--white) 15%, transparent); border-radius: 999px; color: var(--on-navy);
  backdrop-filter: blur(6px);
}
.director-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; border: 2px solid var(--volt); flex: none; }
.director-card strong { display: block; font-size: 0.98rem; }
.director-card span { display: block; font-size: 0.8rem; color: var(--on-navy-muted); line-height: 1.35; }
@media (max-width: 960px) { .director-card { position: relative; right: auto; bottom: auto; margin: 0 var(--gutter-r) 28px var(--gutter); border-radius: var(--radius-lg); max-width: none; } }

/* One orchestrated entrance: headline lines rise in, then the form. Visible at rest. */
@media (prefers-reduced-motion: no-preference) {
  .hero-home h1 .line { animation: rise 0.6s cubic-bezier(.2,.8,.2,1) both; }
  .hero-home h1 .line + .line { animation-delay: 0.12s; }
  .hero-home .quick-quote { animation: rise 0.6s 0.3s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes rise { from { transform: translateY(18px); opacity: 0.001; } to { transform: none; opacity: 1; } }

/* Versus block */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 760px) { .versus { grid-template-columns: minmax(0, 1fr); } }
.vs-col { padding: 28px; border-radius: var(--radius-lg); display: grid; gap: 16px; align-content: start; }
.vs-old { background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.vs-old h3 { color: var(--muted); }
.vs-old ul { list-style: none; display: grid; gap: 12px; }
.vs-old li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.vs-old li::before { content: "✕"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--muted); font-size: 0.8rem; font-weight: 800; text-decoration: none; }
.vs-new { background: var(--navy); color: var(--on-navy); }
.vs-new h3 { color: var(--volt); }
.vs-new .checklist li::before { background-color: var(--volt); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0F0D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.inline-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--white); border: 2px dashed var(--court); border-radius: var(--radius-lg); }
.inline-cta p { min-width: 0; }

.assurances { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.assurances li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.assurances h3 { font-size: 1.45rem; }
.assurances h3::before { content: ""; display: block; width: 32px; height: 4px; background: var(--court); margin-bottom: 14px; }
.assurances p { color: var(--muted); }
@media (max-width: 880px) { .assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .assurances { grid-template-columns: minmax(0, 1fr); } }
.portrait img { filter: contrast(1.05); object-position: 50% 20%; }

/* =====================================================================
   GEO: direct-answer Q&A blocks
   ===================================================================== */
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .qa-grid { grid-template-columns: minmax(0, 1fr); } }
.qa { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.qa h3 { font-size: 1.6rem; line-height: 1.05; }
.qa p { color: var(--muted); max-width: 62ch; }
.compare td, .compare th { min-width: 0; }

/* Scroll reveal: only applied by script.js to elements below the fold, so content is never hidden at rest */
.reveal { opacity: 0.001; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.footer-grid > * { min-width: 0; }
.site-footer address a { overflow-wrap: anywhere; }

/* ---------- Evidence page ---------- */
.section-head .answer { max-width: 70ch; }
.section-head .answer strong { font-weight: 600; color: var(--ink); }
.section-dark .section-head .answer strong { color: var(--on-navy); }
.studies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.study { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.study p { color: var(--muted); }
.study-stats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.study-stats li { display: grid; gap: 2px; min-width: 0; }
.study-num { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); line-height: 1; letter-spacing: 0.02em; color: var(--court); }
.study-stats li span:last-child { font-size: 0.9rem; color: var(--muted); }
.study-cite { font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 12px; }
.study-cite a { color: var(--court); overflow-wrap: anywhere; }
.study-note { margin-top: 20px; font-size: 0.92rem; color: var(--muted); max-width: 80ch; }
.roi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.roi-calc, .roi-include { background: var(--navy-2); border: 1px solid color-mix(in srgb, var(--white) 12%, transparent); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 10px; min-width: 0; }
.roi-calc label { font-weight: 600; color: var(--on-navy); }
.roi-calc input { font: inherit; font-size: 1.1rem; padding: 12px 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--white) 25%, transparent); background: var(--navy); color: var(--on-navy); width: 100%; }
.roi-out { margin-top: 8px; color: var(--on-navy); }
.roi-out strong { display: block; font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.05; color: var(--volt); }
.roi-fine { font-size: 0.85rem; color: var(--on-navy-muted); }
.roi-fine a { color: var(--volt); }
@media (max-width: 880px) { .studies, .roi { grid-template-columns: minmax(0, 1fr); } .study, .roi-calc, .roi-include { padding: 22px; } }

/* ---------- Brand shoots page ---------- */
.packages { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 40px; }
.format.feature-dark { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.format.feature-dark p, .format.feature-dark .checklist li { color: var(--on-navy-muted); }
.format.feature-dark .format-kicker { color: var(--volt); }
.format.feature-dark :focus-visible { outline-color: var(--volt); }
.packages .checklist { margin: 6px 0 10px; }
.table-title { font-size: 1.8rem; margin-bottom: 14px; }
@media (max-width: 880px) { .packages { grid-template-columns: minmax(0, 1fr); } }

/* 8-link nav: keep labels on one line on desktop */
@media (min-width: 1241px) {
  .nav-menu { gap: 0; }
  .nav-menu a:not(.btn) { white-space: nowrap; padding: 10px 7px; font-size: 0.95rem; }
  .nav-menu .btn { white-space: nowrap; }
}

/* ---------- Blog ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { font: inherit; font-weight: 600; font-size: 0.95rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.tab:hover { border-color: var(--court); }
.tab[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.badge-cat, .badge-time { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-cat { background: var(--paper); color: var(--court); }
.badge-time { background: var(--navy); color: var(--on-navy); }
.post-card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post-kind { font-family: var(--font-display); font-weight: 400; font-size: 0.9rem; letter-spacing: 0.16em; color: var(--muted); }
.post-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); margin-bottom: 28px; }
.post-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-feature-copy { padding: clamp(22px, 3vw, 40px); display: grid; gap: 12px; align-content: center; min-width: 0; }
.post-feature h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.02; }
.post-feature h3 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-feature h3 a:hover, .post-card h3 a:hover { color: var(--court); }
.post-feature p, .post-card p { color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--white); min-width: 0; }
.post-card h3 { font-size: 1.6rem; line-height: 1.05; }
.post-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--court); text-decoration: none; }
.post-more svg { width: 18px; height: 18px; }
.post-empty { margin-top: 20px; color: var(--muted); }
.post-hero { background: var(--navy); color: var(--on-navy); padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.post-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); line-height: 1; margin: 14px 0; }
.post-hero .breadcrumbs a { color: var(--on-navy); }
.post-hero .badge-cat { background: var(--navy-3); color: var(--volt); }
.post-meta { font-size: 0.92rem; color: var(--on-navy-muted); }
.post-feature .post-meta { color: var(--muted); }
.post-hero .post-meta a { color: var(--volt); }
.container.narrow { max-width: 860px; }
.post-figure { margin-top: 28px; }
.post-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
.post-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.post-body { padding-block: 28px 64px; display: grid; gap: 18px; }
.post-body > p, .post-body li { font-size: 1.08rem; line-height: 1.7; }
.post-body > p { color: var(--ink); }
.post-body h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); line-height: 1.02; margin-top: 26px; }
.post-body h3 { font-size: 1.5rem; line-height: 1.05; margin-top: 8px; }
.post-body a:not(.btn) { color: var(--court); }
.post-body .lead { font-size: 1.15rem; line-height: 1.6; border-left: 4px solid var(--volt); padding-left: 18px; }
.post-body .steps.on-light { margin: 6px 0; }
.cta-inline { background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin: 14px 0; }
.cta-inline .eyebrow { color: var(--volt); }
.cta-inline-h { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.05; letter-spacing: 0.02em; margin-top: 6px; max-width: 26ch; }
.cta-inline :focus-visible { outline-color: var(--volt); }
.author-bio { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: center; background: var(--paper); border-radius: var(--radius-lg); padding: 24px; margin-top: 20px; }
.author-bio img { width: 140px; height: 140px; object-fit: cover; object-position: 50% 25%; border-radius: 50%; display: block; }
.author-bio h2 { margin-top: 4px; font-size: 2rem; }
.author-bio p { color: var(--muted); }
.qa-list { border-top: 1px solid var(--line); }
.sources { font-size: 0.92rem; color: var(--muted); display: grid; gap: 8px; padding-left: 20px; }
.sources a { overflow-wrap: anywhere; }
@media (max-width: 880px) { .post-feature, .post-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .author-bio { grid-template-columns: minmax(0, 1fr); } .author-bio img { width: 110px; height: 110px; } }

/* ---------- Blog polish ---------- */
.container.narrow { max-width: 780px; }
.post-hero .breadcrumbs { margin-bottom: 18px; }
.post-hero h1 { margin: 16px 0 22px; text-wrap: balance; }
.byline { display: flex; align-items: center; gap: 12px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 2px solid var(--volt); filter: grayscale(1); }
.byline .post-meta { line-height: 1.45; }
.post-body { display: block; padding-block: 36px 72px; }
.post-body > * + * { margin-top: 1.15rem; }
.post-body > h2 { margin-top: 3rem; }
.post-body > h3 { margin-top: 2rem; }
.post-body > h2 + *, .post-body > h3 + * { margin-top: 0.75rem; }
.post-body > p, .post-body li { font-size: 1.075rem; line-height: 1.72; }
.post-body > p { color: var(--ink); }
.post-body h2 { text-wrap: balance; }
.post-body .lead { font-size: 1.12rem; line-height: 1.62; margin-top: 0; padding: 4px 0 4px 20px; }
.post-body .lead strong { font-weight: 600; }
.post-body .checklist { gap: 14px; }
.post-body .steps.on-light { margin-block: 1.5rem; }
.post-body .steps h3 { font-size: 1.3rem; }
.post-body .cta-inline, .post-body .author-bio { margin-block: 2.5rem; }
.post-body .qa-list { margin-top: 1rem; }
.post-body .qa p { max-width: none; }
.post-body .sources { margin-top: 0.75rem; }
.post-card-cta { background: var(--paper); border-style: dashed; }
.post-card-cta .btn { justify-self: start; margin-top: 4px; }
.post-feature h3, .post-card h3 { text-wrap: balance; }
@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }
  .post-body .lead { font-size: 1.04rem; }
  .post-body > p, .post-body li { font-size: 1.03rem; }
  .post-body > h2 { margin-top: 2.4rem; }
  .cta-inline { padding: 22px; }
}

/* ---------- Home hero on phones and tablets: show the whole group photo as a banner above the headline ---------- */
@media (max-width: 960px) {
  .hero-home::after { display: none; }
  .hero-home .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; max-height: 56vh; width: 100%; }
  .hero-home .hero-media { overflow: hidden; }
  .hero-home .hero-media img { object-position: 50% 58%; transform: scale(1.32); transform-origin: 52% 52%; }
  .hero-home .hero-media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(0deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 0%, transparent) 38%);
  }
  .hero-home .hero-inner { position: relative; z-index: 1; margin-top: -36px; padding-top: 0; }
}
