/* ==========================================================================
   Crystal Lights — Core Stylesheet
   Permanent outdoor LED lighting · British Columbia
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Base / ink */
  --ink-000: #0d1930;   /* client brand background — RGB 13, 25, 48 */
  --ink-050: #0f1c36;
  --ink-100: #13213e;
  --ink-200: #182847;
  --ink-300: #203256;
  --ink-400: #2d4169;

  /* Brand gold (from the Crystal Lights mark) */
  --gold-100: #ffe9b0;
  --gold-300: #ffd166;
  --gold-400: #f6b93b;
  --gold-500: #e0a021;
  --gold-700: #9c6b0e;

  /* Brand navy */
  --navy-500: #16305c;
  --navy-700: #0d1c37;

  /* RGB spectrum accents — the product itself */
  --spec-cyan: #22d3ee;
  --spec-blue: #3b82f6;
  --spec-violet: #a855f7;
  --spec-magenta: #f0398b;
  --spec-emerald: #34d399;
  --spec-amber: #fbbf24;

  /* Text */
  --text-000: #ffffff;
  --text-100: #eef1f7;
  --text-300: #b6c0d4;
  --text-500: #8a95ac;
  --text-700: #7282a3;

  /* Surfaces */
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.1);
  --hairline-strong: rgba(255, 255, 255, 0.18);

  /* Type */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;

  /* Scale (fluid) */
  --step--1: clamp(0.8rem, 0.77rem + 0.14vw, 0.875rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.16vw, 1.05rem);
  --step-1: clamp(1.13rem, 1.06rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.72vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.44rem + 1.55vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 4.75rem);
  --step-5: clamp(3rem, 1.1rem + 8vw, 8.5rem);
  --step-6: clamp(3.6rem, 0.5rem + 12vw, 13rem);

  /* Rhythm */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --maxw: 1280px;
  --maxw-narrow: 760px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Shadows */
  --shadow-md: 0 18px 50px -24px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
  --glow-gold: 0 0 0 1px rgba(246, 185, 59, 0.28), 0 18px 55px -18px rgba(246, 185, 59, 0.45);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--ink-400) var(--ink-050);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text-300);
  background: var(--ink-000);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, legend {
  font-family: var(--font-display);
  color: var(--text-000);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  font-optical-sizing: auto;
  text-wrap: balance;
}

/* Optical sizing: the bigger the type, the tighter it wants to be. */
.h-display, .cta-band h2 { letter-spacing: -0.05em; font-weight: 700; }
.h2 { letter-spacing: -0.04em; }

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold-400); color: var(--ink-000); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-050); }
::-webkit-scrollbar-thumb { background: var(--ink-400); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-700); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold-400);
  color: var(--ink-000);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}

.shell--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--flush-top { padding-top: 0; }

.stack > * + * { margin-top: var(--stack-gap, 1rem); }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* --------------------------------------------------------------------------
   4. Typographic helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.96rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}

.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--gold-400));
}

.h-display { font-size: var(--step-5); font-weight: 700; letter-spacing: -0.04em; }
.h1 { font-size: var(--step-4); }
.h2 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.15; }
.h3 { font-size: var(--step-2); }
.h4 { font-size: var(--step-1); }

.lede {
  font-size: var(--step-1);
  color: var(--text-300);
  line-height: 1.6;
  font-weight: 350;
}

.muted { color: var(--text-500); }
.small { font-size: var(--step--1); }

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.gold { color: var(--gold-400); }

.spectrum-text {
  background: linear-gradient(100deg, var(--spec-cyan), var(--spec-violet) 38%, var(--spec-magenta) 62%, var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 720px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1.15rem; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--gold-400);
  --btn-fg: var(--ink-000);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
  white-space: nowrap;
}

.btn svg { width: 1em; height: 1em; flex: none; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--gold-300), #fff 45%, var(--gold-400));
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--glow-gold); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-100);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
}
.btn--ghost::after { background: rgba(255, 255, 255, 0.08); }
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 16px 40px -22px rgba(0, 0, 0, 0.9);
  color: var(--text-000);
}

.btn--dark { --btn-bg: var(--ink-200); --btn-fg: var(--text-100); }
.btn--dark::after { background: var(--ink-300); }

.btn--lg { padding: 1.1rem 2rem; font-size: var(--step-0); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-400);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--gold-400), var(--gold-400));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease-out);
}
.link-arrow svg { transition: transform 0.4s var(--ease-out); width: 1em; }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Decorative atmosphere
   -------------------------------------------------------------------------- */
.aurora {
  position: absolute;
  /* Never extend past the sides: this sits in unclipped sections and would
     otherwise widen the page on phones. */
  inset: -10% 0 auto;
  height: 70vh;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.5;
  background:
    radial-gradient(40% 55% at 18% 30%, rgba(34, 211, 238, 0.3), transparent 70%),
    radial-gradient(38% 50% at 52% 15%, rgba(168, 85, 247, 0.28), transparent 70%),
    radial-gradient(42% 55% at 84% 35%, rgba(246, 185, 59, 0.26), transparent 70%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hairline-top { border-top: 1px solid var(--hairline); }

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, var(--navy-700), var(--ink-100) 55%, var(--navy-700));
  border-bottom: 1px solid var(--hairline);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-500);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 40px;
  padding-block: 0.45rem;
  text-align: center;
}

.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__item svg { width: 13px; height: 13px; color: var(--gold-400); }
.topbar a:hover { color: var(--gold-300); }
.topbar__sep { color: var(--ink-400); }

