/* JLuna Health Solutions
   Black and white sections, gold accents sampled from the logo foil. */

:root {
  --black: #0B0B0B;
  --black-raised: #141414;
  --white: #FFFFFF;
  --ink: #171717;
  --gold: #E6BF60;
  --gold-light: #F0D288;
  --gold-deep: #846414;     /* gold for small text on white, passes AA */
  --line-dark: #2A2A2A;
  --line-light: #E4E4E4;
  --tint: #F5F5F3;          /* very light gray section background (reviews) */
  --text-on-dark: #FFFFFF;
  --muted-on-dark: #C4C4C4;
  --muted-on-light: #4A4A4A;
  --error: #B42318;

  --font-head: "Ledger", Georgia, "Times New Roman", serif;   /* Ledger ships in one weight (400); never set headings bolder */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container-max: 1350px;
  --container-pad-desktop: 32px;
  --container-pad-mobile: 20px;
  --radius: 4px;
  --nav-h: 96px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@property --ripple { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0; background: var(--black); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { display: block; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.3125rem; line-height: 1.3; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.section:not(.section-dark) :focus-visible { outline-color: var(--ink); }

.skip-link { position: absolute; left: 16px; top: -64px; z-index: 400; padding: 12px 16px; background: var(--gold); color: var(--black); font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad-desktop); }
.section { padding: 96px 0; background: var(--white); color: var(--ink); --section-bg: var(--white); }
.section-dark { background: var(--black); color: var(--text-on-dark); --section-bg: var(--black); }
.section-dark p { color: var(--muted-on-dark); }
/* Main headings on black are gold (section h2s and inner page hero h1s). The homepage hero keeps white with a gold accent. */
.section-dark h2, .page-hero h1 { color: var(--gold); }
.section p { max-width: 68ch; }
.section:not(.section-dark) p { color: var(--muted-on-light); }

.section-label {
  display: inline-block; margin-bottom: 16px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold-deep);
}
.section-dark .section-label, .hero .section-label, .page-hero .section-label { color: var(--gold); }

.section-header { max-width: 760px; margin-bottom: 48px; }
.section-header h2 + p { margin-top: 20px; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header.center p { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 32px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
/* On black: gold primary, white outline secondary */
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
/* Main quote buttons on black (header, heroes, final CTA): black fill, gold outline and text, gold glow.
   On hover gold spreads from the center to the edges. The fill is the button's own background, one radial
   gradient whose gold radius (--ripple) animates, so there is no second layer to leave a fringe at the pill ends. */
.nav-cta, .nav-panel-cta, .hero .btn-primary, .page-hero .btn-primary, .final-cta .btn-primary {
  background: radial-gradient(circle at center, var(--gold) calc(var(--ripple) - 1%), var(--black) var(--ripple)) border-box; border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 20px rgba(230,191,96,0.45), 0 0 4px rgba(230,191,96,0.6);
  transition: --ripple 650ms cubic-bezier(0.22, 0.61, 0.36, 1), color 350ms var(--ease), box-shadow 450ms var(--ease);
}
.nav-cta:hover, .nav-panel-cta:hover, .hero .btn-primary:hover, .page-hero .btn-primary:hover, .final-cta .btn-primary:hover, .nav-cta:focus-visible, .nav-panel-cta:focus-visible, .hero .btn-primary:focus-visible, .page-hero .btn-primary:focus-visible, .final-cta .btn-primary:focus-visible {
  --ripple: 101%;
  background: radial-gradient(circle at center, var(--gold) calc(var(--ripple) - 1%), var(--black) var(--ripple)) border-box; border-color: var(--gold); color: var(--black);
  box-shadow: 0 0 32px rgba(230,191,96,0.6), 0 0 8px rgba(230,191,96,0.7);
}
.btn-secondary { background: transparent; border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
/* On white: black primary with a gold hover, black outline secondary */
.section:not(.section-dark) .btn-primary { background: var(--black); border-color: var(--black); color: var(--white); }
.section:not(.section-dark) .btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.section:not(.section-dark) .btn-secondary { border-color: var(--ink); color: var(--ink); }
.section:not(.section-dark) .btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; transition: color 200ms var(--ease); }
.text-link:hover { color: var(--gold-deep); }
.section-dark .text-link:hover { color: var(--gold); }

/* ---------- Header / nav ---------- */
.nav { position: sticky; top: 0; z-index: 200; background: var(--black); border-bottom: 1px solid var(--line-dark); color: var(--white); }
.nav-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; height: var(--nav-h); }
.nav-logo .logo-svg { width: auto; height: 64px; }
.nav-links { display: flex; align-items: stretch; height: 100%; justify-self: end; }
.nav-item { position: relative; height: 100%; }
.nav-item > a {
  display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 20px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; color: var(--white);
  transition: color 200ms var(--ease);
}
.nav-item > a:hover, .nav-item > a[aria-current="page"] { color: var(--gold); }
.nav-item > a svg { width: 11px; height: 11px; transition: transform 200ms var(--ease); }
.nav-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 16px; }
.nav-cta { min-height: 44px; padding: 8px 24px; font-size: 15px; }

.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px; width: max-content; padding: 8px;
  background: var(--black-raised); border: 1px solid var(--line-dark); border-top: 1px solid var(--gold); z-index: 300;
}
.dropdown a { display: block; padding: 12px 16px; font-size: 15px; text-decoration: none; color: var(--white); border-radius: var(--radius); transition: color 200ms var(--ease), background-color 200ms var(--ease); }
.dropdown a:hover, .dropdown a:focus-visible { color: var(--gold); background: rgba(255,255,255,0.04); }
@media (min-width: 1025px) {
  .dropdown a { white-space: nowrap; }
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
  .nav-item:hover > a svg, .nav-item:focus-within > a svg { transform: rotate(180deg); }
}

.nav-burger { display: none; width: 48px; height: 48px; padding: 12px; background: none; border: 0; cursor: pointer; }
.nav-burger span { display: block; height: 2px; margin: 5px 0; background: var(--white); transition: transform 240ms var(--ease), opacity 200ms var(--ease); }
.nav-backdrop { display: none; }
.nav-panel-header, .nav-panel-footer { display: none; }

