/* TimFOTF.com -- black and purple, editorial scale. Purple comes from the Discord banner (#8a00d4). */
:root {
  --bg: #050309;
  --surface: #0c0713;
  --surface-2: #140b21;
  --line: #2a1b45;
  --line-soft: #1a1030;
  --purple: #8a00d4;
  --purple-hi: #a63df0;
  --purple-lo: #c58bff;
  --glow: #6d00b0;
  --text: #f6f1ff;
  --dim: #a99fc4;
  --mute: #8c82ad;
  --display: 'Bricolage Grotesque', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::after { /* fine grain over everything */
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--purple-lo); outline-offset: 4px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 10px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip:focus { left: 10px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* ---------- header (floating pill) ---------- */
.head { position: fixed; top: 16px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.pill-nav { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgba(12, 7, 19, .6); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(166, 61, 240, .22);
  box-shadow: 0 10px 40px #0009, inset 0 1px 0 #ffffff10; transition: border-color .3s, background .3s; }
.head.scrolled .pill-nav { background: rgba(8, 4, 14, .82); border-color: rgba(166, 61, 240, .4); }
.pill-nav .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; padding-right: 10px; }
.pill-nav .logo img { width: 28px; height: 28px; }
.pill-nav a.l { font-size: 14px; font-weight: 500; color: var(--dim); text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.pill-nav a.l:hover { color: #fff; background: #ffffff10; }
.pill-nav .live { font-size: 14px; font-weight: 700; text-decoration: none; padding: 9px 18px; border-radius: 999px; background: linear-gradient(180deg, var(--purple-hi), var(--purple)); color: #fff; box-shadow: 0 0 24px #8a00d466; transition: box-shadow .25s, transform .25s var(--ease); }
.pill-nav .live:hover { box-shadow: 0 0 36px #a63df0aa; transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 120px 0 0; isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -3; filter: blur(60px); opacity: .9;
  background:
    radial-gradient(40% 50% at 70% 30%, #8a00d4aa, transparent 70%),
    radial-gradient(35% 45% at 20% 75%, #4b0082aa, transparent 70%),
    radial-gradient(30% 30% at 55% 95%, #6d00b055, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08) rotate(2deg); } }
.spot { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 40%), #a63df026, transparent 60%); }
.lines { position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 88px 88px; mask-image: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 78%); -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 78%); }
.hero-inner { text-align: center; position: relative; }
.mark { width: 112px; height: 112px; margin: 0 auto 26px; filter: drop-shadow(0 0 28px #a63df0aa) drop-shadow(0 0 70px #8a00d488); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #ffffff06; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-hi); box-shadow: 0 0 12px var(--purple-hi); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.mega { margin: 26px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(76px, 20.5vw, 330px); line-height: .82; letter-spacing: -.055em; }
.mega .a { background: linear-gradient(180deg, #fff 10%, #d9b8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega .b { background: linear-gradient(180deg, var(--purple-lo) 0%, var(--purple) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px #8a00d466); }
.sub { max-width: 46ch; margin: 30px auto 0; font-size: clamp(17px, 2vw, 21px); color: var(--dim); }
.sub b { color: var(--text); font-weight: 600; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.btn { --h: 54px; display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn.solid { background: #fff; color: #0a0412; box-shadow: 0 0 0 0 #fff0; }
.btn.solid:hover { transform: translateY(-2px); box-shadow: 0 12px 40px #a63df088; }
.btn.ghost { border: 1px solid #a63df066; color: var(--text); background: #8a00d41a; }
.btn.ghost:hover { transform: translateY(-2px); background: #8a00d440; border-color: var(--purple-lo); }
.scrollcue { margin-top: clamp(40px, 7vh, 80px); display: flex; justify-content: center; }
.scrollcue span { width: 1px; height: 54px; background: linear-gradient(180deg, var(--purple-lo), transparent); animation: cue 2.2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* marquee */
.marquee { margin-top: 28px; border-block: 1px solid var(--line-soft); background: #05030980; overflow: hidden; padding: 18px 0; }
.marquee .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 52px); letter-spacing: -.02em; white-space: nowrap; padding-right: .6em; color: transparent; -webkit-text-stroke: 1px #a63df0aa; }
.marquee span.f { color: var(--text); -webkit-text-stroke: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head h2 { margin: 12px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 8vw, 112px); line-height: .9; letter-spacing: -.045em; }
.sec-head h2 em { font-style: normal; background: linear-gradient(180deg, var(--purple-lo), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { max-width: 36ch; color: var(--dim); margin: 0; }

/* bento links */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 280px 280px; gap: 16px; }
.tile { --x: 50%; --y: 50%; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 28px; text-decoration: none; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--x) var(--y), #a63df044, transparent 60%); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--x) var(--y), #c58bff, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tile:hover { transform: translateY(-4px); border-color: transparent; }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile.twitch { grid-column: 1 / 4; grid-row: 1 / 3; background: radial-gradient(90% 70% at 20% 0%, #8a00d4 0%, #3a0066 45%, var(--surface) 100%); border-color: #a63df055; }
.tile.yt { grid-column: 4 / 7; }
.tile.steam { grid-column: 4 / 7; }
.t-top { display: flex; justify-content: space-between; align-items: start; }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #ffffff0f; border: 1px solid #ffffff1a; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff2a; display: grid; place-items: center; transition: background .3s, transform .4s var(--ease), border-color .3s; }
.go svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .go { background: #fff; transform: rotate(45deg); border-color: #fff; }
.tile:hover .go svg { stroke: #0a0412; }
.t-name { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.2vw, 76px); line-height: .9; letter-spacing: -.04em; margin: 0; }
.tile.twitch .t-name { font-size: clamp(64px, 9vw, 140px); }
.t-meta { display: block; margin-top: 10px; color: var(--dim); font-size: 15px; }
.tile.twitch .t-meta { color: #e6d2ff; font-size: 17px; max-width: 30ch; }
.handle { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-lo); margin-top: 12px; display: block; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.live-dot i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; animation: pulse 1.8s infinite; }

/* game */
.game { background: radial-gradient(60% 60% at 80% 50%, #8a00d41f, transparent 70%); }
.game-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.stage { perspective: 1400px; height: clamp(380px, 52vw, 600px); position: relative; display: grid; place-items: center; }
.deck { position: relative; width: min(100%, 520px); height: 100%; transform-style: preserve-3d; transition: transform .25s ease-out; }
.deck .c { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background: #000;
  box-shadow: 0 30px 70px #000d, 0 0 0 1px #ffffff14, 0 0 60px #8a00d433; }
.deck .c img { width: 100%; height: 100%; object-fit: cover; }
.deck .c1 { transform: translate(-125%, -50%) translateZ(-60px) rotate(-9deg); }
.deck .c2 { transform: translate(-50%, -54%) translateZ(40px); z-index: 2; }
.deck .c3 { transform: translate(25%, -50%) translateZ(-60px) rotate(9deg); }
.glowpad { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(#8a00d455, transparent 65%); filter: blur(30px); z-index: -1; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 34px 0; padding-block: 22px; border-block: 1px solid var(--line); }
.stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, var(--purple-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.game p.lead { color: var(--dim); max-width: 46ch; margin: 22px 0 0; font-size: 19px; }
.feat { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.feat li { display: flex; gap: 14px; color: var(--dim); }
.feat li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .62em; border-radius: 2px; background: var(--purple-hi); box-shadow: 0 0 12px var(--purple-hi); transform: rotate(45deg); }
.feat b { color: var(--text); font-weight: 600; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.statement .hl { color: var(--purple-lo); }
.about-sub { margin: 28px 0 0; color: var(--dim); max-width: 52ch; }
.about-sub a { color: var(--purple-lo); text-underline-offset: 4px; }
.facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts b { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); align-self: center; }
.facts span { font-weight: 600; text-align: right; }

/* footer */
.foot { border-top: 1px solid var(--line-soft); padding: 64px 0 40px; overflow: hidden; position: relative; }
.foot .giant { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 24vw, 380px); line-height: .8; letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px #a63df066; margin: 0 0 40px; user-select: none; }
.foot .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--dim); text-decoration: none; font-size: 15px; transition: color .2s; }
.foot nav a:hover { color: #fff; }
.fine { margin: 28px 0 0; font-size: 13px; color: var(--mute); max-width: 90ch; }
.fine a { color: var(--dim); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .tile.twitch, .tile.yt, .tile.steam { grid-column: 1; grid-row: auto; min-height: 240px; }
  .tile.twitch { min-height: 380px; }
  .game-grid, .about-grid { grid-template-columns: 1fr; }
  .pill-nav a.l { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- about page ---------- */
.a-hero { position: relative; overflow: hidden; padding: 140px 0 70px; isolation: isolate; }
.a-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.a-mega { margin: 18px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 8.6vw, 128px); line-height: .88; letter-spacing: -.05em; }
.a-mega .a { display: block; background: linear-gradient(180deg, #fff 10%, #d9b8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-mega .b { display: block; background: linear-gradient(180deg, var(--purple-lo), var(--purple) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-portrait { margin: 0; position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 1 / 1.05; border: 1px solid #a63df055; box-shadow: 0 40px 100px #000c, 0 0 90px #8a00d44d; }
.a-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.a-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #050309cc), radial-gradient(80% 60% at 100% 0%, #8a00d433, transparent 70%); pointer-events: none; }
.a-portrait figcaption, .shot figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 2; color: #fff; text-shadow: 0 2px 12px #000; }
.about-page .marquee { margin-top: 0; }

.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
.shot { margin: 0; position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(1.05); }
.shot:hover img { transform: scale(1.04); filter: saturate(1.25); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, #050309d9); pointer-events: none; }
.shot { aspect-ratio: 1 / 1; }
.shot.tall { aspect-ratio: 4 / 5; margin-top: 56px; }
.a-days { padding-top: 40px; }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chip { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 22px; border-radius: 22px; text-decoration: none; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, background .3s; }
.chip span { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1; }
.chip small { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-lo); }
.chip:hover { transform: translateY(-4px); border-color: var(--purple-hi); background: linear-gradient(160deg, #2a0f4d, var(--surface)); }

@media (max-width: 900px) {
  .a-hero { padding-top: 110px; }
  .a-hero-grid, .duo { grid-template-columns: 1fr; }
  .a-portrait { order: -1; aspect-ratio: 1 / 1; }
  .shot.tall { margin-top: 0; }
  .chips { grid-template-columns: 1fr 1fr; }
}

/* ---------- mobile menu ---------- */
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff22; background: #ffffff0d; cursor: pointer; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 55; background: rgba(5, 3, 9, .97); backdrop-filter: blur(20px); padding: 110px 28px 40px; overflow-y: auto; opacity: 0; transition: opacity .3s; }
.sheet[hidden] { display: none; }
.menu-open .sheet { opacity: 1; }
.sheet nav { display: grid; gap: 4px; max-width: 520px; margin: 0 auto; }
.sheet a { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 11vw, 56px); letter-spacing: -.04em; line-height: 1.1; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.sheet a:nth-child(n+5) { font-size: clamp(22px, 7vw, 30px); color: var(--dim); font-weight: 700; }
.sheet a:active { color: var(--purple-lo); }
.menu-open, .noscroll { overflow: hidden; }
.pill-nav a[aria-current="page"] { color: #fff; }

/* ---------- reel (homepage photo strip) ---------- */
.reel-sec { padding-bottom: clamp(60px, 9vw, 120px); overflow: hidden; }
.reel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reel-track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; padding-block: 6px; }
.reel-track .dup { display: contents; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel img { height: clamp(220px, 32vw, 400px); width: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); flex: none; }

/* ---------- photo grids / lightbox ---------- */
.ph { position: relative; display: block; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: #000; text-decoration: none; cursor: zoom-in; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.ph:hover img, .ph:focus-visible img { transform: scale(1.04); filter: saturate(1.2); }
.masonry { column-count: 3; column-gap: 16px; }
.masonry .ph { break-inside: avoid; margin: 0 0 16px; }
.masonry .ph img { height: auto; }
.druid { padding-top: 0; }
.druid-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.druid-main { aspect-ratio: 1; }
.druid-card { max-width: 260px; aspect-ratio: 1; margin-top: 26px; border-radius: 20px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.thumbs .vid { aspect-ratio: 16 / 10; cursor: pointer; }
.thumbs .vid span { position: absolute; left: 12px; bottom: 10px; z-index: 2; color: #fff; text-shadow: 0 1px 10px #000; }
.thumbs .vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #050309d9); pointer-events: none; }
.brandgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.brandgrid .sq { aspect-ratio: 1; }
.brandgrid .logo-tile { display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 50%, #8a00d455, #0c0713); }
.brandgrid .logo-tile img { width: 55%; height: auto; filter: drop-shadow(0 0 30px #a63df0aa); }
.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(3, 1, 7, .94); backdrop-filter: blur(8px); padding: 56px 12px 64px; opacity: 0; transition: opacity .25s; }
.lb[hidden] { display: none; }
.lb.on { opacity: 1; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 100px #000; }
.lb .cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #ffffff2a; background: #ffffff10; color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lb .x { top: 12px; right: 12px; } .lb .pv { left: 10px; top: 50%; } .lb .nx { right: 10px; top: 50%; }

/* ---------- global mobile pass ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .head { top: 10px; padding-inline: 12px; }
  .pill-nav { width: 100%; max-width: 560px; justify-content: space-between; }
  .pill-nav .l { display: none !important; }
  .pill-nav .live { margin-left: auto; margin-right: 6px; }
  .menu-btn { display: block; }
  .wrap { width: calc(100% - 36px); }
  section { padding: 64px 0; }
  .hero { padding-top: 96px; }
  .mark { width: 88px; height: 88px; margin-bottom: 18px; }
  .tag { font-size: 11px; padding: 6px 12px; }
  .cta { flex-direction: column; align-items: stretch; padding-inline: 4px; }
  .cta .btn { justify-content: center; height: 56px; }
  .scrollcue { display: none; }
  .hero { padding-bottom: 0; }
  .sec-head h2 { font-size: clamp(40px, 12.5vw, 76px); }
  .tile { padding: 22px; border-radius: 24px; }
  .tile.twitch { min-height: 360px; }
  .tile.yt, .tile.steam { min-height: 220px; }
  .stage { height: 360px; margin-bottom: 10px; }
  .deck .c { width: 50%; }
  .stats { gap: 12px; }
  .btn { height: 54px; }
  .game .btn { width: 100%; justify-content: center; }
  .druid-grid { grid-template-columns: 1fr; }
  .druid-card { max-width: 200px; }
  .masonry { column-count: 2; column-gap: 10px; }
  .masonry .ph { margin-bottom: 10px; border-radius: 18px; }
  .thumbs, .brandgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .chips { grid-template-columns: 1fr 1fr; }
  .reel img { border-radius: 16px; }
  .foot .giant { font-size: clamp(64px, 25vw, 200px); }
  .foot .row { flex-direction: column; align-items: flex-start; }
  .lb .pv, .lb .nx { top: auto; bottom: 8px; }
  .lb .cap { bottom: 74px; }
}
@media (max-width: 420px) {
  .facts li { flex-direction: column; gap: 4px; align-items: flex-start; }
  .facts span { text-align: left; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stats b { font-size: 30px; }
  .thumbs { grid-template-columns: 1fr; }
  .a-mega { font-size: clamp(44px, 14vw, 64px); }
}
.game { overflow-x: clip; }
@media (max-width: 900px) {
  .deck .c1 { transform: translate(-108%, -50%) translateZ(-60px) rotate(-9deg); }
  .deck .c3 { transform: translate(8%, -50%) translateZ(-60px) rotate(9deg); }
  .deck { width: 100%; }
}
@media (max-width: 900px) { .foot .giant { font-size: 19.5vw; letter-spacing: -.05em; } }
@media (max-width: 420px) { .facts b { align-self: flex-start; } }

/* ---------- merch & partners ---------- */
.tile.hot { grid-column: 1 / 4; grid-row: 1 / 3; background: radial-gradient(90% 70% at 20% 0%, #8a00d4 0%, #3a0066 45%, var(--surface) 100%); border-color: #a63df055; }
.tile.hot .t-name { font-size: clamp(64px, 9vw, 140px); }
.tile.hot .t-meta { color: #e6d2ff; font-size: 17px; max-width: 30ch; }
.tile.p1, .tile.p2 { grid-column: 4 / 7; }
.tile .badge { align-self: flex-start; display: inline-block; top: 0; margin: 0; background: #ffffff14; border: 1px solid #ffffff2a; color: var(--purple-lo); }
.merch-art { position: absolute; right: 26px; top: 96px; display: flex; gap: 14px; z-index: -1; transform: rotate(6deg); }
.merch-art img { width: clamp(110px, 14vw, 190px); aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 1px solid #ffffff22; box-shadow: 0 20px 50px #000a; }
.merch-art img:nth-child(2) { margin-top: 36px; transform: rotate(-8deg); }
.tile.hot:hover .merch-art { transform: rotate(3deg) translateY(-4px); }
.merch-art { transition: transform .6s var(--ease); }
@media (max-width: 900px) {
  .tile.hot, .tile.p1, .tile.p2 { grid-column: 1; grid-row: auto; }
  .tile.hot { min-height: 380px; }
  .tile.p1, .tile.p2 { min-height: 220px; }
  .merch-art { top: 84px; right: 14px; gap: 10px; }
  .merch-art img { width: 96px; border-radius: 16px; }
}
.tile .badge { position: static; margin: 0 auto 0 12px; align-self: center; padding: 5px 11px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; background: #ffffff10; border: 1px solid #ffffff26; color: var(--purple-lo); }
.tile.p1 .t-name, .tile.p2 .t-name { font-size: clamp(34px, 4vw, 58px); }
.merch-art { top: 80px; right: 24px; }
.merch-art img { width: clamp(96px, 11vw, 150px); }
.merch-art img:nth-child(2) { margin-top: 28px; }
@media (max-width: 900px) {
  .merch-art { top: 78px; right: 12px; }
  .merch-art img { width: 84px; }
  .merch-art img:nth-child(2) { margin-top: 20px; }
  .tile.p1 .t-name, .tile.p2 .t-name { font-size: 40px; }
}
.merch-art { align-items: flex-start; } .merch-art img { height: auto; }

/* ---- Partner art and code chips ---- */
.tile .p-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .1; z-index: -1; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.tile:hover .p-art { opacity: .22; transform: scale(1.04); }
.code-chip { display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: #8a00d433; border: 1px solid #a63df088; color: var(--text); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.code-chip b { color: var(--purple-lo); }

/* ---- Stream schedule ---- */
#schedule { padding-block: clamp(56px, 9vw, 120px); }
.sch { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.sch-next, .sch-week { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); }
.sch-when { margin: 14px 0 22px; font-family: var(--display, inherit); font-weight: 700; font-size: clamp(24px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.1; }
.sch-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
.sch-count div { background: #ffffff08; border: 1px solid #ffffff14; border-radius: 18px; padding: 14px 6px; text-align: center; }
.sch-count b { display: block; font-size: clamp(28px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.sch-count small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.sch-week { list-style: none; margin: 0; display: grid; align-content: center; gap: 4px; }
.sch-week li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid #ffffff12; color: var(--dim); }
.sch-week li:last-child { border-bottom: 0; }
.sch-week li b { color: var(--text); font-weight: 600; }
.sch-week li.next { color: var(--text); }
.sch-week li.next span:last-child { color: var(--purple-lo); }
@media (max-width: 820px) { .sch { grid-template-columns: 1fr; } }

/* ---- Brand icons ---- */
.ico svg.brand { fill: #fff; stroke: none; width: 26px; height: 26px; }
.social-row { grid-template-rows: 240px; margin-top: 16px; }
.tile.discord { grid-column: 1 / 4; background: radial-gradient(90% 90% at 0% 0%, #5865f244 0%, var(--surface) 70%); }
.tile.insta { grid-column: 4 / 7; background: radial-gradient(90% 90% at 100% 0%, #c1358433, transparent 70%), var(--surface); }
.tile.discord:hover .ico { background: #5865f2; border-color: #5865f2; }
.tile.insta:hover .ico { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); border-color: transparent; }
.tile.twitch:hover .ico { background: #9146ff; border-color: #9146ff; }
.tile.yt:hover .ico { background: #ff0033; border-color: #ff0033; }
.tile.steam:hover .ico { background: #1b2838; border-color: #66c0f4; }
.ico { transition: background .3s, border-color .3s; }
.tile.discord .t-name, .tile.insta .t-name { font-size: clamp(34px, 4vw, 58px); }
.fsocial { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.fi { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #ffffff0d; border: 1px solid #ffffff1f; transition: background .3s, transform .3s var(--ease), border-color .3s; }
.fi svg { width: 20px; height: 20px; fill: #fff; }
.fi:hover { background: var(--purple); border-color: var(--purple-hi); transform: translateY(-3px); }
.chip .chip-ico { width: 28px; height: 28px; fill: var(--purple-lo); margin-bottom: auto; }
.chip { gap: 10px; }
@media (max-width: 820px) {
  .social-row { grid-template-columns: 1fr; grid-template-rows: auto; }
  .tile.discord, .tile.insta { grid-column: 1; min-height: 220px; }
}
@media (max-width: 820px) { .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chip { min-width: 0; padding: 18px; } .chip small { overflow-wrap: anywhere; letter-spacing: .06em; } }
.chip .chip-ico { margin-bottom: 0; flex: none; }
.chip .chip-ico.stroke { fill: none; stroke: var(--purple-lo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip span { margin-top: auto; }
@media (max-width: 820px) { .chip small { font-size: 10.5px; letter-spacing: .02em; text-transform: none; } }
/* Keep the decorative wordmark from covering the footer links */
.foot .giant { pointer-events: none; }
.fsocial { position: relative; z-index: 2; }

/* ---- Accessibility ---- */
.legal-links { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft, #ffffff12); }
.legal-links nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.legal-links a { color: var(--dim); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
.legal-links a:hover { color: #fff; }
.pause-btn { font: inherit; font-size: 14px; color: var(--text); background: #ffffff0d; border: 1px solid #ffffff2a; border-radius: 999px; padding: 0 18px; min-height: 44px; cursor: pointer; }
.pause-btn[aria-pressed="true"] { background: var(--purple); border-color: var(--purple-hi); }
/* Pause button and reduced-motion both stop every animation and transition. */
html.paused *, html.paused *::before, html.paused *::after { animation-play-state: paused !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
:focus-visible { outline: 3px solid var(--purple-lo); outline-offset: 3px; box-shadow: 0 0 0 6px #050309; }
.menu-btn, .live, .pill-nav .l { min-height: 44px; }
@media (prefers-contrast: more) {
  :root { --dim: #d9d0f0; --mute: #c6bce3; --line: #6b4aa8; }
  .tile, .chip, .sch-next, .sch-week { border-color: #8a62d0; }
  .tile .p-art { opacity: .06; }
}
@media (forced-colors: active) {
  .tile, .chip, .btn, .pause-btn, .fi, .sch-next, .sch-week { border: 1px solid CanvasText; }
  .tile .p-art, .aurora, .grain { display: none; }
  :focus-visible { outline: 3px solid Highlight; box-shadow: none; }
}
/* Text is never clipped when users enlarge it. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* ---- Legal and policy pages ---- */
.doc-hero { position: relative; overflow: hidden; padding: 150px 0 40px; isolation: isolate; }
.doc-wrap { max-width: 1100px; }
.doc-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 8vw, 104px); letter-spacing: -.045em; line-height: .95; margin: 18px 0 18px; }
.doc-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--purple-hi), var(--purple-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doc-lede { font-size: clamp(18px, 2vw, 22px); color: var(--dim); max-width: 60ch; margin: 0 0 14px; }
.doc-body { padding: 24px 0 clamp(60px, 9vw, 120px); }
.doc-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.doc-toc { position: sticky; top: 100px; font-size: 14px; }
.doc-toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.doc-toc a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--dim); text-decoration: none; min-height: 40px; }
.doc-toc a:hover { background: #ffffff0d; color: #fff; }
.doc { max-width: 72ch; font-size: 17px; line-height: 1.7; color: #e4dcf5; }
.doc:focus { outline: none; }
.doc h2 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; color: #fff; margin: 2.2em 0 .5em; scroll-margin-top: 100px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc ul, .doc ol { margin: 0 0 1em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: .4em 0; }
.doc a { color: var(--purple-lo); text-underline-offset: 3px; }
.doc a:hover { color: #fff; }
.doc strong { color: #fff; }
@media (max-width: 820px) {
  .doc-hero { padding-top: 112px; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-toc { position: static; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: var(--surface); }
  .doc-toc ol { grid-template-columns: 1fr; }
}
