/* =========================================================
   W1CKET — portfolio
   Style: cinematic timeline · white glow + red "1"
   ========================================================= */

:root {
  --bg: #0b0909;
  --ink: #fff;
  --mut: rgba(255, 255, 255, .66);
  --line: rgba(255, 255, 255, .15);
  --red: #ff3b4a;
  --red-2: #ff6a74;
  --panel: rgba(13, 10, 10, .86);

  --glow-w: 0 0 6px rgba(255, 255, 255, .95), 0 0 18px rgba(255, 255, 255, .85), 0 0 44px rgba(255, 255, 255, .65),
            0 0 96px rgba(255, 255, 255, .48), 0 0 170px rgba(255, 255, 255, .34), 0 0 220px rgba(255, 245, 238, .26);
  --glow-r: 0 0 5px rgba(255, 150, 158, .95), 0 0 18px rgba(255, 62, 76, .98), 0 0 46px rgba(255, 40, 56, .85),
            0 0 100px rgba(255, 30, 46, .65), 0 0 180px rgba(255, 20, 40, .48), 0 0 220px rgba(255, 20, 40, .3);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --stone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.011 .018' numOctaves='6' seed='11' stitchTiles='stitch' result='n'/%3E%3CfeDiffuseLighting in='n' lighting-color='%23d2c0b0' surfaceScale='3.4'%3E%3CfeDistantLight azimuth='232' elevation='50'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  --mx: 50vw;
  --my: 40vh;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.intro-active { overflow: hidden; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }
.r { color: var(--red); }

/* ---------- background layers ---------- */
.stone {
  position: fixed; inset: 0; z-index: -4;
  background: linear-gradient(rgba(112, 78, 62, .62), rgba(112, 78, 62, .62)), var(--stone);
  background-size: 100% 100%, 700px 700px;
  background-blend-mode: multiply;
  filter: brightness(.9) contrast(1.15);
}
.vig {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 38%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 62%, rgba(0, 0, 0, .9) 100%);
}
.spot {
  position: fixed; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; z-index: -2; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 200, .15), transparent); transform: translate3d(50vw, 40vh, 0); will-change: transform;
}
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.grain {
  position: fixed; inset: -8%; z-index: 40; pointer-events: none; opacity: .055;
  background-image: var(--grain); background-size: 220px 220px; animation: grain .7s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2.5%, -3.5%); }
  50% { transform: translate(-2%, -1.5%); } 67% { transform: translate(3.5%, 2.5%); } 83% { transform: translate(-1.5%, 3.5%); } 100% { transform: translate(0, 0); }
}

main { position: relative; z-index: 1; }

/* ---------- logo ---------- */
.logo { display: inline-flex; font-weight: 900; line-height: 1; letter-spacing: .02em; }
.logo .ch { display: inline-block; color: #fff; text-shadow: var(--glow-w); }
.logo .ch.r { color: #ff4252; text-shadow: var(--glow-r); }

.mini-logo { font-weight: 900; letter-spacing: .07em; font-size: 20px; text-shadow: 0 0 14px rgba(255, 255, 255, .55); }
.mini-logo .r { color: var(--red); text-shadow: 0 0 16px rgba(255, 59, 74, .95); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s;
}
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(255, 59, 74, .22); }
.btn.primary:hover { box-shadow: 0 8px 20px rgba(255, 59, 74, .34); transform: translateY(-2px); }
.btn.ghost { background: rgba(255, 255, 255, .05); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }
.btn.mini { padding: 10px 18px; font-size: 11px; }
.magnet { transition: translate .25s ease-out, transform .3s var(--ease), box-shadow .3s; }

/* ---------- top HUD ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 3vw, 36px) 26px;
  background: linear-gradient(rgba(8, 6, 6, .9), rgba(8, 6, 6, 0));
  transform: translateY(-110%); opacity: 0;
  transition: transform .9s var(--ease), opacity .9s;
}
html.ready .hud { transform: none; opacity: 1; }
.nav { display: flex; gap: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; }
.nav a { padding: 9px 14px; border-radius: 8px; color: var(--mut); transition: color .25s, background .25s; }
.nav a:hover, .nav a.on { color: #fff; background: rgba(255, 255, 255, .09); }
.nav a.on { box-shadow: inset 0 -2px 0 var(--red); }

/* ---------- INTRO ---------- */
#intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; }
#intro.gone { display: none; }
.slab {
  position: absolute; left: 0; right: 0; height: 50.2%;
  background: linear-gradient(rgba(112, 78, 62, .62), rgba(112, 78, 62, .62)), var(--stone);
  background-size: 100% 100%, 700px 700px; background-blend-mode: multiply;
  filter: brightness(.9) contrast(1.15);
  transition: transform 1.15s cubic-bezier(.77, 0, .18, 1);
}
.slab.top { top: 0; background-position: 0 0, 0 0; }
.slab.bottom { bottom: 0; background-position: 0 0, 0 -50vh; }
.intro-vig {
  position: absolute; inset: 0; transition: opacity .8s;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 235, 225, .1) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .92) 100%);
}
.intro-core { position: relative; display: grid; place-items: center; }
.intro-logo { position: relative; font-size: clamp(60px, 15vw, 210px); z-index: 2; }
#intro .ch { opacity: 0; transform: translateY(40px) scale(1.3); filter: blur(26px); }
#intro.play .ch { animation: chIn 1s var(--ease) forwards; animation-delay: calc(.55s + var(--i) * .11s); }
#intro.play .ch.r { animation: chIn 1s var(--ease) forwards, neon 1.3s step-end 2.1s; animation-delay: calc(.55s + var(--i) * .11s), 2.1s; }
@keyframes chIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes neon {
  0%, 16%, 22%, 58%, 64%, 100% { color: #ff4252; text-shadow: var(--glow-r); }
  18%, 60% { color: #5e1a21; text-shadow: 0 0 4px rgba(255, 80, 90, .3); }
  20% { color: #ff4252; text-shadow: 0 0 10px rgba(255, 80, 90, .7); }
  62% { color: #8f2630; text-shadow: 0 0 12px rgba(255, 70, 80, .5); }
}
#intro.hit .intro-logo { animation: hit 1s ease-out; }
@keyframes hit { 0% { filter: brightness(1); } 30% { filter: brightness(1.7) saturate(1.2); } 100% { filter: brightness(1); } }

.streak {
  position: absolute; left: 50%; top: 50%; width: min(92vw, 1200px); height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
  box-shadow: 0 0 36px 8px rgba(255, 255, 255, .35);
  transform: translate(-50%, -50%) scaleX(0); opacity: 0;
}
#intro.play .streak { animation: streak 1.6s var(--ease) .1s forwards; }
@keyframes streak {
  0% { transform: translate(-50%, -50%) scaleX(0); opacity: 1; }
  45% { transform: translate(-50%, -50%) scaleX(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scaleX(1); opacity: 0; }
}
.sweep {
  position: absolute; top: -18%; bottom: -18%; left: -12%; width: 7%; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
  filter: blur(9px); transform: skewX(-18deg); mix-blend-mode: screen;
}
#intro.play .sweep { animation: sweep 1.1s ease-in-out 1.9s forwards; }
@keyframes sweep { 0% { left: -12%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 108%; opacity: 0; } }

.intro-meta {
  position: absolute; left: clamp(16px, 3vw, 36px); right: clamp(16px, 3vw, 36px); bottom: 26px;
  display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--mut);
  transition: opacity .5s;
}
.skip {
  position: absolute; right: clamp(16px, 3vw, 36px); top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--mut); transition: color .2s, border-color .2s, opacity .5s;
}
.skip:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
#intro.out .slab.top { transform: translateY(-101%); }
#intro.out .slab.bottom { transform: translateY(101%); }
#intro.out .intro-vig, #intro.out .intro-meta, #intro.out .skip, #intro.out .streak { opacity: 0; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 110px 20px 150px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; text-align: center; will-change: transform, opacity; }
.hero-inner::before {
  content: ''; position: absolute; left: 50%; top: 34%; width: 110%; height: 60%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 232, 222, .22), rgba(255, 232, 222, .07) 60%, transparent); animation: breathe 5s ease-in-out infinite;
}
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .45em; color: var(--mut); margin-bottom: 20px; }
.hero-logo { font-size: clamp(60px, 15vw, 210px); }
.js .hero-logo { opacity: 0; }
.js .hero-logo.show { opacity: 1; transition: opacity .25s; }
@keyframes breathe { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

.js .anim { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
html.ready .anim { opacity: 1; transform: none; }

.lts { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.lt { display: flex; align-items: stretch; text-align: left; min-width: 260px; }
.js .lt { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) var(--d, 0s); }
html.ready .lt { clip-path: inset(0 0 0 0); }
.lt-bar { width: 6px; background: var(--red); box-shadow: 0 0 20px var(--red); }
.lt-body {
  flex: 1; padding: 13px 26px 13px 18px; border: 1px solid var(--line); border-left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .04));
}
.lt strong { display: block; font-weight: 800; letter-spacing: .15em; font-size: 15px; }
.yrs { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; color: var(--red-2); }
.yrs b { font-size: 20px; color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, .7); margin-right: 4px; }

