/* =============================================================
   ARISE ELEVATORS — Marketing Site
   =============================================================
   Design system keyed off the Arise logo:
   - Brand navy #163979 (exact logo navy) used as THE signature color
   - Charcoal-navy deep background (not pure black, warm)
   - White doorway motif repeated as left accent bar on cards,
     as mark-prefix on eyebrow labels, and as a full section block
   - Fraunces for display, Inter for UI; no grid overlays,
     no scanlines, no glass cards. Flat, blocky, editorial.
   ============================================================= */

:root {
  /* ---- Brand palette (from Arise logo PDF, pixel-sampled #163979) ---- */
  --brand-blue:        #163979;   /* exact logo navy */
  --brand-blue-deep:   #0f2a5e;
  --brand-blue-soft:   #6b8fc9;
  --brand-blue-mist:   rgba(22, 57, 121, 0.22);

  /* ---- Surface palette (warm charcoal navy, not pure black) ---- */
  --bg-deep:           #0b1628;
  --bg-surface:        #0f1d33;
  --bg-elev:           #152740;
  --bg-elev-2:         #1c3152;

  --line:              rgba(150, 180, 220, 0.10);
  --line-strong:       rgba(150, 180, 220, 0.22);

  /* ---- Ink ---- */
  --ink:               #f4f7fb;
  --ink-mid:           #a9b6c9;
  --ink-mute:          #778699;
  --ink-faint:         #4a5669;

  /* ---- Accents ---- */
  --accent-warm:       #f0b35d;   /* warm contrast to brand blue */
  --red:               #ff6b6b;
  --green:             #5ed39a;

  /* Legacy aliases — some subpages still use these */
  --navy-deep:         var(--bg-deep);
  --navy:              var(--bg-surface);
  --navy-brand:        var(--brand-blue);
  --navy-elev:         var(--bg-elev);
  --navy-elev-2:       var(--bg-elev-2);
  --cyan:              var(--brand-blue-soft);
  --cyan-bright:       #b7d3ec;
  --cyan-dim:          var(--brand-blue-deep);
  --cyan-glow:         rgba(22, 57, 121, 0.38);
  --cyan-line:         rgba(22, 57, 121, 0.5);
  --amber:             var(--accent-warm);
  --amber-soft:        #ffc876;

  /* ---- Sizing ---- */
  --container:         1200px;
  --radius:            6px;
  --radius-lg:         10px;

  /* ---- Type ---- */
  --ui:                "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display:           "Fraunces", Georgia, serif;
  --mono:              "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- Motion ---- */
  --ease:              cubic-bezier(.4, 0, .2, 1);
  --ease-out:          cubic-bezier(0, 0, .2, 1);
}

