/* =========================================================
   GOLDEN HOUR — Justin Perron Homes
   Cinematic dusk photography, italic serif, frosted glass,
   charcoal + misty blue-gray, one warm gold.
   Used by index.html and sell-your-home-corona.html.
   ========================================================= */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/hanken-grotesk-latin-600-normal.woff2) format("woff2"); }

:root {
  --night: #0e1216;
  --slate: #141a20;
  --mist: #1d262e;
  --fog: #9bb0be;            /* misty blue-gray, 8:1 on night */
  --paper: #f3eee6;          /* warm white for text on dark, light panels */
  --paper-soft: rgba(243, 238, 230, 0.8);
  --paper-mute: rgba(243, 238, 230, 0.66);
  --ink: #1a1f24;
  --gold: #d6ac6c;           /* warm gold, 9:1 on night */
  --gold-light: #ecce9c;
  --gold-deep: #86601f;      /* gold text on paper, 5:1 */
  --hair: rgba(243, 238, 230, 0.14);
  --hair-strong: rgba(243, 238, 230, 0.3);
  --glass: rgba(14,18,22, 0.42);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--night); color: var(--paper);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip; position: relative;
}
::selection { background: var(--gold); color: var(--night); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--gold); color: var(--night); padding: 0.75rem 1rem; }
.skip:focus { top: 1rem; }
html { scrollbar-color: var(--hair-strong) var(--night); }

