/* ==========================================================
   Olaf Wrzesinski, Realtor® — black & gold
   ========================================================== */

:root {
  --black: #0a0d13;
  --ink: #0e1a2c;
  --navy: #12233b;
  --navy-light: #1b3152;
  --panel: #142640;
  --panel-2: #1a2e4a;
  --line: rgba(201, 165, 92, 0.22);
  --line-soft: rgba(180, 200, 230, 0.10);
  --gold: #c9a55c;
  --gold-light: #e4c98c;
  --gold-deep: #a8853f;
  --text: #ece6d8;
  --muted: #a7adb8;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

a { color: var(--gold-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; color: #f6f1e6; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.45rem; font-weight: 500; }
h1 em, h2 em { font-style: italic; color: var(--gold); }

p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4em;
}
.eyebrow .dot { margin: 0 .5em; }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 33em; }
.small { font-size: .95rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1em 2.1em;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-deep));
  color: #141008;
}
.btn-gold:hover { color: #141008; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,165,92,.25); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); }
.btn-outline:hover { background: rgba(201,165,92,.1); color: var(--gold-light); }
.btn-sm { padding: .8em 1.6em; }
.btn-block { width: 100%; }

.text-link { font-size: .95rem; letter-spacing: .04em; border-bottom: 1px solid var(--line); padding-bottom: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,18,32,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.btn) {
  color: var(--text);
  font-size: .78rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
}
.site-nav a:not(.btn):hover { color: var(--gold); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--gold); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 130px);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(201,165,92,.10), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(27,49,82,.75), transparent 65%),
    linear-gradient(180deg, var(--black), var(--ink));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 2.2em 0 2.6em; }
