/* ===========================================================================
 * Eterna consumer site. Brand tokens are from the Eterna brand guide, Stone set
 * for the page with Forest sections for weight. Do not approximate the hex
 * values, they are copied from references/color-and-type.md.
 * =========================================================================== */

:root {
  --forest: #1f4034;
  --evergreen: #0f2620;
  --moss: #445648;
  --sage: #aeb492;
  --sage-tint: #cfd4bc;

  --cloud: #f5f6f4;
  --stone: #f2efe9;
  --ivory: #dfdbd2;
  --text: #20261f;
  --muted: #5f6b62;
  --border: #dbd7cc;

  --ok: #549d6c;
  --caution: #f9ab26;

  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --r: 8px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(32, 38, 31, 0.05), 0 8px 24px rgba(32, 38, 31, 0.06);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cloud);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.2; }
h3 { font-size: 1.08rem; line-height: 1.35; }
p { margin: 0 0 1rem; }
a { color: var(--moss); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  font-size: 0.73rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--moss); margin: 0 0 0.6rem;
}
.lede { font-size: 1.06rem; color: var(--muted); max-width: 62ch; }
.micro { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.micro.center { max-width: 60ch; margin-inline: auto; }
.link { color: var(--forest); font-weight: 600; text-underline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--forest); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; border-radius: 4px; }

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; line-height: 1;
  padding: 14px 22px; border-radius: var(--r); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--evergreen); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--forest); background: var(--stone); }
.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* --- header ------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 246, 244, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.head-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { height: 30px; display: block; }
.head-nav { display: flex; gap: 22px; margin-left: auto; }
.head-nav a { color: var(--text); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.head-nav a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.head-call { padding: 11px 18px; font-size: 0.88rem; }
@media (max-width: 860px) { .head-nav { display: none; } .head-call { margin-left: auto; } }
@media (max-width: 520px) { .head-call { display: none; } .brand img { height: 26px; } }

/* --- hero ----------------------------------------------------------------
 * Forest band, questions on the right, above the fold. The Approved "Forest"
 * colour set from the brand guide: Forest ground, Warm Stone text, Sage Mist
 * accent, and primary buttons filled with Sage over a deep green label, which is
 * the inverse the guide specifies for dark surfaces. */
.hero {
  padding: clamp(44px, 6vw, 76px) 0 clamp(52px, 7vw, 84px);
  background: linear-gradient(135deg, #1f4034, #0f2620);
  color: var(--stone);
  position: relative; overflow: hidden;
}
/* One decorative effect per view, per the brand rules. This is it.
 *
 * The vertical position is a percentage, which for a background smaller than its
 * box means 100% aligns the image's BOTTOM with the box's bottom. 120% pushed it
 * past that. On a wide desktop hero the box is short enough that it still landed
 * inside; on a phone the hero is over 1500px tall, so the mark was placed
 * entirely below the visible area and never appeared. Anchored to the bottom
 * edge instead, with a size that works at both widths. */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('/img/symbol.png') no-repeat left -60px bottom -80px / 380px;
  opacity: 0.06;
}

/* Optional photographic backdrop, set by HERO.photo in content.js. Sits behind
 * everything with a scrim over it, because Warm Stone text on an unknown
 * photograph is a contrast gamble the brand rules do not allow. */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15, 38, 32, 0.92), rgba(31, 64, 52, 0.78));
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 462px; gap: clamp(30px, 4vw, 56px); align-items: start; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--sage); }
.hero .lede { color: var(--sage-tint); max-width: 46ch; }

.ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 30px; font-size: 0.93rem; color: var(--stone); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 19px; height: 19px;
  background: url('/img/icons/checkmark-w.png') no-repeat center / contain;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-onforest { background: var(--sage); color: var(--evergreen); }
.btn-onforest:hover { background: var(--sage-tint); }
.hero-hours { font-size: 0.78rem; color: var(--sage); margin: 12px 0 0; }

.proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #2c4a3d; }
.proof-item { display: flex; flex-direction: column; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); max-width: 12ch; line-height: 1.35; }
.proof-item strong { font-family: var(--serif); font-size: 1.75rem; letter-spacing: 0; text-transform: none; color: #fff; line-height: 1.1; margin-bottom: 3px; }

/* Restart the colour cascade inside the card.
 *
 * .hero sets color: var(--stone) for the dark band, and the quiz card now lives
 * inside it on a LIGHT background. Anything in the card that relied on inherited
 * colour was therefore painted Warm Stone on Warm Stone: the question heading
 * washed out, and every answer button rendered as an empty box with its label
 * invisible rather than missing. One explicit colour here fixes all of it. */
.hero-form .quiz { margin-top: 0; color: var(--text); }
.hero-micro { color: var(--sage); margin-top: 12px; }
.quiz-kicker {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--moss); margin: 0 0 14px;
}

