/* ============ Tokens ============ */
:root {
  --bg: #f6f5f2;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --border: rgba(20, 20, 30, 0.09);
  --border-strong: rgba(20, 20, 30, 0.16);
  --text: #121218;
  --muted: #5d5d6b;
  --faint: #8d8d9a;
  --accent-1: #7c3aed;
  --accent-2: #db2777;
  --accent-3: #ea580c;
  --grad: linear-gradient(120deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -12px rgba(30, 20, 60, .18);
  --blob-a: rgba(167, 139, 250, .38);
  --blob-b: rgba(244, 114, 182, .30);
  --blob-c: rgba(251, 146, 60, .25);
  --grid: rgba(20, 20, 30, .045);
  --radius: 22px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b10; --bg-2: #111118; --surface: rgba(22, 22, 32, 0.66); --surface-solid: #15151e;
    --border: rgba(255,255,255,.08); --border-strong: rgba(255,255,255,.16);
    --text: #f2f1f6; --muted: #a3a2b3; --faint: #6f6e80;
    --accent-1: #a78bfa; --accent-2: #f472b6; --accent-3: #fb923c;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 20px 40px -16px rgba(0,0,0,.6);
    --blob-a: rgba(124, 58, 237, .35); --blob-b: rgba(219, 39, 119, .22); --blob-c: rgba(234, 88, 12, .16);
    --grid: rgba(255,255,255,.035);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b10; --bg-2: #111118; --surface: rgba(22, 22, 32, 0.66); --surface-solid: #15151e;
  --border: rgba(255,255,255,.08); --border-strong: rgba(255,255,255,.16);
  --text: #f2f1f6; --muted: #a3a2b3; --faint: #6f6e80;
  --accent-1: #a78bfa; --accent-2: #f472b6; --accent-3: #fb923c;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 20px 40px -16px rgba(0,0,0,.6);
  --blob-a: rgba(124, 58, 237, .35); --blob-b: rgba(219, 39, 119, .22); --blob-c: rgba(234, 88, 12, .16);
  --grid: rgba(255,255,255,.035);
  color-scheme: dark;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
h1 em, h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
kbd {
  font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 6px;
  border: 1px solid var(--border-strong); background: var(--bg-2); color: var(--muted);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }

/* ============ Background ============ */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.b1 { width: 52vmax; height: 52vmax; background: var(--blob-a); top: -22vmax; left: -12vmax; animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 40vmax; height: 40vmax; background: var(--blob-b); top: 10vmax; right: -16vmax; animation: drift2 30s ease-in-out infinite alternate; }
.b3 { width: 36vmax; height: 36vmax; background: var(--blob-c); bottom: -18vmax; left: 30vw; animation: drift3 34s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(10vw, 8vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-8vw, 12vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vw, -10vh) scale(1.15); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
.grain {
  position: absolute; inset: -50%; opacity: .05;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand-mark { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.brand-mark::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); transition: background-color .4s; }
.brand-mark span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--text); top: -1px; right: -1px; border: 2px solid var(--bg); animation: spinDot 6s linear infinite; transform-origin: -6px 14px; }
@keyframes spinDot { to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.search-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 12px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  cursor: pointer; font-size: 14px; backdrop-filter: blur(10px); transition: border-color .2s, color .2s;
}
.search-btn:hover { border-color: var(--border-strong); color: var(--text); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: transform .3s, border-color .2s; }
.icon-btn:hover { border-color: var(--border-strong); transform: rotate(20deg); }
.icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: block; }
:root[data-theme="dark"] .icon-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .sun { display: block; }
  :root:not([data-theme="light"]) .icon-btn .moon { display: none; }
}

