/* ==========================================================================
   Jhusik Landing — memory observatory
   ========================================================================== */

:root {
  --void: #08080a;
  --void-2: #0c0b0e;
  --panel: #121014;
  --panel-2: #17141a;
  --edge: #2a2430;
  --edge-soft: #1c181f;

  --ink: #f4efe6;
  --ink-2: #a8a199;
  --ink-3: #6e675e;

  --orbit: #d9a954;
  --orbit-2: #b8862f;
  --orbit-dim: rgba(217, 169, 84, 0.13);
  --orbit-glow: rgba(217, 169, 84, 0.42);

  --pulse: #ede6d6;
  --pulse-dim: rgba(237, 230, 214, 0.1);
  --pulse-glow: rgba(237, 230, 214, 0.32);

  --warn: #f5c06a;
  --rose: #e08d79;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 18px;
  --radius-sm: 11px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.68, 0.35, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

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

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Starfield canvas */
.stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Aurora — slow drifting nebula blobs behind everything */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora__blob {
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.aurora__blob--1 {
  top: -22vw; right: -12vw;
  background: radial-gradient(circle, rgba(217, 169, 84, 0.16), transparent 65%);
  animation: auroraDrift1 26s ease-in-out infinite alternate;
}

.aurora__blob--2 {
  top: 30%; left: -20vw;
  background: radial-gradient(circle, rgba(237, 230, 214, 0.09), transparent 65%);
  animation: auroraDrift2 32s ease-in-out infinite alternate;
}

.aurora__blob--3 {
  bottom: -25vw; right: -8vw;
  background: radial-gradient(circle, rgba(224, 141, 121, 0.07), transparent 65%);
  animation: auroraDrift1 38s ease-in-out infinite alternate-reverse;
}

@keyframes auroraDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8vw, 6vh) scale(1.15); }
}

@keyframes auroraDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(10vw, -8vh) scale(1.1); }
}

/* Soft spotlight that trails the cursor */
.cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(217, 169, 84, 0.055), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow, .aurora__blob { animation: none; display: none; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 72% -5%, rgba(217, 169, 84, 0.18), transparent 58%),
    radial-gradient(ellipse 55% 45% at 8% 18%, rgba(237, 230, 214, 0.08), transparent 52%),
    radial-gradient(ellipse 45% 35% at 92% 75%, rgba(217, 169, 84, 0.07), transparent 48%);
}

main { position: relative; z-index: 1; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.12s; }

/* ----------------------------------------------------------------- nav --- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
}

.nav.is-scrolled {
  background: color-mix(in srgb, var(--void) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  border-color: var(--edge-soft);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.nav__glyph {
  width: 36px; height: 36px;
  color: var(--orbit);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 12px var(--orbit-glow));
}

.nav__glyph svg { width: 28px; height: 28px; }

.nav__word {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.nav__links { display: flex; gap: 28px; }

.nav__links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

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

.nav__actions { display: flex; gap: 10px; }

.nav__menu {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--panel);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav__menu span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s;
}

.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------------------------------------------------------------- buttons */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn--solid::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -75%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.05s;
}

.btn--solid:hover::after { left: 125%; transition: left 0.55s var(--ease); }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: linear-gradient(135deg, #e8bd6d 0%, var(--orbit) 55%, var(--orbit-2) 100%);
  color: #16100a;
  box-shadow: 0 4px 28px var(--orbit-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn--solid:hover { box-shadow: 0 8px 40px var(--orbit-glow), inset 0 1px 0 rgba(255,255,255,0.25); }

.btn--ghost {
  background: rgba(13, 18, 32, 0.6);
  color: var(--ink-2);
  border: 1px solid var(--edge);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover { color: var(--ink); border-color: var(--ink-3); }

.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--edge);
}

.btn--line:hover { border-color: var(--orbit); color: var(--orbit); }

.btn--lg { padding: 15px 28px; font-size: 15px; }

/* --------------------------------------------------------------- hero --- */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: calc(var(--nav-h) + 56px) clamp(20px, 5vw, 64px) 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pulse);
  margin-right: 8px;
  box-shadow: 0 0 12px var(--pulse-glow);
  animation: pulseBlink 2.4s ease-in-out infinite;
}

@keyframes pulseBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orbit);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.6vw, 4.4rem);
  font-weight: 380;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 26px;
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--orbit) 0%, #f0dfb2 30%, var(--pulse) 55%, #f0dfb2 80%, var(--orbit) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__lede {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0 0 34px;
}

.hero__lede strong { color: var(--ink); font-weight: 500; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217,169,84,0.1) 0%, rgba(13,18,32,0.8) 100%);
  color: var(--orbit);
  border: 1px solid rgba(217, 169, 84, 0.22);
  backdrop-filter: blur(6px);
}

.chip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex: none;
}

