/* Q Real Estate: proposed site. 2026-10-28 (Spock).
   Palette from Chris's own brand: the red of the Q, his deep slate, his mist background, his teal.
   One typeface (Archivo, self-hosted variable font): wide and heavy for headlines, normal width for reading. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --slate: #002626;
  --slate-2: #0d3b3b;
  --red: #d7141a;
  --red-dark: #ad0f14;
  --mist: #f4fafa;
  --mist-2: #e4efef;
  --teal: #3f7f7f;
  --teal-ink: #245252;
  --ink: #142222;
  --ink-2: #4a5c5c;
  --rule: #d3e0e0;
  --white: #ffffff;
  --gutter: clamp(16px, 4vw, 40px);
  --wide: 116%;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--slate); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .45em; color: var(--slate); line-height: 1.08; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.2rem); font-weight: 820; font-stretch: var(--wide); letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); font-weight: 780; font-stretch: 110%; letter-spacing: -.01em; }
h3 { font-size: 1.22rem; font-weight: 720; font-stretch: 104%; line-height: 1.25; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 62ch; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 58ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bands: the only thing that sets vertical rhythm between sections */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band-white { background: var(--white); }
.band-slate { background: var(--slate); color: #dbe8e8; }
.band-slate h2, .band-slate h3 { color: var(--white); }
.band-slate a { color: var(--white); }
.band-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.band-head p:last-child { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 4px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; font-stretch: 104%; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-line { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn-line:hover { background: var(--slate); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-light:hover { background: var(--white); color: var(--slate); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 700; color: var(--teal-ink); }

/* Preview notice */
.preview-bar { background: var(--mist-2); color: var(--ink-2); font-size: .82rem; text-align: center; padding: 7px var(--gutter); }

/* Header */
.site-head { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 40; }
.head-row { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.logo img { height: 44px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 8px 12px; border-radius: 4px; color: var(--slate); font-weight: 650; font-size: .98rem; text-decoration: none; }
.main-nav a:hover { background: var(--mist); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.head-phone { font-weight: 750; font-stretch: 108%; color: var(--slate); text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 8px 14px; border: 2px solid var(--slate); border-radius: 4px; background: var(--white); color: var(--slate); font: inherit; font-weight: 700; cursor: pointer; }

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

/* Hero */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; font-size: clamp(2.3rem, 4.7vw, 3.75rem); }
.hero-note { margin-top: 18px; color: var(--ink-2); font-size: .98rem; }
.hero-note a { font-weight: 700; }

/* The sample plan (hero) */
.plan { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 22px 22px 18px; box-shadow: 0 18px 40px -22px rgba(0, 38, 38, .45); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 14px; font-size: .92rem; color: var(--ink-2); }
.plan-head strong { color: var(--slate); font-size: 1.02rem; font-stretch: 108%; }
.plan-steps { list-style: none; margin: 0; padding: 0; }
.plan-steps li { position: relative; display: grid; grid-template-columns: 62px 22px 1fr; align-items: start; column-gap: 8px; padding: 6px 0; font-size: .95rem; line-height: 1.35; }
.plan-steps time { color: var(--ink-2); font-size: .86rem; font-weight: 600; padding-top: 1px; text-align: right; }
.plan-steps .dot { width: 12px; height: 12px; margin: 3px auto 0; border-radius: 50%; border: 2px solid var(--slate); background: var(--white); position: relative; z-index: 1; }
.plan-steps li::after { content: ""; position: absolute; left: calc(62px + 8px + 11px - 1px); top: 22px; bottom: -8px; border-left: 2px dashed #9dbcbc; }
.plan-steps li.done::after { border-left-style: solid; border-left-color: var(--slate); }
.plan-steps li:last-child::after { display: none; }
.plan-steps li.done .dot { background: var(--slate); }
.plan-steps li.done .what { color: var(--ink-2); }
.plan-steps li.now .dot { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 4px rgba(215, 20, 26, .15); }
.plan-steps li.now .what { font-weight: 700; color: var(--slate); }
.plan-steps li.finish .dot { border-radius: 2px; transform: rotate(45deg); background: var(--slate); }
.plan-steps li.finish .what { font-weight: 700; color: var(--slate); }
.plan-steps .tag { display: block; margin-top: 2px; font-size: .8rem; font-weight: 700; color: var(--red); }
.plan-steps li.today { padding: 4px 0; }
.plan-steps li.today::after { display: none; }
.plan-steps li.today .line { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: var(--red); font-size: .78rem; font-weight: 800; }
.plan-steps li.today .line::after { content: ""; flex: 1; height: 2px; background: var(--red); transform-origin: left; animation: draw 700ms 250ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.plan-foot { margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .92rem; color: var(--ink-2); }
.plan-foot { flex-wrap: wrap; }
.plan-foot strong { color: var(--slate); font-size: 1.15rem; font-stretch: 110%; white-space: nowrap; }
.plan-link { font-weight: 700; font-size: .95rem; }

/* Proof */
.proof { background: var(--slate); color: #cfe0e0; padding: 30px 0; }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.proof-row div { padding: 4px 22px; border-left: 1px solid rgba(255,255,255,.16); }
.proof-row div:first-child { border-left: 0; padding-left: 0; }
.proof-row dt { order: 2; font-size: .92rem; }
.proof-row dd { margin: 0; color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 820; font-stretch: var(--wide); line-height: 1.1; }
.proof-row div { display: flex; flex-direction: column; }

/* Two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.door { background: var(--white); border: 1px solid var(--rule); border-top: 5px solid var(--red); border-radius: 6px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.door-buy { border-top-color: var(--teal); }
.door p { color: var(--ink-2); }
.door .btn { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 4px 0 26px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.door-buy .ticks li::before { border-color: var(--teal); }
.band-slate .ticks li::before { border-color: var(--white); }
.both-note { margin: 26px 0 0; color: var(--ink-2); }

/* Walkthrough offer + forms */
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 64px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--slate); color: var(--white); font-weight: 820; font-stretch: var(--wide); font-size: 1.15rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px; background: var(--rule); }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--ink-2); }

.form-card { background: var(--mist); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(22px, 3vw, 32px); }
.band-white .form-card { background: var(--mist); }
.form-card h3 { font-size: 1.4rem; font-stretch: 110%; }
.form-card .sub { color: var(--ink-2); font-size: .95rem; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; color: var(--slate); }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1.5px solid #a9c1c1; border-radius: 4px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(215, 20, 26, .35); outline-offset: 0; border-color: var(--red); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid #a9c1c1; border-radius: 4px; background: var(--white); font-weight: 500; font-size: .95rem; color: var(--ink); cursor: pointer; margin: 0; }
.choices input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; }
.choices label:has(input:checked) { border-color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-card .btn { width: 100%; margin-top: 4px; }
.fine { font-size: .84rem; color: var(--ink-2); margin: 12px 0 0; }
.form-done { padding: 8px 0; }
.form-done h3 { color: var(--slate); }
.preview-note { margin-top: 14px; padding: 10px 12px; border-left: 3px solid var(--red); background: var(--white); font-size: .88rem; color: var(--ink-2); }

/* Client page showcase */
.show-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 88px); align-items: center; }
.phone { justify-self: center; width: min(100%, 340px); border-radius: 34px; border: 10px solid var(--slate); overflow: hidden; background: var(--white); box-shadow: 0 30px 60px -30px rgba(0, 38, 38, .55); }
.phone img { width: 100%; }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin: 0 0 36px; }
.quote { margin: 0; padding-top: 20px; border-top: 3px solid var(--slate); }
.stars { display: flex; gap: 3px; margin-bottom: 12px; }
.stars svg { width: 18px; height: 18px; fill: var(--red); }
.quote blockquote { margin: 0 0 12px; font-size: 1.16rem; line-height: 1.45; font-weight: 520; color: var(--slate); }
.quote figcaption { color: var(--ink-2); font-size: .93rem; }
.review-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.review-links p { margin: 0 8px 0 0; font-weight: 650; color: var(--slate); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--slate); font-weight: 650; text-decoration: none; }
.chip:hover { border-color: var(--slate); }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 30px); list-style: none; padding: 0; margin: 0; }
.video a { display: block; text-decoration: none; color: inherit; }
.video .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--slate); }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.video .play svg { width: 18px; height: 18px; fill: var(--white); margin-left: 3px; }
.video h3 { margin: 12px 0 4px; font-size: 1.08rem; }
.video p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.video a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.more { margin-top: 28px; }

