/* ============================================================
   LARU SPACES — Live Better Outside
   Warm-white architectural editorial system with cinematic dark chapters
   ============================================================ */
:root {
  /* Warm white system */
  --bg-0: #ffffff;
  --bg-1: #faf9f6;
  --bg-2: #f3f1ec;
  --bg-3: #eceae5;
  /* Dark cinematic system */
  --dark-0: #050506;
  --dark-1: #0b0b0c;
  --dark-2: #121214;
  /* Text on light */
  --text-0: #111111;
  --text-1: #555555;
  --text-2: #898989;
  /* Text on dark */
  --ink: #f6f5f2;
  --ink-dim: rgba(246, 245, 242, 0.68);
  --ink-faint: rgba(246, 245, 242, 0.42);
  /* Brand accent — sparingly */
  --cyan: #2bd9d4;
  --violet: #8b85f5;
  --green: #3ee6a0;
  --grad: linear-gradient(90deg, var(--cyan), var(--violet), var(--green));
  /* Lines & shadows */
  --line-light: rgba(17, 17, 17, 0.12);
  --line-lighter: rgba(17, 17, 17, 0.07);
  --line-dark: rgba(246, 245, 242, 0.14);
  --shadow-soft: 0 30px 80px -30px rgba(17, 17, 17, 0.28);
  /* Type */
  --display: "Clash Display", "Inter", -apple-system, sans-serif;
  --sans: "Satoshi", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 1s;
  /* Layout */
  --w-wide: 1520px;
  --w-content: 1180px;
  --w-text: 720px;
  --sect-pad: clamp(100px, 15vh, 190px);
  --gutter: clamp(22px, 5vw, 72px);
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--bg-1);
  color: var(--text-0);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  font-synthesis: none;
  font-optical-sizing: auto;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-1);
}
[data-theme="dark"] .eyebrow { color: var(--ink-dim); }

.meta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
}
[data-theme="dark"] .meta-label { color: var(--ink-faint); }

.chapter-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-light);
  user-select: none;
}
[data-theme="dark"] .chapter-num { -webkit-text-stroke-color: var(--line-dark); }

/* ---------- Logo lockup ---------- */
.logo-lockup { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 32px; height: auto; flex-shrink: 0; }
.logo-word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.logo-word span { font-weight: 400; letter-spacing: 0.38em; }

/* ---------- Nav (theme-aware) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  color: var(--ink);
  transition: color 0.5s var(--ease), background 0.5s var(--ease), padding 0.4s var(--ease);
}
.nav.on-light { color: var(--text-0); }
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav.scrolled.on-light { background: rgba(250, 249, 246, 0.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-lighter); }
.nav.scrolled:not(.on-light) { background: rgba(5, 5, 6, 0.65); backdrop-filter: blur(16px); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.25s;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:not(.nav-cta):hover { opacity: 1; }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  border: 2px solid currentColor;
  padding: 12px 24px;
  border-radius: 4px;
  opacity: 1 !important;
  font-weight: 700 !important;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s;
}
.nav:not(.on-light) .nav-cta:hover { background: var(--ink); color: var(--dark-0); }
.nav.on-light .nav-cta:hover { background: var(--text-0); color: var(--bg-1); }

/* ---------- Chapter HUD ---------- */
#chapter-hud {
  position: fixed;
  left: var(--gutter);
  bottom: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.5s, opacity 0.5s;
  pointer-events: none;
}
#chapter-hud.on-dark { color: var(--ink-faint); }
#chapter-hud .hud-line {
  width: 44px; height: 2px;
  background: var(--line-light);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
#chapter-hud .hud-line span {
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Cinematic scrub sections ---------- */
.cinematic { position: relative; height: 460vh; background: var(--dark-0); }
#hero.cinematic { height: 773vh; }
.cinematic.short { height: 320vh; }
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--dark-0);
}
.sticky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.42) 0%, transparent 20%, transparent 78%, rgba(0,0,0,0.45) 100%);
}
.overlay { position: relative; z-index: 10; text-align: center; padding: 0 24px; width: 100%; }
.line {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 1200px);
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.2vw, 3.9rem);
  letter-spacing: -0.005em;
  line-height: 1.14;
  color: var(--ink);
  opacity: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.65), 0 4px 50px rgba(0,0,0,0.45);
  will-change: opacity, transform;
}
.line.small {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 2px 14px rgba(0,0,0,0.65), 0 4px 34px rgba(0,0,0,0.45);
}
.line.small .grad-text { text-shadow: none; }