.chip__dot--orbit { background: var(--orbit); box-shadow: 0 0 8px var(--orbit-glow); }
.chip__dot--pulse { background: var(--pulse); box-shadow: 0 0 8px var(--pulse-glow); }

/* Hero orbit stage */
.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__orbit-wrap {
  position: relative;
  width: min(100%, 580px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(217, 169, 84, 0.12);
  pointer-events: none;
}

.hero__ring--1 {
  width: 105%; height: 105%;
  animation: ringSpin 48s linear infinite;
  border-style: dashed;
  opacity: 0.5;
}

.hero__ring--2 {
  width: 118%; height: 42%;
  animation: ringSpin 36s linear infinite reverse;
  transform: rotate(35deg);
}

.hero__ring--3 {
  width: 92%; height: 92%;
  background: radial-gradient(circle, transparent 55%, rgba(217,169,84,0.04) 70%, transparent 75%);
}

@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#orbit-canvas {
  width: 88%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #191410 0%, var(--void) 72%);
  box-shadow:
    0 0 0 1px rgba(217, 169, 84, 0.15),
    0 0 100px rgba(217, 169, 84, 0.1),
    0 0 180px rgba(237, 230, 214, 0.04),
    inset 0 0 80px rgba(0, 0, 0, 0.5);
}

/* Floating memory cards */
.float-card {
  position: absolute;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  border: 1px solid var(--edge);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  animation: floatDrift 6s ease-in-out infinite;
}

.float-card--1 {
  top: 8%; right: -2%;
  border-color: rgba(237, 230, 214, 0.35);
  animation-delay: 0s;
}

.float-card--2 {
  bottom: 18%; left: -4%;
  border-color: rgba(217, 169, 84, 0.4);
  animation-delay: -2s;
}

.float-card--3 {
  top: 42%; right: -8%;
  opacity: 0.45;
  border-style: dashed;
  animation-delay: -4s;
}

.float-card--fade .float-card__text { text-decoration: line-through; }

.float-card__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--pulse);
}

.float-card__tag--cite {
  color: var(--orbit);
  background: var(--orbit-dim);
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.float-card__text {
  color: var(--ink);
  font-size: 12px;
  max-width: 140px;
  line-height: 1.35;
}

@keyframes floatDrift {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-8px) translateX(4px); }
  66% { transform: translateY(4px) translateX(-3px); }
}

.hero__stage-label {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stage-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__stage-note { font-size: 12px; color: var(--ink-3); }

/* ------------------------------------------------------------- ticker --- */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--edge-soft);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  padding: 14px 0;
  margin-bottom: 20px;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.ticker__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.ticker__sep { color: var(--orbit); opacity: 0.5; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------- contrast --- */

.contrast {
  padding: 100px clamp(20px, 5vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
}

.contrast__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}

.contrast__vs {
  display: grid;
  place-items: center;
  align-self: center;
}

.contrast__vs span {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  border: 1px solid var(--edge);
  background: var(--void-2);
}

.contrast__card {
  padding: 40px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--edge-soft);
  background: var(--panel);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.contrast__card--dim {
  opacity: 0.65;
  filter: grayscale(0.3);
}

.contrast__card--lit {
  background: linear-gradient(155deg, rgba(217,169,84,0.08) 0%, var(--panel) 45%, var(--void-2) 100%);
  border-color: rgba(217, 169, 84, 0.32);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(217, 169, 84, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.contrast__card--lit:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(217, 169, 84, 0.12);
}

.contrast__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: 16px;
}

.contrast__label--accent { color: var(--orbit); }

.contrast__card h2 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  margin: 0 0 16px;
  line-height: 1.15;
}

.contrast__card h2 em { font-style: italic; color: var(--orbit); }

.contrast__card p {
  color: var(--ink-2);
  margin: 0 0 22px;
  font-size: 0.96rem;
}

.contrast__card code {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--pulse);
  background: var(--pulse-dim);
  padding: 3px 9px;
  border-radius: 6px;
}

.contrast__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.contrast__list li {
  font-size: 14px;
  color: var(--ink-3);
  padding-left: 20px;
  position: relative;
}

.contrast__list li::before {
  content: "—";
  position: absolute;
  left: 0;
}

.contrast__list--good li { color: var(--ink-2); }
.contrast__list--good li::before { content: "✓"; color: var(--pulse); font-weight: 600; }

/* -------------------------------------------------------------- demo --- */

.demo {
  padding: 100px clamp(20px, 5vw, 64px);
  max-width: 1140px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orbit);
  margin: 0 0 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 380;
  margin: 0 0 16px;
  letter-spacing: -0.012em;
  line-height: 1.15;
}

.section-lede {
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0;
  font-size: 1.03rem;
}

.demo__head { margin-bottom: 40px; }

