/* =========================================================
   jguilar — portfolio
   ========================================================= */

:root {
  --bg: #070707;
  --bg-2: #0e0e0e;
  --panel: #141414;
  --panel-2: #1b1b1b;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f2eee8;
  --muted: #a39c93;
  --dim: #6c665f;
  --red: #e5242a;
  --red-hot: #ff3a2f;
  --green: #46d369;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --pad: clamp(16px, 4vw, 60px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading, body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 300;
  background: #fff; color: #000; padding: 10px 14px; border-radius: 4px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- utilities ---------- */
.rec {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); vertical-align: middle; margin-right: 4px;
  animation: blink 1.2s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

.box {
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 0 .45em; border-radius: 3px; font-size: .78em; line-height: 1.5;
}
.match { color: var(--green); font-weight: 700; }

.sec-head {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.sec-idx { color: var(--red); }
.sec-line { width: 44px; height: 1px; background: var(--line-2); }

.section { padding: clamp(96px, 13vw, 190px) var(--pad); }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 200; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: var(--text); mix-blend-mode: difference;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s;
  }
  .cursor__label {
    font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
    opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease);
  }
  .cursor.is-view { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--red); mix-blend-mode: normal; }
  .cursor.is-view .cursor__label { opacity: 1; transform: scale(1); }
  .cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .cursor.is-hidden { opacity: 0; }
}