@media (max-width: 860px) {
  .topbar__item--hide-sm, .topbar__sep { display: none; }
  .topbar { font-size: 0.72rem; letter-spacing: 0.03em; }
  .topbar__item { align-items: flex-start; }
  .topbar__item svg { margin-top: 0.2em; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
    backdrop-filter 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--hairline);
  box-shadow: 0 20px 50px -35px rgba(0, 0, 0, 1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 0.75rem; }

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy-500), var(--ink-100));
  box-shadow: inset 0 0 0 1px rgba(246, 185, 59, 0.35), 0 10px 26px -14px rgba(246, 185, 59, 0.55);
}
.brand__mark svg { width: 21px; height: 21px; color: var(--gold-400); }

.brand__img {
  height: 50px;
  width: auto;
  flex: none;
}
@media (max-width: 520px) { .brand__img { height: 42px; } }

.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  color: var(--text-000);
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__tag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 5px;
}

/* Desktop menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.6rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-300);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-400);
  transform: translate(-50%, 6px);
  opacity: 0;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 0 8px var(--gold-400);
}

.nav__link:hover { color: var(--text-000); background: var(--surface); }
.nav__link[aria-current="page"] { color: var(--text-000); }
.nav__link[aria-current="page"]::after { opacity: 1; transform: translate(-50%, 0); }

.nav__actions { display: flex; align-items: center; gap: 0.7rem; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-100);
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color 0.3s, background-color 0.3s;
}
.nav__phone svg { width: 15px; height: 15px; color: var(--gold-400); }
.nav__phone:hover { color: var(--gold-300); background: var(--surface); }

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1.6px;
  background: var(--text-100);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out), top 0.35s var(--ease-out);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }

.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav__link { padding-inline: 0.7rem; font-size: 0.82rem; }
  .nav__phone { display: none; }
}

@media (max-width: 1040px) {
  .nav__menu { display: none; }
  .burger { display: block; }
}
@media (max-width: 520px) {
  .nav__actions .btn { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.25rem var(--gutter) 2rem;
  background: rgba(13, 25, 48, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }

.drawer__menu {
  list-style: none;
  padding: 2.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.drawer__menu a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.7rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-100);
  border-bottom: 1px solid var(--hairline);
  transition: color 0.3s, padding-left 0.3s var(--ease-out);
}
.drawer__menu a span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--gold-400);
  letter-spacing: 0.12em;
}
.drawer__menu a:hover, .drawer__menu a[aria-current="page"] { color: var(--gold-300); padding-left: 0.5rem; }

.drawer__foot { display: grid; gap: 0.8rem; }
.drawer__contact { display: grid; gap: 0.4rem; font-size: 0.9rem; }
.drawer__contact a { color: var(--text-300); }
.drawer__contact a:hover { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(620px, 94svh, 980px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  margin-top: -78px;
  padding-top: 78px;
}

.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img,
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__media img.is-active,
.hero__img.is-active {
  opacity: 1;
}

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.13) translate3d(-1.5%, -1.5%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 25, 48, 0.82) 0%, rgba(13, 25, 48, 0.28) 34%, rgba(13, 25, 48, 0.72) 74%, var(--ink-000) 100%),
    radial-gradient(70% 60% at 20% 80%, rgba(13, 25, 48, 0.75), transparent 72%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.5rem 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-100);
  width: fit-content;
}
.hero__badge b { color: var(--gold-300); font-weight: 600; }
.hero__badge-chip {
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--gold-400);
  color: var(--ink-000);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.hero__title {
  font-family: 'Bebas Neue', var(--font-display), sans-serif;
  font-size: clamp(3.8rem, 2rem + 8.5vw, 9.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.92;
  text-transform: uppercase;
  margin-top: 1.5rem;
  max-width: 15ch;
}
.hero__title .spectrum-text {
  font-family: 'Bebas Neue', var(--font-display), sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 1.18em !important;
  display: inline-block;
  line-height: 0.92;
  letter-spacing: 0.03em !important;
  margin-top: 0.05em;
  text-transform: uppercase;
}

.hero__sub {
  margin-top: 1.5rem;
  max-width: 52ch;
  font-size: var(--step-1);
  color: var(--text-300);
  font-weight: 350;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--hairline);
}

.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); }
.hero__stat { display: grid; gap: 0.2rem; }
.hero__stat dt {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text-000);
  letter-spacing: -0.03em;
}
.hero__stat dd {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-500);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-500);
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--gold-400), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-300);
  animation: cueRun 2.2s var(--ease-in-out) infinite;
}
@keyframes cueRun {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* Animated roofline strand */
.strand {
  position: absolute;
  left: 0;
  right: 0;
  top: 20%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}
.strand svg { width: 100%; height: auto; }
.strand circle { animation: bulbPulse 3.4s var(--ease-in-out) infinite; }
@keyframes bulbPulse {
  0%, 100% { opacity: 0.35; r: 3; }
  50% { opacity: 1; r: 4.2; }
}

@media (max-width: 760px) {
  .strand { display: none; }

  /* Narrow screens stack the copy over the brightest part of the photo,
     so the scrim has to carry more of the contrast. */
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(13, 25, 48, 0.9) 0%, rgba(13, 25, 48, 0.62) 30%, rgba(13, 25, 48, 0.86) 66%, var(--ink-000) 100%);
  }
  .hero { min-height: auto; padding-bottom: 1rem; }
  .hero__title { max-width: none; }
  .hero__cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   9. Marquee ticker
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding-block: 1.35rem;
  border-block: 1px solid var(--hairline);
  background: linear-gradient(90deg, var(--ink-050), var(--ink-100), var(--ink-050));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: tickerRun 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerRun { to { transform: translateX(-50%); } }

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-300);
  white-space: nowrap;
}
.ticker__item b { color: var(--text-000); font-weight: 600; }
.ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 10px var(--gold-400);
  flex: none;
}

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--hairline);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background-color 0.5s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(246, 185, 59, 0.14), transparent 65%);
  transition: opacity 0.5s var(--ease-out);
}

