/* Metaplexus site (2026-11-17). Tokens from the Design Contract: canonical dark ground + Metaplexus azure (H210 L72).
   Ground #020610 / section #0A0E16 / panel #0E1320. Fonts Manrope / Space Grotesk / DM Mono / Michroma (wordmark only). */
:root {
  --bg: #020610; --bg-2: #0A0E16; --panel: #0E1320;
  --text: #F0F2FA; --muted: #BCC6D8; --border: rgba(255,255,255,0.09);
  --accent: #70B8FF; --accent-mid: #2E86D9; --accent-deep: #0A2E55; --accent-rgb: 112,184,255;
  --codec: #C5500D; --codec-rgb: 197,80,13; --adamas: #B32222; --adamas-blue: #3867FF;
  --display: "Manrope", sans-serif; --sans: "Space Grotesk", sans-serif; --mono: "DM Mono", monospace; --brand: "Michroma", sans-serif;
  --hex-bg-opacity: 0.55;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.narrow { max-width: 46ch; margin-left: auto; margin-right: auto; }

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
h2 em, h1 em { font-style: italic; color: var(--accent); }
h3 { font-size: 1.4rem; }
.label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: clamp(1.15rem, 1.6vw, 1.35rem); margin-top: 22px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(2,6,16,0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-word { font-family: var(--brand); font-size: 0.86rem; letter-spacing: 0.16em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.term-btn { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); background: rgba(var(--accent-rgb),0.08); border: 1px solid rgba(var(--accent-rgb),0.28); border-radius: 8px; padding: 5px 9px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.term-btn:hover { background: rgba(var(--accent-rgb),0.16); box-shadow: 0 0 18px rgba(var(--accent-rgb),0.3); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 12px; background: var(--accent); color: #031427; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s; will-change: transform; }
.btn:hover { box-shadow: 0 10px 34px rgba(var(--accent-rgb),0.38); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: rgba(var(--accent-rgb),0.3); }
.btn-ghost:hover { background: rgba(var(--accent-rgb),0.1); }
.btn-codec { background: var(--codec); color: #fff; } .btn-codec:hover { box-shadow: 0 10px 34px rgba(var(--codec-rgb),0.45); }
.btn-adamas { background: transparent; color: #fff; border-color: var(--adamas-blue); } .btn-adamas:hover { background: rgba(56,103,255,0.14); box-shadow: 0 10px 34px rgba(179,34,34,0.35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* cursor glow (desktop) */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.10), rgba(var(--accent-rgb),0) 62%); opacity: 0; transition: opacity .4s; }
body.has-pointer .cursor-glow { opacity: 1; }

/* sections */
.section { padding: 88px 0; position: relative; }
.section.tight { padding-top: 0; }
.section.alt { background: rgba(10,14,22,0.82); }
.section + .section::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb),0.12) 20%, rgba(var(--accent-rgb),0.6) 50%, rgba(var(--accent-rgb),0.12) 80%, transparent);
  background-size: 200% 1px; animation: sectionSweep 5s linear infinite; }
@keyframes sectionSweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* hero */
.hero { position: relative; min-height: calc(100vh - 64px); display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 50% 46%, rgba(var(--accent-rgb),0.13), transparent 70%), var(--bg); }
.plexus, .static { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 2; text-align: center; padding-top: 40px; padding-bottom: 80px; pointer-events: none; }
.hero-in a, .hero-in button { pointer-events: auto; }
.wordmark { font-family: var(--brand); font-weight: 400; font-size: clamp(2.2rem, 7.4vw, 6.4rem); letter-spacing: 0.08em; line-height: 1; margin: 6px 0 30px;
  background: linear-gradient(180deg, #FFFFFF 10%, #BFDDFF 60%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(var(--accent-rgb),0.35)); white-space: nowrap; }
.hero-line { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.25; }
.hero-sub { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin: 18px auto 0; max-width: 44ch; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 48px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
.scroll-cue:hover { color: var(--text); }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* the name */
.split-word { display: flex; align-items: stretch; justify-content: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.half { font: inherit; color: inherit; cursor: pointer; flex: 1 1 260px; max-width: 360px; padding: 28px 24px; border-radius: 14px; text-align: center;
  background: rgba(255,255,255,0.055); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); border: 1px solid var(--border);
  box-shadow: 0 12px 28px -22px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05); transition: border-color .3s, transform .3s, box-shadow .3s; }
.half-word { display: block; font-family: var(--brand); font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: 0.1em; color: var(--text); transition: color .3s, text-shadow .3s; }
.half-def { display: block; margin-top: 14px; color: var(--muted); font-size: 1.1rem; min-height: 3.3em; opacity: .6; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.half:hover, .half.on { border-color: rgba(var(--accent-rgb),0.45); transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(var(--accent-rgb),0.5); }
.half:hover .half-word, .half.on .half-word { color: var(--accent); text-shadow: 0 0 24px rgba(var(--accent-rgb),0.6); }
.half:hover .half-def, .half.on .half-def { opacity: 1; transform: none; color: var(--text); }
.joiner { align-self: center; font-family: var(--mono); font-size: 1.6rem; color: var(--accent); }

/* systems nodes */
.nodes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; grid-auto-rows: 1fr; }
.node-lines { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; pointer-events: none; overflow: visible; }
.node-lines path { fill: none; stroke: rgba(var(--accent-rgb),0.55); stroke-width: 1.5; stroke-dasharray: 6 8; animation: flow 1.6s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.node { position: relative; height: 100%; padding: 34px 28px 30px; border-radius: 14px; text-align: center;
  background: linear-gradient(160deg, rgba(14,19,32,0.94), rgba(14,19,32,0.82)); border: 1px solid rgba(var(--accent-rgb),0.18);
  box-shadow: 0 12px 28px -22px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05); transition: border-color .3s, transform .3s; }
.node:hover { border-color: rgba(var(--accent-rgb),0.5); transform: translateY(-4px); }
.node-dot { display: block; width: 14px; height: 14px; margin: -41px auto 22px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb),0.14), 0 0 22px rgba(var(--accent-rgb),0.8); animation: pulse 2.4s ease-in-out infinite; }
.node:nth-child(3) .node-dot { animation-delay: .4s; } .node:nth-child(4) .node-dot { animation-delay: .8s; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(var(--accent-rgb),0.04), 0 0 30px rgba(var(--accent-rgb),1); } }
.node-k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.node h3 { margin: 10px 0 8px; font-size: 1.5rem; }
.node p { color: var(--muted); font-size: 1.08rem; }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1080px; }
.founder-img { border-radius: 14px; overflow: hidden; border: 1px solid rgba(var(--accent-rgb),0.22); box-shadow: 0 30px 70px -38px rgba(0,0,0,0.9), 0 0 40px -10px rgba(var(--accent-rgb),0.25); }
.founder-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.founder-copy p:not(.label) { color: var(--muted); font-size: 1.2rem; margin-top: 18px; }
.text-link { display: inline-block; margin-top: 22px; color: var(--accent); font-family: var(--display); font-weight: 700; }
.text-link:hover { text-shadow: 0 0 18px rgba(var(--accent-rgb),0.6); }

