/* Ace — Sharp Editorial Depth + Live Color-Tintable Animated Orbs.
   Gallery Light Mode (#fafafa / #ffffff) & True OLED Dark Mode (#000000 / #0c0c0f)
   alternating with pure-black optical showcase and live voice bands.
   Layered picture scenes, tactile frosted glass surfaces, high typographic scale contrast,
   zero horizontal overflow, and zero iOS Safari input zoom bugs. */

:root {
  --orb-glow-rgb: 56, 148, 255;
  --orb-glow-dark-rgb: 120, 186, 255;
  --orb-accent: #0b0b0d;
  --orb-swatch: #111114;
}

body.home {
  color-scheme: light dark;
  --canvas: #fafafa;
  --surface: #ffffff;
  --sunken: #f2f2f5;
  --glass: rgba(255, 255, 255, .74);
  --glass-strong: rgba(255, 255, 255, .88);
  --glass-rim: rgba(255, 255, 255, .72);
  --ink: #0b0b0d;
  --ink-rgb: 11 11 13;
  --on-ink: #ffffff;
  --steel: #4a4a55;
  --muted: #71717a;
  --faint: #d4d4d8;
  --line: rgba(11, 11, 13, .08);
  --rim: rgba(11, 11, 13, .14);
  --obsidian: #000000;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, .64);
  --up: #15803d;
  --down: #dc2626;
  --blue: #0071e3;
  --blue-press: #005bb5;
  --card-shadow: 0 1px 2px rgba(11, 15, 28, .06), 0 18px 44px -18px rgba(11, 15, 28, .18);
  --card-shadow-lg: 0 2px 6px rgba(11, 15, 28, .08), 0 32px 68px -24px rgba(11, 15, 28, .28);

  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --page: 1120px;
  --gutter: 20px;
  background: var(--canvas);
  color: var(--ink);
  overflow-x: clip;
}

@media (prefers-color-scheme: dark) {
  body.home {
    --canvas: #050507;
    --surface: #0c0c10;
    --sunken: #16161c;
    --glass: rgba(20, 20, 26, .74);
    --glass-strong: rgba(18, 18, 24, .88);
    --glass-rim: rgba(255, 255, 255, .13);
    --ink: #f5f5f7;
    --ink-rgb: 245 245 247;
    --on-ink: #050507;
    --steel: #a1a1aa;
    --muted: #82828e;
    --faint: #2c2c34;
    --line: rgba(255, 255, 255, .09);
    --rim: rgba(255, 255, 255, .16);
    --up: #4ade80;
    --down: #f87171;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, .42), 0 22px 48px -18px rgba(0, 0, 0, .72);
    --card-shadow-lg: 0 4px 10px rgba(0, 0, 0, .5), 0 36px 76px -24px rgba(0, 0, 0, .86);
  }
}

body.home::before { display: none; }
body.home.has-sheet { overflow: hidden; }

@media (min-width: 768px) {
  body.home { --gutter: 40px; }
}

/* ---------- Shared Eyebrow Captions (High Typographic Scale Contrast) ---------- */

.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-dark {
  color: rgba(255, 255, 255, .52);
}

/* ---------- Minimal Floating Glass Header ---------- */

.home .bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 280ms var(--ease), border-color 280ms var(--ease), color 280ms var(--ease);
}

.home .bar.is-scrolled {
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

@media (prefers-color-scheme: dark) {
  .home .bar.is-scrolled {
    background: rgba(10, 10, 14, .82);
  }
}

.home .bar.is-on-dark {
  background: rgba(0, 0, 0, .68);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, .09);
  color: var(--on-dark);
}

.home .bar-in {
  height: 60px;
  padding: 0 var(--gutter);
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: inherit;
}

.ace-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  color: currentColor;
  transition: color 240ms var(--ease), transform 240ms var(--ease);
}

.ace-mark-foot {
  width: 20px;
  height: 20px;
}

.ace-mark-sm {
  width: 18px;
  height: 18px;
}

.ace-orb-mini-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home .nav { display: none; }

@media (min-width: 768px) {
  .home .bar-in { height: 64px; }
  .home .nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 12px;
  }
  .home .nav a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--steel);
    text-decoration: none;
    transition: color 180ms var(--ease), background-color 180ms var(--ease);
  }
  .home .nav a:hover { color: var(--ink); background: rgba(var(--ink-rgb) / .06); }
  .home .bar.is-on-dark .nav a { color: rgba(255, 255, 255, .68); }
  .home .bar.is-on-dark .nav a:hover { color: #ffffff; background: rgba(255, 255, 255, .10); }
}