@media (max-width: 980px) {
  /* Smaller and tucked into the corner, so it reads as a watermark rather than
   * a shape crowding the questions. */
  .hero::after { background-size: 240px; background-position: left -50px bottom -50px; }
  .hero-grid { grid-template-columns: 1fr; }
  /* On a phone the questions come first. Somebody who tapped through from a text
   * message should land on the first question, not on a wall of reasons. */
  .hero-form { order: -1; }
  .proof { gap: 20px; }
}

/* --- trust strip -------------------------------------------------------- */
/* Warm Stone, not Forest. The hero above it is now a dark band, and stacking a
 * second one flattened the whole top of the page into one slab. */
.strip { background: var(--stone); color: var(--text); padding: 26px 0; border-bottom: 1px solid var(--border); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.strip-item { display: flex; gap: 14px; align-items: flex-start; }
.strip-item img { width: 30px; height: 30px; flex: none; margin-top: 2px; }
.strip-item strong { display: block; font-size: 0.95rem; }
.strip-item span { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 780px) { .strip-grid { grid-template-columns: 1fr; gap: 18px; } }

/* --- sections ----------------------------------------------------------- */
.section { padding: clamp(52px, 7vw, 90px) 0; }
.section.alt { background: var(--stone); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow);
}
.section.alt .card { background: var(--cloud); }

/* --- questionnaire ------------------------------------------------------ */
.quiz { margin-top: 28px; }
.progress { height: 4px; background: var(--ivory); border-radius: 99px; overflow: hidden; }
.progress-bar { display: block; height: 100%; width: 0; background: var(--forest); transition: width 0.3s ease; }
.progress-label { font-size: 0.73rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 12px 0 20px; }

.q-title { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1.3; margin: 0 0 6px; }
.q-help { color: var(--muted); font-size: 0.92rem; margin: 0 0 20px; }

.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--stone); border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 16px 18px; font: inherit; color: inherit; cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.section .card .opt { background: var(--stone); }
.opt:hover { border-color: var(--moss); }
.opt.on { border-color: var(--forest); background: var(--sage-tint); }
.opt .tick { margin-left: auto; color: var(--forest); font-weight: 700; opacity: 0; }
.opt.on .tick { opacity: 1; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span:first-child { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea, .quiz input, .quiz select, .quiz textarea {
  font: inherit; font-size: 0.95rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .quiz input:focus, .quiz select:focus { border-color: var(--moss); }
.ht { display: flex; align-items: center; gap: 8px; }
.ht em { font-style: normal; font-size: 0.82rem; color: var(--muted); }

.check { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; font-size: 0.93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--forest); }

.q-nav { display: flex; gap: 12px; margin-top: 22px; align-items: center; flex-wrap: wrap; }
.q-back { background: none; border: none; font: inherit; font-size: 0.88rem; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }

.err { color: #b0413a; font-size: 0.85rem; margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the finish card, where the call happens */
.finish { text-align: center; padding: 8px 0; }
.finish .big-call {
  display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 5vw, 2.4rem);
  color: var(--forest); text-decoration: none; margin: 6px 0 4px; letter-spacing: -0.01em;
}
.finish-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.recap { text-align: left; background: var(--stone); border-radius: var(--r); padding: 16px 18px; margin-top: 24px; font-size: 0.88rem; }
.recap dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; font-weight: 500; }

/* --- product guides ----------------------------------------------------- */
.guide-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; margin-top: 28px; align-items: start; }
.guide-tabs { display: flex; flex-direction: column; gap: 6px; }
.guide-tab {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  background: transparent; border: 1.5px solid transparent; border-radius: var(--r);
  padding: 12px 14px; font: inherit; font-weight: 500; color: var(--text); cursor: pointer;
}
.guide-tab img { width: 26px; height: 26px; flex: none; }
.guide-tab:hover { background: var(--cloud); }
.section.alt .guide-tab:hover { background: #fff; }
.guide-tab[aria-selected='true'] { background: var(--forest); color: #fff; border-color: var(--forest); }
.guide-tab[aria-selected='true'] img { filter: brightness(0) invert(1); }

.guide-panel h3 { font-size: 1.5rem; }
.guide-panel .short { font-weight: 500; color: var(--forest); font-size: 1.02rem; }
.guide-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.guide-meta div { background: var(--stone); border-radius: var(--r); padding: 14px 16px; }
.section.alt .guide-meta div { background: #fff; }
.guide-meta h4 { margin: 0 0 4px; font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.guide-meta p { margin: 0; font-size: 0.9rem; }
.guide-steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0; }
.guide-steps li { counter-increment: s; position: relative; padding-left: 38px; margin-bottom: 10px; font-size: 0.94rem; }
.guide-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--sage-tint); color: var(--forest);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}
.guide-ask { border-left: 3px solid var(--sage); padding: 4px 0 4px 16px; margin: 22px 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; }
.guide-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .guide-tab { flex: none; }
  .guide-meta { grid-template-columns: 1fr; }
}

