/* styles.css — Precision Engineering Aesthetic: Cool Glacial Blue & Slate B2B Portfolio (Cluely-Inspired)
   Palette: Glacial Sky (#38BDF8 / #7DD3FC / #E0F2FE), Midnight Slate (#060D1A), Slate Gray (#334155 / #475569), Royal Electric Blue (#0284C7 / #0369A1)
   Typography: Plus Jakarta Sans / Archivo (Sans), Instrument Serif (Italic Accent), JetBrains Mono (Telemetry Numbers) */

:root {
  color-scheme: light;
  --bg: #F8FAFC;
  --bg-deep: #F1F5F9;
  --surface: #FFFFFF;
  --surface-secondary: #F0F9FF;
  --surface-glass: rgba(255, 255, 255, 0.65);
  --surface-glass-border: rgba(255, 255, 255, 0.85);
  --surface-glass-top: #FFFFFF;
  --ink: #060D1A;
  --ink-secondary: #1E293B;
  --muted: #475569;
  --accent: #0284C7;
  --accent-ink: #FFFFFF;
  --accent-gradient: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  --field-1: #E0F2FE;
  --field-1-ink: #060D1A;
  --field-1-surface: #BAE6FD;

  --font-display: "Plus Jakarta Sans", "Archivo", system-ui, sans-serif;
  --font-text: "Plus Jakarta Sans", "Archivo", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --step-small: 0.875rem;
  --step-body: 1.0625rem;
  --step-lead: 1.375rem;
  --step-head: clamp(1.75rem, 1.35rem + 1.5vw, 2.75rem);
  --step-display: clamp(2.65rem, 1.6rem + 3vw, 4.4rem);

  --margin: clamp(1.25rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 9vw, 9rem);
  --radius: 8px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 750ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}

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

img,
video {
  height: auto;
  background: var(--surface);
}

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
  transition: color var(--t-hover) var(--ease-out), text-decoration-color var(--t-hover) var(--ease-out);
}

a:hover {
  color: var(--accent);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2.5px solid #EA580C !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.25) !important;
}

:where(a, button, input, select, textarea, [tabindex]):focus:not(:focus-visible) {
  outline: none;
}

