/* styles.css — Senso Digital One-Pager */

:root {
  --bg: #ecebe6;          /* Off-White warm */
  --bg-2: #e2e0d9;        /* sekundär */
  --fg: #0e0d0a;          /* near-black */
  --fg-soft: rgba(14,13,10,0.58);
  --fg-mute: rgba(14,13,10,0.35);
  --line: rgba(14,13,10,0.14);
  --line-soft: rgba(14,13,10,0.07);
  --accent: #ff4b1f;
  --ff-sans: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --ff-display: 'Space Grotesk', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--ff-sans);
  color: var(--fg);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: none;
}

button, a { cursor: none; }

/* Noise overlay */
.noise {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Grid overlay (subtil) */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  opacity: 0.7;
  mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}

/* Custom Cursor */
.cur-dot, .cur-ring {
  position: fixed; left: 0; top: 0; z-index: 1000;
  pointer-events: none; will-change: transform;
}
.cur-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); mix-blend-mode: difference;
}
.cur-ring {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--accent);
  transition: width .2s, height .2s, opacity .2s;
  opacity: 0.8;
}
body.cursor-hover .cur-ring { width: 56px; height: 56px; opacity: 1; }
body.cursor-hover .cur-dot  { opacity: 0; }

/* Top bar */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 28px;
  font-size: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(236,235,230,0.85) 0%, rgba(236,235,230,0.5) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.top-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: 0.01em;
}
.logo-mark {
  display: inline-block; font-size: 18px; line-height: 1;
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.top-nav {
  display: flex; gap: 2px;
  background: rgba(14,13,10,0.04);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px;
}
.top-nav-item {
  appearance: none; border: 0; background: transparent;
  font: inherit; color: var(--fg-soft);
  padding: 6px 14px; border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
  transition: color .25s, background .25s;
}
.top-nav-item:hover { color: var(--fg); }
.top-nav-item.is-active {
  background: var(--fg); color: var(--bg);
}
.top-nav-no {
  font-family: var(--ff-mono); font-size: 10px;
  opacity: 0.6;
}
.top-nav-item.is-active .top-nav-no { opacity: 0.7; }
.top-nav-name { font-weight: 500; }

.top-right {
  display: flex; align-items: center; gap: 8px;
  justify-self: end; color: var(--fg-soft);
  font-family: var(--ff-mono); font-size: 11px;
}
.top-status {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,75,31,0.18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,75,31,0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(255,75,31,0.06); }
}

/* Intro */
.intro {
  position: relative; z-index: 2;
  padding: 160px 6vw 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.intro-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 40px;
}
.intro-kicker-line {
  height: 1px; width: 64px; background: var(--fg);
  animation: growLine 1.2s .2s ease-out backwards;
}
@keyframes growLine { from { width: 0; } }