.creds { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.creds li {
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.creds li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }

.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.arch {
  position: relative;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  box-shadow: 0 40px 80px rgba(0,0,0,.55);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-photo::before {
  content: "";
  position: absolute; inset: -14px -14px 14px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px 999px 22px 22px;
  opacity: .55;
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-sub { color: var(--muted); }

/* ---------- About ---------- */
.about { background: var(--ink); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-photo { position: relative; }
.about-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); z-index: -1;
}
.about-photo { z-index: 0; }
.about-copy p { color: var(--muted); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 1.6em 0 2em; }
.pillar { background: var(--panel); border: 1px solid var(--line-soft); border-top: 2px solid var(--gold); border-radius: 10px; padding: 22px 22px 8px; }
.pillar h3 { color: var(--gold-light); font-size: 1.3rem; }
.pillar p { font-size: .95rem; }

/* ---------- Highlights ---------- */
.stats { background: linear-gradient(90deg, var(--navy), var(--navy-light) 50%, var(--navy)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 38px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: var(--gold); }
.stat-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0 8px; }

/* ---------- Client story ---------- */
.story { background: var(--black); }
.story-inner { max-width: 820px; text-align: center; }
.story-body { position: relative; margin-top: 1.6em; padding: 64px clamp(22px, 5vw, 56px) 36px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, rgba(201,165,92,.08), rgba(18,35,59,.55)); text-align: left; }
.story-body::before { content: "\201C"; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 4.5rem; line-height: .85; height: 40px; color: var(--gold); }
.story-body p { color: var(--muted); }
.story-kicker { color: var(--gold-light) !important; font-family: var(--serif); font-size: 1.3rem; font-style: italic; margin: 0; }

/* ---------- Reviews ---------- */
.reviews { background: var(--ink); }
.rating { color: var(--text); letter-spacing: .04em; }
.stars { color: var(--gold); letter-spacing: .2em; margin-right: 8px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 24px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: #f1ebde; }
.review figcaption { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.review figcaption::before { content: "★★★★★"; display: block; letter-spacing: .15em; margin-bottom: 6px; color: var(--gold); }
.reviews-link { text-align: center; margin: 36px 0 0; }

.hood-group { font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.hood-grid + .hood-group { margin-top: 40px; }

/* ---------- Filter chips ---------- */
.filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line-soft); border-radius: 999px;
  padding: .6em 1.4em;
  font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--gold-light); border-color: var(--line); }
.chip.is-active { color: #141008; background: var(--gold); border-color: var(--gold); }

/* ---------- Deal cards ---------- */
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; justify-content: center; }
@media (min-width: 601px) {
  #sold-grid:has(> .deal:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 380px)); }
}
.deal {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.deal:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.deal.is-hidden { display: none; }
.deal-media { position: relative; aspect-ratio: 4 / 5; background: var(--panel-2); overflow: hidden; }
.deal-media > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.deal-media > img.fit-whole { object-fit: contain; }
.media-bg {
  position: absolute; inset: -30px;
  background-size: cover; background-position: center;
  filter: blur(24px) brightness(.6) saturate(1.1);
}
.deal-media .tag, .deal-media .sample-badge, .deal-media .photo-credit { z-index: 2; }
.deal:hover .deal-media img { transform: scale(1.05); }
.deal-media .placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    linear-gradient(160deg, rgba(201,165,92,.14), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 14px, transparent 14px 28px),
    var(--navy);
}
.deal-media .placeholder img { width: 38%; height: auto; opacity: .55; object-fit: contain; }
.tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(10,18,32,.85); color: var(--gold-light);
  border: 1px solid var(--line);
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .45em 1em; border-radius: 999px;
}
.sample-badge {
  position: absolute; top: 14px; right: 14px;
  background: #7a1f1f; color: #fff;
  font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: .4em .9em; border-radius: 999px;
}
.photo-credit {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(10,13,19,.7); color: #d9d4c7;
  font-size: .6rem; letter-spacing: .04em; padding: .25em .7em; border-radius: 999px;
}
.photo-credit:hover { color: var(--gold-light); }
.deal-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.deal-price { font-family: var(--serif); font-size: 1.9rem; color: var(--gold); line-height: 1; }
.deal-price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-left: 4px; }
.deal-title { font-family: var(--serif); font-size: 1.3rem; color: #f6f1e6; margin: 6px 0 0; line-height: 1.25; }
.deal-hood { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.deal-meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  margin: 12px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-soft);
  list-style: none; font-size: .88rem; color: var(--muted);
}
.deal-meta li strong { color: var(--text); font-weight: 500; }
.deal-side { margin-top: auto; padding-top: 14px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }

.deal-note { margin: 28px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------- Rentals ---------- */
.rentals {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(201,165,92,.08), transparent 70%),
    var(--navy);
}
.rentals .deal { background: linear-gradient(180deg, var(--navy-light), var(--panel) 45%); border-color: var(--line); }

/* ---------- Homebuyer roadmap ---------- */
.roadmap { background: radial-gradient(900px 500px at 50% 0%, rgba(201,165,92,.07), transparent 70%), var(--navy); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(10,18,32,.45);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.step-num { font-family: var(--serif); font-size: 2.4rem; line-height: .9; color: var(--gold); min-width: 1.6em; }
.step h3 { font-size: 1.3rem; margin-bottom: .35em; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }
.roadmap-foot {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  margin-top: 36px; padding: 32px 36px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(135deg, rgba(201,165,92,.10), rgba(10,18,32,.5));
}
.roadmap-why .eyebrow { margin-bottom: .8em; }
.roadmap-why p:last-child { color: var(--text); margin: 0; }
.roadmap-ctas { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Work with me ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.work-copy p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 1.6em 0 2em; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 4px);
}