/* Primary Hardware Pill Buttons */
.home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease), opacity 180ms var(--ease);
}

.home .btn-primary {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 10px 26px -12px rgba(0, 0, 0, .42);
}

.home .btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .20), 0 16px 34px -12px rgba(0, 0, 0, .46);
}

.home .btn-primary:active { transform: scale(.97); }

.home .bar.is-on-dark .btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 2px 16px rgba(255, 255, 255, .16);
}

.home .bar.is-on-dark .btn-primary:hover { background: #e8e8ed; opacity: 1; }

.home .btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
}

.home .btn-lg {
  height: 52px;
  padding: 0 32px;
  font-size: 16px;
}

.home .btn-wide { width: 100%; }

/* ---------- Band 1: Hero — Atmospheric Sky + Live Color-Tintable Ace Orb ---------- */

.home .hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 82px 0 56px;
  background: var(--canvas);
  overflow: clip;
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .42;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .62) 48%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .62) 48%, transparent 88%);
}

@media (prefers-color-scheme: dark) {
  .hero-sky { opacity: .55; }
}

.hero-sky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-ambient {
  position: absolute;
  inset: -12% -16%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 36% at 50% 30%, rgba(var(--orb-glow-rgb), .20), transparent 68%),
    radial-gradient(30% 26% at 62% 36%, rgba(var(--orb-glow-rgb), .10), transparent 72%);
  transition: background 360ms var(--ease);
}

@media (prefers-color-scheme: dark) {
  .hero-ambient {
    background:
      radial-gradient(44% 38% at 50% 30%, rgba(var(--orb-glow-dark-rgb), .22), transparent 68%),
      radial-gradient(32% 28% at 58% 36%, rgba(var(--orb-glow-dark-rgb), .10), transparent 72%);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* Centerpiece Animated Orb Stage */
.hero-orb-stage {
  position: relative;
  width: min(58vw, 224px);
  height: min(58vw, 224px);
  max-width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.orb-halo {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 48%, rgba(var(--orb-glow-rgb), .22) 0%, rgba(var(--orb-glow-rgb), .07) 44%, transparent 72%);
  filter: blur(18px);
  transition: background 320ms var(--ease);
}

.orb-halo-dark {
  inset: -18%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--orb-glow-dark-rgb), .32) 0%, rgba(var(--orb-glow-dark-rgb), .10) 48%, transparent 74%);
  filter: blur(26px);
}

.ace-orb-holder {
  position: relative;
  z-index: 2;
  width: 84%;
  height: 84%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform-style: preserve-3d;
}

.ace-orb-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 12px 24px rgba(var(--orb-glow-rgb), .16));
  transition: filter 280ms var(--ease);
}

[data-orb-surface="dark"] .ace-orb-svg {
  filter: drop-shadow(0 0 34px rgba(var(--orb-glow-dark-rgb), .34));
}

.orb-shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 54%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 15, 28, .18), rgba(11, 15, 28, .05) 56%, transparent 100%);
  filter: blur(7px);
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .orb-shadow {
    background: radial-gradient(closest-side, rgba(var(--orb-glow-dark-rgb), .24), transparent 100%);
  }
}

/* Sleek Tactile Orb Shape & Color Switcher */
.orb-dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.orb-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 var(--glass-rim),
    0 2px 8px rgba(11, 15, 28, .05),
    0 12px 28px -14px rgba(11, 15, 28, .18);
  max-width: 100%;
}

.orb-shapes {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.shape-btn {
  width: 34px;
  height: 34px;
  padding: 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 140ms var(--ease), box-shadow 180ms var(--ease);
}

.shape-btn:hover {
  color: var(--ink);
  background: rgba(var(--ink-rgb) / .06);
}

.shape-btn:active { transform: scale(.92); }

.shape-btn.is-active {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.orb-pill-sep {
  width: 1px;
  height: 18px;
  background: var(--line);
  flex: none;
}

.orb-tints {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-right: 4px;
}

.tint-btn {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .36), 0 0 0 1px rgba(11, 11, 13, .14);
  transition: transform 160ms var(--ease), box-shadow 180ms var(--ease);
}

.tint-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
}

.tint-btn:hover { transform: scale(1.16); }
.tint-btn:active { transform: scale(.92); }

.tint-btn.is-active {
  transform: scale(1.12);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink);
}