.package-pill:has(input:focus-visible) {
  outline: 2.5px solid #EA580C !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.25) !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: #0B1324;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 2px solid #EA580C;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(234, 88, 12, 0.25);
  text-decoration: none;
  transition: top 180ms ease, opacity 180ms ease;
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  opacity: 1;
  pointer-events: auto;
  outline: 2.5px solid #EA580C !important;
  outline-offset: 3px !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nums {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
  hyphens: none;
}

.head {
  font-size: var(--step-head);
  line-height: 1.05;
}

.lead {
  font-size: var(--step-lead);
  line-height: 1.42;
  max-width: 40ch;
}

.small {
  font-size: var(--step-small);
  line-height: 1.45;
}

.muted {
  color: var(--muted);
}

p {
  max-width: 58ch;
  text-wrap: pretty;
}

p+p {
  margin-top: 1em;
}

/* ---------- Buttons & Interactive Controls ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0 1.65rem;
  background: linear-gradient(180deg, #F97316 0%, #EA580C 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  border: 1px solid rgba(234, 88, 12, 0.85);
  box-shadow: 0 12px 28px -6px rgba(234, 88, 12, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), filter var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out);
}

.button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.95);
  display: inline-block;
  transition: transform var(--t-hover) var(--ease-out);
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

.button:hover::after {
  transform: scale(1.3);
}

.button:active {
  transform: scale(0.97);
}

.button-surface {
  background: #060D1A;
  color: #FFFFFF;
  border: 1px solid #060D1A;
  box-shadow: 0 4px 14px rgba(6, 13, 26, 0.12);
}

.button-surface:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3);
}

/* ---------- Authentic Apple-Style Liquid Glass Optical System ---------- */
.liquid-glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.14) 45%,
    rgba(255, 255, 255, 0.08) 70%,
    rgba(224, 242, 254, 0.28) 100%
  );
  backdrop-filter: url(#liquid-refraction) blur(12px) saturate(190%) contrast(104%) brightness(1.05);
  -webkit-backdrop-filter: url(#liquid-refraction) blur(12px) saturate(190%) contrast(104%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 14px 34px -8px rgba(12, 74, 110, 0.16),
    0 2px 6px rgba(15, 23, 42, 0.06),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
    inset 1px 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 6px 14px -2px rgba(255, 255, 255, 0.38),
    inset 0 -1.5px 2px 0 rgba(56, 189, 248, 0.28),
    inset 0 -4px 10px 0 rgba(255, 255, 255, 0.22);
}

.liquid-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.liquid-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(180px circle at var(--lx, 50%) var(--ly, 50%), rgba(255, 255, 255, 0.38), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
  border-radius: inherit;
  z-index: 1;
}

.liquid-glass:hover::after {
  opacity: 1;
}

.liquid-glass > * {
  position: relative;
  z-index: 2;
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.5rem;
  color: #0F172A;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform var(--t-press) var(--ease-out), box-shadow 160ms ease;
}

.button-ghost:hover {
  color: #0284C7;
  transform: translateY(-1px);
  box-shadow:
    0 18px 36px -8px rgba(12, 74, 110, 0.22),
    0 4px 10px rgba(15, 23, 42, 0.08),
    inset 0 1.5px 1px 0 #FFFFFF,
    inset 1px 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 6px 14px -2px rgba(255, 255, 255, 0.45),
    inset 0 -1.5px 2px 0 rgba(56, 189, 248, 0.35),
    inset 0 -4px 10px 0 rgba(255, 255, 255, 0.3);
}

.button-ghost:active {
  transform: scale(0.97);
}

/* ---------- Page Frame & Global 860px Centered Container ---------- */
.wrap,
.container {
  width: 100% !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* ---------- Top Header Bar (Floating Glacial Liquid Glass Nav) ---------- */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 860px !important;
  z-index: 1000;
  padding-block: 0.55rem;
  padding-inline: 1.25rem;
  border-radius: 999px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header-inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.brand-wordmark {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #0F172A;
  transition: color 160ms ease;
}

.brand-wordmark:hover {
  color: #0284C7;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.top-nav a {
  font-size: var(--step-small);
  text-decoration: none;
  color: #0F172A;
  font-weight: 500;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: color 160ms ease, background-color 160ms ease;
}

.top-nav a:not(.nav-cta):hover {
  color: #0284C7;
  background: rgba(255, 255, 255, 0.55);
}

.top-nav .nav-cta {
  background: #060D1A;
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  border: 1px solid #060D1A;
  box-shadow: 0 4px 12px rgba(6, 13, 26, 0.15);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform var(--t-press) var(--ease-out), box-shadow 160ms ease;
}

.top-nav .nav-cta:hover {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.top-nav .nav-cta:active {
  transform: scale(0.97);
}

/* ---------- B2B Asymmetric Hero with Atmospheric Glacial Sky & Mountain Mist ---------- */
.b2b-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 2rem;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(14, 116, 144, 0.08);
  background-color: transparent;
  overflow: hidden;
}

/* Atmospheric Dual-Layer Backdrop (Clean Cluely-Style Atmospheric Sky) */
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, #38BDF8 0%, #7DD3FC 22%, #BAE6FD 45%, #E0F2FE 70%, #F8FAFC 100%);
}

.hero-nature-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1454496522488-7a8e488e8606?auto=format&fit=crop&w=2400&q=85');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.65;
  mix-blend-mode: luminosity;
  filter: contrast(1.15) saturate(0.95);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.55) 58%, rgba(0, 0, 0, 0.95) 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.55) 58%, rgba(0, 0, 0, 0.95) 85%, transparent 100%);
}

/* Engineering Blueprint Hairline Grid */
.b2b-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(14, 116, 144, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 116, 144, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.b2b-hero-grid {
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: 940px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 76px;
}

.b2b-hero-copy {
  flex: 1 1 480px;
  width: 100%;
  max-width: 480px !important;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  z-index: 3;
}

.b2b-hero-copy::before {
  content: "";
  position: absolute;
  inset: -18px -24px;
  background: radial-gradient(ellipse at 35% 40%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 55%, transparent 80%);
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
  border-radius: 20px;
}

.b2b-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  color: #0C4A6E;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.b2b-pill-badge:not(.liquid-glass) {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px -4px rgba(2, 132, 199, 0.15);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #060D1A;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -0.01em;
  color: #060D1A;
  text-decoration: underline;
  text-decoration-color: #F97316;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  display: inline;
}

.hero-amber-accent {
  color: #060D1A;
  text-decoration: underline;
  text-decoration-color: #F97316;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: inline;
}