/* ---------- TYPE ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; margin: 0 0 1rem; color: var(--paper); text-wrap: balance; }
h1, .h-display { font-size: clamp(3rem, 8.4vw, 6rem); font-style: italic; }
.h-1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
.h-2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.h-3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
h3 { font-size: 1.625rem; }
h1 em, h2 em, h3 em, .accent { font-style: italic; color: var(--gold-light); }
p { margin: 0 0 1.1rem; color: var(--paper-soft); max-width: 66ch; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--paper); }
a.inline, p a, li a { text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
p a:hover, li a:hover { color: var(--gold-light); text-decoration-color: var(--gold); }
.label, .eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.1rem;
}
.eyebrow::before { content: none; }
.eyebrow-light { color: var(--gold-light); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold-light); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
hr { border: 0; border-top: 1px solid var(--hair); margin: 3rem 0; }

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-alt { background: var(--slate); }
.section-mist { background: linear-gradient(180deg, var(--slate), var(--mist)); }
.section-dark, .sellers-band { background: var(--mist); }
.section-header { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center p { margin-left: auto; margin-right: auto; }
.cols { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 880px) { .cols-2, .cols-3, .split { grid-template-columns: 1fr; } }

/* ---------- GLASS ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.15); backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid var(--hair);
}
.paper-panel { background: var(--paper); color: var(--ink); padding: clamp(1rem, 2.5vw, 2rem); }
.paper-panel p { color: #3a444e; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 52px; padding: 0.9rem 1.9rem;
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--paper); border-radius: 0; color: var(--paper); background: transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--paper); color: var(--night); }
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--night); }
.btn-outline, .btn-outline-light { border-color: var(--hair-strong); }
.btn-outline:hover, .btn-outline-light:hover { border-color: var(--paper); }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }
.link-line { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.link-line::before { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.link-line:hover::before { width: 48px; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- BAR (nav) ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 0.75rem var(--gutter); min-height: 76px;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.bar.scrolled { background: rgba(14,18,22, 0.82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom-color: var(--hair); }
.bar-menu { justify-self: start; display: inline-flex; align-items: center; gap: .8rem; min-height: 48px; padding-right: .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.bar-menu i { display: block; width: 22px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.bar-brand { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3.6vw, 1.9rem); line-height: 1; text-align: center; white-space: nowrap; }
.bar-brand small { display: block; margin-top: .25rem; font-family: var(--sans); font-style: normal; font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; color: var(--paper-mute); }
.bar-end { justify-self: end; display: flex; align-items: center; gap: 1.25rem; }
.bar-phone { display: none; font-size: .875rem; letter-spacing: .06em; min-height: 44px; align-items: center; }
.bar-cta { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.15rem; border: 1px solid var(--hair-strong); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.bar-cta:hover { background: var(--gold); color: var(--night); border-color: var(--gold); }
@media (min-width: 900px) { .bar-phone { display: inline-flex; } }
@media (max-width: 520px) { .bar { gap: .5rem; } .bar-brand small { display: none; } .bar-cta { padding: .5rem .8rem; letter-spacing: .1em; } .bar-menu span { position: absolute; left: -9999px; } }

/* overlay menu */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--night); display: none; overflow-y: auto; }
.menu.open { display: block; animation: menuIn .5s var(--ease); }
@keyframes menuIn { from { opacity: 0; } }
.menu-top { display: flex; justify-content: space-between; align-items: center; padding: .75rem var(--gutter); min-height: 76px; border-bottom: 1px solid var(--hair); }
.menu-close { min-height: 48px; padding: 0 .25rem; font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.menu-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; padding: clamp(2rem, 6vw, 5rem) var(--gutter); max-width: var(--max); margin: 0 auto; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(2.25rem, 6vw, 4.25rem); line-height: 1.12; padding: .1rem 0; transition: color .25s, padding-left .35s var(--ease); }
.menu-list a:hover { color: var(--gold-light); padding-left: .75rem; }
.menu-side p { max-width: 32ch; }
.menu-side a { display: inline-block; padding: .4rem 0; text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 3px; }
@media (max-width: 760px) { .menu-body { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- STAGE (home hero) ---------- */
.stage { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 7rem 0 0; isolation: isolate; overflow: hidden; }
.stage-img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: settle 2.8s var(--ease) both; }
@keyframes settle { from { transform: scale(1.1); filter: brightness(.7); } to { transform: none; filter: none; } }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(14,18,22,.62) 0%, rgba(14,18,22,.12) 28%, rgba(14,18,22,.18) 52%, rgba(14,18,22,.86) 100%); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../images/grain.png); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.stage-copy { text-align: center; padding: 0 var(--gutter); margin: 0 auto clamp(2rem, 5vw, 4rem); max-width: 1000px; }
.stage-copy h1 { margin-bottom: 1.25rem; text-shadow: 0 2px 40px rgba(0,0,0,.45); animation: rise 1.1s var(--ease) .15s both; }
.stage-copy .label { animation: rise 1s var(--ease) .05s both; }
.stage-copy .lead { margin: 0 auto 1.75rem; max-width: 52ch; color: var(--paper); text-shadow: 0 1px 20px rgba(0,0,0,.5); animation: rise 1s var(--ease) .3s both; }
.stage-copy .actions { justify-content: center; animation: rise 1s var(--ease) .45s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (min-width: 900px) {
  .stage::before { background: linear-gradient(90deg, rgba(14,18,22,.82) 0%, rgba(14,18,22,.5) 38%, rgba(14,18,22,0) 72%), linear-gradient(180deg, rgba(14,18,22,.55) 0%, rgba(14,18,22,0) 22%, rgba(14,18,22,0) 55%, rgba(14,18,22,1) 100%); }
  .stage-copy { text-align: left; margin: 0 auto clamp(2rem, 4vw, 3.5rem) 0; max-width: 780px; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .stage-copy .lead { margin-left: 0; }
  .stage-copy .actions { justify-content: flex-start; }
  .stage-copy h1 { font-size: clamp(3.5rem, 6.2vw, 5.75rem); }
}
@media (max-width: 899px) { .stage::before { background: linear-gradient(180deg, rgba(14,18,22,.62) 0%, rgba(14,18,22,.2) 20%, rgba(14,18,22,.55) 45%, rgba(14,18,22,1) 100%); } }
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--gutter) var(--gutter); max-width: calc(var(--max) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); align-self: center; }
.stat-bar > div { padding: 1.25rem 1.5rem; border-right: 1px solid var(--hair); }
.stat-bar > div:last-child { border-right: 0; }
.stat-bar dt { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-mute); margin: 0 0 .35rem; }
.stat-bar dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }
.stat-bar a { text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 4px; }
@media (max-width: 720px) {
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .stat-bar > div { padding: 1rem 1.1rem; border-bottom: 1px solid var(--hair); }
  .stat-bar > div:nth-child(2n) { border-right: 0; }
  .stat-bar > div:nth-last-child(-n+2) { border-bottom: 0; }
  .stat-bar dd { font-size: 1.25rem; }
  .stage { padding-top: 6rem; }
}
@media (prefers-reduced-motion: reduce) { .stage-img, .stage-copy *, .stage-copy { animation: none !important; } }

