/* ==========================================================================
   HOLOTYPE DOOEL (holotype.mk) — Apple Corporate Style
   Architectural Daylight (Django Green Edition)
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans-latin.52d04440a9fa.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-latin.65850a373e25.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HolotypeMono";
  src: url("/static/fonts/holotype-mono-latin-cyrillic.c8995cb96e32.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* HOLOTYPE — Architectural Daylight (Django Green Edition) */

  /* Surfaces (60%) */
  --surface-canvas:        #FAFAF9; /* Warm Alabaster — App Canvas */
  --surface-card:          #FFFFFF; /* Pure White — Elevated Cards */

  /* Structure & Ink (30%) */
  --ink-primary:           #0F172A; /* Slate-Obsidian Ink — Typography & Data */
  --border-hairline:       #E2E8F0; /* Cool Mist — 1px Structural Borders */

  /* Brand Accent & Live Signal (10%) */
  --brand-primary:         #092E20; /* Django Dark Green — CTAs & Active States */
  --brand-primary-hover:   #0C4B33; /* Django Green Step — Hover & Focus Links */
  --signal-verified:       #059669; /* Signal Emerald — Verified & Live Status */

  /* Derived Architectural Helpers */
  --ink-secondary:         #475569;
  --ink-muted:             #64748B;
  --surface-subtle:        #F1F5F9;
  --brand-soft:            rgba(9, 46, 32, 0.06);
  --brand-border:          rgba(9, 46, 32, 0.18);
  --signal-soft:           rgba(5, 150, 105, 0.10);
  --shadow-card:           0 1px 3px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.04);
  --shadow-elevated:       0 4px 12px rgba(15, 23, 42, 0.05), 0 24px 54px rgba(15, 23, 42, 0.08);
  --font-display:          "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans:             "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:             "HolotypeMono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  background: var(--surface-canvas);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface-canvas);
  color: var(--ink-primary);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  background: var(--brand-primary);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.skip-link:focus {
  left: 16px;
}

.wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Sticky Frosted Daylight Header (Apple Corporate Pattern)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 250, 249, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-hairline);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-svg {
  height: 28px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 8px 14px;
  border-radius: 999px;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--brand-primary);
  background: var(--brand-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-primary);
  color: #FFFFFF;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--brand-primary);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(9, 46, 32, 0.16);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface-card);
  color: var(--ink-primary);
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-hairline);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.96rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.link-arrow:hover {
  color: var(--brand-primary-hover);
  gap: 9px;
}

/* ==========================================================================
   Hero & Interactive Apple-Corporate Blueprint Showcase
   ========================================================================== */
.hero-sec {
  padding: clamp(60px, 8vw, 104px) 0 clamp(48px, 6vw, 76px);
  border-bottom: 1px solid var(--border-hairline);
  background:
    radial-gradient(circle at 50% -10%, rgba(9, 46, 32, 0.05), transparent 58%),
    var(--surface-canvas);
}

.hero-center {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

/* Simple Live Type / Delete / Retype Marketing Hook Bar */
.hero-live-console {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  margin: 0 auto 24px;
  padding: 8px 18px 8px 15px;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  font-size: 0.9rem;
  max-width: 100%;
}

.hero-live-console:hover {
  border-color: var(--brand-border);
  box-shadow: 0 10px 28px rgba(9, 46, 32, 0.09);
  transform: translateY(-1px);
}

.hlc-pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-verified);
  flex-shrink: 0;
}

.hlc-pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--signal-verified);
  animation: hlcPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hlcPulse {
  0% {
    transform: scale(0.75);
    opacity: 0.9;
  }
  75%, 100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.hlc-prefix {
  color: var(--ink-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.hlc-dynamic-wrap {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.hlc-typed-text {
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hlc-slash-cursor {
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--signal-verified);
  font-weight: 700;
  margin-left: 3px;
  animation: hlcSlashBlink 0.8s steps(2, start) infinite;
}

@keyframes hlcSlashBlink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0.1;
  }
}

.hlc-arrow {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.88rem;
  margin-left: 2px;
  transition: transform 0.18s ease, color 0.18s ease;
}

.hero-live-console:hover .hlc-arrow {
  color: var(--brand-primary);
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .hero-live-console {
    font-size: 0.82rem;
    padding: 8px 14px;
    flex-wrap: wrap;
    border-radius: 16px;
  }
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-verified);
  display: inline-block;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 22px;
  text-wrap: balance;
}

.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 64ch;
  margin: 0 auto 32px;
}

.page-lead {
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.62;
  color: var(--ink-secondary);
  max-width: 64ch;
}

.cta-row-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Interactive Daylight Architecture Stage */
.blueprint-stage {
  margin-top: 52px;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 26px;
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.blueprint-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--surface-canvas);
  border-bottom: 1px solid var(--border-hairline);
  overflow-x: auto;
}

.bp-tab {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-secondary);
  cursor: pointer;
  white-space: nowrap;
}

.bp-tab:hover {
  color: var(--ink-primary);
}