.hero-subheadline {
  font-size: var(--step-body);
  line-height: 1.6;
  color: #334155;
  max-width: 58ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 8px; /* 1.25rem (20px) + 8px = 28px clean space below subheadline */
}

/* Minimalist Inline Proof Bar (Cluely-style De-cluttered Proof) */
.hero-proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #475569;
}

.proof-bar-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  white-space: nowrap;
}

.proof-bar-item strong {
  font-weight: 700;
  color: #060D1A;
}

.proof-bar-dot {
  color: #94A3B8;
  font-size: 0.875rem;
  line-height: 1;
  user-select: none;
}

/* Right Column: 9:16 Interactive Reel Card Deck Stage */
.b2b-hero-visual {
  flex: 0 0 290px;
  width: 290px !important;
  max-width: 290px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reel-deck-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 290px;
}

/* Ambient Radial Glow Behind Deck */
.deck-ambient-glow {
  position: absolute;
  width: 380px;
  height: 540px;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 45% 35%, rgba(56, 189, 248, 0.3) 0%, transparent 65%),
    radial-gradient(circle at 65% 65%, rgba(2, 132, 199, 0.22) 0%, transparent 60%);
  filter: blur(52px);
  pointer-events: none;
  z-index: 0;
}

.reel-deck-stage {
  position: relative;
  width: 290px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
}

/* Cluely-Style Frosted Ice Glass Bezel Stage */
.reel-card-bezel {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  box-shadow: 0 30px 60px -15px rgba(2, 132, 199, 0.18), 0 15px 30px -10px rgba(6, 13, 26, 0.15);
  display: flex;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.reel-card-bezel:hover {
  box-shadow: 0 36px 70px -15px rgba(2, 132, 199, 0.25), 0 20px 35px -10px rgba(6, 13, 26, 0.18);
}

/* Floating Telemetry Pills (Pure White Floating Cards with Ice Blue Status Dot) */
.deck-telemetry-pill {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px -6px rgba(14, 116, 144, 0.16), 0 4px 10px rgba(6, 13, 26, 0.06);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #060D1A;
  white-space: nowrap;
  pointer-events: none;
  transition: transform 200ms ease, opacity 200ms ease;
}

.pill-left {
  left: -32px;
  top: 22%;
}

.pill-right {
  right: -32px;
  top: 64%;
}

.telemetry-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pulse-emerald {
  background: #F97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.85);
  animation: pulseDot 2s infinite ease-in-out;
}

.dot-amber {
  background: #F59E0B;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.85);
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

/* Stacked Queued Cards Behind Active Reel (3D Fanned-Out Deck) */
.reel-card-back {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(6, 13, 26, 0.2);
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.25rem 0.45rem;
  overflow: hidden;
  transition: transform 240ms var(--ease-out), opacity 240ms ease;
}

.reel-card-back.card-back-1 {
  transform: translateX(20px) translateY(-10px) rotate(2deg) scale(0.96);
  opacity: 0.92;
  z-index: 1;
  background: #0F172A;
}

.reel-card-back.card-back-2 {
  transform: translateX(38px) translateY(14px) rotate(-1.5deg) scale(0.92);
  opacity: 0.78;
  z-index: 0;
  background: #1E293B;
}

.back-card-edge {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.05em;
}

/* Main Active 9:16 Reel Card (Midnight Black Chamber inside Ice Bezel) */
.reel-card-active {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #060D1A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
  transition: opacity 200ms ease, transform 200ms ease, border-color 180ms ease;
}

.reel-card-active:hover {
  border-color: rgba(56, 189, 248, 0.5);
}

.reel-card-active.is-switching {
  opacity: 0.45;
  transform: translateY(4px) scale(0.99);
}

/* Card Top Status Bar */
.reel-card-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.95rem;
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
}

.reel-card-cat {
  font-family: var(--font-mono);
  color: #94A3B8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-card-badge {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #F97316;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.6875rem;
  white-space: nowrap;
}

/* Center Video & Canvas Telemetry Stage */
.reel-card-media {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  background: #060D1A;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reel-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) contrast(1.08);
  z-index: 0;
}

.reel-canvas-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.reel-card-pill-row {
  position: relative;
  z-index: 2;
  padding: 0.75rem 0.95rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reel-title-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.65rem;
  border-radius: 6px;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Bottom Gradient Mask with Hook Quote & Retention Metric */
.reel-card-overlay {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 2.75rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(6, 13, 26, 0) 0%, rgba(6, 13, 26, 0.88) 46%, rgba(6, 13, 26, 0.98) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.reel-hook-quote {
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 600;
  color: #FFFFFF;
  max-width: 100%;
}

.reel-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.reel-metric-pill {
  color: #38BDF8;
  font-family: var(--font-mono);
  font-weight: 600;
}

.reel-spec-tag {
  color: #94A3B8;
  font-family: var(--font-mono);
}

/* Bottom Floating Pill Dock Controls */
.reel-pill-dock {
  width: 320px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 32px -8px rgba(14, 116, 144, 0.16), 0 4px 10px rgba(6, 13, 26, 0.05);
}

.reel-dock-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #060D1A;
  border: 1px solid #060D1A;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.reel-dock-next-btn:hover {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.reel-dock-next-btn:active {
  transform: scale(0.96);
}

.dock-arrow-icon {
  transition: transform 160ms ease;
}

.reel-dock-next-btn:hover .dock-arrow-icon {
  transform: translateX(2px);
}

.reel-dock-mute-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(6, 13, 26, 0.05);
  border: 1px solid rgba(6, 13, 26, 0.08);
  color: #475569;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.reel-dock-mute-btn:hover {
  background: rgba(6, 13, 26, 0.12);
  color: #060D1A;
}

.reel-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.4rem;
}

