/* Theme 07: Split-Screen, shown for a fictional realtor (Harbor & Pine Realty).
   Desktop: the screen is cut down the middle. Left half is a pine field where the words scroll, right half is a
   full-height photograph that stays put, one per section.
   Signature: in Featured listings, three photos share one sticky column and slide up over each other.
   Phones: the split turns sideways. Each section's photo pins to the top of the screen while the words scroll
   under it, and the listings become a swipe rail. */

/* Shared token layer (Linnet Studio library). Presets in AUDIT section 7 override these values. */
:root {
  --c-bg: #1e3a32;          /* pine: page background, the text half, the header (ink on it 10.9:1) */
  --c-surface: #13261f;     /* deep pine: demo bar, footer, listing cards, form fields, chips, action bar (ink 14:1) */
  --c-ink: #eef2ec;         /* fog: text and icons */
  --c-muted: #b3c4b8;       /* lichen: secondary text, captions (6.7:1 on bg, 8.7:1 on surface) */
  --c-line: #3a574d;        /* decorative hairlines only */
  --c-line-strong: var(--c-muted); /* field borders, ghost button borders (6.7:1) */
  --c-accent: #f4a79d;      /* salmonberry: the main action, status marks, step numbers, focus (6.4:1 on bg) */
  --c-on-accent: #13261f;   /* text on the accent (8.2:1) */
  --c-accent-2: #8fd3ae;    /* sea green: listing status dot only (For sale, New listing) */
  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: var(--f-display);
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 4px;              /* buttons and fields */
  --r-lg: 12px;             /* listing cards on phones */
  --r-pill: 999px;          /* chips and badges */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px; --s-6: 96px;

  /* Theme names map to the shared layer */
  --field: var(--c-bg);
  --field-deep: var(--c-surface);
  --ink: var(--c-ink);
  --muted: var(--c-muted);
  --accent: var(--c-accent);
  --font: var(--f-body);
  --radius: var(--r-sm);
  --rule: var(--c-line);
  --wash: color-mix(in oklab, var(--c-ink) 7%, transparent);
  --s1: var(--s-1); --s2: var(--s-2); --s3: var(--s-3); --s4: var(--s-4); --s5: var(--s-5);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --pad: 20px;              /* side gutter */
  --head: 0px;              /* sticky header height (desktop only) */
  --bar-h: 0px;             /* height of the phone action bar */
}
@media (max-width: 759.98px) {
  :root { --bar-h: calc(60px + env(safe-area-inset-bottom)); }
}
@media (min-width: 760px) {
  :root { --pad: clamp(32px, 3.6vw, 76px); }
}
@media (min-width: 1080px) {
  :root { --head: 72px; }
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-padding-bottom: calc(var(--bar-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bar-h);
}
:where(*, *::before, *::after) { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--c-on-accent); }
.sprite { display: none; }
.i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* Touch polish: no grey tap flash, no double-tap delay, a short press on everything pressable */
a, button, summary, label, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn, .action-bar a { transition: transform 120ms var(--ease-out); }
.btn:active, .action-bar a:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .btn, .action-bar a { transition: none; }
  .btn:active, .action-bar a:active { transform: none; }
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 60;
  background: var(--ink); color: var(--c-surface); padding: 12px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Demo bar: one line */