/* ---------- PROOF STRIP ---------- */
.proof { padding: 2rem 0; border-bottom: 1px solid var(--hair); background: var(--slate); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.proof-row div { padding: .5rem; }
.proof-row b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.25rem; line-height: 1; color: var(--gold-light); }
.proof-row span { display: block; margin-top: .4rem; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-soft); }
.proof-row a:hover span { color: var(--gold-light); }
@media (max-width: 720px) { .proof-row { grid-template-columns: 1fr 1fr; row-gap: 1.25rem; } .proof-row b { font-size: 1.9rem; } }

/* ---------- PORTRAIT / INTRO ---------- */
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.portrait figcaption, .portrait-quote { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1.1rem 1.25rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.3; color: var(--paper); }
figure { margin: 0; }

/* ---------- AREA TILES ---------- */
.areas { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(260px, 30vw, 380px); gap: 1rem; }
.area { position: relative; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; grid-column: span 2; }
.area.big { grid-column: span 4; }
.area.mid { grid-column: span 2; }
.area img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.area::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(14,18,22,.82) 100%); }
.area:hover img { transform: scale(1.05); }
.area-cap { padding: 1.4rem 1.5rem; width: 100%; }
.area-cap small { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .3rem; }
.area-cap h3 { margin: 0 0 .35rem; font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.area-cap p { margin: 0; font-size: .9375rem; max-width: 40ch; color: var(--paper); }
@media (max-width: 880px) { .areas { grid-template-columns: 1fr 1fr; } .area, .area.big, .area.mid { grid-column: span 1; } .area.big { grid-column: span 2; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; grid-auto-rows: 280px; } .area.big { grid-column: span 1; } }

/* ---------- BUYER / SELLER ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo > div { padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 4rem); }
.duo > div + div { border-left: 1px solid var(--hair); }
@media (max-width: 880px) { .duo { grid-template-columns: 1fr; } .duo > div + div { border-left: 0; border-top: 1px solid var(--hair); } }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 1.75rem; color: var(--paper-soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--gold); }

/* ---------- STEPS ---------- */
.steps { counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--hair); }
.step:last-child { border-bottom: 1px solid var(--hair); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 1.75rem; color: var(--gold); line-height: 1.2; }
.step h3 { margin: 0 0 .5rem; font-style: italic; }
.step p { margin: 0; }
@media (max-width: 560px) { .step { grid-template-columns: 3rem 1fr; } }

/* ---------- GUIDE ---------- */
.guide { display: grid; grid-template-columns: minmax(200px, 300px) 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.guide img { width: 100%; height: auto; aspect-ratio: 1082/1400; object-fit: cover; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.guide .inside { border-left: 1px solid var(--hair); padding-left: clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 960px) { .guide { grid-template-columns: 220px 1fr; } .guide .inside { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--hair); padding: 1.5rem 0 0; } }
@media (max-width: 640px) { .guide { grid-template-columns: 1fr; } .guide img { max-width: 240px; } }

/* ---------- TESTIMONIALS ---------- */
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 3.6vw, 2.9rem); line-height: 1.18; max-width: 28ch; margin: 0 auto 1.25rem; text-align: center; color: var(--paper); }
.pull-cite, cite { display: block; font-style: normal; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); }
.pull-cite { text-align: center; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 4rem; }
.quote { padding: 1.75rem; }
.quote blockquote { margin: 0 0 1.25rem; font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.3; }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; margin-top: 2.5rem; } }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; isolation: isolate; text-align: center; padding: clamp(6rem, 14vw, 11rem) 0; overflow: hidden; }
.cta-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,18,22,.8), rgba(14,18,22,.5) 50%, rgba(14,18,22,.88)); }
.cta-band p { margin-left: auto; margin-right: auto; color: var(--paper); }
.cta-band .actions { justify-content: center; }
.cta-strip { text-align: center; background: var(--slate); }
.cta-strip p { margin-left: auto; margin-right: auto; }
.cta-strip .actions { justify-content: center; }