/* Military */
.mil-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.faces { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faces figure { margin: 0; }
.faces img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; width: 100%; background: var(--slate-2); }
.faces figcaption { margin-top: 8px; font-size: .92rem; color: #cfe0e0; }
.faces figcaption strong { display: block; color: var(--white); font-size: 1rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px); list-style: none; padding: 0; margin: 0; }
.team img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; width: 100%; background: var(--mist-2); }
.team h3 { margin: 12px 0 2px; }
.team p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Market */
.market-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.stats { width: 100%; border-collapse: collapse; }
.stats th, .stats td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.stats th { font-weight: 500; color: var(--ink-2); font-size: .98rem; padding-right: 16px; }
.stats td { font-size: 1.5rem; font-weight: 800; font-stretch: 112%; color: var(--slate); white-space: nowrap; }
.stats td small { display: block; font-size: .85rem; font-weight: 500; font-stretch: 100%; color: var(--ink-2); }
.stats caption { caption-side: bottom; text-align: left; padding-top: 12px; font-size: .86rem; color: var(--ink-2); }

/* Closing */
.closing { text-align: left; }
.motto { font-size: clamp(3rem, 10vw, 7.4rem); font-weight: 860; font-stretch: 125%; line-height: .95; letter-spacing: -.02em; color: var(--white); margin: 0 0 24px; }
.closing p { max-width: 60ch; font-size: 1.1rem; }