.bp-tab.is-active {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.bp-panel {
  padding: clamp(24px, 4vw, 40px);
}

.bp-panel[hidden] {
  display: none !important;
}

.bp-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.bp-copy h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.bp-copy p {
  color: var(--ink-secondary);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.bp-flow {
  background: var(--surface-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bp-node {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bp-node-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.bp-node-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.bp-badge-ok {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--signal-verified);
  background: var(--signal-soft);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ==========================================================================
   Normalized Client & Partner Logo Showcase
   ========================================================================== */
.logo-sec {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--surface-card);
}

.logo-sec-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 26px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.logo-cell {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  height: 78px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.logo-cell:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.client-logo-img {
  width: 148px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) contrast(1.06);
  opacity: 0.78;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.logo-cell:hover .client-logo-img {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
}

/* ==========================================================================
   Sections, Bento Cards & Service Pillars
   ========================================================================== */
.sec {
  padding: clamp(64px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--border-hairline);
}

.sec-white {
  background: var(--surface-card);
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.sec-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: var(--ink-primary);
}

.sec-desc {
  color: var(--ink-secondary);
  font-size: 1.02rem;
  max-width: 58ch;
  margin-top: 8px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-border);
  box-shadow: var(--shadow-elevated);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 6px 0 10px;
}

.pillar-scope {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cap-pill {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-primary);
  background: var(--brand-soft);
  border: 1px solid rgba(9, 46, 32, 0.10);
  padding: 4px 11px;
  border-radius: 999px;
}

/* ==========================================================================
   Client Outcomes Cards (Strict Discretion — Zero Stack Exposure)
   ========================================================================== */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.outcome-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.outcome-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-hairline);
}

.outcome-logo {
  width: 132px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.industry-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface-canvas);
  border: 1px solid var(--border-hairline);
  padding: 4px 11px;
  border-radius: 999px;
}

.outcome-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.52;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--signal-verified);
  font-weight: 700;
}

/* ==========================================================================
   The Holotype Engineering Standard Strip
   ========================================================================== */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.standard-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 22px;
}

.standard-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--signal-verified);
  display: block;
  margin-bottom: 8px;
}

.standard-card h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.standard-card p {
  font-size: 0.84rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Detail Panels, Status Badges, Filter Bar & Comparison Table
   ========================================================================== */
.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-panel {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 24px;
  padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--shadow-card);
}

.split-2 {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: start;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-LIVE {
  color: var(--signal-verified);
  background: var(--signal-soft);
}
.badge-LIVE::before {
  background: var(--signal-verified);
}

.badge-PRIVATE_BETA {
  color: var(--brand-primary);
  background: var(--brand-soft);
}
.badge-PRIVATE_BETA::before {
  background: var(--brand-primary);
}

.badge-VENTURE {
  color: #475569;
  background: #F1F5F9;
}
.badge-VENTURE::before {
  background: #475569;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-tab {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  padding: 8px 16px;
  border-radius: 999px;
}

.filter-tab:hover,
.filter-tab.is-active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 18px;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: var(--surface-canvas);
}

/* ==========================================================================
   2-Step Interactive Project & Growth Planner (/contact/)
   ========================================================================== */
.planner-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.goal-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.goal-chip {
  text-align: left;
  background: var(--surface-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 12px 15px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.goal-chip:hover {
  border-color: var(--brand-primary);
}

.goal-chip.is-selected {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.form-control {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.94rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.alert-success {
  background: var(--signal-soft);
  border: 1px solid rgba(5, 150, 105, 0.32);
  color: #065F46;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.94rem;
}

.errorlist {
  list-style: none;
  color: #DC2626;
  font-size: 0.8rem;
}

/* FAQ & Legal Prose */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 24px;
}

.faq-card h3 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  margin-bottom: 8px;
}

.faq-card p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.legal-prose {
  max-width: 78ch;
  margin: 0 auto;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 28px 0 10px;
}

.legal-prose p,
.legal-prose li {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.legal-prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Interactive Bottleneck-to-System Conversion Stage (#holotype-ignition-cta)
   ========================================================================== */
.ignition-stage {
  --spot-x: 74%;
  --spot-y: 44%;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(32px, 4.8vw, 56px);
  background:
    radial-gradient(620px circle at var(--spot-x) var(--spot-y), rgba(5, 150, 105, 0.17), transparent 64%),
    linear-gradient(138deg, #092E20 0%, #072218 52%, #051610 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 64px -16px rgba(9, 46, 32, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  isolation: isolate;
}

.ignition-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 85% 80% at 55% 50%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 55% 50%, #000 35%, transparent 100%);
}

.ignition-aurora {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -150px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.34) 0%, rgba(255, 255, 255, 0.14) 45%, transparent 72%);
  filter: blur(36px);
  animation: igAuroraFloat 11s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes igAuroraFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-44px, 36px, 0) scale(1.1);
  }
}

.ignition-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.ignition-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 18px;
}

.ignition-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: igBeacon 2.2s infinite;
}