.tint-ink { background: linear-gradient(135deg, #32323a, #0b0b0d); }
.tint-cobalt { background: linear-gradient(135deg, #4b8cff, #1d5ef0); }
.tint-iris { background: linear-gradient(135deg, #a78bfa, #6d3df5); }
.tint-coral { background: linear-gradient(135deg, #ff748c, #e63558); }
.tint-emerald { background: linear-gradient(135deg, #34d399, #059669); }
.tint-amber { background: linear-gradient(135deg, #fbbf24, #d97706); }

@media (prefers-color-scheme: dark) {
  .tint-ink { background: linear-gradient(135deg, #ffffff, #cbd5e1); }
}

.orb-readout {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero Editorial Typography */
.hero-editorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  max-width: 760px;
}

.home h1 {
  font-size: clamp(46px, 13vw, 94px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.048em;
  color: var(--ink);
  max-width: 11ch;
}

.home h1 span {
  display: inline-block;
}

.hero-sub {
  font-size: clamp(16.5px, 4.3vw, 21px);
  font-weight: 400;
  line-height: 1.44;
  letter-spacing: -0.015em;
  color: var(--steel);
  max-width: 30ch;
}

.hero-cta {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .home .hero { padding: 88px 0 64px; }
  .hero-inner { gap: 18px; }
  .hero-orb-stage { width: min(30vh, 268px); height: min(30vh, 268px); }
  .shape-btn { width: 36px; height: 36px; }
  .tint-btn { width: 20px; height: 20px; }
  .orb-tints { gap: 9px; }
  .home h1 { max-width: none; }
  .hero-sub { max-width: 40ch; }
  .hero-cta { margin-top: 12px; }
}

/* ---------- Signature Opening & Morph Animations ---------- */

@media (prefers-reduced-motion: no-preference) {
  @keyframes orbBloom {
    from { opacity: 0; transform: scale(.86) translateY(16px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }
  @keyframes orbSwitch {
    0% { opacity: .45; transform: scale(.82) rotate(-14deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
  }
  @keyframes textLift {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes gentleDrift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -12px, 0) scale(1.05); }
  }
  @keyframes auraPulse {
    0%, 100% { opacity: .76; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.07) rotate(5deg); }
  }
  @keyframes beamSweep {
    0% { transform: translateX(-120%); opacity: 0; }
    25% { opacity: .9; }
    75% { opacity: .9; }
    100% { transform: translateX(220%); opacity: 0; }
  }
  @keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.82); }
  }

  .hero-ambient { animation: gentleDrift 14s ease-in-out infinite; }
  .intro-orb { animation: orbBloom 720ms var(--ease-expo) both; }
  .ace-orb-holder.is-morphing { animation: orbSwitch 420ms var(--ease-expo) both; }
  .intro-mask span:nth-child(1) { animation: textLift 640ms var(--ease-expo) 90ms both; }
  .intro-mask span:nth-child(2) { animation: textLift 640ms var(--ease-expo) 170ms both; }
  .intro-fade { animation: textLift 600ms var(--ease-expo) 230ms both; }
  .intro-cta { animation: textLift 600ms var(--ease-expo) 310ms both; }

  .showcase-aura { animation: auraPulse 11s ease-in-out infinite; }
  .ed-beam { animation: beamSweep 5.5s var(--ease-expo) infinite; }
  .live-dot, .step-pulse { animation: livePulse 2.2s ease-in-out infinite; }

  [data-reveal].is-pending {
    opacity: 0;
    transform: translateY(26px);
  }
  [data-reveal].is-shown {
    transition: opacity 700ms var(--ease-expo), transform 740ms var(--ease-expo);
  }
}

/* ---------- Band 2: Full-Bleed Pure Black Layered Showcase (#000000) ---------- */

.band-dark {
  position: relative;
  background: var(--obsidian);
  color: var(--on-dark);
  overflow: clip;
}

.showcase {
  padding: 96px 0 108px;
}

.showcase-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 42%, #000 0%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 50% 42%, #000 0%, transparent 100%);
}

.showcase-aura {
  position: absolute;
  inset: -12% -10%;
  pointer-events: none;
  background:
    radial-gradient(38% 36% at 32% 52%, rgba(var(--orb-glow-dark-rgb), .22), transparent 68%),
    radial-gradient(34% 30% at 72% 48%, rgba(var(--orb-glow-dark-rgb), .12), transparent 72%);
  transition: background 360ms var(--ease);
}

.showcase-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.band-dark h2 {
  font-size: clamp(38px, 10.6vw, 76px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.046em;
  color: var(--on-dark);
  max-width: 14ch;
}

.band-sub {
  font-size: clamp(17.5px, 4.4vw, 23px);
  font-weight: 400;
  line-height: 1.44;
  letter-spacing: -0.018em;
  color: var(--on-dark-muted);
  max-width: 32ch;
}

.showcase-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 40px;
}

.showcase-orb-stage {
  position: relative;
  width: min(70vw, 290px);
  height: min(70vw, 290px);
  max-width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  will-change: transform;
  transition: transform 240ms linear;
}

/* Layered Dark Hardware Sheet (Recessed Atmospheric Backdrop + Elevated Obsidian Sheet) */
.showcase-stack {
  width: 100%;
  max-width: 460px;
  position: relative;
}

.stack-backdrop {
  position: relative;
  height: 112px;
  margin: 0 14px -38px;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 0;
}

.stack-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}

.stack-backdrop-bar {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .54);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .90);
  letter-spacing: -0.01em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, .8);
  flex: none;
}

.stack-sheet {
  position: relative;
  z-index: 2;
  background: rgba(14, 14, 18, .92);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  backdrop-filter: saturate(160%) blur(24px);
  border-radius: 28px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 28px 64px -20px rgba(0, 0, 0, .92);
  text-align: left;
}

.stack-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.stack-orb-badge {
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.stack-head-copy {
  min-width: 0;
  flex: 1;
}

.stack-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.stack-meta {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .54);
  margin-top: 2px;
}

.stack-pill {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.stack-pill-live {
  background: rgba(52, 211, 153, .14);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, .26);
}

.stack-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
}

.stack-rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 14px;
  transition: background-color 180ms var(--ease);
}

.stack-rows li:hover {
  background: rgba(255, 255, 255, .04);
}

.row-ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .86);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.row-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.row-copy strong {
  font-size: 14.5px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.row-copy span {
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .52);
}

.row-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .80);
  white-space: nowrap;
}

.row-tag-ready {
  background: rgba(75, 140, 255, .18);
  color: #93c5fd;
}

.stack-foot {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .07);
  font-size: 13px;
  color: rgba(255, 255, 255, .68);
  text-align: center;
}

@media (min-width: 900px) {
  .showcase { padding: 132px 0 144px; }
  .showcase-inner { gap: 56px; }
  .showcase-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 64px;
  }
  .showcase-orb-stage { width: 340px; height: 340px; }
  .showcase-stack { justify-self: end; }
  .band-dark h2 { max-width: 16ch; }
  .band-sub { max-width: 36ch; }
}

/* ---------- Band 3: Three Editorial Pillars with Layered Picture Scenes ---------- */

.pillars-band {
  position: relative;
  background: var(--surface);
  padding: 104px 0 116px;
  overflow: clip;
}

.pillars-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 22% at 15% 18%, rgba(var(--orb-glow-rgb), .08), transparent 72%),
    radial-gradient(46% 22% at 85% 52%, rgba(var(--orb-glow-rgb), .07), transparent 72%),
    radial-gradient(52% 22% at 50% 88%, rgba(var(--orb-glow-rgb), .07), transparent 72%);
}