.card:hover { transform: translateY(-5px); border-color: var(--hairline-strong); }
.card:hover::before { opacity: 1; }

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 1.35rem;
  background: linear-gradient(150deg, rgba(246, 185, 59, 0.18), rgba(246, 185, 59, 0.04));
  border: 1px solid rgba(246, 185, 59, 0.25);
  color: var(--gold-400);
}
.card__icon svg { width: 23px; height: 23px; }

.card h3 { font-size: var(--step-1); margin-bottom: 0.7rem; }
.card p { font-size: 0.94rem; color: var(--text-500); }

.card__num {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: -0.05em;
}

/* Feature list inside cards */
.ticks { list-style: none; padding: 0; margin-top: 1.2rem; display: grid; gap: 0.55rem; }
.ticks li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-300);
}
.ticks li::before {
  content: "";
  flex: none;
  margin-top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 1.8px solid var(--gold-400);
  border-bottom: 1.8px solid var(--gold-400);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   11. Split / editorial sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 900px) { .split--reverse > *:first-child { order: 0; } }

.frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  background: var(--ink-100);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 11; }
.frame--square { aspect-ratio: 1; }

.frame__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  background: rgba(13, 25, 48, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  font-size: 0.8rem;
  color: var(--text-300);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.frame__caption b { color: var(--text-000); font-weight: 600; }

/* Floating stat badge over imagery */
.float-badge {
  position: absolute;
  z-index: 3;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(9, 13, 22, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.15rem;
}
.float-badge strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-300);
  letter-spacing: -0.02em;
}
.float-badge span { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-500); }

/* --------------------------------------------------------------------------
   12. Before / after reveal slider
   -------------------------------------------------------------------------- */
.reveal-slider {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: var(--ink-100);
}
.reveal-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.reveal-slider__top {
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.reveal-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.55);
  transform: translateX(-1px);
  pointer-events: none;
}
.reveal-slider__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.reveal-slider__grip svg { width: 22px; height: 22px; }

.reveal-slider__tag {
  position: absolute;
  top: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(13, 25, 48, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline-strong);
  color: var(--text-100);
  pointer-events: none;
}
.reveal-slider__tag--l { left: 1rem; }
.reveal-slider__tag--r { right: 1rem; }

/* --------------------------------------------------------------------------
   13. Colour studio (interactive demo)
   -------------------------------------------------------------------------- */
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 980px) { .studio { grid-template-columns: 1fr; } }

.studio__stage {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  background: #000;
  isolation: isolate;
}

.studio__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  /* The base photograph is lit emerald; rotating its hue re-lights the whole
     house convincingly, rather than washing a flat colour over the sky. */
  filter: var(--fx, none);
  transition: filter 0.75s var(--ease-out);
}

.studio__stage.is-spectrum img {
  animation: hueCycle 11s linear infinite;
}
@keyframes hueCycle {
  from { filter: hue-rotate(0deg) saturate(1.35) brightness(1.05); }
  to { filter: hue-rotate(360deg) saturate(1.35) brightness(1.05); }
}

/* A gentle screen-blend bloom keeps the night sky black while the glow
   around the roofline picks up the selected colour. */
.studio__glow {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: var(--glow, 0.3);
  background: radial-gradient(120% 70% at 50% 42%, var(--tint, #ffd166), transparent 62%);
  transition: background 0.75s var(--ease-out), opacity 0.75s var(--ease-out);
}

.studio__label {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(13, 25, 48, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-000);
  letter-spacing: 0.04em;
}
.studio__label i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tint, #ffd166);
  box-shadow: 0 0 12px var(--tint, #ffd166);
  transition: background-color 0.6s, box-shadow 0.6s;
  flex: none;
}
.studio__stage.is-spectrum .studio__label i {
  background: conic-gradient(from 210deg, var(--spec-magenta), var(--spec-violet), var(--spec-blue), var(--spec-cyan), var(--spec-emerald), var(--spec-amber), var(--spec-magenta));
}

.studio__panel {
  align-self: stretch;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, var(--surface-2), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.studio__panel h3 { font-size: var(--step-1); }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 0.6rem; }
.swatch {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--c);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  padding: 0;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--ink-100), 0 0 0 4px var(--c, #fff), 0 0 24px -4px var(--c, #fff);
  transform: scale(1.06);
}
.swatch--spectrum {
  background: conic-gradient(from 210deg, var(--spec-magenta), var(--spec-violet), var(--spec-blue), var(--spec-cyan), var(--spec-emerald), var(--spec-amber), var(--spec-magenta));
}
.swatch--spectrum[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink-100), 0 0 0 4px var(--gold-400); }

.presets { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.52rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-300);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.chip:hover { border-color: var(--hairline-strong); color: var(--text-000); }
.chip[aria-pressed="true"] {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--ink-000);
  font-weight: 600;
}

.field-row { display: grid; gap: 0.55rem; }
.field-row label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-500);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ink-400), var(--gold-400));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold-400);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold-400);
}