.demo__shell {
  border: 1px solid var(--edge);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.demo__progress {
  height: 3px;
  background: var(--edge-soft);
}

.demo__progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--orbit), var(--pulse));
  transition: width 0.45s var(--ease);
  box-shadow: 0 0 16px var(--orbit-glow);
}

.demo__tabs {
  display: flex;
  border-bottom: 1px solid var(--edge-soft);
  overflow-x: auto;
  scrollbar-width: none;
}

.demo__tabs::-webkit-scrollbar { display: none; }

.demo__tab {
  flex: 1;
  min-width: 96px;
  padding: 18px 14px;
  border: none;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.demo__tab:hover { color: var(--ink-2); }

.demo__tab.is-active {
  color: var(--orbit);
  background: var(--orbit-dim);
  border-bottom-color: var(--orbit);
}

.demo__panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 340px;
}

.demo__viz {
  padding: 36px 30px;
  border-right: 1px solid var(--edge-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  background: radial-gradient(ellipse 80% 70% at 20% 50%, rgba(217,169,84,0.05), transparent);
}

.demo__detail { padding: 36px 30px; }

.demo__detail h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 14px;
}

.demo__detail p {
  color: var(--ink-2);
  font-size: 0.93rem;
  margin: 0 0 16px;
}

.demo__file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--void-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--edge-soft);
  font-size: 13px !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

.demo__file-icon { font-size: 18px; }

.d-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--edge);
  background: var(--void-2);
  animation: fadeUp 0.45s var(--ease) both;
}

.d-node--accent {
  border-color: rgba(217, 169, 84, 0.38);
  background: var(--orbit-dim);
}

.d-node--pulse {
  border-color: rgba(237, 230, 214, 0.38);
  background: var(--pulse-dim);
}

.d-node--fade {
  opacity: 0.38;
  text-decoration: line-through;
  border-style: dashed;
}

.d-node__tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--edge);
  color: var(--ink-3);
  flex: none;
}

.d-node__tag--fact { background: rgba(217, 169, 84, 0.22); color: var(--orbit); }
.d-node__tag--goal { background: rgba(237, 230, 214, 0.18); color: var(--pulse); }

.d-arrow {
  color: var(--ink-3);
  padding-left: 22px;
  animation: fadeUp 0.45s var(--ease) 0.08s both;
}

.d-cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--orbit), var(--orbit-2));
  color: var(--void);
  font-size: 11px;
  font-weight: 600;
  margin-right: 6px;
  box-shadow: 0 2px 10px var(--orbit-glow);
}

