/* Herb Immortal — homepage */
:root {
  --bg: #F4EFE6;
  --bg-2: #ECE6D9;
  --ink: #14180F;
  --ink-2: #2A2E26;
  --ink-mute: #6B6F65;
  --line: #1418101A;
  --accent: #4A6346; /* muted moss */
  --accent-deep: #2F3F2C;
  --paper: #FBF8F2;
  --tag-bg: #1418100A;

  --serif: "Instrument Serif", "GT Sectra", "Tiempos Headline", Georgia, serif;
  --sans: "Inter Tight", "Söhne", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "Berkeley Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1400px;
  --rad: 2px;
  --density: 1;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* dark mode */
body[data-theme="dark"] {
  --bg: #0E110D;
  --bg-2: #151913;
  --ink: #ECE6D8;
  --ink-2: #C8C4B6;
  --ink-mute: #8B8F84;
  --line: #ECE6D81F;
  --accent: #9DB594;
  --accent-deep: #C4D4BC;
  --paper: #181C16;
  --tag-bg: #ECE6D810;
}

::selection { background: var(--accent); color: var(--paper); }

a { color: inherit; text-decoration: none; }

/* Typography */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.display {
  font-family: var(--serif);
  font-size: clamp(54px, 8.4vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.display em {
  font-style: italic;
  color: var(--accent-deep);
}
body[data-theme="dark"] .display em { color: var(--accent); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}
.kicker {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
}

p { margin: 0; }

/* Container */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Section */
section { padding-block: calc(80px * var(--density)); position: relative; }
section + section { border-top: 1px solid var(--line); }

.eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 48px);
  flex-wrap: wrap;
  gap: 12px;
}
.eyebrow-row .num { color: var(--ink-mute); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; }

/* Buttons */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .btn-row { flex-direction: column; width: 100%; } .btn-row .btn { text-align: center; justify-content: center; } }
.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr {
  width: 14px; height: 14px;
  display: inline-block;
  position: relative;
  transition: transform .25s ease;
}
.btn .arr::before, .btn .arr::after {
  content: ""; position: absolute; background: currentColor;
}
.btn .arr::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
.btn .arr::after { right: 0; top: 50%; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .arr { transform: translateX(2px); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--bg); }

.btn.link {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 4px;
}

/* Nav */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-radius: 20px;
  margin: 0 auto;
  max-width: calc(var(--maxw) - 32px);
  width: calc(100% - 32px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav.nav-hidden {
  transform: translateY(calc(-100% - 32px));
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.brand .wordmark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
body[data-theme="dark"] .brand .mark {
  filter: invert(1) hue-rotate(180deg) brightness(1.4) saturate(0.5);
}

.nav-inner { gap: 24px; }

/* Footer brand mark */
.footer .brand-block .name-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.footer .brand-block .name-row .mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
body[data-theme="dark"] .footer .brand-block .name-row .mark {
  filter: none;
}

.nav-links {
  display: flex; gap: 32px;
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 9px 16px; font-size: 13px; }
/* Mobile menu button - hidden on desktop */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 50;
  margin-left: auto;
}
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 22px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.hamburger.open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 100px var(--gutter) var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-actions {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: 0.3s;
}
.mobile-menu-overlay.open .mobile-menu-actions {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-link {
  font-size: clamp(32px, 8vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}
.mobile-menu-overlay.open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-overlay.open .mobile-menu-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-overlay.open .mobile-menu-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-overlay.open .mobile-menu-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-overlay.open .mobile-menu-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-overlay.open .mobile-menu-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu-link:hover { color: var(--accent-deep); }
body[data-theme="dark"] .mobile-menu-link:hover { color: var(--accent); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .desktop-only { display: none; }
  .mobile-menu-btn { display: block; }
  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-block: 100px 48px;
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  gap: clamp(28px, 4vw, 48px);
  position: relative;
  z-index: 1;
}
.hero-center .display {
  margin: 0;
}
.hero-slogan {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0;
}
.hero-center .btn-row {
  justify-content: center;
}

/* Hero entrance animation */
.hero-anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--hero-delay, 0s);
}
.hero-anim-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .hero { min-height: 100svh; padding-block: 80px 40px; }
  .display { font-size: clamp(42px, 10vw, 72px); }
  .hero-slogan { font-size: clamp(15px, 3.8vw, 18px); }
}