/* ---------- FOOTER ---------- */
.foot { background: var(--night); border-top: 1px solid var(--hair); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.foot h4 { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a, .foot p a { display: inline-block; padding: .4rem 0; color: var(--paper-soft); }
.foot li a:hover, .foot p a:hover { color: var(--gold-light); }
.foot p { color: var(--paper-soft); font-size: .9375rem; margin-bottom: .6rem; }
.foot-brand { font-family: var(--serif); font-style: italic; font-size: 2rem; margin-bottom: 1rem; }
.foot .compliance { font-size: .8125rem; color: var(--paper-mute); max-width: 52ch; margin-top: 1.25rem; }
.foot-members { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--hair); }
.foot-members .badge { background: var(--paper); padding: .5rem .75rem; }
.foot-members img { height: 44px; width: auto; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; font-size: .8125rem; color: var(--paper-mute); }
.social-row { display: flex; gap: .5rem; margin-top: 1rem; }
.social-row a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--hair-strong); }
.social-row a:hover { border-color: var(--gold); color: var(--gold-light); }
.social-row svg { width: 18px; height: 18px; }
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- FLOATING CTA + EXIT POPUP (injected by main.js) ---------- */
.floating-cta { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; display: flex; gap: .5rem; }
.floating-cta a { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; min-width: 52px; padding: 0 1.25rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.floating-cta-secondary { background: rgba(14,18,22,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--hair-strong); padding: 0; }
.floating-cta-primary { background: var(--gold); color: var(--night); border: 1px solid var(--gold); }
.floating-cta-primary:hover { background: var(--gold-light); }
.floating-cta svg { width: 18px; height: 18px; }
.exit-popup { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1.5rem; background: rgba(6,12,24,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.exit-popup.in { opacity: 1; }
.exit-popup-card { position: relative; max-width: 520px; padding: 2.5rem; background: var(--mist); border: 1px solid var(--hair-strong); }
.exit-popup-close { position: absolute; top: .5rem; right: .75rem; width: 44px; height: 44px; font-size: 1.75rem; }
.exit-popup-dismiss { display: block; margin-top: 1rem; min-height: 44px; font-size: .875rem; color: var(--paper-mute); text-decoration: underline; }

/* ---------- REVEAL (hidden only when JS runs; failsafe reveals all) ---------- */
.js .reveal, .js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in, .js .reveal-stagger.in > *, .reveal-all .reveal, .reveal-all .reveal-stagger > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; } .reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; } .reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; } .reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; transition: none; } }

/* ---------- IDX widgets sit on paper ---------- */
.idx-embed, .idx-quicksearch { min-height: 120px; color: var(--ink); }

/* =========================================================
   COUNTRY: CORONA SELLERS PAGE
   ========================================================= */