/* --- estimator ---------------------------------------------------------- */
.est-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 18px; align-items: start; }
@media (max-width: 900px) { .est-grid { grid-template-columns: 1fr; } }

.seg { display: flex; gap: 6px; background: var(--stone); padding: 5px; border-radius: var(--r); margin-bottom: 20px; }
.seg-btn { flex: 1; background: transparent; border: none; border-radius: 6px; padding: 11px; font: inherit; font-weight: 600; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.seg-btn.on { background: var(--forest); color: #fff; }

.conds { border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; margin: 4px 0 20px; }
.conds legend { font-size: 0.8rem; font-weight: 600; padding: 0 6px; }
.conds label { display: flex; align-items: flex-start; gap: 9px; font-size: 0.88rem; margin: 7px 0; cursor: pointer; line-height: 1.45; }
.conds input { width: 17px; height: 17px; flex: none; margin-top: 2px; accent-color: var(--forest); }

.est-empty { text-align: center; color: var(--muted); }
.est-empty img { width: 44px; height: 44px; opacity: 0.55; margin-bottom: 10px; }
.quote-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.quote-list { display: grid; gap: 10px; margin: 18px 0; }
.quote-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--stone); border: 1px solid var(--border); border-radius: var(--r);
}
.section .quote-row { background: var(--stone); }
.quote-row.best { border-color: var(--forest); border-width: 1.5px; }
.quote-row .who { flex: 1; min-width: 0; }
.quote-row .who strong { display: block; font-size: 0.95rem; }
.quote-row .who span { font-size: 0.8rem; color: var(--muted); }
.quote-row .amt { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.quote-row .amt small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.7rem; color: var(--muted); text-align: right; }
.tag { display: inline-block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 7px; border-radius: 4px; background: var(--sage-tint); color: var(--forest); }
.notice { background: var(--sage-tint); border-radius: var(--r); padding: 14px 16px; font-size: 0.88rem; margin: 16px 0; }

/* --- carrier ticker ------------------------------------------------------
 * One track rendered twice end to end and translated by exactly -50%, so the
 * second copy lands where the first started and the loop has no seam. Any other
 * width and the reset visibly jumps. */
.ticker-band { background: var(--stone); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0 44px; }
.ticker-note { font-size: 0.92rem; color: var(--muted); max-width: 64ch; margin: 0 auto 30px; }

.ticker {
  overflow: hidden; position: relative;
  /* fade the ends so items enter and leave instead of being chopped off */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 46s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.ticker-item {
  flex: none; display: grid; place-items: center; height: 56px; padding: 0 34px;
  color: var(--forest); opacity: 0.72; transition: opacity 0.2s;
}
.ticker-item:hover { opacity: 1; }
/* Explicit height, not max-height. An SVG that carries only a viewBox has no
 * intrinsic size, so width:auto resolved to zero and the logo vanished with no
 * error anywhere. A fixed height makes the box definite, the viewBox supplies
 * the ratio, and object-fit:contain stops the wide wordmarks distorting when
 * max-width clamps them. It also puts every mark on one optical height. */
.ticker-item img { height: 42px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.ticker-item .wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem; white-space: nowrap; letter-spacing: -0.01em;
}

/* Motion is decoration here. Nobody should have to chase a moving list, so with
 * reduced motion it stops being a ticker and becomes a wrapped, readable row. */
@media (prefers-reduced-motion: reduce) {
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .ticker-track [data-clone] { display: none; }
}

/* --- advisor spotlight ---------------------------------------------------
 * One large card plus a roster strip that unlocks as you advance. The card is a
 * fixed shape regardless of what is filled in on the advisor, so advancing does
 * not make the section jump. */
.spotlight { display: grid; grid-template-columns: 1fr 300px; gap: 26px; margin-top: 30px; align-items: start; }

.spot-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 0;
  background: var(--stone); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  min-height: 300px;
}
.spot-photo { position: relative; aspect-ratio: 1 / 1; background: var(--forest); display: grid; place-items: center; }
.spot-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-photo .initials { font-family: var(--serif); font-weight: 700; font-size: 3.4rem; color: var(--sage); }