/* ===== Reset + base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-blue-soft); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: #c6ddf3; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-family: var(--display);
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }
::selection { background: var(--brand-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-blue-soft); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-blue); color: #fff;
  padding: 10px 14px; font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .18s var(--ease);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 4px 14px rgba(22,57,121,0.35);
}
.btn-primary:hover {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue-soft);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 22px rgba(22,57,121,0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  border-color: var(--brand-blue-soft);
}
.btn-cyan {
  background: #ffffff;
  color: var(--brand-blue-deep);
  border-color: #ffffff;
}
.btn-cyan:hover {
  background: #eaf2fa;
  color: var(--brand-blue-deep);
}
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 17px 28px; font-size: 16px; }

/* On-dark secondary action (used on CTA bands over navy) */
.btn-on-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: all .18s var(--ease);
}
.btn-on-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.32);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-on-dark svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== Eyebrow labels (bracket-mark style) =====
   Replaces the generic `// label` mono eyebrows.
   Now an all-caps Inter tracked-out label with a small
   logo-bracket icon prefix. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-blue-soft);
  margin: 0 0 18px;
}
.eyebrow-mark {
  width: 18px;
  height: 14px;
  display: inline-block;
  /* Two small up/down arrows — mirrors the logo's internal arrow pair. */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14' fill='none' stroke='%236b8fc9' stroke-width='1.6' stroke-linecap='square'><path d='M 4 11 L 4 3 M 2 5 L 4 3 L 6 5'/><path d='M 14 3 L 14 11 M 12 9 L 14 11 L 16 9'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

/* ===== Pill (hero kicker) ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue-soft);
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(22,57,121,0.08);
}
.pill-mark {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-blue-soft);
  box-shadow: 0 0 0 3px rgba(92,150,201,0.25);
  animation: pill-pulse 2.2s var(--ease) infinite;
}
@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(92,150,201,0.25); }
  50%      { box-shadow: 0 0 0 6px rgba(92,150,201,0.05); }
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 22, 40, 0.85);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line-strong);
  background: rgba(11, 22, 40, 0.95);
}
.nav {
  display: flex; align-items: center;
  padding: 18px 0;
  gap: 32px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--ui);
  letter-spacing: 0.02em;
  font-size: 18px;
}
.nav-brand:hover { color: var(--ink); }
.nav-brand svg { flex-shrink: 0; border-radius: 7px; }
.brand-wordmark {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.brand-wordmark .brand-a { font-weight: 800; }
.brand-wordmark .brand-sub {
  font-weight: 500;
  color: var(--ink-mid);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex; gap: 30px;
  list-style: none; padding: 0; margin: 0 auto 0 20px;
}
.nav-links a {
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; bottom: 2px; left: 0; right: 0;
  height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex; align-items: center; gap: 18px;
}
.nav-email,
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-mid);
}
.nav-email svg,
.nav-phone svg { width: 16px; height: 16px; }
.nav-email:hover,
.nav-phone:hover { color: var(--brand-blue-soft); }
.nav-cta { padding: 11px 18px; font-size: 14px; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 8px; border-radius: 6px;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav-panel {
  display: none;
  position: fixed; top: 67px; left: 0; right: 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line-strong);
  padding: 16px 24px;
  flex-direction: column; gap: 4px;
  z-index: 90;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.mobile-nav-panel.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-panel a {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-panel a:last-child { border-bottom: 0; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(22,57,121,0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
}
.hero-noise {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(22,57,121,0.12) 0, transparent 40%),
    radial-gradient(circle at 82% 70%, rgba(22,57,121,0.10) 0, transparent 42%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 560px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(46px, 6.5vw, 82px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 22px 0 26px;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-blue-soft);
}
.hero-sub {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-mid);
  margin-bottom: 32px;
}
.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-specs {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 44px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero-specs li {
  margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.hero-specs strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.hero-specs span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ===== Hero visual — big logo mark ===== */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  filter: drop-shadow(0 40px 80px rgba(22,57,121,0.35));
}
.logo-mark svg {
  width: 100%; height: 100%;
  border-radius: 22px;
}

/* Circle frame — subtle breathing */
.lm-frame { transform-origin: 50% 50%; animation: frame-breathe 5s var(--ease) infinite; }
@keyframes frame-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.78; transform: scale(1.012); }
}

/* Arrow travel (UP arrow left of doorway, DOWN arrow right of doorway) */
.lm-arrow-up   { animation: arrow-up   4s var(--ease) infinite; }
.lm-arrow-down { animation: arrow-down 4s var(--ease) infinite 2s; }
@keyframes arrow-up {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50%      { opacity: 0.55; transform: translateY(-3px); }
}
@keyframes arrow-down {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50%      { opacity: 0.55; transform: translateY(3px); }
}

/* Door sliding — panels retract into the jambs on .is-open */
.lm-door { transition: transform .9s var(--ease); }
.lm-door-left  { transform: translateX(0); }
.lm-door-right { transform: translateX(0); }
.logo-mark.is-open  .lm-door-left  { transform: translateX(-5.5px); }
.logo-mark.is-open  .lm-door-right { transform: translateX(5.5px); }

/* Indicator pill lights up on door-open */
.lm-indicator-dot { transition: fill .3s var(--ease); }
.logo-mark.is-open .lm-indicator-dot { fill: #f0b35d; }

/* Floor readout (external floating label) */
.logo-floor-readout {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 18px;
  background: rgba(11,22,40,0.92);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.logo-floor-readout .lfr-label {
  font-size: 10px;
  color: var(--ink-mute);
}
.logo-floor-readout .lfr-num {
  font-size: 22px;
  color: var(--brand-blue-soft);
  font-weight: 600;
  min-width: 32px;
  text-align: right;
}

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 24px;
  font-family: var(--ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 2;
}
.hero-scroll-hint span { position: relative; padding-left: 34px; }
.hero-scroll-hint span::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--ink-mute);
  animation: scroll-bar 2.2s var(--ease) infinite;
}
@keyframes scroll-bar {
  0%, 100% { transform: scaleX(1); transform-origin: left; }
  50%      { transform: scaleX(0.3); transform-origin: left; }
}