/* Water scrub: bright, high-variance backdrop needs stronger anchoring than the default shadow */
#connector .line {
  -webkit-text-stroke: 0.7px rgba(4, 8, 10, 0.5);
  text-shadow:
    0 1px 2px rgba(0,0,0,0.9),
    0 3px 10px rgba(0,0,0,0.75),
    0 8px 30px rgba(0,0,0,0.55);
}
#connector .vignette {
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(0,0,0,0.6) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 20%, transparent 70%, rgba(0,0,0,0.7) 100%);
}
.line.lockup { display: grid; justify-items: center; gap: 16px; position: relative; }
.line.lockup .logo-icon {
  width: clamp(50px, 6vw, 80px);
  color: var(--ink);
  position: relative;
  z-index: 2;
}
.lockup-glow {
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: clamp(160px, 22vw, 300px);
  height: clamp(160px, 22vw, 300px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,217,212,0.5) 0%, rgba(139,133,245,0.32) 38%, rgba(62,230,160,0.14) 62%, transparent 75%);
  filter: blur(18px);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: glow-shimmer 3.4s ease-in-out infinite;
}
@keyframes glow-shimmer {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(0.94); }
  50% { opacity: 0.85; transform: translateX(-50%) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .lockup-glow { animation: none; opacity: 0.7; } }
.line.lockup .lockup-word {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}
.line.lockup .lockup-sub {
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.6rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
}
.line.lockup .lockup-slogan {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(0.68rem, 1.2vw, 0.9rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 4px;
}
.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: opacity 0.4s;
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px; height: 34px;
  margin: 10px auto 0;
  background: linear-gradient(180deg, var(--ink-faint), transparent);
}

/* ---------- Reveal (restrained) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.img-reveal { overflow: hidden; border-radius: var(--radius); }
.img-reveal img {
  transform: scale(1.04);
  transition: transform 1.4s var(--ease);
}
.img-reveal.in img, .img-reveal.reveal.in img { transform: scale(1); }

/* ---------- Arrival: cinematic full-bleed poster ---------- */
.arrival-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.arrival-cinematic .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.8s var(--ease);
}
.arrival-cinematic.in .bg { transform: scale(1); }
.arrival-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(38% 46% at 88% 92%, rgba(4,4,5,0.55) 0%, transparent 70%),
    linear-gradient(100deg, rgba(4,4,5,0.92) 0%, rgba(4,4,5,0.72) 30%, rgba(4,4,5,0.22) 56%, rgba(4,4,5,0.02) 72%),
    linear-gradient(180deg, rgba(4,4,5,0.4) 0%, transparent 22%, transparent 68%, rgba(4,4,5,0.5) 100%);
}
.arrival-copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: clamp(90px, 15vh, 170px) var(--gutter) clamp(60px, 10vh, 110px);
  color: #fff;
}
.arrival-copy > * + * { margin-top: 18px; }
.arrival-copy .chapter-num { display: block; margin-bottom: 4px; }
.arrival-copy .h-display {
  text-shadow: 0 4px 40px rgba(0,0,0,0.65);
  margin-top: 16px;
}
.arrival-copy .lede, .arrival-copy .body-copy {
  color: rgba(255,255,255,0.86) !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.55);
}
.arrival-copy-right {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 440px;
  text-align: right;
  color: #fff;
}
.arrival-copy-right p {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.65;
  text-shadow: 0 2px 18px rgba(0,0,0,0.75), 0 4px 44px rgba(0,0,0,0.6);
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(4, 4, 5, 0.32);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.arrival-copy-right p + p { margin-top: 16px; }

/* ---------- Section shells ---------- */
section[data-theme] { position: relative; }
.sect { padding: var(--sect-pad) var(--gutter); }
#why { padding-top: clamp(64px, 8vh, 120px); }
#services { padding-top: clamp(64px, 8vh, 120px); }
.inner { max-width: var(--w-content); margin: 0 auto; }
.inner-wide { max-width: var(--w-wide); margin: 0 auto; }
.inner-text { max-width: var(--w-text); margin: 0 auto; }

[data-theme="light"] { background: var(--bg-1); color: var(--text-0); }
[data-theme="light"].tone-2 { background: var(--bg-2); }
[data-theme="light"].tone-0 { background: var(--bg-0); }
[data-theme="dark"] { background: var(--dark-0); color: var(--ink); }

/* Soft transitions between light tones */
.tone-blend-top::before {
  content: "";
  position: absolute;
  top: -120px; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(243,241,236,0), var(--bg-2));
  pointer-events: none;
}
.to-dark-blend, .from-dark-blend { display: none; }

