/* ============================================================
   One Stop Group — onestopgroup.us demo
   Editorial-minimal, financial-services credible.
   White / light gray base · charcoal text · logo red accent.
   ============================================================ */

/* ---------- self-hosted fonts ----------
   The exact variable woff2 files Google Fonts serves (latin subset only —
   the site has no latin-ext content). To re-download matching files +
   unicode-ranges (e.g. to add a face), fetch with a Chrome UA on 2026-07-02's
   URLs:
   fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,440..660;1,9..144,440..660
   fonts.googleapis.com/css2?family=Public+Sans:wght@400..800
   Note: Public Sans is the variable font, so in-between weights (550, 650…)
   render true instead of rounding up to the next static instance like the
   old Google-hosted request did — type is slightly lighter than before. */

/* Fraunces italic latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 440 660;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fraunces normal latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 440 660;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Public Sans normal latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/public-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f7f6f4;
  --white: #ffffff;
  --ink: #1c1d20;
  --ink-soft: #43454b;
  --muted: #6b6e76;
  --hairline: #e4e2dd;
  --hairline-dark: #d4d2cc;
  --red: #c32127;
  --red-dark: #9d1a1f;
  --red-tint: #fbf0f0;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;

  --container: 1120px;
  --radius: 8px;
  --shadow-soft: 0 1px 2px rgba(28, 29, 32, 0.05), 0 8px 28px rgba(28, 29, 32, 0.07);
  --shadow-lift: 0 2px 4px rgba(28, 29, 32, 0.06), 0 16px 44px rgba(28, 29, 32, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

/* App-shell scrolling: the document never scrolls — <body> is a
   viewport-sized scroll container and the page scrolls inside it. This is
   what keeps iOS Safari from painting scrolled page content into its
   translucent status-bar / URL-pill strips: Safari composites the *document*
   edge-to-edge behind its chrome while clipping pinned sticky/fixed layers
   to the inner viewport, so no in-page element can cover those strips —
   they must simply have nothing to show. Verified on a real iPhone. */
html { height: 100%; overflow: hidden; background: var(--white); }

body {
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* keep in-flow content clear of the notch in landscape (viewport-fit=cover) */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* the paper page background lives on <main>, so the white body shows only
   in the scroller's bounce gaps (above the white header, below the white
   footer) instead of tinting them paper */
main { background: var(--paper); }

/* ---------- cross-document view transitions ----------
   page-to-page navigation cross-fades instead of hard-cutting; the pinned
   header and mobile bar keep their own names so they hold still while the
   content fades. Browsers without support just navigate normally. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.mobile-bar { view-transition-name: mobile-bar; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

::selection { background: var(--red); color: var(--white); }

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

a { color: inherit; }

/* ---------- type ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 90;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }

/* headings break into even lines instead of orphaning a word; paragraphs
   avoid single-word last lines (no-ops where unsupported) */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.accent-script {
  font-style: italic;
  font-weight: 480;
  color: var(--red);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
}

.kicker--num::before { display: none; }
.kicker--num .num {
  color: var(--red);
  font-weight: 800;
}

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 38em;
}

.measure { max-width: 62ch; }

/* ---------- layout ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding: clamp(2.75rem, 5.5vw, 4.25rem) 0; }
.section--tight { padding: clamp(2.25rem, 4.5vw, 3.25rem) 0; }
.section--white { background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.section-head { margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); }

/* heroes hand off to the next section without stacked padding */
.hero + .section,
.page-hero + .section { padding-top: clamp(1.75rem, 3.5vw, 2.5rem); }

/* the signature red thread — echoes the line through the logo */
.thread {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 18%, var(--red) 82%, transparent);
  border: 0;
  margin: 0;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  /* with viewport-fit=cover the header reaches the physical screen top;
     this keeps its content below the status bar / Dynamic Island while its
     background fills the strip (otherwise page content scrolls through it) */
  padding-top: env(safe-area-inset-top);
}

