/* ==========================================================================
   Dholera — Home page, "cinematic" edition
   Preloader · parallax hero · scroll story · interactive plan · pinned
   horizontal showcase · bento · calculator · timeline · FAQ · CTA.
   Loaded after premium.css on index.html only.
   ========================================================================== */

body[data-page="home"] { background: #04061f; }

/* ---- Preloader (JS only: .js adds it; removed once loaded) --------------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  background: #04061f; color: var(--c-accent);
  transition: transform .9s cubic-bezier(.76, 0, .24, 1), visibility 0s .9s;
}
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
.preloader__logo { width: min(15rem, 60vw); height: auto; animation: pl-pulse 1.8s ease-in-out infinite; }
.preloader__word { display: none; }
.preloader__bar { width: 10rem; height: 1px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.preloader__bar::after { content: ""; position: absolute; inset: 0; background: var(--g-gold); transform: translateX(-100%); animation: pl-load 1.2s var(--ease) forwards; }
@keyframes pl-load { to { transform: none; } }
@keyframes pl-pulse { 0%, 100% { opacity: .75; transform: scale(.98); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .preloader__logo, .preloader__bar::after { animation: none; } .preloader__bar::after { transform: none; } }

/* ---- Header: always dark glass on the home page --------------------- */
body[data-page="home"] .site-header { background: rgba(4,6,31,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
body[data-page="home"] .site-header[data-scrolled="true"] { background: rgba(4,6,31,.9); box-shadow: 0 10px 30px -18px #000; }
body[data-page="home"] .brand { color: #fff; }
body[data-page="home"] .nav-toggle span { background: #fff; }
@media (min-width: 1024px) {
  body[data-page="home"] .nav a:not(.btn) { color: rgba(255,255,255,.78); }
  body[data-page="home"] .nav a:not(.btn):hover, body[data-page="home"] .nav a[aria-current="page"] { color: #fff; }
}
body[data-page="home"] .hero { margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 3rem); }

/* ---- Section rail (right-hand dot navigation) --------------------------- */
.rail { position: fixed; right: 1.4rem; top: 50%; transform: translateY(-50%); z-index: 80; display: none; flex-direction: column; gap: .2rem; }
@media (min-width: 1200px) { .rail { display: flex; } }
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 1.6rem; }
.rail a i { width: .5rem; height: .5rem; border-radius: 50%; background: rgba(212,175,74,.45); transition: transform .3s var(--ease), background .3s var(--ease); }
.rail a span { position: absolute; right: 1.5rem; padding: .25rem .7rem; border-radius: var(--r-pill); background: rgba(4,6,31,.85); color: #fff; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all .3s var(--ease); pointer-events: none; border: 1px solid var(--glass-line); }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: none; }
.rail a.is-on i { background: var(--c-accent); transform: scale(1.7); box-shadow: 0 0 0 4px rgba(212,175,74,.22); }

/* ---- Hero ------------------------------------------------------------------------------ */
.hero--center { align-items: center; text-align: center; min-height: min(100vh, 1000px); padding-bottom: 9rem; }
.hero--center .hero__inner { grid-template-columns: 1fr; }
.hero--center .hero__content { margin-inline: auto; max-width: 62rem; }
.hero--center .lede { margin-inline: auto; color: #e3e7f6; text-shadow: 0 2px 24px rgba(4,6,31,.9); max-width: 36rem; }
.hero--center .btn-row { justify-content: center; }
.hero--center .hero__bg::after {
  background:
    radial-gradient(55% 50% at 50% 46%, rgba(4,6,31,.82), transparent 78%),
    linear-gradient(to top, rgba(4,6,31,.95) 3%, rgba(4,6,31,.3) 45%, rgba(4,6,31,.65) 100%);
}
.hero__word {
  position: absolute; left: 50%; bottom: -.14em; transform: translateX(-50%); z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-size: clamp(6rem, 3rem + 22vw, 26rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(212,175,74,.22);
}
.hero__foot {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-ondark-ink-soft);
  border-top: 1px solid var(--c-ondark-line);
}
.hero__foot .hero__chips { margin: 0; gap: .5rem 1.6rem; letter-spacing: .06em; text-transform: none; font-size: var(--step--1); }
@media (max-width: 900px) { .hero__foot { justify-content: center; } .hero__foot > span { display: none; } }
.hero__hint::after { content: ""; display: inline-block; width: 2.4rem; height: 1px; margin-left: .8rem; vertical-align: middle; background: var(--c-accent); }
.hero .hero__scroll { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero--center .hero__bg { transform: translate3d(calc(var(--hx, 0) * 1px), calc(var(--py, 0px) + var(--hy, 0) * 1px), 0) scale(1.1); transition: transform .5s var(--ease); }
  .hero__word { transform: translateX(calc(-50% + var(--hx, 0) * -.8px)) translateY(calc(var(--hy, 0) * -.6px)); transition: transform .6s var(--ease); }
  .js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
  .js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + .5s); }
  .js.is-ready [data-split] .w > span { transform: none; }
  .js .hero__content > :not(h1), .js .hero__foot { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) 1.1s, transform 1s var(--ease) 1.1s; animation: none; }
  .js.is-ready .hero__content > :not(h1), .js.is-ready .hero__foot { opacity: 1; transform: none; }
  .js .hero__foot { transform: translate(-50%, 24px); }
  .js.is-ready .hero__foot { transform: translateX(-50%); }
}

/* ---- Ticker ------------------------------------------------------------------------------ */
.ticker { overflow: hidden; background: #04061f; border-block: 1px solid rgba(212,175,74,.25); padding-block: 1.15rem; }
.ticker__track { display: flex; width: max-content; gap: 3rem; animation: ticker 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap; font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--c-ondark-ink-soft); }
.ticker span::after { content: ""; width: .5rem; height: .5rem; transform: rotate(45deg); background: var(--c-accent); }
@keyframes ticker { to { transform: translateX(calc(-50% - 1.5rem)); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---- Scroll story -------------------------------------------------------------------------- */
.story { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--g-night); color: var(--c-ondark-ink); }
.story__stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: calc(var(--header-h) + 1rem) clamp(1rem, 4vw, 4rem) 2rem; }
.story__svg { width: min(100%, 72vh); height: auto; overflow: visible; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.story__steps { padding-right: var(--gutter); }
.story__step { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; max-width: 30rem; opacity: .28; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: translateX(14px); }
.story__step.is-active { opacity: 1; transform: none; }
.story__no { font-family: var(--font-display); font-size: var(--step-1); color: var(--c-accent); letter-spacing: .2em; }
.story__step h2 { font-size: var(--step-5); color: #fff; }
.story__step p { font-size: var(--step-1); color: var(--c-ondark-ink-soft); line-height: 1.55; }
.story__step .arrow-link { align-self: flex-start; color: var(--c-ondark-ink); border-color: var(--c-ondark-line); }
.story__stat { position: absolute; left: clamp(1rem, 4vw, 4rem); bottom: 2.4rem; min-height: 4.5rem; }
.story__stat span { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; gap: .2rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ondark-ink-soft); white-space: nowrap; opacity: 0; transform: translateY(14px); transition: all .6s var(--ease); }
.story__stat b { font-family: var(--font-display); font-weight: 600; font-size: var(--step-4); line-height: 1; letter-spacing: -.02em; text-transform: none; background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__stage[data-step="1"] [data-for="1"], .story__stage[data-step="2"] [data-for="2"], .story__stage[data-step="3"] [data-for="3"], .story__stage[data-step="4"] [data-for="4"] { opacity: 1; transform: none; }

/* SVG layers */
.s-land { fill: rgba(212,175,74,.07); stroke: rgba(212,175,74,.55); stroke-width: 2; stroke-dasharray: 8 8; }
.s-roads path { stroke: #e7d8b8; stroke-width: 13; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; transition: stroke-dashoffset 1.6s var(--ease); }
.s-roads path:nth-child(n+3) { transition-delay: .25s; }
.story__stage:is([data-step="2"], [data-step="3"], [data-step="4"]) .s-roads path { stroke-dashoffset: 0; }
.s-plots rect { fill: #3347c4; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 14ms); }
.s-plots rect.alt { fill: #d4af4a; }
.story__stage:is([data-step="3"], [data-step="4"]) .s-plots rect { opacity: .92; transform: none; }
.s-park circle { fill: #1b2a8c; stroke: #d4af4a; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.6); transition: all .8s var(--ease); }
.s-park circle.ring { fill: none; opacity: 0; stroke-opacity: .7; stroke-width: 1.5; }
.s-gate { opacity: 0; transition: opacity .8s var(--ease) .2s; }
.s-gate rect { fill: #d4af4a; }
.s-gate text { font: 600 10px var(--font-body); letter-spacing: .14em; fill: #060a33; }
.s-wall { fill: none; stroke: #d4af4a; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease); }
.story__stage[data-step="4"] .s-park circle { opacity: 1; transform: none; }
.story__stage[data-step="4"] .s-gate { opacity: 1; }
.story__stage[data-step="4"] .s-wall { stroke-dashoffset: 0; }

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story__stage { height: 52vh; padding-top: calc(var(--header-h) + .5rem); padding-bottom: 1rem; z-index: 2; background: linear-gradient(#060a33 80%, transparent); }
  .story__svg { width: auto; height: 100%; max-width: 100%; }
  .story__stat { display: none; }
  .story__steps { padding: 0 var(--gutter); margin-top: -4vh; }
  .story__step { min-height: 70vh; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .story__step { opacity: 1; transform: none; } }

/* ---- Interactive master plan --------------------------------------------------------- */
.plan { padding-block: var(--section-y); background: #080e3e; color: var(--c-ondark-ink); position: relative; }
.plan::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 80% 0%, rgba(212,175,74,.14), transparent 70%); }
.plan .container { position: relative; }
.plan__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.plan__head .eyebrow { margin-bottom: 1rem; }
.plan__head h2 { color: #fff; font-size: var(--step-5); }
.plan__head .lede { max-width: 34rem; color: var(--c-ondark-ink-soft); font-size: var(--step-0); }
.plan__layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); gap: 1.25rem; align-items: start; }
@media (max-width: 960px) { .plan__layout { grid-template-columns: 1fr; } }
.plan__map { border: 1px solid var(--glass-line); border-radius: var(--r-xl); padding: clamp(.8rem, 2vw, 1.5rem); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); }
#planSvg { width: 100%; height: auto; display: block; }
.plan__legend { display: flex; gap: 1.4rem; margin-top: .9rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ondark-ink-soft); }
.plan__legend span { display: inline-flex; align-items: center; gap: .5rem; }
.lg { width: .8rem; height: .8rem; border-radius: 3px; display: inline-block; }
.lg--available { background: #2f7d5d; } .lg--hold { background: #d4af4a; } .lg--sold { background: #5a6085; }

.pl-road { fill: #10185c; }
.pl-dash { stroke: rgba(231,216,184,.35); stroke-width: 2; stroke-dasharray: 10 10; }
.pl-park { fill: #1b2a8c; stroke: #d4af4a; stroke-width: 2; }
.pl-label { font: 600 13px var(--font-body); letter-spacing: .2em; fill: rgba(231,216,184,.55); text-anchor: middle; }
.plot { cursor: pointer; outline: none; transition: opacity .35s var(--ease); }
.plot rect { stroke: rgba(4,6,31,.6); stroke-width: 1; rx: 4; transition: fill .25s var(--ease), transform .25s var(--ease), stroke .25s; transform-box: fill-box; transform-origin: center; }
.plot text { font: 600 11px var(--font-body); fill: rgba(255,255,255,.82); text-anchor: middle; pointer-events: none; }
.plot--available rect { fill: #2f7d5d; } .plot--hold rect { fill: #b8912a; } .plot--sold rect { fill: #39406b; } .plot--sold text { fill: rgba(255,255,255,.35); }
.plot:hover rect, .plot:focus-visible rect { transform: scale(1.12); stroke: #fff; stroke-width: 1.5; }
.plot.is-sel rect { stroke: #fff; stroke-width: 3; transform: scale(1.14); }
.plot:hover, .plot.is-sel { filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
#planSvg.is-filtered .plot:not(.is-match) { opacity: .18; pointer-events: none; }

.plan__panel { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 960px) { .plan__panel { position: static; } }
.plan__filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--glass-line); color: var(--c-ondark-ink-soft); font-size: .8rem; transition: all .25s var(--ease); }
.chip b { font-weight: 600; color: var(--c-ondark-ink); }
.chip:hover { border-color: var(--c-accent); color: #fff; }
.chip.is-on { background: var(--g-gold); border-color: transparent; color: #060a33; } .chip.is-on b { color: #060a33; }
.plot-card { border: 1px solid var(--glass-line); border-radius: var(--r-xl); padding: 1.8rem; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); min-height: 20rem; display: flex; flex-direction: column; }
.plot-card__empty { margin: auto; text-align: center; color: var(--c-ondark-ink-soft); max-width: 18ch; }
.plot-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plot-card__id { font-family: var(--font-display); font-size: var(--step-4); line-height: 1; color: #fff; }
.plot-card__tag { padding: .3rem .8rem; border-radius: var(--r-pill); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.plot-card__tag--available { background: rgba(27,42,140,.25); color: #7fd6ac; } .plot-card__tag--hold { background: rgba(212,175,74,.22); color: #e7c987; } .plot-card__tag--sold { background: rgba(255,255,255,.1); color: #aaa; }
.plot-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; margin-block: 1.6rem; padding-block: 1.4rem; border-block: 1px solid var(--glass-line); }
.plot-card dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ondark-ink-soft); }
.plot-card dd { font-size: var(--step-1); color: #fff; margin-top: .15rem; }
.plot-card__price { font-family: var(--font-display); font-size: var(--step-4); line-height: 1; background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plot-card__price small { display: block; margin-top: .4rem; font-family: var(--font-body); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; -webkit-text-fill-color: var(--c-ondark-ink-soft); }
.plot-card .btn { margin-top: auto; }
.plot-card__price + .btn { margin-top: 1.5rem; }

/* ---- Pinned horizontal showcase ------------------------------------------------------------- */
.hscroll { position: relative; background: #04061f; color: var(--c-ondark-ink); }
.hscroll__sticky { padding-block: var(--section-y); }
.hscroll__intro { padding-inline: var(--gutter); max-width: var(--w-wide); margin: 0 auto 2.5rem; }
.hscroll__intro .eyebrow { margin-bottom: 1rem; }
.hscroll__intro h2 { color: #fff; font-size: var(--step-5); }
.hscroll__bar { display: none; margin-top: 1.6rem; width: 14rem; height: 2px; background: rgba(255,255,255,.14); }
.hscroll__bar i { display: block; height: 100%; background: var(--g-gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hscroll__track { display: grid; gap: 1.25rem; padding-inline: var(--gutter); max-width: var(--w-wide); margin-inline: auto; }
.hpanel { position: relative; display: flex; align-items: flex-end; min-height: 460px; border-radius: 32px; overflow: hidden; isolation: isolate; border: 1px solid var(--glass-line); }
.hpanel__media { position: absolute; inset: 0; z-index: -2; }
.hpanel__media .ph-img { transition: transform 1.4s var(--ease); }
.hpanel:hover .hpanel__media .ph-img { transform: scale(1.06); }
.hpanel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4,6,31,.96) 5%, rgba(4,6,31,.2) 65%); }
.hpanel__no { position: absolute; top: .4rem; right: 1.8rem; font-family: var(--font-display); font-size: clamp(5rem, 3rem + 9vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.hpanel__body { padding: clamp(1.5rem, 1rem + 2vw, 3rem); max-width: 40rem; display: grid; gap: .9rem; justify-items: start; }
.hpanel__body h3 { color: #fff; font-size: var(--step-5); }
.hpanel__body p { color: var(--c-ondark-ink-soft); font-size: var(--step-0); }
.hpanel__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; font-size: var(--step--1); color: var(--c-ondark-ink); }
.hpanel__meta b { padding: .35rem .9rem; border-radius: var(--r-pill); background: var(--g-gold); color: #060a33; font-weight: 600; }
.hpanel__go { display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); border-bottom: 1px solid var(--c-accent); padding-bottom: .35rem; }
.hpanel__go svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.hpanel:hover .hpanel__go svg { transform: translateX(6px); }

@media (min-width: 900px) {
  .hscroll.is-pinned .hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; padding-block: calc(var(--header-h) + 1rem) 2rem; display: flex; flex-direction: column; justify-content: center; }
  .hscroll.is-pinned .hscroll__intro { margin-bottom: 1.5rem; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
  .hscroll.is-pinned .hscroll__intro h2 { font-size: var(--step-4); }
  .hscroll.is-pinned .hscroll__bar { display: block; margin: 0 0 .8rem; }
  .hscroll.is-pinned .hscroll__track { display: flex; gap: 1.5rem; width: max-content; max-width: none; margin: 0; padding-inline: max(var(--gutter), calc((100vw - var(--w-wide)) / 2 + var(--gutter))); will-change: transform; }
  .hscroll.is-pinned .hpanel { flex: 0 0 min(72vw, 980px); height: min(62vh, 560px); min-height: 0; }
}

/* ---- Bento ------------------------------------------------------------------------------------- */
.bento-section { background: var(--g-night); position: relative; overflow: hidden; }
.bento-section::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); }
.bento-section .container { position: relative; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 1.1rem; }
.bento__tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; padding: 1.8rem; border-radius: 24px; border: 1px solid var(--glass-line); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.bento__tile:hover { transform: translateY(-4px); border-color: rgba(212,175,74,.5); }
.bento__tile b { font-family: var(--font-display); font-weight: 600; font-size: var(--step-4); line-height: 1; background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento__tile span { color: var(--c-ondark-ink-soft); font-size: var(--step--1); }
.bento__tile--lg { grid-column: span 2; grid-row: span 2; padding: 0; }
.bento__tile--lg .ph-img { position: absolute; inset: 0; }
.bento__tile--lg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,6,31,.92), rgba(4,6,31,.1) 70%); }
.bento__tile--lg .bento__body { position: relative; z-index: 2; padding: 2rem; display: flex; flex-direction: column; gap: .4rem; }
.bento__tile--lg b { font-size: var(--step-6); }
.bento__tile--wide { grid-column: span 2; justify-content: space-between; }
.bento__list { display: grid; gap: .9rem; }
.bento__list li { display: flex; align-items: center; gap: .9rem; color: var(--c-ondark-ink); }
.bento__list svg { width: 2.2rem; height: 2.2rem; padding: .5rem; border-radius: 10px; background: color-mix(in srgb, var(--c-accent) 22%, transparent); color: var(--c-accent); }
.bento__tile--wide .arrow-link { align-self: flex-start; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__tile--lg { grid-column: span 2; grid-row: span 1; min-height: 320px; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .bento__tile--lg, .bento__tile--wide { grid-column: auto; } }

/* ---- Calculator ----------------------------------------------------------------------------------- */
.calc-section { background: var(--c-bg); }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-deep); border: 1px solid var(--c-line); background: var(--c-surface); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc__controls { padding: clamp(1.6rem, 1rem + 3vw, 3.2rem); display: grid; gap: 2.2rem; align-content: center; }
.calc__row label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-soft); }
.calc__row output { font-family: var(--font-display); font-size: var(--step-2); letter-spacing: 0; text-transform: none; color: var(--c-brand-deep); }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c-accent) var(--fill, 50%), var(--c-line) var(--fill, 50%)); outline-offset: 8px; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--g-gold); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(6,10,51,.4); transition: transform .2s var(--ease); }
.calc input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #d4af4a; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(6,10,51,.4); }
.calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.calc__result { position: relative; padding: clamp(1.6rem, 1rem + 3vw, 3.2rem); background: var(--g-night); color: var(--c-ondark-ink); display: flex; flex-direction: column; gap: 1.3rem; justify-content: center; }
.calc__result::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 100% 0%, rgba(212,175,74,.25), transparent 60%); }
.calc__result > * { position: relative; }
.calc__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-ondark-ink-soft); }
.calc__total { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); line-height: 1; letter-spacing: -.02em; background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc__result dl { display: grid; gap: .8rem; padding-block: 1.3rem; border-block: 1px solid var(--c-ondark-line); }
.calc__result dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.calc__result dt { font-size: var(--step--1); color: var(--c-ondark-ink-soft); }
.calc__result dd { font-family: var(--font-display); font-size: var(--step-2); color: #fff; }
.calc__result .form__note { color: var(--c-ondark-ink-soft); }

/* ---- Timeline --------------------------------------------------------------------------------------- */
.timeline { counter-reset: tl; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 1.35rem; left: 1.35rem; right: 1.35rem; height: 1px; background: linear-gradient(90deg, var(--c-accent), var(--c-line-strong) 60%, transparent); }
.timeline li { counter-increment: tl; position: relative; padding-top: 4rem; }
.timeline li::before { content: counter(tl); position: absolute; top: 0; left: 0; width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--g-gold); color: #060a33; font-family: var(--font-display); font-size: var(--step-1); box-shadow: 0 0 0 8px var(--c-bg-alt), var(--glow-gold); }
.timeline h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.timeline p { font-size: var(--step--1); color: var(--c-ink-soft); max-width: 30ch; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 2.2rem; }
  .timeline::before { top: 1.35rem; bottom: 1.35rem; left: 1.35rem; right: auto; width: 1px; height: auto; background: linear-gradient(var(--c-accent), var(--c-line-strong)); }
  .timeline li { padding: 0 0 0 4rem; }
}

/* ---- FAQ + CTA -------------------------------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.3fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-layout__head { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.1rem; justify-items: start; }
@media (max-width: 900px) { .faq-layout__head { position: static; } }
.faq-layout__head h2 { font-size: var(--step-4); }
body[data-page="home"] #brochure { background: var(--c-bg); }
.cta-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; text-align: left; }
@media (max-width: 900px) { .cta-split { grid-template-columns: 1fr; } }
.cta-split__text .eyebrow { margin-bottom: 1.2rem; }
.cta-split__text h2 { font-size: var(--step-4); }
.cta-split__text p { margin-inline: 0; margin-bottom: 2rem; }
.cta-split__form { padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); border-radius: var(--r-xl); border: 1px solid var(--glass-line); background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cta-split__form .field label { color: var(--c-ondark-ink-soft); }
.cta-split__form .field input, .cta-split__form .field select { background: rgba(4,6,31,.4); border-color: var(--glass-line); color: #fff; }
.cta-split__form .field input::placeholder { color: rgba(255,255,255,.4); }
.cta-split__form .field select option { color: #060a33; }
.cta-split__form .form__note { color: var(--c-ondark-ink-soft); }

/* ---- Fixes: count-up spans inside gradient numbers; hero fits viewport ---- */
.bento__tile b span, .editorial__stats dt span { font: inherit; letter-spacing: inherit; color: inherit; }
.hero--center { min-height: min(calc(100vh - 38px), 1000px); }
.hscroll__intro .eyebrow { margin-bottom: .8rem; }
/* ---- Polish ---- */
.bento__tile:not(.bento__tile--lg) b { font-size: var(--step-3); white-space: nowrap; }
.bento__tile--lg::after { background: linear-gradient(to top, rgba(4,6,31,.96) 8%, rgba(4,6,31,.55) 45%, rgba(4,6,31,.05) 80%); }
.plot-card dd { font-size: var(--step-0); line-height: 1.25; }
/* ==========================================================================
   Lead-gen additions: hero with form, proof strip, who-we-help
   ========================================================================== */

.hero--lead { align-items: center; text-align: left; min-height: min(calc(100vh - 38px), 980px); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.hero--lead .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (max-width: 1023px) { .hero--lead .hero__inner { grid-template-columns: 1fr; } }
.hero--lead .hero__bg::after { background: radial-gradient(70% 70% at 25% 50%, rgba(4,6,31,.78), transparent 75%), linear-gradient(to top, rgba(4,6,31,.95) 3%, rgba(4,6,31,.3) 50%, rgba(4,6,31,.7) 100%); }
.hero--lead h1 { font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.2rem); }
.hero--lead .lede { margin: 0; color: #e3e7f6; text-shadow: 0 2px 24px rgba(4,6,31,.9); max-width: 34rem; }
.hero__points { display: grid; gap: .85rem; margin-top: 1.8rem; }
.hero__points li { display: flex; align-items: center; gap: .85rem; color: #eef2ee; font-size: var(--step-0); }
.hero__points svg { flex: none; width: 2rem; height: 2rem; padding: .45rem; border-radius: 50%; background: rgba(212,175,74,.2); color: var(--c-accent); }
.hero__call { margin-top: 1.8rem; color: var(--c-ondark-ink-soft); font-size: var(--step--1); }
.hero__call a { display: inline-flex; align-items: center; gap: .5rem; margin-left: .4rem; color: #fff; font-weight: 600; font-size: var(--step-1); border-bottom: 1px solid var(--c-accent); }
.hero__call svg { width: 1.1rem; height: 1.1rem; color: var(--c-accent); }
.hero__form { position: relative; padding: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); border-radius: 28px; border: 1px solid var(--glass-line); background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.18); display: grid; gap: .9rem; }
.hero__form .badge { justify-self: start; background: rgba(4,6,31,.5); color: var(--c-ondark-ink); border-color: var(--glass-line); }
.hero__form h2 { color: #fff; font-size: var(--step-3); line-height: 1.1; }
.hero__form .lead-form { gap: .85rem; }
@media (prefers-reduced-motion: no-preference) { .js .hero__form { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) 1.2s, transform 1s var(--ease) 1.2s; } .js.is-ready .hero__form { opacity: 1; transform: none; } }

.proof { background: #04061f; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid rgba(212,175,74,.2); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 960px) { .proof__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .proof__grid { grid-template-columns: 1fr; } }
.proof__item { display: grid; gap: .6rem; padding: 1.6rem; border-radius: 22px; border: 1px solid var(--glass-line); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.proof__item:hover { transform: translateY(-4px); border-color: rgba(212,175,74,.5); }
.proof__item svg { width: 2.8rem; height: 2.8rem; padding: .7rem; border-radius: 14px; background: var(--g-gold); color: #060a33; }
.proof__item h3 { color: #fff; font-size: var(--step-1); margin-top: .4rem; }
.proof__item p { color: var(--c-ondark-ink-soft); font-size: var(--step--1); }

.who { background: var(--c-bg); }
.who__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1000px) { .who__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .who__grid { grid-template-columns: 1fr; } }
.who__card { position: relative; display: flex; flex-direction: column; gap: .8rem; padding: 2rem 1.7rem; border-radius: 26px; border: 1px solid var(--c-line); background: var(--c-surface); box-shadow: var(--shadow-soft); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.who__card:hover { transform: translateY(-6px); background: var(--g-green); box-shadow: var(--shadow-deep); }
.who__card > svg { width: 3.2rem; height: 3.2rem; padding: .8rem; border-radius: 16px; background: color-mix(in srgb, var(--c-accent) 20%, transparent); color: var(--c-brand); transition: all var(--dur) var(--ease); }
.who__card:hover > svg { background: var(--g-gold); color: #060a33; }
.who__card h3 { font-size: var(--step-2); transition: color var(--dur) var(--ease); }
.who__card p { font-size: var(--step--1); color: var(--c-ink-soft); transition: color var(--dur) var(--ease); }
.who__card .arrow-link { margin-top: auto; align-self: flex-start; padding-top: .6rem; cursor: pointer; }
.who__card:hover h3 { color: #fff; } .who__card:hover p { color: var(--c-ondark-ink-soft); } .who__card:hover .arrow-link { color: var(--c-accent); }

/* ---- Fix: the page is dark, so any plain section must paint its own light background ---- */
body[data-page="home"] .section:not(.section--alt):not(.on-dark):not(.bento-section) { background: var(--c-bg); }
body[data-page="home"] .site-header, body[data-page="home"] .site-header[data-scrolled="true"] { background: #05083a; }
/* ---- Location & connectivity map (replaces the old scroll story) ---------------- */
.connect { position: relative; overflow: hidden; background: var(--g-night); padding-block: var(--section-y); }
.connect::before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(75% 75% at 30% 50%, #000, transparent); -webkit-mask-image: radial-gradient(75% 75% at 30% 50%, #000, transparent); }
.connect__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
@media (max-width: 900px) { .connect__grid { grid-template-columns: 1fr; } .connect__map { order: 2; } }
.connect__map svg { display: block; width: 100%; max-width: 600px; height: auto; margin-inline: auto; overflow: visible; }
.cn-ring { fill: none; stroke: rgba(212, 175, 74, .22); stroke-dasharray: 3 8; }
.cn-ring--outer { stroke: rgba(212, 175, 74, .42); }
.cn-spoke { stroke: rgba(212, 175, 74, .6); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) var(--d, 0ms); }
.cn-pulse { fill: rgba(212, 175, 74, .38); transform-origin: 300px 300px; animation: cn-pulse 3.2s ease-out infinite; }
.cn-center { font: 700 17px var(--font-display); fill: #060a33; }
.cn-center-sub { font: 600 10.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; fill: rgba(6, 10, 51, .78); }
.cn-node { transition: opacity .7s var(--ease) var(--d, 0ms); }
.cn-node circle { fill: #0a0f47; stroke: #d4af4a; stroke-width: 2.2; transition: fill .25s var(--ease), stroke-width .25s var(--ease); }
.cn-ico { color: #d4af4a; transition: color .25s var(--ease); }
.cn-time { font: 700 15px var(--font-display); fill: #d4af4a; }
.cn-node.is-hot circle { fill: #d4af4a; stroke-width: 4; }
.cn-node.is-hot .cn-ico { color: #060a33; }
.js .connect__map:not(.is-visible) .cn-spoke { stroke-dashoffset: 1; }
.js .connect__map:not(.is-visible) .cn-node { opacity: 0; }
@keyframes cn-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cn-pulse { animation: none; opacity: 0; } .cn-spoke, .cn-node { transition: none; } }

.connect__text .eyebrow { margin-bottom: 1rem; }
.connect__text h2 { font-size: var(--step-5); margin-bottom: 1rem; }
.connect__text .lede { max-width: 34rem; }
.connect__list { display: grid; gap: .55rem; margin: 1.8rem 0 1.1rem; }
.connect__list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: .7rem .9rem; border-radius: 14px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .05); color: var(--c-ondark-ink); transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); cursor: default; outline: none; }
.connect__list li:hover, .connect__list li:focus-visible, .connect__list li.is-hot { background: rgba(212, 175, 74, .14); border-color: rgba(212, 175, 74, .6); transform: translateX(4px); }
.connect__no { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: rgba(212, 175, 74, .16); color: #d4af4a; }
.connect__no svg { width: 1.2rem; height: 1.2rem; }
.connect__place { font-size: var(--step--1); line-height: 1.35; }
.connect__time { padding: .28rem .85rem; border-radius: 99px; background: var(--g-gold); color: #060a33; font: 700 .82rem var(--font-display); white-space: nowrap; }
.connect__note { max-width: 36rem; font-size: .78rem; line-height: 1.55; color: var(--c-ondark-ink-soft); }
.connect__text .btn { margin-top: 1.4rem; }