/* Headings: bold, confident, uppercase */
.h-display {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}
.h-section {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
}

/* Floating statement words */
.float-word {
  position: absolute;
  z-index: 0;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(5rem, 15vw, 14rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}
.float-word.fill {
  -webkit-text-stroke: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.1;
}
.float-word.work-mark {
  font-size: clamp(6.5rem, 19vw, 17rem);
  font-weight: 700;
  -webkit-text-stroke: 2px rgba(17, 17, 17, 0.16);
}
[data-theme="dark"] .float-word { -webkit-text-stroke-color: rgba(246, 245, 242, 0.08); }
.sect { position: relative; overflow: hidden; }
.sect .inner, .sect .inner-wide { position: relative; z-index: 1; }
.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  color: var(--text-1);
}
[data-theme="dark"] .lede { color: var(--ink-dim); }
.body-copy { font-size: 1.02rem; line-height: 1.8; color: var(--text-1); }
[data-theme="dark"] .body-copy { color: var(--ink-dim); }

/* ---------- Chapter: split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.split.flip { grid-template-columns: 1.1fr 0.9fr; }
.split .copy > * + * { margin-top: 22px; }
.split .copy .h-section { margin-top: 14px; }
.split figure { position: relative; }
.split figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.split figcaption {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ---------- Full-bleed image chapter ---------- */
.bleed {
  position: relative;
  padding: 0;
}
.bleed .img-reveal { border-radius: 0; }
.bleed img { width: 100%; height: min(92vh, 900px); object-fit: cover; }
.bleed .bleed-caption {
  position: absolute;
  left: var(--gutter);
  bottom: 34px;
  z-index: 3;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.bleed .bleed-caption .meta-label { color: rgba(255,255,255,0.75); }
.bleed .bleed-caption h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin-top: 8px;
}
.bleed::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.45));
  pointer-events: none;
}

/* ---------- Materials chapter ---------- */
.materials-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.materials-grid .tall img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.materials-grid .wide-stack { display: grid; gap: clamp(24px, 3vw, 44px); }
.materials-grid .wide-stack img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }

.services-artwork {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin: 0 0 60px;
}

/* ---------- Services (2x3 card grid) ---------- */
.services-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.service-row {
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  overflow: hidden;
  padding: 0 0 26px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.service-row:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.service-row::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: 2;
}
.service-row:hover::before { transform: scaleX(1); }
.service-row .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-2);
  padding: 0 24px;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.service-row:hover .num {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-row h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.005em;
  padding: 0 24px;
  margin-bottom: 10px;
  transition: font-weight 0.2s;
}
.service-row:hover h3 {
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-row p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-1);
  padding: 0 24px;
}
.service-row .thumb {
  order: -1;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform 0.6s var(--ease);
}
.service-row:hover .thumb { transform: scale(1.04); }