/* iOS Safari paints the page edge-to-edge behind its translucent status bar
   while the pinned header stays inside the smaller layout viewport, so
   just-scrolled-past content showed crisply in that strip above the header
   (env() insets are 0 in regular portrait Safari and can't cover it). This
   skirt extends the header's surface upward over the strip; off-screen and
   invisible everywhere else. */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 120px;
  background: var(--white);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-name .dot { color: var(--red); }

.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--ink-soft);
  position: relative;
  padding: 0.35rem 0;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }

.site-nav a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline-dark);
  border-radius: 6px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  font-weight: 650;
  font-size: 0.9rem;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus { top: 1rem; }

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-call .ph {
  width: 15px;
  height: 15px;
  color: var(--red);
  flex: none;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(28, 29, 32, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.985); }

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

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(195, 33, 39, 0.28);
}

.btn--primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-dark);
}

.btn--ghost:hover { border-color: var(--ink); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

.btn--quiet {
  background: none;
  border: 0;
  color: var(--muted);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.85rem 1rem;
}

.btn--quiet:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 540px at 82% -10%, rgba(195, 33, 39, 0.055), transparent 60%),
    var(--paper);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(2.75rem, 6vw, 4.75rem);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.hero h1 { margin: 0 0 1.4rem; }

.hero .lede { margin-bottom: 2.2rem; }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* badge panel with the red thread passing through.
   The thread continues the logo's own red stroke: it crosses the badge at
   ~42.85% height with a stroke ~2% of the badge diameter (measured from the
   asset), so the segments are anchored to the badge, not the container. */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.hero-badge-wrap { position: relative; display: block; }

.hero-badge-wrap::before,
.hero-badge-wrap::after {
  content: "";
  position: absolute;
  height: 2%;
  background: #d22121; /* sampled from the logo's stroke so the seam is invisible */
}

/* the logo's stroke is hand-drawn with a 0.42° rise; counter-rotating the
   (circular) badge levels it so the extension meets at one height. The flourish
   exits at ~42.85% (measured at 2× from logo.png, incl. the rotation) */
.hero-badge-wrap .hero-badge { transform: rotate(0.42deg); }

/* desktop: the thread exits only to the right — the left side stays clean.
   it starts under the badge (behind it, see z-index below) and emerges at the
   logo's edge so there's no seam/gap. top 41.85% + 2% height -> centre 42.85% */
.hero-badge-wrap::after {
  left: 50%;
  width: 50vw;
  top: 41.85%;
}

@media (max-width: 920px) {
  /* centered badge: the thread crosses the full width */
  .hero-badge-wrap::before {
    right: 50%;
    width: 50vw;
    top: 41.85%;
  }
}

.hero-badge {
  width: clamp(220px, 24vw, 300px);
  height: clamp(220px, 24vw, 300px);
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1; /* sit above the thread so its under-tucked start is hidden */
  box-shadow: var(--shadow-lift);
  background: var(--white);
}

/* ---------- service selector ---------- */

.selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.selector-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.selector-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}

.selector-card:hover {
  border-color: var(--hairline-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.selector-card:hover::before { transform: scaleY(1); }

.selector-card h3 { font-size: 1.12rem; }

.selector-card p { font-size: 0.91rem; color: var(--muted); line-height: 1.5; }

.selector-card .go {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
}

/* ---------- credibility strip ---------- */

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.cred-item {
  background: var(--white);
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
}

.cred-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.cred-item span { font-size: 0.93rem; color: var(--muted); }

/* ---------- numbered service sections ---------- */

.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.svc + .svc { border-top: 1px solid var(--hairline); }

.svc--flip > .svc-aside { order: -1; }

.svc h2 { margin-bottom: 1rem; }

.svc p { color: var(--ink-soft); margin-bottom: 1rem; }

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--red);
  text-decoration: none;
  margin-top: 0.4rem;
}

.svc-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.svc-aside {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
}

.svc-aside h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.svc-aside ul { list-style: none; }

.svc-aside li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.96rem;
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.svc-aside li:last-child { border-bottom: 0; }

.svc-aside li::before {
  content: "—";
  color: var(--red);
  font-weight: 700;
  flex: none;
}