.cr-hero { position: relative; isolation: isolate; padding: 6.5rem 0 0; background: var(--night); overflow: hidden; }
.cr-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: min(100svh, 860px); }
.cr-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(2.5rem, 5vw, 4rem); max-width: 720px; margin-left: auto; width: 100%; }
.cr-copy h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); margin-bottom: 1.1rem; animation: rise 1s var(--ease) .1s both; }
.cr-copy .lead { max-width: 46ch; animation: rise 1s var(--ease) .25s both; }
.cr-tag { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.25rem; animation: rise 1s var(--ease) both; }
.cr-tag::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.cr-address { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; padding: 1rem 1.25rem 1rem 1.5rem; margin: .5rem 0 1rem; max-width: 600px; animation: rise 1s var(--ease) .4s both; }
.cr-address label { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: .25rem; }
.cr-address input { width: 100%; min-height: 48px; background: transparent; border: 0; border-bottom: 1px solid var(--hair-strong); color: var(--paper); font-size: 1.0625rem; padding: .4rem 0; border-radius: 0; }
.cr-address input::placeholder { color: var(--paper-mute); }
.cr-address input:focus { outline: none; border-bottom-color: var(--gold); }
.cr-address input:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.cr-address .btn { white-space: nowrap; }
.cr-fine { font-size: .9375rem; color: var(--paper-soft); animation: rise 1s var(--ease) .5s both; }
.cr-fine a { text-decoration: underline; text-underline-offset: 3px; }
.cr-eq { display: flex; align-items: flex-end; gap: clamp(.75rem, 2.5vw, 1.75rem); margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hair); max-width: 600px; animation: rise 1s var(--ease) .6s both; }
.cr-eq > div { display: flex; flex-direction: column; gap: .35rem; }
.cr-eq-num { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1; color: var(--gold-light); }
.cr-eq-num small { font-size: .5em; }
.cr-eq-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-soft); }
.cr-eq-op { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--paper-mute); padding-bottom: 1.15rem; }
.cr-photo { position: relative; min-height: 440px; background: var(--mist); }
.cr-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; animation: settle 2.4s var(--ease) both; }
.cr-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--night) 0%, rgba(14,18,22,0) 38%), linear-gradient(0deg, rgba(14,18,22,.5), transparent 40%); }
.cr-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: url(../images/grain.png); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.cr-photo figcaption { position: absolute; z-index: 3; left: 1.25rem; bottom: 1.25rem; padding: .85rem 1.1rem; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 960px) {
  .cr-hero { padding-top: 5.25rem; }
  .cr-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .cr-copy { padding: 1.25rem var(--gutter) 2rem; max-width: none; }
  .cr-copy h1 { font-size: clamp(2.5rem, 11vw, 3.75rem); }
  .cr-photo { min-height: 0; height: 340px; }
  .cr-photo::before { background: linear-gradient(180deg, var(--night) 0%, rgba(14,18,22,0) 35%), linear-gradient(0deg, rgba(14,18,22,.5), transparent 40%); }
}
@media (max-width: 560px) { .cr-address { grid-template-columns: 1fr; padding: 1rem 1.1rem; } .cr-address .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .cr-copy *, .cr-photo img, .cr-tag, .cr-address, .cr-fine, .cr-eq { animation: none !important; } }

/* snapshot stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); margin: 2rem 0 1rem; }
.stat { padding: 1.75rem 1.25rem; border-right: 1px solid var(--hair); text-align: center; }
.stat:last-child { border-right: 0; }
.stat .num { display: block; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1; color: var(--gold-light); }
.stat .num small { font-size: .45em; }
.stat .label { display: block; margin-top: .5rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-soft); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--hair); } }
.src { font-size: .875rem; color: var(--paper-mute); max-width: 70ch; }

/* factors, pools */
.factor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin-top: 2.5rem; }
.factor { padding: 2rem 1.75rem; background: var(--night); }
.factor .k { font-family: var(--serif); font-style: italic; font-size: 1.65rem; line-height: 1.15; color: var(--gold-light); margin: 0 0 .6rem; }
.factor p:last-child { margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .factor-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 640px) { .factor-grid { grid-template-columns: 1fr; } }
.pool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2.5rem; }
.pool { padding-top: 1.25rem; border-top: 1px solid var(--hair-strong); }
.pool .num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold); }
.pool h3 { margin: .4rem 0 .5rem; font-style: italic; } .pool p { margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .pool-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .pool-grid { grid-template-columns: 1fr; } }