/* --------------------------------------------------------------------------
   14. Process timeline
   -------------------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; }

.step {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.2rem, 2.5vw, 1.9rem);
  border: 1px solid var(--hairline);
  margin: -0.5px;
  transition: background-color 0.5s var(--ease-out);
}
.step:hover { background: var(--surface); }

.step__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-300);
  border: 2px solid var(--gold-400);
  margin-bottom: 1.4rem;
  position: relative;
}
.step__dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(246, 185, 59, 0.3);
  animation: ping 2.8s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

.step__k {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.7rem;
  display: block;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.step p { font-size: 0.92rem; color: var(--text-500); }

/* --------------------------------------------------------------------------
   15. Gallery
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.mosaic {
  /* Column masonry: photos of different shapes pack with no dead space,
     which a row-based grid cannot do without a JS layout pass. */
  columns: 3;
  column-gap: clamp(0.6rem, 1.4vw, 1rem);
}

@media (max-width: 900px) { .mosaic { columns: 2; } }
@media (max-width: 560px) { .mosaic { columns: 1; } }

.tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(0.6rem, 1.4vw, 1rem);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--ink-100);
  cursor: zoom-in;
  isolation: isolate;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, center);
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease-out);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13, 25, 48, 0.85));
  opacity: 0.7;
  transition: opacity 0.5s var(--ease-out);
}
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { opacity: 0.95; }

.tile__meta {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.05rem;
  z-index: 2;
  transform: translateY(6px);
  opacity: 0;
  transition: all 0.45s var(--ease-out);
}
.tile:hover .tile__meta, .tile:focus-visible .tile__meta { transform: none; opacity: 1; }
.tile__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.tile__meta span { font-size: 0.75rem; color: var(--text-300); letter-spacing: 0.08em; }

.tile__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(13, 25, 48, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline-strong);
  color: var(--gold-300);
}

/* Shape variants drive the masonry rhythm. */
.tile--wide { aspect-ratio: 16 / 10; }
.tile--tall { aspect-ratio: 3 / 4; }
.tile--half { aspect-ratio: 3 / 2; }
.tile--full { aspect-ratio: 16 / 9; }

.tile.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(2, 3, 7, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out);
}
.lightbox.is-open img { transform: scale(1); }

.lightbox__cap {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-300);
}
.lightbox__cap strong { display: block; color: #fff; font-family: var(--font-display); }

.lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hairline-strong);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.lightbox__btn:hover { background: var(--gold-400); color: var(--ink-000); transform: scale(1.06); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

/* --------------------------------------------------------------------------
   16. Stats band
   -------------------------------------------------------------------------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), rgba(255, 255, 255, 0.015));
}
.stat {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-right: 1px solid var(--hairline);
  text-align: center;
}
.stat:last-child { border-right: 0; }
@media (max-width: 700px) { .stat { border-right: 0; border-bottom: 1px solid var(--hairline); } }

.stat__n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-000);
  line-height: 1;
}
.stat__n sup { font-size: 0.45em; color: var(--gold-400); top: -0.75em; }
.stat__l {
  margin-top: 0.65rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-500);
}

/* --------------------------------------------------------------------------
   17. Testimonials
   -------------------------------------------------------------------------- */
.quotes {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }

.quote {
  flex: 0 0 min(100%, 420px);
  scroll-snap-align: start;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.quote__stars { display: flex; gap: 3px; color: var(--gold-400); }
.quote__stars svg { width: 16px; height: 16px; }
.quote blockquote { font-size: 1.02rem; color: var(--text-100); line-height: 1.6; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 0.85rem; }
.quote__av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy-500), var(--ink-200));
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-300);
  font-size: 0.9rem;
  flex: none;
}
.quote__who strong { display: block; color: var(--text-000); font-size: 0.95rem; font-weight: 600; }
.quote__who span { font-size: 0.8rem; color: var(--text-500); }

.quotes-nav { display: flex; gap: 0.5rem; }
.quotes-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  color: var(--text-100);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease-out);
}
.quotes-nav button:hover { background: var(--gold-400); color: var(--ink-000); border-color: var(--gold-400); }
.quotes-nav svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   18. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2.2vw, 1.6rem) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--text-100);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.faq__q:hover { color: var(--gold-300); }
.faq__ic {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  display: grid;
  place-items: center;
  position: relative;
  transition: background-color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.faq__ic::before, .faq__ic::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.faq__ic::before { width: 12px; height: 1.6px; }
.faq__ic::after { width: 1.6px; height: 12px; }
.faq__item.is-open .faq__ic { background: var(--gold-400); border-color: var(--gold-400); color: var(--ink-000); transform: rotate(180deg); }
.faq__item.is-open .faq__ic::after { opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.5rem; max-width: 68ch; color: var(--text-500); }

/* --------------------------------------------------------------------------
   19. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.15rem; }

.field { display: grid; gap: 0.5rem; }
.field > label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-500);
  font-weight: 500;
}
.field > label .req { color: var(--gold-400); }

.input, .select, .textarea {
  width: 100%;
  padding: 0.92rem 1.05rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  color: var(--text-100);
  font-size: 0.95rem;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.input::placeholder, .textarea::placeholder { color: var(--text-700); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(246, 185, 59, 0.12);
}
.textarea { resize: vertical; min-height: 130px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a95ac' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 17px;
  padding-right: 2.6rem;
}
.select option { background: var(--ink-100); color: var(--text-100); }

/* Option pills (checkbox / radio cards) */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 0.6rem; }
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-300);
  transition: all 0.3s var(--ease-out);
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--hairline-strong);
  display: grid;
  place-items: center;
  transition: all 0.25s var(--ease-out);
}
.opt__box::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--ink-000);
  border-bottom: 2px solid var(--ink-000);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.25s var(--ease-out);
  margin-top: -2px;
}
.opt:hover { border-color: var(--hairline-strong); color: var(--text-100); }
.opt:has(input:checked) { border-color: var(--gold-400); background: rgba(246, 185, 59, 0.1); color: var(--text-000); }
.opt:has(input:checked) .opt__box { background: var(--gold-400); border-color: var(--gold-400); }
.opt:has(input:checked) .opt__box::after { transform: rotate(-45deg) scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold-400); outline-offset: 2px; }

