/* ==========================================================================
   Norma's Insurance 'N' Life — funeral pre-need & life insurance (Norma Mendoza, Orange County)
   Editorial, restrained. Hairlines instead of shadows, 4px radii, one accent.
   ========================================================================== */
:root {
  --paper: #f7f4ee;
  --paper-2: #efeae1;
  --white: #ffffff;
  --ink: #1f1c19;
  --text: #3b3733;
  --muted: #6d675f;
  --line: #e2dcd2;
  --line-strong: #cfc7ba;
  --control: #8a8175; /* interactive control boundaries: 3:1 or better on every surface */
  --green: #2f4f45;
  --green-deep: #1f3730;
  --gold: #b8702f;
  --gold-deep: #995b22;

  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --content: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --r: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
/* Lenis smooth-scroll requires scroll-behavior:auto — it sets scrollTop every frame, and native
   'smooth' makes the browser animate each of those, so the two fight and the wheel appears dead.
   These are Lenis's required styles; when Lenis is inactive (no-motion/reduced) the rule above stands. */
html.lenis { height: auto; scroll-behavior: auto !important; }
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.06; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.015em; font-optical-sizing: auto; font-variation-settings: "SOFT" 30, "WONK" 0; }
h1 { font-size: clamp(2.7rem, 2rem + 3.2vw, 4.6rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); text-wrap: balance; }
h3 { font-size: 1.45rem; font-weight: 400; letter-spacing: -.005em; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 20px; z-index: 100; }
.skip:focus { left: 0; }
main:focus { outline: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--white { background: var(--white); }
.section--tint { background: var(--paper-2); }
.rule { height: 1px; background: var(--line); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; --rule: 1; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); transform: scaleX(var(--rule)); transform-origin: left; }
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--muted); max-width: 58ch; }
.head { max-width: 44rem; margin-bottom: clamp(36px, 4vw, 56px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .eyebrow::before { display: none; }
.head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: var(--r); font: 600 .95rem/1 var(--sans); letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.btn--primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--white:hover { background: var(--paper); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--white); }
.btn--lg { padding: 17px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s var(--ease); }
.textlink:hover { border-color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.more::after { content: "→"; font-weight: 400; transition: transform .25s var(--ease); }
.more:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247,244,238,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: transform .45s var(--ease); }
.header.is-hidden { transform: translateY(-100%); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; position: relative; }
.wordmark { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; color: var(--ink); line-height: 1; white-space: nowrap; flex: none; }
.wordmark small { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 18px; }
.header .wordmark small { letter-spacing: .14em; }
.wordmark--logo { display: inline-flex; align-items: center; }
.wordmark--logo img { height: 42px; width: auto; max-width: none; display: block; }
@media (max-width: 600px) { .wordmark--logo img { height: 34px; } }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { color: var(--text); font-weight: 500; font-size: .92rem; position: relative; }
.nav .tel { display: none; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .tel { font-weight: 600; color: var(--ink); }
.header__tools { display: flex; align-items: center; gap: 12px; order: 3; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.lang__item { padding: 9px 11px; color: var(--muted); transition: color .2s var(--ease), background .2s var(--ease); }
.lang__item + .lang__item { border-left: 1px solid var(--line-strong); }
a.lang__item:hover { color: var(--ink); }
.lang__item.is-active { background: var(--ink); color: var(--paper); }
.nav { order: 2; margin-left: auto; margin-right: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 9px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 4px 0; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: end; padding-top: clamp(48px, 6vw, 80px); }
.hero__content { padding-bottom: clamp(56px, 7vw, 96px); }
.hero h1 { margin-bottom: 24px; max-width: 14ch; }
.hero h1 em { font-weight: 300; }
.hero .lead { margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-bottom: 40px; }
.facts { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 32px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); letter-spacing: .03em; }
.facts strong { color: var(--ink); font-weight: 600; }
.hero__portrait { position: relative; align-self: stretch; min-height: 640px; }
.stage { position: absolute; left: 0; right: 0; bottom: 0; top: 88px; background: var(--paper-2); border-radius: var(--r) var(--r) 0 0; }
.cutout { position: absolute; right: 7%; bottom: 0; height: 91%; width: auto; max-width: none; filter: drop-shadow(0 18px 24px rgba(31,28,25,.16)); }
.hero__caption { position: absolute; left: 24px; bottom: 24px; font-size: .78rem; letter-spacing: .04em; color: var(--muted); max-width: 42%; }
.hero__caption strong { display: block; font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; color: var(--ink); font-weight: 400; margin-bottom: 2px; }

/* ---------- Dual pathway ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); color: inherit; min-height: 280px; }
.path .media { overflow: hidden; }
.path img, .path video { width: 100%; height: 100%; object-fit: cover; }
.path__body { padding: 32px 28px; display: grid; align-content: start; gap: 12px; }
.path__body .eyebrow { gap: 8px; letter-spacing: .14em; }
.path__body h3 { margin: 0; font-size: 1.6rem; }
.path__body p { color: var(--muted); font-size: 1rem; }
.path--now { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }
.path--now h3 { color: var(--white); }
.path--now p { color: rgba(255,255,255,.72); }
.path--now .more { color: var(--white); }
.path--now .eyebrow { color: rgba(255,255,255,.78); }
.path--now .eyebrow::before { background: var(--white); }

/* ---------- Services ---------- */
.grid { display: grid; gap: 40px 32px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: grid; gap: 14px; align-content: start; color: inherit; }
.card .media { overflow: hidden; border-radius: var(--r); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 6px 0 0; }
.card p { color: var(--muted); font-size: 1rem; }
.card .more { margin-top: 4px; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.media-frame { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--bright video { filter: brightness(1.1); }
.caption { margin-top: 12px; font-size: .78rem; letter-spacing: .04em; color: var(--muted); }

/* ---------- Video bands ---------- */
.band { position: relative; color: var(--white); overflow: hidden; background: var(--green-deep); }
.band__media { position: absolute; inset: 0; }
.band__media video, .band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after { content: ""; position: absolute; inset: 0; background: rgba(23,36,31,.78); }
.band--warm .band__media::after { background: linear-gradient(90deg, rgba(31,28,25,.86), rgba(31,28,25,.74)); }
.band .wrap { position: relative; z-index: 1; padding-block: clamp(72px, 8vw, 120px); }
.band h2, .band h3 { color: var(--white); }
.band .eyebrow { color: rgba(255,255,255,.7); }
.band .lead { color: rgba(255,255,255,.78); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.22); }
.benefit { padding: 28px 28px 8px 0; display: grid; gap: 10px; }
.benefit + .benefit { border-left: 1px solid rgba(255,255,255,.14); padding-left: 28px; }
.benefit__num { font-size: .72rem; letter-spacing: .2em; color: rgba(255,255,255,.72); font-weight: 600; }
.benefit h3 { font-size: 1.25rem; margin: 0; }
.benefit p { color: rgba(255,255,255,.72); font-size: .98rem; }

/* ---------- Payment plans ---------- */
.plans__grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); margin-top: 48px; }
.plan { padding: 28px 24px 28px 0; display: grid; gap: 10px; align-content: start; }
.plan + .plan { border-left: 1px solid var(--line); padding-left: 24px; }
.plan__term { font-family: var(--serif); font-weight: 300; font-size: 1.7rem; line-height: 1.1; color: var(--ink); }
.plan p { font-size: .95rem; color: var(--text); margin: 0; }
.plans__terms { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 48px; }
.plans__terms li { position: relative; padding-left: 26px; font-size: 1rem; color: var(--text); }
.plans__terms li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 1px; background: var(--gold); }
.plans__terms strong { color: var(--ink); font-weight: 600; }
.plans__note { margin-top: 32px; font-size: .9rem; color: var(--muted); max-width: 62ch; }
@media (max-width: 1100px) { .plans__grid { grid-template-columns: repeat(3, 1fr); } .plan:nth-child(4) { border-left: 0; padding-left: 0; } .plan:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 720px) { .plans__grid { grid-template-columns: 1fr 1fr; } .plan { padding: 22px 16px 22px 0; } .plan:nth-child(2), .plan:nth-child(4) { border-left: 1px solid var(--line); padding-left: 16px; } .plan:nth-child(3) { border-left: 0; padding-left: 0; } .plan:nth-child(n+3) { border-top: 1px solid var(--line); } .plan:nth-child(5) { grid-column: 1 / -1; border-left: 0; padding-left: 0; } .plans__terms { grid-template-columns: 1fr; } }