/* resource cards */
.resource-card { display: block; padding: 1.75rem; border: 1px solid var(--hair); background: rgba(255,255,255,.02); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.resource-card:hover { border-color: var(--gold); background: rgba(214,172,108,.05); transform: translateY(-2px); }
.resource-card h3 { margin: 0 0 .5rem; font-style: italic; }
.resource-card p { margin: 0 0 1rem; font-size: 1rem; }
.arrow-link { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }

/* team */
.team-bios { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); max-width: 1100px; margin: 0 auto; }
.bio-portrait { width: 100%; aspect-ratio: 4 / 5; background-size: cover; background-position: center 20%; background-color: var(--mist); margin-bottom: 1.5rem; }
.bio-name { font-style: italic; font-size: 2rem; margin: 0 0 .4rem; }
.bio-meta { font-size: .9375rem; color: var(--paper-mute); margin: 0 0 1.25rem; }
.bio-meta a { text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: .35rem 0; }
.team-logo-inline { display: block; width: 190px; height: auto; margin: 0 auto 1.5rem; background: var(--paper); padding: .9rem 1.1rem; }
@media (max-width: 768px) { .team-bios { grid-template-columns: 1fr; max-width: 440px; } }

/* FAQ */
.faq h3 { font-size: 1.5rem; font-style: italic; margin-bottom: .5rem; }

/* lead form */
.lead-form-wrap { max-width: 760px; margin: 0 auto; }
.lead-form { padding: clamp(1.5rem, 4vw, 3rem); background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--hair-strong); }
.field { margin-bottom: 1.5rem; }
.field label { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-soft); margin-bottom: .2rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .5rem 0; background: transparent; border: 0; border-bottom: 1px solid var(--hair-strong); border-radius: 0; color: var(--paper); font-size: 1.0625rem; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.5rem; }
.field select option { background: var(--mist); color: var(--paper); }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--paper-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.form-disclaimer { font-size: .875rem; color: var(--paper-mute); margin: 1rem 0 0; }
.form-disclaimer a { text-decoration: underline; }
#coronaSellerDone { background: var(--mist) !important; color: var(--paper) !important; border: 1px solid var(--hair-strong); border-radius: 0 !important; }

.bar-cta .m { display: none; }
.foot-two { grid-template-columns: 1fr 1fr; max-width: 760px; margin: 2rem auto; }
@media (max-width: 640px) { .foot-two { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; } }
@media (max-width: 520px) {
  .bar-cta .d { display: none; } .bar-cta .m { display: inline; }
  .floating-cta { left: 1rem; }
  .floating-cta-primary { flex: 1; padding: 0 .75rem; letter-spacing: .1em; }
}

