/* Layout: centred, cinematic. Celeste sits in the middle of the first screen; everything else is glass panels floating on the same night. */
:root {
  --night: #0e0f17;          /* matches her render's background exactly */
  --deep: #090a10;
  --glass: rgba(255, 238, 200, 0.045);
  --glass-edge: rgba(255, 220, 150, 0.14);
  --text: #f1ece2;
  --dim: #9c968a;
  --gold: #ffc75e;           /* her resting colour (config: natural) */
  --gold-soft: rgba(255, 199, 94, 0.18);
  --blue: #3d8bff;           /* the electric ring in the Celeste logo */
  --cyan: #2ee6ff;           /* her energetic mood — the colour of her petals in the hero */
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Sora", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --s-1: clamp(0.74rem, 0.71rem + 0.12vw, 0.8rem);
  --s0: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem);
  --s1: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --s2: clamp(1.6rem, 1.25rem + 1.6vw, 2.6rem);
  --s4: clamp(2.3rem, 1.4rem + 4.4vw, 5.4rem);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body {
  margin: 0; background: transparent; color: var(--text);
  font: 300 var(--s0)/1.7 var(--body); -webkit-font-smoothing: antialiased;
  padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  overflow-x: hidden;
}
/* faint star-dust + top glow, painted once */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(255, 199, 94, 0.10), transparent 60%),
    radial-gradient(800px 600px at 110% 40%, rgba(61, 139, 255, 0.09), transparent 60%),
    radial-gradient(700px 600px at -10% 80%, rgba(46, 230, 255, 0.06), transparent 60%);
}
a { color: var(--gold); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: var(--s2); line-height: 1.12; }
h3 { font-size: var(--s1); font-weight: 400; line-height: 1.25; }
p { margin: 0; }
.hud { font: 500 var(--s-1)/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.hud b { color: var(--gold); font-weight: 500; }
.glass {
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 22px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* nav */
.nav { position: sticky; top: max(12px, env(safe-area-inset-top, 0px)); z-index: 10; margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px 10px 18px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 400 1rem var(--display); letter-spacing: 0.08em; }
.brand img { width: 30px; height: 30px; display: block; filter: drop-shadow(0 0 6px rgba(79, 224, 255, 0.45)); }
.brand span { letter-spacing: 0.3em; }
.nav .links { display: flex; gap: 26px; }
.nav .links a { color: var(--dim); text-decoration: none; font-size: var(--s-1); letter-spacing: 0.06em; }
.nav .links a:hover { color: var(--text); }
.pill { display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  padding: 12px 20px; border-radius: 999px; font: 600 var(--s-1)/1 var(--body); letter-spacing: 0.04em;
  color: #1a1407; background: linear-gradient(180deg, #ffd88a, var(--gold)); box-shadow: 0 0 24px rgba(255, 199, 94, 0.35); }
.pill:hover { filter: brightness(1.06); }

/* hero */
.hero { text-align: center; padding-block: 28px 40px; display: grid; justify-items: center; gap: 22px; }
.orb { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin-block: -10px -40px; }
html.mh-grow .orb { opacity: 0; }
.orb video, .orb img { width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  animation: float 9s ease-in-out infinite; }
.orb::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 199, 94, 0.20), rgba(46, 230, 255, 0.10) 55%, transparent 72%); filter: blur(34px);
  animation: glow 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) scale(1.012); } }
@keyframes glow { 50% { opacity: 0.55; } }
.hero h1 { font-size: var(--s4); line-height: 1.02; max-width: 15ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffe3a0, var(--gold) 45%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(255, 199, 94, 0.35)); }
.hero .lede { max-width: 46ch; color: var(--dim); font-size: var(--s1); line-height: 1.6; }
.join { display: grid; gap: 10px; justify-items: center; width: min(470px, 100%); }
.join form { display: flex; gap: 8px; width: 100%; padding: 6px; border-radius: 999px; }
.join input[type=email] { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; color: var(--text);
  font: inherit; padding: 8px 14px; outline: none; }