.form__note { font-size: 0.8rem; color: var(--text-700); }

/* Contact details block */
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.15rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list__ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(246, 185, 59, 0.18), rgba(246, 185, 59, 0.04));
  border: 1px solid rgba(246, 185, 59, 0.25);
  color: var(--gold-400);
}
.contact-list__ic svg { width: 17px; height: 17px; }
.contact-list dt,
.contact-list__k {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: 0.2rem;
}
.contact-list__v { color: var(--text-100); font-size: 0.96rem; line-height: 1.5; }
.contact-list__v a:hover { color: var(--gold-300); }

.form__status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #8ff0c8;
  font-size: 0.9rem;
  display: none;
}
.form__status.is-shown { display: block; }
.form__status.is-error { border-color: rgba(240, 57, 139, 0.4); background: rgba(240, 57, 139, 0.1); color: #ffa6c9; }

.form-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: formSpin 0.7s linear infinite;
  vertical-align: -2px;
  margin-right: 0.5rem;
}
@keyframes formSpin {
  to { transform: rotate(360deg); }
}

/* Multi-step quote builder */
.steps-bar { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 2rem; }
.steps-bar__i {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: var(--ink-300);
  overflow: hidden;
  position: relative;
}
.steps-bar__i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.steps-bar__i.is-done::after { transform: scaleX(1); }

.qstep { display: none; }
.qstep.is-active { display: grid; gap: 1.15rem; animation: fadeUp 0.5s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.qnav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }

.qsummary { display: grid; gap: 0.6rem; }
.qsummary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.9rem;
}
.qsummary__row dt { color: var(--text-500); }
.qsummary__row dd { margin: 0; color: var(--text-000); font-weight: 500; text-align: right; }

/* --------------------------------------------------------------------------
   20. Service area
   -------------------------------------------------------------------------- */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.area {
  padding: 1.4rem 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--surface);
  transition: all 0.4s var(--ease-out);
}
.area:hover { border-color: rgba(246, 185, 59, 0.4); background: rgba(246, 185, 59, 0.05); }
.area h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.area p { font-size: 0.86rem; color: var(--text-500); }
.area__pin { color: var(--gold-400); width: 18px; height: 18px; margin-bottom: 0.85rem; }

/* --------------------------------------------------------------------------
   21. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--hairline);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 25, 48, 0.86), rgba(13, 25, 48, 0.72));
}
.cta-band h2 { font-size: var(--step-4); max-width: 18ch; margin-inline: auto; }
.cta-band p { margin: 1.2rem auto 0; max-width: 54ch; }
.cta-band .hero__cta { justify-content: center; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--ink-050), var(--ink-000));
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), var(--spec-violet), var(--spec-cyan), transparent);
  opacity: 0.55;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__about p { margin-top: 1.2rem; font-size: 0.9rem; color: var(--text-500); max-width: 38ch; }

.footer__col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer__col a, .footer__col li { font-size: 0.9rem; color: var(--text-500); transition: color 0.3s; }
.footer__col a:hover { color: var(--gold-300); }
.footer__col li.with-ic { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__col li.with-ic svg { width: 15px; height: 15px; color: var(--gold-400); flex: none; margin-top: 0.28em; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.6rem; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  color: var(--text-300);
  transition: all 0.35s var(--ease-out);
}
.socials a:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--ink-000); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

.footer__bar {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-700);
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer__bar a:hover { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   23. Floating quote button (mobile dock - disabled per client request)
   -------------------------------------------------------------------------- */
.dock {
  display: none !important;
}

/* --------------------------------------------------------------------------
   24. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
  margin-top: -78px;
  padding-top: clamp(9rem, 14vw, 13rem);
  border-bottom: 1px solid var(--hairline);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 25, 48, 0.9) 0%, rgba(13, 25, 48, 0.62) 45%, var(--ink-000) 100%);
}
.page-hero h1 { font-size: var(--step-4); max-width: 17ch; margin-top: 1.2rem; }
.page-hero p { margin-top: 1.3rem; max-width: 56ch; }

.crumbs { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; color: var(--text-500); }
.crumbs a:hover { color: var(--gold-300); }
.crumbs svg { width: 12px; height: 12px; opacity: 0.5; }

/* --------------------------------------------------------------------------
   25. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   26. Utilities
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-xs { margin-top: 0.75rem; }
.mt-sm { margin-top: 1.25rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }
.flex-between { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ==========================================================================
   27. Light as interface
   The product is light, so light drives the UI: a cursor-tracked glow,
   scroll-driven relighting, and type that behaves like illumination.
   ========================================================================== */

/* --- Cursor light ------------------------------------------------------- */
.cursorlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: screen;
  opacity: 0;
  background: radial-gradient(circle, rgba(246, 185, 59, 0.16), rgba(246, 185, 59, 0.05) 38%, transparent 68%);
  transition: opacity 0.6s var(--ease-out);
  will-change: transform;
}
.cursorlight.is-on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { .cursorlight { display: none; } }

/* --- Oversized marquee -------------------------------------------------- */
.bigmarquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-block: 1px solid var(--hairline);
  background:
    radial-gradient(60% 140% at 50% 50%, rgba(246, 185, 59, 0.07), transparent 70%),
    var(--ink-050);
}
.bigmarquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  animation: tickerRun 44s linear infinite;
}
.bigmarquee:hover .bigmarquee__track { animation-play-state: paused; }

