@layer reset, base, theme, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { min-width: 320px; scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul, ol { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  a { color: inherit; text-decoration: none; }
  button, input { font: inherit; }
  button { border: 0; }
}

@layer base {
  :root {
    color-scheme: dark;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --ink-950: #08070f;
    --ink-900: #0c0a18;
    --ink-850: #121024;
    --ink-800: #18152e;
    --ink-700: #24203d;
    --line: rgba(255, 255, 255, .11);
    --line-strong: rgba(255, 255, 255, .2);
    --paper: #f8f6fc;
    --muted: #a4a1b5;
    --fuchsia: #ef3c98;
    --fuchsia-soft: #ff8fc8;
    --violet: #7d65ff;
    --lime: #a5ee76;
    --amber: #ffd16a;
    --cyan: #62dbe5;
    --shadow: 0 24px 80px rgba(0, 0, 0, .32);
  }

  body {
    min-height: 100dvh;
    color: var(--paper);
    background:
      radial-gradient(circle at 88% -12%, rgba(125, 101, 255, .2), transparent 28rem),
      radial-gradient(circle at 12% 16%, rgba(239, 60, 152, .12), transparent 24rem),
      var(--ink-950);
    line-height: 1.5;
  }

  body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: .27;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  }

  :focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px;
  }

  ::selection { color: var(--ink-950); background: var(--fuchsia-soft); }
}