/* Animated globe */
.globe-wrap {
  position: absolute;
  right: calc(var(--gutter) * 0.5);
  top: 4%;
  width: clamp(260px, 32vw, 480px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.85;
}
body[data-theme="dark"] .globe-wrap { opacity: 0.7; }
body[data-theme="dark"] .globe-canvas { filter: invert(1) hue-rotate(180deg); }
@media (max-width: 720px) {
  .globe-wrap { width: 200px; right: 0; top: 2%; opacity: 0.5; }
}

/* Botanical decorations */
.botanical-leaf {
  position: absolute;
  width: 120px;
  pointer-events: none;
  opacity: 0.5;
}
.botanical-branch {
  width: 100%;
  max-width: 600px;
  pointer-events: none;
}

/* Photo placeholders */
.photo-placeholder {
  background: linear-gradient(145deg, var(--bg-2) 0%, color-mix(in oklab, var(--accent) 8%, var(--bg-2)) 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.photo-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Image strip */
.image-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
}
.image-strip-inner {
  display: flex;
  gap: 16px;
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.image-strip .photo-placeholder {
  flex: 0 0 auto;
  width: 240px;
  height: 180px;
}
@media (max-width: 720px) {
  .image-strip-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .image-strip .photo-placeholder { width: 180px; height: 140px; }
}

/* Vision botanical sidebar */
.vision-with-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.vision-art {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(100px, 12vw, 180px);
  opacity: 0.3;
  pointer-events: none;
}
@media (max-width: 880px) {
  .vision-art { display: none; }
}

/* Gap section sidebar leaf */
.gap-with-art {
  position: relative;
}
.gap-botanical {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 1200px) { .gap-botanical { display: none; } }

/* Seed section photo grid */
.seed-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: clamp(40px, 4vw, 64px);
}
.seed-photos .photo-placeholder { height: 200px; }
@media (max-width: 720px) {
  .seed-photos { grid-template-columns: 1fr 1fr; }
  .seed-photos .photo-placeholder:last-child { display: none; }
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  --marquee-speed: 50s;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee var(--marquee-speed) linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 28px 28px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 44px);
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--ink);
}
.marquee-item .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-deep);
  display: inline-block;
}
body[data-theme="dark"] .marquee-item .dot { background: var(--accent); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Industry gap */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 20px; } }

.gap-list {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.gap-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.gap-row .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); }
.gap-row .title { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.01em; }
.gap-row .body { font-size: 16px; color: var(--ink-2); max-width: 56ch; }
@media (max-width: 720px) {
  .gap-row { grid-template-columns: 1fr; gap: 6px; }
  .gap-row .num { margin-bottom: 2px; }
}

/* Stats */
.stats {
  background: var(--ink);
  color: var(--bg);
}
body[data-theme="dark"] .stats {
  background: var(--paper);
  color: var(--ink);
}
.stats .tag, .stats .ink-mute { color: color-mix(in oklab, currentColor 60%, transparent); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(28px, 4vw, 56px);
  border-top: 1px solid color-mix(in oklab, currentColor 18%, transparent);
}
.stat {
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.4vw, 32px);
  border-right: 1px solid color-mix(in oklab, currentColor 18%, transparent);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.stat:last-child { border-right: none; }
.stat .figure {
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.stat .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, currentColor 60%, transparent); }
.stat .desc { font-size: 14px; color: color-mix(in oklab, currentColor 78%, transparent); margin-top: auto; max-width: 32ch; }
@media (max-width: 880px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid color-mix(in oklab, currentColor 18%, transparent); }
}
@media (max-width: 520px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid color-mix(in oklab, currentColor 18%, transparent); }
  .stat:last-child { border-bottom: none; }
}

.stats-foot {
  margin-top: clamp(24px, 3vw, 40px);
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-style: italic;
  letter-spacing: -0.005em;
  max-width: 60ch;
  color: color-mix(in oklab, currentColor 86%, transparent);
}

/* Vision quote */
#vision {
  text-align: center;
}
.vision-quote {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 22ch;
  margin-inline: auto;
}
.vision-quote em { font-style: italic; color: var(--accent-deep); }
body[data-theme="dark"] .vision-quote em { color: var(--accent); }
.vision-tagline {
  margin-top: clamp(32px, 4vw, 56px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Solutions cards */
.sol-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(32px, 4vw, 56px);
}
.sol-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  cursor: default;
}
.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.sol-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 8%, var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
}
body[data-theme="dark"] .sol-card-icon { color: var(--accent); }
.sol-card-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.01em;
}
.sol-card-body {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: auto;
}