/* portals */
.portals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 46px; text-align: left; }
.portal { position: relative; display: block; min-height: 380px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); isolation: isolate;
  transition: border-color .35s, box-shadow .35s; transform-style: preserve-3d; }
.portal-img { position: absolute; inset: 0; background: var(--img) center/cover; z-index: -2; transform: scale(1.04); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; filter: saturate(.7) brightness(.55); }
.portal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,6,16,0.15) 0%, rgba(2,6,16,0.92) 78%); }
.portal-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 6px; transform: translateZ(40px); }
.portal-mark { width: 48px; height: auto; margin-bottom: 8px; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.6)); }
.portal-k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.portal strong { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; }
.portal-p { color: var(--muted); font-size: 1.08rem; }
.portal-go { margin-top: 10px; font-family: var(--display); font-weight: 700; }
.portal:hover .portal-img { transform: scale(1.1); filter: saturate(1) brightness(.7); }
.portal-codec .portal-k, .portal-codec .portal-go { color: #FF8A3D; }
.portal-codec:hover { border-color: rgba(var(--codec-rgb),0.7); box-shadow: 0 24px 60px -24px rgba(var(--codec-rgb),0.6); }
.portal-adamas .portal-k, .portal-adamas .portal-go { color: #7FA0FF; }
.portal-adamas:hover { border-color: rgba(106,59,184,0.8); box-shadow: -18px 24px 60px -30px rgba(179,34,34,0.6), 18px 24px 60px -30px rgba(56,103,255,0.6); }
.tilt { will-change: transform; transition: transform .25s ease-out; }

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 40px 0 34px; text-align: left; }
.post-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.055); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid var(--border); box-shadow: 0 12px 28px -22px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05); transition: border-color .3s, transform .3s; }
.post-card:hover { border-color: rgba(var(--accent-rgb),0.45); transform: translateY(-4px); }
.post-card[hidden] { display: none; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.85); }
.post-card-date { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent); padding: 18px 22px 0; }
.post-card strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.25; padding: 8px 22px 0; }
.post-card-desc { color: var(--muted); font-size: 0.98rem; padding: 10px 22px 24px; }
.notes-tools { display: flex; justify-content: center; margin-top: -20px; }
.notes-search { width: 100%; max-width: 440px; padding: 13px 18px; border-radius: 12px; border: 1px solid rgba(var(--accent-rgb),0.25); background: rgba(14,19,32,0.8); color: var(--text); font: 1rem var(--sans); }
.notes-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.15); }