@layer theme {
  .eyebrow {
    color: var(--fuchsia-soft);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .muted { color: var(--muted); }

  .display {
    max-width: 12ch;
    font-size: clamp(2.55rem, 6vw, 6.7rem);
    font-weight: 840;
    line-height: .94;
    letter-spacing: -.065em;
  }

  .display em {
    color: var(--fuchsia-soft);
    font-style: normal;
  }

  .display--compact { max-width: 14ch; font-size: clamp(2.55rem, 5vw, 5.4rem); }

  .section-title {
    max-width: 17ch;
    font-size: clamp(1.75rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -.045em;
  }
}

@layer components {
  .skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 100;
    padding: .75rem 1rem;
    color: var(--ink-950);
    background: var(--lime);
    border-radius: .75rem;
    transform: translateY(-180%);
  }

  .skip-link:focus { transform: translateY(0); }

  .site-shell { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100dvh; }

  .rail {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    min-height: 100dvh;
    flex-direction: column;
    padding: 1.25rem 1rem;
    background: rgba(12, 10, 24, .86);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(22px);
  }

  .brand-lockup { display: flex; align-items: center; gap: .65rem; padding: .2rem .35rem 2.2rem; }

  .brand-mark {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: var(--ink-950);
    font-size: .82rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--lime), var(--fuchsia-soft));
    border-radius: .55rem;
    box-shadow: 0 0 28px rgba(239, 60, 152, .32);
  }

  .brand-name { font-size: .95rem; font-weight: 850; letter-spacing: -.03em; }
  .brand-sub { display: block; margin-top: .05rem; color: var(--muted); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }

  .rail-label { padding: 0 .45rem .55rem; color: #6f6b85; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

  .rail-nav { display: grid; gap: .3rem; }
  .rail-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem .65rem; color: #bdb9ca; border: 1px solid transparent; border-radius: .65rem; font-size: .8rem; transition: color .2s ease, background .2s ease, border-color .2s ease; }
  .rail-nav a::before { width: .45rem; height: .45rem; content: ""; background: currentColor; border-radius: 50%; opacity: .42; }
  .rail-nav a:hover, .rail-nav a[aria-current="page"] { color: var(--paper); background: rgba(125, 101, 255, .16); border-color: rgba(125, 101, 255, .28); }
  .rail-nav a[aria-current="page"]::before { color: var(--lime); opacity: 1; box-shadow: 0 0 12px currentColor; }

  .rail-note { margin-top: auto; padding: 1rem .8rem; color: var(--muted); background: linear-gradient(145deg, rgba(239, 60, 152, .15), rgba(125, 101, 255, .08)); border: 1px solid var(--line); border-radius: .85rem; font-size: .72rem; }
  .rail-note strong { display: block; margin-bottom: .35rem; color: var(--paper); font-size: .8rem; }

  .main-column { min-width: 0; }

  .topbar { position: sticky; top: 0; z-index: 8; display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; padding: .8rem clamp(1rem, 4vw, 4.5rem); background: rgba(8, 7, 15, .72); border-bottom: 1px solid var(--line); backdrop-filter: blur(24px); }
  .topbar-context { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .76rem; }
  .status-dot { width: .48rem; height: .48rem; background: var(--lime); border-radius: 50%; box-shadow: 0 0 14px var(--lime); }
  .topbar-links { display: flex; align-items: center; gap: .65rem; }
  .topbar-links a { padding: .5rem .75rem; color: var(--muted); font-size: .76rem; border-radius: .55rem; }
  .topbar-links a:hover { color: var(--paper); background: rgba(255,255,255,.07); }
  .menu-button { display: none; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .75rem; color: var(--paper); background: var(--ink-800); border: 1px solid var(--line); border-radius: .65rem; cursor: pointer; }
  .menu-button::before { width: 1rem; height: .7rem; content: ""; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }

  .content { max-width: 100rem; margin: 0 auto; padding: clamp(2.4rem, 6vw, 6.5rem) clamp(1rem, 4vw, 4.5rem) 3rem; }
  .page-section { margin-top: clamp(4.5rem, 9vw, 9rem); }
  .section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
  .section-head p { max-width: 34rem; color: var(--muted); font-size: .95rem; }

  .hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(21rem, .94fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); min-height: min(44rem, calc(100dvh - 5rem)); }
  .hero-copy { position: relative; z-index: 1; }
  .hero-copy > p { max-width: 38rem; margin-top: 1.55rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
  .button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; gap: .55rem; padding: .75rem 1.1rem; color: var(--ink-950); background: var(--lime); border-radius: .65rem; font-size: .8rem; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
  .button:hover { background: #c4f6a3; box-shadow: 0 10px 30px rgba(165, 238, 118, .18); transform: translateY(-2px); }
  .button--quiet { color: var(--paper); background: var(--ink-800); border: 1px solid var(--line); }
  .button--quiet:hover { background: var(--ink-700); }
  .button--small { min-height: 2.4rem; padding: .55rem .8rem; font-size: .72rem; }

  .hero-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.35rem; }
  .chip { display: inline-flex; align-items: center; min-height: 1.9rem; padding: .35rem .65rem; color: #d3d0dc; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; }
  .chip--lime { color: var(--lime); border-color: rgba(165, 238, 118, .28); }
  .chip--pink { color: var(--fuchsia-soft); border-color: rgba(239, 60, 152, .3); }

  .hero-visual { position: relative; min-height: 30rem; overflow: hidden; isolation: isolate; }
  .hero-visual::before { position: absolute; inset: 12% 4% 8%; z-index: -1; content: ""; background: radial-gradient(circle, rgba(239,60,152,.28), transparent 56%); filter: blur(28px); }
  .orbit { position: absolute; inset: 12% 8%; border: 1px solid rgba(239,60,152,.28); border-radius: 50%; transform: rotate(-17deg); }
  .orbit::before, .orbit::after { position: absolute; inset: 10%; content: ""; border: 1px solid rgba(125,101,255,.34); border-radius: 50%; }
  .orbit::after { inset: 25%; border-color: rgba(165,238,118,.26); }
  .orbital-label { position: absolute; display: grid; min-width: 5rem; min-height: 5rem; place-items: center; padding: .7rem; color: var(--paper); background: rgba(18,16,36,.86); border: 1px solid var(--line-strong); border-radius: 1rem; box-shadow: var(--shadow); font-size: .7rem; font-weight: 800; text-align: center; }
  .orbital-label small { display: block; margin-top: .2rem; color: var(--muted); font-size: .56rem; font-weight: 500; }
  .orbital-label--one { top: 5%; right: 10%; }
  .orbital-label--two { bottom: 13%; left: 3%; }
  .orbital-label--three { right: 1%; bottom: 29%; color: var(--lime); }
  .orbit-core { position: absolute; top: 50%; left: 50%; display: grid; width: 10.5rem; height: 10.5rem; place-items: center; color: var(--paper); background: radial-gradient(circle at 35% 25%, #f876b5, #a21b68 28%, #251234 67%, #0d0b17); border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 1.5rem rgba(239,60,152,.05), 0 0 70px rgba(239,60,152,.38), inset 0 0 60px rgba(8,7,15,.78); transform: translate(-50%, -50%); }
  .orbit-core::before { position: absolute; inset: 1rem; content: ""; border: 1px dashed rgba(255,255,255,.28); border-radius: 50%; }
  .orbit-core span { position: relative; font-size: 4.6rem; font-weight: 900; letter-spacing: -.15em; transform: translateX(-.1em); }
  .visual-caption { position: absolute; right: 0; bottom: 0; max-width: 15rem; padding: .75rem .85rem; color: var(--muted); background: rgba(12,10,24,.82); border: 1px solid var(--line); border-radius: .65rem; font-size: .7rem; }

  .panel { background: linear-gradient(145deg, rgba(24,21,46,.92), rgba(12,10,24,.82)); border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: 0 16px 55px rgba(0,0,0,.17); }
  .panel--pink { background: linear-gradient(145deg, rgba(106, 20, 71, .62), rgba(21, 15, 44, .92)); border-color: rgba(239,60,152,.4); }
  .panel--violet { background: linear-gradient(145deg, rgba(45, 34, 106, .72), rgba(12,10,24,.9)); border-color: rgba(125,101,255,.38); }

  .category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
  .category-card { min-height: 12rem; padding: 1.15rem; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
  .category-card:hover { border-color: var(--fuchsia); transform: translateY(-4px); }
  .category-art { position: relative; display: block; height: 5.2rem; margin-bottom: 1.2rem; overflow: hidden; border-radius: .7rem; background: linear-gradient(135deg, #241d52, #71194d); }
  .category-art::before, .category-art::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.22); transform: rotate(24deg); }
  .category-art::before { top: .8rem; left: 1rem; width: 3.3rem; height: 3.3rem; border-radius: .55rem; box-shadow: 3.2rem -.2rem 0 -1px rgba(255,255,255,.1), 6.4rem .2rem 0 -1px rgba(255,255,255,.18); }
  .category-art::after { right: 1rem; bottom: -.75rem; width: 4.6rem; height: 4.6rem; border-color: var(--lime); border-radius: 50%; opacity: .8; }
  .category-card:nth-child(2) .category-art { background: linear-gradient(135deg, #132e37, #3b5c38); }
  .category-card:nth-child(3) .category-art { background: linear-gradient(135deg, #3d1f2f, #9a3f41); }
  .category-card:nth-child(4) .category-art { background: linear-gradient(135deg, #17213e, #234f73); }
  .category-card h3 { font-size: .92rem; letter-spacing: -.02em; }
  .category-card p { margin-top: .35rem; color: var(--muted); font-size: .72rem; }
  .card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; color: var(--fuchsia-soft); font-size: .72rem; font-weight: 800; }
  .card-link::after { content: "↗"; font-size: .9rem; }

  .evidence-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: .8rem; }
  .evidence-card { min-height: 10rem; padding: 1.25rem; }
  .evidence-card h3 { max-width: 17ch; margin-top: .65rem; font-size: 1.05rem; line-height: 1.08; }
  .evidence-card p { margin-top: .65rem; color: var(--muted); font-size: .78rem; }
  .evidence-source { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; color: var(--lime); font-size: .7rem; font-weight: 800; }
  .evidence-source::before { width: .42rem; height: .42rem; content: ""; background: currentColor; border-radius: 50%; }

  .method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .method-card { padding: clamp(1.2rem, 3vw, 2.4rem); }
  .method-card h3 { margin-top: .65rem; font-size: 1.3rem; letter-spacing: -.03em; }
  .method-card p { margin-top: .7rem; color: var(--muted); font-size: .86rem; }
  .method-list { display: grid; gap: .7rem; margin-top: 1.2rem; }
  .method-list li { display: flex; gap: .7rem; color: #d9d6e2; font-size: .8rem; }
  .method-list li::before { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .15rem; content: "✓"; color: var(--ink-950); background: var(--lime); border-radius: 50%; font-size: .7rem; font-weight: 900; line-height: 1rem; text-align: center; }
  .method-list--muted li::before { color: var(--paper); background: #3e3a56; content: "•"; }

  .page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, .62fr); align-items: end; gap: 2rem; padding-bottom: 3.4rem; border-bottom: 1px solid var(--line); }
  .page-hero p { max-width: 37rem; margin-top: 1rem; color: var(--muted); font-size: 1rem; }
  .page-hero-aside { padding: 1.2rem; }
  .page-hero-aside strong { display: block; margin-top: .45rem; font-size: 1.35rem; letter-spacing: -.04em; }
  .page-hero-aside span { display: block; margin-top: .45rem; color: var(--muted); font-size: .76rem; }

  .game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
  .game-card { position: relative; min-height: 15.5rem; padding: 1rem; overflow: hidden; }
  .game-card::before { position: absolute; right: -2rem; bottom: -3rem; width: 9rem; height: 9rem; content: ""; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 1.4rem rgba(255,255,255,.035), 0 0 0 2.8rem rgba(255,255,255,.025); }
  .game-visual { display: flex; min-height: 7rem; align-items: center; justify-content: center; color: var(--fuchsia-soft); background: linear-gradient(135deg, #261548, #602040); border-radius: .75rem; font-size: 2.4rem; font-weight: 900; letter-spacing: -.1em; }
  .game-card:nth-child(2) .game-visual { color: var(--lime); background: linear-gradient(135deg, #153735, #1c574a); }
  .game-card:nth-child(3) .game-visual { color: var(--amber); background: linear-gradient(135deg, #4d2f20, #844c35); }
  .game-card:nth-child(4) .game-visual { color: var(--cyan); background: linear-gradient(135deg, #173149, #254d6d); }
  .game-card:nth-child(5) .game-visual { color: #e59cff; background: linear-gradient(135deg, #351848, #63255e); }
  .game-card:nth-child(6) .game-visual { color: #ff9a9a; background: linear-gradient(135deg, #3a202c, #693248); }
  .game-card:nth-child(7) .game-visual { color: #b4ffc4; background: linear-gradient(135deg, #183d35, #39624d); }
  .game-card:nth-child(8) .game-visual { color: #c4b7ff; background: linear-gradient(135deg, #242348, #453e7c); }
  .game-card h3 { position: relative; margin-top: 1rem; font-size: .96rem; }
  .game-card p { position: relative; margin-top: .35rem; color: var(--muted); font-size: .72rem; }
  .game-card .card-link { position: relative; }

  .notice { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.2rem; }
  .notice-icon { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; color: var(--ink-950); background: var(--amber); border-radius: .7rem; font-weight: 900; }
  .notice h3 { font-size: 1rem; }
  .notice p { margin-top: .35rem; color: var(--muted); font-size: .8rem; }

  .responsible-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 1rem; align-items: stretch; }
  .responsible-card { padding: clamp(1.2rem, 3.5vw, 2.6rem); }
  .responsible-card h2 { max-width: 13ch; margin-top: .65rem; font-size: clamp(1.8rem, 4vw, 3.5rem); line-height: .98; letter-spacing: -.06em; }
  .responsible-card p { max-width: 38rem; margin-top: 1rem; color: var(--muted); }
  .responsible-card--hot { background: linear-gradient(135deg, rgba(239,60,152,.48), rgba(45,24,78,.8)); border-color: rgba(239,60,152,.45); }
  .help-line { display: inline-block; margin-top: 1.2rem; color: var(--paper); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 850; letter-spacing: -.05em; }
  .help-line small { display: block; margin-bottom: .2rem; color: var(--fuchsia-soft); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .source-list { display: grid; gap: .65rem; margin-top: 1.2rem; }
  .source-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem .9rem; color: #dedbe5; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: .6rem; font-size: .78rem; }
  .source-list a:hover { border-color: var(--lime); }
  .source-list a::after { color: var(--lime); content: "↗"; font-size: 1rem; }

  .site-footer { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 2rem; margin-top: 6rem; padding: 2rem 0 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
  .site-footer strong { display: block; margin-bottom: .5rem; color: var(--paper); font-size: .84rem; }
  .site-footer p { max-width: 28rem; }
  .footer-links { display: grid; gap: .35rem; align-content: start; }
  .footer-links a:hover { color: var(--fuchsia-soft); }
  .footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.06); font-size: .65rem; }

  dialog.drawer { width: min(23rem, calc(100% - 1.2rem)); max-width: none; margin: 0; padding: 1rem; color: var(--paper); background: var(--ink-900); border: 1px solid var(--line-strong); border-radius: 1rem; box-shadow: var(--shadow); }
  dialog.drawer::backdrop { background: rgba(3, 2, 9, .72); backdrop-filter: blur(4px); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .drawer-close { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; color: var(--paper); background: var(--ink-800); border: 1px solid var(--line); border-radius: .65rem; cursor: pointer; font-size: 1.4rem; }
  .drawer-nav { display: grid; gap: .45rem; padding-top: 1rem; }
  .drawer-nav a { display: flex; min-height: 2.9rem; align-items: center; padding: .7rem .8rem; color: #d8d5e0; border-radius: .6rem; }
  .drawer-nav a:hover, .drawer-nav a[aria-current="page"] { background: rgba(125,101,255,.18); }
}

@layer components {
  .breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.25rem; color: var(--muted); font-size: .75rem; }
  .breadcrumbs a { color: var(--fuchsia-soft); }
  .page-hero--full { grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr); padding-bottom: 2.5rem; }
  .hero-visual--image { min-height: 20rem; display: grid; align-content: center; gap: .8rem; }
  .hero-visual--image img { width: 100%; height: 20rem; object-fit: cover; border: 1px solid var(--line-strong); border-radius: 1.2rem; box-shadow: var(--shadow); }
  .content--article { max-width: 100rem; }
  .page-article { max-width: 66rem; margin-top: 2.4rem; padding: clamp(1.2rem, 3vw, 2.6rem); }
  .prose { max-width: 56rem; }
  .prose h2 { margin-top: 2.1rem; color: var(--paper); font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.1; letter-spacing: -.035em; }
  .prose h2:first-child { margin-top: 0; }
  .prose h3 { margin-top: 1.5rem; color: var(--paper); font-size: 1.1rem; }
  .prose p, .prose li { color: #d1ccdd; font-size: 1rem; line-height: 1.78; }
  .prose p + p { margin-top: 1rem; }
  .prose ul { display: grid; gap: .6rem; margin-top: 1rem; padding-left: 1.25rem; list-style: disc; }
  .prose a, .text-link { color: var(--fuchsia-soft); text-decoration: underline; text-decoration-color: rgba(255,143,200,.45); text-underline-offset: .2em; }
  .prose a:hover, .text-link:hover { color: var(--lime); }
  .media-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 2.4rem; }
  .media-tile { min-width: 0; padding: .55rem; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: .9rem; }
  .media-tile img { display: block; width: 100%; height: 11rem; object-fit: cover; border-radius: .6rem; }
  .media-tile figcaption { margin-top: .55rem; color: var(--muted); font-size: .7rem; }
  .slot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.8rem, 1fr)); gap: 1rem; }
  .slot-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: clip; background: linear-gradient(160deg, rgba(125,101,255,.13), rgba(255,255,255,.035)); border: 1px solid var(--line); border-radius: 1rem; }
  .slot-card-media { aspect-ratio: 1 / 1; background: var(--ink-800); }
  .slot-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .slot-card-copy { display: grid; align-content: start; gap: .55rem; padding: 1rem; }
  .slot-card-copy h3 { font-size: 1rem; line-height: 1.15; }
  .slot-card-copy p:not(.eyebrow) { color: var(--muted); font-size: .8rem; }
  .slot-card-copy .text-link { margin-top: auto; font-size: .78rem; }
  .author-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; max-width: 66rem; margin-top: 2.4rem; padding: 1.2rem; background: rgba(125,101,255,.1); border: 1px solid rgba(125,101,255,.28); border-radius: 1rem; }
  .author-mark { display: grid; width: 3.4rem; height: 3.4rem; place-items: center; color: var(--paper); background: linear-gradient(145deg, var(--fuchsia), var(--violet)); border-radius: .85rem; font-weight: 900; font-size: 1.4rem; }
  .author-card h2 { margin-top: .25rem; font-size: 1.1rem; }
  .author-card p:not(.eyebrow):not(.muted) { max-width: 48rem; margin-top: .45rem; color: #d1ccdd; font-size: .86rem; }
  .author-card .muted { margin-top: .5rem; font-size: .72rem; }
  .source-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; margin-top: 3rem; padding: 1.4rem; background: linear-gradient(120deg, rgba(239,60,152,.14), rgba(125,101,255,.11)); border: 1px solid rgba(239,60,152,.25); border-radius: 1rem; }
  .source-strip h2 { max-width: 24ch; margin-top: .35rem; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.05; }
  .source-strip-links { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: flex-end; }
  .source-strip-links a { padding: .65rem .8rem; color: var(--paper); background: rgba(8,7,15,.35); border: 1px solid var(--line); border-radius: .6rem; font-size: .76rem; }
  .source-strip-links a:hover { border-color: var(--fuchsia-soft); }
  @media (max-width: 760px) {
    .page-hero--full { grid-template-columns: 1fr; }
    .hero-visual--image { min-height: auto; }
    .hero-visual--image img { height: 13rem; }
    .media-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .source-strip { grid-template-columns: 1fr; }
    .source-strip-links { justify-content: flex-start; }
  }

  @media (max-width: 420px) {
    .media-gallery { gap: .55rem; }
    .media-tile { padding: .4rem; }
    .media-tile img { height: 8rem; }
    .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .slot-card-copy { padding: .7rem; }
    .slot-card-copy h3 { font-size: .86rem; }
    .slot-card-copy p:not(.eyebrow), .slot-card-copy .text-link { font-size: .7rem; }
    .author-card { grid-template-columns: 1fr; }
  }
}

@layer utilities {
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .stack-sm > * + * { margin-top: .7rem; }
  .stack-md > * + * { margin-top: 1.2rem; }
}

@media (max-width: 960px) {
  .site-shell { grid-template-columns: 5.2rem minmax(0, 1fr); }
  .rail { align-items: center; padding-inline: .65rem; }
  .brand-lockup { padding-bottom: 2.2rem; }
  .brand-lockup > div:last-child, .rail-label, .rail-nav a { font-size: 0; }
  .brand-lockup > div:last-child, .rail-note, .rail-nav a { display: none; }
  .rail-nav { width: 100%; }
  .rail-nav a { display: grid; width: 100%; height: 2.8rem; place-items: center; padding: 0; }
  .rail-nav a::before { width: .55rem; height: .55rem; font-size: 0; }
  .hero { gap: 2rem; }
  .category-grid, .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  html { scroll-behavior: auto; }
  .site-shell { display: block; }
  .rail { display: none; }
  .topbar { min-height: 4rem; padding-inline: 1rem; }
  .topbar-links { display: none; }
  .menu-button { display: inline-flex; }
  .content { padding: 2rem 1rem 1rem; }
  .hero, .page-hero, .responsible-grid, .method-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; gap: 1rem; }
  .hero-visual { min-height: 23rem; margin-top: 1rem; }
  .orbit { inset: 9% 4%; }
  .orbit-core { width: 8rem; height: 8rem; }
  .orbit-core span { font-size: 3.4rem; }
  .orbital-label { min-width: 4.3rem; min-height: 4.3rem; padding: .45rem; font-size: .63rem; }
  .orbital-label small { font-size: .49rem; }
  .visual-caption { right: .5rem; max-width: 12rem; }
  .page-hero { gap: 1.4rem; padding-bottom: 2.2rem; }
  .section-head { display: block; }
  .section-head p { margin-top: .7rem; }
  .category-grid, .evidence-grid, .game-grid { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .category-card { min-height: 11rem; padding: .75rem; }
  .category-art { height: 4.6rem; margin-bottom: .75rem; }
  .category-card h3 { font-size: .78rem; }
  .category-card p { font-size: .67rem; }
  .category-card .card-link { margin-top: .6rem; font-size: .65rem; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card { min-height: auto; padding: 1rem; }
  .game-card { min-height: 13.5rem; padding: .7rem; }
  .game-visual { min-height: 6rem; font-size: 2rem; }
  .game-card h3 { margin-top: .7rem; font-size: .82rem; }
  .game-card p { font-size: .67rem; }
  .responsible-card h2 { max-width: 15ch; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; margin-top: 4rem; }
  .site-footer > :first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom > * + * { margin-top: .4rem; }
  dialog.drawer { position: fixed; top: .6rem; right: .6rem; bottom: .6rem; left: .6rem; transform: translateX(110%); transition: transform .22s ease; }
  dialog.drawer[open] { transform: translateX(0); }
}

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