/* Staggered reveal for sol-cards */
.sol-card.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s ease;
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.sol-card.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.sol-card.reveal.in:hover {
  transform: translateY(-4px);
}

@media (max-width: 880px) { .sol-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sol-cards { grid-template-columns: 1fr; gap: 12px; } }

/* Platforms Carousel */
.platform-tabs-container {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.platform-tabs {
  display: flex;
  position: relative;
  background: color-mix(in oklab, var(--line) 40%, transparent);
  border-radius: 99px;
  padding: 4px;
}
.platform-tab-highlight {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--paper);
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}
body[data-theme="dark"] .platform-tab-highlight {
  background: var(--ink-2);
}
.platform-tab {
  position: relative;
  z-index: 2;
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-mute);
  padding: 10px 24px;
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.platform-tab.active {
  color: var(--ink);
}

.platforms-carousel {
  max-width: 700px;
  margin: 0 auto;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.platform-card-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, var(--bg-2) 0%, color-mix(in oklab, var(--accent) 6%, var(--bg-2)) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.platform-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.platform-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.platform-card-title {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.platform-card-title .ext {
  color: var(--accent-deep);
}
body[data-theme="dark"] .platform-card-title .ext { color: var(--accent); }
.platform-card-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-mute);
}
.platform-card-desc {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--ink-2);
  text-align: center;
  max-width: 56ch;
}
@media (max-width: 720px) {
  .platforms-carousel { max-width: 100%; }
  .platform-card-visual { aspect-ratio: 4 / 3; border-radius: 12px; }
}

/* Founders */
.founders-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-block: clamp(36px, 4vw, 64px);
  max-width: 22ch;
}
.founders-quote::before { content: "“"; color: var(--accent-deep); margin-right: 4px; }
.founders-quote::after { content: "”"; color: var(--accent-deep); }
body[data-theme="dark"] .founders-quote::before, body[data-theme="dark"] .founders-quote::after { color: var(--accent); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.value {
  padding: clamp(28px, 3vw, 36px) clamp(20px, 2vw, 24px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
}
.value:last-child { border-right: none; }
.value .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); }
.value .title { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.01em; }
.value .body { font-size: 14px; color: var(--ink-2); margin-top: auto; }
@media (max-width: 880px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(2) { border-right: none; }
  .value:nth-child(1), .value:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .values-grid { grid-template-columns: 1fr; }
  .value { border-right: none; border-bottom: 1px solid var(--line); }
  .value:last-child { border-bottom: none; }
}

/* Seed round */
.seed {
  background: var(--paper);
}
.seed-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
@media (max-width: 880px) { .seed-inner { grid-template-columns: 1fr; } }
.seed .display { font-size: clamp(46px, 6vw, 88px); }

/* Footer */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(48px, 5vw, 80px) 28px;
}
body[data-theme="dark"] .footer {
  background: var(--paper);
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, currentColor 60%, transparent);
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: color-mix(in oklab, currentColor 86%, transparent); }
.footer ul a:hover { color: currentColor; }
.footer .brand-block .name {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
}
.footer .brand-block .desc { font-size: 14px; color: color-mix(in oklab, currentColor 78%, transparent); max-width: 38ch; }
.footer .locales {
  margin-top: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: color-mix(in oklab, currentColor 60%, transparent);
}
.footer-meta {
  margin-top: clamp(36px, 4vw, 64px);
  padding-top: 28px;
  border-top: 1px solid color-mix(in oklab, currentColor 18%, transparent);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: color-mix(in oklab, currentColor 56%, transparent);
}

/* Footer large decorative name */
.footer-bigname {
  text-align: center;
  margin-top: clamp(32px, 4vw, 56px);
  padding-bottom: 8px;
  overflow: hidden;
}
.footer-bigname .serif {
  font-family: var(--serif);
  font-size: clamp(64px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: color-mix(in oklab, currentColor 12%, transparent);
  white-space: nowrap;
  display: block;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* Subtle hover on links */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow:hover { color: var(--accent-deep); }
body[data-theme="dark"] .link-arrow:hover { color: var(--accent); }