@keyframes igBeacon {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.75);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(5, 150, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

.ignition-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.78rem, 2.55vw, 2.34rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.ignition-h2 span {
  background: linear-gradient(92deg, #FFFFFF 0%, #FFFFFF 38%, #059669 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ignition-sub {
  font-size: 0.97rem;
  line-height: 1.58;
  color: rgba(241, 245, 249, 0.78);
  max-width: 52ch;
  margin-bottom: 22px;
}

.ignition-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-bottom: 24px;
}

.ignition-tab {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 15px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease;
}

.ignition-tab:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(5, 150, 105, 0.36);
  transform: translateX(3px);
}

.ignition-tab.is-active {
  background: rgba(5, 150, 105, 0.15);
  border-color: rgba(5, 150, 105, 0.68);
  color: #FFFFFF;
  box-shadow: 0 10px 26px -10px rgba(5, 150, 105, 0.45);
}

.ignition-tab-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.24s ease, color 0.24s ease;
}

.ignition-tab.is-active .ignition-tab-num {
  background: #059669;
  color: #FFFFFF;
}

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

.ignition-tab-copy strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ignition-tab-copy small {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.7);
}

.ignition-tab-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.06);
}

.ignition-tab-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #059669, #FFFFFF);
  transform: scaleX(0);
  transform-origin: left center;
}

.ignition-tab.is-active .ignition-tab-progress i {
  animation: igTabProgress 4.6s linear forwards;
}

.ignition-stage.is-paused .ignition-tab.is-active .ignition-tab-progress i {
  animation-play-state: paused;
}

@keyframes igTabProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.ignition-cta-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ignition-primary-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #092E20;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, background 0.22s ease;
}

.ignition-primary-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(5, 150, 105, 0.22) 50%, transparent 80%);
  transform: translateX(0) skewX(-20deg);
  animation: igBtnSheen 5.2s ease-in-out infinite;
  pointer-events: none;
}

/* Travels 280% of the button (= 431% of its own 65% width) via transform, not `left` */
@keyframes igBtnSheen {
  0%, 68% {
    transform: translateX(0) skewX(-20deg);
  }
  100% {
    transform: translateX(431%) skewX(-20deg);
  }
}

.ignition-primary-btn:hover {
  background: #FAFAF9;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.ignition-btn-arrow {
  transition: transform 0.22s ease;
}

.ignition-primary-btn:hover .ignition-btn-arrow {
  transform: translateX(4px);
}

.ignition-secondary-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ignition-secondary-link:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.ignition-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 0.77rem;
  color: rgba(209, 250, 229, 0.78);
  font-weight: 500;
}

/* Right Column: Animated Transformation Reactor Card */
.reactor-glass-shell {
  background: rgba(7, 24, 18, 0.74);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 20px 22px 22px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.reactor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.reactor-dots {
  display: flex;
  gap: 6px;
}

.reactor-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.reactor-dots span:nth-child(3) {
  background: #059669;
}

.reactor-window-title {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: rgba(226, 232, 240, 0.75);
  letter-spacing: 0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reactor-live-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.16);
  border: 1px solid rgba(5, 150, 105, 0.4);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.reactor-live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  animation: igBeacon 1.8s infinite;
}

.reactor-friction-box {
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.34);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.reactor-micro-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.reactor-micro-label.is-emerald {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0;
}

.reactor-friction-text {
  font-size: 0.87rem;
  color: rgba(241, 245, 249, 0.75);
  margin: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.reactor-friction-text s {
  text-decoration-color: rgba(255, 255, 255, 0.82);
  text-decoration-thickness: 1.5px;
}

.reactor-conduit {
  margin: 6px 0;
}

.reactor-svg {
  width: 100%;
  height: auto;
  display: block;
}

.ig-pulse-line {
  stroke-dasharray: 48 220;
  stroke-dashoffset: 268;
  animation: igSignalFlow 2.35s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ig-in-2 {
  animation-delay: 0.32s;
}

.ig-in-3 {
  animation-delay: 0.64s;
}

.ig-out-1 {
  animation-delay: 0.95s;
}

.ig-out-2 {
  animation-delay: 1.15s;
}

.ig-out-3 {
  animation-delay: 1.35s;
}

@keyframes igSignalFlow {
  0% {
    stroke-dashoffset: 268;
    opacity: 0.2;
  }
  25% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.15;
  }
}

.ig-core-halo {
  transform-origin: 260px 74px;
  animation: igHaloPulse 2.8s ease-in-out infinite;
}

@keyframes igHaloPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.85;
  }
}

.ig-node-out {
  animation: igNodeGlow 2.35s ease-in-out infinite;
}

.ig-delay-1 {
  animation-delay: 0.25s;
}

.ig-delay-2 {
  animation-delay: 0.5s;
}

@keyframes igNodeGlow {
  0%, 60%, 100% {
    opacity: 0.45;
  }
  80% {
    opacity: 1;
  }
}

.reactor-outcome-card {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(5, 150, 105, 0.16) 0%, rgba(15, 23, 42, 0.62) 100%);
  border: 1px solid rgba(5, 150, 105, 0.4);
  transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1), transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.ignition-stage.is-morphing .reactor-outcome-card,
.ignition-stage.is-morphing .reactor-friction-text {
  opacity: 0;
  transform: translateY(6px);
}