/* ============ Hero ============ */
.hero {
  max-width: 1240px; margin: 0 auto; min-height: calc(100vh - 66px);
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 64px);
  padding: clamp(24px, 6vh, 72px) clamp(16px, 4vw, 48px) 48px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; color: var(--muted); font-weight: 500; backdrop-filter: blur(10px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
h1 { font-size: clamp(48px, 8vw, 104px); line-height: .95; letter-spacing: -.05em; font-weight: 700; margin: 0 0 24px; }
h1 em { letter-spacing: -.02em; font-size: 1.08em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 520px; margin: 0 0 32px; }

.address {
  display: flex; align-items: center; max-width: 520px; height: 60px; padding: 0 6px 0 18px;
  border-radius: 18px; border: 1px solid var(--border-strong); background: var(--surface-solid);
  box-shadow: var(--shadow); font-family: var(--mono); font-size: 16px; position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.address:focus-within { border-color: var(--accent-1); box-shadow: var(--shadow), 0 0 0 4px color-mix(in srgb, var(--accent-1) 18%, transparent); }
.addr-proto { color: var(--faint); }
.addr-domain { color: var(--muted); margin-right: auto; padding-right: 8px; }
.addr-field { position: relative; display: inline-grid; min-width: 1ch; }
.addr-field input, .addr-ghost { grid-area: 1/1; font: inherit; padding: 0; border: 0; margin: 0; }
.addr-field input { background: transparent; color: var(--text); outline: none; width: 100%; min-width: 1ch; caret-color: var(--accent-2); font-weight: 500; }
.addr-ghost { color: var(--faint); pointer-events: none; white-space: pre; }
.addr-go {
  flex: none; width: 46px; height: 46px; border-radius: 13px; border: 0; cursor: pointer;
  background: var(--text); color: var(--bg); display: grid; place-items: center; transition: transform .2s;
}
.addr-go:hover { transform: translateX(2px); }
.addr-hint { margin: 12px 0 0 4px; font-size: 13px; color: var(--faint); }

/* Orbit */
.orbit-wrap { position: relative; display: grid; place-items: center; }
.orbit { position: relative; width: min(540px, 88vw); aspect-ratio: 1; }
.ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed var(--border-strong); }
.r1 { width: 44%; height: 44%; }
.r2 { width: 72%; height: 72%; border-style: solid; border-color: var(--border); }
.r3 { width: 100%; height: 100%; }
.core {
  position: absolute; inset: 0; margin: auto; width: 26%; height: 26%; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
.core-glow { position: absolute; inset: -30%; border-radius: 50%; background: var(--grad); filter: blur(40px); opacity: .45; z-index: -1; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .6; } }
.core-word { font-weight: 700; font-size: clamp(18px, 3.2vw, 28px); letter-spacing: -.04em; line-height: 1; }
.core-sub { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.planet {
  position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%;
  border-radius: 28%; overflow: hidden; display: grid; place-items: center;
  background: var(--surface-solid); border: 1px solid var(--border-strong);
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--c) 70%, transparent);
  cursor: pointer; transition: box-shadow .3s, scale .3s; will-change: transform;
}
.planet img { width: 100%; height: 100%; object-fit: cover; }
.planet:hover, .planet:focus-visible { scale: 1.18; box-shadow: 0 0 0 3px var(--c), 0 16px 40px -8px var(--c); z-index: 3; }
.tile { width: 100%; height: 100%; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 700; font-size: clamp(16px, 2.5vw, 22px); letter-spacing: -.04em; }
.orbit-label {
  position: absolute; bottom: -6px; left: 50%; translate: -50% 0; font-family: var(--mono); font-size: 13px;
  padding: 6px 12px; border-radius: 999px; background: var(--surface-solid); border: 1px solid var(--border);
  opacity: 0; transition: opacity .2s; white-space: nowrap;
}
.orbit-label.show { opacity: 1; }