/* Before/after build-in-seconds hover (Complete Property Transformations) */
.ba-thumb {
  order: -1;
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 20px;
}
.ba-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-thumb img.after {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.4s var(--ease);
}
.service-row:hover .ba-thumb img.after,
.ba-thumb.revealed img.after { clip-path: inset(0 0 0 0); }
.ba-thumb .ba-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5,5,6,0.55);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 4px;
}
.ba-thumb .ba-tag::after { content: "Before"; }
.service-row:hover .ba-thumb .ba-tag::after,
.ba-thumb.revealed .ba-tag::after { content: "After"; }
.ba-thumb {
  cursor: pointer;
}
.ba-hint {
  position: absolute;
  bottom: 10px; left: 10px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5,5,6,0.55);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 4px;
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.service-row:hover .ba-hint,
.ba-thumb.revealed .ba-hint { opacity: 0; }

/* ---------- Regional chapter: two visual worlds ---------- */
.regions-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(48px, 7vh, 88px);
}
.regions-head .h-section { margin: 16px 0 14px; }
.regions-head .lede { max-width: 46ch; margin: 0 auto; }
.region-feature {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.region-feature + .region-feature { margin-top: 4px; }
.region-feature img.bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.region-feature.in img.bg { transform: scale(1); }
.region-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,5,6,0.62) 100%);
  pointer-events: none;
}
.region-copy {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(44px, 7vh, 84px);
  color: #fff;
  max-width: 760px;
  text-shadow: 0 2px 28px rgba(0,0,0,0.55);
}
.region-copy .meta-label { color: rgba(255,255,255,0.75); }
.region-copy h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.05;
  margin: 12px 0 14px;
}
.region-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 54ch;
}
.regions-tag {
  text-align: center;
  padding: clamp(40px, 7vh, 72px) var(--gutter) 0;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  letter-spacing: 0.24em;
}