/* =========================================================
   LOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.js body.is-loading .loader { pointer-events: auto; }
html:not(.js) .loader { display: none; }
.loader__panel {
  position: absolute; left: 0; right: 0; height: 50.5%; background: #000;
  transition: transform 1.1s var(--ease-io);
}
.loader__panel--top { top: 0; }
.loader__panel--bot { bottom: 0; }
.loader__inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 22px; padding: var(--pad); transition: opacity .45s ease;
}
.loader__row {
  width: min(760px, 100%); display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.loader__word {
  position: relative; font-weight: 900; font-stretch: 62%; line-height: .8;
  font-size: clamp(4.5rem, 19vw, 15rem); letter-spacing: -.01em;
}
.loader__word-out { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .25); }
.loader__word-fill {
  position: absolute; inset: 0; color: var(--text);
  clip-path: inset(0 100% 0 0);
}
body.is-ready .loader__inner { opacity: 0; }
body.is-ready .loader__panel--top { transform: translateY(-101%); transition-delay: .25s; }
body.is-ready .loader__panel--bot { transform: translateY(101%); transition-delay: .25s; }
body.is-done .loader { display: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad);
  background: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent);
  transition: background .4s ease, height .4s var(--ease);
}
.nav.is-solid { background: rgba(7, 7, 7, .92); height: 62px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.logo {
  font-weight: 900; font-stretch: 62%; font-size: 30px; letter-spacing: .01em; color: var(--red); line-height: 1;
}
.logo span { color: var(--text); font-family: var(--mono); font-size: 12px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; margin-left: 2px; }
.nav__links { display: flex; gap: 26px; margin-right: auto; margin-left: 28px; }
.nav__links a { font-size: 14px; color: #e5e5e5; transition: color .25s; position: relative; }
.nav__links a:hover { color: #b3b3b3; }
.nav__links a.is-current { color: #fff; font-weight: 700; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.nav__clock { color: var(--text); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(70, 211, 105, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(70, 211, 105, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 211, 105, 0); } }
.nav__cta {
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700;
  padding: 8px 16px; border-radius: 4px; transition: background .25s;
}
.nav__cta:hover { background: var(--red-hot); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
body.menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: #050505;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--pad) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--line);
  font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: 1;
}
.menu__links small { font-family: var(--mono); font-size: 11px; color: var(--red); font-weight: 500; font-stretch: 100%; }
.menu__foot { display: flex; gap: 20px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  /* la portada mide al menos una pantalla, pero crece si el contenido no cabe:
     así el título nunca se mete debajo del menú ni del HUD */
  position: relative; min-height: max(640px, 100vh); min-height: max(640px, 100svh); overflow: hidden;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 64px);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%;
  filter: grayscale(1) contrast(1.08) brightness(.82);
  transform: scale(1.14);
}
body.is-ready .hero__img, body.is-ready .hero__video { animation: kenburns 26s var(--ease) forwards; }
html:not(.js) .hero__img { transform: scale(1.04); }
@keyframes kenburns { to { transform: scale(1.02) translate3d(-1.2%, 0, 0); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(77deg, rgba(7, 7, 7, .92) 0%, rgba(7, 7, 7, .6) 34%, rgba(7, 7, 7, .05) 70%),
    linear-gradient(0deg, var(--bg) 2%, rgba(7, 7, 7, .55) 22%, transparent 45%),
    radial-gradient(120% 90% at 70% 40%, transparent 50%, rgba(0, 0, 0, .55) 100%);
}
.hero__shade::after { /* warm red bleed, like a projector */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 85% 20%, rgba(229, 36, 42, .16), transparent 70%);
  mix-blend-mode: screen;
}
.hero__hud {
  position: absolute; top: calc(var(--nav-h) + 18px); left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.hero__hud b { font-weight: 500; color: rgba(255, 255, 255, .85); margin-left: 6px; }

.hero__content {
  position: relative; z-index: 2; width: min(1200px, 100%);
  padding: 0 var(--pad); margin-bottom: clamp(160px, 22vh, 240px);
}
.hero__kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #d9d4cd;
}
.jmark {
  display: inline-grid; place-items: center; width: 22px; height: 28px;
  font-family: var(--sans); font-weight: 900; font-stretch: 62%; font-size: 26px; letter-spacing: 0; color: var(--red); line-height: 1;
}
.hero__title {
  font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .78;
  /* limitado también por la altura de pantalla (vh) para monitores anchos y bajos */
  font-size: clamp(5.4rem, min(18.5vw, 26vh), 17.5rem); letter-spacing: -.015em;
  margin: 10px 0 18px -0.04em;
}
.hero__chars { display: inline-flex; overflow: hidden; padding-top: .06em; }
.hero__chars span { display: inline-block; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; font-weight: 500; color: #e8e3dc;
}
.hero__roles {
  margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.hero__desc { margin-top: 10px; max-width: 34ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; color: #f4f0ea; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px 0 20px;
  border-radius: 5px; font-weight: 700; font-size: 17px; transition: background .2s, transform .2s;
}
.btn svg { width: 24px; height: 24px; }
.btn--play { background: #fff; color: #000; }
.btn--play svg { fill: currentColor; }
.btn--play:hover { background: rgba(255, 255, 255, .78); }
.btn--ghost { background: rgba(109, 109, 110, .62); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(109, 109, 110, .4); }
.btn:active { transform: scale(.97); }

.hero__rating {
  position: absolute; right: 0; z-index: 2; bottom: calc(clamp(160px, 22vh, 240px) + 10px);
  border-left: 3px solid #dcdcdc; background: rgba(51, 51, 51, .55);
  padding: 7px var(--pad) 7px 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}

/* hero entrance */
.js .hero__chars span { transform: translateY(105%); }
.js [data-enter] { opacity: 0; transform: translateY(18px); }
body.is-ready .hero__chars span { transform: none; transition: transform 1.2s var(--ease); }
body.is-ready [data-enter] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.is-ready .hero__kicker { transition-delay: .55s; }
body.is-ready .hero__meta { transition-delay: 1.05s; }
body.is-ready .hero__roles { transition-delay: 1.12s; }
body.is-ready .hero__desc { transition-delay: 1.2s; }
body.is-ready .hero__actions { transition-delay: 1.3s; }
body.is-ready .hero__rating { transition-delay: 1.4s; }

/* =========================================================
   PROJECT ROWS
   ========================================================= */
.projects { position: relative; z-index: 3; margin-top: clamp(-150px, -17vh, -100px); padding-bottom: clamp(70px, 9vw, 120px); }
.row-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding: 0 var(--pad); margin-bottom: 6px;
}
.row-head--sub { margin-top: clamp(40px, 5vw, 64px); margin-bottom: 14px; }
.row-title { font-size: clamp(19px, 1.7vw, 26px); font-weight: 700; letter-spacing: -.005em; }
.row-link { font-size: 14px; color: var(--muted); transition: color .2s; }
.row-link:hover { color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-2); color: #ddd;
  background: rgba(20, 20, 20, .6); transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: #fff; }
.chip.is-active { background: #fff; color: #000; border-color: #fff; font-weight: 600; }

.row { position: relative; }
.row__track {
  display: flex; gap: clamp(4px, 1vw, 14px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 26px var(--pad) 34px; scroll-padding: 0 var(--pad);
  scrollbar-width: none;
}
.row__track::-webkit-scrollbar { display: none; }
.row__arrow {
  position: absolute; top: 26px; bottom: 34px; z-index: 4; width: var(--pad); min-width: 44px;
  display: grid; place-items: center; color: #fff; background: rgba(7, 7, 7, .55);
  opacity: 0; transition: opacity .3s, background .3s;
}
.row__arrow svg { width: 30px; height: 30px; transition: transform .25s; }
.row__arrow--prev { left: 0; }
.row__arrow--next { right: 0; }
.row:hover .row__arrow { opacity: 1; }
.row__arrow:hover { background: rgba(7, 7, 7, .8); }
.row__arrow:hover svg { transform: scale(1.25); }
.row__arrow[disabled] { opacity: 0 !important; pointer-events: none; }

/* Top-10 style ranked cards */
.rank { flex: 0 0 auto; scroll-snap-align: start; }
.rank.is-hidden { display: none; }
.rank__btn {
  display: flex; align-items: flex-end; text-align: left;
  width: clamp(230px, 24vw, 360px);
}
.rank__num {
  flex: 0 0 auto; width: 46%; margin-right: -9%;
  font-weight: 900; font-stretch: 62%; line-height: .74; text-align: right;
  font-size: clamp(10.5rem, 15vw, 15.5rem); letter-spacing: -.06em;
  color: var(--bg); -webkit-text-stroke: 3px #5a5a5a; paint-order: stroke fill;
  transition: -webkit-text-stroke-color .4s;
  user-select: none;
}
.rank__btn:hover .rank__num, .rank__btn:focus-visible .rank__num { -webkit-text-stroke-color: var(--red); }

.poster {
  position: relative; z-index: 1; flex: 1 1 auto; aspect-ratio: 2 / 3; border-radius: 5px; overflow: hidden;
  background: var(--panel); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.poster img, .poster video, .wide img, .wide video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .5s, opacity .4s;
}
.poster video, .wide video { opacity: 0; }
.is-playing video { opacity: 1; }
.poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .25) 42%, transparent 60%);
}
.poster__j {
  position: absolute; z-index: 2; top: 8px; left: 9px;
  font-weight: 900; font-stretch: 62%; font-size: 22px; line-height: 1; color: var(--red);
}
.poster__text { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; }
.poster__title {
  display: block; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .9;
  font-size: clamp(22px, 2.1vw, 32px); letter-spacing: .005em;
}
.poster__sub { display: block; margin-top: 4px; font-size: 12px; color: #d4cfc8; }
.poster__hover {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s;
}
.poster__hover b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; flex: 0 0 auto; }
.poster__hover svg { width: 12px; height: 12px; fill: #000; margin-left: 2px; }
.rank__btn:hover .poster, .rank__btn:focus-visible .poster { transform: translateY(-8px) scale(1.04); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 1); }
.rank__btn:hover .poster img { transform: scale(1.06); }
.rank__btn:hover .poster__hover, .rank__btn:focus-visible .poster__hover { max-height: 40px; opacity: 1; }