.lead-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.lead-form .row { margin: 0 0 18px; border: 0; padding: 0; }
.lead-form .row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label, .lead-form legend {
  display: block;
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light);
}
.lead-form legend { margin-bottom: 10px; padding: 0; }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"],
.lead-form select, .lead-form textarea {
  display: block; width: 100%; margin-top: 8px;
  background: var(--black); color: var(--text);
  border: 1px solid var(--line-soft); border-radius: 10px;
  padding: .85em 1em;
  font-family: var(--sans); font-size: 1rem; font-weight: 300;
  letter-spacing: normal; text-transform: none;
  transition: border-color .2s, box-shadow .2s;
}
.lead-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,165,92,.18); }
.lead-form .is-invalid { border-color: #c0605a !important; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { cursor: pointer; letter-spacing: normal; text-transform: none; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block; padding: .55em 1.3em; border-radius: 999px;
  border: 1px solid var(--line-soft); color: var(--muted);
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  transition: all .2s;
}
.pill:hover span { border-color: var(--line); color: var(--text); }
.pill input:checked + span { background: rgba(201,165,92,.15); border-color: var(--gold); color: var(--gold-light); }
.pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(201,165,92,.3); }
.form-note { margin: 14px 0 0; font-size: .92rem; color: var(--gold-light); min-height: 1.4em; text-align: center; }

/* ---------- Neighborhoods ---------- */
.hood-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hood {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  color: var(--text);
  transition: border-color .3s, transform .3s, background .3s;
}
.hood:hover { color: var(--text); border-color: var(--gold); transform: translateY(-4px); background: var(--navy-light); }
.hood h3 { font-size: 1.4rem; color: #f6f1e6; }
.hood p { font-size: .92rem; color: var(--muted); flex: 1; }
.hood span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { background: var(--ink); }
.faq-inner { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-of-type { border-top: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-family: var(--serif); font-size: 1.35rem; color: #f6f1e6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-light); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.faq details p { color: var(--muted); padding: 0 40px 12px 0; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 8vw, 100px) 0 36px; background: linear-gradient(180deg, var(--ink), var(--black)); }
.footer-cta { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.footer-cta p { color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.footer-logo { width: 240px; height: auto; }
.site-footer h4 { font-size: .74rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 1em; }
.site-footer p { color: var(--muted); font-size: .95rem; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--gold); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.footer-legal p { font-size: .8rem; margin: 0; }
.eho { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Roadmap viewer (pop-up) ---------- */
body.viewer-open { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.viewer-backdrop { position: absolute; inset: 0; background: rgba(5, 10, 20, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.viewer-panel {
  position: relative; display: flex; flex-direction: column;
  width: min(820px, 100%); max-height: 100%;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
  animation: viewer-in .35s ease both;
}
@keyframes viewer-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line-soft); }
.viewer-title { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.viewer-actions { display: flex; align-items: center; gap: 10px; }
.viewer-download { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .55em 1em; }
.viewer-download:hover { color: var(--gold-light); border-color: var(--gold); }
.viewer-close { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line-soft); background: transparent; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.viewer-close:hover, .viewer-close:focus-visible { border-color: var(--gold); color: var(--gold-light); outline: none; }
.viewer-body { overflow: auto; -webkit-overflow-scrolling: touch; background: #0b1526; }
.viewer-body img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .viewer-panel { animation: none; } }
@media (max-width: 600px) {
  .viewer-bar { padding: 10px 10px 10px 14px; }
  .viewer-title { font-size: .62rem; letter-spacing: .12em; }
  .viewer-download { font-size: .62rem; letter-spacing: .1em; white-space: nowrap; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .deal, .deal-media img, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .hood-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 22px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand img { height: 38px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,18,32,.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform .35s ease, opacity .35s ease, visibility .35s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav .btn { margin-top: 18px; }

  .hero-grid, .about-grid, .work-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; max-width: 380px; order: -1; }
  .hero-copy { text-align: left; }
  .about-photo { max-width: 420px; margin-inline: auto; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .deal-grid { grid-template-columns: 1fr; }
  .hood-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .roadmap-foot { grid-template-columns: 1fr; padding: 24px; }
  .faq summary { font-size: 1.2rem; }
  .pillars { grid-template-columns: 1fr; }
  .lead-form .row.two { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-photo { max-width: 300px; }
  .hero-photo::before { inset: -10px -10px 10px 10px; }
  .about-photo::after { inset: 12px -12px -12px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}