.bigmarquee__word {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text-000);
}
/* Alternating outline words keep a long strip from reading as a wall. */
.bigmarquee__word--ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
}
.bigmarquee__star {
  flex: none;
  width: clamp(18px, 2.5vw, 34px);
  height: clamp(18px, 2.5vw, 34px);
  color: var(--gold-400);
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Scroll-driven relighting scene ------------------------------------- */
.scene {
  position: relative;
  background: var(--ink-000);
}


.scene__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.scene__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.04);
  /* Set by JS from scroll position — the house genuinely relights. */
  filter: var(--scene-fx, none);
}
.scene__glow {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  background: radial-gradient(115% 65% at 50% 44%, var(--scene-tint, #ffd166), transparent 60%);
  opacity: var(--scene-glow, 0.22);
}
.scene__scrim {
  position: absolute;
  inset: 0;
  /* The copy column needs a dark bed, but these two gradients composite, so
     each stays light through the middle or the house goes black. */
  background:
    linear-gradient(90deg, rgba(13, 25, 48, 0.88) 0%, rgba(13, 25, 48, 0.6) 24%, rgba(13, 25, 48, 0.12) 46%, transparent 62%),
    linear-gradient(180deg, rgba(13, 25, 48, 0.72) 0%, rgba(13, 25, 48, 0.06) 26%, rgba(13, 25, 48, 0.06) 62%, rgba(13, 25, 48, 0.88) 100%);
}

.scene__inner {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  align-content: space-between;
  height: 100%;
  padding-block: clamp(7.5rem, 17vh, 11rem) clamp(2rem, 6vh, 4rem);
}

.scene__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.scene__title {
  font-size: var(--step-6);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: #fff;
  max-width: 11ch;
  margin-top: 0.5rem;
}
@media (min-width: 900px) {
  .scene__title, .scene__copy { max-width: 54%; }
  .scene__copy { max-width: 40ch; }
}

.scene__copy {
  margin-top: 1.4rem;
  max-width: 44ch;
  font-size: var(--step-1);
  color: var(--text-300);
  font-weight: 350;
}

/* Copy swaps as you pass each stop, so it fades rather than jumps. */
.scene__swap { transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.scene__swap.is-changing { opacity: 0; transform: translateY(14px); }

.scene__rail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.scene__tick {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-700);
  padding: 0.45rem 0.9rem 0.45rem 0.65rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), background-color 0.45s;
}
.scene__tick i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-400);
  flex: none;
  transition: background-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.scene__tick.is-on {
  color: var(--text-000);
  border-color: var(--hairline-strong);
  background: rgba(255, 255, 255, 0.06);
}
.scene__tick.is-on i { background: var(--tick, #ffd166); box-shadow: 0 0 12px var(--tick, #ffd166); }

.scene__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-500);
}
.scene__hint i {
  display: block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}


@media (max-width: 700px) {
  .scene__title { max-width: none; }
}


/* --- Horizontal drag strip ---------------------------------------------- */
.hstrip {
  display: flex;
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  scrollbar-width: none;
  cursor: grab;
  /* Bleed past the container so cards run off the edge of the screen. */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.hstrip::-webkit-scrollbar { display: none; }
.hstrip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.hstrip.is-dragging * { pointer-events: none; }

.hcard {
  position: relative;
  flex: 0 0 clamp(240px, 30vw, 420px);
  aspect-ratio: 4 / 5;
  scroll-snap-align: center;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--ink-100);
  isolation: isolate;
  cursor: zoom-in;
}
.hcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, center);
  transition: transform 1s var(--ease-out);
}
.hcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 25, 48, 0.9));
}
.hcard:hover img { transform: scale(1.06); }

.hcard__body {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
}
.hcard__n {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  display: block;
  margin-bottom: 0.5rem;
}
.hcard__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.15;
}
.hcard__body span { font-size: 0.82rem; color: var(--text-300); }

.hprogress {
  height: 2px;
  background: var(--ink-300);
  border-radius: 99px;
  overflow: hidden;
  max-width: 240px;
  width: 100%;
}
.hprogress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold-400);
  transform-origin: left;
  transform: scaleX(var(--p, 0.2));
  transition: transform 0.15s linear;
}

/* --- Section index marker ----------------------------------------------- */
.secmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 0.8rem + 0.25vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(246, 185, 59, 0.08);
  border: 1px solid rgba(246, 185, 59, 0.25);
  padding: 0.4rem 0.95rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}
.secmark b {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-400);
  -webkit-text-stroke: 0;
  line-height: 1;
}