.demo-bar { background: var(--c-surface); color: var(--muted); font-size: .8125rem; line-height: 1.3; text-align: center; padding: 7px var(--pad); }
.demo-bar p { max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Type: 1.333 scale from 17px ---------- */
h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.5rem);
  font-weight: 700; line-height: .98; letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 1.3rem + 2.3vw, 3.1rem);
  font-weight: 680; line-height: 1.04; letter-spacing: -0.028em;
  text-wrap: balance;
}
h3 { font-size: 1.25rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
p { max-width: 36em; text-wrap: pretty; }
.lede { font-size: clamp(1.125rem, 1rem + .35vw, 1.3rem); line-height: 1.5; max-width: 33em; }

/* ---------- Buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px;
  background: var(--accent); color: var(--c-on-accent);
  border: 2px solid var(--accent); border-radius: var(--r-sm);
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--c-line-strong); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.btn:focus-visible { outline-color: var(--ink); }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 650; text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 6px; text-decoration-thickness: 2px;
}

/* ---------- Header (phones: brand and number, then the section links) ---------- */
.head { position: relative; z-index: 30; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand act" "nav nav"; align-items: center; padding: 6px var(--pad) 0; background: var(--c-bg); }
.head-l { display: contents; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; }
.mark { width: 30px; height: 30px; flex: none; color: var(--accent); }
.brand-text { display: grid; line-height: 1.15; white-space: nowrap; }
.brand-name { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-firm { font-size: .8125rem; color: var(--muted); }
.head-act { grid-area: act; display: flex; align-items: center; gap: 10px; }
.head-act .btn { display: none; }
.head-call {
  min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9375rem; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.head-call .i { display: none; }
.nav {
  grid-area: nav;
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  margin-top: 4px; border-top: 1px solid var(--rule);
}
.nav a {
  min-height: 48px; min-width: 44px; padding: 0 2px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: clamp(.8125rem, 3.8vw, .9375rem); font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav a:first-child { justify-content: flex-start; }
.nav a:last-child { justify-content: flex-end; }

/* ---------- Scenes: phones and tablets ---------- */
.scene { display: flex; flex-direction: column; }
.panel { position: relative; }
.ph { position: relative; overflow: hidden; background: var(--c-surface); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.panel figcaption { padding: 8px var(--pad) 10px; color: var(--muted); font-size: .8125rem; line-height: 1.35; background: var(--c-bg); }

.chip {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 12px;
  background: var(--c-surface); color: var(--ink); border-radius: var(--r-pill);
  font-size: .875rem; font-weight: 650; line-height: 1;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent-2); }
.chip[data-s="pending"]::before { background: var(--accent); }

.copy { padding: 28px var(--pad) var(--s4); }
.copy > * + * { margin-top: var(--s3); }
.copy > h2 + .lede, .copy > h1 + .lede { margin-top: 16px; }
.copy > .lede + :is(.steps, .areas, .quotes, .form) { margin-top: 28px; }

/* Phones: the photo of each section pins to the top while its words scroll under it */
@media (max-width: 1079.98px) {
  .scene > .panel { order: -1; }
  .scene:not(.hero) > .panel { position: sticky; top: 0; z-index: 5; }
  .scene:not(.hero) > .panel .ph { height: clamp(96px, 15svh, 140px); }
  .scene:not(.hero) > .panel::after {            /* a soft edge, so the words visibly slide under the photo */
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; pointer-events: none;
    background: linear-gradient(var(--c-bg), transparent);
  }
  #contact > .panel { position: static; }
  #contact > .panel::after { display: none; }
  /* a menu jump lands with the section's photo in place at the top, not already pinned over its words */
  .scene { scroll-margin-top: 12px; }
}

/* ---------- Hero ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.trust li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; line-height: 1.35; color: var(--muted); }
.trust b { display: block; color: var(--ink); font-weight: 650; }
.trust .i, .badges .i { width: 24px; height: 24px; color: var(--accent); margin-top: 0; }
@media (max-width: 1079.98px) {
  .hero .copy { display: contents; }
  .hero h1 { margin: 24px var(--pad) 0; }
  .hero .lede { margin: 16px var(--pad) 0; }
  .hero .actions { margin: 24px var(--pad) 0; }
  .hero .actions .btn { flex: 1 1 auto; padding: 0 12px; }
  .hero .actions .btn:first-child { flex-grow: 1.3; }
  .hero .panel { order: 1; margin-top: 28px; }
  .hero .panel .ph { aspect-ratio: 16 / 10; }
  .hero .trust { order: 2; margin: 24px var(--pad) 0; padding: 22px 0 var(--s3); border-top: 1px solid var(--rule); }
}

/* ---------- Listings (signature) ---------- */
.listings { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.list-head { padding: var(--s4) var(--pad) var(--s3); }
.list-head .lede { margin-top: 16px; }

/* Phones: a swipe rail, the next card peeks in */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 380px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 0 var(--pad) var(--s4); scroll-padding-inline: var(--pad);
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.listing { display: flex; flex-direction: column; scroll-snap-align: start; background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden; }
.listing .panel figcaption { background: var(--c-surface); padding: 12px 18px 0; font-size: 1rem; font-weight: 650; color: var(--ink); }
.listing .ph { aspect-ratio: 4 / 3; }
.beat { padding: 8px 18px 14px; display: flex; flex-direction: column; flex: 1; }
.note { color: var(--muted); font-size: .9375rem; }
.price {
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.2rem);
  font-weight: 640; line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
  margin-top: 4px;
}
.beat h3 { margin-top: 10px; font-size: 1.1875rem; }
.specs {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 0 12px;
  padding: 12px 0; border-block: 1px solid var(--rule); margin-top: 14px;
}
.specs div { display: flex; flex-direction: column-reverse; }
.specs dt { font-size: .8125rem; color: var(--muted); }
.specs dd { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.blurb { margin-top: 12px; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.beat > p:last-child { margin-top: auto; padding-top: 4px; }

/* ---------- Neighborhoods ---------- */
.areas { border-top: 1px solid var(--rule); }
.areas > div { padding: 14px 0 16px; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.areas dt { font-size: 1.25rem; font-weight: 680; letter-spacing: -0.015em; }
.areas dd { max-width: 32em; line-height: 1.5; }
.areas .fit { color: var(--muted); }

/* ---------- Process steps (a real sequence, so numbered) ---------- */
.steps { counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 40px 1fr; column-gap: 10px;
  padding: 12px 0; border-top: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.125rem; }
.steps p { color: var(--muted); margin-top: 2px; line-height: 1.5; }
/* Phones: the numeral sits on the heading's line and the text runs the full column */
@media (max-width: 759.98px) {
  .steps li { grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; align-items: baseline; }
  .steps li::before { grid-row: auto; font-size: 1.5rem; }
  .steps p { grid-column: 1 / -1; margin-top: 4px; }
}
.promise { padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--wash); margin-top: 28px !important; }

/* ---------- Reviews: a swipe rail on phones ---------- */
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 380px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad);
}
.quotes::-webkit-scrollbar { display: none; }
.quotes:focus-visible { outline-offset: -3px; }
.quotes figure { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--rule); border-radius: var(--r-lg); }
.quotes blockquote p { font-size: 1.1875rem; line-height: 1.4; font-weight: 450; }
.quotes figcaption { margin-top: auto; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.quotes figcaption b { display: block; color: var(--ink); font-weight: 650; }
.quotes small { display: block; margin-top: 4px; font-size: .8125rem; }

/* ---------- About, credentials ---------- */
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--s3) !important; }
.badges li {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 8px 12px;
  border: 1.5px solid var(--rule); border-radius: var(--r-lg);
  font-size: .9375rem; font-weight: 550; line-height: 1.25;
}
.badges .i { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9375rem; font-weight: 650; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px;
  font: inherit; font-size: 1.0625rem; color: var(--ink); background-color: var(--c-surface);
  border: 2px solid var(--c-line-strong); border-radius: var(--r-sm);
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
  background-size: 7px 7px; background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%; background-repeat: no-repeat;
}
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.form .btn { justify-self: stretch; margin-top: 6px; }
.sent { scroll-margin-top: 24px; display: none; padding: 14px 16px; border-left: 3px solid var(--c-accent-2); background: var(--wash); font-weight: 550; }
.sent:target { display: block; }

.reach { margin-top: var(--s4) !important; border-top: 1px solid var(--rule); }
.reach li { border-bottom: 1px solid var(--rule); }
.reach a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 0; text-decoration: none; overflow-wrap: anywhere; }
.reach .i { width: 24px; height: 24px; color: var(--accent); }
.reach b { display: block; font-weight: 650; }
.reach span { line-height: 1.35; }
.hours { margin-top: var(--s3) !important; display: grid; gap: 6px; max-width: 24em; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { color: var(--muted); }
.hours dd { font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- Footer ---------- */
.foot { background: var(--c-surface); color: var(--muted); padding: 40px var(--pad) 28px; display: grid; gap: 22px; font-size: .9375rem; }
.foot h2 { font-size: 1rem; font-weight: 650; letter-spacing: 0; color: var(--ink); margin-bottom: 8px; }
.foot-name { font-weight: 700; font-size: 1.125rem; color: var(--ink); margin-bottom: 8px; }
.foot address { margin-bottom: 10px; }
.foot a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.foot address a { display: inline-block; min-height: 0; padding-block: 4px; }
.legal { border-top: 1px solid var(--rule); padding-top: 22px; font-size: .875rem; max-width: none; }

/* ---------- Phone action bar (C1): Call, Text and the valuation stay in reach ---------- */
.action-bar { display: none; }
@media (max-width: 759.98px) {
  .action-bar {
    position: fixed; inset: auto 0 0 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr 1.8fr;
    background: var(--c-surface); border-top: 1px solid var(--rule);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 60px; padding: 0 8px;
    color: var(--ink); font-size: clamp(.8125rem, 3.6vw, .9375rem); font-weight: 650; text-decoration: none; white-space: nowrap;
  }
  .action-bar a + a { box-shadow: inset 1px 0 0 var(--rule); }
  .action-bar .ab-main { background: var(--accent); color: var(--c-on-accent); box-shadow: none; }
  .action-bar :focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
}

/* ---------- Tablets ---------- */
@media (min-width: 760px) {
  .head { grid-template-areas: "brand act" "nav nav"; }
  .head-act .btn { display: inline-flex; }
  .head-call .i { display: block; }
  .nav { justify-content: flex-start; gap: 28px; }
  .hero .actions .btn, .hero .actions .btn:first-child { flex: 0 0 auto; padding: 0 22px; }
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .form .wide, .form .sent { grid-column: 1 / -1; }
  .form .btn { justify-self: start; }
  .foot { grid-template-columns: 1.4fr 1fr 1fr; }
  .legal { grid-column: 1 / -1; }
  .quotes blockquote p { font-size: 1.25rem; }
}

/* ---------- Desktop: the split ---------- */
@media (min-width: 1080px) {
  /* one 72px row: brand and links over the left half, call and valuation floating over the photo */
  .head {
    position: sticky; top: 0;
    display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: none;
    height: var(--head); margin-bottom: calc(-1 * var(--head)); padding: 0;
    background: transparent; pointer-events: none;
  }
  .head-l {
    display: flex; align-items: center; gap: clamp(16px, 1.5vw, 32px);
    padding: 0 var(--pad); background: var(--c-bg); box-shadow: 0 1px 0 var(--rule); pointer-events: auto; min-width: 0;
  }
  .brand, .nav, .head-act { grid-area: auto; }
  .nav { margin-top: 0; border-top: 0; gap: clamp(12px, 1.2vw, 26px); justify-content: flex-start; }
  .nav a { font-size: .875rem; }
  .nav a:last-child { justify-content: center; }
  .nav a { min-height: 44px; }
  .head-act { justify-self: end; align-self: center; margin-right: var(--pad); pointer-events: auto; }
  .head-call { padding: 0 16px; background: var(--c-surface); border-radius: var(--r-sm); }
  .head-call .i { display: block; color: var(--accent); }

  .scene { display: grid; grid-template-columns: 1fr 1fr; }
  .scene > .copy { grid-column: 1; grid-row: 1; }
  .panel {
    grid-column: 2; grid-row: 1; align-self: start;
    position: sticky; top: 0;
    height: 100vh; height: 100svh;
    display: flex; flex-direction: column;
  }
  .panel .ph { flex: 1 1 0; min-height: 0; }
  .panel figcaption { padding: 12px 24px 14px; font-size: .875rem; }
  .chip { left: 20px; top: calc(var(--head) + 20px); }

  .copy {
    min-height: 100vh; min-height: 100svh;
    padding: calc(var(--head) + 48px) var(--pad) 88px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .copy > * + * { margin-top: var(--s3); }
  .copy > h2 + .lede, .copy > h1 + .lede { margin-top: 20px; }
  .copy > .lede + :is(.steps, .areas, .quotes, .form) { margin-top: 32px; }
  .copy, .beat, .list-head { padding-right: calc(var(--pad) + 1.5vw); }
  .hero .copy { padding-bottom: 72px; }
  .hero .actions { margin-top: 28px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 17em)); gap: 20px 32px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule); }

  /* the signature: three photos stacked in one sticky column; each slides up over the last */
  .listings {
    display: grid; grid-template-columns: 1fr 1fr; border-top: 0;
    grid-template-rows: auto repeat(3, minmax(100vh, auto));
    grid-template-rows: auto repeat(3, minmax(100svh, auto));
  }
  .rail, .listing { display: contents; }
  .list-head { grid-column: 1; grid-row: 1; padding: calc(var(--head) + 72px) var(--pad) 0; }
  .listing:nth-child(1) .panel { grid-row: 1 / -1; z-index: 1; }
  .listing:nth-child(2) .panel { grid-row: 3 / -1; z-index: 2; }
  .listing:nth-child(3) .panel { grid-row: 4 / -1; z-index: 3; }
  .listing:not(:first-child) .panel { box-shadow: 0 -30px 44px -12px rgb(0 0 0 / .42); }
  .listing .panel figcaption { background: var(--c-bg); padding: 12px 24px 14px; font-size: .875rem; font-weight: 400; color: var(--muted); }
  .listing .ph { aspect-ratio: auto; }
  .beat {
    grid-column: 1; flex: initial;
    justify-content: center;
    padding: calc(var(--head) + 40px) var(--pad) 72px;
  }
  .listing:nth-child(1) .beat { grid-row: 2; }
  .listing:nth-child(2) .beat { grid-row: 3; }
  .listing:nth-child(3) .beat { grid-row: 4; }
  .beat > * + * { margin-top: 14px; }
  .note { font-size: 1rem; }
  .price { font-size: clamp(3rem, 1.6rem + 3.6vw, 5rem); margin-top: 6px; }
  .beat h3 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.8rem); margin-top: 16px; }
  .specs { justify-content: start; gap: 0 36px; padding: 16px 0; margin-top: 22px; }
  .specs dd { font-size: 1.375rem; }
  .blurb { font-size: 1.0625rem; color: var(--ink); margin-top: 22px; }
  .beat > p:last-child { margin-top: 14px; }

  .areas dt { font-size: 1.3125rem; }
  .steps li { grid-template-columns: 44px 1fr; padding: 16px 0; }
  .steps h3 { font-size: 1.1875rem; }

  /* reviews: stacked in the text half */
  .quotes { display: grid; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 14px; }
  .quotes figure { padding: 20px 22px; }
  .quotes blockquote p { font-size: 1.1875rem; }

  .contact-top { margin-top: 0; }
  .foot { grid-template-columns: 1.4fr 1fr 1fr; padding-top: 64px; }
}


/* ---------- Hover only where a real pointer can hover ---------- */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
  .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--c-surface); }
  .btn.ghost:hover { background: var(--wash); border-color: var(--ink); color: var(--ink); }
  .text-link:hover { color: var(--accent); }
  .head-call:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
  .reach a:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
  .foot a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
}

/* One Call on the entry screen (Ethan, Oct 7 2026): on phones the action bar's Call is the one; the header number shows
   from 760px, where the bar is hidden. */
@media (max-width: 759.98px) { .head-call { display: none; } }