.spot-body { display: flex; flex-direction: column; padding: 26px 28px; }
.spot-body h3 { margin: 0 0 2px; font-size: 1.5rem; }
.spot-body .role { font-size: 0.85rem; font-weight: 600; color: var(--moss); margin: 0 0 14px; }
.spot-body .bio { font-size: 0.92rem; margin: 0 0 14px; }
.spot-body .meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; }
.spot-body .btn { margin-top: auto; align-self: flex-start; }
.spot-body .micro { margin: 10px 0 0; }

.chip {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 99px; background: var(--sage-tint); color: var(--forest);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.chip.npn { background: transparent; border: 1px solid var(--border); color: var(--muted); }

.spot-side { display: flex; flex-direction: column; gap: 16px; }
.spot-meter { display: flex; flex-direction: column; gap: 8px; }
.spot-count { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.spot-bar { display: block; height: 4px; background: var(--ivory); border-radius: 99px; overflow: hidden; }
.spot-bar-fill { display: block; height: 100%; width: 0; background: var(--forest); transition: width 0.35s ease; }

.spot-roster { display: flex; flex-wrap: wrap; gap: 9px; }
.spot-thumb {
  width: 52px; height: 52px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid var(--border); background: var(--stone); color: var(--forest);
  font-family: var(--serif); font-weight: 700; font-size: 0.85rem;
  display: grid; place-items: center; transition: border-color 0.15s, transform 0.15s;
}
.spot-thumb:hover:not(:disabled) { border-color: var(--moss); transform: translateY(-2px); }
.spot-thumb.on { border-color: var(--forest); background: var(--forest); color: var(--sage); }
.spot-thumb.locked { cursor: not-allowed; background: var(--cloud); border-style: dashed; border-color: var(--border); }
.spot-thumb .lock {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border); box-shadow: 0 0 0 4px var(--cloud);
}

@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; }
  .spot-card { grid-template-columns: 1fr; }
  .spot-photo { aspect-ratio: 16 / 10; }
  .spot-body { padding: 22px; }
}

/* --- reviews -------------------------------------------------------------
 * A moving rail, not a masonry column stack. The column layout squeezed long
 * quotes into narrow ribbons of text and left ragged holes between them, which
 * is what made the section read as broken.
 *
 * Same seamless-loop mechanic as the carrier ticker: the list is rendered twice
 * and the track translates exactly -50%. Cards are a fixed width and stretch to
 * equal height, so the rail keeps one rhythm whatever length the quotes are. */