@media (max-width: 1160px) and (min-width: 1025px) {
  .nav-item > a { padding: 0 12px; font-size: 14px; }
  .nav-logo .logo-svg { height: 52px; }
  .nav-cta { padding: 8px 12px; font-size: 14px; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 80px; }
  .nav-logo .logo-svg { height: 52px; }
  .nav-cta { display: none; }
  .nav-burger { display: block; margin-right: -12px; }
  body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    position: fixed; top: 0; right: 0; left: auto;
    width: min(86vw, 380px); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch;
    background: var(--black); border-left: 1px solid var(--line-dark);
    box-shadow: -12px 0 40px rgba(0,0,0,0.45);
    transform: translateX(100%); visibility: hidden;
    z-index: 250; overflow-y: auto; overscroll-behavior: contain;
  }
  /* Only animate while the menu is being opened or closed, so resizing across the breakpoint never flashes the panel */
  body.nav-animating .nav-links { transition: transform 280ms var(--ease), visibility 0s linear 280ms; }
  body.nav-open .nav-links { transform: translateX(0); visibility: visible; }
  body.nav-open.nav-animating .nav-links { transition: transform 280ms var(--ease), visibility 0s; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 240; }
  body.nav-open .nav-backdrop { display: block; }
  body.nav-open { overflow: hidden; }

  .nav-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-dark); }
  .nav-panel-logo-link img { width: auto; height: 40px; }
  .nav-panel-close { width: 48px; height: 48px; margin-right: -12px; padding: 12px; background: none; border: 0; color: var(--white); cursor: pointer; }
  .nav-panel-close svg { width: 24px; height: 24px; }
  .nav-panel-footer { display: flex; flex-direction: column; gap: 16px; margin-top: auto; padding: 24px 20px; }
  .nav-panel-phone { text-align: center; font-weight: 600; text-decoration: none; color: var(--white); padding: 8px; }

  .nav-item { height: auto; position: static; border-bottom: 1px solid var(--line-dark); }
  .nav-item > a { justify-content: space-between; height: auto; padding: 20px 24px; font-size: 17px; }
  .nav-item > a svg { width: 13px; height: 13px; }
  .nav-item.open > a { color: var(--gold); }
  .nav-item.open > a svg { transform: rotate(180deg); }
  .dropdown { display: none; position: static; min-width: 0; width: auto; padding: 0 0 12px; border: 0; background: none; }
  .nav-item.open .dropdown { display: block; }
  .dropdown a { padding: 12px 12px 12px 24px; color: var(--muted-on-dark); border-radius: 0; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; min-height: clamp(720px, calc(100vh - var(--nav-h)), 960px);
}
.hero-bg { position: absolute; top: 0; bottom: 0; left: 40%; z-index: -2; width: 60%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-overlay { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--black) 0%, var(--black) 40%, rgba(11,11,11,0.72) 54%, rgba(11,11,11,0.18) 78%, rgba(11,11,11,0.3) 100%),
    linear-gradient(0deg, rgba(11,11,11,0.85) 0%, rgba(11,11,11,0) 28%); }
.hero-main { flex: 1; display: flex; align-items: center; padding: 80px 0 64px; }
.hero-main .container { width: 100%; }
.hero-content { max-width: 680px; }
.hero h1 .accent { color: var(--gold); white-space: nowrap; }
.hero-sub { margin-top: 24px; max-width: 580px; font-size: 1.125rem; color: #DEDEDE; }
.hero-cta { margin-top: 40px; }
.hero-trust { border-top: 1px solid rgba(255,255,255,0.16); background: rgba(11,11,11,0.55); }
.hero-trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-trust li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px 16px; font-size: 15px; font-weight: 500; color: var(--white); white-space: nowrap; }
.hero-trust li + li { border-left: 1px solid rgba(255,255,255,0.16); }
.hero-trust svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--gold); }
@media (max-width: 1240px) and (min-width: 1025px) {
  .hero-trust ul { display: flex; justify-content: space-between; gap: 16px; }
  .hero-trust li, .hero-trust li + li { gap: 8px; padding: 24px 0; border-left: 0; font-size: 13px; }
  .hero-trust svg { width: 20px; height: 20px; }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: var(--white); padding: 96px 0 80px; }