/* scenario tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 0.4rem; }

.tag {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.75rem;
  border: 1px solid var(--hairline-dark);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }

.section-head--center { text-align: center; }
.section-head--center .kicker { justify-content: center; }

.faq details {
  border-bottom: 1px solid var(--hairline);
  /* lets block-size animate to/from `auto` in supporting browsers */
  interpolate-size: allow-keywords;
}

/* glide the answer open/closed; unsupported browsers keep the instant
   toggle. content-visibility transitions discretely so the text stays
   rendered until the collapse finishes. */
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
}

.faq details[open]::details-content { block-size: auto; }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 580;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .ind {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--hairline-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.3s var(--ease), background 0.2s, color 0.2s;
}

.faq details[open] summary .ind {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.faq details p {
  padding: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- closing CTA band ---------- */
/* NOTE: section class names (cta-band, page-hero, wstep, …) double as the
   analytics `section` label on click events (site.js sectionOf) — renaming
   one silently repartitions the client's click reports. */

.cta-band {
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(195, 33, 39, 0.18), transparent 65%),
    radial-gradient(700px 380px at 88% 115%, rgba(195, 33, 39, 0.08), transparent 60%),
    var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.cta-band .thread {
  width: 72px;
  margin: 0 auto 1.6rem;
  background: var(--red);
}

.cta-band .container {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.75rem, 5.5vw, 4.25rem);
  padding-bottom: clamp(2.75rem, 5.5vw, 4.25rem);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 1.1rem;
}

.cta-band p { color: #b9bbc2; max-width: 44em; margin: 0 auto 2.2rem; }

.cta-band .btn--ghost { color: var(--paper); border-color: #4a4c52; }
.cta-band .btn--ghost:hover { border-color: var(--paper); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--hairline);
  padding: clamp(2.25rem, 4.5vw, 3rem) 0 1.6rem;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-grid ul { list-style: none; }

.footer-grid li { margin-bottom: 0.55rem; }

.footer-grid a { text-decoration: none; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--red); }

.footer-brand p { color: var(--muted); max-width: 30ch; margin-top: 0.8rem; }

.footer-legal {
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-legal p + p { margin-top: 0.6rem; }

.eho {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  color: var(--ink-soft);
}

/* ---------- sticky mobile action bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--hairline);
  padding: 0.7rem max(1rem, env(safe-area-inset-right)) calc(0.7rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  gap: 0.7rem;
  box-shadow: 0 -6px 24px rgba(28, 29, 32, 0.08);
}

.mobile-bar .btn { flex: 1; }

/* same trick downward: covers the strip Safari paints behind its collapsed
   URL pill below the fixed bar */
.mobile-bar::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--white);
}

/* ---------- page hero (interior pages) ---------- */
/* NOTE: class name doubles as the analytics `section` label — see cta-band note. */

.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 1.1rem; }

/* ---------- generic content blocks ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card h3 { margin-bottom: 0.5rem; font-size: 1.12rem; }
.card p { font-size: 0.93rem; color: var(--muted); }

.steps { counter-reset: step; list-style: none; max-width: 760px; }

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.4rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
}

.steps li:last-child { border-bottom: 0; }

.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 560;
  color: var(--red);
  line-height: 1.15;
}

.steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.steps p { color: var(--ink-soft); font-size: 0.98rem; }

.prose p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 68ch; }
.prose h2 { margin: 2.4rem 0 0.9rem; font-size: 1.5rem; }
.prose ul { margin: 0 0 1.1rem 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.4rem; }

.notice {
  background: var(--red-tint);
  border: 1px solid #f0d4d5;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.notice strong { color: var(--red-dark); }

.notice--muted {
  background: var(--paper);
  border-color: var(--hairline-dark);
}

.notice--muted strong { color: var(--ink-soft); }

/* ---------- texture & motifs ---------- */

/* barely-there paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* the thread continues between sections — one connected line down the page */
.thread-v {
  width: 2px;
  height: 42px;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent, var(--red) 30%, var(--red) 70%, transparent);
  opacity: 0.55;
}

/* oversized faint circle echoing the badge */
.circle-accent { position: relative; overflow: hidden; }