.rank--ig .poster { background: linear-gradient(160deg, #1c1c1c, #0b0b0b); border: 1px solid var(--line); }
.rank--ig .poster::after { display: none; }
.ig-card {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 16px;
}
.ig-card svg { width: 34px; height: 34px; }
.ig-card strong { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 36px); line-height: .92; }
.ig-card span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rank--ig .rank__btn:hover .poster { border-color: var(--red); }

/* landscape "continue watching" */
.wide-item { flex: 0 0 auto; scroll-snap-align: start; }
.wide { display: block; width: clamp(260px, 27vw, 420px); text-align: left; }
.wide__media {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 5px 5px 0 0; overflow: hidden; background: var(--panel);
}
.wide__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 55%); }
.wide__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .45); display: grid; place-items: center;
  opacity: 0; transform: scale(.85); transition: opacity .3s, transform .4s var(--ease);
}
.wide__play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.wide__label { position: absolute; z-index: 2; left: 12px; bottom: 10px; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 18px; line-height: 1; }
.wide__bar { display: block; height: 3px; background: #4d4d4d; }
.wide__bar i { display: block; height: 100%; background: var(--red); width: var(--p, 50%); }
.wide__info { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px 0; font-size: 13px; color: var(--muted); }
.wide__info b { color: var(--text); font-weight: 600; }
.wide:hover img { transform: scale(1.05); }
.wide:hover .wide__play, .wide:focus-visible .wide__play { opacity: 1; transform: none; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px) 0; background: var(--bg-2);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 1;
  font-size: clamp(3rem, 8vw, 7.5rem); color: transparent; -webkit-text-stroke: 1.5px rgba(242, 238, 232, .5);
  transition: color .3s;
}
.marquee span:nth-of-type(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee i { color: var(--red); font-style: normal; font-size: clamp(1.4rem, 3vw, 2.6rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px);
  margin-top: clamp(36px, 5vw, 64px); align-items: start;
}
.vf {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--panel);
  position: sticky; top: 90px;
}
.vf img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: saturate(.85) contrast(1.05); }
.vf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 30%, transparent 75%, rgba(0, 0, 0, .45)); }
.vf__c { position: absolute; z-index: 2; width: 26px; height: 26px; border: 0 solid rgba(255, 255, 255, .85); }
.vf__c--tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.vf__c--tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.vf__c--bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.vf__c--br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }
.vf__cross { position: absolute; z-index: 2; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; }
.vf__cross::before, .vf__cross::after { content: ""; position: absolute; background: rgba(255, 255, 255, .6); }
.vf__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.vf__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.vf__top, .vf__bot {
  position: absolute; z-index: 2; left: 48px; right: 48px; display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(255, 255, 255, .85);
}
.vf__top { top: 18px; }
.vf__bot { bottom: 52px; }
.vf figcaption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 18px; text-align: center;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.vf figcaption em { color: var(--muted); padding: 0 .2em; font-size: 1.1em; }