/* ---------- Process chapter ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--line-light);
  background: var(--line-light);
  margin-top: 56px;
}
.process-step {
  background: var(--bg-1);
  padding: clamp(28px, 3.4vw, 44px) clamp(20px, 2.4vw, 34px);
  position: relative;
  transition: background 0.35s;
}
.process-step:hover { background: var(--bg-0); }
.process-step .p-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 16px;
}
.process-step h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.process-step p { font-size: 0.92rem; line-height: 1.65; color: var(--text-1); }

/* ---------- Word of Mouth: testimonial garden ---------- */
.garden {
  position: relative;
  min-height: 110vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(90px, 14vh, 150px) var(--gutter);
}
.garden .garden-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 2s var(--ease);
}
.garden.in .garden-bg {
  transform: scale(1.02);
  animation: garden-breathe 16s ease-in-out infinite alternate;
}
@keyframes garden-breathe {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.2%); }
}
@media (prefers-reduced-motion: reduce) {
  .garden.in .garden-bg { animation: none; transform: scale(1.02); }
}
.garden .garden-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 50% 42%, rgba(5,5,6,0) 0%, rgba(5,5,6,0.55) 100%),
    linear-gradient(160deg, rgba(43,217,212,0.16) 0%, rgba(5,5,6,0) 34%, rgba(5,5,6,0) 62%, rgba(139,133,245,0.2) 100%),
    linear-gradient(180deg, rgba(5,5,6,0.6) 0%, rgba(5,5,6,0.18) 30%, rgba(5,5,6,0.24) 70%, rgba(5,5,6,0.72) 100%);
}
.garden-head {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.garden-head .eyebrow { color: rgba(255,255,255,0.85); }
.garden-head .h-section { margin: 14px 0 0; }
.bloom-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.bloom {
  position: absolute;
  max-width: min(400px, 44vw);
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 18px;
  padding: 19px 24px;
  font-size: 1.08rem;
  line-height: 1.58;
  color: #141414;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.55);
  opacity: 0;
  transform: scale(0.55) translateY(26px);
  transform-origin: bottom center;
  transition: opacity 0.9s var(--ease), transform 1.1s cubic-bezier(0.22, 1.4, 0.36, 1), backdrop-filter 0.9s var(--ease);
  pointer-events: none;
}
.bloom::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 26px;
  width: 16px; height: 16px;
  background: inherit;
  border-right: 1px solid rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.55);
  transform: rotate(45deg);
  border-radius: 3px;
}
.bloom.right::after { left: auto; right: 26px; }
.bloom .who {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bloom.bloomed {
  opacity: 1;
  transform: scale(1) translateY(0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease), transform 0.6s var(--ease), backdrop-filter 0.6s var(--ease);
}
.bloom.bloomed:hover {
  transform: scale(1.18);
  z-index: 5;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 34px 80px -24px rgba(0,0,0,0.7), 0 0 40px rgba(139,133,245,0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s;
}
.bloom.sm { max-width: min(310px, 38vw); font-size: 1rem; }
.bloom.sm.bloomed:hover { transform: scale(1.26); }
.bloom-field.focusing .bloom.bloomed:not(:hover) {
  opacity: 0.28;
  filter: blur(5px) saturate(0.7);
  transform: scale(0.94) translateY(0);
}
@media (max-width: 860px) {
  .garden { min-height: auto; }
  .bloom-field { position: relative; inset: auto; display: grid; gap: 18px; margin-top: 40px; }
  .bloom {
    position: relative !important;
    left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    max-width: 86% !important;
    justify-self: start;
  }
  .bloom:nth-child(even) { justify-self: end; }
  .bloom::after { left: 26px; right: auto; }
  .bloom:nth-child(even)::after { left: auto; right: 26px; }
}

/* ---------- Day-to-night chapter ---------- */
.daynight { position: relative; height: 300vh; }
.daynight .sticky { background: var(--dark-0); }
.dn-stage { position: absolute; inset: 0; }
.dn-stage img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.dn-stage img.night { opacity: 0; }
.dn-top-fade { display: none; }
.dn-copy {
  position: absolute;
  left: var(--gutter);
  bottom: 48px;
  z-index: 5;
  color: #fff;
  max-width: 680px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7), 0 4px 44px rgba(0,0,0,0.5);
}
.dn-copy .meta-label { font-size: 0.82rem; font-weight: 700; }
.dn-copy h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  margin: 12px 0 16px;
}
.dn-copy p { font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.7; color: rgba(255,255,255,0.9); font-weight: 500; }
.dn-meter {
  position: absolute;
  right: var(--gutter);
  bottom: 52px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.dn-meter .track {
  width: 130px; height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 1px;
  overflow: hidden;
}
.dn-meter .track span {
  display: block;
  height: 100%;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Gallery marquee (restrained) ---------- */
.gallery { padding: var(--sect-pad) 0 24px; overflow: hidden; }
.gallery .section-head {
  max-width: var(--w-content);
  margin: 0 auto 56px;
  padding: 0 var(--gutter);
}
.marquee {
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 22px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  cursor: grab;
}
.marquee.dragging { cursor: grabbing; scroll-snap-type: none; }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}
.g-item {
  position: relative;
  flex-shrink: 0;
  width: clamp(280px, 32vw, 480px);
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.g-item::after {
  content: attr(data-label);
  position: absolute;
  left: 16px; bottom: 13px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0);
  transition: color 0.35s ease;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
  z-index: 2;
}
.g-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.g-item:hover img { transform: scale(1.035); }
.g-item:hover::after { color: #fff; }
.g-item:hover::before { opacity: 1; }
.row-tag {
  display: block;
  max-width: var(--w-wide);
  margin: 0 auto 14px;
  padding: 0 var(--gutter);
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.9vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text-0);
  scroll-margin-top: 110px;
  transition: color 0.4s;
}
.row-tag.flash {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Gallery lightbox ---------- */
.g-item { cursor: zoom-in; }
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: grid;
  place-items: center;
  background: rgba(3, 3, 4, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  padding: clamp(20px, 6vw, 80px);
}
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox figure {
  position: relative;
  max-width: min(1400px, 92vw);
  max-height: 88vh;
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
  margin: 0;
}
#lightbox.open figure { transform: scale(1); }
#lightbox img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7);
}
#lightbox figcaption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
}
#lightbox .lb-close {
  position: absolute;
  top: -18px; right: -18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #050506;
  border: none;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6);
  transition: transform 0.25s var(--ease), background 0.25s;
}
#lightbox .lb-close:hover { transform: scale(1.08); background: var(--grad); }
@media (max-width: 640px) {
  #lightbox .lb-close { top: -50px; right: 0; }
}