.circle-accent::before {
  content: "";
  position: absolute;
  right: -170px;
  top: -130px;
  width: 430px;
  height: 430px;
  border: 1.5px solid var(--hairline-dark);
  border-radius: 50%;
  pointer-events: none;
}

/* keep the decorative ring behind the section's content (photo, text, quote)
   instead of painting over it */
.circle-accent > .container { position: relative; z-index: 1; }

/* ---------- photo treatments ---------- */

.page-hero--split .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.page-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

/* proof band: photo with the quote layered over its lower edge */
.proof-visual { align-self: center; }

.proof-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.proof-visual .quote-card {
  position: relative;
  margin: -3.25rem 1.1rem 0;
  box-shadow: var(--shadow-soft);
}

/* ---------- team (staged) ---------- */

.team-grid {
  --team-gap: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* every row the same height: card size must not depend on how much
     text a member happens to have, or each photo gets a different frame */
  grid-auto-rows: 1fr;
  gap: var(--team-gap);
}

.team-grid--bios { grid-template-columns: 1fr; }

/* A lone trailing card (odd team count) centers under the two-up row at
   exactly one column's width. Dormant at an even count; when the roster
   is odd, whoever is listed last in TEAM lands in this slot. */
.team-grid:not(.team-grid--bios) > .team-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - var(--team-gap) / 2);
}

.team-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-grid--bios .team-card {
  grid-template-columns: 34% 1fr;
}

/* side-by-side cards: the photo fills the card's full height, whatever
   the text column measures — object-fit absorbs the crop. No aspect-ratio
   here: with the height bound it would derive width and overflow the grid
   track. (The stacked ≤560px layout restores ratio-driven sizing.) */
.team-photo {
  height: 100%;
  /* floor: with the frame now text-driven, this keeps a portrait shape
     even if every member's text were ever short */
  min-height: 15rem;
  background: linear-gradient(180deg, #eceae6, #e2e0db);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-card .who { padding: 1.4rem 1.6rem; align-self: center; }

.team-grid--bios .who { padding: 1.8rem 2rem; }

.team-card .who strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 620;
}

.team-card .who em {
  display: block;
  font-style: normal;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.15rem 0 0.45rem;
}

.team-card .who p { color: var(--muted); font-size: 0.92rem; }

.team-license {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.team-blurb { margin-top: 0.7rem; }

.team-bio-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--red);
  text-decoration: none;
}

.team-bio-link:hover { text-decoration: underline; }

.team-bio { margin-top: 0.9rem; }

.team-bio p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.team-bio p + p { margin-top: 0.7rem; }

/* ---------- plain-english scenario mini-cards ---------- */

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.mini-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
}

.mini-card b {
  display: block;
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 0.2rem;
}

.mini-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html, body { scroll-behavior: auto; }
  .faq details::details-content { transition: none; }
}

/* ============================================================
   START / LEAD FORM WIZARD
   ============================================================ */

.start-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.start-main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 9vh, 5.5rem) clamp(1.25rem, 4vw, 2.5rem) 7rem;
}

.wizard {
  width: 100%;
  max-width: 640px;
}

.wizard-progress { margin-bottom: 2.2rem; }

.wizard-progress .label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.wizard-progress .track {
  height: 3px;
  background: var(--hairline-dark);
  border-radius: 99px;
  overflow: hidden;
}

.wizard-progress .fill {
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: 99px;
  transition: width 0.45s var(--ease);
}

.wstep { display: none; }
.wstep.active { display: block; animation: stepIn 0.45s var(--ease); }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.wstep h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 0.6rem;
}

.wstep .hint {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.8rem;
}

/* option cards (radio behavior) */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.opt-grid--stack { grid-template-columns: 1fr; }

.opt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s var(--ease);
  min-height: 64px;
}

.opt:hover { border-color: var(--hairline-dark); transform: translateY(-1px); }

.opt .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--hairline-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color 0.15s, background 0.15s;
}

.opt .tick::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  transform: scale(0);
  transition: transform 0.18s var(--ease);
}

.opt[aria-pressed="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(195, 33, 39, 0.12);
}