.pillars-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.ed-pillar {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  scroll-margin-top: 96px;
}

.pillar-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
}

.ed-pillar h2 {
  font-size: clamp(36px, 9.8vw, 66px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.044em;
  color: var(--ink);
  max-width: 13ch;
}

.ed-line {
  font-size: clamp(17.5px, 4.4vw, 21px);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.015em;
  color: var(--steel);
  max-width: 34ch;
}

.ed-caption {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.005em;
}

.ed-divider {
  position: relative;
  width: min(64vw, 240px);
  height: 1px;
  background: var(--line);
  margin: 76px auto;
  overflow: hidden;
}

.ed-beam {
  position: absolute;
  inset: 0;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(var(--orb-glow-rgb), .70), transparent);
}

/* Layered Picture Scene Containers */
.pillar-visual {
  position: relative;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  min-height: 356px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scene-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.scene-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scene 1: Layered Mac Window + Overlapping iPhone Remote */
.scene-mac {
  padding: 24px 20px 26px;
  gap: 16px;
}

.mac-layer {
  position: relative;
  z-index: 1;
  background: var(--glass-strong);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--card-shadow);
  overflow: hidden;
}

.mac-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--ink-rgb) / .03);
}

.mac-lights {
  display: inline-flex;
  gap: 6px;
}

.mac-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--faint);
}