/* ===== Sections ===== */
.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}
.section.alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section-head h2 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-blue-soft);
}
.section-head p {
  font-size: 17px;
  color: var(--ink-mid);
  max-width: 620px;
}

/* ===== Feature grid (flat cards, thick left accent) ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature {
  position: relative;
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background .3s var(--ease);
}
.feature:hover { background: rgba(22,57,121,0.04); }
.feature::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s var(--ease);
}
.feature:hover::before { transform: scaleY(1); }

.feature-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  margin-bottom: 22px;
  color: var(--brand-blue-soft);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.feature-eyebrow .num {
  color: var(--brand-blue-soft);
  font-weight: 600;
}
.feature h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.feature p {
  font-size: 15px;
  color: var(--ink-mid);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ===== ARISE BLOCK — signature logo-blue color-blocked section ===== */
.arise-block {
  padding: 90px 0;
  background: var(--brand-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.arise-block::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(0,0,0,0.18), transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 0%, rgba(255,255,255,0.12), transparent 70%);
  pointer-events: none;
}
.arise-block-inner {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.arise-block-mark {
  aspect-ratio: 1;
  width: 100%;
}
.arise-block-mark svg { width: 100%; height: 100%; }
.arise-block-eyebrow {
  display: inline-block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
}
.arise-block-quote {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px;
}
.arise-block-quote::before {
  content: "";
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: #ffffff;
  opacity: 0.4;
}
.arise-block-attrib {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 900px;
}
.plan {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
}
.plan::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brand-blue);
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}
.plan.featured {
  background: var(--bg-elev);
  border-color: var(--brand-blue-soft);
}
.plan.featured::before { background: #ffffff; }
.plan.featured::after {
  content: "RECOMMENDED";
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 5px 10px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 3px;
}
.plan-name {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}
.plan-tag {
  font-size: 13px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}
.plan-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  flex: 1;
}
.plan-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15px;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--line);
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 14px; height: 2px;
  background: var(--brand-blue-soft);
}

/* ===== BRANDS BAR ===== */
.brands-bar {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brands-bar .eyebrow { margin-bottom: 24px; }
.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
}
.brands-list span {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-mid);
  transition: color .2s var(--ease);
}
.brands-list span:hover { color: var(--ink); }

/* ===== CTA BAND ===== */
.cta-band {
  padding: 90px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band-inner {
  max-width: 720px;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-band p {
  font-size: 17px;
  color: var(--ink-mid);
  margin-bottom: 28px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 80px 0 32px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-brand .wordmark svg { border-radius: 9px; }
.footer-brand .row1 {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 15px;
  color: var(--ink);
}
.footer-brand .row2 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.footer-brand p {
  font-size: 14px;
  color: var(--ink-mid);
  max-width: 340px;
  line-height: 1.55;
}
.footer-brand p.muted {
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 18px;
}
.footer-col h4 {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
}
.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-mid);
}
.footer-col li a {
  color: var(--ink-mid);
}
.footer-col li a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* ===== Mobile CTA bar ===== */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: rgba(11,22,40,0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-strong);
  gap: 10px;
  z-index: 95;
}
.mobile-cta .btn { flex: 1; padding: 12px 14px; font-size: 14px; }

/* ===== Reveal on scroll ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Subpage shared styles ===== */
.page-hero {
  padding: 120px 0 80px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(22,57,121,0.16), transparent 60%),
    var(--bg-deep);
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
}
.page-hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-blue-soft);
}
.page-hero .lede {
  max-width: 680px;
  font-size: 18px;
  color: var(--ink-mid);
}

.credentials,
.contact-panel,
.guarantee-banner {
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.guarantee-banner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.guarantee-badge {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 3px;
}

/* ===== Legacy shims for subpage classes (preserved from old site) ===== */
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700;
}
.btn-secondary { /* legacy, maps to ghost */
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 24px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink);
  transition: all .18s var(--ease);
}
.btn-secondary:hover { border-color: var(--brand-blue-soft); color: var(--ink); }

