
  :root {
    --bg: #15120c;
    --bg-2: #1b1610;
    --panel: #211b14;
    --panel-2: #261f17;
    --line: rgba(237, 230, 214, 0.11);
    --line-strong: rgba(237, 230, 214, 0.22);
    --ink: #ece4d2;
    --ink-dim: #a99d85;
    --ink-faint: #6f6553;
    --amber: #e0973a;
    --rose: #cd6a52;
    --sage: #94a87f;
    --teal: #55a39d;
    --steel: #7f93a6;
    --accent: var(--amber);
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --topbar-height: 56px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-height: 100vh;
  }

  /* Atmospheric layered background */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
      radial-gradient(120% 90% at 88% -10%, rgba(224, 151, 58, 0.10), transparent 55%),
      radial-gradient(90% 80% at -10% 110%, rgba(148, 168, 127, 0.07), transparent 50%),
      linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  }

  /* Fixed grain overlay */
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .mono {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .wrap {
    width: min(1180px, 92vw);
    margin: 0 auto;
  }

  /* ---------- Top bar ---------- */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(21, 18, 12, 0.96), rgba(21, 18, 12, 0.78));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
  }
  .brand {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ink);
  }
  .brand .sig {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
  }
  .brand .sig em { font-style: italic; color: var(--amber); }
  .brand .tag { color: var(--ink-faint); }
  .topbar .status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-dim);
  }
  .blip {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 0 rgba(148, 168, 127, 0.6);
    animation: pulse 2.6s infinite;
  }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(148, 168, 127, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(148, 168, 127, 0); }
    100% { box-shadow: 0 0 0 0 rgba(148, 168, 127, 0); }
  }

  /* ---------- Hero ---------- */
  .hero {
    padding: clamp(1rem, 3.5vw, 2rem) 0 clamp(2rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: end;
  }
  .hero .eyebrow {
    color: var(--amber);
    margin-bottom: 1.4rem;
    display: inline-block;
  }
  .hero h1 {
    font-family: "Fraunces", serif;
    font-weight: 350;
    font-size: clamp(2.6rem, 7.2vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
  }
  .hero h1 em {
    font-style: italic;
    font-weight: 500;
    color: var(--amber);
  }
  .hero p.lede {
    margin-top: 1.6rem;
    max-width: 42ch;
    color: var(--ink-dim);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
  }
  .hero-meta {
    border-left: 1px solid var(--line-strong);
    padding-left: clamp(1rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .hero-meta .row { display: flex; flex-direction: column; gap: 0.25rem; }
  .hero-meta .row .k { color: var(--ink-faint); }
  .hero-meta .row .v { color: var(--ink); font-size: 0.98rem; }
  .hero-meta .row .v a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: border-color .25s; }
  .hero-meta .row .v a:hover { border-color: var(--amber); }

  /* staggered entrance */
  .reveal { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  /* ---------- Tabs ---------- */
  .deck {
    position: sticky;
    top: var(--topbar-height);
    z-index: 90;
    background: linear-gradient(180deg, rgba(21, 18, 12, 0.97), rgba(21, 18, 12, 0.9));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .tablist {
    display: flex;
    gap: clamp(0.4rem, 2vw, 1.6rem);
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tablist::-webkit-scrollbar { display: none; }
  .tab {
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-faint);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1.15rem 0.2rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: color 0.3s var(--ease);
    position: relative;
  }
  .tab .idx { font-size: 0.62rem; opacity: 0.6; }
  .tab:hover { color: var(--ink-dim); }
  .tab[aria-selected="true"] { color: var(--ink); }
  .tab .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--c); opacity: 0.35;
    transition: opacity 0.3s, transform 0.3s;
  }
  .tab[aria-selected="true"] .dot { opacity: 1; transform: scale(1.3); }
  .ink-bar {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transition: left 0.45s var(--ease), width 0.45s var(--ease), background 0.45s;
    border-radius: 2px 2px 0 0;
  }

  /* ---------- Panels ---------- */
  main { padding: clamp(2.5rem, 6vw, 4.5rem) 0 5rem; }
  .panel { display: none; }
  .panel.active { display: block; animation: panelIn 0.6s var(--ease); }
  @keyframes panelIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  .panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
  }
  .panel-head h2 {
    font-family: "Fraunces", serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .panel-head h2 .num {
    color: var(--accent);
    font-size: 0.5em;
    vertical-align: super;
    font-family: "JetBrains Mono", monospace;
    margin-right: 0.4rem;
  }
  .panel-head .blurb { color: var(--ink-dim); max-width: 38ch; font-size: 0.95rem; }

  /* card stagger on panel show */
  .panel.active .stagger > * {
    opacity: 0;
    animation: rise 0.7s var(--ease) forwards;
  }
  .panel.active .stagger > *:nth-child(1) { animation-delay: 0.04s; }
  .panel.active .stagger > *:nth-child(2) { animation-delay: 0.10s; }
  .panel.active .stagger > *:nth-child(3) { animation-delay: 0.16s; }
  .panel.active .stagger > *:nth-child(4) { animation-delay: 0.22s; }
  .panel.active .stagger > *:nth-child(5) { animation-delay: 0.28s; }
  .panel.active .stagger > *:nth-child(6) { animation-delay: 0.34s; }

  /* ---------- Game grid (asymmetric) ---------- */
  .game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
  .game {
    --status-accent: var(--accent);
    background: linear-gradient(160deg, var(--panel), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.5rem 1.5rem 1.35rem;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  }
  .game::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--status-accent);
    opacity: 0.95;
  }
  .game::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 100% at 100% 0, color-mix(in srgb, var(--status-accent) 16%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity 0.45s;
  }
  .game:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
  }
  .game:hover::after { opacity: 1; }
  .game.lg,
  .game.sm,
  .game.md { grid-column: span 1; }
  .game.published { --status-accent: var(--sage); }
  .game.upcoming { --status-accent: var(--teal); }
  .game.unlaunched { --status-accent: var(--rose); }
  .game.published,
  .game.upcoming,
  .game.unlaunched {
    border-color: color-mix(in srgb, var(--status-accent) 35%, var(--line));
  }
  .game .yr { color: var(--status-accent); }
  .game.published .status-tag,
  .game.upcoming .status-tag,
  .game.unlaunched .status-tag {
    color: var(--status-accent);
  }
  .game h3 {
    font-family: "Fraunces", serif;
    font-weight: 450;
    font-size: 1.55rem;
    margin: 0.7rem 0 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.05;
  }
  .game.lg h3 { font-size: 2.1rem; }
  .game .desc { color: var(--ink-dim); font-size: 0.92rem; flex: 1; }
  .game .foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.2rem;
    align-items: center;
  }
  .chip {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-dim);
    border: 1px solid var(--line);
    border-radius: 40px;
    padding: 0.25rem 0.6rem;
  }
  .status-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    color: var(--ink-dim);
  }
  .status-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  .status-tag.live { color: var(--sage); }
  .status-tag.dev { color: #7a4a12; }
  .status-tag.proto { color: var(--steel); }
  .modal-card { cursor: pointer; }
  .modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(6, 5, 4, 0.82);
    backdrop-filter: blur(10px);
  }
  .modal-backdrop.open { display: flex; }
  body.modal-open { overflow: hidden; }
  .modal-panel {
    width: min(860px, 92vw);
    max-height: 90vh;
    overflow: auto;
    background: linear-gradient(180deg, var(--panel), var(--bg-2));
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: var(--shadow);
    position: relative;
  }
  .modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    color: var(--ink);
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.1rem;
  }
  .modal-kicker {
    color: var(--accent);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
  }
  .modal-panel h3 {
    font-family: "Fraunces", serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 0.7rem;
  }
  .modal-panel p { color: var(--ink-dim); }
  .modal-media {
    margin-top: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--panel-2);
  }
  .modal-media iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
  }
  .modal-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .modal-media-embed {
    margin-top: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--panel-2);
  }
  .modal-media-embed iframe {
    width: 100%;
    min-height: 220px;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
  }
  .modal-media iframe.article-frame,
  .modal-media-embed iframe.article-frame {
    min-height: 62vh;
  }
  .modal-media.video {
    aspect-ratio: 16 / 9;
  }
  .modal-actions { margin-top: 1.2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
  .modal-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--ink);
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .modal-actions .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink);
    background: color-mix(in srgb, var(--sage) 18%, transparent);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .chroma-signup {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.95rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--panel-2) 92%, transparent);
  }
  .chroma-signup fieldset {
    border: 0;
    padding: 0;
    margin: 0;
  }
  .chroma-signup legend {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 0.45rem;
  }
  .chroma-signup .form-control {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    color: var(--ink);
    padding: 0.62rem 0.72rem;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 0.95rem;
    outline: none;
  }
  .chroma-signup .form-control:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--sage) 25%, transparent);
  }
  .chroma-signup .form-submit {
    margin-top: 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--ink);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.62rem 0.95rem;
    cursor: pointer;
  }
  .chroma-signup .form-note {
    margin-top: 0.65rem;
    font-size: 0.8rem;
    color: var(--ink-faint);
  }
  .chroma-signup .form-status {
    margin-top: 0.45rem;
    color: var(--sage);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    min-height: 1.1em;
  }
  .modal-actions .action-text {
    display: inline-flex;
    align-items: center;
    color: var(--ink-dim);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* ---------- Music: console list ---------- */
  .tracks {
    border-top: 1px solid var(--line);
  }
  .track {
    display: grid;
    grid-template-columns: 2.2rem 1fr auto auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.05rem 0.5rem;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: background 0.3s, padding 0.3s var(--ease);
    position: relative;
  }
  .track:hover { background: var(--panel); padding-left: 1.1rem; }
  .track .n { font-family: "JetBrains Mono", monospace; color: var(--ink-faint); font-size: 0.78rem; }
  .track:hover .n { color: var(--accent); }
  .track .ttl { display: flex; flex-direction: column; gap: 0.15rem; }
  .track .ttl strong { font-family: "Fraunces", serif; font-weight: 450; font-size: 1.22rem; letter-spacing: -0.01em; }
  .track .ttl span { color: var(--ink-faint); font-size: 0.82rem; }
  .wave { display: flex; align-items: center; gap: 2px; height: 26px; opacity: 0.5; transition: opacity 0.3s; }
  .track:hover .wave { opacity: 1; }
  .wave i {
    width: 2px; background: var(--accent); border-radius: 2px;
    height: 30%;
  }
  .track:hover .wave i { animation: vu 1.1s var(--ease) infinite alternate; }
  @keyframes vu { to { height: 100%; } }
  .track .dur { font-family: "JetBrains Mono", monospace; color: var(--ink-dim); font-size: 0.82rem; }
  .release-row {
    display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem;
  }
  .release {
    flex: 1 1 220px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.3rem;
  }
  .release .cover {
    height: 120px; border-radius: 8px; margin-bottom: 1rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, #000), var(--bg-2));
    position: relative; overflow: hidden;
  }
  .release .cover svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; }
  .release h4 { font-family: "Fraunces", serif; font-weight: 500; font-size: 1.2rem; }
  .release .meta { color: var(--ink-faint); margin-top: 0.2rem; }

  /* ---------- Experiments ---------- */
  .exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
  .exp {
    background: linear-gradient(160deg, var(--panel), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.5rem 1.5rem 1.35rem;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  }
  .exp::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 100% at 100% 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity 0.45s;
  }
  .exp:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
  }
  .exp:hover::after { opacity: 1; }
  .exp h3 {
    font-family: "Fraunces", serif;
    font-weight: 450;
    font-size: 1.55rem;
    margin: 0.7rem 0 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.05;
  }
  .exp .desc { color: var(--ink-dim); font-size: 0.92rem; flex: 1; }
  .exp .tags { margin-top: 1.2rem; display: flex; gap: 0.45rem; flex-wrap: wrap; }

  /* ---------- Work history timeline ---------- */
  .timeline { position: relative; padding-left: 1.5rem; }
  .timeline::before {
    content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px;
    width: 1px; background: linear-gradient(var(--line-strong), var(--line), transparent);
  }
  .job {
    position: relative;
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 1.5rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--line);
  }
  .job:last-child { border-bottom: none; }
  .job::before {
    content: ""; position: absolute; left: -1.5rem; top: 1.95rem;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--bg); border: 1.5px solid var(--accent);
    transform: translateX(-0.5px);
    transition: background 0.3s, box-shadow 0.3s;
  }
  .job:hover::before { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
  .job .when { font-family: "JetBrains Mono", monospace; font-size: 0.74rem; color: var(--ink-dim); letter-spacing: 0.04em; padding-top: 0.2rem; }
  .job .when .now { color: var(--sage); }
  .job h3 { font-family: "Fraunces", serif; font-weight: 450; font-size: 1.4rem; letter-spacing: -0.01em; }
  .job .org { color: var(--accent); font-size: 0.9rem; margin: 0.15rem 0 0.6rem; font-family: "JetBrains Mono", monospace; letter-spacing: 0.03em; }
  .job .role-desc { color: var(--ink-dim); font-size: 0.95rem; max-width: 56ch; }

  /* ---------- Footer ---------- */
  footer {
    border-top: 1px solid var(--line);
    padding: 3rem 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: var(--ink-faint);
  }
  footer .links { display: flex; gap: 1.4rem; }
  footer a { color: var(--ink-dim); text-decoration: none; transition: color 0.25s; font-family: "JetBrains Mono", monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
  footer a:hover { color: var(--amber); }

  /* ---------- Responsive ---------- */
  @media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-meta { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.6rem; flex-direction: row; flex-wrap: wrap; gap: 1.6rem; }
    .hero-meta .row { min-width: 40%; }
    .game.lg, .game.sm, .game.md { grid-column: span 1; }
    .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .job { grid-template-columns: 1fr; gap: 0.4rem; }
    .deck { top: var(--topbar-height); }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
    .reveal, .panel.active .stagger > * { opacity: 1; transform: none; }
  }