.tagline { margin-top: 34px; font-size: clamp(15px, 1.8vw, 19px); color: var(--mut); letter-spacing: .03em; }
.cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.leak {
  position: absolute; z-index: 0; width: 60vw; height: 130%; top: -15%; left: 0; pointer-events: none; opacity: .9;
  background: linear-gradient(100deg, transparent 10%, rgba(255, 59, 74, .2) 50%, transparent 90%);
  transform: translateX(-70vw) skewX(-20deg); animation: leak 14s ease-in-out 3s infinite;
}
@keyframes leak { 0% { transform: translateX(-70vw) skewX(-20deg); } 55%, 100% { transform: translateX(130vw) skewX(-20deg); } }

/* viewfinder */
.vf { position: absolute; z-index: 1; inset: clamp(76px, 10vh, 100px) clamp(16px, 3vw, 36px) clamp(104px, 14vh, 130px); pointer-events: none; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: rgba(255, 255, 255, .55); }
.vf .c { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(255, 255, 255, .55); }
.vf .ctl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf .ctr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf .cbl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf .cbr { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf-tl { position: absolute; top: 12px; left: 14px; display: flex; align-items: center; gap: 8px; }
.vf-tr { position: absolute; top: 12px; right: 14px; }
.vf-bl { position: absolute; bottom: 12px; left: 14px; }
.vf-br { position: absolute; bottom: 12px; right: 14px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.vf .cross { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); opacity: .35; }
.vf .cross::before, .vf .cross::after { content: ''; position: absolute; background: #fff; }
.vf .cross::before { left: 8px; top: 0; width: 2px; height: 18px; }
.vf .cross::after { top: 8px; left: 0; height: 2px; width: 18px; }

.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 112px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .4em; color: var(--mut); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(#fff, transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- MARQUEE ---------- */
.marquee { position: relative; z-index: 1; padding: 70px 0 90px; overflow: hidden; }
.mq { width: 110vw; margin-left: -5vw; overflow: hidden; white-space: nowrap; }
.mq-a { background: var(--red); color: #fff; padding: 14px 0; transform: rotate(-2.2deg) skewX(var(--sk, 0deg)); box-shadow: 0 0 60px rgba(255, 59, 74, .35); position: relative; z-index: 2; }
.mq-b { margin-top: -6px; background: rgba(10, 8, 8, .78); border-block: 1px solid var(--line); padding: 14px 0; transform: rotate(1.8deg) skewX(var(--sk, 0deg)); }
.mq-track { display: inline-flex; gap: 34px; padding-right: 34px; font-weight: 900; font-size: clamp(22px, 3.4vw, 40px); letter-spacing: .08em; animation: mq 32s linear infinite; will-change: transform; }
.mq-b .mq-track { animation-direction: reverse; animation-duration: 38s; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .8); }
.mq-track i { font-style: normal; opacity: .75; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- common section bits ---------- */
.sec { position: relative; padding: clamp(90px, 14vh, 150px) 0; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red-2); margin-bottom: 14px; }
h2 { font-weight: 900; font-size: clamp(34px, 6vw, 78px); line-height: 1.02; letter-spacing: .005em; }
.sec-head { margin-bottom: 8px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #3dff8b; box-shadow: 0 0 12px #3dff8b; animation: blink 2s steps(1) infinite; }

/* 3D "unfold" reveal for generic blocks */
.js .rv { opacity: 0; transform: perspective(1100px) rotateX(-32deg) translateY(40px); transform-origin: 50% 0; transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- ABOUT / UNFOLD SCENE ---------- */
.js .scene { height: 340vh; }
.scene { position: relative; }
.scene-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 3vh, 30px); padding: 70px 0 84px; }
.scene-head { text-align: center; }
.scene-head h2 { font-size: clamp(30px, 5vw, 62px); }

.fold {
  --u0: 1; --u1: 1; --u2: 1; position: relative;
  display: flex; gap: 14px; width: min(1180px, 94vw); height: min(66vh, 560px);
  perspective: 2400px; perspective-origin: 50% 45%;
}
.panel {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 4px; background: #191514;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); backface-visibility: hidden; overflow: hidden;
}
.panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); background-size: 220px 220px; opacity: .06; }
.p-mid { flex: 1.12 1 0; z-index: 2; transform: translateZ(calc((1 - var(--u0)) * -180px)) scale(calc(.92 + var(--u0) * .08)); opacity: var(--u0); background: #211b19; border-color: rgba(255, 255, 255, .2); }
.p-left { transform-origin: 100% 50%; transform: rotateY(calc((1 - var(--u1)) * -90deg)); }
.p-right { transform-origin: 0 50%; transform: rotateY(calc((1 - var(--u2)) * 90deg)); }
.p-left { --u: var(--u1); } .p-right { --u: var(--u2); } .p-mid { --u: var(--u0); }
.shade { position: absolute; inset: 0; background: #000; opacity: calc((1 - var(--u)) * .85); pointer-events: none; }
/* hinge: a plain red line that shows while a panel is still folding */
.p-left::after, .p-right::after { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); opacity: calc(1 - var(--u)); pointer-events: none; }
.p-left::after { right: 0; } .p-right::after { left: 0; }

.face { position: relative; height: 100%; padding: clamp(24px, 4vh, 36px) clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; text-align: left; }
.ab-label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
.ab-years { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 18px; font-size: 17px; color: var(--mut); }
.ab-n { font-size: clamp(54px, 8.5vh, 76px); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; }
.ab-list { border-top: 1px solid rgba(255, 255, 255, .16); }
.ab-list li { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .88); }
.ab-foot { margin-top: auto; padding-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.ab-foot span { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }

.p-mid .face { justify-content: space-between; gap: 24px; }
.ab-lead { font-size: clamp(18px, 2.7vh, 23px); line-height: 1.55; font-weight: 500; color: #f3eeeb; }
.ab-contact { display: grid; gap: 12px; justify-items: start; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.ab-line { font-size: 14px; color: var(--mut); }
.ab-line span { margin-right: 6px; }
.ab-line b { color: #fff; font-weight: 700; }

.ab-mods { margin-top: 16px; display: grid; }
.ab-mod { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 14.5px; font-weight: 700; text-align: left; color: #fff; transition: color .2s; }
.ab-mod:last-child { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.ab-mod img { display: block; width: 64px; height: 38px; object-fit: cover; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .2); }
.ab-mod i { font-style: normal; color: var(--mut); transition: transform .2s, color .2s; }
.ab-mod:hover, .ab-mod:hover i { color: var(--red-2); }
.ab-mod:hover i { transform: translateX(4px); }
@media (max-height: 700px) {
  .ab-mod img { display: none; }
  .ab-mod { grid-template-columns: 1fr auto; padding: 6px 0; }
}

.hint { font-family: var(--mono); font-size: 11px; letter-spacing: .4em; color: var(--mut); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }

/* ---------- SKILLS ---------- */
.tracks { position: relative; margin-top: 46px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(10, 8, 8, .66); display: grid; gap: 16px; overflow: hidden; }
.ruler {
  height: 20px; margin-left: 104px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 1px, transparent 1px 80px) bottom / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 10px) bottom / 100% 6px no-repeat;
}
.scan { position: absolute; top: 0; bottom: 0; left: 126px; width: 2px; background: var(--red); box-shadow: 0 0 18px 3px rgba(255, 59, 74, .85); opacity: 0; z-index: 3; pointer-events: none; }
.tracks.in .scan { animation: scan 2.4s var(--ease) .15s forwards; }
@keyframes scan { 0% { left: 126px; opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 22px); opacity: 0; } }
.track { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: stretch; }
.track-label { display: grid; align-content: center; justify-items: start; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-family: var(--mono); }
.track-label b { font-size: 18px; color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, .6); }
.track-label span { font-size: 9px; letter-spacing: .2em; color: var(--mut); }
.lane { display: flex; flex-wrap: wrap; gap: 8px; padding: 9px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .025); min-height: 66px; align-items: center; }
.clip {
  padding: 13px 20px; border-radius: 9px; font-weight: 700; font-size: 14px; letter-spacing: .04em; white-space: nowrap;
  transition: clip-path .85s var(--ease) calc(var(--i) * .1s + .25s), transform .3s var(--ease), box-shadow .3s;
}
.js .clip { clip-path: inset(0 100% 0 0); }
.js .track.in .clip, .js .tracks.in .clip { clip-path: inset(0 0 0 0); }
.clip:hover { transform: translateY(-3px); }
.clip.v1 { background: rgba(255, 255, 255, .11); border: 1px solid rgba(255, 255, 255, .34); }
.clip.v1:hover { box-shadow: 0 0 26px rgba(255, 255, 255, .3); }
.clip.v2 { background: linear-gradient(135deg, rgba(255, 59, 74, .92), rgba(150, 18, 34, .92)); box-shadow: 0 0 20px rgba(255, 59, 74, .28); }
.clip.v2:hover { box-shadow: 0 0 34px rgba(255, 59, 74, .7); }
.clip.a1 { background: rgba(255, 59, 74, .14); border: 1px solid rgba(255, 59, 74, .65); }
.clip.a1:hover { box-shadow: 0 0 28px rgba(255, 59, 74, .45); }
.clip.m1 { background: #fff; color: #0b0909; }
.clip.m1:hover { box-shadow: 0 0 30px rgba(255, 255, 255, .6); }

/* ---------- SERVICES ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.card {
  position: relative; height: 100%; padding: 32px 28px 28px; border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)), rgba(12, 9, 9, .7);
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out, border-color .3s, box-shadow .3s;
}
.card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .14), transparent 60%); }
.card:hover { border-color: rgba(255, 59, 74, .65); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 44px rgba(255, 59, 74, .16); }
.card:hover::before { opacity: 1; }
.card .idx { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--red-2); }
.card h3 { font-size: 24px; font-weight: 800; line-height: 1.15; }
.card p { color: var(--mut); font-size: 15px; }
.card ul { display: grid; gap: 8px; font-size: 14px; margin: 4px 0 6px; }
.card li { padding-left: 22px; position: relative; }
.card li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; }
.price small { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; color: var(--mut); }
.price strong { font-size: 17px; }
.card .btn { align-self: flex-start; margin-top: auto; }

.extras { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; }
.extras-label { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--mut); margin-right: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font-size: 13px; font-weight: 700; }

/* ---------- MODS & SHADERS ---------- */
.sec-sub { margin-top: 14px; color: var(--mut); font-size: 15px; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; margin-top: 44px; }
.mod {
  display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)), rgba(12, 9, 9, .74);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out, border-color .3s, box-shadow .3s;
}
.mod:hover { border-color: rgba(255, 59, 74, .65); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 44px rgba(255, 59, 74, .16); }
.mod-open { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #120d0d; cursor: zoom-in; padding: 0; }
.mod-open img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mod:hover .mod-open img { transform: scale(1.06); }
.mod-open::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 55%, rgba(8, 6, 6, .8)); }
.mod-badge { position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 6px 11px; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; background: rgba(8, 6, 6, .82); border: 1px solid var(--line); }
.mod-open.ph-cover { cursor: default; display: grid; place-items: center; background: repeating-conic-gradient(rgba(255, 255, 255, .05) 0 25%, transparent 0 50%) 0 0 / 40px 40px, linear-gradient(135deg, #2b1b1b, #120d0d); }
.mod-open.ph-cover span { position: relative; z-index: 1; font-family: var(--mono); font-size: 11px; letter-spacing: .3em; color: var(--mut); }
.mod-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.mod-body h3 { font-size: 21px; font-weight: 800; line-height: 1.2; }
.mod-body p { color: var(--mut); font-size: 14px; }
.mod-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.mod-tags span { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--mut); }
.mod-tags span.kind { color: #fff; border-color: rgba(255, 59, 74, .7); background: rgba(255, 59, 74, .16); }
.mod-links { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.mods-note { margin-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--mut); }

html.lb-open { overflow: hidden; }

/* ---------- HOW IT WORKS ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 80px; }
.process::before {
  content: ''; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, .25));
  transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .4s;
}
.process.in::before { transform: scaleX(1); }
.step { position: relative; padding-top: 56px; }
.step .n { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--red); font-family: var(--mono); font-weight: 700; font-size: 13px; }
.step h4 { font-size: 18px; margin-bottom: 6px; letter-spacing: .04em; }
.step p { color: var(--mut); font-size: 14px; }

/* ---------- CONTACT ---------- */
#contact { padding-bottom: 40px; padding-top: 130px; }
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.big-cta { font-size: clamp(44px, 7.6vw, 104px); }
.big-cta span { color: #ff4252; text-shadow: var(--glow-r); }
.status { margin: 22px 0 28px; font-size: 15px; color: var(--mut); }
.discord-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); max-width: 460px; }
.discord-card svg { flex: none; color: var(--red-2); }
.dc-text { flex: 1; min-width: 0; display: grid; }
.dc-text small { font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--mut); }
.dc-text strong { font-size: 22px; font-weight: 800; overflow-wrap: anywhere; text-shadow: 0 0 16px rgba(255, 255, 255, .35); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.socials a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, border-color .25s; }
.socials a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }

.brief { padding: clamp(22px, 3vw, 34px); border-radius: 22px; border: 1px solid var(--line); background: rgba(12, 9, 9, .78); display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.brief h3 { font-size: 24px; font-weight: 800; }
.brief .sub { color: var(--mut); font-size: 14px; margin-top: -10px; }
.brief .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.brief label { display: grid; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.brief input, .brief select, .brief textarea {
  width: 100%; font: 500 15px var(--sans); letter-spacing: 0; text-transform: none; color: #fff;
  padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); transition: border-color .25s, box-shadow .25s, background .25s;
}
.brief select option { background: #141010; }
.brief textarea { resize: vertical; min-height: 120px; }
.brief input:focus, .brief select:focus, .brief textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 59, 74, .22), 0 0 24px rgba(255, 59, 74, .25); background: rgba(255, 255, 255, .08); }
.brief .invalid { border-color: var(--red); }
.form-note { min-height: 20px; font-size: 14px; color: var(--mut); }
.form-note b { color: #fff; }

.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; width: min(1180px, 92vw); margin: 0 auto; padding: 36px 0 120px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--mut); }
.foot b { color: #fff; }
.foot a:hover { color: #fff; }

/* ---------- BOTTOM TIMELINE ---------- */
.tl {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: end;
  padding: 26px clamp(14px, 2.4vw, 32px) 12px; background: linear-gradient(rgba(8, 6, 6, 0), rgba(8, 6, 6, .94) 38%);
  transform: translateY(120%); transition: transform .9s var(--ease) .4s;
}
html.ready .tl { transform: none; }
.tl-tc { display: grid; padding: 0 4px 2px; font-family: var(--mono); }
.tl-tc small { font-size: 9px; letter-spacing: .3em; color: var(--mut); }
.tl-tc b { font-size: 18px; letter-spacing: .06em; color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.tl-lanes { position: relative; height: 62px; }
.tl-ruler { position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 1px, transparent 1px 12px) bottom / 100% 5px no-repeat, repeating-linear-gradient(90deg, rgba(255, 255, 255, .75) 0 1px, transparent 1px 60px) bottom / 100% 10px no-repeat; }
.tl-clips { position: absolute; left: 0; right: 0; top: 14px; height: 26px; }
.clip-btn {
  position: absolute; top: 0; height: 26px; padding: 0 8px; border-radius: 5px; overflow: hidden; white-space: nowrap; text-align: left;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); transition: background .25s, color .25s, border-color .25s;
}
.clip-btn:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.clip-btn.on { background: rgba(255, 59, 74, .35); border-color: rgba(255, 59, 74, .8); color: #fff; }
.tl-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; display: flex; align-items: flex-end; gap: 2px; }
.tl-wave i { flex: 1; background: rgba(255, 255, 255, .2); border-radius: 1px; transition: background .2s, box-shadow .2s; }
.tl-wave i.lit { background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .7); }
.playhead { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; margin-left: -1px; background: var(--red); box-shadow: 0 0 12px 2px rgba(255, 59, 74, .9); pointer-events: none; will-change: transform; z-index: 4; }
.playhead::before { content: ''; position: absolute; top: -2px; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top: 9px solid var(--red); }