.statement {
  font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .86;
  font-size: clamp(3rem, 7vw, 7.2rem); letter-spacing: -.01em;
}
.statement em { color: var(--red); font-size: 1.05em; }
.lead { margin-top: clamp(22px, 3vw, 36px); font-size: clamp(20px, 2.1vw, 30px); line-height: 1.25; max-width: 26ch; color: #ece7e0; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(26px, 3vw, 40px); color: var(--muted); font-size: 15.5px; }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(44px, 5vw, 72px);
  border-top: 1px solid var(--line-2);
}
.stats > div { padding: 18px 16px 0 0; border-right: 1px solid var(--line); }
.stats > div + div { padding-left: 16px; }
.stats > div:last-child { border-right: 0; }
.stats dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-height: 2.6em; }
.stats dd { font-weight: 900; font-stretch: 62%; font-size: clamp(3rem, 5.4vw, 5.4rem); line-height: .9; margin-top: 10px; font-variant-numeric: tabular-nums; }
.stat-pre { color: var(--red); }
.stats dd.stat-word { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1; margin-top: 18px; text-transform: uppercase; }

.langs { display: grid; gap: 12px; margin-top: clamp(40px, 4vw, 56px); max-width: 520px; }
.langs__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lang { display: grid; grid-template-columns: 90px 1fr 60px; align-items: center; gap: 14px; font-size: 15px; }
.lang b { font-weight: 600; }
.lang i { height: 3px; background: #333; position: relative; overflow: hidden; }
.lang i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--red); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
.langs.in .lang i::after { transform: none; }
.lang span { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }

/* =========================================================
   TOOLS / TIMELINE
   ========================================================= */