.reel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(6, 13, 26, 0.2);
  transition: background-color 160ms ease, width 160ms ease;
}

.reel-dot.is-active {
  width: 14px;
  border-radius: 999px;
  background: #0284C7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.6);
}

/* ---------- Playbook & Interactive Hook Sandbox Section ---------- */
.playbook-section {
  padding-inline: 0;
  padding-block: clamp(3.5rem, 6vw, 6rem);
  background: transparent;
}

.playbook-grid {
  width: 100% !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Live Thing: Interactive Hook & Retention Sandbox */
.live-sandbox {
  grid-column: auto;
  background: #FFFFFF;
  padding: 1.5rem;
  border: 1px solid rgba(224, 242, 254, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -10px rgba(14, 116, 144, 0.1);
  display: flex;
  flex-direction: column;
}

.sandbox-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.sandbox-header .head {
  font-size: 1.45rem;
  line-height: 1.15;
}

.sandbox-header p {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
}

.sandbox-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.sandbox-tab {
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  background: #F0F9FF;
  color: var(--muted);
  border: 1px solid rgba(186, 230, 253, 0.6);
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 500;
  text-align: center;
  transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out);
}

.sandbox-tab:hover {
  background: #E0F2FE;
  color: #0284C7;
}

.sandbox-tab[aria-selected="true"] {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  font-weight: 600;
}

.sandbox-stage {
  background: #F8FAFC;
  border: 1px solid rgba(224, 242, 254, 0.8);
  border-radius: 6px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.sandbox-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.sandbox-score {
  background: #E0F2FE;
  color: #0369A1;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.725rem;
}

.sandbox-spoken {
  font-size: 1.05rem;
  line-height: 1.35;
  color: #060D1A;
  font-weight: 600;
}

.sandbox-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.sandbox-cell strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284C7;
  margin-bottom: 0.15rem;
}

.sandbox-cell span {
  font-size: 0.8rem;
  color: #060D1A;
}

/* Founder's Letter inside Playbook Grid */
.founder-letter {
  grid-column: auto;
  background: #E0F2FE;
  color: #060D1A;
  border: 1px solid rgba(186, 230, 253, 0.9);
  box-shadow: 0 12px 32px -10px rgba(14, 116, 144, 0.08);
  padding: 1.5rem;
  padding-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 12px),
      96% 100%, 92% calc(100% - 12px), 88% 100%, 84% calc(100% - 12px),
      80% 100%, 76% calc(100% - 12px), 72% 100%, 68% calc(100% - 12px),
      64% 100%, 60% calc(100% - 12px), 56% 100%, 52% calc(100% - 12px),
      48% 100%, 44% calc(100% - 12px), 40% 100%, 36% calc(100% - 12px),
      32% 100%, 28% calc(100% - 12px), 24% 100%, 20% calc(100% - 12px),
      16% 100%, 12% calc(100% - 12px), 8% 100%, 4% calc(100% - 12px), 0% 100%);
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.founder-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}