/* ===== Page header (subpage hero, compact) ===== */
.page-header {
  padding: 96px 0 56px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(22,57,121,0.18), transparent 65%),
    var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-blue-soft);
  margin-bottom: 16px;
  display: inline-block;
}
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 820px;
}
.page-header p {
  max-width: 680px;
  font-size: 17px;
  color: var(--ink-mid);
  margin: 0;
}
.h-section {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.lede {
  font-size: 17px;
  color: var(--ink-mid);
  margin: 0 0 16px;
}

/* ===== Service detail sections (services page) ===== */
.service-detail { padding: 90px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-of-type { border-bottom: none; }
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.icon-plate {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-blue);
  border-radius: 10px;
  margin-bottom: 22px;
  color: #fff;
}
.icon-plate svg { width: 26px; height: 26px; }
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--brand-blue);
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.checks li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.checks li:last-child { border-bottom: none; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b8fc9' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'><polyline points='20 6 10 18 4 12'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ===== Pricing (services page variant) ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 960px;
  margin: 40px auto 0;
}
.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: var(--bg-elev);
  border-color: var(--brand-blue-soft);
  box-shadow: 0 20px 60px rgba(22,57,121,0.2);
}
.price-badge {
  position: absolute;
  top: -11px; left: 24px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}
.price-title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 6px;
}
.price-subtitle {
  color: var(--ink-mid);
  font-size: 14px;
  margin: 0 0 20px;
}
.price-indicative {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue-soft);
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  padding: 10px 14px;
  background: rgba(107,143,201,0.08);
  border-left: 3px solid var(--brand-blue-soft);
  border-radius: 3px;
}
.price-features {
  list-style: none; margin: 0 0 24px; padding: 0;
  flex: 1;
}
.price-features li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-mid);
}
.price-features li::before {
  content: "";
  position: absolute; left: 0; top: 15px;
  width: 12px; height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b8fc9' stroke-width='3' stroke-linecap='square'><polyline points='20 6 10 18 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.price-features li:last-child { border-bottom: none; }
.price-features li strong { color: var(--ink); font-weight: 600; }

/* ===== About page + shared voice block ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}
.credentials { position: sticky; top: 100px; }
.credentials h3 {
  font-family: var(--display);
  font-size: 20px;
  margin: 0 0 14px;
}
.credentials ul {
  list-style: none; padding: 0; margin: 0;
}
.credentials li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--line);
}
.credentials li:last-child { border-bottom: none; }
.voice-block {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 0;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  position: relative;
  padding-left: 28px;
  border-left: 3px solid var(--brand-blue);
}
.voice-block p { margin: 0 0 14px; }
.voice-signature {
  font-family: var(--ui) !important;
  font-style: normal !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  color: var(--brand-blue-soft);
  margin-top: 20px !important;
}

/* ===== Guarantee banner (services page) ===== */
.guarantee-banner {
  margin-top: 44px;
  display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap;
}
.guarantee-banner h3 {
  font-family: var(--display);
  font-size: 20px;
  margin: 0 0 4px;
}
.guarantee-banner p {
  font-size: 14px;
  color: var(--ink-mid);
  margin: 0;
  max-width: 620px;
}
.guarantee-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  background: var(--brand-blue);
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
}
.guarantee-badge svg { width: 22px; height: 22px; }

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.contact-grid > div:first-child > .eyebrow {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-blue-soft);
  margin-bottom: 14px;
  display: inline-block;
}

/* What-happens-next steps (above form) */
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--brand-blue);
  border-radius: var(--radius-lg);
}
.next-step {
  display: flex; flex-direction: column; gap: 6px;
}
.next-step .num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand-blue-soft);
}
.next-step .label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.next-step .detail {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.45;
}

/* ===== Form ===== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-top: 28px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.form-field label span[aria-hidden] { color: var(--brand-blue-soft); margin-left: 2px; }
.form-field .hint {
  font-weight: 400;
  color: var(--ink-mute);
  font-size: 12px;
  margin-left: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--ui);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
  width: 100%;
  line-height: 1.4;
}
.form-field textarea { resize: vertical; min-height: 120px; font-family: var(--ui); }
.form-field select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b6c9' stroke-width='2' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-blue-soft);
  background: var(--bg-elev);
}
.form-submit-row {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.form-note {
  margin: 0;
  color: var(--ink-mid);
  font-size: 14px;
}
.form-note a { color: var(--brand-blue-soft); }
.form-msg {
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  min-height: 0;
}
.form-msg:not(:empty) {
  background: rgba(94,211,154,0.08);
  color: #7fe1b5;
  border: 1px solid rgba(94,211,154,0.25);
  padding: 12px 14px;
}
.form-msg.error {
  background: rgba(255,107,107,0.08);
  color: #ff9090;
  border-color: rgba(255,107,107,0.25);
}

/* ===== Contact panel (aside) ===== */
.contact-panel { padding: 28px 28px; }
.contact-panel h3 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 20px;
}
.contact-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-row .icon svg { width: 18px; height: 18px; }
.contact-row .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.contact-row .value {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}
.contact-row .value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .15s var(--ease);
}
.contact-row .value a:hover { border-bottom-color: var(--brand-blue-soft); }