.join input::placeholder { color: var(--dim); }
.join small { color: var(--dim); font-size: var(--s-1); }
.pill.big { padding: 17px 30px; font-size: var(--s0); }
.join .later { width: 100%; display: grid; justify-items: center; gap: 10px; margin-top: 6px; }
.join .later summary { cursor: pointer; color: var(--dim); font-size: var(--s-1); list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.join .later summary::-webkit-details-marker { display: none; }
.join .later[open] summary { color: var(--text); }
/* the hive: faint blue honeycomb down both sides, fading out before the content */
.hive-sides { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41.57' height='72' viewBox='0 0 41.57 72'%3E%3Cpath d='M0 12 L20.78 0 L41.57 12 L41.57 36 L20.78 48 L0 36 Z M20.78 48 L20.78 72' fill='none' stroke='%233d8bff' stroke-opacity='.55' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 41.57px 72px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.35) 9%, transparent 19%, transparent 81%, rgba(0,0,0,.35) 91%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.35) 9%, transparent 19%, transparent 81%, rgba(0,0,0,.35) 91%, #000 100%);
  animation: hiveDrift 90s linear infinite; }
.hive-sides::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(260px 180px at 4% 30%, rgba(61,139,255,.16), transparent 70%), radial-gradient(240px 200px at 96% 70%, rgba(46,230,255,.12), transparent 70%); }
@keyframes hiveDrift { to { background-position: 0 720px; } }
@media (max-width: 860px) { .hive-sides { opacity: .3; } }
.join .done { color: var(--gold); }

/* stat strip — true numbers only */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.stat { padding: 20px 22px; display: grid; gap: 4px; }
.stat strong { font: 300 var(--s2)/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { color: var(--dim); font-size: var(--s-1); }

section { padding-block: 110px 0; }
.head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 40px; }
.head p { color: var(--dim); }
.center { text-align: center; margin-inline: auto; justify-items: center; }

/* everyday */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feat { padding: 22px; display: grid; gap: 8px; align-content: start; }
.feat svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat:nth-child(even) svg { stroke: var(--cyan); }
.feat p { color: var(--dim); font-size: var(--s-1); line-height: 1.6; }

/* mindhive */
.hivewrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.hivecanvas { position: relative; min-height: 380px; overflow: hidden; }
.hivecanvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hivecanvas .hud { position: absolute; left: 20px; bottom: 16px; }
.layers { display: grid; gap: 12px; }
.layer { padding: 20px 22px; display: grid; gap: 6px; }
.layer .hud { color: var(--gold); }
.layer p { color: var(--dim); font-size: var(--s-1); line-height: 1.65; }

/* voice */
.voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.chat { padding: 22px; display: grid; gap: 14px; }
.msg { display: grid; gap: 4px; }
.msg .who { font: 500 0.7rem var(--mono); letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.msg p { font-size: var(--s0); }
.msg.her p { color: var(--text); }
.msg.you p { color: var(--dim); }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave i { width: 3px; border-radius: 3px; background: var(--gold); opacity: 0.85; animation: bar 1.1s ease-in-out infinite; }
@keyframes bar { 50% { transform: scaleY(0.35); } }
.chat .src { font: 400 0.72rem var(--mono); color: var(--gold); letter-spacing: 0.06em; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mood { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: var(--s-1);
  border: 1px solid var(--glass-edge); color: var(--dim); }
.mood i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 10px currentColor; background: currentColor; }

/* beliefs + research */
.beliefs .feat h3 { font-size: var(--s0); }
.research { margin-top: 12px; padding: 26px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.research > div { display: grid; gap: 8px; max-width: 70ch; }
.research p:not(.hud) { color: var(--dim); font-size: var(--s-1); line-height: 1.7; }
.pill.ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold-soft); box-shadow: none; }
@media (max-width: 860px) { .research { grid-template-columns: minmax(0, 1fr); } }

/* own */
.own { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.own ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.own li { display: flex; gap: 12px; align-items: baseline; }
.own li::before { content: ""; flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); transform: translateY(-2px); }
.price { padding: 32px; display: grid; gap: 14px; align-content: start; }
.price strong { font: 300 clamp(3rem, 2rem + 4vw, 4.6rem)/1 var(--display); }
.price p { color: var(--dim); }

/* requirements */
.req { overflow-x: auto; padding: 8px 4px; }
.req table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: var(--s-1); }
.req th, .req td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--glass-edge); }
.req tr:last-child td { border-bottom: 0; }
.req th { font: 500 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.req td:first-child { color: var(--dim); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { padding: 18px 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 400 var(--s0) var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--dim); max-width: 70ch; }

footer { margin-top: 110px; padding-block: 26px 40px; border-top: 1px solid var(--glass-edge);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: var(--s-1); }

@media (max-width: 860px) {
  .nav .links { display: none; }
  .hivewrap, .voice, .own { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hivecanvas { min-height: 300px; }
  .orb { margin-block: -6px -24px; }
}
@media (max-width: 520px) { .feats { grid-template-columns: minmax(0, 1fr); } .pill .wide { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── multi-page additions ── */
.brand img { filter: drop-shadow(0 0 6px rgba(255, 199, 94, 0.45)); }
.brand span { letter-spacing: 0.24em; }
.nav .links { align-items: center; }
.nav .links a[aria-current="page"], .dd-btn[aria-current="page"] { color: var(--text); }
.dd { position: relative; }
.dd-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--dim); font: inherit; font-size: var(--s-1); letter-spacing: 0.06em; display: inline-flex; gap: 6px; align-items: center; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--text); }
.dd-btn i { font-style: normal; font-size: 0.7em; transition: transform .2s; }
.dd.open .dd-btn i { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); min-width: 300px; padding: 8px; display: none; gap: 2px;
  background: rgba(16, 17, 26, 0.94); }