/* --- Lights-on intro ---------------------------------------------------- */
.ignite {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink-000);
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
.ignite.is-done { opacity: 0; visibility: hidden; }
.ignite__mark {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
  background-image: linear-gradient(90deg, var(--gold-300), #ffffff 55%, var(--gold-400));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  animation: igniteFill 1.1s var(--ease-out) forwards;
}
@keyframes igniteFill {
  to { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
}
@media (prefers-reduced-motion: reduce) { .ignite { display: none; } }

/* --- Hero refinements --------------------------------------------------- */
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp 1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.2s; }
@keyframes lineUp { to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__title .line > span { transform: none; animation: none; }
}

/* The live scene readout sitting on the hero image. */
.hero__scene {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  background: rgba(13, 25, 48, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-100);
}
.hero__scene i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  background: var(--hue, #ffd166);
  box-shadow: 0 0 14px var(--hue, #ffd166);
  transition: background-color 1.2s var(--ease-out), box-shadow 1.2s var(--ease-out);
}
.hero__scene b { color: var(--text-000); font-weight: 600; }


/* ==========================================================================
   28. Client revisions
   ========================================================================== */

/* --- Lighting scenes (button driven, no scroll pinning) ----------------- */
.scene__frame {
  position: relative;
  height: clamp(600px, 88svh, 860px);
  overflow: hidden;
}
.scene__stage img { transition: filter 0.9s var(--ease-out); }
.scene__glow { transition: opacity 0.9s var(--ease-out), background 0.9s var(--ease-out); }
.scene__inner { padding-block: clamp(3.5rem, 9vh, 6rem) clamp(2rem, 6vh, 3.5rem); }

button.scene__tick {
  font-family: var(--font-body);
  background: rgba(13, 25, 48, 0.55);
  border: 1px solid var(--hairline);
  color: var(--text-300);
  cursor: pointer;
  padding: 0.6rem 1rem 0.6rem 0.8rem;
  font-size: 0.72rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
button.scene__tick:hover { color: var(--text-000); border-color: var(--hairline-strong); }
button.scene__tick.is-on {
  color: var(--ink-000);
  background: var(--tick, #ffd166);
  border-color: var(--tick, #ffd166);
  font-weight: 600;
}
button.scene__tick.is-on i { background: var(--ink-000); box-shadow: none; }

@media (max-width: 700px) {
  .scene__frame { height: auto; min-height: 640px; }
  .scene__inner { height: auto; min-height: 640px; }
  button.scene__tick { padding: 0.55rem 0.85rem; }
}

/* --- App screenshots (compact) ----------------------------------------- */
.appsec {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  /* An explicit width is required: with auto margins the box would shrink to
     its content, and the phones are sized as a % of it — both collapse to 0. */
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.phones::before {
  content: "";
  position: absolute;
  inset: 15% 10%;
  z-index: -1;
  border-radius: 50%;
  filter: blur(50px);
  background: radial-gradient(circle, rgba(246, 185, 59, 0.26), rgba(59, 130, 246, 0.14) 55%, transparent 75%);
}
.phones img {
  width: 46%;
  max-width: 190px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}
.phones__a { transform: rotate(-5deg) translateX(8%); z-index: 2; }
.phones__b { transform: rotate(5deg) translate(-8%, 4%); }

.appfeat {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.5rem;
}
.appfeat li {
  display: grid;
  gap: 0.15rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold-400);
}
.appfeat strong { color: var(--text-000); font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; }
.appfeat span { font-size: 0.85rem; color: var(--text-500); line-height: 1.45; }

@media (max-width: 860px) {
  .appsec { grid-template-columns: 1fr; gap: 1.25rem; }
  .phones { max-width: 240px; }
  .phones img { max-width: 112px; }
  .appsec .small { display: none; }
}
@media (max-width: 420px) {
  .appfeat { gap: 0.8rem 0.9rem; }
  .appfeat strong { font-size: 0.9rem; }
  .appfeat span { font-size: 0.78rem; }
}

/* --- Our-work preview grid ---------------------------------------------- */
.workgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(150px, 14vw, 215px);
  gap: clamp(0.6rem, 1.4vw, 1rem);
}
.workgrid .tile {
  margin: 0;
  aspect-ratio: auto;
  height: 100%;
}
.workgrid .tile--feature { grid-column: span 2; grid-row: span 2; }
@media (max-width: 800px) {
  .workgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .workgrid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .workgrid .tile--feature { grid-column: auto; grid-row: auto; }
}
/* Captions stay visible here: this grid is a showcase, not a hover-to-explore gallery. */
.workgrid .tile__meta { opacity: 1; transform: none; }

/* --- Reviews: score and city -------------------------------------------- */
.quote__top { display: flex; align-items: center; gap: 0.6rem; }
.quote__stars span { display: inline-flex; }
.quote__stars .is-empty { color: var(--ink-400); }
.quote__score {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-100);
}
.quote__who { display: grid; gap: 0.1rem; }
.quote__who strong { font-size: 0.95rem; }
.quote__city {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--gold-300);
}
.quote__city svg { width: 12px; height: 12px; flex: none; }
.quote__meta { font-size: 0.76rem; color: var(--text-500); }
.quote__meta a { color: inherit; text-decoration: underline; }
.quote__meta a:hover { color: var(--gold-400); }

/* --- Features That Sparkle (Centered Phone Layout) -------------------- */
.sparkle-showcase {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px) 1fr;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.sparkle-list {
  display: grid;
  gap: 1.25rem;
}
.sparkle-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 1.15rem 1.2rem;
  border-radius: var(--r-md);
  transition: transform 0.28s var(--ease-out), border-color 0.28s var(--ease-out), background-color 0.28s var(--ease-out);
}
.sparkle-item:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 185, 59, 0.4);
  background: var(--surface-2);
}
.sparkle-icon {
  font-size: 1.45rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.sparkle-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-000);
  margin-bottom: 0.35rem;
}
.sparkle-content p {
  font-size: 0.88rem;
  color: var(--text-300);
  line-height: 1.5;
  margin: 0;
}
.sparkle-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  width: 100%;
}
.sparkle-phones::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 185, 59, 0.24), rgba(59, 130, 246, 0.16) 55%, transparent 72%);
  filter: blur(45px);
  z-index: -1;
}
.sparkle-phones img {
  width: 52%;
  max-width: 195px;
  height: auto;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.7));
}
.sparkle-phones .phone-left {
  transform: rotate(-6deg) translateX(12%);
  z-index: 2;
}
.sparkle-phones .phone-right {
  transform: rotate(6deg) translate(-12%, 4%);
  z-index: 1;
}