.mac-addr {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mac-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mac-step {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(var(--ink-rgb) / .03);
}

.mac-step strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.mac-step div span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}

.step-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--up);
  color: var(--on-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
}

.step-pulse {
  width: 10px;
  height: 10px;
  margin: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .18);
  flex: none;
}

.iphone-float {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: min(100%, 248px);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 22px;
  padding: 15px 16px;
  box-shadow: var(--card-shadow-lg);
  border: 1px solid rgba(255, 255, 255, .12);
}

.iphone-float-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  opacity: .72;
}

.iphone-float-q {
  margin-top: 8px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.iphone-float-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-cap {
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}

.mini-cap-rim {
  border: 1px solid rgba(255, 255, 255, .24);
  color: inherit;
}

.mini-cap-fill {
  background: var(--on-ink);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  .iphone-float {
    background: #14141a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, .14);
  }
  .mini-cap-fill {
    background: #ffffff;
    color: #050507;
  }
}

/* Scene 2: Layered 4-Orb Interactive Hub Stack */
.scene-hubs {
  padding: 22px;
}

.hub-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--card-shadow);
  cursor: pointer;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--card-shadow-lg);
}

.hub-card:active { transform: scale(.97); }

.hub-card.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink), var(--card-shadow-lg);
}

.hub-orb {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.hub-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hub-meta {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}

/* Scene 3: Layered Real Vault Screen + Live Privacy Seal Pill */
.scene-privacy {
  padding: 26px 22px 24px;
  align-items: center;
  justify-content: flex-end;
  min-height: 380px;
}

.vault-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 268px);
  aspect-ratio: 390 / 470;
  border-radius: 34px;
  padding: 8px;
  background: #0a0a0d;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 28px 64px -18px rgba(0, 0, 0, .72);
  overflow: hidden;
}

.vault-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
  object-position: top center;
}

.privacy-badge {
  position: relative;
  z-index: 2;
  margin-top: -22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(14, 14, 18, .90);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, .64);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.privacy-lock {
  display: inline-flex;
  color: #6ee7b7;
}

/* Tactile Hardware Segmented Switch */
.mode-dock {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
  border-radius: 999px;
  background: rgba(var(--ink-rgb) / .06);
  border: 1px solid var(--line);
  max-width: 100%;
}