.dd.open .dd-menu { display: grid; }
.menu-item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--text); }
.menu-item:hover, .menu-item:focus-visible { background: var(--glass); }
.menu-item img, .menu-item .soon-dot { width: 26px; height: 26px; flex: none; }
.menu-item .soon-dot { border-radius: 8px; border: 1px dashed var(--glass-edge); }
.menu-item b { display: block; font-weight: 400; font-size: var(--s0); }
.menu-item small { display: block; color: var(--dim); font-size: var(--s-1); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--glass-edge); color: var(--text); border-radius: 999px; padding: 10px 16px; font: 500 var(--s-1) var(--body); cursor: pointer; }
.mobile-menu { position: fixed; top: 84px; left: 16px; right: 16px; z-index: 20; padding: 10px; display: grid; gap: 2px; background: rgba(16, 17, 26, 0.96); }
.mobile-menu[hidden] { display: none; }
.mobile-menu .group { font: 500 0.7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); padding: 12px 12px 4px; }
@media (max-width: 860px) { .menu-btn { display: inline-block; } .nav-right .pill { display: none; } }

/* page headers */
.page-head { display: grid; gap: 18px; padding-block: 70px 10px; max-width: 760px; }
.page-head h1 { font-size: var(--s4); line-height: 1.04; }
.page-head .lede { color: var(--dim); font-size: var(--s1); line-height: 1.6; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 30px; align-items: center; padding-top: 50px; }
.split .page-head { padding-block: 20px; }
.split .poster { aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.split .poster video { width: 100%; height: 100%; object-fit: cover; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--glass-edge); font: 500 0.7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); width: fit-content; }
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: glow 2s ease-in-out infinite; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); padding-top: 20px; } .split .poster { max-width: 320px; order: -1; } }

