/* ============================================================================
   Iteration 22 — "Cinematic"  (recreation of the Claude Design handoff)
   Layered ON TOP of the shared base styles.css. This file:
     1. re-tints the palette warm-ivory + a single Golden Gate orange accent
        (dual-token: a brighter mark for dark/large, an AA-safe mark for small
        text on light),
     2. restyles nav (transparent-over-hero → frosted-ivory on scroll) and
        buttons (editorial pills),
     3. defines the Cinematic components — Ken-Burns/grain hero, dark stat band,
        "advisor" feature cells, tenant/landlord image tiles, listing + spotlight,
        phone tour, neighborhood grid, press marquee, social-proof, CTA band,
        and the dark footer with the stacked Leasing Agent 415 + Compass lockup.
   All motion is reduced-motion gated (guard at the end + base guard).
   ========================================================================== */

:root {
  /* Neutral monochrome system — white & black only (matches iteration 15) */
  --ink:        #111114;   /* neutral near-black — headings + primary text */
  --ink-soft:   #34343a;
  --muted:      #5d5d63;   /* neutral grey — 5.8:1 on white (AA) */
  --paper:      #ffffff;   /* pure white (page + default section) */
  --bg-alt:     #f4f4f5;   /* light-grey "alt" band */
  --bg-dark:    #111114;   /* dark band (stats / press) */
  --bg-darker:  #0a0a0c;   /* spotlight / CTA image bands */
  --bg-footer:  #08080a;   /* footer */
  --line:       #e5e5e8;
  --line-2:     #d3d3d8;
  --on-dark-mut:#b3b3b8;

  /* No color accent — black & white only (resolves to ink on light, white on dark) */
  --accent:      #111114;  /* primary buttons / marks on light → near-black */
  --accent-text: #111114;  /* text "accent" on light → near-black */
  --accent-deep: #000000;  /* hover → pure black */
  --accent-bright:#ffffff;  /* mark on DARK bands → white */
  --accent-tint: #f4f4f5;  /* neutral light tint */

  --shadow-lift: 0 30px 70px -34px rgba(0,0,0,.55);
  --shadow-card: 0 24px 54px -34px rgba(0,0,0,.42);
  --radius: 2px;           /* soft editorial corners on images/cards */
  --pill: 999px;
  --ease-out: cubic-bezier(.16,.84,.44,1);
}

body { background: var(--paper); color: var(--ink); }

/* Larger, more cinematic display scale than the base */
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 6.4rem); line-height: .98; letter-spacing: -.018em; }
.hero h1 em, .serif-ital { font-style: italic; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 3.1rem); }

/* Eyebrows: drop the base rule, keep colored letter-spaced label */
.eyebrow { letter-spacing: .28em; gap: 0; }
.eyebrow::before { display: none; }
.eyebrow.eyebrow--accent { color: var(--accent-text); }
.section--ink .eyebrow--accent,
.spotlight .eyebrow, .cta .eyebrow { color: var(--accent-bright); }
.accent { color: var(--accent-text); }
.prose a:hover, .link:hover { border-color: var(--accent-text); color: var(--accent-text); }

/* Headings + cite stay legible on the dark bands (base h1–h4 are ink) */
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .quote cite { color: rgba(255,255,255,.72); }
.section--ink .quote cite a { color: rgba(255,255,255,.92); border-bottom: 1px solid rgba(255,255,255,.4); }