/* P&L logo lockup in the header and menu */
.bar-brand.has-mark { display: inline-flex; align-items: center; gap: .85rem; font-style: normal; text-align: left; }
.bar-mark { height: 30px; width: auto; flex: none; }
.bar-words { display: flex; flex-direction: column; gap: .3rem; padding-left: .85rem; border-left: 1px solid var(--hair-strong); }
.bar-words b { font-family: var(--sans); font-weight: 600; font-size: .8125rem; letter-spacing: .26em; text-transform: uppercase; line-height: 1; color: var(--paper); }
.bar-brand.has-mark small { display: block; margin: 0; font-size: .6875rem; letter-spacing: .34em; line-height: 1; color: #8fb4f0; }
@media (max-width: 520px) { .bar-brand.has-mark { gap: .6rem; } .bar-mark { height: 24px; } .bar-words { padding-left: .6rem; } .bar-words b { font-size: .6875rem; letter-spacing: .2em; } .bar-brand.has-mark small { display: block; font-size: .5625rem; } }

/* P&L logo in the hero photo caption and footer */
.cr-photo figcaption.cap-mark { display: flex; align-items: center; gap: .85rem; }
.cap-mark img { height: 26px; width: auto; flex: none; }
.foot-logo { display: flex; align-items: center; justify-content: center; gap: 1rem; font-style: normal; }
.foot-logo img { height: 44px; width: auto; }
.foot-logo .bar-words b { font-size: 1rem; }
.foot-logo .bar-words b { white-space: nowrap; }
.foot-logo .bar-words small { display: block; margin: 0; font-family: var(--sans); font-style: normal; font-size: .75rem; letter-spacing: .36em; text-transform: uppercase; line-height: 1; color: #8fb4f0; }
.cr-photo figcaption.cap-mark { right: 1.25rem; width: fit-content; max-width: calc(100% - 2.5rem); }
.cr-photo figcaption.cap-mark img { position: static; inset: auto; width: auto; height: 26px; animation: none; }
.cap-mark span { min-width: 0; line-height: 1.35; }

/* centered section headers: center the block itself, not just its text */
.section-header[style*="text-align: center"], .section-header[style*="text-align:center"] { margin-left: auto; margin-right: auto; }
.section-header[style*="text-align: center"] p, .section-header[style*="text-align:center"] p { margin-left: auto; margin-right: auto; }
/* team logo lockup (replaces the white-box logo) */
.team-lockup { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin: 0 auto 1.75rem; }
.team-lockup img { height: 56px; width: auto; flex: none; }
.team-lockup .bar-words { gap: .45rem; padding-left: 1.1rem; }
.team-lockup .bar-words b { font-size: 1rem; letter-spacing: .26em; }
.team-lockup .bar-words small { display: block; margin: 0; font-size: .75rem; letter-spacing: .36em; line-height: 1; color: #8fb4f0; }
@media (max-width: 520px) { .team-lockup img { height: 44px; } .team-lockup .bar-words b { font-size: .8125rem; letter-spacing: .2em; } .team-lockup .bar-words small { font-size: .625rem; } }

/* custom MLS search bar (replaces the IDX quick-search widget) */
.mls-bar { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr .8fr auto; gap: 1.25rem 1.75rem; align-items: end; padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem); }
.mls-field label { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: .25rem; }
.mls-field select { width: 100%; min-height: 48px; padding: .4rem 1.75rem .4rem 0; border: 0; border-bottom: 1px solid var(--hair-strong); border-radius: 0; background-color: transparent; color: var(--paper); font: inherit; font-size: 1.0625rem; -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23d6ac6c' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .2rem center; }
.mls-field select:focus { outline: none; border-bottom-color: var(--gold); }
.mls-field select:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.mls-field select option { background: var(--paper); color: var(--ink); }
.mls-bar .btn { white-space: nowrap; }
.mls-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; margin-top: 1.25rem; color: var(--paper-soft); }
.mls-links a { display: inline-block; padding: .5rem 0; text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 4px; }
.mls-links a:hover { color: var(--gold-light); text-decoration-color: var(--gold); }
@media (max-width: 1100px) { .mls-bar { grid-template-columns: repeat(3, 1fr); } .mls-bar .btn { grid-column: 1 / -1; } }
@media (max-width: 560px) { .mls-bar { grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; } .mls-bar .mls-field:first-of-type { grid-column: 1 / -1; } }

/* centered paragraphs (max-width needs auto margins) */
p.text-center, .text-center p, p[style*="text-align:center"], p[style*="text-align: center"] { margin-left: auto; margin-right: auto; }
.mls-links { max-width: none; }
/* forms: keep the single grid column inside the card so centered notes stay centered */
.form-block { grid-template-columns: minmax(0, 1fr); }
.form-block .field input, .form-block .field select, .form-block .field textarea { min-width: 0; max-width: 100%; }

/* IDX listing widgets: the panel goes transparent once js/idx-theme.js has themed the widget inside it */
.idx-embed.idx-themed { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; color: var(--paper); }

/* hero label stays readable over the bright sunset sky on phones */
@media (max-width: 899px) { .stage-copy .label { color: var(--paper); text-shadow: 0 1px 14px rgba(0,0,0,.7); } }

/* true black under the hero so the photo fades straight into the page; sections are separated by hairlines, not lighter fills */
:root { --slate: #0e1216; }
.section-mist, .section-dark, .sellers-band { background: var(--night); }
.section-alt, .section-dark { border-top: 1px solid var(--hair); }
