:root {
  --ink: #0c0c0d;
  --ink-soft: #2a2a2e;
  --muted: #5c5c66;
  --line: rgba(12, 12, 13, 0.12);
  --line-strong: rgba(12, 12, 13, 0.22);
  --paper: #e9eae8;
  --paper-deep: #dde0db;
  --paper-lift: #f4f5f2;
  --accent: #1f6b4a;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1rem, 4vw, 2.75rem);
  --nav-h: 4.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 90% 55% at 78% -8%, rgba(31, 107, 74, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(12, 12, 13, 0.035), transparent 50%),
    linear-gradient(180deg, #eef0ec 0%, var(--paper) 45%, #e3e5e1 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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");
  mix-blend-mode: multiply;
  /* Must stay BEHIND page content — higher z-index blanked the whole site */
  z-index: 0;
}

body.is-nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper-lift);
  font-weight: 600;
}

.skip-link:focus {
  top: calc(0.75rem + var(--safe-top));
}

/* Keep real page content above the grain overlay */
main,
.footer,
.nav {
  position: relative;
  z-index: 2;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
}

.nav-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--nav-h);
  padding-top: calc(0.85rem + var(--safe-top));
  padding-right: calc(var(--pad) + var(--safe-right));
  padding-bottom: 0.85rem;
  padding-left: calc(var(--pad) + var(--safe-left));
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled .nav-bar,
.nav.is-open .nav-bar {
  background: rgba(233, 234, 232, 0.96);
  border-bottom-color: var(--line);
}