/* Page heroes (inner pages) */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); background: var(--white); border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 17ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }

/* Phases (how a sale / purchase runs) */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.phase h3 { padding-bottom: 10px; border-bottom: 3px solid var(--slate); }
.phase ol { padding-left: 1.3em; margin: 0; }
.phase li { margin-bottom: 8px; padding-left: 4px; }
.phase li::marker { font-weight: 800; color: var(--red); }

/* Split blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-top { align-items: start; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.option { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; }
.option p { color: var(--ink-2); }
.option .btn { margin-top: auto; align-self: flex-start; }
.callout { background: var(--mist); border-left: 5px solid var(--red); padding: clamp(22px, 3vw, 32px); border-radius: 0 6px 6px 0; }
.book { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: start; }
.book img { border-radius: 4px; box-shadow: 0 14px 30px -16px rgba(0, 38, 38, .6); background: var(--mist-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.cards li { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 22px; }
.cards p { color: var(--ink-2); margin-bottom: .6em; }
.facade { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: var(--slate); cursor: pointer; }
.facade img { width: 100%; height: 100%; object-fit: cover; }
.facade .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.facade .play svg { width: 26px; height: 26px; fill: var(--white); margin-left: 4px; }
.facade iframe { width: 100%; height: 100%; border: 0; }

/* Team page */
.bio { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--rule); }
.bio:last-child { border-bottom: 0; }
.bio img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; width: 100%; background: var(--mist-2); }
.bio .role { color: var(--teal-ink); font-weight: 700; margin-bottom: 14px; }
.bio .reach { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bio .reach a { font-weight: 700; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact-list span { display: block; font-size: .9rem; color: var(--ink-2); }
.contact-list a, .contact-list strong { font-size: 1.15rem; font-weight: 750; color: var(--slate); }

/* Footer */
.site-foot { background: var(--white); border-top: 1px solid var(--rule); padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h2 { font-size: 1rem; font-stretch: 104%; margin-bottom: 10px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .84rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { color: var(--ink-2); }
.eho { display: inline-flex; align-items: center; gap: 6px; }
.eho svg { width: 18px; height: 18px; fill: var(--ink-2); }

/* Tablet */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 8px; font-size: .94rem; }
  .head-phone { display: none; }
}
@media (max-width: 960px) {
  .head-row { gap: 12px; min-height: 66px; }
  .logo img { height: 38px; }
  .menu-btn { display: inline-flex; }
  .head-cta { display: none; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--rule); flex-direction: column; padding: 8px var(--gutter) 16px; margin: 0; box-shadow: 0 18px 30px -24px rgba(0,0,0,.4); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--mist-2); }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); padding-left: 12px; }
  .hero-grid, .offer-grid, .show-grid, .mil-grid, .market-grid, .split { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .phases { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .videos, .cards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .action-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--rule); box-shadow: 0 -10px 24px -18px rgba(0,0,0,.45); }
  .action-bar .btn { min-height: 46px; padding: 10px 12px; }
  body { padding-bottom: 72px; }
}
/* Phone */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .proof-row { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .proof-row div:nth-child(3) { border-left: 0; padding-left: 0; }
  .doors, .quotes, .videos, .cards, .options, .two-col { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio img { max-width: 240px; }
  .book { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; }
  .plan { padding: 18px 16px 14px; }
  .plan-steps li { grid-template-columns: 54px 20px 1fr; column-gap: 6px; }
  .plan-steps li::after { left: calc(54px + 6px + 10px - 1px); }
  .btn-row .btn { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .stats td { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 2026-10-28: Chris's own listing photos */
.door { padding: 0; overflow: hidden; border-top: 0; }
.door-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.door-body { flex: 1; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-top: 5px solid var(--red); }
.door-buy .door-body { border-top-color: var(--teal); }
.sold { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sold li { border-radius: 6px; overflow: hidden; background: var(--mist-2); aspect-ratio: 3 / 2; }
.sold li.sold-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.sold img { width: 100%; height: 100%; object-fit: cover; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--mist-2); }
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sold { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sold li.sold-big { grid-row: auto; aspect-ratio: 3 / 2; }
}

/* v04 (2026-10-28): Search all homes (links out to Realtor.com) and Chris's listings */
.door .btn-row { margin-top: auto; }
.door .btn-row .btn { margin-top: 0; }
.search-box { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; }
.search-box h2 { margin-bottom: .3em; }
.search-box .lede { margin: 0; }
.zips { grid-column: 1 / -1; list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.zips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--mist); color: var(--slate); text-decoration: none; font-weight: 600; font-size: .95rem; }
.zips a strong { font-weight: 800; font-stretch: 108%; }
.zips a:hover { border-color: var(--slate); background: var(--white); color: var(--slate); }
.search-box .fine { grid-column: 1 / -1; margin: 0; }
.search-box .fine a { font-weight: 700; }
.listings-head { margin: clamp(44px, 6vw, 68px) 0 clamp(20px, 3vw, 28px); max-width: 760px; }
.listings-head h2 { margin: 0 0 6px; }
.listings-head p { margin: 0; color: var(--ink-2); }
.listings { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.listing { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.listing-photo { position: relative; aspect-ratio: 3 / 2; background: var(--mist-2); }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.listing-status { position: absolute; left: 12px; top: 12px; background: var(--slate); color: var(--white); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.listing-status.is-soon { background: var(--red); }
.listing-sample { position: absolute; right: 12px; top: 12px; background: rgba(255, 255, 255, .94); color: var(--ink-2); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; }
.listing-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.listing-price { margin: 0; font-size: 1.55rem; font-weight: 800; font-stretch: 110%; line-height: 1.1; color: var(--slate); }
.listing-addr { margin: 0; font-weight: 600; color: var(--ink); }
.listing-facts { margin: 0 0 12px; font-size: .95rem; color: var(--ink-2); }
.listing-body .text-link { margin-top: auto; }
@media (max-width: 760px) {
  .search-box { grid-template-columns: 1fr; }
  .search-box > .btn { justify-self: start; }
  .listings { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .zips { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .zips a { width: 100%; border-radius: 6px; }
  .zips a strong { min-width: 3.6em; }
}
.listing-none { grid-column: 1 / -1; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 22px; color: var(--ink-2); }
.form-card.ghl-form { padding: 0; overflow: hidden; background: #fff; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.65; }
.prose ul { padding-left: 1.2em; margin: .5em 0 1em; }
.prose a { word-break: break-word; }
/* GHL resizes its frames, but the email-only forms measure short before the captcha loads. */
iframe[data-form-id="o7mNpiuM3rwsKYKjXvqD"], iframe[data-form-id="NQOjxCP3hx1znkamXUkm"] { min-height: 460px; }