.page-hero-content { max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.page-hero p.lead { margin-top: 24px; max-width: 640px; font-size: 1.125rem; color: #DEDEDE; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero.has-image { min-height: 520px; display: flex; align-items: center; }
.page-hero.has-image .container { width: 100%; }
.page-hero.has-image .page-hero-content { max-width: 640px; }
.page-hero .hero-bg { left: 42%; width: 58%; }
.page-hero .hero-overlay { background: linear-gradient(90deg, var(--black) 0%, var(--black) 42%, rgba(11,11,11,0.7) 56%, rgba(11,11,11,0.2) 100%); }
.breadcrumbs { margin-bottom: 24px; font-size: 14px; color: var(--muted-on-dark); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #6B6B6B; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
/* Text-only inner page hero: centered over the faint crescent (crescent rule under "Final CTA") */
/* :where() keeps these at plain .page-hero strength, so the tablet and phone padding rules further down still win */
.page-hero:where(:not(.has-image)) { padding: 128px 0; text-align: center; }
.page-hero:where(:not(.has-image)) .page-hero-content, .page-hero:where(:not(.has-image)) p.lead { margin-inline: auto; }
.page-hero:where(:not(.has-image)) .btn-row, .page-hero:where(:not(.has-image)) .breadcrumbs ol, .page-hero:where(:not(.has-image)) p.post-meta { justify-content: center; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* 5 cards (an insurance page's "other options"): 3 on top, the last 2 centered below */
@media (min-width: 1025px) {
  .card-grid.is-five { grid-template-columns: repeat(6, 1fr); }
  .card-grid.is-five > * { grid-column: span 2; }
  .card-grid.is-five > :nth-child(4) { grid-column: 2 / span 2; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .card-grid.is-five { grid-template-columns: repeat(4, 1fr); }
  .card-grid.is-five > * { grid-column: span 2; }
  .card-grid.is-five > :last-child { grid-column: 2 / span 2; }
}
.service-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; padding: 32px 32px 32px 40px;
  background: var(--black); border-radius: var(--radius);
  text-decoration: none; color: var(--white);
}
/* Gold bar down the left edge, thicker on hover */
.service-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); transition: width 220ms var(--ease); }
.service-card:hover::before, .service-card:focus-visible::before { width: 10px; }
.service-card svg.icon { width: 36px; height: 36px; margin-bottom: 24px; color: var(--gold); }
.service-card h3 { font-size: 1.25rem; color: var(--white); transition: color 220ms var(--ease); }
.service-card:hover h3, .service-card:focus-visible h3 { color: var(--gold); }
.section:not(.section-dark) .service-card p { margin-top: 12px; font-size: 16px; color: var(--muted-on-dark); }
.service-card .card-more { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--gold); }
.service-card .card-more svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
.service-card:hover .card-more svg { transform: translateX(4px); }
.section:not(.section-dark) .service-card:focus-visible { outline-color: var(--gold); }

/* ---------- Editorial columns (why choose, benefits) ---------- */
.editorial-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 64px; }
.editorial-head p + p { margin-top: 16px; }
.editorial-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.editorial-cols.two { grid-template-columns: repeat(2, 1fr); }
.editorial-col { padding-top: 32px; border-top: 1px solid var(--gold); }
.editorial-col h3 { margin-bottom: 12px; }
.editorial-head { align-items: center; }
.section:not(.section-dark) .editorial-col { border-top-color: var(--ink); }

/* ---------- Estimator (homepage): question cards left, live estimate right ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.btn svg { flex-shrink: 0; width: 18px; height: 18px; }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 40px; align-items: start; }
.quote-form { display: grid; gap: 20px; }
.q-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.q { padding: 32px; min-width: 0; background: var(--black-raised); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.q-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 1.25rem; color: var(--white); }
.q-num { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--gold); }
.q-field { display: grid; gap: 8px; min-width: 0; }
.q-label, .q-field label { font-size: 14px; font-weight: 600; color: var(--white); }
.q-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.q-row + .q-row { margin-top: 20px; }
.q-row[hidden] { display: none; }
.q select, .q input[type="number"] {
  width: 100%; min-width: 0; min-height: 48px; padding: 12px 16px;
  font: inherit; font-size: 16px; color: var(--white); background: var(--black);
  border: 1px solid #4A4A4A; border-radius: var(--radius); appearance: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.q input[type="number"] { width: 128px; -moz-appearance: textfield; }
.q input[type="number"]::-webkit-outer-spin-button, .q input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.q select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23E6BF60' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }
.q select:focus-visible, .q input[type="number"]:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,191,96,0.3); }
.q input[aria-invalid="true"] { border-color: #F0A08F; }
.q-error { font-size: 13px; font-weight: 600; color: #F0A08F; }
.section-dark p.q-error { color: #F0A08F; }
.q-hint { margin-top: 16px; font-size: 13px; line-height: 1.55; }
.section-dark p.q-hint { color: #9A9A9A; max-width: none; }
.q-hint + .q-hint { margin-top: 8px; }
.q-hint a, .link-btn { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Male or female: segmented radios */
.segmented { display: inline-flex; border: 1px solid #4A4A4A; border-radius: var(--radius); overflow: hidden; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 46px; padding: 8px 20px; font-size: 15px; font-weight: 600; color: var(--muted-on-dark); background: var(--black); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.segmented label + label span { border-left: 1px solid #4A4A4A; }
.segmented input:checked + span { background: var(--gold); color: var(--black); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: -4px; }
.segmented input:checked:focus-visible + span { outline-color: var(--black); }

/* Children stepper */
.stepper { display: inline-flex; align-items: center; gap: 8px; padding: 4px; border: 1px solid #4A4A4A; border-radius: var(--radius); background: var(--black); }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: var(--radius); background: rgba(230,191,96,0.12); color: var(--gold); font-size: 1.25rem; font-weight: 600; line-height: 1; cursor: pointer; transition: background-color 160ms var(--ease); }
.stepper button:hover { background: rgba(230,191,96,0.24); }
.stepper span { min-width: 112px; text-align: center; font-size: 15px; font-weight: 600; color: var(--white); }

/* Income */
.income-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.income-input { display: inline-flex; align-items: center; padding-left: 16px; border: 1px solid #4A4A4A; border-radius: var(--radius); background: var(--black); font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.income-input:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,191,96,0.3); }
.q .income-input input[type="number"] { width: 152px; min-height: 52px; padding: 8px 12px 8px 8px; border: 0; background: transparent; box-shadow: none; font-family: var(--font-head); font-size: 1.5rem; }
.income-per { font-size: 14px; color: var(--muted-on-dark); }
.q input[type="range"] { width: 100%; margin-top: 20px; accent-color: var(--gold); }

/* Work coverage */
.radio-stack { display: grid; gap: 12px; }
.radio-stack label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border: 1px solid #4A4A4A; border-radius: var(--radius); background: var(--black); font-size: 15px; line-height: 1.5; color: var(--white); cursor: pointer; transition: border-color 160ms var(--ease); }
.radio-stack label:has(input:checked) { border-color: var(--gold); background: rgba(230,191,96,0.08); }
.radio-stack input { flex-shrink: 0; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); }

/* Saved banner */
.quote-saved { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 16px 20px; border: 1px solid var(--gold); border-radius: var(--radius); font-size: 15px; }
.quote-saved[hidden] { display: none; }
.section-dark .quote-saved p { flex: 1; min-width: 200px; color: var(--white); }
.link-btn { padding: 0; background: none; border: 0; font-weight: 600; cursor: pointer; }

/* Results */
.quote-results { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 20px; }
.results-panel { padding: 28px 32px; background: var(--black-raised); border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: 0 0 32px rgba(230,191,96,0.18); }
.results-panel .live { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); }
.results-panel .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: quote-pulse 2s ease-in-out infinite; }
@keyframes quote-pulse { 50% { opacity: 0.35; } }
.rate { padding: 16px 0; border-top: 1px solid var(--line-dark); }
.rate:first-of-type { padding-top: 0; border-top: 0; }
.rate-name { margin-bottom: 4px; font-size: 14px; color: var(--muted-on-dark); }
.rate-fig { font-family: var(--font-head); font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.15; color: var(--white); }
.rate-fig small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 13px; color: var(--muted-on-dark); }
.section-dark p.rate-note { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--muted-on-dark); }
.section-dark p.rate-note.is-warn { color: #F0C58F; }
.section-dark p.guidance { margin: 16px 0 20px; padding: 12px 16px; background: rgba(255,255,255,0.05); border-left: 3px solid var(--gold); font-size: 15px; line-height: 1.55; color: var(--white); }
.section-dark p.results-error { margin: 12px 0; font-size: 14px; font-weight: 600; color: #F0C58F; }
.results-error[hidden] { display: none; }
.results-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.results-actions .btn { width: 100%; padding-inline: 16px; }
.section-dark p.results-saved { margin-top: 12px; min-height: 1.2em; font-size: 13px; }
.section-dark p.disclaimer { max-width: none; font-size: 13px; line-height: 1.55; color: #9A9A9A; }

/* Phone mini bar with the live numbers (shown by quote.js while the estimator is on screen and the panel is not) */
.quote-minibar { display: none; }

/* ---------- Timeline (how it works) ---------- */
.timeline { position: relative; --progress: 0; }
.timeline-track { position: absolute; z-index: 0; height: 2px; overflow: hidden; background: var(--line-light); }
.timeline-fill { position: absolute; inset: 0; background: var(--gold); clip-path: inset(0 calc(100% - var(--progress) * 100%) 0 0); }
.timeline-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.timeline-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.timeline-node {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 32px; border-radius: 50%;
  font-family: var(--font-head); font-size: 1.625rem; font-weight: 400; line-height: 1;
  color: var(--muted-on-light); background: var(--white); border: 1px solid var(--line-light);
  box-shadow: 0 0 0 12px var(--section-bg);
  transition: color 220ms, background-color 220ms, border-color 220ms, box-shadow 400ms;
}
.timeline-step.is-active .timeline-node { color: var(--black); background: var(--gold); border-color: var(--gold); box-shadow: 0 0 24px rgba(230,191,96,0.75), 0 0 6px rgba(230,191,96,0.9); }
.timeline-body h3 { margin-bottom: 12px; }
.timeline-body p { max-width: 360px; font-size: 16px; }
.timeline-cta { margin-top: 64px; display: flex; justify-content: center; }
/* Quote button on white: gold spreads from the center to the edges on hover, like the quote buttons on black.
   Here the button's own background is one radial gradient whose gold radius (--ripple) animates, so there is
   no second layer and no border, and nothing can show as a ring around the pill. */
.section:not(.section-dark) .timeline-cta .btn-primary {
  border: 0; padding: 13px 33px; box-shadow: none;
  background: radial-gradient(circle at center, var(--gold) calc(var(--ripple) - 1%), var(--black) var(--ripple));
  transition: --ripple 650ms cubic-bezier(0.22, 0.61, 0.36, 1), color 350ms var(--ease);
}
.section:not(.section-dark) .timeline-cta .btn-primary:hover, .section:not(.section-dark) .timeline-cta .btn-primary:focus-visible {
  --ripple: 101%; color: var(--black); box-shadow: none;
  background: radial-gradient(circle at center, var(--gold) calc(var(--ripple) - 1%), var(--black) var(--ripple));
}

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.image-left .split-image { order: -1; }
.split-text h2 { margin-bottom: 24px; }
/* Subheading under a section heading */
.section-subhead { font-family: var(--font-head); font-size: 1.375rem; line-height: 1.3; }
.split-text h2:has(+ .section-subhead) { margin-bottom: 12px; }
.split-text .section-subhead { margin-bottom: 24px; }
.section-dark p.section-subhead { color: var(--white); }
.section:not(.section-dark) p.section-subhead { color: var(--ink); }
.split-text p + p { margin-top: 16px; }
.split-text .btn, .split-text .btn-row, .split-text .text-link { margin-top: 32px; }
.split-image { position: relative; }
.split-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split-image.landscape img { aspect-ratio: 3 / 2; }
.split-image::after { content: ""; position: absolute; left: 24px; right: -16px; top: 24px; bottom: -16px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.split, .split-image { isolation: isolate; }

/* ---------- Reviews ---------- */
.review-cta { margin-top: 48px; display: flex; justify-content: center; }

/* ---------- Accordion (FAQ) ---------- */
.faq-wrap { max-width: 880px; margin-inline: auto; }
.accordion { border-top: 1px solid var(--line-dark); }
.section:not(.section-dark) .accordion { border-top-color: var(--line-light); }
.accordion-item { border-bottom: 1px solid var(--line-dark); }
.section:not(.section-dark) .accordion-item { border-bottom-color: var(--line-light); }
.accordion-item h3 { font-size: 1.25rem; }
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 0;
  background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-head); font-size: inherit; font-weight: 400; line-height: 1.35; color: inherit;
}
.accordion-icon { position: relative; flex-shrink: 0; width: 20px; height: 20px; color: var(--gold); }
.section:not(.section-dark) .accordion-icon { color: var(--gold-deep); }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform 240ms var(--ease); }
.accordion-icon::after { transform: rotate(90deg); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(0deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease), visibility 0s linear 280ms; visibility: hidden; }
.accordion-panel > div { overflow: hidden; }
/* Answers span the full width of the question row (overrides the 68ch paragraph cap in sections) */
.accordion-panel p { max-width: none; padding: 0 0 24px; }
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 280ms var(--ease), visibility 0s; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.area-text h2 { margin-bottom: 24px; }
.area-text p + p { margin-top: 16px; }
.area-text .btn-row { margin-top: 32px; }
/* Location links: black rows with a gold bar on the left, matching the service cards */
.location-list { margin-top: 40px; display: grid; gap: 12px; }
.location-list a {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px 20px 32px; background: var(--black); border-radius: var(--radius);
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 400; text-decoration: none; color: var(--white);
  transition: color 220ms var(--ease);
}
.location-list a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); transition: width 220ms var(--ease); }
.location-list a:hover, .location-list a:focus-visible { color: var(--gold); }
.location-list a:hover::before, .location-list a:focus-visible::before { width: 10px; }
.section:not(.section-dark) .location-list a:focus-visible { outline-color: var(--gold); }
.location-list a svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold); transition: transform 220ms var(--ease); }
.location-list a:hover svg { transform: translateX(4px); }
.location-list .hq, .service-card .hq { margin-left: 12px; padding: 4px 8px; border: 1px solid var(--gold); border-radius: var(--radius); font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); vertical-align: middle; }
/* Licensed states: black panel with the same gold bar */
.states-panel { position: relative; overflow: hidden; padding: 40px 40px 40px 48px; background: var(--black); border-radius: var(--radius); color: var(--white); }
.states-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.states-panel h3 { margin-bottom: 8px; color: var(--gold); }
.section:not(.section-dark) .states-panel > p { font-size: 15px; margin-bottom: 24px; color: var(--muted-on-dark); }
.states-list { columns: 3; column-gap: 24px; font-size: 16px; }
.states-list li { padding: 6px 0; break-inside: avoid; color: var(--white); }
.states-list li.is-home { font-weight: 600; color: var(--gold); }
.states-list li.is-home::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
/* Each state links to its license: gold on hover, preview card + pop-up from main.js ("License viewer") */
.state-link { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(230,191,96,0.35); transition: color 160ms var(--ease), border-color 160ms var(--ease); }
.state-link:hover, .state-link:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }
.license-preview { position: fixed; z-index: 400; width: 320px; padding: 12px; background: var(--white); border-top: 3px solid var(--gold); border-radius: var(--radius); box-shadow: 0 20px 48px rgba(0,0,0,0.45); pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity 160ms var(--ease), transform 160ms var(--ease); }
.license-preview.is-visible { opacity: 1; transform: none; }
.license-preview img { display: block; width: 100%; height: auto; max-height: 400px; object-fit: contain; object-position: top; }
.license-preview span { display: block; margin-top: 8px; font-size: 13px; text-align: center; color: var(--muted-on-light); }
.license-dialog { width: min(920px, calc(100vw - 32px)); height: min(90vh, 1100px); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); overflow: hidden; }
.license-dialog[open] { display: flex; flex-direction: column; }
.license-dialog::backdrop { background: rgba(11,11,11,0.78); }
.license-dialog-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line-light); }
.license-dialog-head h2 { flex: 1; font-size: 1.25rem; color: var(--ink); }
.license-dialog-open { font-size: 14px; font-weight: 600; color: var(--gold-deep); }
.license-dialog-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.license-dialog-close:hover, .license-dialog-close:focus-visible { background: #f0f0f0; }
.license-dialog-close svg { width: 24px; height: 24px; }
.license-dialog-body { flex: 1; min-height: 0; overflow: auto; background: #f3f3f3; }
.license-dialog-body iframe { display: block; width: 100%; height: 100%; border: 0; }
.license-dialog-body img { display: block; width: 100%; height: auto; }
/* ---------- Licenses page ---------- */
.verify-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.verify-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 32px 32px 32px 40px; background: var(--black); color: var(--white); border-radius: var(--radius); }
.verify-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.verify-label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.verify-value { display: block; margin: 8px 0 24px; font-family: var(--font-head); font-size: 2rem; line-height: 1.2; color: var(--white); }
.verify-card .card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--gold); text-decoration: none; }
.verify-card .card-more svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
.verify-card .card-more:hover svg, .verify-card .card-more:focus-visible svg { transform: translateX(4px); }
.license-table-wrap { border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.license-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.license-table th, .license-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.license-table tbody tr:last-child > * { border-bottom: 0; }
.license-table thead th { background: var(--black-raised); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.license-table tbody th { font-weight: 600; color: var(--white); }
.license-table td { color: var(--muted-on-dark); }
.license-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.license-table tr.is-home .lt-state { color: var(--gold); }
.lt-abbr { margin-left: 4px; font-size: 12px; font-weight: 500; color: #9A9A9A; }
.lt-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid var(--gold); border-radius: var(--radius); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.lt-type { display: block; color: var(--white); }
.lt-lines { display: block; margin-top: 4px; font-size: 14px; }
.lt-muted { font-style: italic; color: #9A9A9A; }
.lt-doc { text-align: right; white-space: nowrap; }
.lt-doc a { font-weight: 600; color: var(--gold); text-decoration: none; border-bottom: 1px solid currentColor; }
.lt-doc a:hover, .lt-doc a:focus-visible { color: var(--white); }
.license-note { max-width: 760px; margin: 48px auto 0; padding: 40px; text-align: center; border: 1px solid var(--line-dark); border-top: 2px solid var(--gold); border-radius: var(--radius); }
.license-note h3 { margin-bottom: 12px; color: var(--white); }
.license-note p { margin: 0 auto 24px; }
/* In its own white section, between the table and the dark closing call-to-action */
.section:not(.section-dark) .license-note { margin-top: 0; border-color: var(--line-light); border-top-color: var(--gold); }
.section:not(.section-dark) .license-note h3 { color: var(--ink); }
/* States panel inside a dark section (Areas We Serve) */
.section-dark .states-panel { background: var(--black-raised); border: 1px solid var(--line-dark); }
/* Very light gray section (the shared reviews section, src/components/ReviewsSection.astro) */
.section-tint { background: var(--tint); }
/* SEO Rocket reviews widgets go in .reviews-embed (set up once, in ReviewsSection.astro; the carousel loads 2s after page load, the Reviews page grid right away) */
.reviews-embed { max-width: 1100px; margin-inline: auto; text-align: center; }
.reviews-embed-placeholder { margin: 0 auto; }
/* Reserve the carousel's height (about 550-590px once rendered) so the page doesn't jump when it loads in */
.reviews-embed-carousel .seorocket-reviews { min-height: 540px; }
/* The Reviews page grid runs 2,000px+; reserve a screen's worth so the footer doesn't sit under the hero while it loads */
.reviews-embed-grid .seorocket-reviews { min-height: 800px; }
@media (max-width: 1024px) {
  .verify-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .license-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .license-table, .license-table tbody, .license-table tr, .license-table th, .license-table td { display: block; }
  .license-table tr { padding: 16px 20px; border-bottom: 1px solid var(--line-dark); }
  .license-table tbody tr:last-child { border-bottom: 0; }
  .license-table th, .license-table td { padding: 4px 0; border: 0; }
  .license-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
  .lt-doc { padding-top: 12px; text-align: left; }
  .license-note { padding: 32px 24px; }
}
@media (max-width: 640px) {
  .license-dialog { height: fit-content; max-height: 90vh; }
  .license-dialog-body { flex: 0 1 auto; }
  .license-dialog-head { padding-left: 16px; }
  .license-dialog-head h2 { font-size: 1.125rem; }
  .license-dialog-open { order: 3; flex-basis: 100%; }
}

/* ---------- Final CTA ---------- */
.final-cta { position: relative; isolation: isolate; overflow: hidden; padding: 128px 0; }
/* A large, very faint crescent behind the text: the moon from the logo ("Luna"). Also behind the inner page heroes. */
.final-cta::before, .page-hero:not(.has-image)::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(620px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(-8deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23E6BF60' d='M58 6A45 45 0 1 0 94 60A37 37 0 1 1 58 6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.055; pointer-events: none;
}
.final-cta-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.final-cta-inner p { margin: 24px auto 0; font-size: 1.125rem; }
.final-cta-inner .btn-row { margin-top: 40px; justify-content: center; }

/* ---------- Prose / content blocks for inner pages ---------- */
.content-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
.prose h2 { margin-bottom: 24px; }
.prose h3 { margin: 32px 0 12px; }
.prose p + p { margin-top: 16px; }
/* Privacy Policy and Terms of Use: one centered 900px column; text fills it (no 68ch cap) */
.legal-content { max-width: 900px; margin-inline: auto; }
.legal-content p, .legal-content li, .legal-content .bullets li { max-width: none; }
.prose a:not(.btn) { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.prose ul.bullets { margin-top: 16px; }
.bullets li { position: relative; padding: 8px 0 8px 28px; color: var(--muted-on-light); max-width: 64ch; }
.section-dark .bullets li { color: var(--muted-on-dark); }
.bullets li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.bullets li strong { color: var(--ink); }
.section-dark .bullets li strong { color: var(--white); }
.aside-panel { padding: 40px; border: 1px solid var(--line-light); border-top: 2px solid var(--gold); border-radius: var(--radius); }
.section-dark .aside-panel { border-color: var(--line-dark); border-top-color: var(--gold); }
.aside-panel h3 { margin-bottom: 16px; }
.aside-panel .btn { margin-top: 24px; width: 100%; }
.aside-panel .text-link { margin-top: 20px; }
.note { margin-top: 32px; padding: 20px 24px; border-left: 2px solid var(--gold); background: #FAF8F2; font-size: 15px; color: var(--muted-on-light); }
.note p { font-size: 15px; }

/* ---------- Team directory ---------- */
/* Team: 3 per row, larger photo on top; a short last row is centered */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
/* Black cards with a gold left bar, like the homepage insurance option cards */
.team-card { position: relative; overflow: hidden; flex: 0 1 calc((100% - 48px) / 3); display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 40px 24px 32px 28px; text-align: center; background: var(--black); color: var(--white); border-radius: var(--radius); }
.team-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.team-avatar { flex-shrink: 0; display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--black-raised); border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-head); font-size: 2rem; font-weight: 400; }
/* Avatar hover: card hover lifts the photo, adds a soft gold glow, and fades in a slowly spinning gold ring */
.team-photo { position: relative; flex-shrink: 0; display: block; width: 128px; height: 128px; border-radius: 50%; transition: translate 450ms var(--ease); }
.team-photo::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: conic-gradient(from 0deg, var(--gold), rgba(230,191,96,0) 28%, var(--gold-light) 50%, rgba(230,191,96,0) 78%, var(--gold)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); opacity: 0; scale: 0.88; transition: opacity 450ms var(--ease), scale 550ms cubic-bezier(0.22, 0.61, 0.36, 1); pointer-events: none; }
.team-photo .team-avatar { position: relative; transition: scale 450ms var(--ease), box-shadow 450ms var(--ease), filter 450ms var(--ease); }
@keyframes team-ring-spin { to { rotate: 360deg; } }
@media (hover: hover) {
  .team-card:hover .team-photo { translate: 0 -4px; }
  .team-card:hover .team-photo::before { opacity: 1; scale: 1; animation: team-ring-spin 6s linear infinite; }
  .team-card:hover .team-photo .team-avatar { scale: 1.05; box-shadow: 0 14px 30px rgba(0,0,0,0.55), 0 0 26px rgba(230,191,96,0.28); filter: brightness(1.06) saturate(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .team-photo, .team-photo::before, .team-photo .team-avatar { transition: opacity 200ms linear; }
  .team-card:hover .team-photo { translate: none; }
  .team-card:hover .team-photo::before { animation: none; scale: 1; }
  .team-card:hover .team-photo .team-avatar { scale: none; }
}
.team-card h3 { font-size: 1.125rem; color: var(--white); }
.team-card p, .section:not(.section-dark) .team-card p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted-on-dark); }
.team-card .team-lang, .section:not(.section-dark) .team-card .team-lang { display: inline-block; margin-top: 10px; padding: 3px 10px; border: 1px solid var(--gold); border-radius: 999px; font-size: 12px; letter-spacing: .04em; color: var(--gold); }

/* ---------- Forms ---------- */
.form-card { padding: 48px; border: 1px solid var(--line-light); border-top: 2px solid var(--gold); border-radius: var(--radius); background: var(--white); }
.form-card h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); margin-bottom: 12px; }
.form-card > p { margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; }
/* Required fields: an asterisk after the label, added from the required attribute so it never gets out of step.
   The "/ """ part hides it from screen readers, which already announce "required". */
.field:has(:required) > label::after, .field:has(:required) > legend::after, .consent:has(:required) > label::after { content: " *"; content: " *" / ""; color: var(--gold-deep); font-weight: 600; }
.form-required-note { margin-top: 8px; font-size: 14px; }
.form-required-note span { font-weight: 600; color: var(--gold-deep); }
.field .hint { font-size: 14px; color: var(--muted-on-light); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid #A3A3A3; border-radius: var(--radius); appearance: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23171717' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(230,191,96,0.55); }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field .error { display: none; font-size: 14px; color: var(--error); }
.field.has-error .error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-row label { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 20px; border: 1px solid #A3A3A3; border-radius: var(--radius); font-weight: 500; cursor: pointer; }
.radio-row input { width: 18px; min-height: 0; height: 18px; padding: 0; margin: 0; appearance: auto; accent-color: var(--black); }
.radio-row label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--muted-on-light); }
.consent input { flex-shrink: 0; width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; appearance: auto; accent-color: var(--black); }
.consent label { font-size: 14px; font-weight: 400; color: var(--muted-on-light); }
.consent a { text-decoration: underline; }
.form-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form-fineprint { font-size: 13px; color: var(--muted-on-light); }
.form-status { display: none; padding: 16px 20px; border-radius: var(--radius); font-size: 15px; }
.form-status.is-error { display: block; border: 1px solid var(--error); color: var(--error); }
.form-success { display: none; padding: 40px 0 8px; text-align: center; }
.form-success svg { width: 56px; height: 56px; margin: 0 auto 24px; color: var(--gold-deep); }
.form-success h3 { margin-bottom: 12px; font-size: 1.5rem; }
.form-success p { margin-inline: auto; }
.form-card.is-sent form, .form-card.is-sent > h2, .form-card.is-sent > p { display: none; }
.form-card.is-sent .form-success { display: block; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.contact-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 64px; align-items: start; }
.contact-aside { position: sticky; top: calc(var(--nav-h) + 32px); }
.contact-aside h2 { font-size: 1.625rem; margin-bottom: 16px; }
.contact-list { margin: 32px 0; border-top: 1px solid var(--ink); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.contact-list span { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-deep); margin-bottom: 4px; }
.contact-list a { font-size: 1.125rem; font-weight: 600; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- Blog ---------- */
.empty-state { max-width: 640px; margin-inline: auto; padding: 64px 40px; text-align: center; border: 1px solid var(--line-light); border-radius: var(--radius); }
.empty-state p { margin: 16px auto 0; }
.empty-state .btn { margin-top: 32px; }

/* ---------- Blog: archive cards, pagination, single post ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { display: flex; }
.blog-card-link { display: flex; flex-direction: column; width: 100%; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color 220ms var(--ease); }
.blog-card-link:hover, .blog-card-link:focus-visible { border-color: var(--gold); }
.blog-card-media { aspect-ratio: 16 / 10; background: var(--black); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold); }
.blog-card-placeholder svg { width: 72px; height: 72px; opacity: 0.6; transform: rotate(-8deg); }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.blog-card-body time { margin-bottom: 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-deep); }
.blog-card-title { font-size: 1.3125rem; line-height: 1.3; transition: color 220ms var(--ease); }
.blog-card-link:hover .blog-card-title { color: var(--gold-deep); }
.section:not(.section-dark) .blog-card-body p { margin-top: 12px; font-size: 15px; }
.blog-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; font-size: 15px; font-weight: 600; color: var(--ink); }
.blog-card-more svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
.blog-card-link:hover .blog-card-more svg { transform: translateX(4px); }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 64px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination-num, .pagination-link { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease); }
.pagination-num:hover, .pagination-link:hover { border-color: var(--ink); }
.pagination-num[aria-current="page"] { background: var(--black); border-color: var(--black); color: var(--gold); }

.post-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted-on-dark); transition: color 200ms var(--ease); }
.post-back:hover { color: var(--gold); }
.post-back svg { width: 18px; height: 18px; }
.page-hero p.post-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 15px; color: var(--muted-on-dark); }
.post-section { padding-top: 48px; }
.post-body { max-width: 880px; }
.post-featured { margin: 24px 0 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--black); }
.post-featured img { width: 100%; height: 100%; object-fit: cover; }
.post-content { margin: 40px 0; font-size: 1.0625rem; line-height: 1.75; }
.section:not(.section-dark) .post-content p { max-width: none; color: var(--ink); }
.post-content > * + * { margin-top: 20px; }
.post-content h2 { margin-top: 48px; font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.post-content h3 { margin-top: 40px; font-size: 1.375rem; }
.post-content h4 { margin-top: 32px; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; }
.post-content ul, .post-content ol { padding-left: 24px; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li + li { margin-top: 8px; }
.post-content li::marker { color: var(--gold-deep); }
.post-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-content a:hover { color: var(--gold-deep); }
.post-content blockquote { margin: 32px 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--gold); font-family: var(--font-head); font-size: 1.25rem; line-height: 1.5; }
.post-content figure { margin: 32px 0; }
.post-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.post-content figcaption { margin-top: 8px; font-size: 14px; color: var(--muted-on-light); }
.post-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.post-content th, .post-content td { padding: 12px 16px; border: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.post-content th { background: #F6F6F6; font-weight: 600; }
.post-content code { padding: 2px 6px; background: #F1F1F1; border-radius: var(--radius); font-size: 0.9em; }
.post-content pre { padding: 16px; overflow-x: auto; background: var(--black); color: var(--white); border-radius: var(--radius); }
.post-content pre code { padding: 0; background: none; }
.post-content iframe, .post-content video { max-width: 100%; }
.post-content hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line-light); }
.post-related { border-top: 1px solid var(--line-light); }

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.share-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-deep); }
.share-row ul { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-light); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.share-btn:hover, .share-btn:focus-visible { background: var(--black); border-color: var(--black); color: var(--gold); }
.share-btn svg { width: 18px; height: 18px; }
.share-status { font-size: 14px; color: var(--muted-on-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-on-dark); border-top: 1px solid var(--line-dark); padding: 80px 0 40px; font-size: 15px; }
/* Brand column takes the free space; the 3 link columns size to their content and sit to the right with equal gaps */
.footer-grid { display: grid; grid-template-columns: 1fr auto auto auto; column-gap: 96px; row-gap: 48px; }
/* Quick Links sits a little further left, away from Insurance Services */
@media (min-width: 1025px) { .footer-grid > .footer-col:nth-child(2) { margin-right: 48px; } }
@media (max-width: 1240px) and (min-width: 1025px) { .footer-grid { column-gap: 56px; } .footer-grid > .footer-col:nth-child(2) { margin-right: 24px; } }
.footer-brand .logo-svg { width: auto; height: 64px; margin-bottom: 24px; }
.footer-brand p { max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); transition: color 200ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--gold); color: var(--black); box-shadow: 0 0 20px rgba(230,191,96,0.45); }
.footer-social svg { width: 22px; height: 22px; }
.footer-col h2 { margin-bottom: 20px; font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col address { font-style: normal; line-height: 1.6; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.footer-col a { text-decoration: none; transition: color 200ms var(--ease); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold); }
.footer-disclosure { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 1.6; color: #9A9A9A; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover, .footer-bottom a:hover { color: var(--gold); }
/* Desktop: footer column links turn gold and slide slightly to the right on hover (the legal links only turn gold) */
@media (min-width: 1025px) and (hover: hover) {
  .footer-col a { display: inline-block; transition: color 200ms var(--ease), transform 200ms var(--ease); }
  .footer-col a:hover, .footer-col a:focus-visible { color: var(--gold); transform: translateX(4px); }
}

/* ---------- Logo animation (src/components/Logo.astro) ---------- */
/* On page load (header) and on hover: a soft band of light sweeps once across the gold foil, and the crescent spins one full turn in place. */
.logo-anim { display: inline-block; line-height: 0; }
.logo-svg { display: block; overflow: hidden; }
.logo-moon { transform-box: view-box; transform-origin: 274.3px 79.9px; /* centre of the crescent's outer circle */ }
.logo-shine { transform: translateX(0); }
@media (hover: hover) {
  .logo-anim:hover .logo-shine, .logo-anim:focus-visible .logo-shine { animation: logo-shine 1400ms var(--ease) 1; }
  .logo-anim:hover .logo-moon, .logo-anim:focus-visible .logo-moon { animation: logo-moon-spin 1400ms cubic-bezier(0.65, 0, 0.35, 1) 1; }
}
/* Page load: the header logo plays the same animation once, on every device */
.logo-anim.is-intro .logo-shine { animation: logo-shine 1400ms var(--ease) 500ms 1 backwards; }
.logo-anim.is-intro .logo-moon { animation: logo-moon-spin 1400ms cubic-bezier(0.65, 0, 0.35, 1) 500ms 1 backwards; }
@keyframes logo-shine { from { transform: translateX(0); } to { transform: translateX(960px); } }
@keyframes logo-moon-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in-view { animation: ds-reveal-up 700ms var(--ease) var(--reveal-delay, 0ms) forwards; }
@keyframes ds-reveal-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in-view { opacity: 1; transform: none; animation: none; }
  .logo-anim .logo-shine, .logo-anim .logo-moon { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Tablet and mobile (1024px) ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
  .final-cta { padding: 80px 0; }
  .section-header { margin-inline: auto; text-align: center; margin-bottom: 40px; }
  .section-header p { margin-inline: auto; }

  /* Home hero on tablets and phones: the text on solid black, then the photo as its own block, then the trust list */
  .hero { min-height: 0; text-align: center; }
  .hero-main { order: 1; flex: none; padding: 64px 0; }
  .hero > .hero-bg { order: 2; position: static; z-index: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; object-position: 50% 28%; }
  .hero > .hero-overlay { display: none; }
  .hero-trust { order: 3; background: var(--black); border-top: 0; }
  /* Inner page heroes keep the photo behind the text */
  .page-hero .hero-bg { left: 0; width: 100%; object-position: 50% 20%; }
  .page-hero .hero-overlay { background: rgba(11,11,11,0.8); }
  .hero-content, .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-trust ul { grid-template-columns: repeat(2, 1fr); }
  .hero-trust li, .hero-trust li + li { padding: 16px 12px; border-left: 0; font-size: 14px; }
  .hero-trust li:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.16); }
  .hero-trust li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.16); }

  .page-hero { padding: 64px 0; text-align: center; }
  .page-hero-content, .page-hero.has-image .page-hero-content, .page-hero p.lead { margin-inline: auto; }
  .page-hero .btn-row, .breadcrumbs ol { justify-content: center; }
  .page-hero.has-image { min-height: 440px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; text-align: center; }
  .editorial-head p { margin-inline: auto; }
  .editorial-col { text-align: center; }
  .editorial-col p { margin-inline: auto; }
  .editorial-cols, .editorial-cols.two { grid-template-columns: 1fr; gap: 40px; }

  .quote-layout { grid-template-columns: 1fr; gap: 32px; }
  .quote-results { position: static; }
  .quote-minibar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px;
    background: var(--black); color: var(--white); border-top: 1px solid var(--gold); font-size: 13px;
    transform: translateY(100%); visibility: hidden; transition: transform 240ms var(--ease), visibility 0s linear 240ms;
  }
  .quote-minibar.is-visible { transform: none; visibility: visible; transition: transform 240ms var(--ease), visibility 0s; }
  .quote-minibar strong { display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 400; }
  .quote-minibar span { color: var(--muted-on-dark); }
  .quote-minibar .btn { flex: none; }

  .timeline { max-width: 560px; margin-inline: auto; }
  .timeline-track { width: 2px; height: auto; }
  .timeline-fill { clip-path: inset(0 0 calc(100% - var(--progress) * 100%) 0); }
  .timeline-steps { grid-template-columns: 1fr; gap: 40px; }
  .timeline-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 24px; }
  .timeline-node { flex-shrink: 0; width: 56px; height: 56px; margin-bottom: 0; font-size: 1.25rem; box-shadow: 0 0 0 8px var(--section-bg); }
  .timeline-body { padding-top: 12px; }
  .timeline-cta { margin-top: 48px; }

  .split, .area-grid, .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-image, .split.image-left .split-image { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .split-image::after { left: 16px; right: -12px; top: 16px; bottom: -12px; }
  .split-text, .area-text { text-align: center; }
  .split-text p, .area-text p { margin-inline: auto; max-width: 640px; }
  .split-text .btn-row { justify-content: center; }
  .location-list a { text-align: left; }
  .content-grid .prose > h2 { text-align: center; }
  .contact-aside { position: static; text-align: center; }
  .contact-aside p { margin-inline: auto; }

  .team-card { flex-basis: calc((100% - 24px) / 2); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .post-back, .page-hero p.post-meta { justify-content: center; }

  .site-footer { text-align: center; padding: 64px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
  .footer-brand .logo-svg, .footer-brand p { margin-inline: auto; }
  .footer-brand .logo-svg { margin-bottom: 24px; }
  .footer-social { justify-content: center; }
  .footer-col ul { align-items: center; }
  .footer-contact li { justify-content: center; text-align: left; }
  .footer-disclosure { margin-top: 48px; }
  .footer-bottom { flex-direction: column; align-items: center; }
  .footer-legal { justify-content: center; }
}

/* ---------- Small mobile (640px) ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 var(--container-pad-mobile); }
  .section { padding: 48px 0; }
  .final-cta { padding: 64px 0; }
  h3 { font-size: 1.1875rem; }

  .hero-main { padding: 48px 0; }
  .hero > .hero-bg { aspect-ratio: 1 / 1; }
  .hero-trust ul { grid-template-columns: 1fr; padding: 8px 0; }
  .hero-trust li, .hero-trust li + li, .hero-trust li:nth-child(even), .hero-trust li:nth-child(n+3) { padding: 12px 0; border: 0; }
  .hero-sub, .page-hero p.lead { font-size: 1rem; }
  .hero-cta .btn, .final-cta .btn, .page-hero .btn-row .btn, .split-text .btn-row .btn { flex: 1 1 100%; }
  .page-hero { padding: 48px 0; }

  .q { padding: 24px 20px; }
  .results-panel { padding: 24px 20px; }
  .results-actions { grid-template-columns: 1fr; }
  .q .income-input input[type="number"] { width: 128px; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 24px; }
  .states-panel, .aside-panel { padding: 24px; }
  .states-panel { padding-left: 28px; }
  .states-list { columns: 2; }
  .location-list a { font-size: 1.125rem; padding: 16px 20px 16px 28px; }
  .accordion-item h3 { font-size: 1.125rem; }

  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .radio-row { flex-direction: column; }
  .form-actions .btn { width: 100%; }
    .team-grid { gap: 12px; }
  .team-card { flex-basis: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-section { padding-top: 32px; }
  .pagination { margin-top: 40px; }
  .empty-state { padding: 40px 24px; }
}

/* ---------- Print: a blog post prints as the article only ---------- */
@media print {
  .page-hero::before,
  .nav, .skip-link, .site-footer, .final-cta, .share-row, .post-related, .post-back, .quote-minibar { display: none !important; }
  body, main, .page-hero, .section { background: #fff !important; color: #000 !important; }
  .page-hero h1, .page-hero p.lead, .page-hero p.post-meta { color: #000 !important; }
  .page-hero { padding: 0 0 16px; }
}