.reactor-outcome-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.reactor-status-badge {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.22);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(5, 150, 105, 0.34);
}

.reactor-outcome-title {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.reactor-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
}

.reactor-deliverables li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.45;
}

.reactor-deliverables li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #059669;
  font-weight: 800;
}

.reactor-ecosystem-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.reactor-ecosystem-row span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0;
}

@media (max-width: 980px) {
  .ignition-layout {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ignition-aurora,
  .ignition-pulse-dot,
  .ignition-primary-btn::after,
  .ig-pulse-line,
  .ig-core-halo,
  .ig-node-out,
  .ignition-tab.is-active .ignition-tab-progress i {
    animation: none !important;
  }
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--brand-primary);
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
}

.btn-white:hover {
  background: #F1F5F9;
  transform: translateY(-1px);
}

/* ==========================================================================
   Apple Business Modern Photo-Backed Widgets, Carousels & Bento Overlays
   ========================================================================== */

/* 1. Hero 4-Card Cinema Strip (apple.com/business hero pattern) */
.hero-cinema-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.cinema-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 10.4;
  background: #0B1215;
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 14px;
}

.cinema-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  z-index: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.cinema-card:hover img {
  transform: scale(1.04);
}

.cinema-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 18, 21, 0) 38%, rgba(11, 18, 21, 0.88) 100%);
  pointer-events: none;
}

.cinema-chip {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  color: #F8FAFC;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
}

.cinema-caption {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

/* 2. Tall Portrait "Business is better with HOLOTYPE. Facts." Gallery (apple_biz_1_800 pattern) */
.apple-facts-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 345px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.apple-facts-track::-webkit-scrollbar {
  display: none;
}

.apple-fact-card {
  position: relative;
  height: 470px;
  border-radius: 28px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #0F172A;
  color: #FFFFFF;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-elevated);
}

.apple-fact-card.is-silver {
  background: linear-gradient(155deg, #F1F5F9 0%, #CBD5E1 100%);
  color: var(--ink-primary);
  border: 1px solid var(--border-hairline);
}

.apple-fact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.apple-fact-card:hover .apple-fact-bg {
  transform: scale(1.03);
}

.apple-fact-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.22) 55%, rgba(15, 23, 42, 0.65) 100%);
  z-index: 1;
}

.apple-fact-head {
  position: relative;
  z-index: 2;
}

.apple-fact-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.9;
  display: block;
  margin-bottom: 8px;
}

.apple-fact-title {
  font-family: var(--font-display);
  font-size: 1.52rem;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.022em;
}

.apple-silver-watermark {
  position: absolute;
  left: -18px;
  bottom: -26px;
  font-family: var(--font-display);
  font-size: 13rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(9, 46, 32, 0.08);
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.apple-fact-drawer {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(9, 46, 32, 0.96);
  backdrop-filter: blur(16px);
  color: #FFFFFF;
  padding: 30px 28px 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.apple-fact-card.is-expanded .apple-fact-drawer {
  opacity: 1;
  pointer-events: auto;
}

.apple-fact-drawer h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.22;
}

.apple-fact-drawer p {
  font-size: 0.92rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.86);
}

.apple-plus-btn {
  position: relative;
  z-index: 4;
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  color: var(--ink-primary);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.apple-plus-btn:hover {
  transform: scale(1.07);
}

.carousel-nav-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.carousel-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-hairline);
  background: var(--surface-card);
  color: var(--ink-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.carousel-arrow-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* 3. Asymmetric Photo + macOS Window & Frosted AI Popover Bento (apple_biz_3_2550 pattern) */
.apple-bento-showcase {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
}

.bento-photo-card {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  padding: 32px;
  color: #FFFFFF;
  box-shadow: var(--shadow-elevated);
}

.bento-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bento-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.15) 55%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 1;
}

.bento-photo-content {
  position: relative;
  z-index: 2;
  max-width: 28ch;
}

.bento-ui-stage {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  padding: 32px 32px 0 32px;
  background:
    radial-gradient(circle at 15% 85%, rgba(5, 150, 105, 0.14), transparent 52%),
    radial-gradient(circle at 85% 15%, rgba(9, 46, 32, 0.12), transparent 55%),
    linear-gradient(160deg, #EEF4F1 0%, #F8FAFC 55%, #E2ECE7 100%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.macos-window-bleed {
  position: relative;
  margin-left: auto;
  margin-right: -32px;
  width: 86%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-bottom: none;
  border-radius: 18px 0 0 0;
  box-shadow: -12px 16px 44px rgba(15, 23, 42, 0.12);
  padding: 0;
  overflow: hidden;
}

.macos-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-hairline);
}

.macos-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #CBD5E1;
}

.macos-body {
  padding: 20px 22px 26px;
  font-size: 0.85rem;
}

.frosted-ai-popover {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 3;
  width: 270px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  padding: 16px;
}

.popover-pill-input {
  background: #F1F5F9;
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.popover-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.popover-action-tile {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
}

/* 4. Real-Context Client Transformation Photo Cards (apple_biz_5_4500 pattern) */
.story-photo-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9.5;
  margin-bottom: 20px;
  background: #E2E8F0;
}