.mode-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-switch label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.mode-switch input:checked + label {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.mode-switch input:focus-visible + label {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.mode-readout {
  font-size: 14.5px;
  line-height: 1.48;
  color: var(--muted);
  max-width: 38ch;
  min-height: 22px;
}

@media (min-width: 900px) {
  .pillars-band { padding: 148px 0 160px; }
  .ed-pillar-split {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 64px;
  }
  .ed-pillar-flip .pillar-copy { order: 2; }
  .ed-pillar-flip .pillar-visual { order: 1; }
  .pillar-visual { padding: 34px; min-height: 430px; }
  .scene-mac { padding: 34px 32px 30px; }
  .iphone-float { margin-top: -36px; margin-right: -8px; }
  .hub-grid { gap: 16px; }
  .hub-card { padding: 22px 20px; }
  .hub-card:nth-child(2), .hub-card:nth-child(4) { transform: translateY(10px); }
  .hub-card:nth-child(2):hover, .hub-card:nth-child(4):hover { transform: translateY(7px); }
  .ed-divider { margin: 112px auto; width: 280px; }
  .mode-switch label { padding: 0 18px; font-size: 13.5px; }
}

/* ---------- Band 4: Full-Bleed Pure Black Voice Moment ---------- */

.voice-band {
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 96px 0 104px;
}

.voice-canvas-wrap {
  position: relative;
  width: 100%;
  height: clamp(210px, 32svh, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.voice-wave-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.voice-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

@media (min-width: 768px) {
  .voice-band { min-height: 88svh; padding: 112px 0 124px; gap: 36px; }
  .voice-canvas-wrap { height: clamp(260px, 38svh, 380px); }
}

/* ---------- Band 5: Exclusive Invite Closing ---------- */

.closing-band {
  position: relative;
  background: var(--canvas);
  padding: 112px 0 116px;
  overflow: clip;
  scroll-margin-top: 64px;
}

.closing-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  -webkit-mask-image: radial-gradient(74% 64% at 50% 45%, #000 0%, transparent 100%);
  mask-image: radial-gradient(74% 64% at 50% 45%, #000 0%, transparent 100%);
}

.closing-sky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-aura {
  position: absolute;
  inset: -10% -10%;
  pointer-events: none;
  background:
    radial-gradient(46% 42% at 50% 48%, rgba(var(--orb-glow-rgb), .14), transparent 68%);
}

.closing-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.closing-orb-stage {
  width: 76px;
  height: 76px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-inner h2 {
  font-size: clamp(42px, 11.4vw, 80px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.046em;
  color: var(--ink);
  max-width: none;
}

.closing-sub {
  font-size: clamp(17.5px, 4.4vw, 21px);
  line-height: 1.46;
  color: var(--steel);
  max-width: 30ch;
}

.closing-cta {
  margin-top: 12px;
}

.closing-fit {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.closing-fit a {
  text-decoration: none;
  color: var(--steel);
  font-weight: 500;
  transition: color 160ms var(--ease);
}

.closing-fit a:hover { color: var(--ink); }

@media (min-width: 768px) {
  .closing-band { padding: 156px 0 164px; }
  .closing-sub { max-width: 36ch; }
}

/* ---------- Minimalist Gallery Footer ---------- */

.home .foot {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  margin-top: 0;
}

.foot-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.foot-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

.foot-dot { color: var(--faint); }
.foot-note { color: var(--muted); font-size: 13.5px; }

.home .legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.home .legal a {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.home .legal a:hover { color: var(--ink); }

@media (min-width: 768px) {
  .foot-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ---------- Interactive Request Access Sheet / Modal (16px inputs -> zero iOS Safari zoom) ---------- */

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .52);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

.sheet-backdrop.is-open { opacity: 1; }

.sheet {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92svh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  color: var(--ink);
  border-radius: 28px 28px 0 0;
  border-top: 1px solid var(--line);
  padding: 16px 22px calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 44px rgba(0, 0, 0, .28);
  transform: translateY(36px);
  transition: transform 320ms var(--ease-expo);
}

.sheet-backdrop.is-open .sheet { transform: translateY(0); }

.sheet-grab {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: rgba(var(--ink-rgb) / .18);
  margin: 0 auto 16px;
}

.sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: var(--sunken);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}

.sheet-close:hover { opacity: .82; }
.sheet-close:active { transform: scale(.94); }

.sheet-head {
  padding-right: 40px;
  margin-bottom: 18px;
}

.sheet-head h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: none;
}

.sheet-sub {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--steel);
}

#access-modal #lead-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

#access-modal .sheet-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  grid-column: 1 / -1;
}

.sheet .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}

.sheet .field label,
.sheet .field legend {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.opt-tag {
  font-weight: 400;
  color: var(--muted);
  margin-left: 3px;
}

.sheet input[type="text"],
.sheet input[type="email"],
.sheet input[type="tel"],
.sheet textarea {
  width: 100%;
  border: 1px solid var(--rim);
  border-radius: 13px;
  background: var(--sunken);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  padding: 11px 13px;
  min-height: 46px;
  appearance: none;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.sheet textarea {
  resize: vertical;
  min-height: 82px;
}

.sheet input:focus,
.sheet textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(var(--ink-rgb) / .10);
}

.sheet [aria-invalid="true"] {
  border-color: var(--down);
}

.sheet .err {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--down);
  margin: 0;
}

.plan-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 2px;
}

.pill-choice {
  position: relative;
  cursor: pointer;
}

.pill-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--sunken);
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  text-align: center;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.pill-choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}

.pill-choice input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.sheet .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sheet .form-note {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.sheet .form-note a {
  color: var(--steel);
  text-underline-offset: 2px;
}

/* Confirmation state inside the Request Access sheet */
.sheet .thanks {
  padding: 24px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.sheet .thanks h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 22ch;
}

.thanks-copy {
  font-size: 15px;
  line-height: 1.5;
  color: var(--steel);
  max-width: 34ch;
}

.sheet-done-btn {
  margin-top: 8px;
  height: 46px;
  padding: 0 28px;
  font-size: 15px;
}

@media (min-width: 640px) {
  .sheet-backdrop {
    align-items: center;
    padding: 24px;
  }
  .sheet {
    max-width: 472px;
    border-radius: 26px;
    border: 1px solid var(--line);
    padding: 28px 28px 26px;
    box-shadow: 0 0 0 1px var(--line), 0 32px 80px -20px rgba(0, 0, 0, .42);
    transform: scale(.95) translateY(10px);
  }
  .sheet-backdrop.is-open .sheet { transform: scale(1) translateY(0); }
  .sheet-grab { display: none; }
}