.opt[aria-pressed="true"] .tick { background: var(--red); border-color: var(--red); }
.opt[aria-pressed="true"] .tick::after { transform: scale(1); }

.opt small {
  display: block;
  font-weight: 450;
  color: var(--muted);
  font-size: 0.83rem;
  margin-top: 0.1rem;
}

/* fields */
.field { margin-bottom: 1.3rem; }

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
}

.field label .req { color: var(--red); }
.field label .optional {
  font-weight: 450;
  color: var(--muted);
  font-size: 0.82rem;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--hairline-dark);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(195, 33, 39, 0.12);
}

.field .err {
  display: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-dark);
  margin-top: 0.35rem;
}

.field.invalid input,
.field.invalid select { border-color: var(--red-dark); }
.field.invalid .err { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* property-value input ($ prefix) */
.value-input { position: relative; }
.value-input .cur {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%); /* center on the input text, not a fixed offset */
  line-height: 1;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}
/* selector must out-specify `.field input[type="text"]` (0,2,1) or its
   padding shorthand resets padding-left back to 1rem and the $ overlaps */
.field .value-input input[type="text"] { padding-left: 1.9rem; }

/* scenario chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.chip {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--hairline-dark);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* wizard nav */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
}

.wizard-nav .spacer { flex: 1; }

/* confirmation */
.confirm-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin-bottom: 1.6rem;
  animation: pop 0.5s var(--ease);
}

@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.summary-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  margin-top: 1.8rem;
}

.summary-card dl { display: grid; grid-template-columns: max-content 1fr; }

.summary-card dt, .summary-card dd { padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--hairline); }
.summary-card dt { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.summary-card dd { font-size: 0.95rem; }
.summary-card dt:last-of-type, .summary-card dd:last-of-type { border-bottom: 0; }

/* slim header variant for start page */
.start-header .site-nav { gap: 1.2rem; }

/* ---------- path cards + not-sure bar ---------- */

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.path-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}

.path-card:hover {
  border-color: var(--hairline-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.path-card:hover::before { transform: scaleY(1); }

.path-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--red-tint);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
  transition: background 0.25s, color 0.25s;
}

.path-card .icon svg { width: 22px; height: 22px; }

.path-card:hover .icon { background: var(--red); color: var(--white); }

.path-card h3 { font-size: 1.28rem; }

.path-card p { font-size: 0.93rem; color: var(--muted); line-height: 1.55; }

.path-card .covers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.path-card .covers span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.26rem 0.65rem;
  border: 1px solid var(--hairline-dark);
  border-radius: 999px;
  color: var(--ink-soft);
}

.path-card .go {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--red);
}

.notsure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  margin-top: 1rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.25s;
}

.notsure:hover { border-color: var(--hairline-dark); box-shadow: var(--shadow-soft); }

.notsure b { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }

.notsure span { color: var(--muted); font-size: 0.92rem; flex: 1; min-width: 200px; }

.notsure .go { color: var(--red); font-weight: 700; font-size: 0.92rem; white-space: nowrap; }

/* ---------- merged process + proof band ---------- */

.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.steps-compact { list-style: none; counter-reset: sc; }

.steps-compact li {
  counter-increment: sc;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--hairline);
}

.steps-compact li:last-child { border-bottom: 0; }

.steps-compact li::before {
  content: "0" counter(sc);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 580;
  color: var(--red);
  line-height: 1.3;
}

.steps-compact b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}

.steps-compact p { color: var(--muted); font-size: 0.91rem; line-height: 1.55; }

/* ---------- split FAQ ---------- */

.faq-split {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq-split .faq { margin: 0; max-width: none; }

.faq-split .section-head { margin-bottom: 1rem; }

/* ---------- hero stat strip ---------- */

.hero-stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 1.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
}

.hero-stats div { min-width: 0; }

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 620;
  line-height: 1.2;
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- selector card icons ---------- */

.selector-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--red-tint);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
  transition: background 0.25s, color 0.25s;
}

.selector-card .icon svg { width: 22px; height: 22px; }

.selector-card:hover .icon { background: var(--red); color: var(--white); }