.story-photo-wrap img.story-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.outcome-card:hover .story-photo-wrap img.story-bg-img {
  transform: scale(1.03);
}

.story-floating-logo {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 6px 12px;
  height: 42px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.story-floating-logo img {
  height: 26px;
  width: auto;
  max-width: 118px;
  object-fit: contain;
}

.story-floating-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(9, 46, 32, 0.90);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* 5. Service Detail Hero Photo + Floating Widget Stack */
.service-photo-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-hairline);
  background: var(--surface-card);
}

.service-photo-hero {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .hero-cinema-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .apple-bento-showcase {
    grid-template-columns: 1fr;
  }
  .frosted-ai-popover {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 18px;
  }
  .macos-window-bleed {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .hero-cinema-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Daylight Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--surface-card);
  border-top: 1px solid var(--border-hairline);
  padding: 52px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.9fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-hairline);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-primary);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.footer-links a:hover,
.footer-cookie-btn:hover {
  color: var(--brand-primary);
}

.footer-cookie-btn {
  background: none;
  border: none;
  font: inherit;
  color: var(--ink-secondary);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

@media (max-width: 1024px) {
  .logo-wall {
    grid-template-columns: repeat(3, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bp-grid,
  .split-2,
  .planner-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .menu-toggle {
    display: inline-flex;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-hairline);
    padding: 16px 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-elevated);
  }
  .primary-nav.is-open {
    display: flex;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid,
  .outcomes-grid,
  .standards-grid,
  .faq-grid,
  .goal-chips-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Cinematic Motion Layer — Convergence Stage, Dark-Glass Tilt, Marquee,
   Service Chapters, Scroll Reveals & Reactor Charge.
   Performance contract: loops animate transform/opacity only (no animated
   box-shadow, filter, mask or layout), edge fades are static overlays instead
   of masks over moving content, every loop pauses off-screen via
   `.is-offscreen`, and all motion is disabled under prefers-reduced-motion.
   ========================================================================== */
:root {
  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-stream: cubic-bezier(0.55, 0, 0.8, 0.45);
  --signal-verified-rgb: 5, 150, 105;
}

.is-offscreen,
.is-offscreen * {
  animation-play-state: paused !important;
}

/* 1. Convergence Stage ---------------------------------------------------- */
.ht-converge {
  --span: min(44vw, 520px);
  --rise: 46px;
  position: relative;
  height: 212px;
  margin-top: 36px;
  overflow: hidden;
  contain: layout paint;
  --fade-to: var(--surface-canvas);
}

.ht-converge::before,
.ht-converge::after,
.ht-marquee::before,
.ht-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 12%;
  pointer-events: none;
  background: linear-gradient(90deg, var(--fade-to), transparent);
}

.ht-converge::before,
.ht-marquee::before {
  left: 0;
}

.ht-converge::after,
.ht-marquee::after {
  right: 0;
  transform: scaleX(-1);
}

.ht-converge-field {
  position: absolute;
  inset: 0 0 auto 0;
  height: 128px;
}

.ht-frag {
  --fx: -1;
  --fy: 0;
  --d: 0s;
  position: absolute;
  left: 50%;
  top: 50%;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 9px;
  font-size: 0.72rem;
  line-height: 1.3;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 18px rgba(15, 23, 42, 0.05);
  color: var(--ink-secondary);
  opacity: 0;
  transform: translate(-50%, -50%) translate(calc(var(--fx) * var(--span)), calc(var(--fy) * var(--rise)));
  animation: htStreamIn 7.2s var(--ease-stream) var(--d) infinite;
  will-change: transform, opacity;
}

.ht-frag.is-sheet {
  font-family: var(--font-mono);
  border-style: dashed;
}

.ht-frag.is-query {
  border-radius: 999px;
}

.ht-frag.is-query::before {
  content: "⌕ ";
  color: var(--ink-muted);
}

/* Inbound spreadsheets stream from the left, search queries from the right */
.ht-frag:nth-child(1)  { --fx: -1;    --fy: -0.8; --d: 0s; }
.ht-frag:nth-child(2)  { --fx: -0.82; --fy: 0.55; --d: 1.45s; }
.ht-frag:nth-child(3)  { --fx: -0.96; --fy: 0.05; --d: 2.9s; }
.ht-frag:nth-child(4)  { --fx: -0.7;  --fy: -0.35; --d: 4.35s; }
.ht-frag:nth-child(5)  { --fx: -0.9;  --fy: 0.9;  --d: 5.8s; }
.ht-frag:nth-child(6)  { --fx: 1;     --fy: -0.7; --d: 0.72s; }
.ht-frag:nth-child(7)  { --fx: 0.8;   --fy: 0.6;  --d: 2.17s; }
.ht-frag:nth-child(8)  { --fx: 0.95;  --fy: 0.02; --d: 3.62s; }
.ht-frag:nth-child(9)  { --fx: 0.72;  --fy: -0.38; --d: 5.07s; }
.ht-frag:nth-child(10) { --fx: 0.9;   --fy: 0.88; --d: 6.52s; }

@keyframes htStreamIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(calc(var(--fx) * var(--span)), calc(var(--fy) * var(--rise))) scale(1);
  }
  14% {
    opacity: 1;
  }
  78% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(0, 0) scale(0.18);
  }
}