.founder-monogram {
  font-family: var(--font-mono, monospace);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

.founder-letter h2 {
  font-size: 1.35rem;
  line-height: 1.15;
  color: #060D1A;
  margin: 0;
}

.founder-letter p {
  color: #060D1A;
  font-size: 0.925rem;
  line-height: 1.45;
  margin-bottom: 0.65rem;
  max-width: 100%;
}

.marker-phrase {
  background: #060D1A;
  color: #FFFFFF;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.founder-signoff {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(14, 116, 144, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.signoff-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #060D1A;
}

/* ---------- Section 1: Work — Split Reel Showcase ---------- */
.work-section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  padding-inline: 0;
  background: transparent;
}

.work-header {
  width: 100% !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.work-header h2 {
  color: #060D1A;
}

.work-header p {
  color: var(--muted);
  max-width: 60ch;
}

.reel-stage-list {
  width: 100% !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.reel-split-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem;
  background: #FFFFFF;
  border: 1px solid rgba(224, 242, 254, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -10px rgba(14, 116, 144, 0.1);
  padding: 1.5rem;
  align-items: center;
}

.reel-diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  overflow: hidden;
  background: #0B111E;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(14, 116, 144, 0.15);
}

.ui-mockup-card {
  background: #111827;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 180px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.mockup-window-header {
  background: #1F2937;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  color: #94A3B8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot-red { width: 6px; height: 6px; border-radius: 50%; background: #EF4444; }
.mockup-dot-yellow { width: 6px; height: 6px; border-radius: 50%; background: #F59E0B; }
.mockup-dot-green { width: 6px; height: 6px; border-radius: 50%; background: #10B981; }

.mockup-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  color: #E2E8F0;
}

.mockup-timer,
.mockup-stat {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  color: #38BDF8;
}

.mockup-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mockup-badge {
  font-size: 0.625rem;
  font-weight: 700;
  color: #F97316;
  letter-spacing: 0.04em;
}

.mockup-question {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #F1F5F9;
  margin: 0;
}

.mockup-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mockup-opt {
  font-size: 0.6875rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-opt.is-correct {
  background: rgba(2, 132, 199, 0.2);
  color: #38BDF8;
  border-color: rgba(2, 132, 199, 0.4);
  font-weight: 600;
}

.mockup-graph-wrap {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.mockup-graph-svg {
  width: 100%;
  height: auto;
  max-height: 100px;
}

.mockup-graph-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  color: #64748B;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.mockup-audio-body {
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.audio-wave-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  width: 100%;
  justify-content: center;
}

.audio-wave-bars span {
  width: 4px;
  height: var(--h, 50%);
  background: linear-gradient(180deg, #38BDF8 0%, #0284C7 100%);
  border-radius: 2px;
  animation: pulse-wave 1.2s ease-in-out infinite alternate;
}

@keyframes pulse-wave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.audio-timer-pill {
  font-size: 0.65rem;
  color: #F97316;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.mockup-store-cta {
  font-size: 0.65rem;
  color: #10B981;
  font-weight: 600;
  margin-top: auto;
}

.mockup-split-frame {
  gap: 6px;
  padding: 8px;
}

.split-frame-top,
.split-frame-bot {
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 4px;
}

.split-tag {
  font-size: 0.58rem;
  color: #38BDF8;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.split-demo-line {
  height: 4px;
  width: 70%;
  background: #0284C7;
  border-radius: 2px;
}

.split-frame-divider {
  font-size: 0.55rem;
  color: #F59E0B;
  text-align: center;
  border-top: 1px dashed rgba(245, 158, 11, 0.3);
  padding-top: 2px;
}

.split-caption {
  font-size: 0.6875rem;
  color: #F1F5F9;
  font-style: italic;
  margin: 0;
}

.reel-details {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.reel-title {
  font-size: 1.35rem;
  line-height: 1.15;
  color: #060D1A;
}

.reel-quote {
  background: #F0F9FF;
  border-left: 3px solid #0284C7;
  padding: 0.75rem 1rem;
  font-size: var(--step-small);
  color: #060D1A;
}

.reel-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.reel-specs span {
  background: #F0F9FF;
  border: 1px solid rgba(186, 230, 253, 0.6);
  border-radius: 4px;
  color: #0369A1;
  padding: 0.25rem 0.6rem;
}

/* ---------- Section 2: Proof & Target Verticals — Plain Names in Columns ---------- */
.proof-section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  padding-inline: 0;
  background: rgba(224, 242, 254, 0.45);
  border-top: 1px solid rgba(186, 230, 253, 0.6);
  border-bottom: 1px solid rgba(186, 230, 253, 0.6);
}

.proof-grid {
  width: 100% !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  column-gap: 2.5rem;
  align-items: start;
}

.proof-intro {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.proof-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.25rem;
  row-gap: 1.75rem;
}

.proof-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.proof-kind {
  font-size: 1.05rem;
  color: #0284C7;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.proof-item {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #060D1A;
}

/* ---------- Section 3: How It Works — Itinerary on a Slip ---------- */
.itinerary-section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  padding-inline: 0;
  background: transparent;
}

.itinerary-grid {
  width: 100% !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  column-gap: 2rem;
  align-items: start;
}

.itinerary-copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.itinerary-figure {
  margin-top: 1rem;
  background: #FFFFFF;
  border: 1px solid rgba(224, 242, 254, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -10px rgba(14, 116, 144, 0.08);
  padding: 1.25rem 1rem;
}

.itinerary-pipeline-card {
  width: 100%;
}

.pipeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.node-idx {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline-node.is-done .node-idx {
  background: #E0F2FE;
  color: #0284C7;
}

.pipeline-node.is-active .node-idx {
  background: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.5);
}

.node-title {
  font-size: 0.65rem;
  color: #060D1A;
  font-weight: 600;
}

.pipeline-connector {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
}

.itinerary-figure figcaption {
  margin-top: 1rem;
  font-size: var(--step-small);
  color: var(--muted);
  text-align: center;
}

.itinerary-slip-wrap {
  width: 100%;
}

.itinerary-slip {
  background: #E0F2FE;
  color: #060D1A;
  border: 1px solid rgba(186, 230, 253, 0.8);
  box-shadow: 0 12px 32px -10px rgba(14, 116, 144, 0.08);
  padding: 1.75rem;
  padding-bottom: 2.75rem;
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 14px),
      95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px),
      75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px),
      55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px),
      35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px),
      15% 100%, 10% calc(100% - 14px), 5% 100%, 0% calc(100% - 14px));
}