/* ---- Buttons → editorial pills ------------------------------------------- */
.btn, .button, button.button {
  min-height: 52px; padding: 0 30px; border-radius: var(--pill);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; filter: brightness(1.02); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost.btn--on-dark { --btn-fg: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn--ghost.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.textlink { text-transform: uppercase; border-bottom-color: var(--accent-text); }
.textlink:hover { color: var(--accent-text); }

/* Primary CTA on dark image bands → white pill (black & white, no color accent) */
.hero .btn--accent, .spotlight .btn--accent, .cta .btn--accent {
  --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff;
}
.hero .btn--accent:hover, .spotlight .btn--accent:hover, .cta .btn--accent:hover {
  background: #e6e6e6; border-color: #e6e6e6; color: var(--ink); filter: none;
}

/* ============================================================================
   NAV — transparent over the hero (soft top scrim keeps white text AA) →
   frosted ivory on scroll (scroll.js toggles .is-scrolled at the hero edge).
   ========================================================================== */
.site-header {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header::before {            /* legibility scrim behind the bar over the hero */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,7,6,.55), rgba(8,7,6,0));
  transition: opacity .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 30px -18px rgba(0,0,0,.6);
}
.site-header.is-scrolled::before { opacity: 0; }
.brand__name b { letter-spacing: .01em; }
.nav-cta--primary { background: var(--accent); border-color: var(--accent); border-radius: var(--pill); }
.nav-cta--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.nav-cta--ghost { border-radius: var(--pill); }
.nav-cta { border-radius: var(--pill); }

/* ============================================================================
   HERO — full-bleed cityscape, Ken-Burns drift, film grain, layered scrims
   ========================================================================== */
.hero { min-height: 100svh; background: #0d0b09; }
.hero__bg { top: -6%; left: -6%; right: -6%; height: 112%;
  animation: kenburns 26s ease-in-out infinite alternate; will-change: transform; }
.hero::after {                    /* vertical cinematic scrim */
  background: linear-gradient(180deg, rgba(8,7,6,.62) 0%, rgba(8,7,6,.18) 34%, rgba(8,7,6,.30) 64%, rgba(8,7,6,.82) 100%); }
.hero__vignette {                 /* radial darkening at the edges */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 30%, rgba(0,0,0,0) 42%, rgba(0,0,0,.45) 100%); }
.hero__grain {
  position: absolute; inset: -50%; z-index: 0; opacity: .06; pointer-events: none; mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
  animation: grain 1.1s steps(6) infinite; }
.hero__inner { max-width: 1000px; }
.hero h1 { max-width: 20ch; }
.hero__sub { max-width: 52ch; }
@keyframes kenburns { 0% { transform: scale(1.02) translate3d(0,0,0); } 100% { transform: scale(1.16) translate3d(-1.5%,-2%,0); } }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-8%,4%)} 40%{transform:translate(-5%,6%)} 60%{transform:translate(-9%,-3%)} 80%{transform:translate(-3%,-6%)} 100%{transform:translate(0,0)} }

/* ============================================================================
   INTRO STATEMENT — copy beside a framed portrait with a floating caption
   ========================================================================== */
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(var(--s-7), 6vw, var(--s-10)); align-items: center; }
.intro__media { position: relative; }
.intro__frame { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.intro__frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 18%; }
.cap-card { position: absolute; left: -26px; bottom: 36px; background: #fff; padding: 16px 22px; box-shadow: 0 18px 44px -20px rgba(0,0,0,.5); }
.cap-card b { font-family: var(--ff-header); font-weight: 500; font-size: .95rem; color: var(--ink); display: block; }
.cap-card small { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; gap: var(--s-7); } .cap-card { left: 0; } }

/* ============================================================================
   STAT COUNTERS — big serif numbers on a dark band (counters.js drives them)
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(var(--s-5), 4vw, var(--s-8)); text-align: center; }
.stat { border-top: 0; padding: 0; }
.stat__num { font-family: var(--ff-header); font-weight: 500; line-height: 1; letter-spacing: -.02em; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); }
.stat__label { margin-top: var(--s-3); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1.45; }
.section--ink .stat__num { color: #fff; }
.section--ink .stat__label { color: rgba(255,255,255,.62); }
.stats__note { text-align: center; margin-top: clamp(var(--s-6), 5vw, var(--s-7)); font-size: .76rem; letter-spacing: .04em; color: rgba(255,255,255,.5); }
.stats__note a { color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.3); }
.stats__note a:hover { color: #fff; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-7) var(--s-5); } }

/* ============================================================================
   THE DIFFERENCE — portrait + "advisor" copy + four hairline feature cells
   ========================================================================== */