.ht-core {
  position: absolute;
  left: 50%;
  top: 64px;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.ht-core-mark {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow:
    0 0 0 6px var(--surface-canvas),
    0 14px 30px -8px rgba(9, 46, 32, 0.45);
  animation: htCoreBreathe 3.6s ease-in-out infinite;
}

.ht-core-halo {
  position: absolute;
  inset: -14px;
  border-radius: 26px;
  border: 1px solid rgba(var(--signal-verified-rgb), 0.45);
  animation: htHalo 2.4s var(--ease-cinematic) infinite;
}

@keyframes htCoreBreathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes htHalo {
  0% {
    transform: scale(0.82);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* [H] HOLOTYPE / ХОЛОТИП bilingual wordmark crossfade */
.ht-core-wordmark {
  position: absolute;
  left: 50%;
  top: 106px;
  transform: translateX(-50%);
  height: 18px;
  width: 140px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--brand-primary);
}

.ht-core-wordmark span {
  position: absolute;
  inset: 0;
  padding-left: 0.32em;
  animation: htWordmark 8s var(--ease-cinematic) infinite;
}

.ht-core-wordmark span + span {
  animation-delay: -4s;
}

@keyframes htWordmark {
  0%, 42% {
    opacity: 1;
    transform: translateY(0);
  }
  50%, 92% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Emergence rails: core → bus → four cinema cards */
.ht-rails {
  position: absolute;
  inset: 132px 0 0 0;
}

.ht-rail {
  position: absolute;
  overflow: hidden;
  background: var(--border-hairline);
}

.ht-rail::after {
  content: "";
  position: absolute;
  background: linear-gradient(var(--rail-dir, 180deg), transparent, var(--signal-verified), transparent);
  animation: var(--rail-anim) 2.4s var(--ease-cinematic) var(--rail-delay, 0s) infinite;
}

.ht-rail-stem {
  left: 50%;
  top: 0;
  width: 1px;
  height: 40px;
  --rail-anim: htPacketDown;
}

.ht-rail-bus {
  top: 40px;
  height: 1px;
  --rail-delay: 0.45s;
}

.ht-rail-bus.is-left {
  left: 12.5%;
  right: 50%;
  --rail-dir: 270deg;
  --rail-anim: htPacketLeft;
}

.ht-rail-bus.is-right {
  left: 50%;
  right: 12.5%;
  --rail-dir: 90deg;
  --rail-anim: htPacketRight;
}

.ht-rail-drop {
  top: 40px;
  bottom: 0;
  width: 1px;
  --rail-anim: htPacketDown;
  --rail-delay: 1.05s;
}

.ht-rail-drop:nth-child(4) { left: 12.5%; }
.ht-rail-drop:nth-child(5) { left: 37.5%; --rail-delay: 0.85s; }
.ht-rail-drop:nth-child(6) { left: 62.5%; --rail-delay: 0.85s; }
.ht-rail-drop:nth-child(7) { left: 87.5%; }

.ht-rail-stem::after,
.ht-rail-drop::after {
  left: 0;
  width: 1px;
  height: 60%;
  top: -60%;
}

.ht-rail-bus::after {
  top: 0;
  height: 1px;
  width: 30%;
}

.ht-rail-bus.is-right::after {
  left: -30%;
}

.ht-rail-bus.is-left::after {
  right: -30%;
}

@keyframes htPacketDown {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(270%); opacity: 0; }
}

@keyframes htPacketRight {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(440%); opacity: 0; }
}

@keyframes htPacketLeft {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(-440%); opacity: 0; }
}

.ht-converge + .hero-cinema-strip {
  margin-top: 0;
}

/* 2. Apple × Kali Dark-Glass Cinema Cards: emergence + 3D pointer tilt ---- */
.cinema-card {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 30%;
  isolation: isolate;
  transition: transform 0.5s var(--ease-cinematic);
  box-shadow:
    var(--shadow-elevated),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* The 3D transform exists only during pointer tilt, so idle cards stay flat 2D layers */
.cinema-card.is-tilting {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.12s linear;
}

.cinema-glare {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(420px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.2), transparent 46%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.08) 0%, transparent 38%);
  transition: opacity 0.35s ease;
}

.cinema-card:hover .cinema-glare,
.cinema-card:focus-visible .cinema-glare {
  opacity: 1;
}

.cinema-card .live-dot {
  background: var(--signal-verified);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-cinema-strip .cinema-card {
    animation: htEmerge 0.9s var(--ease-cinematic) both;
  }

  .hero-cinema-strip .cinema-card:nth-child(1) { animation-delay: 0.15s; }
  .hero-cinema-strip .cinema-card:nth-child(2) { animation-delay: 0.27s; }
  .hero-cinema-strip .cinema-card:nth-child(3) { animation-delay: 0.39s; }
  .hero-cinema-strip .cinema-card:nth-child(4) { animation-delay: 0.51s; }
}