/* ---------- Connector: California to St. Louis ---------- */
.connector {
  position: relative;
  height: 58vh;
  min-height: 380px;
  overflow: hidden;
}
.connector img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.connector.in img { transform: scale(1); }
.connector::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,6,0.35) 0%, rgba(5,5,6,0.05) 30%, rgba(5,5,6,0.05) 70%, rgba(5,5,6,0.5) 100%);
}
.connector-copy {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 0 60px rgba(0,0,0,0.5);
  max-width: 70%;
}
.connector-copy .meta-label { color: rgba(255,255,255,0.75); display: block; }
.connector-copy .h-section { color: #fff; margin-top: 14px; }
.connector-sub {
  margin-top: 16px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}
.connector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(34% 48% at 50% 48%, rgba(5,5,6,0.62) 0%, transparent 72%);
  pointer-events: none;
}

/* ---------- Why LARU (editorial) ---------- */
/* Signature double-border motif, echoing the paver detail as pure graphic language */
.double-rule {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 72px;
  margin: 20px 0 28px;
}
.double-rule span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--grad);
}
.double-rule span:last-child { width: 68%; }
[data-theme="dark"] .double-rule span { background: var(--grad); }

.why-quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 30ch;
  margin-bottom: 40px;
}
.why-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}
.why-cols p { margin-bottom: 20px; }
.why-close {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line-light);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
  max-width: 60ch;
}

/* ---------- Contact form (light editorial) ---------- */
.contact-head { max-width: 640px; margin-bottom: 56px; }
.contact-head .h-section { margin: 14px 0 16px; }
.form-wrap {
  max-width: 820px;
  background: var(--bg-0);
  border: 1px solid var(--line-lighter);
  border-radius: 14px;
  padding: clamp(28px, 5vw, 60px);
  box-shadow: 0 20px 60px -40px rgba(17,17,17,0.18);
}
fieldset { border: none; border-top: 1px solid var(--line-lighter); padding: 34px 0; }
fieldset:first-of-type { border-top: none; padding-top: 0; }
legend {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  padding-bottom: 6px;
  color: var(--text-0);
}
.field-hint { font-size: 0.88rem; color: var(--text-2); margin-bottom: 18px; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field input[type="file"] {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line-light);
  color: var(--text-0);
  font-family: var(--sans);
  font-size: 0.96rem;
  padding: 13px 15px;
  border-radius: 6px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 133, 245, 0.16);
}
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; margin-bottom: 6px; }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-1);
  cursor: pointer;
  padding: 7px 0;
  transition: color 0.2s;
}
.choice:hover { color: var(--text-0); }
.choice input { accent-color: var(--violet); width: 16px; height: 16px; flex-shrink: 0; }
.choice input:disabled + span { opacity: 0.45; }
.choice-other { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.choice-other input[type="text"] {
  flex: 1;
  background: var(--bg-1);
  border: 1px solid var(--line-light);
  color: var(--text-0);
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.limit-note { font-size: 0.78rem; font-weight: 600; color: var(--violet); margin-top: 4px; }
.submit-row { padding-top: 30px; border-top: 1px solid var(--line-lighter); text-align: center; }
.btn-submit {
  appearance: none;
  border: none;
  background: var(--text-0);
  color: var(--bg-1);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 17px 46px;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.3s;
}
.btn-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-submit span { position: relative; z-index: 1; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(17,17,17,0.5); }
.btn-submit:hover::before { opacity: 1; }
.form-closing { text-align: center; margin-top: 20px; color: var(--text-2); font-size: 0.88rem; line-height: 1.6; }
.form-success { display: none; text-align: center; padding: 60px 20px; }
.form-success.show { display: block; }
.form-success h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.form-success p { color: var(--text-1); font-size: 1.02rem; line-height: 1.7; max-width: 44ch; margin: 0 auto; }

/* ---------- Closing CTA (dark twilight) ---------- */
.closing {
  position: relative;
  min-height: 96vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.closing .panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.closing .panel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,6,0.72), rgba(5,5,6,0.25) 45%, rgba(5,5,6,0.88) 88%, rgba(5,5,6,1) 100%);
}
.closing-icon-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 780px);
  height: auto;
  color: #fff;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}