.feature-cells { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6); margin-top: var(--s-7); }
.fcell { border-top: 1px solid var(--line-2); padding-top: var(--s-4); }
.fcell b { font-family: var(--ff-header); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.fcell p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
@media (max-width: 520px) { .feature-cells { grid-template-columns: 1fr; } }

/* ============================================================================
   TENANT / LANDLORD image tiles
   ========================================================================== */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tile { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(380px, 46vw, 560px); color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,6,.05) 30%, rgba(8,7,6,.78) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile__body { position: relative; z-index: 2; padding: clamp(var(--s-6), 4vw, var(--s-8)); }
.tile__body h3 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.7rem); }
.tile__body p { color: rgba(255,255,255,.86); max-width: 38ch; margin-top: var(--s-3); }
.tile__body .textlink { color: #fff; border-bottom-color: var(--accent); margin-top: var(--s-5); }
.tile__body .textlink:hover { color: #fff; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* ============================================================================
   FEATURED LISTINGS — white cards w/ shadow (listings.js renders .listing)
   ========================================================================== */
.listing { background: #fff; box-shadow: var(--shadow-card); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease); }
.listing:hover { transform: translateY(-4px); }
.listing__media { aspect-ratio: 4/3; border-radius: 0; }
.listing__body { padding: var(--s-5) var(--s-5) var(--s-6); gap: 6px; }
.listing__tag { background: #fff; color: var(--ink); }
.listing__tag--rented { background: var(--accent); color: #fff; }
.listing__price { color: var(--ink); }
.listing__meta { border-top-color: var(--line); }
.listings-note { margin-top: var(--s-5); font-size: .74rem; letter-spacing: .04em; color: var(--muted); }

/* ============================================================================
   SPOTLIGHT — featured residence over a parallaxed dark image
   ========================================================================== */
.spotlight { position: relative; overflow: hidden; background: var(--bg-darker); color: #fff; }
.spotlight__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: .72; z-index: 0; }
.spotlight::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,7,6,.82) 0%, rgba(8,7,6,.4) 55%, rgba(8,7,6,.2) 100%); }
.spotlight__inner { position: relative; z-index: 2; max-width: 560px; }
.spotlight h2 { color: #fff; }
.spotlight__stats { display: flex; gap: var(--s-7); flex-wrap: wrap; margin-top: var(--s-6); }
.spotlight__stats > div + div { border-left: 1px solid rgba(255,255,255,.25); padding-left: var(--s-7); }
.spotlight__stats b { font-family: var(--ff-header); font-weight: 500; font-size: 1.6rem; }
.spotlight__stats span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-left: 6px; }

/* ============================================================================
   CINEMATIC TOUR — copy beside a CSS phone playing a vertical clip
   ========================================================================== */
.tour { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s-7), 6vw, var(--s-10)); align-items: center; }
.device-wrap { display: flex; justify-content: center; position: relative; }
.device-wrap__halo { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(17,17,20,.12), rgba(17,17,20,0) 70%); filter: blur(8px); z-index: 0; }
.device { position: relative; z-index: 1; width: min(312px, 80vw); aspect-ratio: 312/676; border-radius: 46px; background: #0c0a08; padding: 12px; box-shadow: var(--shadow-lift), 0 0 0 2px rgba(0,0,0,.9) inset; animation: float 6.5s ease-in-out infinite; }
.device__screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.device__screen video, .device__screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.device__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 36%; height: 20px; background: #0c0a08; border-radius: 0 0 14px 14px; z-index: 3; }
.device__cap { position: absolute; left: 20px; bottom: 40px; z-index: 3; color: #fff; }
.device__cap small { font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.device__cap b { display: block; font-family: var(--ff-header); font-weight: 500; font-size: 1.3rem; margin-top: 5px; }
.device__screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(8,7,6,.78)); pointer-events: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 860px) { .tour { grid-template-columns: 1fr; gap: var(--s-7); } .tour__body { order: -1; text-align: center; } .device-wrap__halo { width: 220px; height: 220px; } }

/* ============================================================================
   NEIGHBORHOODS — square photo tiles with serif labels
   ========================================================================== */
.hoods { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(var(--s-3), 1.8vw, var(--s-5)); }
.hood { position: relative; overflow: hidden; aspect-ratio: 1/1; display: flex; align-items: flex-end; border-radius: var(--radius); }
.hood img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.hood::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(8,7,6,.72) 100%); }
.hood:hover img { transform: scale(1.06); }
.hood span { position: relative; z-index: 2; color: #fff; font-family: var(--ff-header); font-size: clamp(1.2rem, .9rem + 1vw, 1.75rem); padding: clamp(var(--s-5), 2.4vw, var(--s-6)); }
@media (max-width: 760px) { .hoods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .hoods { grid-template-columns: 1fr; } }

/* ============================================================================
   SOCIAL PROOF — Yelp rating block + verifiable recognition rows
   ========================================================================== */
.proof { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(var(--s-7), 6vw, var(--s-10)); align-items: center; }
.yelp { text-align: center; background: var(--paper); border-radius: var(--radius); padding: clamp(var(--s-6), 4vw, var(--s-8)); }
.yelp__stars { display: inline-flex; gap: 6px; }
.yelp__stars svg { width: 28px; height: 28px; fill: #d9d9e0; transform: scale(.55); transform-origin: center bottom; transition: fill .45s ease, transform .5s cubic-bezier(.2,.9,.3,1.45); }
/* Stars light up gold 1 → 5 as the card scrolls into view (.is-in added by main.js reveal observer). */
.yelp.is-in .yelp__stars svg { fill: #f5b400; transform: scale(1); }
.yelp.is-in .yelp__stars svg:nth-child(1) { transition-delay: .08s; }
.yelp.is-in .yelp__stars svg:nth-child(2) { transition-delay: .24s; }
.yelp.is-in .yelp__stars svg:nth-child(3) { transition-delay: .40s; }
.yelp.is-in .yelp__stars svg:nth-child(4) { transition-delay: .56s; }
.yelp.is-in .yelp__stars svg:nth-child(5) { transition-delay: .72s; }
.yelp__rating { font-family: var(--ff-header); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); margin: var(--s-4) 0 0; }
.yelp__brand { display: inline-flex; align-items: center; gap: .2em; white-space: nowrap; }
.yelp__logo { width: .82em; height: .82em; flex: none; }
.yelp__meta { color: var(--muted); margin: var(--s-2) 0 var(--s-5); font-size: .95rem; }
/* "Read reviews on Yelp" turns Yelp-red once the card scrolls into view (delay so it follows the stars; hover stays snappy). */
.yelp__cta { transition: background .5s var(--ease) .8s, border-color .5s var(--ease) .8s, color .35s var(--ease), transform .25s var(--ease); }
.yelp__cta:hover { transition-delay: 0s; }
.yelp.is-in .yelp__cta { --btn-bg: #d32323; background: #d32323; border-color: #d32323; color: #fff; }
.yelp.is-in .yelp__cta:hover { --btn-bg: #b81d1d; background: #b81d1d; border-color: #b81d1d; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .yelp__stars svg { transition: none; transform: none; fill: #f5b400; }
  .yelp__cta { transition: none; }
}
.recs { display: grid; gap: 0; }
.rec { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); padding: var(--s-5) 0; border-top: 1px solid var(--line-2); align-items: baseline; }
.rec:last-child { border-bottom: 1px solid var(--line-2); }
.rec__year { font-family: var(--ff-header); font-weight: 500; font-size: 1.5rem; color: var(--accent-text); }
.rec__text { color: var(--ink-soft); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; gap: var(--s-7); } }

/* ============================================================================
   CTA BAND — closing call over a parallaxed dusk image
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--bg-darker); color: #fff; text-align: center; }
.cta__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: center 30%; opacity: .62; z-index: 0; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,7,6,.7), rgba(8,7,6,.55)); }
.cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta__actions { display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; margin-top: var(--s-7); }

/* ============================================================================
   FOOTER — darker band + the stacked Leasing Agent 415 / Compass lockup
   ========================================================================== */
.site-footer { background: var(--bg-footer); }
.footer-grid { grid-template-columns: 1.5fr .8fr .9fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
/* Footer brand: a big, symmetrical Leasing Agent 415 / Compass affiliation
   lockup sits to the LEFT of the brand text. inna-logo.png is a white badge on
   solid black — screen blend drops the black so the white mark reads on dark. */
.footer-brand { display: flex; align-items: center; gap: clamp(var(--s-5), 3vw, var(--s-7)); }
.footer-brand__text { min-width: 0; }
.footer-affiliation { flex: none; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; }
.footer-affiliation__mark { width: 116px; height: 116px; object-fit: contain; mix-blend-mode: screen; }
.footer-affiliation__rule { width: 50px; height: 1px; background: rgba(255,255,255,.3); }
.footer-affiliation__compass { display: block; }
.footer-affiliation__compass svg { height: 18px; width: auto; fill: rgba(255,255,255,.9); }
.footer-legal { align-items: start; }
@media (max-width: 560px) { .footer-brand { flex-direction: column; align-items: flex-start; gap: var(--s-5); } }

/* ============================================================================
   REDUCED MOTION — freeze ambient loops; show posters, not autoplay video
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none !important; }
  .hero__grain { animation: none !important; }
  .device { animation: none !important; }
  .device__screen video { display: none; }
  .device__screen .poster-fallback { display: block; }
}

/* ============================================================================
   CINEMATIC SPOTLIGHT ROTATOR — cycles ALL available homes (listings.js).
   The crossfade is opacity-only; the bg transform belongs to GSAP parallax.
   Scoped to .is-rotating so the static (no-inventory) fallback is untouched.
   ========================================================================== */
.spotlight.is-rotating .spotlight__bg { opacity: 0; transition: opacity .9s var(--ease); }
.spotlight.is-rotating .spotlight__bg.is-front { opacity: .72; }
.spotlight.is-rotating .spotlight__inner { transition: opacity .24s var(--ease); }
.spotlight.is-rotating .spotlight__inner.is-swapping { opacity: 0; }
.spotlight__dots { position: relative; z-index: 2; display: flex; gap: 10px; margin-top: var(--s-7); }
.spotlight__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: transparent; cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease); }
.spotlight__dots button:hover { border-color: #fff; }
.spotlight__dots button[aria-current="true"] { background: #fff; border-color: #fff; transform: scale(1.25); }

/* Phone walk-through reel — two stacked clips crossfade (tour-reel.js). */
.device__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.device__vid.is-active { opacity: 1; }

/* Footer social — brand-colored badges. The one deliberate exception to the
   black-&-white system (owner asked for the colored icons); they "pop" on hover. */
.footer-social { gap: var(--s-3); }
.footer-social a { width: 40px; height: 40px; border: 0; border-radius: 11px; background: transparent; overflow: visible; transition: transform .22s var(--ease-out), filter .22s var(--ease); }
.footer-social a:hover, .footer-social a:focus-visible { background: transparent; border: 0; transform: translateY(-3px) scale(1.12); filter: drop-shadow(0 8px 16px rgba(0,0,0,.4)); }
.footer-social a:active { transform: translateY(-1px) scale(1.05); }
.footer-social svg { width: 100%; height: 100%; fill: none; display: block; }

@media (prefers-reduced-motion: reduce) {
  .spotlight.is-rotating .spotlight__bg,
  .spotlight.is-rotating .spotlight__inner,
  .device__vid,
  .spotlight__dots button,
  .footer-social a { transition: none; }
  .footer-social a:hover, .footer-social a:active { transform: none; }
}

/* ============================================================================
   CONTENT SECTIONS added per client direction — Recent Press, editorial
   track-record grid, Instagram follow card, Compass affiliation lockup.
   Black & white system; new hover motion reduced-gated at the very end.
   ========================================================================== */

/* ---- BY THE NUMBERS → editorial track-record grid ------------------------- */
.track__head { max-width: 780px; margin: 0 auto; text-align: center; }
.track__title { margin-top: var(--s-3); font-weight: 400; }
.track__lede { margin: var(--s-5) auto 0; max-width: 62ch; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.track__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(var(--s-7), 6vw, var(--s-9)); }
.track__stat { text-align: center; padding: clamp(var(--s-5), 3.2vw, var(--s-7)) var(--s-4); border-top: 1px solid var(--line); }
.track__stat:nth-child(3n+2) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.track__num { font-family: var(--ff-header); font-weight: 300; line-height: .96; letter-spacing: -.02em; color: var(--ink); font-size: clamp(2.8rem, 1.7rem + 4.2vw, 5.2rem); }
.track__label { margin-top: var(--s-3); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.track__note { text-align: center; margin-top: clamp(var(--s-6), 4vw, var(--s-7)); font-size: .8rem; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 760px) {
  .track__grid { grid-template-columns: 1fr 1fr; }
  .track__stat:nth-child(3n+2) { border-left: 0; border-right: 0; }
  .track__stat:nth-child(2n) { border-left: 1px solid var(--line); }
}
@media (max-width: 440px) {
  .track__grid { grid-template-columns: 1fr; }
  .track__stat:nth-child(2n) { border-left: 0; }
}

/* ---- RECENT PRESS → editorial link list ----------------------------------- */
.press-list { list-style: none; margin: clamp(var(--s-6), 5vw, var(--s-8)) 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.press-row a {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--s-3) var(--s-6);
  padding: clamp(var(--s-5), 3.2vw, var(--s-6)) 0; border-bottom: 1px solid var(--line-2);
  text-decoration: none; color: var(--ink);
}
.press-row__head { font-family: var(--ff-header); font-size: clamp(1.15rem, .85rem + 1.1vw, 1.85rem); line-height: 1.28; }
.press-row__pub { font-weight: 600; }
.press-row__sep { color: var(--line-2); margin: 0 .45em; font-weight: 300; }
.press-row__title { font-weight: 400; color: var(--ink-soft); }
.press-row__cta {
  justify-self: end; align-self: center; white-space: nowrap;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.press-row__arr { display: inline-block; transition: transform .25s var(--ease-out); }
.press-row a:hover .press-row__title, .press-row a:focus-visible .press-row__title { color: var(--ink); }
.press-row a:hover .press-row__cta, .press-row a:focus-visible .press-row__cta { color: var(--ink); border-color: var(--ink); }
.press-row a:hover .press-row__arr { transform: translateX(6px); }
.press-note { margin-top: var(--s-6); font-size: .9rem; }
@media (max-width: 680px) {
  .press-row a { grid-template-columns: 1fr; gap: var(--s-2); }
  .press-row__cta { justify-self: start; }
}

/* ---- INSTAGRAM follow pill (reference-style, centered on white) ----------- */
/* iteration-18.css sets `.ig { display:grid; grid-template-columns:.95fr 1.05fr }` for its
   old two-column block; iter 22 uses a single centered pill, so reset the section to a normal
   block and let .container center it on the page. `section.ig` outranks `.ig` regardless of order. */
section.ig { display: block; }
.ig-pill {
  --ig-grad: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  max-width: 900px; margin: clamp(var(--s-6), 4vw, var(--s-7)) auto 0;
  display: flex; align-items: center; gap: clamp(var(--s-4), 3vw, var(--s-6));
  padding: clamp(var(--s-4), 2.6vw, var(--s-5)) clamp(var(--s-5), 3vw, var(--s-6));
  background: #0a0a0c; color: #fff; border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18); text-align: left;
}
.ig-pill__ring { flex: none; width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: var(--ig-grad); }
.ig-pill__ring-inner { display: block; width: 100%; height: 100%; border-radius: 50%; padding: 3px; background: #0a0a0c; }
.ig-pill__avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 20%; display: block; }
.ig-pill__info { flex: 0 1 auto; min-width: 0; }
.ig-pill__name { font-family: var(--ff-header); font-weight: 600; font-size: 1.2rem; color: #fff; white-space: nowrap; }
.ig-pill__handle { display: inline-block; font-size: .9rem; color: #a8a8ad; margin-top: 2px; border-bottom: 1px solid transparent; white-space: nowrap; }
.ig-pill__handle:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.ig-pill__stats { display: flex; gap: clamp(var(--s-5), 3.4vw, var(--s-6)); }
.ig-pill__stat b { display: block; font-family: var(--ff-normal); font-weight: 700; font-size: 1.3rem; color: #fff; font-variant-numeric: tabular-nums; }
.ig-pill__stat span { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #a8a8ad; }
.ig-pill__spacer { flex: 1 1 auto; }
.ig-pill__follow {
  flex: none; display: inline-flex; align-items: center;
  background: #fff; color: #111114; font-family: var(--ff-header);
  font-weight: 600; padding: .72rem 1.2rem; border-radius: 11px;
  text-decoration: none; transition: transform .12s ease, box-shadow .12s ease;
}
.ig-pill__follow:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.22); }
/* Live cue — only injected by instagram.js once real data loads from the backend. */
.ig-pill__live { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: .72rem; letter-spacing: .02em; color: #8a8a90; }
.ig-pill__live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: igLivePulse 2.2s infinite; }
.ig-pill__live[data-stale="1"] .ig-pill__live-dot { background: #b9923a; animation: none; }
@keyframes igLivePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .ig-pill__live-dot { animation: none; } }
@media (max-width: 680px) {
  .ig-pill { flex-wrap: wrap; justify-content: center; text-align: center; }
  .ig-pill__info { flex-basis: 100%; }
  .ig-pill__spacer { display: none; }
  .ig-pill__stats { justify-content: center; flex-basis: 100%; }
  .ig-pill__follow { width: 100%; justify-content: center; }
}

/* ---- AFFILIATION lockup (Leasing Agent 415 × Compass) --------------------- */
.affiliation { text-align: center; }
.affiliation__lockup { display: inline-flex; flex-direction: column; align-items: center; gap: clamp(var(--s-4), 2.4vw, var(--s-5)); }
/* inna-logo.png is white art on solid black → invert to render it black on white */
.affiliation__mark { width: clamp(118px, 15vw, 162px); height: auto; filter: invert(1); }
.affiliation__rule { width: 1px; height: 30px; background: var(--line-2); }
.affiliation__compass { height: clamp(20px, 2.4vw, 30px); width: auto; fill: var(--ink); }
.affiliation__note { margin-top: var(--s-3); font-size: .78rem; letter-spacing: .04em; color: var(--muted); max-width: 42ch; }

@media (prefers-reduced-motion: reduce) {
  .press-row__arr, .press-row__cta, .ig-pill__handle, .ig-pill__follow { transition: none !important; }
  .press-row a:hover .press-row__arr { transform: none !important; }
}

/* ---- Cycle 2: orchestrated hero load + CTA press-feedback ------------------ */
.hero__inner > * { opacity: 0; transform: translateY(16px); animation: heroRise .6s cubic-bezier(.16,.84,.44,1) forwards; }
.hero__inner > *:nth-child(1) { animation-delay: .06s; }
.hero__inner > *:nth-child(2) { animation-delay: .20s; }
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }

.btn, .button, button.button { transition: transform .2s ease-out, background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), filter .25s var(--ease); }
.btn:hover, .button:hover, button.button:hover { transform: scale(1.02); }
.btn:active, .button:active, button.button:active { transform: scale(.98); }

@media (prefers-reduced-motion: reduce) {
  .hero__inner > * { opacity: 1; transform: none; animation: none; }
  .btn, .button, button.button { transition: none; }
  .btn:hover, .btn:active, .button:hover, .button:active { transform: none; }
}

/* ============================================================================
   NEIGHBORHOOD GUIDE PAGES (/neighborhoods/*) — proof-of-concept
   ========================================================================== */
.nb-chips { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.nb-chip { display: inline-flex; align-items: baseline; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.05rem; background: var(--paper); font-size: .9rem; color: var(--ink-soft); }
.nb-chip b { font-family: var(--ff-header); font-weight: 600; color: var(--ink); }
.nb-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(var(--s-5), 4vw, var(--s-7)); }
@media (max-width: 820px) { .nb-cols { grid-template-columns: 1fr; } }
.nb-col h3 { font-family: var(--ff-header); font-weight: 600; font-size: 1.2rem; margin: 0 0 var(--s-3); }
.nb-col p { color: var(--ink-soft); margin: 0; }
.nb-fav { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(var(--s-5), 4vw, var(--s-8)); }
@media (max-width: 620px) { .nb-fav { grid-template-columns: 1fr; } }
.nb-fav li { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.nb-fav b { display: block; font-family: var(--ff-header); font-weight: 600; color: var(--ink); }
.nb-fav span { color: var(--muted); font-size: .92rem; }
.nb-price { max-width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(var(--s-5), 3vw, var(--s-7)); margin-top: var(--s-5); }
.nb-price table { width: 100%; border-collapse: collapse; }
.nb-price th { text-align: left; font-weight: 400; color: var(--ink-soft); padding: .7rem 0; border-bottom: 1px solid var(--line); }
.nb-price td { text-align: right; font-family: var(--ff-header); font-weight: 600; color: var(--ink); padding: .7rem 0; border-bottom: 1px solid var(--line); }
.nb-price tr:last-child th, .nb-price tr:last-child td { border-bottom: 0; }
.nb-note { color: var(--muted); font-size: .8rem; line-height: 1.5; margin: var(--s-4) 0 0; }
.nb-back { display: inline-block; margin-top: var(--s-6); font-size: .9rem; }

/* Press "Where clients find her" cards — portrait frame suits Inna's portrait
   photos; per-image object-position (inline) keeps her face/head in view. */
.press-card__media { aspect-ratio: 4 / 5; }

/* Press page hero — split layout: text + Inna's press portrait (inna-press.png),
   shown contained (the source is only 320px wide → never stretched full-bleed). */
body[data-page="social-proof"] .page-hero { align-items: center; min-height: clamp(520px, 72vh, 680px); }
body[data-page="social-proof"] .page-hero__inner {
  max-width: var(--container);
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(var(--s-6), 5vw, var(--s-9));
  align-items: center; text-align: left;
}
.press-page-hero__text { max-width: 32ch; }
.press-page-hero__portrait { margin: 0; justify-self: end; }
.press-page-hero__portrait img {
  width: min(330px, 62vw); height: auto; display: block;
  border-radius: var(--radius);
  box-shadow: 0 36px 72px -28px rgba(0,0,0,.8);
}
@media (max-width: 820px) {
  body[data-page="social-proof"] .page-hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: var(--s-6); }
  .press-page-hero__text { max-width: 48ch; }
  .press-page-hero__portrait img { width: min(260px, 64vw); }
}