/* ---------- process strip ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: proc;
}

.process-step {
  counter-increment: proc;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  position: relative;
}

.process-step::before {
  content: "0" counter(proc);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 560;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.process-step h3 { font-size: 1.16rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.93rem; color: var(--muted); }

.process-step .eta {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- testimonials ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-stars {
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 480;
  line-height: 1.5;
  color: var(--ink-soft);
}

.quote-card figcaption {
  margin-top: auto;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.quote-card .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex: none;
}

.quote-card .who strong { display: block; font-weight: 700; }
.quote-card .who span { color: var(--muted); font-size: 0.8rem; }

.sample-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1.4rem;
  font-style: italic;
}

/* ---------- license bar ---------- */

.license-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.license-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink-soft);
  border: 1px solid var(--hairline-dark);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: var(--paper);
}

.license-chip .mark { color: var(--red); font-weight: 800; }

/* ---------- wizard: trust line, chip-selects, confirm upload ---------- */

.wizard-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.7rem 0 0;
}

.wizard-trust svg { width: 13px; height: 13px; color: var(--red); flex: none; }

.consent-note { font-size: 0.78rem; line-height: 1.5; color: var(--muted); margin-top: 1.4rem; }
.consent-note a { color: var(--ink-soft); text-decoration: underline; }