.nav.is-scrolled .nav-bar {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav.is-open .nav-bar {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: #e9eae8;
}

.nav-brand {
  position: relative;
  z-index: 2;
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.nav-links-desktop {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links-desktop a,
.nav-action {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links-desktop a {
  font-weight: 700;
}

.nav-action {
  font-weight: 500;
}

.nav-links-desktop a:hover,
.nav-action:hover {
  color: var(--ink);
}

.nav-drawer {
  display: none;
}

.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.nav-action {
  color: var(--ink);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: rgba(244, 245, 242, 0.7);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav.is-open .nav-toggle-bars {
  background: transparent;
}

.nav.is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding:
    calc(var(--nav-h) + var(--safe-top) + 2.5rem)
    calc(var(--pad) + var(--safe-right))
    3.5rem
    calc(var(--pad) + var(--safe-left));
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.hero-graph {
  width: 100%;
  height: 100%;
  opacity: 0.5;
  will-change: transform;
}

.graph-lines path {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: drawLine 3s var(--ease) forwards;
}

.graph-lines path:nth-child(2) { animation-delay: 0.2s; }
.graph-lines path:nth-child(3) { animation-delay: 0.4s; }
.graph-lines path:nth-child(4) { animation-delay: 0.55s; }

.graph-nodes .node {
  opacity: 0;
  transform-origin: center;
  animation: nodeIn 0.55s var(--ease) forwards;
}

.graph-nodes .node:nth-child(1) { animation-delay: 1.05s; }
.graph-nodes .node:nth-child(2) { animation-delay: 1.2s; }
.graph-nodes .node:nth-child(3) { animation-delay: 1.35s; }
.graph-nodes .node:nth-child(4) { animation-delay: 1.5s; }
.graph-nodes .node:nth-child(5) { animation-delay: 1.65s; }
.graph-nodes .node:nth-child(6) { animation-delay: 1.8s; }
.graph-nodes .node:nth-child(7) { animation-delay: 1.95s; }

.hero-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line-strong);
  background: rgba(244, 245, 242, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: floatIn 0.8s var(--ease) forwards;
  white-space: nowrap;
}

.float-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.f1 { top: 22%; right: 18%; animation-delay: 1.4s; }
.f2 { top: 38%; right: 8%; animation-delay: 1.65s; }
.f3 { top: 58%; right: 22%; animation-delay: 1.9s; }
.f4 { top: 72%; right: 10%; animation-delay: 2.15s; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.brand-mark {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 12vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
  margin-bottom: 1.35rem;
  word-break: break-word;
}

.hero h1 {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: 14ch;
}

.hero h1 em,
.statement-text span,
.window-intro em,
.shift-left em {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-lede {
  margin-top: 1.45rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  line-height: 1.7;
  color: var(--muted);
  font-weight: 500;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease;
  touch-action: manipulation;
}

.btn-primary {
  padding: 0 1.35rem;
  background: var(--ink);
  color: var(--paper-lift);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--ink-soft);
}

.btn-ghost {
  min-height: 2.75rem;
  padding: 0 0.15rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

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

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 245, 242, 0.45);
  padding: 1rem 0;
}

.ticker-track {
  display: flex;
  width: -webkit-max-content;
  width: max-content;
  gap: 1.25rem;
  animation: ticker 36s linear infinite;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  will-change: transform;
}

.tick-sep {
  color: var(--accent);
}

.statement {
  padding: 7.5rem calc(var(--pad) + var(--safe-right)) 6rem calc(var(--pad) + var(--safe-left));
}

.statement-text {
  max-width: var(--max);
  margin: 0 auto;
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.85rem, 5vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.statement-sub {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  line-height: 1.7;
  font-weight: 500;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 1.5rem 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem calc(var(--pad) + var(--safe-right)) 5.5rem calc(var(--pad) + var(--safe-left));
  border-top: 1px solid var(--line);
  align-items: start;
}

.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-visual { order: 1; }

.feature-index {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  padding-top: 0.2rem;
}

.feature-kicker {
  margin-bottom: 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-copy h2,
.window-intro h2,
.shift-left h2 {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.feature-copy h2 {
  font-size: clamp(1.55rem, 3.3vw, 2.7rem);
  margin-bottom: 1.1rem;
}

.feature-copy p:last-child {
  color: var(--muted);
  font-size: clamp(0.98rem, 2.1vw, 1.04rem);
  line-height: 1.75;
  font-weight: 500;
  max-width: 34rem;
}

.feature-visual {
  min-width: 0;
}

.feed,
.mission,
.birth,
.os {
  background: var(--paper-lift);
  border: 1px solid var(--line);
}

.feed,
.mission {
  padding: 1.25rem;
}

.feed-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.feed-head strong {
  display: block;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.feed-head span,
.feed-head em {
  font-size: 0.84rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.feed-head em {
  color: var(--accent);
  white-space: nowrap;
}

.feed-stream {
  display: grid;
}

.feed-line {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(8px);
}

.feed.is-live .feed-line {
  animation: lineIn 0.55s var(--ease) forwards;
}

.feed.is-live .feed-line:nth-child(1) { animation-delay: 0.1s; }
.feed.is-live .feed-line:nth-child(2) { animation-delay: 0.45s; }
.feed.is-live .feed-line:nth-child(3) { animation-delay: 0.8s; }
.feed.is-live .feed-line:nth-child(4) { animation-delay: 1.15s; }

.feed-line:last-child { border-bottom: 0; }
.feed-line.writing { color: var(--accent); }

.cursor {
  display: inline-block;
  width: 0.55rem;
  height: 1em;
  margin-left: 0.15rem;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

.mission-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.mission-live { color: var(--accent); }

.mission h3 {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.mission-meter {
  height: 3px;
  background: var(--paper-deep);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.mission-meter i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.mission.is-live .mission-meter i {
  animation: fillBar 1.3s var(--ease) forwards;
}

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

.mission-grid b {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mission-grid p {
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink-soft);
}

.birth {
  padding: 0.5rem 1.15rem;
}

.birth-line {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.birth-line:last-child { border-bottom: 0; }

.birth-tool,
.birth-agent {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.birth-tool { color: var(--muted); }
.birth-agent { color: var(--ink); }

.birth-arrow {
  width: 2.4rem;
  height: 1px;
  background: var(--line-strong);
  position: relative;
}

.birth-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  transform: rotate(45deg);
}

.birth.is-live .birth-line {
  opacity: 0;
  transform: translateX(12px);
  animation: lineIn 0.55s var(--ease) forwards;
}

.birth.is-live .birth-line:nth-child(1) { animation-delay: 0.05s; }
.birth.is-live .birth-line:nth-child(2) { animation-delay: 0.18s; }
.birth.is-live .birth-line:nth-child(3) { animation-delay: 0.31s; }
.birth.is-live .birth-line:nth-child(4) { animation-delay: 0.44s; }
.birth.is-live .birth-line:nth-child(5) { animation-delay: 0.57s; }

.window {
  padding: 6.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.window-intro {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  padding: 0 calc(var(--pad) + var(--safe-right)) 0 calc(var(--pad) + var(--safe-left));
}

.window-intro h2 {
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  margin: 0.85rem 0 1.1rem;
}

.window-intro p:last-child {
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.1vw, 1.05rem);
  line-height: 1.7;
  font-weight: 500;
}

.os {
  width: min(calc(100% - 2 * var(--pad)), 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  min-height: 480px;
  box-shadow: 0 24px 60px rgba(12, 12, 13, 0.06);
}

.os-rail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem;
  border-right: 1px solid var(--line);
  background: rgba(221, 224, 219, 0.35);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.os-label {
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.os-item {
  text-align: left;
  min-height: 2.75rem;
  padding: 0.7rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.os-item:hover,
.os-item.active {
  background: var(--paper-lift);
  color: var(--ink);
}

.os-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.os-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.os-status { color: var(--accent); }

.os-body {
  padding: 1.6rem 1.5rem 1.7rem;
}

.os-eyebrow {
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.os-heading {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}

.os-copy {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 1.2rem;
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.os-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.os-chip {
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--paper-lift);
  font-size: 0.85rem;
  font-weight: 600;
}

.os-chip.soft {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.os-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.os-timeline time {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.os-timeline p {
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink-soft);
}

.compare {
  padding: 5rem calc(var(--pad) + var(--safe-right)) 5rem calc(var(--pad) + var(--safe-left));
  border-top: 1px solid var(--line);
}

.compare-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.compare-col {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(244, 245, 242, 0.55);
}

.compare-col.after {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-lift);
}

.compare-col.after .feature-kicker {
  color: rgba(244, 245, 242, 0.55);
}

.compare-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.compare-col li {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.compare-col.after li {
  border-top-color: rgba(244, 245, 242, 0.14);
}

.compare-col li:first-of-type {
  border-top: 0;
  padding-top: 0.2rem;
}

.shift {
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem calc(var(--pad) + var(--safe-right)) 7rem calc(var(--pad) + var(--safe-left));
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
}

.shift-left h2 {
  font-size: clamp(1.75rem, 4.2vw, 3.3rem);
  margin-top: 0.85rem;
}

.shift-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}

.shift-list li {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
}

.shift-list strong {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  letter-spacing: -0.03em;
}

.shift-list span {
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1rem);
  line-height: 1.65;
  font-weight: 500;
}

.closing {
  margin: 0 calc(var(--pad) + var(--safe-right)) calc(2rem + var(--safe-bottom)) calc(var(--pad) + var(--safe-left));
  background: var(--ink);
  color: var(--paper-lift);
}

.closing-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem clamp(1.25rem, 3vw, 2rem);
}

.closing-brand {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 0.88;
  margin-bottom: 1.5rem;
}

.closing h2 {
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 12ch;
}

.closing-copy {
  margin: 1.25rem 0 2rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  color: rgba(244, 245, 242, 0.7);
}

.closing .btn-primary {
  background: var(--paper-lift);
  color: var(--ink);
}

.closing .btn-primary:hover {
  background: #fff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding:
    1.4rem
    calc(var(--pad) + var(--safe-right))
    calc(2.4rem + var(--safe-bottom))
    calc(var(--pad) + var(--safe-left));
  color: var(--muted);
  font-size: 0.85rem;
}

/* Never hide copy — blank opacity was making the site look crashed.
   JS only adds a light entrance motion. */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  transform: translateY(14px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes nodeIn {
  from { opacity: 0; transform: scale(0.35); }
  to { opacity: 1; transform: scale(1); }
}

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

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

@keyframes lineIn {
  to { opacity: 1; transform: none; }
}

@keyframes fillBar {
  to { width: var(--progress, 78%); }
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Large laptop / small desktop */
@media (max-width: 1100px) {
  .hero-float.f2,
  .hero-float.f4 {
    display: none;
  }

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

  .feature-index {
    display: none;
  }

  .os {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

/* Tablet and below */
@media (max-width: 1024px) {
  .nav-bar {
    grid-template-columns: 1fr auto;
  }

  .nav-links-desktop {
    display: none;
  }

  .nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.35rem;
    padding:
      calc(var(--nav-h) + var(--safe-top) + 1rem)
      calc(var(--pad) + var(--safe-right))
      calc(2rem + var(--safe-bottom))
      calc(var(--pad) + var(--safe-left));
    background: #e9eae8;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav.is-open .nav-drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-drawer a {
    font-family: "Syne", system-ui, sans-serif;
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ink);
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
  }

  .nav-links-cta {
    display: inline-flex !important;
    margin-top: 1rem;
    padding: 0.85rem 1.2rem;
    background: var(--ink);
    color: var(--paper-lift) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
  }

  .nav-action {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
  }

  .feature,
  .feature.reverse .feature-copy,
  .feature.reverse .feature-visual {
    grid-template-columns: 1fr;
    order: initial;
  }

  .os,
  .shift,
  .compare-grid,
  .os-timeline {
    grid-template-columns: 1fr;
  }

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

  .os {
    min-height: 0;
  }

  .os-rail {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem;
  }

  .os-label {
    margin: 0 0.35rem 0 0;
    flex: 0 0 auto;
  }

  .os-item {
    flex: 0 0 auto;
    white-space: nowrap;
    border: 1px solid var(--line);
    background: rgba(244, 245, 242, 0.7);
  }

  .os-item.active {
    border-color: var(--ink);
  }

  .hero-float {
    display: none;
  }
}

/* Large phones / small tablets */
@media (max-width: 640px) {
  :root {
    --nav-h: 3.85rem;
  }

  .hero {
    padding-bottom: 2.75rem;
    justify-content: center;
  }

  .brand-mark {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
    margin-bottom: 1rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .btn-ghost {
    border: 1px solid var(--line-strong);
    min-height: 3rem;
    padding: 0 1rem;
  }

  .statement,
  .feature,
  .compare,
  .shift {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .window {
    padding-top: 3.75rem;
  }

  .feed-head {
    flex-direction: column;
    gap: 0.35rem;
  }

  .feed-head em {
    white-space: normal;
  }

  .mission-grid,
  .os-timeline {
    grid-template-columns: 1fr;
  }

  .birth-line {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .birth-arrow {
    width: 1px;
    height: 1.1rem;
    margin-left: 0.35rem;
  }

  .birth-arrow::after {
    top: auto;
    bottom: 0;
    right: -3px;
    transform: rotate(135deg);
  }

  .os-body {
    padding: 1.2rem 1rem 1.35rem;
  }

  .os-bar {
    padding: 0.9rem 1rem;
  }

  .closing-inner {
    padding: 3.75rem 1.15rem;
  }

  .footer {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .brand-mark {
    font-size: 2.55rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .ticker-track {
    font-size: 0.82rem;
    gap: 0.85rem;
  }

  .compare-col,
  .feed,
  .mission,
  .birth {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Touch devices: avoid hover-only affordances feeling broken */
@media (hover: none) {
  .btn-primary:hover,
  .btn-ghost:hover,
  .nav-links-desktop a:hover,
  .nav-action:hover {
    transform: none;
  }

  .os-item:hover:not(.active) {
    background: transparent;
    color: var(--muted);
  }
}

@media (hover: none) and (max-width: 1024px) {
  .os-item:hover:not(.active) {
    background: rgba(244, 245, 242, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .graph-lines path,
  .graph-nodes .node,
  .hero-float,
  .ticker-track,
  .feed-line,
  .birth-line,
  .mission-meter i,
  .cursor,
  .nav-drawer {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .feed-line,
  .birth-line,
  .hero-float,
  .graph-nodes .node {
    opacity: 1 !important;
    transform: none !important;
  }

  .graph-lines path {
    stroke-dashoffset: 0 !important;
  }

  .mission-meter i {
    width: var(--progress, 78%) !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.is-scrolled .nav-bar,
  .hero-float {
    background: rgba(233, 234, 232, 0.98);
  }
}