.intro-h1 {
  font-family: var(--ff-display);
  font-size: clamp(56px, 10vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0;
}
.intro-line { display: block; }
.intro-line-tight { margin-top: -0.03em; }

.w-in {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(.2,.8,.2,1) forwards;
}
.w-in-i { font-style: italic; font-family: 'EB Garamond', 'Times New Roman', serif; font-weight: 400; }

.intro-plain { font-weight: 500; }
.intro-digital {
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.04em;
}

/* "gestalte" — Editorial Display Serif mit Weight/Scale-Morph pro Buchstabe */
.word-gestalte {
  font-family: 'Playfair Display', 'EB Garamond', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-block;
}
.gest-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(70%) scale(0.6);
  animation: gestIn 1s cubic-bezier(.2,.9,.2,1.15) forwards;
}
.gest-letter:nth-child(odd) { animation-name: gestInOdd; }
@keyframes gestIn {
  0%   { opacity: 0; transform: translateY(70%) scale(0.6) rotate(-4deg); font-weight: 400; }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); font-weight: 500; }
}
@keyframes gestInOdd {
  0%   { opacity: 0; transform: translateY(-60%) scale(0.7) rotate(3deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

/* "animiere" — Sans Italic mit Keyframe-Choreografie & Easing-Kurven (Motion) */
.word-animiere {
  font-family: var(--ff-display);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.025em;
  display: inline-block;
  padding: 0 0.04em;
  transform-origin: center;
}
.anim-letter {
  display: inline-block;
  opacity: 0;
  transform-origin: 50% 100%;
  animation:
    animEntry 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    animLoop  3.6s cubic-bezier(0.65, 0, 0.35, 1) infinite 1.4s;
}
@keyframes animEntry {
  0%   { opacity: 0; transform: translateY(60px) scale(0.4) skewX(15deg); filter: blur(6px); }
  35%  { opacity: 1; filter: blur(0); }
  70%  { transform: translateY(-12px) scale(1.15) skewX(-3deg); }
  85%  { transform: translateY(2px) scale(0.97) skewX(1deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) skewX(0); filter: blur(0); }
}
@keyframes animLoop {
  0%   { transform: translateY(0) scale(1) rotate(0); }
  20%  { transform: translateY(-6px) scale(1.04) rotate(-2deg); }
  45%  { transform: translateY(3px) scale(0.97) rotate(1.5deg); }
  70%  { transform: translateY(-2px) scale(1.02) rotate(-0.5deg); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}
.anim-letter:nth-child(1) { animation-delay: 1.2s, 1.4s; }
.anim-letter:nth-child(2) { animation-delay: 1.27s, 1.55s; }
.anim-letter:nth-child(3) { animation-delay: 1.34s, 1.7s; }
.anim-letter:nth-child(4) { animation-delay: 1.41s, 1.85s; }
.anim-letter:nth-child(5) { animation-delay: 1.48s, 2.0s; }
.anim-letter:nth-child(6) { animation-delay: 1.55s, 2.15s; }
.anim-letter:nth-child(7) { animation-delay: 1.62s, 2.3s; }
.anim-letter:nth-child(8) { animation-delay: 1.69s, 2.45s; }

/* "programmiere" — Mono, Typewriter mit blinkendem Caret (Code) */
.word-programmiere {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 0.82em;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  padding: 0.04em 0.22em;
  background: rgba(14,13,10,0.06);
  border-radius: 0.12em;
  vertical-align: 0.06em;
}
.prog-prompt {
  color: var(--accent);
  font-weight: 700;
  animation: promptFade 1s 2s backwards;
}
@keyframes promptFade { from { opacity: 0; } }
.prog-text { white-space: pre; }
.prog-caret {
  display: inline-block;
  width: 0.5em;
  height: 0.9em;
  background: var(--fg);
  margin-left: 2px;
  animation: caretBlink 0.9s steps(2) infinite;
  vertical-align: -0.05em;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.prog-dash {
  font-family: var(--ff-display);
  color: var(--fg-soft);
  padding-left: 0.1em;
  animation: promptFade 1s 3s backwards;
}
@keyframes riseIn {
  0%   { transform: translateY(100%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

.intro-lede {
  max-width: 540px;
  margin: 48px 0 0 auto;
  font-size: 17px; line-height: 1.55;
  color: var(--fg-soft);
  animation: fadeIn 1s 1.2s backwards ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.intro-hint {
  display: flex; align-items: center; gap: 10px;
  margin-top: 80px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-mute);
  animation: fadeIn 1s 1.5s backwards ease-out;
}
.hint-arrow {
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(4px); }
}

/* Wheel stage */
.wheel-stage {
  position: relative;
  min-height: 100vh;
  padding: 0 6vw 120px 0;
  display: grid;
  grid-template-columns: 52% 1fr;
  align-items: center;
  overflow: hidden;
}
@media (max-width: 900px) {
  .wheel-stage { grid-template-columns: 1fr; padding: 40px 6vw 80px; }
}

.wheel {
  position: relative;
  height: 100vh;
  min-height: 620px;
  width: 100%;
  color: var(--fg);
  touch-action: none;
}
.wheel.is-dragging { cursor: grabbing; }

.wheel-ring, .wheel-rotor {
  position: absolute;
  pointer-events: none;
}
.wheel-rotor { will-change: transform; }

.wheel-dot {
  position: absolute;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fg);
  transition: opacity .4s, scale .4s;
  pointer-events: none;
}

.wheel-num {
  position: absolute;
  appearance: none; border: 0; background: transparent;
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: -0.02em;
  color: var(--fg);
  opacity: 0.18;
  transition: opacity .35s, font-size .35s, letter-spacing .35s;
  padding: 10px 14px;
  pointer-events: auto;
  white-space: nowrap;
}
.wheel-num:hover { opacity: 0.5; }
.wheel-num.is-active { opacity: 0; }

/* Mittiges aktives Item */
.wheel-center {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  padding-left: 6vw;
  pointer-events: none;
  width: 100%;
  display: flex; align-items: center;
  gap: 36px;
}
.center {
  display: flex; align-items: center; gap: 28px;
  transition: opacity .25s ease, transform .4s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.center.is-out { opacity: 0; transform: translateX(-20px); }
.center.is-in  { opacity: 1; transform: translateX(0); }

.center-big {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 0.82;
  letter-spacing: -0.05em;
}
.big-num {
  display: inline-flex;
  overflow: hidden;
  line-height: 0.82;
}
.big-num-digit {
  display: inline-block;
  animation: riseIn .7s cubic-bezier(.2,.8,.2,1) backwards;
}

.center-meta { display: none; } /* meta shows in detail column to avoid duplication */

/* Detail (right column) */
.detail {
  position: relative; z-index: 2;
  padding: 80px 0 40px;
  max-width: 520px;
  animation: slideIn .7s cubic-bezier(.2,.8,.2,1);
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.detail-index {
  font-family: var(--ff-mono); font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.detail-index-cur { color: var(--fg); font-weight: 600; }
.detail-index-sep { margin: 0 8px; }

.detail-title {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 20px;
}
.split { display: inline-block; }
.split-char {
  display: inline-block;
  opacity: 0; transform: translateY(22px);
  animation: charIn .6s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes charIn {
  to { opacity: 1; transform: translateY(0); }
}

.detail-body {
  font-size: 16px; line-height: 1.55;
  color: var(--fg-soft);
  margin: 0 0 32px;
  max-width: 46ch;
  animation: fadeIn .8s .3s backwards ease-out;
}

.detail-list-label {
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 12px;
}
.detail-list { margin-bottom: 28px; }
.detail-list ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px;
  font-size: 14px;
}
.detail-list li {
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(6px);
  animation: fadeIn .5s forwards ease-out;
}
.deliv-bullet {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.detail-packages { margin-bottom: 28px; }
.pkg-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pkg {
  background: rgba(14,13,10,0.035);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px;
  opacity: 0; transform: translateY(8px);
  animation: fadeIn .5s forwards ease-out;
  transition: background .25s, border-color .25s, transform .25s;
}
.pkg:hover {
  background: rgba(14,13,10,0.06);
  border-color: var(--line);
  transform: translateY(-2px);
}
.pkg-name { font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.pkg-price {
  font-family: var(--ff-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.pkg-lead {
  display: block;
  font-family: var(--ff-mono); font-size: 10px;
  font-weight: 400; color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.pkg-meta { font-family: var(--ff-mono); font-size: 11px; color: var(--fg-mute); }

.detail-cta-row { display: flex; gap: 10px; align-items: center; }
.btn {
  appearance: none; border: 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  font: inherit; font-weight: 500; font-size: 14px;
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}
.btn-primary {
  background: var(--accent); color: #0e0d0a;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(14,13,10,0.04); }

/* Ticker / Marquee */
.marquee {
  position: relative; z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--fg);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}
.marquee-track span { padding-right: 0.4em; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* Sektions-Header */
.sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 60px;
}
.sec-head-no {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-mute);
  padding-bottom: 10px;
}
.sec-head-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
}

/* Process */
.process {
  position: relative; z-index: 2;
  padding: 140px 6vw;
  max-width: 1400px; margin: 0 auto;
}
.process-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .process-grid { grid-template-columns: 1fr 1fr; } }
.process-step {
  position: relative;
  padding: 28px 20px 40px 0;
  border-top: 1px solid var(--line);
}
.process-step-line {
  position: absolute; left: 0; top: -1px;
  height: 2px; width: 0;
  animation: growLine 1s calc(var(--i) * .15s + .2s) ease-out forwards;
}
.process-step-no {
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--fg-mute);
  margin-bottom: 20px;
}
.process-step-name {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.process-step-body {
  font-size: 14px; line-height: 1.5;
  color: var(--fg-soft);
}

/* Why */
.why {
  position: relative; z-index: 2;
  padding: 120px 6vw;
  max-width: 1400px; margin: 0 auto;
  border-top: 1px solid var(--line-soft);
}
.why-grid {
  margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  column-gap: 48px; row-gap: 32px;
}
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { border-top: 1px solid var(--line); padding: 20px 0 0; }
.why-item dt {
  font-family: var(--ff-display);
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.why-item dd {
  margin: 0;
  font-size: 15px; line-height: 1.55;
  color: var(--fg-soft);
}

/* CTA */
.cta {
  position: relative; z-index: 2;
  padding: 160px 6vw 200px;
  max-width: 1400px; margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 40px;
}
.cta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
.cta-link {
  display: inline-flex; align-items: center;
  text-decoration: none; color: inherit;
  justify-content: center;
  max-width: 100%;
  position: relative;
}
.cta-word-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cta-word-wrap .cta-arrow {
  position: absolute;
  left: calc(100% + 24px);
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
}
.cta-word-wrap .cta-arrow.is-hover {
  transform: translateY(-50%) rotate(45deg);
}
.cta-word {
  position: relative;
  font-family: var(--ff-display);
  font-size: clamp(28px, 5.2vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.5;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  padding: 0.2em 0;
  white-space: nowrap;
  text-align: center;
}
.cta-word-front {
  display: block;
  position: relative;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.cta-word-back {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
  text-align: center;
}
.cta-link:hover .cta-word-front { transform: translateY(-100%); }
.cta-link:hover .cta-word-back  { transform: translateY(0); }
.cta-arrow {
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.cta-arrow.is-hover { transform: rotate(45deg); }

.cta-foot {
  margin-top: 40px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-mute);
}
.cta-foot-sep { margin: 0 14px; }

/* Bottom bar */
.bottom {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 5;  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 28px;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--fg-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(to top, rgba(236,235,230,0.85) 0%, rgba(236,235,230,0.5) 100%);
  border-top: 1px solid var(--line-soft);
}
.bottom-l, .bottom-r {
  display: flex; align-items: center; gap: 10px;
}
.bottom-r { justify-self: end; }
.bottom-m { display: flex; align-items: center; gap: 14px; }
.bottom-dot { opacity: 0.4; }
.bottom-progress {
  position: relative;
  display: inline-block;
  width: 160px; height: 2px;
  background: var(--line);
  border-radius: 1px; overflow: hidden;
}
.bottom-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  transition: width .6s cubic-bezier(.2,.8,.2,1);
}
.bottom-progress-label { font-variant-numeric: tabular-nums; }

/* Responsive compactions */
@media (max-width: 720px) {
  .top-nav { display: none; }
  .top { grid-template-columns: 1fr 1fr; }
  .intro-h1 { font-size: 13vw; }
}

/* ========== Legal: Footer-Strip, Overlay-Sheet, Cookie-Banner ========== */

.legal-foot {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  padding: 28px 6vw 64px;
  margin-top: 40px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.legal-foot-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
@media (max-width: 720px) {
  .legal-foot-grid { grid-template-columns: 1fr; text-align: center; }
}
.legal-foot-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--fg);
  letter-spacing: 0.04em;
}
.legal-foot-mark { font-size: 14px; animation: spin 22s linear infinite; }
.legal-foot-nav {
  display: flex; gap: 22px; justify-content: center;
}
.legal-foot-nav a {
  color: var(--fg-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.legal-foot-nav a:hover { color: var(--fg); border-color: var(--accent); }
.legal-foot-meta { justify-self: end; }
@media (max-width: 720px) { .legal-foot-meta { justify-self: center; } }

/* Overlay sheet */
.legal-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(14,13,10,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  animation: fadeIn .3s ease-out;
}
.legal-sheet {
  background: var(--bg);
  width: min(720px, 100%);
  max-width: 100%;
  height: 100%;
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,0.18);
  animation: sheetIn .45s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
}
@keyframes sheetIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.legal-sheet-head {
  position: sticky; top: 0; z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.legal-sheet-eyebrow {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-mute);
}
.legal-close {
  appearance: none; border: 1px solid var(--line);
  background: transparent; color: var(--fg);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.legal-close:hover { background: var(--fg); color: var(--bg); transform: rotate(90deg); }

.legal-sheet-body {
  padding: 24px 32px 80px;
  font-family: var(--ff-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-ink, var(--fg));
  max-width: 64ch;
}
.legal-sheet-body h1 {
  font-family: var(--ff-display);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 12px 0 16px;
}
.legal-sheet-body h2 {
  font-family: var(--ff-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 32px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.legal-sheet-body h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-sheet-body p { margin: 0 0 12px; color: var(--fg-soft); }
.legal-sheet-body ul {
  margin: 0 0 12px; padding-left: 18px;
  color: var(--fg-soft);
}
.legal-sheet-body ul li { margin-bottom: 4px; }
.legal-sheet-body a {
  color: var(--fg);
  border-bottom: 1px solid var(--accent);
  text-decoration: none;
  transition: color .2s;
}
.legal-sheet-body a:hover { color: var(--accent); }
.legal-sheet-body code {
  font-family: var(--ff-mono);
  font-size: 12px;
  background: rgba(14,13,10,0.06);
  padding: 1px 6px;
  border-radius: 3px;
}
.legal-sheet-body strong { color: var(--fg); font-weight: 600; }
.legal-lede {
  font-style: italic;
  color: var(--fg-mute) !important;
  margin-bottom: 24px !important;
}
.legal-note {
  font-size: 12.5px;
  background: rgba(14,13,10,0.04);
  border-left: 2px solid var(--accent);
  padding: 10px 14px;
  border-radius: 0 4px 4px 0;
  color: var(--fg-soft) !important;
}
.legal-foot-note {
  margin-top: 40px;
  font-size: 12px;
  color: var(--fg-mute) !important;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 60px;
  z-index: 200;
  pointer-events: none;
  display: flex;
  justify-content: center;
  animation: cookieIn .55s cubic-bezier(.2,.8,.2,1);
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-inner {
  pointer-events: auto;
  background: var(--fg);
  color: var(--bg);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 720px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
}
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-text strong {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.cookie-banner-text p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  opacity: 0.78;
}
.cookie-banner-text a {
  color: inherit;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  appearance: none; border: 0;
  font: inherit;
  font-family: var(--ff-sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: none;
  transition: opacity .2s, transform .2s;
}
.cookie-btn-ghost {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-btn-ghost:hover { background: rgba(255,255,255,0.08); }
.cookie-btn-primary {
  color: var(--fg);
  font-weight: 600;
}
.cookie-btn-primary:hover { transform: translateY(-1px); }