@media (max-width: 1024px) {
  .sparkle-showcase {
    grid-template-columns: 1fr;
  }
  .sparkle-phones {
    order: -1;
    max-width: 320px;
    margin-inline: auto;
    margin-bottom: 1.5rem;
  }
}
@media (min-width: 680px) and (max-width: 1024px) {
  .sparkle-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   27. AI Lighting Assistant Widget (Floating Bot)
   ========================================================================== */
.cl-ai-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  font-family: var(--font-body);
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out), visibility 0.25s;
}

@keyframes clAiGlowPulse {
  0%, 100% {
    box-shadow: 0 8px 24px -4px rgba(246, 185, 59, 0.55), 0 3px 12px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 12px 32px -4px rgba(246, 185, 59, 0.8), 0 0 18px rgba(246, 185, 59, 0.4), 0 3px 12px rgba(0, 0, 0, 0.4);
  }
}

.cl-ai-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--ink-000);
  border: 1.5px solid rgba(255, 233, 176, 0.6);
  box-shadow: 0 8px 24px -4px rgba(246, 185, 59, 0.55), 0 3px 12px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  animation: clAiGlowPulse 3.5s ease-in-out infinite;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.cl-ai-trigger:hover {
  animation: none;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 34px -5px rgba(246, 185, 59, 0.85), 0 6px 16px rgba(0, 0, 0, 0.5);
}
.cl-ai-trigger:active {
  transform: translateY(-1px) scale(0.96);
}
.cl-ai-trigger__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.cl-ai-trigger__icon svg {
  width: 26px;
  height: 26px;
  color: var(--ink-000);
}
.cl-ai-status-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #070a12;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
}

/* Desktop hover tooltip */
@media (hover: hover) and (min-width: 641px) {
  .cl-ai-trigger[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(13, 25, 48, 0.95);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(246, 185, 59, 0.3);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }
  .cl-ai-trigger:hover[data-tooltip]::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@media (max-width: 640px) {
  .cl-ai-widget {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: 18px;
  }
  .cl-ai-trigger {
    width: 48px;
    height: 48px;
    box-shadow: 0 8px 22px -5px rgba(246, 185, 59, 0.55), 0 3px 10px rgba(0, 0, 0, 0.4);
  }
  .cl-ai-trigger__icon {
    width: 24px;
    height: 24px;
  }
  .cl-ai-trigger__icon svg {
    width: 22px;
    height: 22px;
  }
  .cl-ai-status-dot {
    top: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
  }
}

/* Typing Comfort: Auto-hide floating widget when typing or keyboard is open */
body.is-typing .cl-ai-widget,
body:has(input:focus) .cl-ai-widget,
body:has(textarea:focus) .cl-ai-widget,
body:has(select:focus) .cl-ai-widget {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(120%) !important;
}

.cl-ai-modal {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: min(390px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  background: rgba(13, 25, 48, 0.95);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(246, 185, 59, 0.28);
  border-radius: 20px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 1000;
}
.cl-ai-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cl-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  border-bottom: 1px solid var(--hairline);
}
.cl-ai-header__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cl-ai-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--spec-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-000);
  box-shadow: 0 4px 14px rgba(246, 185, 59, 0.4);
}
.cl-ai-avatar svg {
  width: 20px;
  height: 20px;
}
.cl-ai-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid var(--ink-000);
  border-radius: 50%;
}
.cl-ai-header__info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--text-000);
  line-height: 1.2;
}
.cl-ai-header__info span {
  display: block;
  font-size: 0.74rem;
  color: var(--gold-300);
}
.cl-ai-close {
  background: transparent;
  border: none;
  color: var(--text-500);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background-color 0.2s;
}
.cl-ai-close:hover {
  color: var(--text-000);
  background: rgba(255, 255, 255, 0.1);
}
.cl-ai-close svg {
  width: 18px;
  height: 18px;
}

.cl-ai-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  scroll-behavior: smooth;
}
.cl-ai-body::-webkit-scrollbar {
  width: 5px;
}
.cl-ai-body::-webkit-scrollbar-thumb {
  background: var(--ink-300);
  border-radius: 4px;
}

.cl-ai-msg {
  max-width: 86%;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.48;
  animation: clAiFadeIn 0.25s var(--ease-out);
}
@keyframes clAiFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.cl-ai-msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  color: var(--text-100);
  border-bottom-left-radius: 4px;
}
.cl-ai-msg--bot p { margin: 0; }
.cl-ai-msg--bot p + p { margin-top: 0.5rem; }
.cl-ai-msg--bot a {
  color: var(--gold-400);
  text-decoration: underline;
  font-weight: 500;
}
.cl-ai-msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--ink-000);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.cl-ai-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.2rem;
}
.cl-ai-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 185, 59, 0.25);
  color: var(--gold-100);
  font-size: 0.76rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.cl-ai-chip:hover {
  background: rgba(246, 185, 59, 0.15);
  border-color: var(--gold-400);
  color: #fff;
  transform: translateY(-1px);
}

.cl-ai-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(13, 25, 48, 0.98);
  border-top: 1px solid var(--hairline);
}
.cl-ai-foot input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  color: #fff;
  font-size: 0.88rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--r-pill);
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.cl-ai-foot input:focus {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.08);
}
.cl-ai-foot button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-400);
  border: none;
  color: var(--ink-000);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s, background-color 0.2s;
}
.cl-ai-foot button:hover {
  transform: scale(1.08);
  background: var(--gold-300);
}
.cl-ai-foot button svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .cl-ai-widget {
    bottom: 80px; /* Above mobile dock */
    right: 16px;
  }
  .cl-ai-modal {
    width: calc(100vw - 32px);
    height: 70vh;
    bottom: 56px;
  }
}