.slip-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #060D1A;
  margin-bottom: 1.15rem;
}

.slip-day {
  font-weight: 700;
  font-size: 0.875rem;
  color: #060D1A;
  margin-top: 1.25rem;
  margin-bottom: 0.45rem;
}

.slip-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  padding-block: 0.25rem;
  font-size: 0.875rem;
  color: #060D1A;
}

.slip-dots {
  flex: 1;
  min-width: 1.25rem;
  height: 4px;
  background-color: rgba(2, 132, 199, 0.25);
  opacity: 0.75;
}

.slip-total {
  margin-top: 1.5rem;
  background: #060D1A;
  color: #FFFFFF;
  border-radius: 6px;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.875rem;
}

/* ---------- Section 4: Vertical Booking Section & Form ---------- */
.booking-section {
  padding-block: clamp(4rem, 7vw, 7rem);
  padding-inline: 0;
  background: linear-gradient(180deg, #E0F2FE 0%, #F0F9FF 100%);
  border-top: 1px solid rgba(186, 230, 253, 0.8);
}

.booking-centered-wrap {
  width: 100% !important;
  max-width: 580px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: 20px !important;
  box-sizing: border-box !important;
}

.booking-header {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.booking-eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0369A1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.booking-title {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  color: #060D1A;
  margin: 0;
  line-height: 1.15;
}

.booking-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #060D1A;
}

.booking-sub {
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.45;
  max-width: 44ch;
  margin: 0;
}

.booking-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.03);
  position: relative;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.booking-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.booking-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.booking-field-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0F172A;
}

.label-optional {
  color: #94A3B8;
  font-weight: 400;
  font-size: 0.75rem;
}