/* home: explore cards */
.explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.explore a { padding: 24px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.explore a:hover { border-color: rgba(255, 199, 94, 0.4); transform: translateY(-2px); }
.explore p { color: var(--dim); font-size: var(--s-1); line-height: 1.6; }
.explore .go { color: var(--gold); font-size: var(--s-1); }
.explore .wide-card { grid-column: span 2; }
@media (max-width: 860px) { .explore { grid-template-columns: minmax(0, 1fr); } .explore .wide-card { grid-column: auto; } }

/* roadmap */
.road { display: grid; gap: 10px; counter-reset: step; }
.road li { list-style: none; padding: 18px 22px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.road .when { font: 500 0.72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.road p { color: var(--dim); font-size: var(--s-1); }
.road ol { padding: 0; margin: 0; display: grid; gap: 10px; }
@media (max-width: 600px) { .road li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.papers { display: grid; gap: 10px; }
.papers .paper { padding: 20px 22px; display: grid; gap: 6px; }
.papers .paper p { color: var(--dim); font-size: var(--s-1); }
.standalone-join { display: grid; gap: 10px; width: min(470px, 100%); }
.standalone-join form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; }
.standalone-join input[type=email] { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; padding: 8px 14px; outline: none; }
.standalone-join small { color: var(--dim); font-size: var(--s-1); }
.standalone-join .done { color: var(--gold); }

/* ── MindHive hex field: the honeycomb behind every page ── */
.hexfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.3) 22%, rgba(0,0,0,.3) 78%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.3) 22%, rgba(0,0,0,.3) 78%, #000 100%); }
.hive-sides { display: none; }

/* home hero: the MindHive Co mark is the main image */
.lockup { margin: 0; width: min(620px, 100%); line-height: 0; }
.lockup svg { width: 100%; height: auto; overflow: visible; }
.lockup .frg { animation: hxBreath 5s ease-in-out infinite; }
.lockup .c { animation: hxCell 4.5s ease-in-out infinite; animation-delay: calc(var(--w, 0s) * 6); }
@keyframes hxBreath { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes hxCell { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
html.mh-grow .lockup { opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hexagons are the links */
.hx { width: 24px; height: 27px; flex: none; overflow: visible; fill: var(--hx); fill-opacity: .22; stroke: var(--hx); stroke-width: 1.6;
  filter: drop-shadow(0 0 5px var(--hx)); transition: fill-opacity .25s, transform .25s; }
.explore a { position: relative; }
.explore a > .hx { position: absolute; top: 22px; right: 22px; }
.explore a:hover > .hx, .explore a:focus-visible > .hx, .menu-item:hover .hx { fill-opacity: .7; transform: scale(1.15); }
.menu-item .hx { width: 22px; height: 25px; margin-inline: 2px; }

/* hexagon tiles used by both menus */
.hexi { position: absolute; left: calc(var(--w) * var(--x)); top: calc(var(--w) * 1.1547 * var(--y)); width: calc(var(--w) - 6px); height: calc((var(--w) - 6px) * 1.1547);
  margin: 3px; display: grid; place-items: center; text-align: center; text-decoration: none; color: var(--text);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--hx);
  animation: hexOut .5s cubic-bezier(.2, 1.3, .4, 1) var(--d) both; transition: transform .2s; }
.hexi::before { content: ""; position: absolute; inset: 1.5px; clip-path: inherit;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--hx) 22%, #10111a), #0d0e16 75%); transition: background .2s; }
.hexi span { position: relative; display: grid; gap: 3px; padding-inline: 14%; }
.hexi b { font: 400 var(--s-1)/1.15 var(--display); letter-spacing: .02em; }
.hexi small { font: 500 0.6rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.hexi:hover, .hexi:focus-visible { transform: scale(1.06); outline: none; }
.hexi:hover::before, .hexi:focus-visible::before { background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--hx) 45%, #10111a), #0d0e16 80%); }
.hexi[aria-current="page"] b { color: var(--hx); }
@keyframes hexOut { from { opacity: 0; transform: translate(calc(var(--w) * var(--fx)), calc(var(--w) * 1.1547 * var(--fy))) scale(.25); } }

/* desktop Products: a diagonal chain of hexagons */
.dd-menu.hexdd { --w: 132px; background: none; border: 0; padding: 0; min-width: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  width: calc(var(--w) * 2); height: calc(var(--w) * 1.1547 * 2.5); left: calc(50% - var(--w) / 2); transform: none; top: calc(100% + 14px);
  filter: drop-shadow(0 0 10px rgba(255, 199, 94, .28)); }
.dd.open .dd-menu.hexdd { display: block; }
.dd-menu.hexdd .hexi small { font-size: 0.55rem; }
.nav .links .hexi, .nav .links .hexi:hover { color: var(--text); }

/* phone: three hexagons instead of three lines, and a honeycomb menu */
.menu-btn { padding: 8px; width: 46px; height: 46px; display: none; place-items: center; }
.hexburger { width: 26px; height: 28px; overflow: visible; }
.hexburger path { fill: rgba(255, 199, 94, .25); stroke: var(--gold); stroke-width: 1.3; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), fill .25s; }
.menu-btn[aria-expanded="true"] .h1 { transform: translate(-4.4px, 6.6px) rotate(60deg); }
.menu-btn[aria-expanded="true"] .h2 { transform: translate(4.4px, -1px) rotate(60deg); }
.menu-btn[aria-expanded="true"] .h3 { transform: translate(0, -8.2px) rotate(60deg); }
.menu-btn[aria-expanded="true"] path { fill: rgba(255, 199, 94, .6); }
.hexmenu { position: fixed; inset: 0; z-index: 30; background: rgba(8, 9, 14, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .25s ease both; }
.hexmenu[hidden] { display: none; }
.hexgrid { --w: min(140px, calc((100vw - 32px) / 2.5)); position: absolute; top: 88px; right: max(16px, env(safe-area-inset-right));
  width: calc(var(--w) * 2.5); height: calc(var(--w) * 1.1547 * 2.5); filter: drop-shadow(0 0 12px rgba(255, 199, 94, .25)); }
@keyframes fadeIn { from { opacity: 0; } }
@media (max-width: 860px) { .menu-btn { display: grid; } }
@media (prefers-reduced-motion: reduce) { .hexi, .hexmenu { animation: none; } .hexburger path { transition: none; } }
.header-lift .nav { z-index: 31; }

/* ── finishing touches ── */
::selection { background: rgba(255, 199, 94, .35); color: #fff; }
.celeste-page ::selection { background: rgba(79, 224, 255, .35); }
body { animation: pageIn .7s ease both; }
@keyframes pageIn { from { opacity: 0; } }
.foot-tag { color: var(--dim); opacity: .8; }
@media (max-width: 600px) { .foot-tag { display: none; } }
.explore a:hover, .explore a:focus-visible { border-color: color-mix(in srgb, var(--hx, var(--gold)) 55%, transparent);
  box-shadow: 0 0 34px color-mix(in srgb, var(--hx, var(--gold)) 18%, transparent), inset 0 0 40px color-mix(in srgb, var(--hx, var(--gold)) 6%, transparent); }
.explore a .go { transition: letter-spacing .25s; }
.explore a:hover .go { letter-spacing: .04em; }
.buy-note { color: #8fe9ff; font-size: var(--s-1); }
.feats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .feats.three { grid-template-columns: minmax(0, 1fr); } }
.personal .lede-big { color: var(--dim); font-size: var(--s1); line-height: 1.7; max-width: 62ch; }
.personal .lede-big b { color: var(--text); font-weight: 400; }
.research-band { margin-top: 12px; padding: 24px 26px; display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.research-band > div { display: grid; gap: 8px; max-width: 70ch; }
.research-band p:not(.hud) { color: var(--dim); font-size: var(--s-1); line-height: 1.7; }
.research-band .pill { flex: none; }
.soon-tag { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(79, 224, 255, .4); color: #8fe9ff; font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; vertical-align: 1px; }
@media (max-width: 860px) { .research-band { flex-direction: column; align-items: flex-start; } }
/* sections drift up into place as you scroll to them */
html.reveal-on .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0s); }
html.reveal-on .rv.in { opacity: 1; transform: none; }
/* Celeste's face leans toward your pointer */
.celeste-page .split .poster video { transition: transform .6s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
@media (prefers-reduced-motion: reduce) { body { animation: none; } html.reveal-on .rv { opacity: 1; transform: none; transition: none; } }

/* Celeste: the face of the AI, ambient electric blue */
.celeste-page::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 620px at 72% 18%, rgba(79, 224, 255, 0.16), transparent 65%),
              radial-gradient(700px 520px at 10% 80%, rgba(61, 139, 255, 0.10), transparent 70%); }
.celeste-page .split .poster { max-width: 560px; animation: faceGlow 6s ease-in-out infinite; }
@keyframes faceGlow { 0%, 100% { filter: drop-shadow(0 0 40px rgba(79, 224, 255, 0.25)) saturate(1.1); } 50% { filter: drop-shadow(0 0 80px rgba(79, 224, 255, 0.5)) saturate(1.25); } }
.celeste-page .page-head h1 { background: linear-gradient(90deg, #e9fbff, #8fe9ff 55%, #4fe0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.celeste-page .hud b { color: #4fe0ff; }
.celeste-page .pill:not(.ghost) { background: linear-gradient(180deg, #a6f0ff, #4fe0ff); color: #04202a; box-shadow: 0 0 26px rgba(79, 224, 255, .45); }
.celeste-page .pill.ghost { color: #8fe9ff; border-color: rgba(79, 224, 255, .35); }

/* Celeste's button: plain at rest; when pressed, her mesh blooms out around it */
.celeste-page .pill:not(.ghost) { position: relative; overflow: visible; transition: box-shadow .3s; }
.celeste-page .pill:not(.ghost):hover { box-shadow: 0 0 34px rgba(79, 224, 255, .6); }
.bloom { position: absolute; left: 50%; top: 50%; pointer-events: none; z-index: -1; }   /* behind the button, so it stays clean */
.bloom.spark { z-index: 2; }   /* the arcs ride the edge, so they sit on top but never cross the words */
@media (prefers-reduced-motion: reduce) { .lockup .frg, .lockup .c, .celeste-page .split .poster { animation: none; } }

/* The First Hive: 1,027 founding cells */
.founders .hud b, .celeste-page .founders .hud b { color: var(--gold); }
.founders-wrap { display: grid; justify-items: center; gap: 10px; padding: clamp(16px, 4vw, 34px); max-width: 720px; margin-inline: auto; border-radius: 28px; }
.founders-hive { display: block; max-width: 100%; touch-action: pan-y; }
.founders-count { margin: 0; font: 500 .78rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.founders-count b { color: var(--gold); font-weight: 500; }
.founders-cell { margin: 0; min-height: 1.3em; font: 400 .74rem var(--mono); letter-spacing: .08em; color: #ffd98f; }