/* page head + prose + article */
.page-head { padding: 96px 0 48px; }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 22ch; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.prose p { color: var(--muted); margin-top: 12px; }
.prose a { color: var(--accent); }
.post { padding-top: 72px; padding-bottom: 40px; }
.post .eyebrow { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.post h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 14px; }
.post-by { color: var(--muted); margin-top: 14px; } .post-by a { color: var(--text); border-bottom: 1px solid rgba(var(--accent-rgb),0.4); }
.post-img { margin: 34px 0 10px; }
.post-img img { border-radius: 14px; width: 100%; }
.post-img figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 8px; } .post-img figcaption a { color: var(--muted); text-decoration: underline; }
.post-body { font-size: 1.15rem; }
.post-body p, .post-body ul, .post-body ol { margin-top: 18px; color: #D9DFEA; }
.post-body ul, .post-body ol { padding-left: 1.3em; } .post-body li { margin-top: 8px; }
.post-body h2 { font-size: 1.7rem; margin-top: 44px; } .post-body h3 { margin-top: 30px; }
.post-body a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb),0.35); }
.post-body strong { color: var(--text); }
.post-stat { display: flex; gap: 18px; align-items: center; margin: 28px 0; padding: 22px 24px; border-radius: 14px; border: 1px solid rgba(var(--accent-rgb),0.22);
  background: linear-gradient(120deg, rgba(var(--accent-rgb),0.1), rgba(var(--accent-rgb),0.02) 60%); color: var(--text); }
.post-stat-num { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--accent); white-space: nowrap; }
.post-sources-title { font-size: 1.2rem !important; } .post-sources { font-size: 0.92rem; } .post-sources li { color: var(--muted); }
.post-cta { margin: 56px 0 0; padding: 34px 24px; border-radius: 14px; text-align: center; border: 1px solid rgba(var(--accent-rgb),0.22); background: rgba(14,19,32,0.85); }

/* footer */
.foot { padding: 46px 0 40px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 0.9rem; background: rgba(2,6,16,0.9); }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-bottom: 14px; }
.foot a:hover { color: var(--text); }
.egg-meter { margin-top: 12px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(188,198,216,0.45); }
.egg-meter.some { color: var(--accent); }

/* reveal + decode */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 140%); max-width: min(92vw, 520px); padding: 14px 20px; border-radius: 12px;
  background: rgba(14,19,32,0.96); border: 1px solid rgba(var(--accent-rgb),0.5); box-shadow: 0 0 34px rgba(var(--accent-rgb),0.3); font-family: var(--mono); font-size: 0.86rem; color: var(--text); text-align: center; transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .45s; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s cubic-bezier(.2,.8,.2,1); }

