/* ==========================================================
   Theme: Montserrat type (same family as serhant.com) and
   numbered layout with scroll-driven motion,
   on the navy / gold palette. Loaded after styles.css, which
   holds the base layout; this file overrides it.
   ========================================================== */

:root {
  --black: #0b1526;
  --ink: #0f1b2f;
  --navy: #13233c;
  --navy-light: #1a2e4d;
  --panel: #15253e;
  --panel-2: #1b2f4e;
  --line: rgba(212, 176, 106, 0.30);
  --line-soft: rgba(190, 210, 240, 0.10);
  --gold: #d4b06a;
  --gold-light: #ead09a;
  --text: #edf0f5;
  --muted: #a3acbb;
  --serif: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

body.hybrid { font-weight: 400; font-size: 16px; line-height: 1.7; counter-reset: sec; background: var(--black); }

/* ---------- Type ---------- */
.hybrid h1, .hybrid h2, .hybrid h3 { font-weight: 800; letter-spacing: -0.02em; color: #f5f7fa; text-wrap: balance; }
.hybrid h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.1; }
.hybrid h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; }
.hybrid h3 { font-size: 1.15rem; font-weight: 700; }
.hybrid h1 em, .hybrid h2 em { font-style: normal; color: var(--gold); }
.hybrid .eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .28em; color: var(--gold); }
.hybrid .lead, .hybrid .section-sub { color: var(--muted); }

/* Numbered section labels, like "01 | Meet Olaf" */
.hybrid .section { counter-increment: sec; }
.hybrid .section-head > .eyebrow::before,
.hybrid .about-copy > .eyebrow::before,
.hybrid .story-inner > .eyebrow::before,
.hybrid .work-copy > .eyebrow::before {
  content: counter(sec, decimal-leading-zero);
  display: inline-block;
  margin-right: 1.1em; padding-right: 1.1em;
  border-right: 1px solid var(--line);
  color: var(--muted); letter-spacing: .12em;
}

