/* ==========================================================
   Awesome Additions — cinematic scroll home
   scroll-scrubbed video + real addition imagery
   ========================================================== */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body.home {
  background: var(--logo-navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--logo-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader .pre-mark {
  width: 280px;
  max-width: 70vw;
  height: auto;
  opacity: 0;
  transform: translateY(12px);
  animation: preMark 1s var(--ease-out) forwards;
}
@keyframes preMark { to { opacity: 1; transform: translateY(0); } }
.pre-num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--white);
  line-height: 1;
}
.pre-num::after { content: '%'; font-size: 22px; color: var(--bright-blue); margin-left: 4px; vertical-align: super; }
html.is-loading { overflow: hidden; }
html:not(.is-loading) .preloader { opacity: 0; visibility: hidden; }

/* ---------- Chapters ---------- */
.chapters { position: relative; z-index: 2; }
.ch { position: relative; }
.ch-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ch-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1140px;
  padding: 0 48px;
  text-align: center;
}

/* Backgrounds (video + image) */
.bg-video, .bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.bg-image { background-size: cover; background-position: center; }

/* Scrims for legibility */
.scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.scrim-full { background: linear-gradient(180deg, rgba(2,31,59,0.62), rgba(2,31,59,0.72)); }
.scrim-bottom {
  background:
    radial-gradient(ellipse 70% 55% at 50% 52%, rgba(2,31,59,0.55) 0%, rgba(2,31,59,0) 70%),
    linear-gradient(180deg, rgba(2,31,59,0.45) 0%, rgba(2,31,59,0.12) 42%, rgba(2,31,59,0.82) 100%);
}
.scrim-left { background: linear-gradient(90deg, rgba(2,31,59,0.85) 0%, rgba(2,31,59,0.5) 45%, rgba(2,31,59,0.12) 100%); }

/* Typography */
.ch-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--bright-blue); margin-bottom: 22px;
}
.ch-title {
  font-size: clamp(38px, 6.4vw, 84px);
  font-weight: 800; letter-spacing: -1.8px; line-height: 1.05; color: var(--white);
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.ch-title.small { font-size: clamp(30px, 4.6vw, 56px); letter-spacing: -1px; }
.accent-text { color: var(--bright-blue); }
.ch-sub {
  margin: 26px auto 0; max-width: 560px;
  font-size: clamp(15px, 1.7vw, 19px); color: var(--platinum); line-height: 1.65;
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
}
.ch-sub.left { margin-left: 0; text-align: left; }

/* Section heights = scroll runway */
.ch-hero { height: 150vh; }
.ch-problem { height: 340vh; }
.ch-services { height: 440vh; }
.ch-showcase { height: 180vh; }
.ch-standard { height: 230vh; }
.ch-cta { height: 150vh; }

/* ---------- Hero ---------- */
.hero-big {
  font-size: clamp(44px, 8vw, 100px);
  font-weight: 800; letter-spacing: -2.5px; line-height: 1.02; color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.45);
}
.hero-big .line { display: block; overflow: hidden; }
.hero-big .line > span { display: block; transform: translateY(110%); animation: lineUp 1s var(--ease-out) forwards; }
.hero-big .line:nth-child(1) > span { animation-delay: 0.05s; }
.hero-big .line:nth-child(2) > span { animation-delay: 0.18s; }
.hero-big .line:nth-child(3) > span { animation-delay: 0.31s; }
.hero-big .accent > span { color: var(--bright-blue); }
@keyframes lineUp { to { transform: translateY(0); } }
html.is-loading .hero-big .line > span { animation-play-state: paused; }

.cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--platinum); font-size: 10px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; opacity: 0.85;
}
.cue-line { width: 1px; height: 46px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden; }
.cue-line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--bright-blue); animation: cueDrop 2s var(--ease-out) infinite; }
@keyframes cueDrop { 0% { top: -60%; } 100% { top: 110%; } }