/* ---------- Estimator ---------- */
.est { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.est__group { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
.est__group[hidden] { display: none; }
.est__legend { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 12px; }
.est__option { display: grid; grid-template-columns: 22px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); cursor: pointer; }
.est__option:last-child { border-bottom: 1px solid var(--line); }
.est__option[hidden] { display: none; }
.est__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.est__option strong { display: block; font-weight: 500; color: var(--ink); font-size: 1.05rem; }
.est__option small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; margin-top: 2px; }
.est__radio, .est__check { width: 20px; height: 20px; border: 1px solid var(--control); background: var(--white); margin-top: 3px; position: relative; transition: border-color .2s var(--ease), background .2s var(--ease); }
.est__radio { border-radius: 50%; }
.est__check { border-radius: 3px; }
.est__option input:checked + .est__radio { border-color: var(--green); }
.est__option input:checked + .est__radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--green); }
.est__option input:checked + .est__check { border-color: var(--green); background: var(--green); }
.est__option input:checked + .est__check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.est__option input:focus-visible + .est__radio, .est__option input:focus-visible + .est__check { outline: 2px solid var(--gold); outline-offset: 2px; }
.est__seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; }
.est__seg label { position: relative; cursor: pointer; }
.est__seg label + label { border-left: 1px solid var(--line-strong); }
.est__seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.est__seg span { display: block; padding: 11px 18px; font-size: .9rem; font-weight: 500; color: var(--muted); transition: background .2s var(--ease), color .2s var(--ease); }
.est__seg input:checked + span { background: var(--ink); color: var(--paper); }
.est__seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: -2px; }
.est__result { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); }
.est__result .eyebrow { margin-bottom: 8px; }
.est__total { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.1; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.est__monthly { margin: 10px 0 20px; color: var(--muted); font-size: .98rem; }
.est__monthly strong { color: var(--ink); font-weight: 600; }
.est__lines { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .92rem; }
.est__lines li { display: flex; justify-content: space-between; gap: 16px; }
.est__lines li span:last-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.est__note { font-size: .8rem; line-height: 1.5; color: var(--muted); margin: 18px 0 20px; }
@media (max-width: 720px) {
  .est__seg { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; }
  .est__seg label { grid-column: span 2; border-left: 1px solid var(--line-strong); }
  .est__seg label:first-child { border-left: 0; }
  .est__seg label:first-child { grid-column: span 3; }
  .est__seg label:nth-child(2) { grid-column: span 3; }
  .est__seg label:nth-child(3) { border-left: 0; }
  .est__seg label:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
  .est__group[data-only] .est__seg label { grid-column: span 3; }
  .est__group[data-only] .est__seg label:nth-child(3) { border-left: 0; }
  .est__group[data-only] .est__seg label:nth-child(4) { border-left: 1px solid var(--line-strong); }
  .est__group[data-only] .est__seg label:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
  .est__seg span { padding: 13px 10px; text-align: center; }
}
@media (max-width: 860px) {
  .est { grid-template-columns: 1fr; }
  .est__result { position: static; }
}

/* Estimator: mode toggle + life-insurance coverage inputs */
.est__modes { margin-bottom: 30px; }
.est__seg--modes { display: flex; width: 100%; }
.est__seg--modes label { flex: 1; text-align: center; }
.est__seg--modes span { padding: 13px 18px; }
.est__seg--inline { margin-top: 2px; }
.est__sub { display: grid; gap: 18px; padding: 2px 0 22px 38px; border-bottom: 1px solid var(--line); }
.est__sub[hidden] { display: none; }
.est__num { display: grid; gap: 9px; }
.est__num > label, .est__num-label { font-size: .82rem; font-weight: 600; letter-spacing: .03em; color: var(--muted); }
.est__money { display: inline-flex; align-items: center; border: 1px solid var(--control); border-radius: var(--r); background: var(--white); overflow: hidden; max-width: 260px; transition: border-color .2s var(--ease); }
.est__money:focus-within { border-color: var(--green); }
.est__money > span { padding: 0 2px 0 14px; color: var(--muted); font-weight: 600; }
.est__money input { border: 0; background: transparent; padding: 12px 14px 12px 6px; font: inherit; color: var(--ink); width: 100%; font-variant-numeric: tabular-nums; }
.est__money input:focus { outline: none; }
.est__money--plain > span { display: none; }
.est__money--plain input { padding-left: 14px; }
.est__result [data-mode] { min-width: 0; }
@media (max-width: 720px) {
  .est__seg--modes, .est__seg--inline { display: flex; grid-template-columns: none; }
  .est__seg--modes label, .est__seg--inline label { grid-column: auto; border-top: 0; }
  .est__seg--inline label + label { border-left: 1px solid var(--line-strong); }
}

/* ---------- Steps ---------- */
.steps { display: grid; border-top: 1px solid var(--line); margin-top: 34px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step__num { font-size: .72rem; letter-spacing: .2em; color: var(--muted); font-weight: 600; padding-top: 8px; }
.step h3 { font-size: 1.3rem; margin: 0 0 6px; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------- About ---------- */
.about blockquote { margin: 26px 0; padding-left: 22px; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.35rem; line-height: 1.4; color: var(--ink); }
.creds { margin: 26px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: .95rem; border-top: 1px solid var(--line); padding-top: 22px; }
.creds dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 4px; }
.creds dd { margin: 0; color: var(--ink); }

/* ---------- Partner (Legacy Memorial) ---------- */
.partner__logo { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: clamp(28px, 4vw, 56px); display: grid; place-items: center; }
.partner__logo img { width: min(100%, 300px); height: auto; }
.partner__facts { margin-top: 24px; }
.footer__partner { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; margin-top: 8px; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer__partner img { width: 88px; height: auto; flex: none; background: var(--white); border-radius: var(--r); padding: 8px; }
.footer__partner p { margin: 0; }
@media (max-width: 560px) { .footer__partner { flex-direction: column; align-items: flex-start; } }

/* ---------- Families ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mosaic .media { overflow: hidden; border-radius: var(--r); }
.mosaic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.quotes[hidden], .note[hidden] { display: none; }
.quote { margin: 0; border-top: 1px solid var(--line-strong); padding-top: 24px; display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.quote p { font-family: var(--serif); font-weight: 300; font-size: 1.25rem; line-height: 1.4; color: var(--ink); }
.quote footer { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.note { font-size: .8rem; color: var(--muted); margin-top: 28px; }

/* ---------- Resources ---------- */
.res { display: grid; gap: 14px; color: inherit; align-content: start; }
.res .media { overflow: hidden; border-radius: var(--r); }
.res img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.res h3 { margin: 6px 0 0; }
.res p { color: var(--muted); font-size: 1rem; }

/* ---------- Contact ---------- */
.lead-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 18px; border-top: 1px solid var(--line-strong); padding-top: 28px; margin-top: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; padding: 13px 14px; border: 1px solid var(--control); border-radius: var(--r); background: var(--white); color: var(--ink); width: 100%; transition: border-color .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field textarea { min-height: 120px; resize: vertical; }
.form__status { font-weight: 600; color: var(--green); min-height: 1.4em; }
.form__note { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.side .media-frame { aspect-ratio: 3 / 2; }
.side h3 { margin-top: 28px; }
.agent { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; background: var(--white); display: grid; gap: 16px; }
.agent__top { display: flex; align-items: center; gap: 16px; }
.agent__avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; background: var(--paper-2); }
.agent__avatar img { width: 100%; height: 100%; object-fit: cover; }
.agent strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.1; }
.agent small { color: var(--muted); font-size: .82rem; }
.agent dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .95rem; border-top: 1px solid var(--line); padding-top: 16px; }
.agent dt { color: var(--muted); text-transform: uppercase; font-size: .68rem; letter-spacing: .16em; font-weight: 600; padding-top: 4px; }
.agent dd { margin: 0; color: var(--ink); }
.agent__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease); flex: none; margin-right: 6px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 66ch; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: .92rem; }
.footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer .wordmark { color: var(--white); margin-bottom: 16px; display: inline-block; }
.footer .wordmark small { color: rgba(255,255,255,.55); }
.footer h3 { font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer__bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 48px; font-size: .78rem; color: rgba(255,255,255,.56); }
@media (min-width: 861px) { .footer__bottom span:last-child { max-width: 68ch; text-align: right; } }
.footer__motion { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer__motion:hover { color: var(--white); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Motion hooks ---------- */
/* head.js adds .pre-motion before first paint; motion.js (or a 1.5 s failsafe) removes it. Everything
   motion.js animates in is listed here so it never paints and then disappears. */
.pre-motion .hero h1, .pre-motion .hero .eyebrow, .pre-motion .hero .lead, .pre-motion .hero__actions > *, .pre-motion .hero .facts li, .pre-motion .cutout, .pre-motion .hero__caption,
.pre-motion main h2, .pre-motion .eyebrow, .pre-motion .head .lead, .pre-motion .split .lead, .pre-motion .split p:not(.caption), .pre-motion .about blockquote, .pre-motion .creds, .pre-motion .head + p, .pre-motion .lead-grid .lead,
.pre-motion .card, .pre-motion .res, .pre-motion .quote, .pre-motion .benefit, .pre-motion .step, .pre-motion .path, .pre-motion .plan, .pre-motion .plans__terms li, .pre-motion .faq details, .pre-motion .footer > .wrap > div, .pre-motion .agent,
.pre-motion .media-frame, .pre-motion .mosaic .media, .pre-motion .form .field, .pre-motion .form > div, .pre-motion .form > p { visibility: hidden; }
.wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.w { display: inline-block; }
.media-frame, .card .media, .res .media, .mosaic .media, .path .media { will-change: clip-path; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4, .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1269px) {
  .nav { display: none; position: absolute; top: 100%; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 20px; gap: 4px; margin: 0; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; }
  .nav a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 10px 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .tel { display: block; }
  .nav .btn { justify-content: center; margin-top: 14px; }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; padding: 0 11px; }
}
@media (max-width: 860px) {
  .hero .wrap, .paths, .split, .lead-grid, .quotes, .grid--3, .form__row { grid-template-columns: 1fr; }
  .hero .wrap { align-items: start; }
  .hero__content { padding-bottom: 8px; }
  .hero__portrait { min-height: 480px; margin-top: 24px; }
  .cutout { right: 8%; height: 94%; }
  .stage { top: 40px; }
  .path { grid-template-columns: 1fr; min-height: 0; }
  .path img, .path video { aspect-ratio: 16 / 9; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .split--rev .media-frame { order: -1; }
  .callbar { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter); background: rgba(247,244,238,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  body { padding-bottom: 76px; }
  body.page--sub { padding-bottom: 0; }
  /* Touch targets */
  .lang__item { display: flex; align-items: center; min-height: 44px; padding: 0 14px; }
  .textlink { padding: 8px 0; }
  .more { padding: 8px 0; }
  .footer ul { gap: 4px; }
  .footer li a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; }
  .footer__motion { display: inline-block; padding: 12px 0; }
  .footer__partner p a { display: inline-block; padding: 8px 0; }
  .agent dd a { display: inline-block; padding: 6px 0; }
  .wordmark small { font-size: .7rem; }
  .eyebrow { font-size: .68rem; letter-spacing: .16em; }
}
@media (min-width: 561px) and (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 374px) {
  .header .wrap { gap: 8px; }
  .header .wordmark { font-size: 1.15rem; }
  .lang__item { padding: 0 10px; }
}
@media (max-width: 560px) {
  .grid--4, .benefits { grid-template-columns: 1fr; }
  .benefit + .benefit { border-left: 0; padding-left: 0; }
  .footer .wrap { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .form .btn--lg { width: 100%; }
  .step { grid-template-columns: 48px 1fr; }
  .header .wrap { min-height: 64px; gap: 10px; }
  .wordmark { font-size: 1.3rem; }
  .wordmark small { display: none; }
}