/* `translate`/`scale` (not `transform`) so the tilt transform is never overridden */
@keyframes htEmerge {
  0% {
    opacity: 0;
    translate: 0 -26px;
    scale: 0.94;
  }
  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

/* 3. Discreet Partner Logo & Verified Facts Marquee ------------------------ */
.ht-marquee {
  --fade-to: var(--surface-card);
  position: relative;
  overflow: hidden;
  contain: layout paint;
}

.ht-marquee-track {
  display: flex;
  width: max-content;
  animation: htMarquee 56s linear infinite;
  will-change: transform;
}

.ht-marquee:hover .ht-marquee-track,
.ht-marquee:focus-within .ht-marquee-track {
  animation-play-state: paused;
}

.ht-marquee-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  list-style: none;
}

.ht-marquee-logo {
  flex: 0 0 auto;
  width: 188px;
  height: 78px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  background: var(--surface-card);
  transition: border-color 0.25s ease;
}

.ht-marquee-logo:hover {
  border-color: var(--brand-border);
}

.ht-marquee-logo:hover .client-logo-img {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
}

.ht-marquee-fact {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 78px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--surface-canvas);
  border: 1px solid var(--border-hairline);
  font-size: 0.82rem;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.ht-marquee-fact strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brand-primary);
  letter-spacing: -0.01em;
}

.ht-marquee-fact .live-dot {
  background: var(--signal-verified);
}

@keyframes htMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* 4. Six Service Chapters ------------------------------------------------- */
.ht-chapters {
  list-style: none;
  counter-reset: none;
}

.ht-chapter {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ht-chapter::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--signal-verified));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-cinematic);
}

.ht-chapter:hover::before,
.ht-chapter:focus-within::before {
  transform: scaleX(1);
}

.ht-chapter-num {
  position: absolute;
  top: 10px;
  right: 18px;
  z-index: -1;
  font-family: var(--font-display);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand-primary);
  opacity: 0.05;
  transition: opacity 0.4s ease, translate 0.6s var(--ease-cinematic);
}

.ht-chapter:hover .ht-chapter-num {
  opacity: 0.1;
  translate: -4px 4px;
}

.ht-chapter-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

/* 5. Scroll Reveals ------------------------------------------------------
   JS marks only blocks that start below the fold as `.is-pending`, so nothing
   above the fold is ever hidden (no load flash). The reveal is a keyframe
   animation with `backwards` fill, so it never overrides a card's own hover
   `transition` and leaves no lingering styles once finished. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].is-pending {
    opacity: 0;
  }

  [data-reveal].is-revealed {
    animation: htReveal 0.7s var(--ease-cinematic) var(--reveal-delay, 0ms) backwards;
  }

  .ht-chapters > :nth-child(3n + 2),
  .apple-facts-track > :nth-child(4n + 2),
  .outcomes-grid > :nth-child(3n + 2),
  .standards-grid > :nth-child(5n + 2) {
    --reveal-delay: 80ms;
  }

  .ht-chapters > :nth-child(3n),
  .apple-facts-track > :nth-child(4n + 3),
  .outcomes-grid > :nth-child(3n),
  .standards-grid > :nth-child(5n + 3) {
    --reveal-delay: 160ms;
  }

  .apple-facts-track > :nth-child(4n),
  .standards-grid > :nth-child(5n + 4) {
    --reveal-delay: 240ms;
  }

  .standards-grid > :nth-child(5n) {
    --reveal-delay: 320ms;
  }
}

@keyframes htReveal {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* 6. Reactor CTA: [H] core charge + staggered deliverables ---------------- */
.ig-core,
.ig-core-glow {
  transform-box: view-box;
  transform-origin: 260px 74px;
}

.ignition-stage.is-charging .ig-core {
  animation: igCoreCharge 0.7s var(--ease-cinematic);
}

.ignition-stage.is-charging .ig-core-glow {
  animation: igGlowFlash 0.7s ease-out;
}