/* terminal (easter egg) */
.term { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(2,6,16,0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.term[hidden] { display: none; }
.term-box { width: min(94vw, 720px); height: min(70vh, 460px); display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(3,8,18,0.97); border: 1px solid rgba(var(--accent-rgb),0.4); box-shadow: 0 0 60px rgba(var(--accent-rgb),0.25); font-family: var(--mono); font-size: 0.92rem; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 0.74rem; letter-spacing: 0.12em; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--accent-rgb),0.4); }
.term-bar button { margin-left: auto; background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; }
.term-out { flex: 1; overflow-y: auto; padding: 14px 16px; white-space: pre-wrap; color: #CFE6FF; line-height: 1.55; }
.term-out a { color: var(--accent); text-decoration: underline; }
.term-out .dim { color: var(--muted); } .term-out .hi { color: var(--accent); }
.term-in { display: flex; gap: 8px; padding: 10px 16px 14px; border-top: 1px solid var(--border); color: var(--accent); }
.term-in input { flex: 1; background: none; border: 0; outline: none; color: var(--text); font: inherit; }

/* codec call (easter egg) */
.codec { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; background: rgba(0,6,4,0.78); }
.codec[hidden] { display: none; }
.codec-box { width: min(94vw, 760px); padding: 22px; border: 2px solid #3BE89A; border-radius: 6px; background: #021208; color: #9CFFC9; font-family: var(--mono); box-shadow: 0 0 40px rgba(59,232,154,0.35), inset 0 0 60px rgba(59,232,154,0.08); position: relative; overflow: hidden; }
.codec-box::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.25) 0 2px, transparent 2px 4px); }
.codec-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.codec-face { aspect-ratio: 3 / 4; border: 1px solid #3BE89A; background: radial-gradient(circle at 50% 38%, rgba(59,232,154,0.4), transparent 60%), #031a0d; display: grid; place-items: center; font-size: 2.4rem; color: #3BE89A; filter: contrast(1.2); animation: flick 0.18s steps(2) infinite; }
.codec-face img { width: 60%; opacity: .9; }
@keyframes flick { 50% { opacity: .86; } }
.codec-freq { text-align: center; } .codec-freq b { display: block; font-size: 2rem; letter-spacing: 0.06em; color: #C9FFE4; } .codec-freq span { font-size: 0.7rem; letter-spacing: 0.2em; }
.codec-text { margin-top: 18px; min-height: 4.8em; font-size: 1rem; line-height: 1.6; }
.codec-actions { margin-top: 14px; display: flex; gap: 12px; justify-content: flex-end; position: relative; z-index: 2; }
.codec-actions a, .codec-actions button { font: inherit; font-size: 0.85rem; color: #021208; background: #3BE89A; border: 0; border-radius: 4px; padding: 8px 14px; cursor: pointer; }
.codec-actions button { background: transparent; color: #9CFFC9; border: 1px solid #3BE89A; }

/* adamas flash (easter egg) */
.diamond { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; pointer-events: none; background: radial-gradient(circle, rgba(106,59,184,0.35), rgba(2,6,16,0.9) 70%); opacity: 0; transition: opacity .4s; }
.diamond.show { opacity: 1; }
.diamond-in { text-align: center; transform: scale(.9); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.diamond.show .diamond-in { transform: none; }
.diamond svg { width: 140px; height: 140px; filter: drop-shadow(0 0 30px rgba(127,160,255,0.8)); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotateY(360deg); } }
.diamond b { display: block; font-family: var(--brand); font-size: clamp(1.8rem, 6vw, 3.4rem); letter-spacing: 0.14em; margin-top: 18px; background: linear-gradient(90deg, #E04848, #A774FF, #6E93FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.diamond p { color: var(--text); margin-top: 8px; font-size: 1.1rem; }

/* meta mode (konami) */
body.meta-mode { --hex-bg-opacity: 1; }
body.meta-mode .wordmark { animation: hue 4s linear infinite; }
body.meta-mode #mx-hexbg { animation: hue 6s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }

/* 404 */
.lost-hero { background: var(--bg); }
.glitch { position: relative; font-size: clamp(2.6rem, 8vw, 5.6rem); }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; }
.glitch::before { color: #FF4D6D; transform: translate(-2px, 0); clip-path: inset(0 0 60% 0); animation: gl1 2.4s steps(1) infinite; mix-blend-mode: screen; }
.glitch::after { color: var(--accent); transform: translate(2px, 0); clip-path: inset(55% 0 0 0); animation: gl2 1.9s steps(1) infinite; mix-blend-mode: screen; }
@keyframes gl1 { 0%, 88% { transform: translate(-2px, 0); } 90% { transform: translate(-8px, -2px); } 94% { transform: translate(4px, 1px); } }
@keyframes gl2 { 0%, 84% { transform: translate(2px, 0); } 86% { transform: translate(9px, 2px); } 92% { transform: translate(-5px, 0); } }
.signal-game { position: relative; height: 170px; max-width: 520px; margin: 28px auto 8px; border: 1px dashed rgba(var(--accent-rgb),0.25); border-radius: 14px; pointer-events: auto; }
.drift-node { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; border: 0; cursor: crosshair; background: var(--accent); box-shadow: 0 0 22px rgba(var(--accent-rgb),0.9); transition: left .9s ease-in-out, top .9s ease-in-out; }
.signal-bars { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 4px; align-items: flex-end; }
.signal-bars i { width: 6px; background: rgba(var(--accent-rgb),0.2); border-radius: 2px; } .signal-bars i:nth-child(1){height:8px}.signal-bars i:nth-child(2){height:13px}.signal-bars i:nth-child(3){height:18px}.signal-bars i:nth-child(4){height:23px}.signal-bars i:nth-child(5){height:28px}
.signal-bars i.on { background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb),0.8); }
.signal-msg { min-height: 1.6em; color: var(--accent); font-family: var(--mono); font-size: 0.9rem; margin-bottom: 18px; }

/* mobile */
@media (max-width: 900px) {
  .nodes, .portals, .post-grid { grid-template-columns: 1fr; }
  .node-lines { display: none; }
  .split-word { flex-direction: column; align-items: center; gap: 10px; }
  .half { width: 100%; flex: none; }
  .node-dot { margin-top: 0; }
  .founder { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .section { padding: 64px 0; }
  .portal { min-height: 340px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; } .wrap-narrow { padding: 0 16px; }
  .brand-word { font-size: 0.7rem; letter-spacing: 0.12em; }
  .nav { gap: 16px; font-size: 0.86rem; }
  .nav a[href="/#brands"] { display: none; }
  .wordmark { letter-spacing: 0.04em; }
  .codec-face { font-size: 1.6rem; }
  .codec-freq b { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* hex-bg.css lifts every body child to position:relative; these two must stay fixed overlays. */
body > .cursor-glow, body > .toast { position: fixed !important; }
body > .top { position: sticky !important; z-index: 50; }
#notes h2 + p.muted { margin: 22px 0 28px; }

/* 2026-11-17 review pass (Adam): smaller wordmark, quiet hero, Metaplexus-style card labels, calmer footer */
.wordmark { font-size: clamp(1.7rem, 4.2vw, 3.4rem); margin-bottom: 22px; }
.hero-line { font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--text); }
.hero-btn { margin-top: 34px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 13px 24px; }
.portal-codec .portal-k, .portal-adamas .portal-k { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.22em; }
.foot { padding: 56px 0 48px; }
.foot-nav { gap: 12px 40px; margin-bottom: 22px; font-size: 0.92rem; }
.foot-nav a { color: var(--muted); }
.foot-legal { font-size: 0.8rem; color: rgba(188,198,216,0.6); }
.foot-legal span { margin-left: 22px; } .foot-legal span a { margin-left: 16px; }
.foot-legal span a:first-child { margin-left: 0; }
@media (max-width: 640px) { .foot-nav { gap: 12px 22px; } .foot-legal span { display: block; margin: 10px 0 0; } }
