/* Big Tom Dev — shared site styles. Colours come from the logo: its #16191f backdrop and the
   orange-to-violet diamond. */
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('/assets/fonts/nunito-400.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url('/assets/fonts/nunito-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/assets/fonts/nunito-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('/assets/fonts/nunito-800.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 900; font-display: swap; src: url('/assets/fonts/nunito-900.woff2') format('woff2'); }

:root {
  --bg: #16191f;
  --bg-2: #1b1f27;
  --surface: #20242e;
  --line: #2c3240;
  --text: #eef0f5;
  --muted: #9ba3b4;
  --faint: #6b7385;
  --orange: #e0704a;
  --violet: #8183e3;
  --grad: linear-gradient(135deg, var(--orange), var(--violet));
  --radius: 18px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Nunito, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.i { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

/* ── Banner ─────────────────────────────────────────── */
.banner {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 25, 31, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.banner-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 16px;
  height: 68px; display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.15rem; letter-spacing: 0.2px; white-space: nowrap; }
.brand-logo { width: 38px; height: 38px; }
.tabs { margin-left: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  text-decoration: none; color: var(--muted); font-weight: 800; font-size: 0.95rem;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: color .15s, background .15s;
}
.tab:hover { color: var(--text); background: var(--surface); }
.tab.active { color: var(--text); background: var(--surface); }
@media (max-width: 560px) {
  .banner-inner { gap: 10px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-logo { width: 30px; height: 30px; }
  .tab { padding: 7px 10px; font-size: 0.86rem; }
}

main { max-width: var(--max); margin: 0 auto; padding: 0 16px 72px; }

/* ── Shared bits ────────────────────────────────────── */
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; font-weight: 900; color: var(--orange); margin: 0 0 10px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 620px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 900;
  padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: transform .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--faint); }
.btn.primary { background: var(--grad); border: 0; color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 64px 0 20px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.6rem; }
.section-head p { margin: 0; color: var(--muted); }

/* ── Home ───────────────────────────────────────────── */
.hero { padding: 72px 0 8px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; }
.hero-mark { width: clamp(120px, 20vw, 220px); filter: drop-shadow(0 20px 50px rgba(129, 131, 227, 0.35)); }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; padding-top: 48px; } .hero-mark { display: none; } }

.collection {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; text-decoration: none;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .2s, transform .2s;
}
.collection:hover { border-color: var(--faint); transform: translateY(-2px); }
.collection-body { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.collection-body h3 { font-size: 2rem; font-weight: 900; }
.collection-body p { margin: 0; color: var(--muted); }
.collection-art {
  position: relative; min-height: 240px;
  background: radial-gradient(circle at 30% 20%, rgba(224, 112, 74, 0.35), transparent 55%), radial-gradient(circle at 80% 90%, rgba(129, 131, 227, 0.4), transparent 55%), var(--surface);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 28px; align-content: center;
}
.slot-chip {
  aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: var(--faint);
  border: 1px dashed var(--line); background: rgba(22, 25, 31, 0.5);
}
.slot-chip.live { border: 0; color: #fff; background: linear-gradient(160deg, #6fae5e, #3f7c45); box-shadow: 0 8px 24px rgba(90, 158, 82, 0.35); }
.slot-chip.plus { border: 0; background: none; color: var(--muted); }
.progress { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 0.92rem; }
.pips { display: flex; gap: 5px; }
.pips i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }
.pips i.on { background: var(--grad); }
/* Each live dash matches its project's slot chip. */
.pips i.on:nth-child(1) { background: linear-gradient(160deg, #6fae5e, #3f7c45); }
.pips i.on:nth-child(3) { background: linear-gradient(135deg, #ff5f8f, #6a4cff 55%, #18c8ff); }
.pips i.on:nth-child(4) { background: linear-gradient(160deg, #2f7a5f, #143a2f); box-shadow: inset 0 0 0 1px #e9c46a; }
.more-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 900; color: var(--text); }
@media (max-width: 760px) { .collection { grid-template-columns: 1fr; } .collection-art { min-height: 0; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 22px; }
.card h3 { font-size: 1.15rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.card p { margin: 0; color: var(--muted); }
.card.future { border-style: dashed; background: transparent; }

/* ── The Big 7 ──────────────────────────────────────── */
.big7-hero { padding: 64px 0 12px; }
.big7-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 14px; }
.big7-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.big7-index a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 0.92rem;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.big7-index a:hover { color: var(--text); border-color: var(--faint); }
.big7-index a.live { color: var(--text); border-color: rgba(111, 174, 94, 0.6); }
.big7-index a.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6fae5e; box-shadow: 0 0 0 3px rgba(111, 174, 94, 0.25); }

.project-num { font-weight: 900; font-size: 0.85rem; letter-spacing: 2px; }

/* Hearthvale: its own cosy palette inside the dark site */
.hv {
  --hv-cream: #f6ecdc; --hv-ink: #4a3121; --hv-soft: #7a6452; --hv-leaf: #5a9e52; --hv-leaf-dark: #3f7c45; --hv-sky: #bfe0ee;
  margin-top: 48px; border-radius: 28px; overflow: hidden; color: var(--hv-ink);
  background: linear-gradient(180deg, var(--hv-sky) 0%, #e9f1e4 38%, var(--hv-cream) 62%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  position: relative;
}
.hv-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; padding: 40px 40px 0; align-items: center; }
.hv-top > div { padding-bottom: 32px; }
.hv .project-num { color: var(--hv-leaf-dark); }
.hv-title { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; letter-spacing: -1px; margin: 6px 0 12px; color: #5a3a24; }
.hv-title span { color: var(--hv-leaf); }
.hv-tagline { font-size: 1.2rem; font-weight: 700; color: var(--hv-soft); margin: 0 0 22px; }
.hv-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 0.85rem; background: #fff; border-radius: 999px; padding: 6px 12px; box-shadow: 0 2px 0 rgba(74, 49, 33, 0.12); }
.hv-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--hv-leaf); }
.hv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hv-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 900;
  padding: 13px 20px; border-radius: 14px; background: #fff; color: var(--hv-ink); box-shadow: 0 4px 0 rgba(74, 49, 33, 0.18);
  transition: transform .12s;
}
.hv-btn:hover { transform: translateY(-2px); }
.hv-btn.play { background: var(--hv-leaf); color: #fff; box-shadow: 0 4px 0 var(--hv-leaf-dark); }
.hv-btn.discord { background: #5865f2; color: #fff; box-shadow: 0 4px 0 #3c45a5; }
.hv-shot { align-self: end; border-radius: 18px 18px 0 0; border: 6px solid #fff; border-bottom: 0; box-shadow: 0 -10px 40px rgba(74, 49, 33, 0.15); }
.hv-features { background: var(--hv-cream); padding: 34px 40px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid rgba(74, 49, 33, 0.1); }
.hv-feature { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 3px 0 rgba(74, 49, 33, 0.08); }
.hv-feature h3 { font-size: 1.02rem; font-weight: 900; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.hv-feature h3 .i { color: var(--hv-leaf-dark); }
.hv-feature p { margin: 0; color: var(--hv-soft); font-size: 0.95rem; }
.hv-legal { padding: 0 40px 28px; background: var(--hv-cream); font-size: 0.85rem; color: var(--hv-soft); margin: 0; }
.hv-legal a { color: var(--hv-ink); font-weight: 800; }
@media (max-width: 900px) { .hv-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hv-features { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .hv-top > div { padding-bottom: 0; }
  .hv-top { grid-template-columns: 1fr; padding: 28px 22px 0; }
  .hv-features { padding: 24px 22px 28px; }
  .hv-legal { padding: 0 22px 24px; }
}

/* OmniPrice: market-board look, the site's own dark palette with a chart-paper grid */
.op {
  margin-top: 36px; border-radius: 28px; overflow: hidden; position: relative;
  background:
    linear-gradient(rgba(129, 131, 227, 0.07) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(129, 131, 227, 0.07) 1px, transparent 1px) 0 0 / 32px 100%,
    radial-gradient(circle at 85% 0%, rgba(224, 112, 74, 0.22), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(129, 131, 227, 0.25), transparent 50%),
    #12151b;
  border: 1px solid #2f3546; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.op-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; padding: 40px 40px 8px; align-items: center; }
.op .project-num { color: var(--violet); }
.op-title { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; letter-spacing: -1px; margin: 6px 0 12px; }
.op-title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.op-tagline { font-size: 1.2rem; font-weight: 700; color: var(--muted); margin: 0 0 20px; }
.op-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 0.85rem; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; }
.op-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6fae5e; box-shadow: 0 0 0 3px rgba(111, 174, 94, 0.25); }
.op-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.op-pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; }
.op-pills li { font-size: 0.82rem; font-weight: 800; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; background: rgba(22, 25, 31, 0.6); }
.op-pills small { color: var(--faint); font-weight: 700; }
.op-shot { border-radius: 16px; border: 1px solid #343b4d; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.op-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 28px 40px 16px; }
.op-feature { background: rgba(32, 36, 46, 0.72); border: 1px solid var(--line); border-radius: 16px; padding: 18px; backdrop-filter: blur(4px); }
.op-feature h3 { font-size: 1.02rem; font-weight: 900; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.op-feature h3 .i { color: var(--orange); }
.op-feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.op-legal { padding: 4px 40px 28px; margin: 0; font-size: 0.85rem; color: var(--faint); }
.op-legal a { color: var(--muted); font-weight: 800; }
@media (max-width: 900px) { .op-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .op-top { grid-template-columns: 1fr; padding: 28px 22px 0; }
  .op-top .op-shot { order: 2; }
  .op-features { padding: 24px 22px 12px; }
  .op-legal { padding: 4px 22px 24px; }
}
@media (max-width: 560px) { .op-features { grid-template-columns: 1fr; } }
.slot-chip.live.omni { background: var(--grad); box-shadow: 0 8px 24px rgba(129, 131, 227, 0.35); }

/* Homebase: frosted glass over a liquid gradient */
.hb {
  margin-top: 36px; border-radius: 28px; overflow: hidden; position: relative; isolation: isolate;
  background: radial-gradient(at 12% 18%, #ff5f8f 0, transparent 45%), radial-gradient(at 88% 12%, #6a4cff 0, transparent 48%),
    radial-gradient(at 80% 85%, #18c8ff 0, transparent 45%), radial-gradient(at 18% 90%, #ffb46b 0, transparent 45%), #1a1030;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hb::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(12, 10, 24, 0.55); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }
.hb-top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; padding: 40px 40px 8px; align-items: center; }
.hb .project-num { color: #ffd1e1; }
.hb-title { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; letter-spacing: -1px; margin: 6px 0 12px; color: #fff; }
.hb-title span { background: linear-gradient(135deg, #ffb46b, #ff5f8f 45%, #7bdcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hb-tagline { font-size: 1.2rem; font-weight: 700; color: rgba(255, 255, 255, 0.8); margin: 0 0 20px; }
.hb-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 0.85rem; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 6px 12px; }
.hb-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6fe0a0; box-shadow: 0 0 0 3px rgba(111, 224, 160, 0.25); }
.hb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hb .btn { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px); }
.hb .btn.primary { background: #fff; color: #1a1030; border: 0; }
.hb-themes { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; }
.hb-themes li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 800; color: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 3px 10px 3px 7px; background: rgba(0, 0, 0, 0.18); }
.hb-themes li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.hb-shot { border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.25); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.hb-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 28px 40px 16px; }
.hb-feature { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; padding: 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hb-feature h3 { font-size: 1.02rem; font-weight: 900; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: #fff; }
.hb-feature h3 .i { color: #ffd1e1; }
.hb-feature p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.hb-legal { padding: 4px 40px 28px; margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.hb-legal a { color: rgba(255, 255, 255, 0.85); font-weight: 800; }
@media (max-width: 900px) { .hb-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .hb-top { grid-template-columns: 1fr; padding: 28px 22px 0; } .hb-features { padding: 24px 22px 12px; } .hb-legal { padding: 4px 22px 24px; } }
@media (max-width: 560px) { .hb-features { grid-template-columns: 1fr; } }
/* Cardhouse: green baize with a brass edge */
.ch {
  margin-top: 36px; border-radius: 28px; overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 30% 20%, #23604c 0, #143a2f 50%, #0d221c 100%);
  border: 1px solid rgba(233, 196, 106, 0.35); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.ch-top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; padding: 40px 40px 8px; align-items: center; }
.ch .project-num { color: #e9c46a; }
.ch-title { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; letter-spacing: -1px; margin: 6px 0 12px; color: #fff; }
.ch-title span { background: linear-gradient(135deg, #f4d58d, #e0704a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ch-tagline { font-size: 1.2rem; font-weight: 700; color: rgba(255, 255, 255, 0.82); margin: 0 0 20px; }
.ch-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 0.85rem; border: 1px solid rgba(233, 196, 106, 0.45); background: rgba(0, 0, 0, 0.2); border-radius: 999px; padding: 6px 12px; }
.ch-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6fe0a0; box-shadow: 0 0 0 3px rgba(111, 224, 160, 0.25); }
.ch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ch .btn.primary { background: linear-gradient(135deg, #f4d58d, #e9a94a); color: #1b1407; border: 0; }
.ch-games { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; }
.ch-games li { font-size: 0.8rem; font-weight: 800; color: #fbfaf6; border-radius: 8px; padding: 4px 10px; background: rgba(251, 250, 246, 0.1); border: 1px solid rgba(251, 250, 246, 0.2); }
.ch-shot { width: 100%; height: auto; border-radius: 16px; }
.ch-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 28px 40px 16px; }
.ch-feature { background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 18px; }
.ch-feature h3 { font-size: 1.02rem; font-weight: 900; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: #fff; }
.ch-feature h3 .i { color: #e9c46a; }
.ch-feature p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.ch-legal { padding: 4px 40px 28px; margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.ch-legal a { color: rgba(255, 255, 255, 0.85); font-weight: 800; }
@media (max-width: 900px) { .ch-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .ch-top { grid-template-columns: 1fr; padding: 28px 22px 0; } .ch-features { padding: 24px 22px 12px; } .ch-legal { padding: 4px 22px 24px; } }
@media (max-width: 560px) { .ch-features { grid-template-columns: 1fr; } }
.slot-chip.live.deck { background: linear-gradient(160deg, #2f7a5f, #143a2f); border: 1px solid #e9c46a; box-shadow: 0 8px 24px rgba(233, 196, 106, 0.25); }
.slot-chip.live.hbase { background: linear-gradient(135deg, #ff5f8f, #6a4cff 55%, #18c8ff); box-shadow: 0 8px 24px rgba(255, 95, 143, 0.35); }

/* Projects 05–07 share one layout; each sets its own colours. */
.proj {
  --p1: #ff5fa2; --p2: #7c6cff; --bgp: #120f1f; --ink: #fff;
  margin-top: 36px; border-radius: 28px; overflow: hidden; position: relative;
  background: radial-gradient(90% 70% at 85% 10%, color-mix(in srgb, var(--p2) 35%, transparent), transparent 60%),
    radial-gradient(70% 60% at 10% 90%, color-mix(in srgb, var(--p1) 25%, transparent), transparent 60%), var(--bgp);
  border: 1px solid color-mix(in srgb, var(--p1) 30%, transparent); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.proj-loopline { --p1: #ff5fa2; --p2: #7c6cff; --bgp: #120f1f; }
.proj-pixelforge { --p1: #ffcd75; --p2: #b13e53; --bgp: #17141f; }
.proj-orbitlab { --p1: #ffc35a; --p2: #6aa8ff; --bgp: #05060d; }
.proj-top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; padding: 40px 40px 8px; align-items: center; }
.proj .project-num { color: var(--p1); }
.proj-title { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; letter-spacing: -1px; margin: 6px 0 12px; color: #fff; }
.proj-title span { background: linear-gradient(135deg, var(--p1), var(--p2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proj-tagline { font-size: 1.2rem; font-weight: 700; color: rgba(255, 255, 255, 0.82); margin: 0 0 20px; }
.proj-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 0.85rem; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(0, 0, 0, 0.2); border-radius: 999px; padding: 6px 12px; }
.proj-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6fe0a0; box-shadow: 0 0 0 3px rgba(111, 224, 160, 0.25); }
.proj-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.proj .btn.primary { background: linear-gradient(135deg, var(--p1), var(--p2)); color: #fff; border: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; }
.proj-tags li { font-size: 0.8rem; font-weight: 800; color: rgba(255, 255, 255, 0.88); border-radius: 8px; padding: 4px 10px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); }
.proj-shot { width: 100%; height: auto; border-radius: 16px; }
.proj-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 28px 40px 16px; }
.proj-feature { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 18px; }
.proj-feature h3 { font-size: 1.02rem; font-weight: 900; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: #fff; }
.proj-feature h3 .i { color: var(--p1); }
.proj-feature p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.proj-legal { padding: 4px 40px 28px; margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.proj-legal a { color: rgba(255, 255, 255, 0.85); font-weight: 800; }
@media (max-width: 900px) { .proj-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .proj-top { grid-template-columns: 1fr; padding: 28px 22px 0; } .proj-features { padding: 24px 22px 12px; } .proj-legal { padding: 4px 22px 24px; } }
@media (max-width: 560px) { .proj-features { grid-template-columns: 1fr; } }
.section-head.finale { margin-top: 56px; text-align: center; }
.section-head.finale p { max-width: 620px; margin-inline: auto; }
.slot-chip.live.loop { background: linear-gradient(135deg, #ff5fa2, #7c6cff); box-shadow: 0 8px 24px rgba(255, 95, 162, 0.3); }
.slot-chip.live.pixel { background: linear-gradient(135deg, #ffcd75, #ef7d57 55%, #b13e53); box-shadow: 0 8px 24px rgba(239, 125, 87, 0.3); }
.slot-chip.live.orbit { background: radial-gradient(circle at 20% 20%, #ffc35a 0 8%, transparent 9%), linear-gradient(160deg, #1a2350, #05060d); border: 1px solid #6aa8ff; box-shadow: 0 8px 24px rgba(106, 168, 255, 0.3); }
.pips i.on:nth-child(5) { background: linear-gradient(135deg, #ff5fa2, #7c6cff); }
.pips i.on:nth-child(6) { background: linear-gradient(135deg, #ffcd75, #b13e53); }
.pips i.on:nth-child(7) { background: linear-gradient(135deg, #ffc35a, #6aa8ff); }

/* ── Legal pages ────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding-top: 56px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; margin-bottom: 8px; }
.legal .updated { color: var(--faint); margin: 0 0 28px; font-weight: 700; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; padding-top: 8px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal p, .legal li { color: #cfd4de; }
.legal a { color: #b7b9f5; }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal .toc { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: var(--bg-2); }
.legal .toc ol { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; }
@media (max-width: 560px) { .legal .toc ol { columns: 1; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); font-weight: 900; }
tr:last-child td { border-bottom: 0; }
.callout { border-left: 3px solid var(--orange); background: var(--bg-2); padding: 12px 16px; border-radius: 0 12px 12px 0; }

/* ── 404 ─────────────────────────────────────────────── */
.notfound { text-align: center; padding: 120px 0 40px; }
.notfound h1 { font-size: 5rem; font-weight: 900; }

/* ── Footer ─────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 28px 16px 36px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--muted); }
.footer-brand .brand-logo { width: 24px; height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--text); }
.footer-note { flex-basis: 100%; margin: 0; color: var(--faint); font-size: 0.85rem; }
@media (max-width: 560px) { .footer-links { margin-left: 0; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