/* ============ Marquee ============ */
.marquee { border-block: 1px solid var(--border); overflow: hidden; padding: 18px 0; background: var(--surface); backdrop-filter: blur(8px); }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: scroll 40s linear infinite; }
.marquee-track span { font-size: clamp(20px, 3vw, 32px); font-weight: 600; letter-spacing: -.03em; color: var(--faint); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; font-size: .6em; color: var(--accent-2); }
.marquee-track i { font-style: normal; font-family: var(--mono); font-size: .55em; color: var(--muted); margin-left: 4px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 12vh, 120px) clamp(16px, 4vw, 48px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 12px; }
h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1; letter-spacing: -.045em; margin: 0; font-weight: 700; }
h3 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 8px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip b { font-weight: 500; opacity: .55; margin-left: 4px; font-size: 12px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; min-height: 280px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s, opacity .35s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 22%, transparent), transparent 60%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--c), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { box-shadow: var(--shadow); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card.featured { grid-column: span 2; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-logo { width: 60px; height: 60px; border-radius: 17px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 8px 24px -10px var(--c); flex: none; }
.card-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-tag { font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, transparent); color: color-mix(in srgb, var(--c) 75%, var(--text)); }
.card h3 { font-size: 26px; margin: 0; letter-spacing: -.035em; }
.card .tagline { margin: 2px 0 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); line-height: 1.2; }
.card .desc { margin: 0; color: var(--muted); font-size: 15px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.card-url { font-family: var(--mono); font-size: 13px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-url b { color: var(--text); font-weight: 500; }
.card-arrow { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); transition: background-color .3s, color .3s, transform .3s, border-color .3s; }
.card:hover .card-arrow { background: var(--c); color: #fff; border-color: var(--c); transform: rotate(-45deg); }
.card.hidden { display: none; }
.card.soon { border-style: dashed; background: transparent; align-items: flex-start; justify-content: center; }
.card.soon .card-logo { display: grid; place-items: center; background: var(--surface); font-size: 26px; color: var(--faint); box-shadow: none; border-style: dashed; }
.card.soon h3 { color: var(--muted); }
.empty { text-align: center; color: var(--muted); }

/* ============ Domain map ============ */
.map-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.map-copy p { color: var(--muted); font-size: 17px; max-width: 480px; }
.map-copy h2 { margin-bottom: 20px; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 480px; }
.facts li { padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.facts strong { display: block; font-size: 32px; letter-spacing: -.04em; line-height: 1.1; }
.facts span { font-size: 13px; color: var(--muted); }
.terminal { border-radius: var(--radius); overflow: hidden; background: #0e0e15; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(20,10,40,.55); color: #d8d6e6; min-width: 0; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: #14141d; }
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3a48; }
.term-bar span:nth-child(1) { background: #ff5f57; } .term-bar span:nth-child(2) { background: #febc2e; } .term-bar span:nth-child(3) { background: #28c840; }
.term-bar p { margin: 0 auto; font-family: var(--mono); font-size: 12px; color: #77768a; padding-right: 40px; }
.term-body { margin: 0; padding: 22px 24px 28px; font-family: var(--mono); font-size: clamp(12px, 1.3vw, 14px); line-height: 1.95; overflow-x: auto; min-height: 340px; }
.term-body .t-root { color: #fff; font-weight: 500; }
.term-body .t-branch { color: #55546a; }
.term-body .t-sub { color: var(--c, #fff); }
.term-body .t-dom { color: #8f8ea5; }
.term-body .t-cat { color: #5f5e74; }
.term-body .t-soon { color: #77768a; font-style: italic; }
.term-body a:hover .t-dom, .term-body a:hover .t-sub { text-decoration: underline; }
.cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: #f472b6; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============ About / CTA ============ */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(10px); }
.pillar-num { font-family: var(--mono); font-size: 13px; color: var(--accent-2); display: block; margin-bottom: 40px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
.cta {
  margin-top: 64px; padding: clamp(40px, 7vw, 80px); border-radius: 32px; text-align: center; position: relative; overflow: hidden;
  background: var(--surface-solid); border: 1px solid var(--border);
}
.cta::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: var(--grad); filter: blur(90px); opacity: .25; z-index: 0; }
.cta > * { position: relative; }
.cta h2 { margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px var(--accent-2); }

/* ============ Footer ============ */
.footer { max-width: 1240px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); }
.brand.small { font-size: 17px; } .brand.small .brand-mark { width: 22px; height: 22px; } .brand.small .brand-mark::before { width: 12px; height: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { color: var(--muted); font-size: 14px; } .foot-links a:hover { color: var(--text); }
.copy { margin: 0; color: var(--faint); font-size: 13px; }

/* ============ Palette ============ */
.palette { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 12vh 16px 16px; }
.palette[hidden] { display: none; }
.palette-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 10, .45); backdrop-filter: blur(6px); animation: fade .2s; }
.palette-box { position: relative; width: min(600px, 100%); border-radius: 20px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); overflow: hidden; animation: pop .25s cubic-bezier(.2,.9,.3,1.2); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); color: var(--faint); }
.palette-input input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--text); min-width: 0; }
.palette-list { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow-y: auto; }
.palette-list li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.palette-list li[aria-selected="true"] { background: color-mix(in srgb, var(--c) 14%, transparent); }
.palette-list .p-logo { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; flex: none; border: 1px solid var(--border); }
.palette-list .p-logo img { width: 100%; height: 100%; object-fit: cover; }
.palette-list .p-logo .tile { font-size: 15px; }
.palette-list .p-text { min-width: 0; flex: 1; }
.palette-list strong { display: block; font-size: 15px; }
.palette-list small { display: block; color: var(--faint); font-family: var(--mono); font-size: 12px; }
.palette-list .p-cat { font-size: 12px; color: var(--muted); }
.palette-list .p-none { color: var(--muted); justify-content: center; cursor: default; }
.palette-foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--border); font-size: 12px; color: var(--faint); }
.palette-foot kbd { margin-right: 3px; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .orbit-wrap { order: -1; }
  .orbit { width: min(420px, 76vw); margin: 6vw 0; }
  .map-section { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .card.featured { grid-column: auto; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .search-btn span, .search-btn kbd { display: none; }
  .search-btn { width: 38px; padding: 0; justify-content: center; }
  .address { font-size: 14px; padding-left: 14px; height: 56px; }
  .addr-proto { display: none; }
  .addr-hint kbd { display: none; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts strong { font-size: 26px; }
  .card { padding: 22px; min-height: 0; }
  .term-bar p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