.review-rail {
  overflow: hidden; position: relative; margin-top: 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.review-track { display: flex; align-items: stretch; gap: 18px; width: max-content; animation: ticker-scroll 150s linear infinite; }
.review-rail:hover .review-track, .review-rail:focus-within .review-track { animation-play-state: paused; }

.review {
  flex: none; width: 340px; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 24px; margin: 0;
}
.review .stars { color: var(--caution); letter-spacing: 3px; font-size: 0.88rem; line-height: 1; }
.review blockquote { margin: 12px 0 16px; flex: 1; }
.review p {
  font-size: 0.92rem; line-height: 1.62; margin: 0;
  /* Cap the tallest quotes so one long review cannot set the height of the
   * whole rail. The full text stays in the DOM for anyone reading it another
   * way, this only limits what the card shows. */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden;
}
.review .trunc { color: var(--muted); }
.review figcaption { margin-top: auto; }
.review cite { font-style: normal; font-weight: 600; font-size: 0.86rem; }
.review .src { font-size: 0.74rem; color: var(--muted); }

/* Motion is decoration. With reduced motion the rail stops and becomes a plain
 * scrollable row the reader drives. */
@media (prefers-reduced-motion: reduce) {
  .review-rail { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .review-track { animation: none; }
  .review-track [data-clone] { display: none; }
}

/* --- videos ------------------------------------------------------------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 28px; }
.video { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video .cap { padding: 16px 18px; }
.video h3 { margin: 0 0 4px; font-size: 1rem; }
.video p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* --- closing ------------------------------------------------------------ */
.close-cta { background: linear-gradient(135deg, #1f4034, #0f2620); color: var(--stone); padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.close-cta h2 { color: #fff; }
.close-cta .lede { color: var(--sage); margin-inline: auto; }
.close-cta .btn-primary { background: var(--sage); color: var(--evergreen); margin-top: 12px; }
.close-cta .btn-primary:hover { background: var(--sage-tint); }
.close-cta .micro { color: var(--sage); margin-top: 16px; }
.close-mark { width: 54px; opacity: 0.85; margin-bottom: 16px; filter: brightness(0) invert(1); }

/* --- footer ------------------------------------------------------------- */
.site-foot { background: var(--evergreen); color: var(--stone); padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-logo { height: 28px; margin-bottom: 14px; }
.foot-tag { font-size: 0.88rem; color: var(--sage); max-width: 34ch; }
.foot-col h3 { font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--sans); font-weight: 600; color: var(--sage); }
.foot-col a, .foot-col p { display: block; color: var(--stone); text-decoration: none; font-size: 0.87rem; margin: 0 0 7px; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { border-top: 1px solid #2c4a3d; margin-top: 40px; padding-top: 20px; }
.foot-legal p { font-size: 0.75rem; color: var(--sage); margin: 0 0 6px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

/* --- sticky call bar ---------------------------------------------------- */
.call-bar { display: none; }
@media (max-width: 640px) {
  .call-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--forest); color: #fff; text-decoration: none;
    padding: 14px 20px; border-radius: var(--r); box-shadow: 0 8px 28px rgba(15, 38, 32, 0.35);
  }
  .call-bar span { font-size: 0.8rem; color: var(--sage); }
  .call-bar strong { font-size: 1rem; }
  body { padding-bottom: 84px; }
}

.review .trunc { color: var(--muted); }

/* --- opt out -------------------------------------------------------------
 * Quiet on purpose. It has to be easy to find and easy to use, and it must not
 * look like a trap or compete with the primary call to action. */
.optout-section { background: var(--stone); border-top: 1px solid var(--border); }
.optout-card { max-width: 560px; margin-top: 22px; }
.optout-card .btn { width: 100%; }
.optout-card .finish { text-align: left; }
.optout-card .finish .q-title { font-size: 1.15rem; }

/* --- slogan --------------------------------------------------------------- */
.slogan {
  font-family: var(--serif); font-weight: 700; color: var(--sage);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem); line-height: 1.45;
  margin: 14px 0 14px; max-width: 34ch;
  border-left: 3px solid var(--sage); padding-left: 16px;
}

/* --- what it costs -------------------------------------------------------- */
.range-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 30px 0 18px; }
.range-card { background: var(--stone); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 26px; }
.range-card img { width: 34px; height: 34px; margin-bottom: 14px; }
.range-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 6px; }
.range-span { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.range-span strong { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; color: var(--forest); }
.range-span span { font-size: 0.78rem; color: var(--muted); }
.range-body { font-size: 0.89rem; margin: 0; color: var(--text); }

/* --- screen share ---------------------------------------------------------
 * A drawn mock of a shared screen, not a screenshot. A real one would either
 * leak a client's details or be a staged fake, and both are worse than a
 * diagram that is obviously a diagram. */
.screenshare { background: linear-gradient(135deg, #1F4034, #0F2620); color: var(--stone); padding: clamp(52px, 7vw, 88px) 0; }
.ss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.screenshare h2 { color: #fff; }
.screenshare .eyebrow { color: var(--sage); }
.screenshare .lede { color: var(--sage-tint); }
.ss-screen { background: #0B1D18; border: 1px solid #2C4A3D; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.ss-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #15302A; border-bottom: 1px solid #2C4A3D; }
.ss-bar span { width: 9px; height: 9px; border-radius: 50%; background: #2C4A3D; }
.ss-bar em { font-style: normal; margin-left: 10px; font-size: 0.72rem; color: var(--sage); letter-spacing: 0.06em; text-transform: uppercase; }
.ss-rows { list-style: none; margin: 0; padding: 16px 20px 20px; display: grid; gap: 11px; }
.ss-rows li { position: relative; padding-left: 28px; font-size: 0.9rem; color: var(--stone); }
.ss-rows li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 17px; height: 17px;
  background: url('/img/icons/checkmark-w.png') no-repeat center / contain;
}
@media (max-width: 900px) { .ss-grid { grid-template-columns: 1fr; } }

/* Booking is the second best outcome after a call, so it gets its own treatment
 * rather than being one more outline button in a row of three. */
.btn-book { background: var(--moss); color: #fff; }
.btn-book:hover { background: var(--forest); }
.btn-book img { width: 17px; height: 17px; }

/* ===========================================================================
 * MOBILE
 *
 * Everything here is inside a media query, so the desktop layout above is not
 * touched by any of it. The desktop rules were already responsive, these are the
 * things that only show up on a real phone.
 * =========================================================================== */

@media (max-width: 768px) {
  /* The one that actually matters. iOS Safari zooms the whole page when a text
   * input smaller than 16px takes focus, and then leaves it zoomed. The form is
   * the point of this page, so a visitor tapping the phone field must not get
   * thrown into a zoomed, sideways-scrolling layout. 16px exactly. */
  .field input, .field select, .field textarea,
  .quiz input, .quiz select, .quiz textarea,
  #estForm input, #estForm select {
    font-size: 16px;
  }

  /* Comfortable thumb targets. The checkbox itself was 17px, and while the label
   * wraps it so the whole row is tappable, the box is what people aim at. */
  .check input, .conds input { width: 22px; height: 22px; }
  .conds label, .check { padding: 4px 0; }

  /* The smallest labels were 11.2px, which is fine on a monitor at arm's length
   * and mean on a phone. Nothing here drops below 12px. */
  .eyebrow, .quiz-kicker, .progress-label, .range-label { font-size: 0.78rem; }
  .micro, .hero-hours, .chip, .review .src { font-size: 0.8rem; }
  .proof-item { font-size: 0.76rem; }
  .ht em, .spot-count { font-size: 0.78rem; }

  /* Breathing room. Tight side padding on a phone makes text feel cramped, but
   * too much wastes the little width there is. 18px is the balance. */
  .wrap { padding: 0 18px; }
  .hero { padding: 30px 0 44px; }
  .section { padding: 44px 0; }

  /* Square photos in a square box, matching the pre-cropped source. The 16/10
   * mobile panel was re-cropping an already cropped headshot. */
  .spot-photo { aspect-ratio: 1 / 1; max-height: 320px; }
  .spot-body { padding: 20px; }
  .spot-body h3 { font-size: 1.3rem; }
  .spot-body .btn { width: 100%; }
  .spot-thumb { width: 46px; height: 46px; }

  /* A 340px card on a 375px screen leaves no hint that the rail scrolls. */
  .review { width: 280px; padding: 18px 20px; }
  .review p { -webkit-line-clamp: 6; line-clamp: 6; }

  .range-card { padding: 20px; }
  .range-span strong { font-size: 1.3rem; }

  /* Momentum scrolling and snapping on the two horizontal rails, so a swipe
   * lands somewhere sensible instead of drifting to a half-cut tab. */
  .guide-tabs { -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .guide-tab { scroll-snap-align: start; }

  .ss-rows li { font-size: 0.88rem; }
  .foot-legal p { font-size: 0.76rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  .slogan { font-size: 1rem; padding-left: 13px; margin-bottom: 18px; }
  .lede { font-size: 1rem; }

  /* Two across rather than a single column of three, so the proof row does not
   * push the questions off the screen on a small phone. */
  .proof { gap: 16px 22px; margin-top: 24px; padding-top: 18px; }
  .proof-item { max-width: none; flex: 1 1 40%; }
  .proof-item strong { font-size: 1.4rem; }

  .btn-lg { padding: 15px 22px; font-size: 0.95rem; }
  .hero-actions .btn { width: 100%; }

  /* Stacked, full width, and in priority order: call, then book, then email. */
  .finish-row { flex-direction: column; }
  .finish-row .btn { width: 100%; }

  .card { padding: 18px; }
  .quiz .opt { padding: 14px 15px; }
}

/* The sticky call bar sits over the bottom of the page, so the last thing on it
 * needs clearance. body already has padding-bottom, this covers the footer's own
 * bottom padding being eaten by the bar. */
@media (max-width: 640px) {
  .site-foot { padding-bottom: 20px; }
}
