/* ============================================================
   CogitoLab — THE COGITOLAB TECHNOLOGY LIMITED
   Aesthetic: Bright Science Exploration
   Display: Fraunces · Body: Hanken Grotesk · Labels: Space Mono
   ============================================================ */

:root {
  /* surfaces */
  --paper:      #FAF6EE;   /* warm cream base */
  --paper-2:    #F3EADB;   /* deeper panel */
  --paper-3:    #ECE0CC;
  --card:       #FFFDF8;
  --ink:        #17140F;   /* warm near-black */
  --ink-soft:   #57514593; /* used as rgba via color-mix below */
  --muted:      #6B6356;
  --line:       #E6DBC8;
  --line-soft:  #EFE7D7;

  /* brand */
  --brand:      #2B3BD9;   /* cobalt — primary */
  --brand-deep: #1A248F;
  --brand-tint: #E7E9FB;
  --solar:      #F4A634;   /* amber — warmth */
  --coral:      #EE5D49;

  /* six worlds */
  --w-animal:  #F39A2E;
  --w-earth:   #D9612B;
  --w-weather: #3CB6E8;
  --w-space:   #6557D6;
  --w-water:   #1F8FC6;
  --w-plant:   #5CA63A;

  /* type */
  --display: "Fraunces", Georgia, serif;
  --body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  /* metrics */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--solar); color: var(--ink); }

/* atmospheric grain + gradient mesh on the page */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 50vw at 12% -8%,  #ffe9c780 0, transparent 60%),
    radial-gradient(55vw 45vw at 92% 4%,   #d7e3ff80 0, transparent 60%),
    radial-gradient(50vw 60vw at 80% 100%, #d9f2e08c 0, transparent 60%),
    var(--paper);
}
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: -1; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--brand); display: inline-block;
}
h1, h2, h3 { font-family: var(--display); font-weight: 540; line-height: 1.02; letter-spacing: -.02em; }
h2.title { font-size: clamp(2.1rem, 5.4vw, 3.7rem); }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.serif-em { font-style: italic; font-weight: 400; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 14px 26px; border-radius: 100px;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  will-change: transform;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 1px 0 #fff6 inset, 0 12px 30px -12px #17140f80;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px #17140fa0; }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(10px);
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: #faf6eecc; border-color: var(--line); box-shadow: 0 10px 30px -24px #17140f80; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--muted); display: block; margin-top: 1px; text-transform: uppercase; }
.brand .brand-txt { line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); opacity: .82; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { font-size: 14.5px !important; padding: 10px 20px; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); align-items: center; justify-content: center; }
.nav-burger span { width: 18px; height: 2px; background: var(--ink); position: relative; display: block; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 7vw, 90px); padding-bottom: clamp(50px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); font-weight: 500; }
.hero h1 .pop { font-style: italic; font-weight: 400; color: var(--brand); }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .3em; color: var(--solar); }
.hero .lede { margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.stat .n { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 560; line-height: 1; }
.stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }

/* --- orbit system (hero signature) --- */
.orbit-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin-inline: auto; }
.orbit-stage::before { /* soft glow */
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0, #fff6e6 30%, transparent 68%);
  filter: blur(4px);
}
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed #c9bda6a0; }
.ring.r1 { inset: 30%; }
.ring.r2 { inset: 15%; }
.ring.r3 { inset: 0%; }
.spin { position: absolute; inset: 0; animation: spin var(--dur, 40s) linear infinite; }
.spin.rev { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.planet {
  position: absolute; top: -7%; left: 50%;
  width: 14%; aspect-ratio: 1;
  margin-left: -7%;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 22px -8px #00000040, inset 0 2px 4px #ffffff70, inset 0 -6px 10px #00000025;
  animation: counter var(--dur, 40s) linear infinite;
}
.planet.rev { animation-direction: reverse; }
@keyframes counter { to { transform: rotate(-360deg); } }
.planet svg { width: 54%; height: 54%; }
/* position the 2nd planet on each ring opposite the first */
.planet.b { top: auto; bottom: -7%; }
.core {
  position: absolute; inset: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #4b5cf0 0, #1a248f 78%);
  display: grid; place-items: center;
  box-shadow: 0 20px 50px -14px #1a248f88, inset 0 4px 10px #ffffff55, inset 0 -10px 22px #0c155f88;
  z-index: 3;
}
.core svg { width: 58%; height: 58%; color: #fff; }
.core .pulse { position: absolute; inset: -22%; border-radius: 50%; border: 1.5px solid #2b3bd955; animation: pulse 3.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }

.w-animal  { background: radial-gradient(circle at 36% 30%, #ffc06a 0, var(--w-animal) 75%); }
.w-earth   { background: radial-gradient(circle at 36% 30%, #f08a52 0, var(--w-earth) 75%); }
.w-weather { background: radial-gradient(circle at 36% 30%, #8fd9f5 0, var(--w-weather) 75%); }
.w-space   { background: radial-gradient(circle at 36% 30%, #9a8ff0 0, var(--w-space) 75%); }
.w-water   { background: radial-gradient(circle at 36% 30%, #62b9e6 0, var(--w-water) 75%); }
.w-plant   { background: radial-gradient(circle at 36% 30%, #94d36a 0, var(--w-plant) 75%); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { border-block: 1px solid var(--line); background: var(--ink); color: var(--paper); overflow: hidden; padding-block: 18px; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marq 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee-item { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 500; padding-inline: 30px; display: inline-flex; align-items: center; gap: 30px; white-space: nowrap; }
.marquee-item .dot { width: 9px; height: 9px; border-radius: 50%; }
.marquee-item .em { font-style: italic; opacity: .7; }

/* ============================================================
   GENERIC SECTION BITS
   ============================================================ */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 68px); }
.sec-head .lede { margin-top: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }

/* mission manifesto */
.manifesto { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3.3vw, 2.5rem); line-height: 1.22; letter-spacing: -.02em; }
.manifesto b { font-weight: 600; }
.manifesto .hl { color: var(--brand); font-style: italic; }
.manifesto .hl2 { color: var(--w-plant); font-style: italic; }
.mission-aside { display: flex; flex-direction: column; gap: 22px; }
.mission-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 24px 50px -40px #17140f40; }
.mission-card .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.mission-card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.mission-card strong { color: var(--ink); }

/* approach cards */
.cards-3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px 34px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-7px); box-shadow: 0 34px 60px -38px #17140f60; border-color: var(--paper-3); }
.pcard .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 22px; box-shadow: 0 12px 22px -12px currentColor; }
.pcard .ic svg { width: 26px; height: 26px; }
.pcard h3 { font-size: 1.32rem; font-weight: 560; margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: 15px; }
.pcard .idx { position: absolute; top: 22px; right: 24px; font-family: var(--mono); font-size: 12px; color: var(--line); }
.pcard:hover .idx { color: var(--muted); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; }
.prod-feature {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  color: #fff; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.prod-feature .bg { position: absolute; inset: 0; z-index: -2; object-fit: cover; width: 100%; height: 100%; }
.prod-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0b1f3a10 0, #07112880 52%, #050b1ceb 100%); }
.prod-feature .pad { padding: clamp(28px, 4vw, 44px); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; background: #ffffff1f; backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px #ffffff35; }
.badge .blip { width: 7px; height: 7px; border-radius: 50%; background: var(--solar); box-shadow: 0 0 0 0 var(--solar); animation: blip 2s infinite; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 #f4a63488; } 70% { box-shadow: 0 0 0 8px #f4a63400; } 100% { box-shadow: 0 0 0 0 #f4a63400; } }
.prod-feature h3 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 520; margin: 18px 0 12px; }
.prod-feature p { color: #ffffffcf; max-width: 48ch; font-size: 16px; }
.prod-feature .worlds-row { display: flex; gap: 9px; margin: 24px 0 26px; flex-wrap: wrap; }
.wchip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; padding: 7px 13px 7px 9px; border-radius: 100px; background: #ffffff14; box-shadow: inset 0 0 0 1px #ffffff26; }
.wchip i { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.prod-side { display: flex; flex-direction: column; gap: 22px; }
.prod-next {
  border: 1.5px dashed var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
  flex: 1; display: flex; flex-direction: column; justify-content: center; background: #fffdf855;
  transition: border-color .3s, background .3s;
}
.prod-next:hover { border-color: var(--brand); background: var(--brand-tint); }
.prod-next .plus { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); margin-bottom: 18px; }
.prod-next h3 { font-size: 1.5rem; font-weight: 560; margin-bottom: 10px; }
.prod-next p { color: var(--muted); font-size: 15px; }
.prod-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prod-meta div { background: var(--card); padding: 18px 20px; }
.prod-meta .n { font-family: var(--display); font-size: 1.5rem; font-weight: 560; }
.prod-meta .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ============================================================
   WORLDS GRID  (used on product page + home highlight)
   ============================================================ */
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.world {
  position: relative; border-radius: var(--radius-lg); padding: 28px 26px 26px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.world:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -40px var(--wc, #17140f60); }
.world::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--wc); }
.world .wtop { display: flex; align-items: center; justify-content: space-between; }
.world .wic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--wc); box-shadow: 0 14px 26px -14px var(--wc); }
.world .wic svg { width: 28px; height: 28px; }
.world .wcount { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.world h3 { font-size: 1.45rem; margin-top: 22px; font-weight: 560; }
.world p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.world .wnum { font-family: var(--display); font-weight: 560; font-size: 2.4rem; color: var(--wc); line-height: 1; }

.world.animal  { --wc: var(--w-animal); }
.world.earth   { --wc: var(--w-earth); }
.world.weather { --wc: var(--w-weather); }
.world.space   { --wc: var(--w-space); }
.world.water   { --wc: var(--w-water); }
.world.plant   { --wc: var(--w-plant); }

/* ============================================================
   NUMBERS BAND
   ============================================================ */
.numbers { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.numbers::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40vw 40vw at 88% -20%, #2b3bd955 0, transparent 60%), radial-gradient(40vw 40vw at 0% 120%, #f4a63433 0, transparent 60%); }
.numbers .nb-head { position: relative; display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.numbers h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 500; color: var(--paper); max-width: 16ch; }
.numbers .nb-note { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #faf6ee99; max-width: 30ch; }
.nb-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.nb { border-top: 1.5px solid #faf6ee2e; padding-top: 18px; }
.nb .n { font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 560; line-height: 1; }
.nb .l { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #faf6eeb0; margin-top: 10px; }

/* ============================================================
   CTA / CONTACT
   ============================================================ */
.cta-band { text-align: center; position: relative; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 500; max-width: 18ch; margin-inline: auto; }
.cta-band h2 em { color: var(--brand); }
.cta-band .lede { margin: 22px auto 0; text-align: center; }
.cta-mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-family: var(--display); font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 500; padding-bottom: 6px; border-bottom: 2px solid var(--ink); transition: gap .3s var(--ease), color .3s; }
.cta-mail:hover { gap: 18px; color: var(--brand); border-color: var(--brand); }
.cta-deco { position: absolute; pointer-events: none; opacity: .9; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 60px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; align-items: start; }
.foot-brand .brand { font-size: 23px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 34ch; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 15px; margin-bottom: 11px; opacity: .85; transition: opacity .2s, transform .2s; }
.foot-col a:hover { opacity: 1; transform: translateX(3px); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* ============================================================
   SUBPAGE (Earth Challenge)
   ============================================================ */
.subhero { padding-top: clamp(40px, 6vw, 80px); }
.subhero .back { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; margin-bottom: 28px; transition: gap .25s; }
.subhero .back:hover { gap: 13px; color: var(--ink); }
.subhero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; max-width: 16ch; }
.subhero h1 em { color: var(--brand); }
.subhero .lede { margin-top: 24px; }
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: layer; }
.layer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; position: relative; }
.layer .lnum { font-family: var(--mono); font-size: 12px; color: var(--brand); letter-spacing: .1em; }
.layer h3 { font-size: 1.4rem; margin: 14px 0 10px; font-weight: 560; }
.layer p { color: var(--muted); font-size: 15px; }
.layer .arrow-down { position: absolute; right: 50%; bottom: -28px; color: var(--line); }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mode { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 22px; transition: transform .3s var(--ease), border-color .3s; }
.mode:hover { transform: translateY(-4px); border-color: var(--brand); }
.mode .mi { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.mode .mi svg { width: 22px; height: 22px; }
.mode h4 { font-family: var(--display); font-size: 1.12rem; font-weight: 560; }
.mode p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.mode .mvp { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--w-plant); margin-top: 9px; text-transform: uppercase; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .nb-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px var(--gutter) 26px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open a { padding: 10px 0; width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .orbit-stage { max-width: 380px; grid-row: 1; }
  .hero-grid .hero-copy { grid-row: 2; }
  .split { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .worlds { grid-template-columns: repeat(2, 1fr); }
  .layers { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards-3, .modes, .worlds, .nb-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 22px 30px; }
  .prod-meta { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .nb-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