.booking-input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #060D1A;
  box-sizing: border-box;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.booking-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.booking-input:focus {
  outline: none;
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.booking-select {
  cursor: pointer;
  appearance: auto;
}

.package-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.package-pill {
  cursor: pointer;
  padding: 0.65rem 0.55rem;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  transition: all 160ms ease;
  user-select: none;
}

.package-pill:hover {
  background: #F1F5F9;
  border-color: rgba(2, 132, 199, 0.3);
}

.package-pill.is-active {
  background: #F0F9FF;
  border-color: #0284C7;
  box-shadow: 0 0 0 1px #0284C7;
}

.package-pill .pill-name {
  font-size: 0.775rem;
  font-weight: 700;
  color: #060D1A;
  line-height: 1.25;
}

.package-pill.is-active .pill-name {
  color: #0284C7;
}

.package-pill .pill-desc {
  font-size: 0.65rem;
  color: #64748B;
  line-height: 1.2;
}

.booking-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  line-height: 1.45;
}

.booking-submit-btn {
  width: 100%;
  justify-content: center;
  min-height: 3.25rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.booking-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.booking-feedback {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

.booking-feedback[hidden] {
  display: none;
}

.booking-feedback.is-error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.booking-feedback.is-success {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.booking-success-view {
  text-align: center;
  padding: 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.booking-success-view[hidden] {
  display: none;
}

.success-badge-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.4);
}

.success-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #060D1A;
  margin: 0;
}

.success-desc {
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 40ch;
  margin: 0;
}

.success-meta {
  font-size: 0.75rem;
  font-family: var(--font-mono, monospace);
  color: #059669;
  background: #ECFDF5;
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-top: 0.4rem;
}

.success-reset-btn {
  margin-top: 1rem;
  font-size: 0.8125rem;
}

/* Mandatory Clickwrap Terms Checkbox */
.booking-terms-row {
  margin-top: 0.25rem;
}

.booking-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.booking-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: #0284C7;
  cursor: pointer;
}

.terms-text {
  flex: 1;
}

/* ---------- Section 5: Footer (Name & B2B Legal Shield) ---------- */
.site-footer {
  position: relative;
  min-height: 40svh;
  padding: 3.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #060D1A;
  color: #F8FAFC;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top,
.footer-bottom {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 140ms ease;
}

.footer-links a:hover {
  color: #38BDF8;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: #64748B;
  font-size: 0.8125rem;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 13.5vw, 12.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: #1E293B;
  margin-bottom: 1rem;
  transform-origin: left bottom;
}

.footer-legal-shield {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.legal-item {
  font-size: 12px;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
  max-width: 90ch;
}

.legal-tag {
  color: #94A3B8;
  font-weight: 600;
}

/* ---------- Motion Layer (Subtle Fade-In Only, Reduced Motion Safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] {
    opacity: 0;
    transform: translateY(8px);
    animation: rise-in 420ms var(--ease-out) forwards;
    animation-delay: calc(var(--i, 0) * 55ms + 40ms);
  }

  .js [data-reveal] {
    opacity: 0.25;
    transform: translateY(10px);
    transition: opacity 420ms var(--ease-out), transform 480ms var(--ease-out);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive (Tablet & Mobile) ---------- */
@media (max-width: 58em) {
  .b2b-hero-grid {
    flex-direction: column !important;
    gap: 2.5rem !important;
  }

  .b2b-hero-copy {
    max-width: 100% !important;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-subheadline {
    text-align: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .b2b-hero-visual {
    margin-top: 0;
  }

  .playbook-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reel-split-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .proof-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .itinerary-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .top-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 38em) {
  .booking-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .package-pills-grid {
    grid-template-columns: 1fr;
  }

  .booking-card {
    padding: 22px 18px;
  }

  .reel-deck-stage,
  .reel-pill-dock {
    width: min(290px, calc(100vw - 48px));
  }

  .reel-card-bezel {
    padding: 7px;
    border-radius: 20px;
  }

  .deck-telemetry-pill {
    padding: 0.28rem 0.6rem;
    font-size: 0.65rem;
  }

  .pill-left {
    left: -10px;
    top: 16%;
  }

  .pill-right {
    right: -10px;
    top: 68%;
  }

  .reel-card-back.card-back-1 {
    transform: translateX(12px) translateY(-8px) scale(0.96);
  }

  .reel-card-back.card-back-2 {
    transform: translateX(24px) translateY(10px) scale(0.92);
  }

  .hero-proof-bar {
    justify-content: center;
    text-align: center;
    gap: 0.5rem 0.75rem;
  }

  .proof-columns {
    grid-template-columns: 1fr;
  }

  .cell-input,
  .cell-submit {
    min-height: 3.75rem;
  }
}

/* ==========================================================================
   WCAG 2.1 AA Reduced Motion Support
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