.step-err {
  color: var(--red-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

.subfield-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  margin: 1.5rem 0 0.55rem;
}

.subfield-label .req { color: var(--red); }
.subfield-label .optional { font-weight: 450; color: var(--muted); font-size: 0.82rem; }

.opt--compact { min-height: 52px; padding: 0.75rem 1rem; font-size: 0.94rem; }
.opt--compact .tick { width: 19px; height: 19px; }
.opt--compact .tick::after { width: 8px; height: 8px; }

/* ---------- responsive ---------- */

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
  /* headline + CTA stay above the fold; badge follows */
  .hero-visual { min-height: 150px; order: 1; margin-top: 0.25rem; }
  .hero-badge { width: 150px; height: 150px; }
  .selector-grid { grid-template-columns: 1fr 1fr; }
  .svc, .split { grid-template-columns: 1fr; }
  .svc--flip > .svc-aside { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .process-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.2rem 2rem; }
  .path-grid { grid-template-columns: 1fr; }
  .proof-grid, .faq-split { grid-template-columns: 1fr; }
  .page-hero--split .container { grid-template-columns: 1fr; }
  .page-photo { aspect-ratio: 16 / 10; }
  .team-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .team-grid:not(.team-grid--bios) > .team-card:last-child:nth-child(odd) { width: 100%; }
  .team-grid--bios { max-width: 640px; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  /* stack the executive card: photo on top, details below */
  .team-card { grid-template-columns: 1fr; }
  .team-grid--bios .team-card { grid-template-columns: 1fr; }
  /* stacked: the photo is its own row again, so ratio (not row height)
     must size it, and equal-height rows would only pad the shorter cards */
  .team-photo { height: auto; aspect-ratio: 4 / 5; }
  .team-grid { grid-auto-rows: auto; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    /* open just below the sticky header, which grows by the top safe area */
    inset: calc(76px + env(safe-area-inset-top)) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 1.5rem 1.6rem;
    gap: 0.4rem;
    display: none;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.open { display: flex; }

  .site-nav a:not(.btn) { padding: 0.7rem 0; font-size: 1.05rem; }

  .site-nav .btn { margin-top: 0.6rem; }

  .nav-toggle { display: flex; }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-bar { display: flex; }

  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .selector-grid { grid-template-columns: 1fr; }
  .cred-strip { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  /* short-label option groups (income, credit) stay two-across */
  .opt-grid--keep2 { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .opt--compact { min-height: 48px; padding: 0.65rem 0.8rem; font-size: 0.9rem; }
  .opt--compact .tick { width: 17px; height: 17px; }

  /* hero stats: one compact row instead of a tall stack */
  .hero-stats {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.1rem;
  }
  .hero-stats div { flex: 1; }
  .hero-stats strong { font-size: 0.95rem; }
  .hero-stats span { font-size: 0.68rem; line-height: 1.4; display: block; }

  /* path cards: headline + chips carry the message; detail sentence hides */
  .path-card { padding: 1.4rem 1.3rem 1.25rem; }
  .path-card p .extra { display: none; }

  /* hero CTAs: uniform full-width buttons */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  /* condensed confirmation summary rows */
  .summary-card dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.6rem 1.1rem 0.05rem;
  }
  .summary-card dd { padding: 0 1.1rem 0.6rem; font-size: 0.98rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .summary-card dl { grid-template-columns: 1fr; }
  .summary-card dt { padding-bottom: 0.1rem; border-bottom: 0; }
  .summary-card dd { padding-top: 0; }

  .start-main { padding-bottom: 3rem; }
  body.start-page { padding-bottom: 0; }
}

/* ============================================================
   EVENT SIGN-IN + QR TOOL
   ============================================================ */

.event-main,
.event-qr-main {
  align-items: flex-start;
}

.event-panel { max-width: 640px; }
.event-qr-tool { max-width: 760px; }

.event-eyebrow { margin-bottom: 0.8rem; }

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.event-actions .btn { min-width: 152px; }

/* Cars, Coffee and Closings: show-car details revealed by the role pick */
.ccc-car-fields { margin-top: 0.4rem; }
.ccc-car-hint { margin-bottom: 0.8rem; }
.field-row--car { grid-template-columns: 6.5rem 1fr 1.4fr; }
@media (max-width: 720px) {
  .field-row--car { grid-template-columns: 6.5rem 1fr; }
  .field-row--car .field:last-child { grid-column: 1 / -1; }
}

.event-qr-howto { margin: 1.2rem 0 1.6rem; }
.event-qr-howto ol { margin-left: 1.2rem; color: var(--ink-soft); }
.event-qr-howto li { margin-bottom: 0.35rem; }
.event-qr-howto p { margin-top: 0.7rem; color: var(--ink-soft); }

.event-qr-output { margin-top: 1.7rem; }

.event-qr-print {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
}

.event-qr-print h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  margin-bottom: 1.1rem;
}

.event-qr-code {
  display: grid;
  place-items: center;
}

.event-qr-code svg {
  width: min(240px, 100%);
  height: auto;
  display: block;
}

.event-qr-url-field { margin-top: 1.2rem; }
.event-qr-url-field input { font-size: 0.9rem; }
.event-qr-print-url { display: none; }

@media (max-width: 720px) {
  .event-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media print {
  html,
  body {
    height: auto;
    overflow: visible;
    background: #ffffff;
    padding: 0;
  }

  body::after,
  .event-qr-page .skip-link,
  .event-qr-page .site-header,
  .event-qr-page .event-qr-controls,
  .event-qr-page .event-qr-howto,
  .event-qr-page .event-qr-url-field,
  .event-qr-page .event-qr-kiosk,
  .event-qr-page .event-qr-special,
  .event-qr-page .event-actions,
  .event-qr-page .wstep > h1,
  .event-qr-page .wstep > .hint {
    display: none !important;
  }

  .event-qr-page main { background: #ffffff; }

  .event-qr-page .start-main {
    display: block;
    min-height: 100vh;
    padding: 0;
  }

  .event-qr-page .wizard {
    width: 100%;
    max-width: none;
  }

  .event-qr-page .wstep,
  .event-qr-page .wstep.active {
    display: block;
    animation: none;
  }

  .event-qr-page .event-qr-output {
    display: flex !important;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .event-qr-page .event-qr-output[hidden] { display: none !important; }

  .event-qr-page .event-qr-print {
    width: 100%;
    max-width: 16cm;
    border: 0;
    border-radius: 0;
    padding: 0;
  }

  .event-qr-page .event-qr-print h2 {
    font-size: 28pt;
    line-height: 1.1;
    margin-bottom: 1cm;
  }

  .event-qr-page .event-qr-code svg {
    width: 10cm;
    height: 10cm;
    margin: 0 auto;
  }

  .event-qr-page .event-qr-print-url {
    display: block;
    margin-top: 1cm;
    font-size: 10pt;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
}
