/* sarthakkc.com.np: SOC war room. Maximalist, cyber, readable. */
:root {
  --bg: #050706;
  --bg-2: #0b0f0d;
  --bg-3: #121815;
  --ink: #eaf2ee;
  --ink-2: #9fb0a7;
  --ink-3: #5d6b64;
  --line: #1d2622;
  --line-2: #2c3a33;
  --lime: #c6ff00;
  --lime-ink: #0a0d00;
  --red: #ff2d55;
  --cyan: #00e5ff;
  --amber: #ffb020;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1600px;
  --r: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--display); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--lime-ink); }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
p, h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); }
.dim { color: var(--ink-3); }
.c-lime { color: var(--lime); font-style: normal; }
.c-red { color: var(--red); font-style: normal; }
.c-amber { color: var(--amber); font-style: normal; }
.hl { color: var(--lime); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 16px; background: var(--lime); color: var(--lime-ink); }
.skip:focus-visible { top: 16px; }

/* grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 15px/1 var(--mono); text-transform: lowercase; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn--lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 0 var(--lime); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px rgba(198, 255, 0, 0.55); }
.btn--ghost { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn:active { transform: translateY(1px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 var(--pad);
  background: rgba(5, 7, 6, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
  background: var(--lime); color: var(--lime-ink); font: 900 14px/1 var(--display); font-variation-settings: "wdth" 125;
}
.nav__name { font: 500 14px/1 var(--mono); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  display: block; padding: 8px 12px; border-radius: 999px; font: 400 13px/1 var(--mono); color: var(--ink-2); text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover, .nav__links a.is-on { color: var(--lime-ink); background: var(--lime); }
.nav__clock { font: 400 13px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.nav__clock span { color: var(--lime); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  padding: 120px var(--pad) 140px; isolation: isolate; overflow: hidden;
}
.hero__stream { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0.55; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(198, 255, 0, 0.10), transparent 70%),
    linear-gradient(to top, var(--bg) 8%, rgba(5, 7, 6, 0.55) 45%, rgba(5, 7, 6, 0.2)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
}
.hero__inner { max-width: var(--max); width: 100%; margin: 0 auto; }
.hero__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.tag { padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: 12px; }
.tag--red { background: var(--red); color: #fff; animation: blink 1.6s steps(2) infinite; }
.tag--lime { background: transparent; color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
@keyframes blink { 50% { opacity: 0.35; } }
.hero__name {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.12em;
  font: 900 clamp(3.4rem, 12.6vw, 15rem)/0.82 var(--display); font-variation-settings: "wdth" 125;
  letter-spacing: -0.03em; text-transform: uppercase; min-width: 0;
}
.hero__name span { white-space: nowrap; }
.hero__name--out { color: transparent; -webkit-text-stroke: 2px var(--lime); }
.hero__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-top: 32px; }
.hero__line { font: 800 clamp(1.6rem, 3.2vw, 3rem)/1.05 var(--display); font-variation-settings: "wdth" 110; max-width: 18ch; text-transform: uppercase; }
.hero__line em { font-style: normal; color: var(--lime); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hud {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0;
  background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  max-width: calc(var(--max)); margin-inline: auto;
}
.hero__hud div { background: rgba(5, 7, 6, 0.85); padding: 12px 16px; }
.hero__hud dt { font-size: 11px; color: var(--ink-3); }
.hero__hud dd { margin: 2px 0 0; font-size: 15px; color: var(--ink); font-weight: 500; }
.hero__hud div:first-child dd { color: var(--lime); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--lime); color: var(--lime-ink); border-block: 1px solid var(--lime); transform: rotate(-1.2deg) scale(1.03); margin-block: 24px; }
.ticker__track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker ul { display: flex; }
.ticker li { padding: 16px 28px; font: 900 clamp(1.1rem, 2vw, 1.6rem)/1 var(--display); font-variation-settings: "wdth" 125; text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: "/"; margin-left: 56px; opacity: 0.35; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--pad) 0; }
.sec__head { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec__num { font-size: 14px; color: var(--lime); padding: 4px 10px; border: 1px solid var(--lime); border-radius: 999px; flex: none; }
.sec h2, .replay h2 {
  font: 900 clamp(2.6rem, 8vw, 7.5rem)/0.88 var(--display); font-variation-settings: "wdth" 125;
  letter-spacing: -0.02em; text-transform: uppercase; overflow-wrap: anywhere; min-width: 0;
}

/* stats bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  padding: clamp(18px, 2vw, 28px); border-radius: var(--r); overflow: hidden; min-width: 0;
  transition: transform 0.4s var(--ease); container-type: inline-size;
}
.tile:hover { transform: translateY(-4px) rotate(-0.4deg); }
.tile__label { font-size: 13px; opacity: 0.8; }
.tile__fig { font: 900 min(9rem, 34cqi)/0.85 var(--display); white-space: nowrap; font-variation-settings: "wdth" 125; letter-spacing: -0.03em; }
.tile__fig--sm { font-size: min(2.6rem, 11cqi); line-height: 1; letter-spacing: -0.01em; white-space: normal; }
.tile__foot { font-size: 13px; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--big .tile__fig { font-size: min(22rem, 62cqi); }
.tile--lime { background: var(--lime); color: var(--lime-ink); }
.tile--lime::before {
  content: ""; position: absolute; inset: 0; opacity: 0.12; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--lime-ink) 0 2px, transparent 2px 14px);
}
.tile--dark { background: var(--bg-3); border: 1px solid var(--line-2); }
.tile--dark .tile__fig { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.tile--red { grid-row: span 2; background: var(--red); color: #fff; }
.tile__fig--cve { font-size: min(4.5rem, 13cqi); line-height: 0.9; }
.tile__fig--cve span { display: block; font-size: 2.6em; }
.tile--cyan { background: var(--cyan); color: #00161a; }
.tile--grid {
  grid-column: span 2; background-color: var(--bg-2); border: 1px solid var(--line-2);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.tile__list { display: flex; flex-wrap: wrap; gap: 10px; }
.tile__list li {
  padding: 10px 18px; border-radius: 999px; background: var(--bg); border: 1px solid var(--lime);
  font: 800 clamp(1rem, 1.8vw, 1.5rem)/1 var(--display); font-variation-settings: "wdth" 115; color: var(--lime); text-transform: uppercase;
}
.tile--outline { grid-column: span 2; border: 1.5px dashed var(--amber); color: var(--amber); }

/* ---------- replay (pinned) ---------- */
.replay { position: relative; margin-top: clamp(80px, 12vw, 160px); }
.replay__stick {
  position: sticky; top: 64px; height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; gap: 28px;
  max-width: var(--max); margin: 0 auto; padding: 24px var(--pad);
}
.replay__track { margin-top: calc(-100svh + 64px); }
.replay__track div { height: 70svh; }
.sec__head--inline { flex-wrap: wrap; margin: 0; row-gap: 8px; }
.replay h2 { font-size: clamp(2.2rem, 6vw, 5.5rem); }
.replay__note { width: 100%; font-size: 13px; color: var(--ink-3); }
.replay__body { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 24px; align-items: start; }
.stages { display: grid; gap: 8px; }
.stages li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 10px; border: 1px solid var(--line-2);
  font: 800 clamp(1.2rem, 2vw, 1.8rem)/1 var(--display); font-variation-settings: "wdth" 120; text-transform: uppercase; color: var(--ink-3);
  transition: background-color 0.35s var(--ease), color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.stages li span { font-size: 12px; font-weight: 400; }