.d-refuse {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(224, 141, 121, 0.45);
  background: rgba(224, 141, 121, 0.07);
  color: var(--rose);
  font-style: italic;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------ pillars --- */

.pillars {
  padding: 100px clamp(20px, 5vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
}

.pillars__head { margin-bottom: 52px; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.pillar {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--edge-soft);
  background: linear-gradient(165deg, var(--panel) 0%, var(--void-2) 100%);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orbit), var(--pulse), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.pillar:hover {
  border-color: rgba(217, 169, 84, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.pillar:hover::before { opacity: 1; }

.pillar__icon {
  width: 44px; height: 44px;
  color: var(--orbit);
  margin-bottom: 16px;
  opacity: 0.85;
}

.pillar__icon svg { width: 100%; height: 100%; }

.pillar h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 12px;
}

.pillar p {
  color: var(--ink-2);
  font-size: 0.93rem;
  margin: 0;
}

.pillar strong { color: var(--ink); font-weight: 500; }

/* -------------------------------------------------------------- proof --- */

.proof {
  padding: 80px clamp(20px, 5vw, 64px) 100px;
}

.proof__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 52px;
  align-items: start;
  padding: 52px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--edge);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(237, 230, 214, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(217, 169, 84, 0.06), transparent 50%),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.proof__copy .section-lede { margin-bottom: 28px; }

.proof__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric {
  padding: 24px 18px;
  border-radius: var(--radius-sm);
  background: var(--void-2);
  border: 1px solid var(--edge-soft);
  text-align: center;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 169, 84, 0.25);
}

.metric--highlight {
  border-color: rgba(237, 230, 214, 0.4);
  background: linear-gradient(160deg, var(--pulse-dim) 0%, var(--void-2) 100%);
  box-shadow: 0 0 40px rgba(237, 230, 214, 0.08);
}

.metric__val {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}

.metric__val span {
  font-size: 0.5em;
  color: var(--ink-3);
}

.metric--highlight .metric__val { color: var(--pulse); }

.metric__key {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.4;
}

.metric__gate {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ---------------------------------------------------------------- who --- */

.who {
  padding: 0 clamp(20px, 5vw, 64px) 100px;
  max-width: 1240px;
  margin: 0 auto;
}

.who__head { margin-bottom: 44px; }

.who__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.who__card {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--edge-soft);
  background: linear-gradient(165deg, var(--panel) 0%, var(--void-2) 100%);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.who__card:hover {
  border-color: rgba(237, 230, 214, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.who__emoji {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  font-size: 22px;
  border-radius: 12px;
  background: var(--orbit-dim);
  border: 1px solid rgba(217, 169, 84, 0.2);
  margin-bottom: 16px;
}

.who__card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 10px;
}

.who__card p {
  color: var(--ink-2);
  font-size: 0.88rem;
  margin: 0;
}

/* ---------------------------------------------------------------- faq --- */

.faq {
  padding: 0 clamp(20px, 5vw, 64px) 100px;
  max-width: 860px;
  margin: 0 auto;
}

.faq__head { margin-bottom: 36px; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq__item[open] {
  border-color: rgba(217, 169, 84, 0.3);
  background: linear-gradient(165deg, rgba(217, 169, 84, 0.05) 0%, var(--panel) 60%);
}

.faq__item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: color 0.15s;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 18px;
  color: var(--orbit);
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq__item summary:hover { color: var(--orbit); }

.faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: 0.93rem;
}

/* --------------------------------------------------------------- talk --- */

.talk {
  padding: 40px clamp(20px, 5vw, 64px) 120px;
}

.talk__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
  padding: 52px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--edge);
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(217, 169, 84, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(237, 230, 214, 0.06), transparent 50%),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.talk__copy .section-lede { margin-bottom: 24px; }

.talk__alt {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
}

.talk__alt a {
  color: var(--orbit);
  text-decoration: none;
}

.talk__alt a:hover { text-decoration: underline; }

.talk__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.talk__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.talk__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.talk__field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.talk__field input,
.talk__field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--edge);
  background: var(--void-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.talk__field input::placeholder,
.talk__field textarea::placeholder { color: var(--ink-3); }

.talk__field input:focus,
.talk__field textarea:focus {
  border-color: var(--orbit);
  box-shadow: 0 0 0 3px var(--orbit-dim);
}

.talk__form .btn { align-self: flex-start; }

.talk__status {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  min-height: 1.2em;
}

.talk__status.is-success { color: var(--pulse); }
.talk__status.is-error { color: var(--rose); }

/* ----------------------------------------------------------------- cta --- */

.cta {
  position: relative;
  padding: 100px clamp(20px, 5vw, 64px) 120px;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(217, 169, 84, 0.14), transparent 62%);
  pointer-events: none;
}

.cta__card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(217, 169, 84, 0.22);
  background: color-mix(in srgb, var(--panel) 85%, transparent);
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}

.cta__title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 20px;
}

.cta__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--orbit), var(--pulse));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta__lede {
  color: var(--ink-2);
  font-size: 1.03rem;
  margin: 0 0 34px;
}

.cta__form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 16px;
}

.cta__form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--void-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cta__form input::placeholder { color: var(--ink-3); }

.cta__form input:focus {
  border-color: var(--orbit);
  box-shadow: 0 0 0 3px var(--orbit-dim);
}

.cta__fine {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 30px;
}

.cta__fine.is-success { color: var(--pulse); }

/* ------------------------------------------------------------- footer --- */

.footer {
  border-top: 1px solid var(--edge-soft);
  padding: 30px clamp(20px, 5vw, 64px);
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  font-size: 13px;
  color: var(--ink-3);
}

.footer__brand { font-weight: 600; color: var(--ink-2); }

.footer__mail {
  color: var(--ink-3);
  text-decoration: none;
}

.footer__mail:hover { color: var(--orbit); }

.footer__copy { margin-left: auto; }

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__stage { order: -1; }
  .hero__orbit-wrap { max-width: 440px; }
  .float-card--3 { right: 0; }
}

@media (max-width: 1024px) {
  .contrast__grid { grid-template-columns: 1fr; }
  .contrast__vs { display: none; }
  .pillars__grid,
  .proof__inner,
  .talk__inner,
  .demo__panel { grid-template-columns: 1fr; }
  .demo__viz { border-right: none; border-bottom: 1px solid var(--edge-soft); }
  .proof__metrics { grid-template-columns: repeat(2, 1fr); }
  .who__grid { grid-template-columns: repeat(2, 1fr); }
  .talk__inner { gap: 36px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }

  .nav__links.is-open,
  .nav__actions.is-open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    padding: 20px;
    background: var(--void-2);
    border-bottom: 1px solid var(--edge);
    gap: 16px;
  }

  .nav__actions.is-open { top: calc(var(--nav-h) + 224px); }
  .nav__menu { display: flex; }

  .float-card { display: none; }
  .proof__inner { padding: 32px 24px; }
  .talk__inner { padding: 32px 24px; }
  .talk__row { grid-template-columns: 1fr; }
  .cta__card { padding: 40px 24px; }
  .cta__form { flex-direction: column; }
  .who__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .proof__metrics { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}