@keyframes igCoreCharge {
  0% { transform: scale(1); }
  35% { transform: scale(0.9); }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes igGlowFlash {
  0% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .reactor-deliverables li,
  .reactor-ecosystem-row span {
    animation: igRise 0.5s var(--ease-cinematic) both;
  }

  .reactor-deliverables li:nth-child(2) { animation-delay: 70ms; }
  .reactor-deliverables li:nth-child(3) { animation-delay: 140ms; }
  .reactor-ecosystem-row span { animation-delay: 210ms; }
  .reactor-ecosystem-row span:nth-child(2) { animation-delay: 260ms; }
  .reactor-ecosystem-row span:nth-child(3) { animation-delay: 310ms; }
}

@keyframes igRise {
  from {
    opacity: 0;
    translate: 0 6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* 7. Responsive & Reduced Motion ----------------------------------------- */
@media (max-width: 1024px) {
  .ht-rail-bus,
  .ht-rail-drop {
    display: none;
  }
  .ht-converge {
    height: 176px;
  }
  .ht-converge + .hero-cinema-strip {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .ht-converge {
    --span: 48vw;
    height: 160px;
  }
  .ht-frag {
    font-size: 0.66rem;
  }
  .ht-frag:nth-child(odd) {
    display: none;
  }
  .ht-marquee-logo {
    width: 150px;
    height: 64px;
  }
  .ht-marquee-fact {
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ht-frag,
  .ht-core-mark,
  .ht-core-halo,
  .ht-core-wordmark span,
  .ht-rail::after,
  .ht-marquee-track,
  .ignition-stage.is-charging .ig-core,
  .ignition-stage.is-charging .ig-core-glow {
    animation: none !important;
  }

  .ht-frag {
    opacity: 0.85;
  }

  .ht-core-halo,
  .ht-core-wordmark span + span {
    display: none;
  }

  .cinema-card {
    transform: none !important;
  }

  .ht-marquee::before,
  .ht-marquee::after {
    display: none;
  }

  .ht-marquee-track {
    width: auto;
    padding: 0 16px;
  }

  .ht-marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    margin: 0 auto;
  }

  .ht-marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* ==========================================================================
   Specimen System — HOLOTYPE's signature layer.
   A holotype is the reference specimen everything else is measured against:
   a measuring ruler (scroll progress), specimen-plate registration marks,
   HT catalogue numbers, and a natural-history specimen label in the footer.
   ========================================================================== */

/* 1. Measuring ruler under the sticky header; emerald fill = scroll progress */
.ht-ruler {
  --progress: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 6px;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.22) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.1) 0 1px, transparent 1px 8px);
  background-size: 100% 6px, 100% 3px;
  background-position: left bottom, left bottom;
  background-repeat: no-repeat;
}

.ht-ruler-fill {
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--signal-verified);
  transform: scaleX(var(--progress));
  transform-origin: left center;
  will-change: transform;
}

/* 2. Specimen-plate registration marks (pure background layers, no extra markup).
   No `transition` here on purpose: it would replace the host card's own hover transitions. */

.ht-plate {
  --plate-ink: rgba(15, 23, 42, 0.28);
  --plate-arm: 10px;
  --plate-inset: 10px;
  background-image:
    linear-gradient(var(--plate-ink), var(--plate-ink)),
    linear-gradient(var(--plate-ink), var(--plate-ink)),
    linear-gradient(var(--plate-ink), var(--plate-ink)),
    linear-gradient(var(--plate-ink), var(--plate-ink)),
    linear-gradient(var(--plate-ink), var(--plate-ink)),
    linear-gradient(var(--plate-ink), var(--plate-ink)),
    linear-gradient(var(--plate-ink), var(--plate-ink)),
    linear-gradient(var(--plate-ink), var(--plate-ink));
  background-size:
    var(--plate-arm) 1px, 1px var(--plate-arm),
    var(--plate-arm) 1px, 1px var(--plate-arm),
    var(--plate-arm) 1px, 1px var(--plate-arm),
    var(--plate-arm) 1px, 1px var(--plate-arm);
  background-position:
    left var(--plate-inset) top var(--plate-inset), left var(--plate-inset) top var(--plate-inset),
    right var(--plate-inset) top var(--plate-inset), right var(--plate-inset) top var(--plate-inset),
    left var(--plate-inset) bottom var(--plate-inset), left var(--plate-inset) bottom var(--plate-inset),
    right var(--plate-inset) bottom var(--plate-inset), right var(--plate-inset) bottom var(--plate-inset);
  background-repeat: no-repeat;
}

.ht-plate:hover,
.ht-plate:focus-within {
  --plate-ink: var(--signal-verified);
}

/* 3. Catalogue numbers beside chapter labels */
.ht-chapter-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ht-chapter-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-hairline);
  order: 1;
}

.ht-catalogue {
  order: 2;
  color: var(--brand-primary);
  letter-spacing: 0.04em;
}

/* 4. Natural-history specimen label (footer signature) */
.ht-specimen-label {
  display: inline-grid;
  grid-template-columns: repeat(4, auto);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  background: var(--surface-canvas);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  overflow: hidden;
}

.ht-specimen-label > div {
  padding: 7px 12px;
  border-left: 1px solid var(--border-hairline);
}

.ht-specimen-label > div:first-child {
  border-left: none;
}

.ht-specimen-label dt {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  font-size: 0.6rem;
}

.ht-specimen-label dd {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-primary);
  font-weight: 600;
  white-space: nowrap;
}

.ht-specimen-label .live-dot {
  background: var(--signal-verified);
}

@media (max-width: 740px) {
  .ht-specimen-label {
    grid-template-columns: repeat(2, auto);
  }
  .ht-specimen-label > div:nth-child(3) {
    border-left: none;
  }
  .ht-specimen-label > div:nth-child(n + 3) {
    border-top: 1px solid var(--border-hairline);
  }
}

/* ==========================================================================
   Higgsfield Motion Loops — fade in over the identical poster still once playing
   ========================================================================== */
.ht-motion-loop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s var(--ease-cinematic);
}

.cinema-card .ht-motion-loop {
  object-position: center 28%;
}

.ht-motion-loop.is-playing {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ht-motion-loop {
    display: none;
  }
}