.stages li.is-done { color: var(--ink); border-color: var(--ink-3); }
.stages li.is-on { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); transform: translateX(8px); }
.term { position: relative; z-index: 1; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(11, 15, 13, 0.92); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.term__bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); font-size: 12px; color: var(--ink-3); }
.term__sev { padding: 2px 8px; border-radius: 4px; background: var(--bg-3); color: var(--ink-2); transition: background-color 0.3s, color 0.3s; }
.term__sev.is-high { background: var(--red); color: #fff; }
.term__body { padding: 20px 18px 24px; font-size: clamp(12px, 1.1vw, 15px); line-height: 1.75; overflow-wrap: anywhere; }
.term__body b { color: var(--cyan); font-weight: 500; }
.term__body p { transition: opacity 0.4s, transform 0.4s var(--ease); }
.term__body p.dim { padding-left: 2ch; margin-bottom: 6px; }
.replay__big {
  position: absolute; right: -2%; bottom: -12%; z-index: 0; pointer-events: none;
  font: 900 clamp(10rem, 30vw, 30rem)/0.8 var(--display); font-variation-settings: "wdth" 125;
  color: transparent; -webkit-text-stroke: 2px rgba(198, 255, 0, 0.22);
}
/* script on and motion allowed: lines wait for their stage */
.js .replay.is-live .term__body p { opacity: 0; transform: translateY(8px); }
.js .replay.is-live .term__body p.is-in { opacity: 1; transform: none; }

/* ---------- work ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line-2); min-width: 0;
  transition: border-color 0.3s, transform 0.4s var(--ease), background-color 0.3s;
}
.card:hover { border-color: var(--lime); transform: translateY(-4px); }
.card h3 { font: 900 clamp(1.6rem, 2.6vw, 2.4rem)/0.95 var(--display); font-variation-settings: "wdth" 120; text-transform: uppercase; letter-spacing: -0.01em; }
.card p { color: var(--ink-2); }
.card__meta { font-size: 12px; color: var(--lime) !important; }
.card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-content: start; background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); }
.card--feature > :not(.card__art) { grid-column: 1; }
.card--feature h3 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.card__art {
  grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; padding: 22px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--lime); font-size: clamp(11px, 1.05vw, 14px); line-height: 1.9; white-space: pre; overflow-x: auto;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chips li { padding: 5px 10px; border-radius: 999px; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line-2); }

/* ---------- shell ---------- */
.shell__wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 14px; }
.shell__term { display: flex; flex-direction: column; height: clamp(380px, 55vh, 520px); border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; }
.shell__out { flex: 1; overflow-y: auto; padding: 18px; font-size: 14px; line-height: 1.7; }
.shell__out p { white-space: pre-wrap; overflow-wrap: anywhere; }
.shell__out .cmd { color: var(--ink-3); margin-top: 10px; }
.shell__out .err { color: var(--red); }
.shell__out .ok { color: var(--lime); }
.shell__form { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line-2); font-size: 14px; }
.shell__form label { white-space: nowrap; color: var(--ink-2); }
.shell__form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font: inherit; caret-color: var(--lime); outline: none; }
.shell__form:focus-within { box-shadow: inset 0 2px 0 var(--lime); }
.shell__quick { display: flex; flex-direction: column; gap: 8px; }
.shell__hint { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.qc {
  min-height: 48px; padding: 0 16px; text-align: left; border-radius: 10px; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink); font-size: 14px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.qc::before { content: "$ "; color: var(--lime); }
.qc:hover { border-color: var(--lime); }
.qc:active { background: var(--lime); color: var(--lime-ink); }
.qc:last-child { border-color: var(--red); }

/* ---------- contact ---------- */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(100px, 14vw, 200px) var(--pad) clamp(60px, 8vw, 100px); }
.contact .sec__num { display: inline-block; margin-bottom: 24px; }
.contact__head {
  font: 900 clamp(4rem, 16vw, 16rem)/0.82 var(--display); font-variation-settings: "wdth" 125;
  letter-spacing: -0.03em; text-transform: uppercase; overflow-wrap: anywhere; min-width: 0;
}
.contact__mail {
  display: inline-block; margin-top: 32px; font: 800 clamp(1.3rem, 4vw, 3.6rem)/1.1 var(--display); font-variation-settings: "wdth" 105;
  text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; overflow-wrap: anywhere;
  transition: color 0.2s;
}
.contact__mail:hover { color: var(--lime); }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; font-size: 14px; }
.contact__links li { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }
.contact__links a { text-decoration: none; color: var(--ink); }
.contact__links li:has(a):hover { border-color: var(--lime); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px var(--pad); border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }


/* ---------- mobile menu ---------- */
.nav__menu {
  display: none; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--line-2); font-size: 13px;
}
.nav__menu[aria-expanded="true"] { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.mnav { position: fixed; inset: 64px 0 0; z-index: 49; padding: 24px var(--pad); background: rgba(5, 7, 6, 0.97); backdrop-filter: blur(10px); }
.mnav li { border-bottom: 1px solid var(--line); }
.mnav a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; text-decoration: none;
  font: 900 clamp(2rem, 10vw, 3.4rem)/1 var(--display); font-variation-settings: "wdth" 125; text-transform: uppercase;
}
.mnav a span { font-size: 13px; font-weight: 400; color: var(--lime); }
.mnav a:hover { color: var(--lime); }

/* ---------- record ---------- */
.record__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; align-items: start; }
.timeline { position: relative; display: grid; gap: 14px; }
.tl {
  position: relative; padding: 24px 28px 26px 52px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line-2);
}
.tl::before {
  content: ""; position: absolute; left: 24px; top: 30px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--ink-3); background: var(--bg);
}
.tl--now::before { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 0 6px rgba(198, 255, 0, 0.15); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(198, 255, 0, 0.45); } 100% { box-shadow: 0 0 0 14px rgba(198, 255, 0, 0); } }
.tl__when { font-size: 12px; color: var(--lime); margin-bottom: 8px; }
.tl h3 { font: 900 clamp(1.5rem, 2.6vw, 2.4rem)/1 var(--display); font-variation-settings: "wdth" 120; text-transform: uppercase; }
.tl__where { margin-top: 6px; color: var(--ink); }
.tl__what { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.certs { position: sticky; top: 88px; padding: 24px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line-2); }
.certs__head { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.certs__head span { color: var(--lime); }
.certs li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.certs li:last-child { border-bottom: 0; padding-bottom: 0; }
.certs b { font: 900 15px/1.2 var(--display); font-variation-settings: "wdth" 115; color: var(--lime); text-transform: uppercase; }
.certs span { font-size: 15px; color: var(--ink-2); }

/* ---------- polish ---------- */
.replay__bar { width: 100%; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; margin-top: 4px; }
.replay__bar span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 1)); }
.card, .tl, .certs { --mx: 50%; --my: 50%; }
.card::after, .tl::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(198, 255, 0, 0.09), transparent 60%);
}
.card:hover::after, .tl:hover::after { opacity: 1; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(198, 255, 0, 0.07) 85%, rgba(198, 255, 0, 0.35) 100%);
  animation: scan 7s linear infinite;
}
@keyframes scan { from { transform: translateY(-140px); } to { transform: translateY(100vh); } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px) scale(0.98); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__clock { margin-left: auto; }
  .nav__menu { display: inline-flex; align-items: center; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .replay__stick { position: static; height: auto; }
  .replay__track { display: none; }
  .replay__body { grid-template-columns: minmax(0, 1fr); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages li.is-on { transform: none; }
  .card--feature { grid-template-columns: minmax(0, 1fr); }
  .card__art { grid-column: 1; grid-row: auto; }
  .shell__wrap { grid-template-columns: minmax(0, 1fr); }
  .record__grid { grid-template-columns: minmax(0, 1fr); }
  .certs { position: static; }
  .shell__quick { flex-direction: row; flex-wrap: wrap; }
  .shell__hint { width: 100%; }
}
@media (max-width: 640px) {
  .hero { padding-bottom: 200px; }
  .hero__hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions, .hero__actions .btn { width: 100%; justify-content: center; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--big, .tile--grid, .tile--outline, .tile--red { grid-column: auto; grid-row: auto; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .nav__name { display: none; }
  .tl { padding: 20px 20px 22px 44px; }
  .tl::before { left: 18px; top: 26px; }
  .certs li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tag--red, .tl--now::before { animation: none; }
  .hero::after { animation-duration: 20s; }
  .ticker__track { animation-duration: 120s; }
  .js .reveal { transform: none; }
  .tile:hover, .card:hover, .btn--lime:hover { transform: none; }
  .stages li.is-on { transform: none; }
}