/* ===== Service-area map placeholder / content ===== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-grid li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-mid);
}

/* ===== FAQ (home) ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  max-width: 1040px;
  margin: 40px auto 0;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.faq-item h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.25;
}
.faq-item p {
  font-size: 14.5px;
  color: var(--ink-mid);
  margin: 0;
  line-height: 1.55;
}

/* ===== Hero trust stack (replaces oversized logo visual) ===== */
.hero-trust {
  display: flex; flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  position: relative;
}
.hero-trust-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.hero-trust-header .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5ed39a;
  box-shadow: 0 0 0 4px rgba(94,211,154,0.2);
  animation: pill-pulse 2.2s var(--ease) infinite;
  flex-shrink: 0;
}
.hero-trust-header .title {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.hero-trust-body { display: flex; flex-direction: column; gap: 14px; }
.hero-trust-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 6px 0;
}
.hero-trust-row .kbadge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-blue-soft);
  text-transform: uppercase;
  min-width: 72px;
  padding-top: 2px;
}
.hero-trust-row strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  display: block;
}
.hero-trust-row .sub {
  font-size: 13px;
  color: var(--ink-mid);
  margin-top: 2px;
  line-height: 1.4;
}
.hero-trust-footer {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-trust-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-mid);
  padding: 5px 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 99px;
  text-transform: uppercase;
}

/* ===== Fast-lane band (price-match CTA inline) ===== */
.fastlane {
  margin: 44px auto 0;
  max-width: 960px;
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-elev));
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.fastlane-text { flex: 1; min-width: 260px; }
.fastlane-text strong {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 4px;
}
.fastlane-text span {
  color: var(--ink-mid);
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links,
  .nav-email,
  .nav-phone,
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { gap: 16px; }
  .hero { padding: 70px 0 80px; }
  .hero h1 { font-size: clamp(38px, 9vw, 54px); }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(30px, 6vw, 42px); }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-specs { gap: 28px; }
  .hero-specs strong { font-size: 22px; }
  .arise-block-inner { grid-template-columns: 1fr; gap: 30px; }
  .arise-block-mark { max-width: 180px; }
  .arise-block-quote { font-size: 22px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-scroll-hint { display: none; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-detail { padding: 64px 0; }
  .pricing { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .credentials { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr; gap: 12px; }
  .faq-grid { grid-template-columns: 1fr; }
  .page-header { padding: 80px 0 44px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 50px 0 70px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .hero-specs { flex-direction: column; gap: 18px; }
  .feature { padding: 28px 24px; }
  .arise-block { padding: 60px 0; }
  .plan { padding: 28px 24px; }
  .page-hero { padding: 80px 0 50px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-on-scroll { opacity: 1; transform: none; }
}

/* ============================================================
   PRODUCT PAGE (/product/)
   Scroll-driven canvas hero + dark-to-black page surface.
   Appended 2026-04-24. Do not refactor existing rules above.
   ============================================================ */

body.product-page {
  background: #000;
}

/* Keep the sticky scroll-stage anchored — no transformed/filtered
   ancestor is allowed between it and the viewport.               */
body.product-page main {
  position: relative;
}

/* Header blends into pure black on the product page.  */
body.product-page .site-header {
  background: rgba(0, 0, 0, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
body.product-page .site-header.scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ----- SCROLL STAGE -------------------------------------------------- */

.scroll-stage {
  position: relative;
  /* Height is a CSS variable so the experience can be retuned in one place. */
  height: calc(var(--scroll-stage-vh, 500) * 1vh);
  background: #000;
}

.scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

#productCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

/* Static <img> rendered under the canvas so the page never paints pure
   black before the first frame has decoded. Hidden as soon as we paint. */
.scroll-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.scroll-fallback.is-hidden {
  opacity: 0;
}

#productCanvas {
  z-index: 2;
}

/* ----- SCRIM (vignette + soft center hold) --------------------------- */

/* Sits above the canvas, below the copy. Darkens the center band where
   overlay text lives so it stays readable against bright metal parts. */
.scroll-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% 50%,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.35) 38%,
      rgba(0, 0, 0, 0.10) 62%,
      rgba(0, 0, 0, 0)    80%
    ),
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0)    20%,
      rgba(0, 0, 0, 0)    80%,
      rgba(0, 0, 0, 0.55) 100%
    );
}