/* ---------- Problem ---------- */
.problem-stage { position: relative; height: 1.4em; }
.problem-line {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0;
  font-size: clamp(34px, 6vw, 76px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
  color: var(--white); opacity: 0; will-change: opacity, transform;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.problem-line em { font-style: normal; color: var(--bright-blue); }
.problem-line.final { font-size: clamp(30px, 5vw, 64px); }

/* ---------- Services horizontal (photo cards) ---------- */
.h-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: var(--logo-navy); }
.h-head { position: absolute; top: 12vh; left: 0; right: 0; text-align: center; padding: 0 40px; z-index: 4; }
.h-track { display: flex; gap: 28px; padding: 0 max(40px, calc(50vw - 540px)); will-change: transform; align-items: stretch; }
.h-card {
  position: relative; flex: 0 0 400px; min-height: 62vh;
  border-radius: 4px; overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.h-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,31,59,0) 30%, rgba(2,31,59,0.55) 65%, rgba(2,31,59,0.92) 100%);
  transition: background 0.4s;
}
.h-card:hover::after { background: linear-gradient(180deg, rgba(2,31,59,0.1) 20%, rgba(2,31,59,0.6) 60%, rgba(2,31,59,0.95) 100%); }
.h-num { position: absolute; top: 24px; left: 26px; z-index: 2; font-size: 14px; font-weight: 800; letter-spacing: 2px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.h-card-body { position: relative; z-index: 2; padding: 30px 30px 34px; }
.h-card h3 { font-size: 25px; font-weight: 700; letter-spacing: -0.4px; color: #fff; margin-bottom: 8px; }
.h-card .scope { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bright-blue); margin-bottom: 12px; }
.h-card-body p:last-child { color: var(--platinum); font-size: 14.5px; line-height: 1.55; margin: 0; }
.h-more { background: var(--bright-blue); align-items: center; justify-content: center; text-align: center; }
.h-more::after { display: none; }
.h-more .h-num { position: static; font-size: 34px; margin-bottom: 10px; }
.h-more .h-card-body { padding: 0 30px; }

/* ---------- Showcase ---------- */
.showcase-inner { text-align: left; max-width: 760px; margin-right: auto; }
.showcase-inner .ch-eyebrow { text-align: left; }

/* ---------- Standard ---------- */
.ch-standard { background: linear-gradient(180deg, var(--logo-navy), var(--navy-2)); }
.standard-inner { max-width: 760px; }
.std-list { list-style: none; margin: 38px 0 34px; padding: 0; display: grid; gap: 2px; text-align: left; }
.std-list li { display: flex; align-items: flex-start; gap: 22px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.12); opacity: 0.32; transition: opacity 0.45s; }
.std-list li.lit { opacity: 0.62; }
.std-list li.active { opacity: 1; }
.std-num { font-size: 20px; font-weight: 800; color: var(--bright-blue); width: 32px; flex: 0 0 32px; line-height: 1.5; }
.std-body { flex: 1; }
.std-name { display: block; font-size: clamp(19px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.4px; color: var(--white); }
.std-desc { max-height: 0; opacity: 0; overflow: hidden; margin: 0; max-width: 62ch; color: var(--platinum); font-size: 15px; line-height: 1.5; transition: max-height 0.55s var(--ease-out), opacity 0.4s, margin-top 0.4s; }
.std-list li.active .std-desc { max-height: 140px; opacity: 1; margin-top: 7px; }

/* ---------- CTA ---------- */
.cta-actions { margin-top: 40px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Home content bands (reviews / service area) ---------- */
.home-band { position: relative; z-index: 2; padding: 110px 0; background: var(--logo-navy); }
.home-band.alt { background: var(--navy-2); }
.band-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.band-head .ch-title { color: #fff; }
.band-head .ch-sub { color: var(--platinum); }
.home-band .review-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); }
.home-band .review-card blockquote, .home-band .review-author { color: var(--white); }
.home-band .review-meta { color: var(--bright-blue); }
.home-band .city-chips { justify-content: center; }
.home-band .city-chip { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); color: var(--platinum); }
.home-band .city-chip.live, .home-band .city-chip:hover { background: var(--bright-blue); border-color: var(--bright-blue); color: #fff; }
.home-band .city-chip.soon { cursor: default; }
.home-band .city-chip.soon:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); color: var(--platinum); }
.home-band .vt-note { color: var(--platinum); }

/* ---------- Footer ---------- */
body.home .footer { position: relative; z-index: 2; background: var(--logo-navy); }
.footer-nav { display: flex; gap: 28px; justify-content: center; margin: 4px 0 22px; }
.footer-nav a { color: var(--platinum); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: color 0.25s; }
.footer-nav a:hover { color: var(--bright-blue); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ch-hero, .ch-problem, .ch-services, .ch-showcase, .ch-standard, .ch-cta { height: auto; }
  .ch-sticky, .h-pin { position: relative; height: auto; min-height: 90vh; padding: 80px 0; }
  .problem-line { position: relative; opacity: 1; transform: none; margin-bottom: 24px; }
  .problem-stage { height: auto; }
  .h-track { flex-wrap: wrap; justify-content: center; transform: none !important; }
  .h-card { flex: 0 0 320px; min-height: 52vh; }
  .std-list li { opacity: 1; }
  .std-desc { max-height: none; opacity: 1; margin-top: 7px; }
  .cue-line::after { animation: none; }
  .bg-video { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .ch-inner { padding: 0 24px; }
  .ch-problem { height: 320vh; }
  .ch-services { height: 380vh; }
  .h-card { flex: 0 0 80vw; min-height: 58vh; }
  .h-track { padding: 0 10vw; gap: 18px; }
  .h-head { top: 9vh; }
  .showcase-inner { text-align: center; }
  .showcase-inner .ch-eyebrow { text-align: center; }
  .ch-sub.left { text-align: center; margin-left: auto; }
  .scrim-left { background: linear-gradient(180deg, rgba(2,31,59,0.55), rgba(2,31,59,0.82)); }
}