/* ---------- Buttons ---------- */
.hybrid .btn { border-radius: 10px; letter-spacing: .14em; font-weight: 700; }
.hybrid .btn-gold { background: var(--gold); color: #12100a; }
.hybrid .btn-gold:hover { background: var(--gold-light); box-shadow: 0 0 0 4px rgba(212,176,106,.15), 0 12px 30px rgba(212,176,106,.18); }
.hybrid .btn-outline { border-color: rgba(255,255,255,.2); color: var(--text); }
.hybrid .btn-outline:hover { border-color: var(--gold); color: var(--gold-light); background: transparent; }

/* ---------- Header ---------- */
.hybrid .site-header { background: rgba(11,21,38,.78); border-bottom-color: var(--line-soft); }
.hybrid .site-nav a:not(.btn) { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; color: #cdd3dd; }

/* ---------- Scroll progress line (top of page) ---------- */
.scroll-beam {
  position: fixed; top: 0; left: 0; z-index: 60;
  height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, rgba(212,176,106,.2), var(--gold) 60%, var(--gold-light));
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hybrid .hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 78% 30%, rgba(212,176,106,.10), transparent 65%),
    radial-gradient(900px 600px at 0% 100%, rgba(31,56,94,.9), transparent 70%),
    linear-gradient(180deg, #0d182b, var(--navy));
  border-bottom: 1px solid var(--line-soft);
}
.hybrid .hero-copy, .hybrid .hero-photo { will-change: transform; }
.hybrid .creds li { letter-spacing: .2em; font-size: .7rem; }
.hybrid .creds li::before { width: 5px; height: 5px; border-radius: 50%; transform: none; }
.hybrid .arch { box-shadow: 0 40px 90px rgba(4,10,22,.6), 0 0 0 1px rgba(255,255,255,.06); }
.hybrid .hero-photo::before { border-color: var(--gold); opacity: .4; }

/* ---------- Sections and cards ---------- */
.hybrid .section { border-top: 1px solid var(--line-soft); }
.hybrid .section-head { text-align: left; max-width: none; margin-left: 0; display: grid; gap: 4px; }
.hybrid .section-head .section-sub { max-width: 640px; }
.hybrid .about, .hybrid .reviews, .hybrid .faq, .hybrid .neighborhoods { background: var(--ink); }
.hybrid .rentals, .hybrid .roadmap { background: radial-gradient(900px 400px at 50% 0%, rgba(212,176,106,.07), transparent 70%), var(--navy); }
.hybrid .sold, .hybrid .work, .hybrid .story { background: var(--black); }

.hybrid .pillar, .hybrid .deal, .hybrid .hood, .hybrid .step, .hybrid .review,
.hybrid .lead-form, .hybrid .story-body, .hybrid .roadmap-foot {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: none;
}
.hybrid .pillar h3 { color: var(--gold-light); }
.hybrid .deal:hover, .hybrid .hood:hover, .hybrid .review:hover {
  border-color: var(--line); background: var(--panel-2); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(4,10,22,.45);
}
.hybrid .review { transition: transform .35s, border-color .35s, background .35s, box-shadow .35s; }
.hybrid .rentals .deal { background: var(--panel); border-color: var(--line-soft); }
.hybrid .deal-price { font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; }
.hybrid .deal-title { font-size: 1.1rem; font-weight: 700; }
.hybrid .deal-hood, .hybrid .deal-side, .hybrid .tag { letter-spacing: .16em; }
.hybrid .tag { background: rgba(11,21,38,.85); }
.hybrid .deal-media .placeholder { background: linear-gradient(160deg, rgba(212,176,106,.12), transparent 60%), #132139; }
.hybrid .chip { border-radius: 8px; }
.hybrid .chip.is-active { background: var(--gold); color: #12100a; }

.hybrid .review blockquote { font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: #dfe4ec; }
.hybrid .story-kicker { font-style: normal; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.hybrid .story-inner { text-align: left; }
.hybrid .story-body::before { color: var(--gold); }

.hybrid .stats { background: var(--navy); border-color: var(--line-soft); }
.hybrid .stat-num { font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.hybrid .hood h3 { font-size: 1.15rem; }
.hybrid .hood-group { letter-spacing: .24em; }

.hybrid .lead-form input[type="text"], .hybrid .lead-form input[type="email"], .hybrid .lead-form input[type="tel"],
.hybrid .lead-form select, .hybrid .lead-form textarea { background: #0c172a; border-radius: 8px; }
.hybrid .pill span { border-radius: 8px; }
.hybrid .faq summary { font-size: 1.05rem; font-weight: 600; }
.hybrid .site-footer { background: linear-gradient(180deg, var(--ink), #091222); }

/* ---------- Moving neighborhood band ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--navy);
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(234,208,154,.55);
  white-space: nowrap; padding: 0 .9em; position: relative;
}
.marquee-track span::after { content: "•"; position: absolute; right: -.15em; color: var(--gold); -webkit-text-stroke: 0; font-size: .6em; top: 50%; transform: translateY(-50%); }
.marquee-track span:nth-child(3n+1) { color: var(--gold-light); -webkit-text-stroke: 0; }

/* ---------- Roadmap as a scroll-filling timeline ---------- */
.hybrid .steps {
  position: relative;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 820px;
  padding-left: 64px;
}
.hybrid .steps::before {
  content: ""; position: absolute; left: 22px; top: 10px; bottom: 10px;
  width: 2px; background: var(--line-soft); border-radius: 2px;
}
.hybrid .steps-fill {
  position: absolute; left: 22px; top: 10px;
  width: 2px; height: calc((100% - 20px) * var(--fill, 0));
  background: linear-gradient(to bottom, var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(212,176,106,.6);
  border-radius: 2px;
}
.hybrid .step { position: relative; transition: border-color .5s, background .5s; }
.hybrid .step::before {
  content: ""; position: absolute; left: -49px; top: 26px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy); border: 2px solid rgba(190,210,240,.25);
  transition: background .4s, border-color .4s, box-shadow .4s, transform .4s;
}
.hybrid .step.is-active { border-color: var(--line); background: var(--panel-2); }
.hybrid .step.is-active::before { background: var(--gold); border-color: var(--gold-light); box-shadow: 0 0 0 5px rgba(212,176,106,.15); transform: scale(1.1); }
.hybrid .step-num { font-size: 1.05rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; min-width: 2em; padding-top: .15em; transition: color .4s; }
.hybrid .step.is-active .step-num { color: var(--gold); }
.hybrid .step h3 { font-size: 1.15rem; }

/* ---------- Headline word reveal ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--wi, 0) * 60ms + 80ms);
}
.split.is-in .w > span { transform: none; }

/* ---------- Photo wipe reveal ---------- */
.wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); }
.wipe img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.wipe.is-in { clip-path: inset(0 0 0 0); }
.wipe.is-in img { transform: scale(1); }
.hybrid .deal:hover .wipe.is-in img { transform: scale(1.05); transition-duration: .6s; }
.hybrid .arch.wipe { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); }
.hybrid .arch.wipe.is-in { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); }

/* ---------- General scroll reveal ---------- */
.hybrid .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--stagger, 0ms);
}
.hybrid .reveal.is-in { opacity: 1; transform: none; }
.hybrid .deal.reveal.is-in:hover, .hybrid .hood.reveal.is-in:hover, .hybrid .review.reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }
/* Section heads already animate word by word, so keep them steady */
.hybrid .section-head.reveal { opacity: 1; transform: none; }

@media (max-width: 600px) {
  .hybrid .steps { padding-left: 44px; }
  .hybrid .steps::before, .hybrid .steps-fill { left: 14px; }
  .hybrid .step::before { left: -36px; }
}

@media (prefers-reduced-motion: reduce) {
  .hybrid .reveal, .split .w > span, .wipe, .wipe img { opacity: 1; transform: none; clip-path: none !important; transition: none; }
  .marquee-track { transform: none !important; }
}