.toast {
  position: fixed; left: 50%; bottom: 116px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px; background: rgba(12, 9, 9, .92); border: 1px solid rgba(255, 59, 74, .7);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; box-shadow: 0 0 30px rgba(255, 59, 74, .3);
  transition: opacity .3s, transform .4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .fold { flex-direction: column; height: auto; gap: 10px; width: 92vw; perspective: 1700px; }
  .p-mid { order: 1; flex: none; }
  .p-left { order: 2; flex: none; transform-origin: 50% 0; transform: rotateX(calc((1 - var(--u1)) * -90deg)); }
  .p-right { order: 3; flex: none; transform-origin: 50% 0; transform: rotateX(calc((1 - var(--u2)) * -90deg)); }
  .p-left::after, .p-right::after { left: 8%; right: 8%; top: 0; bottom: auto; width: auto; height: 3px; }
  .js .scene { height: auto; }
  .scene-sticky { position: static; height: auto; justify-content: flex-start; padding: 96px 0 40px; gap: 28px; }
  .scene-head h2 { font-size: clamp(26px, 7.4vw, 44px); }
  .face { padding: 24px 22px; }
  .ab-n { font-size: 60px; }
  .p-mid .face { gap: 20px; }
  .hint { display: none; }
}
@media (max-width: 640px) {
  .hud-cta { padding: 9px 14px; }
  .brief .row { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; gap: 8px; }
  .track-label { grid-auto-flow: column; justify-content: start; justify-items: start; gap: 10px; padding: 8px 12px; }
  .ruler, .scan { display: none; }
  .process { grid-template-columns: 1fr; }
  .clip { padding: 10px 14px; font-size: 13px; }
  .lane { padding: 8px; gap: 6px; }
  .tl { grid-template-columns: 1fr; gap: 4px; padding-top: 18px; }
  .tl-tc { grid-auto-flow: column; justify-content: space-between; align-items: baseline; }
  .tl-tc b { font-size: 14px; }
  .tl-lanes { height: 54px; }
  .clip-btn { font-size: 8px; padding: 0 4px; letter-spacing: .08em; }
  .toast { bottom: 128px; }
  .scroll-cue { bottom: 126px; }
  .vf-tr { display: none; }
  .lt { width: min(320px, 100%); min-width: 0; }
  .scroll-cue { display: none; }
}