/* ----- OVERLAY COPY -------------------------------------------------- */

.overlay-copy {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 0 24px;
  pointer-events: none;
}

.overlay-copy .phase {
  grid-column: 1;
  grid-row: 1;
  max-width: 640px;
  text-align: center;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.7s var(--ease);
  pointer-events: none;
  /* Layered shadow so text stays legible against bright metallic parts. */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 18px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(0, 0, 0, 0.55);
}
.overlay-copy .phase.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.phase-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #9fb4e0;
  margin-bottom: 18px;
  /* Extra punch for tiny type over metallic backgrounds */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.85);
}

.phase-headline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 18px 0;
  color: #ffffff;
}
.phase-headline .accent {
  color: var(--brand-blue-soft);
  font-style: italic;
}

.phase-sub {
  font-family: var(--ui);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: #d8dee9;
  margin: 0 auto;
  max-width: 560px;
}

.phase-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 16px;
  font-family: var(--display);
  color: #ffffff;
}
.phase-metric .metric-num {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.phase-metric .metric-num small {
  font-size: 0.35em;
  font-family: var(--mono);
  color: var(--ink-mid);
  margin-left: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.phase-metric .metric-sep {
  font-size: clamp(30px, 5vw, 56px);
  color: var(--brand-blue-soft);
  opacity: 0.6;
  transform: translateY(-0.1em);
}

.scroll-hint {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}
.scroll-hint::before,
.scroll-hint::after {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--ink-faint);
}
.scroll-hint span {
  animation: scroll-pulse 2.2s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(3px); }
}

/* <noscript> fallback — only shown when JS is off. */
.scroll-noscript {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink);
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 4;
}
.scroll-noscript h1 {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 56px);
  margin: 0 0 12px 0;
  color: #fff;
}

/* ----- REDUCED MOTION ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .scroll-stage {
    height: auto;
  }
  .scroll-sticky {
    position: relative;
    height: 80vh;
    min-height: 540px;
  }
  .overlay-copy {
    position: static;
    display: block;
    padding: 48px 24px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9));
  }
  .overlay-copy .phase {
    opacity: 1;
    transform: none;
    max-width: 720px;
    margin: 0 auto 36px auto;
  }
  .scroll-hint { display: none; }
}

/* ----- MOBILE TUNING ------------------------------------------------- */

@media (max-width: 720px) {
  /* Short video + small viewport → a shorter stage still feels deliberate
     without burning extra vertical scroll on mobile.                     */
  .scroll-stage {
    height: calc(var(--scroll-stage-vh, 380) * 1vh);
  }
  .overlay-copy {
    padding: 64px 20px 96px 20px;
    /* Top padding clears header; bottom clears mobile CTA bar (~72px). */
  }
  .overlay-copy .phase {
    max-width: 100%;
  }
  .phase-headline {
    font-size: clamp(30px, 8vw, 44px);
  }
  .phase-headline br {
    display: none;
  }
  .phase-sub {
    font-size: 15px;
  }
  .phase-metric {
    gap: 12px;
  }
  .metric-num {
    font-size: clamp(30px, 9vw, 44px);
  }
  /* Strengthen scrim on mobile — more copy per line and narrower viewport */
  .scroll-scrim {
    background:
      radial-gradient(
        ellipse 90% 55% at 50% 50%,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.40) 40%,
        rgba(0, 0, 0, 0.10) 70%,
        rgba(0, 0, 0, 0)    90%
      ),
      linear-gradient(to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0)    18%,
        rgba(0, 0, 0, 0)    82%,
        rgba(0, 0, 0, 0.65) 100%
      );
  }
}