.tools { position: relative; background: var(--bg-2); border-top: 1px solid var(--line); }
.tools__pin {
  position: relative; overflow: hidden;
  display: grid; gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(96px, 13vw, 190px) var(--pad);
}
.tools__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tools__title { font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .88; font-size: clamp(2.2rem, 5vw, 4.8rem); max-width: 14ch; text-align: right; }
.tools__title em { color: var(--red); }

.monitor { display: grid; grid-template-rows: 1fr auto; min-height: 0; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: #000; }
.monitor__screen {
  position: relative; min-height: clamp(220px, 28vw, 380px); display: flex; align-items: center; gap: clamp(18px, 3vw, 44px);
  padding: clamp(18px, 3vw, 48px);
  background: radial-gradient(90% 120% at 15% 50%, rgba(229, 36, 42, .14), transparent 60%), #050505;
  overflow: hidden;
}
.monitor__safe { position: absolute; inset: 7% 5%; border: 1px dashed rgba(255, 255, 255, .1); pointer-events: none; }
.monitor__badge {
  flex: 0 0 auto; display: grid; place-items: center; width: clamp(70px, 10vw, 140px); aspect-ratio: 1; border-radius: clamp(12px, 1.6vw, 22px);
  border: 2px solid var(--red); color: var(--red);
  font-weight: 800; font-stretch: 75%; font-size: clamp(26px, 4vw, 58px); letter-spacing: -.02em;
  background: rgba(229, 36, 42, .07);
}
.monitor__info { min-width: 0; }
.monitor__track { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.monitor__name {
  display: block; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .86;
  font-size: clamp(2.6rem, 8.4vw, 8.5rem); letter-spacing: -.01em; margin: 6px 0 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.monitor__use { color: #d7d1c9; font-size: clamp(14px, 1.3vw, 18px); max-width: 52ch; line-height: 1.4; }
.monitor__swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.monitor__bar {
  display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #0b0b0b;
}
.monitor__tc { color: var(--red); font-size: 13px; }

.timeline {
  position: relative; border: 1px solid var(--line-2); border-radius: 6px; background: #0b0b0b;
  padding: 0 0 8px; user-select: none; --lab: 92px;
}
.timeline__ruler {
  position: relative; height: 26px; margin-left: var(--lab); border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 2.5%) bottom / 100% 7px no-repeat,
              repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 12.5%) bottom / 100% 13px no-repeat;
}
.timeline__ruler span { position: absolute; top: 4px; font-family: var(--mono); font-size: 10px; color: var(--dim); padding-left: 4px; }
.track { display: flex; height: clamp(30px, 4.6vh, 42px); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.track__label {
  flex: 0 0 var(--lab); display: flex; align-items: center; gap: 8px; padding: 0 10px;
  font-family: var(--mono); font-size: 10.5px; color: var(--muted); border-right: 1px solid var(--line); background: #101010;
}
.track__label b { color: var(--text); font-weight: 500; }
.track__lane { position: relative; flex: 1 1 auto; }
.clip {
  position: absolute; top: 4px; bottom: 4px; border-radius: 3px; overflow: hidden;
  display: flex; align-items: center; padding: 0 8px; gap: 6px;
  font-size: 12px; font-weight: 600; white-space: nowrap; text-align: left;
  background: #2a2a2a; border: 1px solid rgba(255, 255, 255, .12); color: #cfcfcf;
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.clip[data-kind="v"] { background: linear-gradient(180deg, #2d2b33, #232129); }
.clip[data-kind="a"] { background: linear-gradient(180deg, #1f2a24, #18201b); }
.clip[data-kind="a"]::before { /* waveform */
  content: ""; position: absolute; inset: 40% 0 10%; opacity: .35;
  background: repeating-linear-gradient(90deg, #8fd6a6 0 2px, transparent 2px 4px);
  -webkit-mask: linear-gradient(0deg, #000, #000) ; mask: linear-gradient(0deg, #000, #000);
  clip-path: polygon(0 60%, 5% 20%, 10% 70%, 15% 10%, 20% 50%, 25% 30%, 30% 80%, 35% 15%, 40% 55%, 45% 25%, 50% 70%, 55% 5%, 60% 45%, 65% 30%, 70% 75%, 75% 20%, 80% 50%, 85% 10%, 90% 60%, 95% 30%, 100% 55%, 100% 100%, 0 100%);
}
.clip span { position: relative; overflow: hidden; text-overflow: ellipsis; }
.clip:hover { border-color: rgba(255, 255, 255, .45); color: #fff; }
.clip.is-active { background: var(--red); border-color: #ff7a6f; color: #fff; box-shadow: 0 0 22px rgba(229, 36, 42, .45); }
.clip.is-active::before { opacity: .5; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px); }

.playhead { position: absolute; top: 0; bottom: 0; left: var(--lab); width: 0; z-index: 3; pointer-events: none; will-change: transform; }
.playhead::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--red-hot); box-shadow: 0 0 10px rgba(255, 58, 47, .8); }
.playhead i { position: absolute; top: 0; left: -7px; width: 14px; height: 16px; background: var(--red-hot); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* =========================================================
   EPISODES
   ========================================================= */
.eps__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.eps__title { margin-top: 18px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .85; font-size: clamp(3.4rem, 9vw, 9rem); }
.season {
  border: 1px solid var(--line-2); background: #1b1b1b; border-radius: 4px; padding: 10px 16px;
  font-size: 15px; font-weight: 600;
}
.eps__list { margin-top: clamp(30px, 4vw, 52px); border-top: 1px solid var(--line-2); }
.ep {
  display: grid; grid-template-columns: 70px minmax(0, 260px) minmax(0, 1fr); align-items: center; gap: clamp(16px, 2.4vw, 34px);
  padding: clamp(20px, 2.4vw, 30px) clamp(8px, 1.6vw, 24px); border-bottom: 1px solid var(--line);
  border-radius: 4px; transition: background .3s;
}
.ep:hover { background: #121212; }
.ep__n { font-size: clamp(28px, 2.6vw, 38px); color: #d2d2d2; text-align: center; font-weight: 300; }
.ep__thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; display: grid; place-items: center;
  font-weight: 900; font-stretch: 62%; font-size: clamp(34px, 4vw, 58px); letter-spacing: .02em;
}
.ep__thumb span { position: relative; z-index: 1; }
.ep__thumb::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px); }
.ep__thumb--a { background: radial-gradient(80% 100% at 20% 0%, #5b1a1a, #1a0b0b 70%); }
.ep__thumb--b { background: radial-gradient(80% 100% at 80% 0%, #3b2f6b, #0f0c1d 70%); }
.ep__thumb--c { background: radial-gradient(80% 100% at 50% 100%, #12485a, #071318 70%); }
.ep__thumb--next { background: #0b0b0b; border: 1px dashed rgba(255, 255, 255, .3); transition: border-color .3s, background .3s; }
.ep__thumb--next svg { width: 40px; height: 40px; fill: #fff; transition: transform .4s var(--ease), fill .3s; }
.ep__thumb--next:hover { border-color: var(--red); background: rgba(229, 36, 42, .08); }
.ep__thumb--next:hover svg { transform: scale(1.15); fill: var(--red); }
.ep__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #4d4d4d; z-index: 1; }
.ep__prog::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) .3s; }
.ep.in .ep__prog::after { transform: none; }
.ep__top { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.ep__top h3 { font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; line-height: 1.25; }
.ep__dur { flex: 0 0 auto; font-family: var(--mono); font-size: 13px; color: var(--text); }
.ep__dur--soon { color: var(--red); }
.ep__org { margin: 4px 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ep__body > p:last-child { color: #b9b3ab; font-size: 15px; max-width: 70ch; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 200px) var(--pad) clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.contact__glow {
  position: absolute; left: 50%; bottom: -40%; width: 140%; height: 90%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(229, 36, 42, .22), transparent 70%);
}
.contact__kicker { position: relative; margin-top: clamp(30px, 4vw, 54px); font-size: clamp(18px, 1.8vw, 24px); color: var(--muted); }
.contact__title {
  position: relative; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .84; letter-spacing: -.01em;
  font-size: clamp(3.6rem, 12.5vw, 13.5rem); margin-top: 10px;
}
.contact__title em { color: var(--red); }
.clist { position: relative; margin-top: clamp(44px, 6vw, 90px); border-top: 1px solid var(--line-2); }
.clist li { position: relative; border-bottom: 1px solid var(--line-2); }
.clist__row {
  position: relative; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 20px;
  padding: clamp(18px, 2.4vw, 30px) 6px; overflow: hidden; isolation: isolate;
}
.clist__row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.clist__row:hover::before, .clist__row:focus-visible::before { transform: none; }
.clist__label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.clist__value { font-weight: 800; font-stretch: 75%; font-size: clamp(1.6rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -.01em; transition: transform .55s var(--ease); overflow-wrap: anywhere; }
.clist__value--mail { font-size: clamp(1.2rem, 3.4vw, 3.4rem); }
.clist__arrow { font-size: clamp(24px, 3vw, 44px); transition: transform .55s var(--ease); }
.clist__row:hover .clist__label { color: #fff; }
.clist__row:hover .clist__value { transform: translateX(12px); }
.clist__row:hover .clist__arrow { transform: rotate(45deg); }
.copy {
  position: absolute; right: clamp(64px, 6vw, 96px); top: 50%; transform: translateY(-50%); z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(7, 7, 7, .6); transition: background .2s, color .2s;
}
.copy:hover { background: #fff; color: #000; }

/* =========================================================
   CREDITS / FOOTER
   ========================================================= */
.credits { position: relative; padding: clamp(80px, 10vw, 150px) var(--pad) 26px; background: #000; overflow: hidden; }
.credits__list { display: grid; gap: 10px; justify-items: center; }
.credits__list div { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; width: min(560px, 100%); }
.credits__list dt { text-align: right; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.credits__list dd { font-weight: 700; font-size: 17px; }
.credits__word {
  margin-top: clamp(60px, 8vw, 120px); text-align: center; white-space: nowrap;
  font-weight: 900; font-stretch: 62%; line-height: .74; letter-spacing: -.02em;
  font-size: 29vw; color: var(--red); margin-bottom: -.06em;
}
.credits__bar {
  position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.credits__social { display: flex; gap: 20px; }
.credits__bar a:hover { color: var(--text); }

/* =========================================================
   MODAL
   ========================================================= */
.modal {
  width: min(880px, calc(100% - 24px)); max-height: calc(100% - 48px); margin: auto; padding: 0; border: 0;
  border-radius: 8px; background: #181818; color: var(--text); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .8);
  scrollbar-width: thin; scrollbar-color: #444 transparent;
}
.modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal[open] { animation: modalIn .5s var(--ease); }
.modal[open]::backdrop { animation: fade .4s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.modal__box { position: relative; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  background: #181818; display: grid; place-items: center; transition: background .2s;
}
.modal__close svg { width: 22px; height: 22px; }
.modal__close:hover { background: #333; }
.modal__hero { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.modal__media img, .modal__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__media img.is-contain { object-fit: contain; background: #000; }
.modal__media .blurbg { object-fit: cover; filter: blur(30px) brightness(.5); transform: scale(1.2); }
.modal__shade { position: absolute; inset: 0; background: linear-gradient(0deg, #181818 0%, rgba(24, 24, 24, .4) 30%, transparent 55%); }
.modal__heroText { position: absolute; left: clamp(18px, 4vw, 48px); right: clamp(18px, 4vw, 48px); bottom: clamp(14px, 3vw, 36px); }
.modal__cat { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #ddd; }
.modal__title { font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .86; font-size: clamp(2.4rem, 7vw, 5.2rem); margin: 6px 0 16px; max-width: 16ch; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modal__actions .btn { height: 44px; font-size: 15px; padding: 0 20px 0 16px; }
.modal__body {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px;
  padding: 8px clamp(18px, 4vw, 48px) 28px;
}
.modal__meta { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #e0dbd4; }
.modal__desc { margin-top: 14px; font-size: 16px; line-height: 1.55; color: #e9e5df; }
.modal__side { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.modal__side div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.modal__side dt { color: #777; }
.modal__more { padding: 0 clamp(18px, 4vw, 48px) 40px; }
.modal__more h4 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.more__card { display: block; text-align: left; background: #2f2f2f; border-radius: 5px; overflow: hidden; transition: background .2s; }
.more__card:hover { background: #3a3a3a; }
.more__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.more__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.more__card:hover img { transform: scale(1.06); }
.more__body { display: block; padding: 12px 14px 16px; }
.more__body b { display: block; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 18px; line-height: 1.05; }
.more__body small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 500; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: #fff; color: #000; font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: 6px;
  transition: transform .5s var(--ease), visibility 0s .5s; pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* =========================================================
   REVEAL
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .vf[data-reveal] { transform: none; clip-path: inset(12% 0 12% 0); transition: clip-path 1.4s var(--ease), opacity .6s; }
.js .vf[data-reveal].in { clip-path: inset(0 0 0 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__status { display: none; }
  .burger { display: block; }
}
@media (max-width: 960px) {
  .hero__rating { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .vf { position: relative; top: 0; max-width: 460px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(3) { padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
  .modal__body { grid-template-columns: 1fr; gap: 18px; }
  .tools__title { text-align: left; }
}
@media (max-width: 720px) {
  :root { --nav-h: 62px; }
  .nav__cta { display: none; }
  .logo { font-size: 26px; }
  .hero { min-height: 600px; }
  .hero__img { object-position: 40% 30%; }
  .hero__shade {
    background:
      linear-gradient(0deg, var(--bg) 6%, rgba(7, 7, 7, .82) 38%, rgba(7, 7, 7, .2) 70%, rgba(7, 7, 7, .45) 100%);
  }
  .hero__content { margin-bottom: 150px; }
  .hero__hud span:last-child { display: none; }
  .hero__rating { display: none; }
  .hero__meta { font-size: 13.5px; }
  .hero__desc { font-size: 16.5px; }
  .btn { height: 46px; font-size: 15.5px; padding: 0 18px 0 14px; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; }
  .hero__actions .btn { flex: 1 1 0; justify-content: center; padding: 0 8px; font-size: 14.5px; gap: 7px; white-space: nowrap; }
  .hero__actions .btn svg { width: 20px; height: 20px; }
  .projects { margin-top: -110px; }
  .row__arrow { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 2px var(--pad); scrollbar-width: none; width: calc(100% + var(--pad) * 2); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .rank__btn { width: 220px; }
  .rank__num { font-size: 9.6rem; -webkit-text-stroke-width: 2.5px; }
  .wide { width: 270px; }
  .about__cols { grid-template-columns: 1fr; gap: 14px; }
  .lang { grid-template-columns: 76px 1fr 50px; }
  .timeline { --lab: 46px; }
  .track__label { padding: 0 6px; font-size: 10px; }
  .track__label span { display: none; }
  .clip { padding: 0 4px; font-size: 9.5px; }
  .clip span { text-overflow: clip; }
  .monitor__screen { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
  .monitor__badge { width: 56px; border-radius: 12px; font-size: 22px; }
  .monitor__bar .hint { display: none; }
  .ep { grid-template-columns: 1fr; gap: 12px; padding-inline: 0; }
  .ep__n { display: none; }
  .ep__thumb { max-width: 100%; }
  .ep__top { flex-direction: column; gap: 2px; }
  .clist__row { grid-template-columns: 1fr auto; gap: 8px 12px; padding-right: 4px; }
  .clist__label { grid-column: 1 / -1; }
  .copy { top: 22px; transform: none; right: 4px; }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal { width: calc(100% - 16px); max-height: calc(100% - 24px); }
  .modal__hero { aspect-ratio: 4 / 5; }
  .modal__title { font-size: clamp(2.1rem, 11vw, 3rem); max-width: none; }
  .modal__actions .btn { height: 42px; font-size: 14px; }
  .credits__list div { gap: 14px; }
  .credits__bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
  .marquee__track { animation: none; }
}

/* ---------- late additions ---------- */
body.modal-open { overflow: hidden; }
.clip__abbr { display: none; }
.clip--ghost { opacity: .55; pointer-events: none; color: #8a8a8a; font-weight: 500; font-family: var(--mono); font-size: 10px; }
@media (max-width: 720px) {
  .clip__full { display: none; }
  .clip__abbr { display: inline; }
  .clip--ghost span { display: none; }
}