@media (max-height: 760px) { .scroll-cue { display: none; } }
/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .scene { height: auto; }
  .scene-sticky { position: static; height: auto; padding: 110px 0; }
  .grain, .leak { display: none; }
}

/* =========================================================
   MOD PAGES — logotypes, cards, pop-down window, 3 themes
   ========================================================= */
:root {
  --st4: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
  --st3: polygon(0 3px, 3px 3px, 3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px));
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='18' viewBox='0 0 24 18'%3E%3Cpath d='M0 15H24M20 15V3H6V11H14V7H10' fill='none' stroke='%23d8b45a' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
}

/* ---------- logotypes ---------- */
.lg { font-weight: 400; }
.lg-stellar { font-family: 'Michroma', var(--sans); letter-spacing: .16em; }
.lg-stellar .lg-sub { color: #7ae7f2; margin-left: .55em; }
.lg-steelstorm { display: inline-block; font-family: 'Press Start 2P', monospace; color: #eef1f6; line-height: 1.2; }
.lg-steelstorm .lg-main { display: block; text-shadow: .1em .1em 0 #000; -webkit-text-stroke: .045em currentColor; }
.lg-steelstorm .lg-sub { display: block; margin-top: .55em; font-size: .56em; letter-spacing: .12em; color: #e4b44a; text-shadow: .16em .16em 0 #000; }
.lg-steelstorm .shield { display: inline-block; width: 1em; height: 1.1em; margin: 0 .03em; vertical-align: -.225em; filter: drop-shadow(.1em .1em 0 #000); }
.lg-pantheon { font-family: 'Cinzel', serif; font-weight: 900; letter-spacing: .26em; color: #d8b45a; }
.mod-name { font-size: 18px; line-height: 1.25; margin: 2px 0; }
.mod-name .lg-stellar { font-size: 16px; }
.mod-name .lg-steelstorm { font-size: 15px; }
.mod-name .lg-pantheon { font-size: 21px; }

/* ---------- cards ---------- */
.mod-readout { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 5px 9px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: #bff4fa; background: rgba(8, 28, 38, .84); border-bottom: 2px solid #1f5666; }

.mod.th-stellar { background: linear-gradient(180deg, #0b1d27, #07131a); border-color: rgba(122, 231, 242, .28); border-radius: 8px; }
.mod.th-stellar:hover { border-color: rgba(122, 231, 242, .75); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(122, 231, 242, .15); }
.mod.th-stellar .mod-open { border-bottom: 1px solid rgba(122, 231, 242, .3); }
.mod.th-stellar .mod-open::before {
  content: ''; position: absolute; inset: 9px; z-index: 1; pointer-events: none; opacity: .8;
  background:
    linear-gradient(#7ae7f2, #7ae7f2) left top / 16px 2px no-repeat, linear-gradient(#7ae7f2, #7ae7f2) left top / 2px 16px no-repeat,
    linear-gradient(#7ae7f2, #7ae7f2) right top / 16px 2px no-repeat, linear-gradient(#7ae7f2, #7ae7f2) right top / 2px 16px no-repeat,
    linear-gradient(#7ae7f2, #7ae7f2) left bottom / 16px 2px no-repeat, linear-gradient(#7ae7f2, #7ae7f2) left bottom / 2px 16px no-repeat,
    linear-gradient(#7ae7f2, #7ae7f2) right bottom / 16px 2px no-repeat, linear-gradient(#7ae7f2, #7ae7f2) right bottom / 2px 16px no-repeat;
}
.mod.th-stellar .mod-tags span { border-radius: 0; border-color: rgba(122, 231, 242, .3); }
.mod.th-stellar .mod-tags span.kind { background: rgba(122, 231, 242, .1); border-color: rgba(122, 231, 242, .6); }
.mod.th-stellar .btn.primary { background: #7ae7f2; border-color: #7ae7f2; color: #04161c; box-shadow: 0 0 22px rgba(122, 231, 242, .3); }
.mod.th-stellar .btn.primary:hover { box-shadow: 0 0 0 5px rgba(122, 231, 242, .15), 0 0 36px rgba(122, 231, 242, .5); }

.mod.th-steelstorm { border: 0; border-radius: 0; background: #8c92a0; padding: 4px; clip-path: var(--st4); overflow: visible; }
.mod.th-steelstorm:hover { box-shadow: none; background: #e4b44a; }
.mod.th-steelstorm .mod-open { outline: 2px solid #0b0c0f; outline-offset: -2px; }
.mod.th-steelstorm .mod-open img { image-rendering: auto; }
.mod.th-steelstorm .mod-body { background: #17181d; }
.mod.th-steelstorm .mod-tags span { border-radius: 0; font-family: 'Press Start 2P', monospace; font-size: 8px; letter-spacing: .04em; border: 2px solid #454955; padding: 5px 7px; }
.mod.th-steelstorm .mod-tags span.kind { color: #e4b44a; border-color: #e4b44a; background: transparent; }
.mod.th-steelstorm .mod-badge { border-radius: 0; font-family: 'Press Start 2P', monospace; font-size: 8px; border: 2px solid #0b0c0f; background: #17181d; }
.btn-px, .th-steelstorm .btn { border-radius: 0; font-family: 'Press Start 2P', monospace; font-size: 9px; letter-spacing: .02em; text-transform: uppercase; padding: 13px 14px; }
.th-steelstorm .btn.primary { background: #e4b44a; border-color: #e4b44a; color: #17181d; box-shadow: 0 4px 0 #8a6a1e; }
.th-steelstorm .btn.primary:hover { box-shadow: 0 2px 0 #8a6a1e; transform: translateY(2px); }
.th-steelstorm .btn.ghost { border: 2px solid #454955; }

.mod.th-pantheon { background: #0c1230; border: 1px solid rgba(216, 180, 90, .55); border-radius: 6px; }
.mod.th-pantheon:hover { border-color: #d8b45a; box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(216, 180, 90, .14); }
.mod.th-pantheon .mod-open { border-bottom: 2px solid #d8b45a; }
.mod.th-pantheon .mod-body::before { content: ''; display: block; height: 14px; margin: -4px 0 4px; background: var(--meander) repeat-x left center / auto 100%; opacity: .8; }
.mod.th-pantheon .mod-tags span { border-radius: 2px; border-color: rgba(216, 180, 90, .4); }
.mod.th-pantheon .mod-tags span.kind { background: rgba(216, 180, 90, .14); border-color: #d8b45a; color: #f0dca0; }
.mod.th-pantheon .btn.primary { background: #d8b45a; border-color: #d8b45a; color: #0c1230; box-shadow: none; border-radius: 3px; }
.mod.th-pantheon .btn.primary:hover { box-shadow: 0 0 0 5px rgba(216, 180, 90, .16); }
.mod.th-pantheon .btn.ghost { border-radius: 3px; border-color: rgba(216, 180, 90, .45); }

/* ---------- the pop-down window ---------- */
.md { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: clamp(8px, 2.5vh, 26px); }
.md[hidden] { display: none; }
.md-backdrop { position: absolute; inset: 0; background: rgba(4, 3, 4, .9); animation: mdFade .35s ease both; }
.md-win {
  --acc: var(--red); --bg: #0e0b0b; --ln: rgba(255, 255, 255, .16); --ink: #fff; --mut: rgba(255, 255, 255, .7);
  position: relative; width: min(1260px, 100%); max-height: 100%; display: flex; flex-direction: column; overflow: hidden; overflow: clip;
  background: var(--bg); color: var(--ink); border: 1px solid var(--ln); border-radius: 20px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .75); transform-origin: 50% 0; animation: mdDrop .75s var(--ease) both;
}
.md.closing .md-backdrop { animation: mdFadeOut .26s ease forwards; }
.md.closing .md-win { animation: mdUp .26s ease forwards; }
@keyframes mdDrop { from { opacity: 0; transform: perspective(1600px) translateY(-54px) rotateX(-14deg); } to { opacity: 1; transform: none; } }
@keyframes mdUp { to { opacity: 0; transform: perspective(1600px) translateY(-30px) rotateX(-8deg); } }
@keyframes mdFade { from { opacity: 0; } }
@keyframes mdFadeOut { to { opacity: 0; } }

.md-head { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 22px; border-bottom: 1px solid var(--ln); }
.md-title { flex: 1; min-width: 0; font-size: clamp(18px, 2.4vw, 26px); line-height: 1.2; font-weight: 800; }
.md-kind { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--ln); border-radius: 6px; color: var(--mut); }
.md-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ln); display: grid; place-items: center; font-size: 14px; color: var(--ink); transition: border-color .2s, background .2s; }
.md-x:hover { border-color: var(--acc); background: rgba(255, 255, 255, .08); }

.md-body { position: relative; z-index: 1; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); }
.md-view { min-width: 0; padding: 18px 18px 16px 22px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.md-stage { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 300px); background: #050607; overflow: hidden; border-radius: 10px; touch-action: pan-y; }
.md-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateX(calc(var(--dir, 1) * 3%)); transition: opacity .55s ease, transform .75s var(--ease); user-select: none; -webkit-user-drag: none; }
.md-img.on { opacity: 1; transform: none; }
.md-img.out { opacity: 0; transform: translateX(calc(var(--dir, 1) * -3%)); }
.md-nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; line-height: 1; color: #fff; background: rgba(5, 6, 7, .6); border: 1px solid rgba(255, 255, 255, .28); opacity: 0; transition: opacity .25s, background .25s; }
.md-nav[hidden] { display: none; }
.md-nav.prev { left: 12px; } .md-nav.next { right: 12px; }
.md-stage:hover .md-nav, .md-nav:focus-visible { opacity: 1; }
.md-nav:hover { background: rgba(0, 0, 0, .85); }
@media (hover: none) { .md-nav { opacity: 1; } }

.md-cap { flex: none; display: grid; grid-template-columns: 1fr auto; gap: 5px 16px; align-items: baseline; }
.md-readout { grid-column: 1 / -1; justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--acc); }
.md-readout[hidden] { display: none; }
.md-text { font-size: 14px; line-height: 1.45; }
.md-count { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--mut); white-space: nowrap; }

.md-strip { flex: none; display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.md-th { position: relative; flex: none; width: 100px; aspect-ratio: 16 / 9; border-radius: 6px; border: 1px solid var(--ln); background: #050607; opacity: .55; transition: opacity .25s, border-color .25s, transform .25s; }
.md-th img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.md-th:hover { opacity: .9; }
.md-th.on { opacity: 1; border-color: var(--acc); }
.md-th-n { position: absolute; left: 4px; bottom: 3px; padding: 1px 4px; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: #fff; background: rgba(0, 0, 0, .65); }

.md-info { min-width: 0; padding: 20px 22px 22px; border-left: 1px solid var(--ln); overflow: auto; display: flex; flex-direction: column; gap: 18px; }
.md-desc { font-size: 15px; line-height: 1.65; color: var(--mut); }
.md-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---------- STELLAR EXPLORER ---------- */
.th-stellar .md-win { --acc: #7ae7f2; --bg: #07141b; --ln: rgba(122, 231, 242, .22); --ink: #e1f8fb; --mut: rgba(200, 236, 242, .72); border-radius: 6px; background: linear-gradient(180deg, #0a1d27 0%, #061017 100%); }
.th-stellar .md-win::before {
  content: ''; position: absolute; top: 0; left: 0; width: calc(100% + 400px); height: 100%; z-index: 0; pointer-events: none; opacity: .75;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 130px 90px, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1.5px 1.5px at 260px 40px, #cfeaff, transparent), radial-gradient(1px 1px at 340px 170px, #fff, transparent),
    radial-gradient(1px 1px at 70px 200px, rgba(255, 235, 200, .9), transparent), radial-gradient(1.5px 1.5px at 210px 250px, #fff, transparent),
    radial-gradient(1px 1px at 380px 280px, #cfeaff, transparent), radial-gradient(1px 1px at 160px 150px, rgba(255, 255, 255, .6), transparent);
  background-size: 400px 320px; animation: stDrift 180s linear infinite;
}
@keyframes stDrift { to { transform: translateX(-400px); } }
.th-stellar .md-title .lg { font-size: clamp(14px, 1.8vw, 21px); letter-spacing: .22em; }
.th-stellar .md-kind { border-radius: 0; color: #7ae7f2; border-color: rgba(122, 231, 242, .4); }
.th-stellar .md-x { border-radius: 0; }
.th-stellar .md-stage { border-radius: 0; outline: 1px solid rgba(122, 231, 242, .3); outline-offset: 3px; }
.th-stellar .md-stage::after {
  content: ''; position: absolute; inset: 9px; z-index: 2; pointer-events: none; opacity: .8;
  background:
    linear-gradient(#7ae7f2, #7ae7f2) left top / 18px 2px no-repeat, linear-gradient(#7ae7f2, #7ae7f2) left top / 2px 18px no-repeat,
    linear-gradient(#7ae7f2, #7ae7f2) right top / 18px 2px no-repeat, linear-gradient(#7ae7f2, #7ae7f2) right top / 2px 18px no-repeat,
    linear-gradient(#7ae7f2, #7ae7f2) left bottom / 18px 2px no-repeat, linear-gradient(#7ae7f2, #7ae7f2) left bottom / 2px 18px no-repeat,
    linear-gradient(#7ae7f2, #7ae7f2) right bottom / 18px 2px no-repeat, linear-gradient(#7ae7f2, #7ae7f2) right bottom / 2px 18px no-repeat;
}
.th-stellar .md-nav { border-radius: 0; border-color: rgba(122, 231, 242, .5); }
.th-stellar .md-readout { padding: 6px 10px; background: #0b2330; border-bottom: 2px solid #1c4d5e; color: #bff4fa; letter-spacing: .16em; }
.th-stellar .md-text { color: #e1f8fb; }
/* thumbnails act like the compass tape in the ship's HUD */
.th-stellar .md-strip {
  padding: 18px 4px 8px;
  background:
    repeating-linear-gradient(90deg, rgba(122, 231, 242, .85) 0 1px, transparent 1px 50px) 0 0 / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, rgba(122, 231, 242, .45) 0 1px, transparent 1px 10px) 0 4px / 100% 6px no-repeat;
}
.th-stellar .md-th { border-radius: 0; }
.th-stellar .md-th.on { border-color: #f2a93a; box-shadow: 0 0 0 1px #f2a93a; }
.th-stellar .md-th.on::before { content: ''; position: absolute; top: -11px; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top: 7px solid #f2a93a; }
.th-stellar .md-th.on .md-th-n { background: #f2a93a; color: #1a1100; }
.th-stellar .md-th-n { border-radius: 0; }

.st-panels { display: grid; gap: 14px; }
.st-hud { position: relative; background: rgba(8, 28, 38, .9); border: 2px solid #1b3f4c; animation: hudOn .7s steps(1) both; animation-delay: .3s; }
.st-hud + .st-hud { animation-delay: .45s; }
.st-hud::after { content: ''; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border: 2px solid #7ae7f2; border-left: 0; border-top: 0; }
@keyframes hudOn { 0% { opacity: 0; } 16% { opacity: .9; } 28% { opacity: .12; } 40% { opacity: 1; } 52% { opacity: .45; } 64%, 100% { opacity: 1; } }
.st-hh { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 2px solid #1b3f4c; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: #9fdde6; }
.st-st { color: #f2a93a; }
.st-hb { padding: 8px 12px 12px; display: grid; gap: 8px; }
.st-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 9px; margin: 0 -9px; border-left: 3px solid transparent; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: #cfeff4; text-align: left; transition: background .2s, border-color .2s; }
.st-row:hover { background: rgba(122, 231, 242, .1); }
.st-row.on { border-left-color: #f2a93a; background: rgba(242, 169, 58, .1); color: #fff; }
.st-v { color: #7ae7f2; font-size: 11px; }
.st-bar { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #cfeff4; }
.st-bar .st-v { color: #7ae7f2; font-size: 12px; }
.st-segs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.st-segs i { height: 9px; background: #0f2a35; }
.st-segs i.f { background: #59d6ea; animation: segOn .25s steps(1) both; animation-delay: calc(var(--k) * .06s + .6s); }
@keyframes segOn { from { background: #0f2a35; } }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.st-chips span { padding: 6px 10px; border: 2px solid; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.c-on { border-color: #3ba56e; color: #7ef0ac; background: rgba(59, 165, 110, .12); }
.c-amb { border-color: #c7902f; color: #f6c46a; background: rgba(199, 144, 47, .12); }
.c-off { border-color: #43525a; color: #8aa0a8; }
.st-note { font-size: 12.5px; line-height: 1.5; color: rgba(200, 236, 242, .6); }

/* ---------- STEELSTORM ARSENAL ---------- */
.th-steelstorm .md-win { --acc: #e4b44a; --bg: #17181d; --ln: #454955; --ink: #f1f3f7; --mut: rgba(236, 238, 244, .74); border: 0; border-radius: 0; background: #8c92a0; padding: 4px; clip-path: var(--st4); box-shadow: none; }
.th-steelstorm .md-win::after { content: ''; position: absolute; inset: 4px; z-index: 0; background: #17181d; clip-path: var(--st4); }
.th-steelstorm .md-title .lg { font-size: clamp(15px, 2vw, 22px); }
.th-steelstorm .md-head { border-bottom: 4px solid #0b0c0f; }
.th-steelstorm .md-kind { border: 2px solid #e4b44a; border-radius: 0; color: #e4b44a; font-family: 'Press Start 2P', monospace; font-size: 8px; letter-spacing: .06em; }
.th-steelstorm .md-x { border: 2px solid #454955; border-radius: 0; background: #23252c; font-family: 'Press Start 2P', monospace; font-size: 11px; }
.th-steelstorm .md-x:hover { border-color: #e4b44a; background: #2d2f38; }
.th-steelstorm .md-stage { border-radius: 0; outline: 4px solid #0b0c0f; box-shadow: 0 0 0 8px #454955; margin: 6px 6px 8px; width: calc(100% - 12px); }
.th-steelstorm .md-nav { border-radius: 0; border: 2px solid #0b0c0f; background: #23252c; font-family: 'Press Start 2P', monospace; font-size: 16px; }
.th-steelstorm .md-text { font-size: 13px; }
.th-steelstorm .md-count { font-family: 'Press Start 2P', monospace; font-size: 9px; color: #e4b44a; }
.th-steelstorm .md-strip { gap: 4px; padding: 8px; background: #0f1013; border: 4px solid #454955; scrollbar-width: none; }
.th-steelstorm .md-th { width: 56px; height: 56px; aspect-ratio: auto; border-radius: 0; border: 3px solid #3a3d47; background: #23252c; opacity: 1; }
.th-steelstorm .md-th img { filter: brightness(.7) saturate(.9); border-radius: 0; }
.th-steelstorm .md-th:hover img { filter: brightness(.9); }
.th-steelstorm .md-th.on { border-color: #fff; outline: 3px solid #000; z-index: 1; }
.th-steelstorm .md-th.on img { filter: none; }
.th-steelstorm .md-th-n { left: auto; right: 3px; bottom: 2px; padding: 0; background: none; font-family: 'Press Start 2P', monospace; font-size: 8px; text-shadow: 1px 1px 0 #000; }

.ss-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ss-tile {
  display: grid; gap: 7px; align-content: start; text-align: left; padding: 12px; min-width: 0;
  background: #23252c; border: 3px solid #454955; box-shadow: inset -3px -3px 0 #14151a, inset 3px 3px 0 #3a3e49;
  clip-path: var(--st3); transition: border-color .15s, background .15s;
}
.ss-tile:hover { border-color: #8c92a0; background: #292c34; }
.ss-tile.on { border-color: #e4b44a; background: #2b2a24; }
.ss-n { font-family: 'Press Start 2P', monospace; font-size: 20px; line-height: 1; color: #e4b44a; text-shadow: 2px 2px 0 #000; }
.ss-l { font-family: 'Press Start 2P', monospace; font-size: 8px; line-height: 1.5; letter-spacing: .03em; text-transform: uppercase; color: #f1f3f7; }
.ss-s { font-size: 11px; line-height: 1.4; color: rgba(236, 238, 244, .6); }

/* ---------- PANTHEON ---------- */
.th-pantheon .md-win { --acc: #d8b45a; --bg: #0c1230; --ln: rgba(216, 180, 90, .38); --ink: #f3eedf; --mut: rgba(240, 234, 218, .74); border: 2px solid #d8b45a; border-radius: 6px; background: radial-gradient(120% 80% at 50% 0%, #1a2260 0%, #0c1230 58%, #080c20 100%); }
.th-pantheon .md-win::before, .th-pantheon .md-win::after {
  content: ''; position: absolute; top: 88px; bottom: 0; width: 26px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .38), rgba(255, 255, 255, .14) 35%, rgba(0, 0, 0, .05) 60%, rgba(0, 0, 0, .42)), repeating-linear-gradient(90deg, #eee7d6 0 4px, #d3cab1 4px 6px);
  box-shadow: 0 -6px 0 #d8b45a;
}
.th-pantheon .md-win::before { left: 6px; } .th-pantheon .md-win::after { right: 6px; }
.th-pantheon .md-head { display: block; padding: 0; border: 0; }
.pn-roof { position: relative; z-index: 2; width: min(600px, 72%); height: 62px; margin: 10px auto 0; background: linear-gradient(#f6f0de, #cdc2a3); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.pn-roof::before { content: ''; position: absolute; left: 12px; right: 12px; top: 7px; bottom: 0; background: #0f1640; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.pn-roof .md-title { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; }
.th-pantheon .md-title .lg { font-size: clamp(15px, 1.8vw, 21px); }
.pn-band { position: relative; z-index: 3; height: 14px; background: linear-gradient(#f6f0de, #cfc4a5 70%, #b9ad8c); border-top: 2px solid #d8b45a; border-bottom: 2px solid #d8b45a; }
.pn-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 7px; background: repeating-linear-gradient(90deg, #b9ad8c 0 7px, transparent 7px 14px); }
.pn-key { height: 16px; margin-top: 10px; background: var(--meander) repeat-x center / auto 100%; opacity: .85; }
.th-pantheon .md-kind { position: absolute; top: 16px; left: 46px; z-index: 4; border-radius: 2px; color: #d8b45a; border-color: rgba(216, 180, 90, .5); }
.th-pantheon .md-x { position: absolute; top: 12px; right: 44px; z-index: 4; border-radius: 3px; background: rgba(12, 18, 48, .8); }
.th-pantheon .md-body { padding: 4px 40px 0; }
.th-pantheon .md-view { padding-left: 8px; }
.th-pantheon .md-info { padding-right: 6px; }
.th-pantheon .md-stage { max-height: calc(100vh - 330px); border-radius: 2px; outline: 2px solid #d8b45a; outline-offset: 3px; margin: 4px; width: calc(100% - 8px); }
.th-pantheon .md-nav { border-radius: 3px; border-color: rgba(216, 180, 90, .6); }
.th-pantheon .md-th { border-radius: 2px; border-color: rgba(216, 180, 90, .4); }
.th-pantheon .md-th-n { font-family: 'Cinzel', serif; font-weight: 700; }
.th-pantheon .md-count { font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: .2em; color: #d8b45a; }
.th-pantheon .btn.primary { background: #d8b45a; border-color: #d8b45a; color: #0c1230; box-shadow: none; }

.pn-tabs { display: flex; border-bottom: 1px solid var(--ln); }
.pn-tab { flex: 1; padding: 12px 6px; margin-bottom: -1px; font-family: 'Cinzel', serif; font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--mut); border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.pn-tab:hover { color: #fff; }
.pn-tab.on { color: #d8b45a; border-bottom-color: #d8b45a; }
.pn-detail { display: grid; gap: 14px; padding-top: 16px; }
.pn-title { font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: .14em; font-size: 12px; color: #d8b45a; text-transform: uppercase; }
.pn-passive { display: grid; gap: 4px; padding: 10px 12px; font-size: 13px; line-height: 1.5; background: rgba(216, 180, 90, .08); border-left: 3px solid #d8b45a; }
.pn-passive b { color: #d8b45a; font-weight: 700; }
.pn-note { font-size: 13px; color: var(--mut); }
.pn-abil { display: grid; gap: 9px; }
.pn-abil li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.pn-abil kbd { flex: none; width: 29px; height: 29px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; border: 1px solid rgba(216, 180, 90, .6); background: rgba(216, 180, 90, .08); color: #d8b45a; border-radius: 3px; }
.pn-abil li.ult { font-weight: 700; color: #f0cf7e; }
.pn-abil li.ult kbd { background: #d8b45a; border-color: #d8b45a; color: #0c1230; }

/* ---------- pop-down on small screens ---------- */
@media (max-width: 900px) {
  .md { padding: 0; place-items: stretch; }
  .md-win { width: 100%; height: 100%; max-height: none; overflow: hidden auto; border-radius: 0 !important; }
  .th-stellar .md-win::before { width: 100%; animation: none; }
  .md-head { position: sticky; top: 0; background: var(--bg); }
  .md-body { grid-template-columns: 1fr; overflow: visible; flex: none; }
  .md-view { padding: 14px; overflow: visible; }
  .md-stage { max-height: none; }
  .md-info { border-left: 0; border-top: 1px solid var(--ln); overflow: visible; padding-bottom: 40px; }
  .md-th { width: 84px; }
  .th-steelstorm .md-win { clip-path: none; padding: 0; background: #17181d; }
  .th-steelstorm .md-win::after { display: none; }
  .th-steelstorm .md-th { width: 48px; height: 48px; }
  .th-steelstorm .md-stage { margin: 0; width: 100%; box-shadow: 0 0 0 4px #454955; outline-width: 3px; }
  .th-pantheon .md-win::before, .th-pantheon .md-win::after { display: none; }
  .th-pantheon .md-head { position: sticky; }
  .th-pantheon .md-body { padding: 0; }
  .th-pantheon .md-kind { left: 14px; }
  .th-pantheon .md-x { right: 12px; }
  .th-pantheon .pn-roof { width: 78%; }
  .th-pantheon .md-stage { margin: 0; width: 100%; }
}
@media (max-width: 520px) {
  .th-steelstorm .md-title .lg { font-size: 13px; }
  .ss-stats { grid-template-columns: 1fr; }
}