.closing-copy { position: relative; z-index: 2; text-align: center; padding: 24px; }
.closing-copy .h-display { color: #fff; text-shadow: 0 4px 44px rgba(0,0,0,0.6); }
.closing-copy p {
  margin: 20px auto 34px;
  max-width: 46ch;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--bg-1);
  color: var(--text-0);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 17px 44px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.3s;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.6); }
.btn-primary:hover::before { opacity: 1; }

/* ---------- Footer ---------- */
footer {
  background: var(--dark-0);
  color: var(--ink);
  padding: 76px var(--gutter) 44px;
  text-align: center;
  border-top: 1px solid var(--line-dark);
}
footer .foot-top { margin-bottom: 44px; }
footer .logo-lockup { justify-content: center; margin-bottom: 14px; }
footer .foot-slogan {
  display: inline-block;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin-bottom: 40px;
}
.foot-links a {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.25s;
  position: relative;
}
.foot-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.foot-links a:hover { color: var(--ink); }
.foot-links a:hover::after { transform: scaleX(1); }
.foot-divider {
  max-width: 220px;
  height: 1px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, transparent, var(--line-dark), transparent);
}
footer p { color: var(--ink-faint); font-size: 0.82rem; letter-spacing: 0.04em; }

/* ---------- Preloader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--dark-0);
  display: grid;
  place-items: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-inner .logo-icon { width: 60px; color: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.loader-bar { width: 170px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: sweep 1.1s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
.loader-word {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(246,245,242,0.5);
}

/* ---------- Grain (very subtle, dark sections only) ---------- */
.grain {
  position: fixed;
  inset: -100%;
  z-index: 500;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.028;
}

/* ---------- Custom cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    pointer-events: none;
    border-radius: 50%;
    translate: -50% -50%;
    opacity: 0;
    transition: opacity 0.2s ease, width 0.25s, height 0.25s, border-color 0.25s;
  }
  .cursor-dot.awake, .cursor-ring.awake { opacity: 1; }
  .cursor-dot { width: 5px; height: 5px; background: var(--text-0); mix-blend-mode: exclusion; filter: invert(1); }
  .cursor-ring {
    width: 30px; height: 30px;
    border: 1.5px solid rgba(128,128,128,0.45);
    transition: width 0.25s, height 0.25s, border-color 0.25s;
  }
  .cursor-ring.on {
    width: 46px; height: 46px;
    border: 1.5px solid transparent;
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)) padding-box, var(--grad) border-box;
  }
}

::selection { background: rgba(139, 133, 245, 0.35); }

/* Keyboard focus */
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}
.field input:focus-visible, .field textarea:focus-visible { outline: none; }

/* Anchor offsets under fixed nav */
section[id] { scroll-margin-top: 72px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .img-reveal img { transform: none !important; }
  .loader-inner .logo-icon, .loader-bar span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .split.flip, .materials-grid, .why-cols { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .region-feature { min-height: 74vh; }
  .float-word { font-size: clamp(4rem, 18vw, 8rem); }
  .services-rows { grid-template-columns: 1fr 1fr; }
  .field-row, .choice-grid { grid-template-columns: 1fr; }
  #chapter-hud { display: none; }
  .arrival-cinematic {
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 110px 0 60px;
  }
  .arrival-copy-right {
    position: static;
    transform: none;
    text-align: left;
    max-width: 600px;
    padding: 0 var(--gutter);
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .services-rows { grid-template-columns: 1fr; }
  .cinematic { height: 380vh; }
  .bleed img { height: 70vh; }
  .dn-copy { max-width: none; right: var(--gutter); }
  .dn-meter { display: none; }
}
