/* ============================================================
   MUHAMMAD IHSAN RIZKA — PROJECTS
   Red broadcast page: white condensed type, black on hover,
   cream journey, dark footer, CRT glass over everything.
   ============================================================ */

:root {
  --blue: #0000FF;
  --ink: #1c1917;
  --paper: #f4f2ee;
  --white-85: rgba(255, 255, 255, 0.85);
  --line: rgba(255, 255, 255, 0.18);
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-ui: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-crt: 'VT323', 'Courier New', monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: #1a1614;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-font-smoothing: antialiased;
}
html::-webkit-scrollbar { display: none; }

body {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-ui);
  cursor: none;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
img { user-select: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
a, button { cursor: none; }

::selection { background: var(--ink); color: #fff; }

.skip-link {
  position: fixed; top: -100px; left: 20px; z-index: 99999;
  background: var(--ink); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 2px; transition: top 0.2s ease;
}
.skip-link:focus { top: 20px; }
:focus-visible {
  outline: 2px solid var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.75);
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── background fluid ── */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#fluid { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============================ NAV ============================ */
.site-nav {
  position: fixed; top: 38px; left: 48px; right: 48px; z-index: 9000;
  height: 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 22px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: transparent;
  transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
}
.site-nav.is-scrolled {
  background: rgba(28, 25, 23, 0.30);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-left {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); white-space: nowrap; transition: color 0.25s;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; /* truncate before colliding */
}
.nav-left:hover { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.nav-link {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); transition: color 0.25s; white-space: nowrap;
}
.nav-link:hover { color: #fff; }
.nav-link--cta { color: #fff; }

/* body on light section: nav flips dark */
body.on-light .site-nav { border-color: rgba(28, 25, 23, 0.18); }
body.on-light .site-nav.is-scrolled {
  background: rgba(244, 242, 238, 0.45);
  border-color: rgba(28, 25, 23, 0.25);
}
body.on-light .nav-left, body.on-light .nav-link { color: rgba(28, 25, 23, 0.60); }
body.on-light .nav-left:hover, body.on-light .nav-link:hover,
body.on-light .nav-link--cta { color: var(--ink); }

/* ── ghost page header ── */
.page-header {
  position: fixed; top: 50%; right: 48px; transform: translateY(-50%);
  z-index: 10; text-align: right; pointer-events: none; user-select: none;
}
.page-header-nr {
  font-size: 0.70rem; font-weight: 600; letter-spacing: 0.12em;
  color: #fff; margin-bottom: 6px; text-transform: uppercase;
}
.page-header-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  text-transform: uppercase; line-height: 0.88; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.08);
}
body.on-light .page-header-nr { color: var(--blue); }
body.on-light .page-header-title { color: rgba(28, 25, 23, 0.07); }

/* ============================ WRAP ============================ */
.wrap {
  position: relative; z-index: 1;
  padding: 150px 64px 0 48px;
  max-width: 1720px;
}

/* ── hero title ── */
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4.5rem, 11vw, 13rem);
  text-transform: uppercase; line-height: 0.82; letter-spacing: -0.01em;
  color: var(--white-85);
  margin: 0 0 40px;
}
.page-intro {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  line-height: 1.5; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--white-85);
  margin-bottom: 48px;
  max-width: 30em;
}

/* ============================ PROJECT ROWS ============================ */
.projects-list { list-style: none; margin-bottom: 32px; }

.project-row {
  border-top: 1px solid var(--line);
  transition: border-color 0.3s;
}
.project-row:last-child { border-bottom: 1px solid var(--line); }

.project-row-head {
  width: 100%; display: flex; align-items: center;
  padding: 22px 0;
  background: none; border: 0; color: inherit; font: inherit; text-align: left;
}
.project-row-nr {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  letter-spacing: 0.04em; line-height: 1;
  color: rgba(255, 255, 255, 0.65);
  width: 72px; flex-shrink: 0;
  transition: color 0.35s;
}
.project-row-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  text-transform: uppercase; line-height: 0.9; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.70);
  flex: 1;
  transition: color 0.35s, letter-spacing 0.35s var(--ease-out);
}
.project-row-cat {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  text-transform: uppercase; line-height: 1; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0; padding: 0 20px;
  transition: color 0.35s;
}
.project-row-year {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0; padding-top: 4px;
  transition: color 0.35s;
}

/* hover / active — everything flips to black */
.project-row.is-active .project-row-title { color: #0d0d0d; letter-spacing: 0.03em; }
.project-row.is-active .project-row-nr,
.project-row.is-active .project-row-cat { color: #0d0d0d; }
.project-row.is-active .project-row-year { color: rgba(0, 0, 0, 0.45); }
.project-row.is-active .project-tag { color: #0d0d0d; border-color: rgba(0, 0, 0, 0.25); }

/* accordion body with tags */
.project-row-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--ease-out);
  overflow: hidden;
}
.project-row.is-active .project-row-body { grid-template-rows: 1fr; }
.project-row-body-inner { overflow: hidden; min-height: 0; }
.project-tags {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 0 0 20px 72px;
}
.project-tag {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 3px 10px; border-radius: 2px;
  transition: color 0.35s, border-color 0.35s;
}

/* ============================ CLIENTS ============================ */
.clients { padding: 24px 0 0; }
.clients-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--white-85);
  padding-bottom: 32px;
}
.clients-marquee { overflow: hidden; width: 100%; }
.clients-track {
  display: flex; align-items: center; width: max-content;
  animation: clientsScroll 30s linear infinite;
  will-change: transform;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes clientsScroll { to { transform: translateX(-50%); } }
.client-name {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  margin-right: 80px;
  transition: color 0.3s;
}
.client-name:hover { color: #fff; }
body.on-light .clients-label { color: var(--ink); }
body.on-light .client-name { color: rgba(28, 25, 23, 0.70); }

/* ============================ JOURNEY ============================ */
.journey { margin-top: 80px; padding-bottom: 64px; color: var(--ink); }

.journey-hero { padding-bottom: 24px; }
.journey-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4.5rem, 11vw, 13rem);
  text-transform: uppercase; line-height: 0.82; letter-spacing: -0.01em;
  color: var(--blue);
  margin-bottom: 48px;
}
.journey-sub {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  letter-spacing: 0.03em; text-transform: uppercase;
  color: rgba(28, 25, 23, 0.75);
}

.journey-list { list-style: none; }
.journey-entry {
  border-top: 1px solid rgba(28, 25, 23, 0.10);
  padding: 28px 0; position: relative;
}
.journey-entry:last-child { border-bottom: 1px solid rgba(28, 25, 23, 0.10); }

.journey-entry-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.journey-nr {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1rem, 1.6vw, 1.8rem); letter-spacing: 0.04em; line-height: 1;
  color: var(--ink); opacity: 0.85; width: 32px; flex-shrink: 0;
}
.journey-company {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.9rem, 3.5vw, 4rem);
  text-transform: uppercase; line-height: 0.88; letter-spacing: 0.01em;
  color: var(--ink); margin: 0;
}
.journey-cat {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--paper); background: var(--ink);
  padding: 5px 12px; border-radius: 2px; flex-shrink: 0;
}
.journey-period {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--ink); opacity: 0.75; flex-shrink: 0; margin-left: auto;
}
.journey-entry-body {
  display: flex; flex-direction: column; gap: 8px; padding-left: 44px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s ease 0.25s, transform 0.55s var(--ease-out) 0.25s;
}
.journey-entry.is-visible .journey-entry-body { opacity: 1; transform: translateY(0); }
.journey-role {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--ink); opacity: 0.85;
}
.journey-desc {
  font-size: 0.82rem; font-weight: 600; line-height: 1.7;
  color: var(--ink); opacity: 0.68; max-width: 820px;
}

/* download */
.journey-footer { padding: 28px 0 0 44px; }
.cv-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); border: 1px solid var(--ink);
  padding: 14px 28px; border-radius: 2px;
  transition: background 0.3s, border-color 0.3s;
}
.cv-btn:hover { background: #3a3330; border-color: #3a3330; }
.cv-btn-arrow { display: inline-block; transition: transform 0.3s var(--ease-out); }
.cv-btn:hover .cv-btn-arrow { transform: translateY(3px); }

/* skills */
.journey-skills { padding-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.skills-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  letter-spacing: 0.03em; text-transform: uppercase;
  color: rgba(28, 25, 23, 0.75);
}
.skills-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink); border: 1px solid rgba(28, 25, 23, 0.22);
  padding: 6px 16px; border-radius: 2px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s ease var(--del, 0s), transform 0.45s var(--ease-out) var(--del, 0s);
}
.journey-skills.is-visible .skill-tag { opacity: 1; transform: translateY(0); }
.skills-langs { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; color: rgba(28, 25, 23, 0.55); text-transform: uppercase; }

/* contact */
.journey-contact { margin-top: 56px; padding-top: 48px; border-top: 1px solid rgba(28, 25, 23, 0.10); }
.contact-label {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.5rem); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.contact-heading {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  text-transform: uppercase; line-height: 0.90; letter-spacing: 0.01em;
  color: var(--ink); margin-bottom: 32px;
}
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink); border: 1px solid rgba(28, 25, 23, 0.30);
  padding: 13px 24px; border-radius: 2px;
  transition: background 0.3s, color 0.3s;
}
.contact-btn:hover { background: var(--ink); color: var(--paper); }

/* ============================ FOOTER ============================ */
.site-footer {
  position: relative; z-index: 1;
  background: var(--ink);
  padding: 36px 64px 48px 48px;
}
.footer-inner { display: flex; flex-direction: column; gap: 48px; max-width: 1720px; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav-link {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.1rem, 1.8vw, 2rem);
  letter-spacing: 0.02em; text-transform: uppercase; line-height: 1;
  color: rgba(255, 255, 255, 0.40);
  transition: color 0.25s;
}
.footer-nav-link:hover { color: #fff; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-top: 4px; }
.footer-location {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.10em; text-transform: uppercase;
  color: #aaa;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 20px; text-align: center;
}
.footer-copy { font-size: 0.63rem; letter-spacing: 0.04em; color: #888; }

/* ============================ MAGNETIC IMAGE ============================ */
.magnetic-img {
  position: fixed; top: 0; left: 0;
  width: 360px; pointer-events: none; z-index: 100;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  will-change: transform;
}
.magnetic-img.is-visible { opacity: 1; }
.magnetic-frame {
  width: 100%; aspect-ratio: 16 / 10;
  overflow: hidden; position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.magnetic-el {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.25s;
}
.magnetic-el.is-changing { opacity: 0; }
.magnetic-glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 45%, transparent 70%);
  opacity: 0; transition: opacity 0.4s; z-index: 2;
}
.magnetic-img.is-visible .magnetic-glare { opacity: 1; }

/* ============================ TV MODAL ============================ */
.tv-modal {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  background: #141010; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px; padding: 0;
  margin: auto; overflow: hidden auto;
  overscroll-behavior: contain;
  cursor: auto;
}
.tv-modal::backdrop { background: rgba(10, 6, 5, 0.85); }
.tv-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  padding: 18px clamp(16px, 3vw, 30px);
  background: linear-gradient(#141010 74%, transparent);
}
.tv-ch { font-family: var(--font-crt); font-size: 1.3rem; color: var(--blue); letter-spacing: 0.05em; }
.tv-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  text-transform: uppercase; line-height: 0.9; letter-spacing: 0.01em;
  margin-right: auto;
}
.tv-close {
  background: none; border: 1px solid rgba(255, 255, 255, 0.25); color: #fff;
  width: 42px; height: 42px; border-radius: 999px;
  font-size: 1rem; flex: none; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tv-close:hover { background: #fff; color: #0d0d0d; border-color: #fff; }
.tv-desc {
  padding: 0 clamp(16px, 3vw, 30px) 8px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.85rem; font-weight: 500; line-height: 1.7; max-width: 70ch;
}
.tv-gallery {
  padding: 18px clamp(16px, 3vw, 30px) clamp(20px, 3vw, 34px);
  columns: 3 240px; column-gap: 14px;
}
.tv-item { break-inside: avoid; margin-bottom: 14px; position: relative; }
.tv-item img {
  width: 100%; height: auto; border-radius: 4px;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.4s;
}
.tv-item img.ready { opacity: 1; }
.tv-item video { width: 100%; height: auto; border-radius: 4px; background: #000; }
.tape-label {
  position: absolute; top: 8px; left: 10px; pointer-events: none;
  font-family: var(--font-crt); font-size: 0.95rem; letter-spacing: 0.05em;
  color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9); text-transform: uppercase;
}

/* pdf document card in gallery */
.tv-doc {
  display: block; position: relative; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25); cursor: pointer;
}
.tv-doc img { width: 100%; height: auto; display: block; }
.tv-doc-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; background: #fff; color: #0d0d0d;
}
.tv-doc-name {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: 1.05rem; line-height: 1; letter-spacing: 0.02em;
}
.tv-doc-open {
  font-size: 0.60rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  white-space: nowrap; color: var(--blue);
}
.tv-doc:hover .tv-doc-bar { background: var(--blue); }
.tv-doc:hover .tv-doc-name, .tv-doc:hover .tv-doc-open { color: #fff; }

/* ============================ CURSOR ============================ */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 10003; }
.cursor-dot {
  position: absolute; left: -200px; top: -200px;
  width: 2px; height: 12px; background: #fff;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference; will-change: left, top;
}
.cursor-dot::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; background: #fff;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: absolute; left: -200px; top: -200px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid #fff;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference; will-change: left, top;
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cursor.grow .cursor-ring { width: 56px; height: 56px; }

/* ============================ CRT OVERLAY ============================ */
.page-tv-overlay { position: fixed; inset: 0; z-index: 9920; pointer-events: none; overflow: hidden; }
.page-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom,
    transparent 0 3px, rgba(0, 0, 0, 0.07) 3px 4px);
}
.page-grain {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.055; image-rendering: pixelated;
}
.page-scanners { position: absolute; inset: 0; overflow: hidden; }
.page-scanners span {
  position: absolute; left: 0; right: 0; top: -4px; height: 3px;
  background: rgba(255, 255, 255, var(--op, 0.1));
  mix-blend-mode: multiply;
  box-shadow: 0 5px 0 rgba(255, 255, 255, 0.12), 0 9px 0 rgba(255, 255, 255, 0.06);
  will-change: transform;
  animation: pageScan var(--dur, 10s) linear infinite;
  animation-delay: var(--del, 0s);
}
@keyframes pageScan {
  0% { transform: translateY(0); opacity: 0; }
  3% { opacity: 1; }
  59% { transform: translateY(calc(100vh + 8px)); opacity: 0.7; }
  62%, 100% { transform: translateY(calc(100vh + 8px)); opacity: 0; }
}
.page-inner-glow {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent 15%),
    linear-gradient(to top, rgba(255, 255, 255, 0.03), transparent 12%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03), transparent 12%),
    linear-gradient(to left, rgba(255, 255, 255, 0.03), transparent 12%);
}
.page-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, 0.42) 100%);
}

/* barrel frame — clip paths applied by JS */
.crt-bevel {
  position: fixed; inset: 0; z-index: 10001; pointer-events: none;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.90), inset 0 0 28px rgba(0, 0, 0, 0.68);
}
.crt-frame {
  position: fixed; inset: 0; z-index: 10000; pointer-events: none;
  background: rgba(5, 3, 2, 0.97);
  visibility: hidden;
}
.crt-stroke {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 10002; pointer-events: none; overflow: visible;
}

/* ============================ PRELOADER ============================ */
.preloader {
  position: fixed; inset: 0; z-index: 99990;
  background: #060606;
  display: grid; place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader .tv-screen {
  position: absolute; inset: 8px;
  border-radius: clamp(14px, 2vw, 36px);
  overflow: hidden; background: #000;
}
.tv-bars { position: absolute; inset: 0 0 25% 0; display: flex; }
.tv-bars span { flex: 1; }
.tv-bars-bottom { position: absolute; inset: 75% 0 0 0; display: flex; }
.tv-bars-bottom span { flex: 1; }
.tv-barcode {
  position: absolute; top: 0; bottom: 25%; width: 17%; z-index: 2;
  background: repeating-linear-gradient(to right,
    #000 0 5px, #fff 5px 9px, #000 9px 13px, #fff 13px 15px,
    #000 15px 21px, #fff 21px 25px, #000 25px 29px, #fff 29px 31px, #000 31px 38px);
  opacity: 0.88;
}
.tv-barcode--l { left: 0; }
.tv-barcode--r { right: 0; }
.tv-panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 10; background: #000;
  display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 18px);
  padding: clamp(14px, 2.2vw, 38px) clamp(16px, 3vw, 50px) clamp(16px, 2.2vw, 30px);
  width: clamp(240px, 38vw, 540px);
}
.tv-msg {
  color: #fff; font-family: var(--font-crt);
  font-size: clamp(1.8rem, 4.5vw, 4.8rem);
  letter-spacing: 0.08em; text-align: center; line-height: 1.05; text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.22);
}
.tv-progress {
  position: relative; height: 30px; margin: 8px auto 0;
  width: clamp(160px, 26vw, 380px);
}
.tv-progress::before {
  content: ''; position: absolute; inset: -9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
}
.tv-progress-fill { height: 100%; width: 0%; background: #fff; }
.tv-skip {
  font-family: var(--font-crt); font-size: 1.1rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-align: center; color: #facc15;
  animation: skipPulse 2s ease-in-out infinite;
}
@keyframes skipPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.preloader .tv-scanlines {
  position: absolute; inset: 0; z-index: 15; pointer-events: none;
  background: repeating-linear-gradient(to bottom,
    transparent 0 2px, rgba(0, 0, 0, 0.13) 2px 4px);
}
.preloader .tv-vignette {
  position: absolute; inset: 0; z-index: 18; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.65) 100%);
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 768px) {
  .wrap { padding: 152px 24px 0; }
  .site-nav { top: 14px; left: 14px; right: 14px; padding: 0 16px; }
  .nav-links { gap: 16px; }
  .nav-link:not(.nav-link--cta) { display: none; }
  .nav-left { font-size: 0.6rem; letter-spacing: 0.10em; }
  .nav-loc { display: none; }
  .hero-title { font-size: clamp(3.5rem, 16vw, 6rem); margin-bottom: 28px; }
  .page-intro { margin-bottom: 40px; }
  .page-header { display: none; }
  .magnetic-img { display: none; }
  .project-row-cat { display: none; }
  .project-row-nr { width: 44px; }
  .project-tags { padding: 0 0 14px 0; }
  .project-tag { color: rgba(255, 255, 255, 0.45); border-color: rgba(255, 255, 255, 0.18); }
  .journey-title { font-size: clamp(3.5rem, 16vw, 6rem); margin-bottom: 32px; }
  .journey-entry { padding: 20px 0; }
  .journey-entry-head { flex-wrap: wrap; gap: 8px; }
  .journey-nr { width: 20px; font-size: 0.85rem; }
  .journey-company { font-size: clamp(1.8rem, 7vw, 2.6rem); flex: 1; min-width: 0; }
  .journey-period { width: 100%; padding-left: 26px; margin-left: 0; margin-top: 2px; }
  .journey-entry-body { padding-left: 26px; gap: 6px; }
  .journey-desc { font-size: 0.78rem; }
  .journey-footer { padding-left: 26px; }
  .contact-heading { font-size: clamp(1.8rem, 7vw, 3rem); }
  .site-footer { padding: 44px 24px 36px; }
  .footer-main { flex-direction: column; gap: 32px; align-items: center; }
  .footer-nav, .footer-right { align-items: center; }
  .tv-gallery { columns: 2 160px; }
}
@media (max-width: 480px) {
  .tv-gallery { columns: 1; }
}

/* touch: native cursor back, no magnetic */
@media (pointer: coarse) {
  body, a, button { cursor: auto; }
  .cursor { display: none !important; }
  .magnetic-img { display: none !important; }
}

/* ============================ REDUCED MOTION ============================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .clients-track { animation: none !important; transform: none !important; }
  .clients-marquee { overflow-x: auto; }
  .magnetic-img { display: none !important; }
  .page-scanners, .page-grain { display: none; }
  .preloader { display: none !important; }
  #fluid { display: none; }
  .tv-skip { animation: none; }
  .journey-entry-body, .skill-tag { opacity: 1 !important; transform: none !important; }
}

/* ============================ THE FACE (profile card) ============================ */
.face { padding: 72px 0 8px; }
.face-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--white-85);
  padding-bottom: 40px;
}
body.on-light .face-label { color: var(--ink); }
.face-stage { display: flex; justify-content: center; }
.face-card {
  background: none; border: 0; padding: 0;
  width: min(340px, 72vw);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.face-card img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}
.face-card:hover, .face-card:focus-visible { transform: scale(1.07); }
.face-card:active { transform: scale(1.03); }
.face-hint {
  text-align: center;
  font-family: var(--font-crt); font-size: 1.05rem; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  padding: 26px 0 0;
  animation: faceBlink 1.6s steps(2, start) infinite;
}
body.on-light .face-hint { color: rgba(28, 25, 23, 0.55); }
@keyframes faceBlink { 50% { opacity: 0.35; } }

/* profile modal */
.face-modal {
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  background: #141010; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px; padding: 0;
  margin: auto; overflow: hidden auto;
  overscroll-behavior: contain;
  cursor: auto;
}
.face-modal::backdrop { background: rgba(10, 6, 5, 0.85); }
.face-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  background: rgba(20, 16, 16, 0.55); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff;
  width: 42px; height: 42px; border-radius: 999px;
  font-size: 1rem; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.face-close:hover { background: #fff; color: #0d0d0d; border-color: #fff; }
.face-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.face-photo { position: relative; }
.face-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face-photo-tag {
  position: absolute; top: 12px; left: 12px; pointer-events: none;
  font-family: var(--font-crt); font-size: 0.95rem; letter-spacing: 0.05em;
  color: #fff; background: rgba(10, 8, 8, 0.55);
  padding: 3px 9px; border-radius: 3px;
}
.face-bio {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 5vw, 56px);
}
.face-kicker {
  font-family: var(--font-crt); font-size: 1.2rem; letter-spacing: 0.06em;
  color: var(--blue); margin-bottom: 14px;
}
.face-name {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  text-transform: uppercase; line-height: 0.9; letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.face-story {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem; font-weight: 500; line-height: 1.8;
}
@media (max-width: 640px) {
  .face-grid { grid-template-columns: 1fr; }
  .face-photo img { max-height: 46dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .face-hint { animation: none; }
  .face-card:hover, .face-card:focus-visible, .face-card:active { transform: none; }
}

/* ============================ BGM PLAYER BAR ============================ */
.bgm-bar {
  position: fixed; top: 96px; right: 48px; z-index: 8999;
  display: flex; align-items: center; gap: 12px;
  height: 34px; padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: transparent;
  transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
}
.bgm-bar.is-scrolled {
  background: rgba(28, 25, 23, 0.30);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.25);
}
.bgm-btn {
  background: none; border: 0; padding: 0;
  font-family: var(--font-body);
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer; white-space: nowrap;
  transition: color 0.2s;
}
.bgm-btn:hover, .bgm-btn:focus-visible { color: #fff; }
.bgm-mute { min-width: 6.2ch; text-align: left; }
.bgm-bar.is-muted .bgm-mute { color: var(--blue); }
.bgm-sep { color: rgba(255, 255, 255, 0.28); font-size: 0.7rem; }

.bgm-vol { display: flex; align-items: center; gap: 7px; }
.bgm-vol-label {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.35);
}
.bgm-step { font-size: 0.85rem; line-height: 1; width: 12px; text-align: center; }
.bgm-meter { display: flex; align-items: center; gap: 2px; }
.bgm-meter i {
  display: block; width: 3px; height: 9px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.15s;
}
.bgm-meter i.on { background: rgba(255, 255, 255, 0.85); }

.bgm-track { display: flex; align-items: center; gap: 10px; }
.bgm-arrow { font-size: 0.6rem; }
.bgm-title {
  font-family: var(--font-crt); font-size: 1.05rem; line-height: 1;
  letter-spacing: 0.02em; white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
  min-width: 23ch; text-align: center;
}
.bgm-bar.is-muted .bgm-title { color: rgba(255, 255, 255, 0.35); }

/* light section flip */
body.on-light .bgm-bar { border-color: rgba(28, 25, 23, 0.18); }
body.on-light .bgm-bar.is-scrolled {
  background: rgba(244, 242, 238, 0.45);
  border-color: rgba(28, 25, 23, 0.25);
}
body.on-light .bgm-btn { color: rgba(28, 25, 23, 0.60); }
body.on-light .bgm-btn:hover, body.on-light .bgm-btn:focus-visible { color: var(--ink); }
body.on-light .bgm-sep { color: rgba(28, 25, 23, 0.30); }
body.on-light .bgm-vol-label { color: rgba(28, 25, 23, 0.40); }
body.on-light .bgm-meter i { background: rgba(28, 25, 23, 0.18); }
body.on-light .bgm-meter i.on { background: rgba(28, 25, 23, 0.80); }
body.on-light .bgm-title { color: rgba(28, 25, 23, 0.80); }
body.on-light .bgm-bar.is-muted .bgm-title { color: rgba(28, 25, 23, 0.35); }

@media (max-width: 1100px) {
  .bgm-bar {
    left: 48px; right: 48px;
    height: auto; padding: 8px 16px;
    flex-wrap: wrap; justify-content: center; row-gap: 6px;
  }
}
@media (max-width: 768px) {
  .bgm-bar { top: 68px; left: 14px; right: 14px; padding: 8px 12px; gap: 10px; }
  .bgm-title { font-size: 1rem; min-width: 0; }
  .bgm-sep { display: none; }
}

/* ============================ SHARED: NAV STATE / A11Y ============================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
#projects { scroll-margin-top: 110px; }
.nav-link[aria-current="page"] { color: #fff; }
body.on-light .nav-link[aria-current="page"] { color: var(--ink); }
.footer-nav-link[aria-current="page"] { color: #fff; }

/* six nav items: tighten before the mobile breakpoint hides them */
@media (max-width: 960px) {
  .nav-loc { display: none; }
  .nav-links { gap: 16px; }
  .nav-link { letter-spacing: 0.10em; }
  .nav-link[href$="#contact"] { display: none; } /* "Get in touch" covers it */
}

/* phone landscape: short screen — tuck bars up, drop the ghost header */
@media (max-height: 500px) and (orientation: landscape) {
  .site-nav { top: 14px; left: 24px; right: 24px; height: 40px; padding: 0 16px; }
  .bgm-bar { top: 62px; left: 24px; right: 24px; padding: 6px 12px; }
  .page-header { display: none; }
}

/* "next up" teaser under the project rows (index) */
.next-up-link {
  display: inline-block; margin: 0 0 28px;
  font-family: var(--font-crt); font-size: 1.15rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.70);
  transition: color 0.25s;
}
.next-up-link:hover, .next-up-link:focus-visible { color: #fff; }

/* subpages: no journey section, so keep the footer below the fold */
.wrap--sub { min-height: 100vh; padding-bottom: 96px; }

/* ============================ PRODUCT — NO SIGNAL ============================ */
.nosignal {
  position: relative; overflow: hidden;
  min-height: max(420px, calc(100vh - 280px));
  border-radius: clamp(14px, 2vw, 28px);
  background: #000;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.nosignal-screen { position: absolute; inset: 0; filter: brightness(0.32) saturate(0.85); }
.nosignal-panel {
  position: relative; z-index: 5;
  background: #000;
  padding: clamp(18px, 3vw, 40px) clamp(22px, 5vw, 72px);
  text-align: center; max-width: calc(100% - 32px);
}
.nosignal-heading { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.4vw, 16px); }
.nosignal-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.6rem, 13vw, 12rem);
  text-transform: uppercase; line-height: 0.82; letter-spacing: 0.01em;
  color: var(--white-85);
}
.nosignal-soon {
  font-family: var(--font-crt); font-weight: 400;
  font-size: clamp(1.2rem, 2.6vw, 2.2rem); letter-spacing: 0.14em;
  text-transform: uppercase; color: #facc15;
  animation: faceBlink 1.6s steps(2, start) infinite;
}
.nosignal-osd {
  position: absolute; top: clamp(12px, 2vw, 24px); left: clamp(14px, 2.4vw, 30px); z-index: 6;
  font-family: var(--font-crt); font-size: clamp(1rem, 1.6vw, 1.4rem); letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.80); text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}
.nosignal-scanlines {
  position: absolute; inset: 0; z-index: 7; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.18) 2px 4px);
}
.nosignal-vignette {
  position: absolute; inset: 0; z-index: 8; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

/* ============================ NEXT UP — WAITLIST ============================ */
.waitlist [hidden] { display: none !important; }
/* subpage content stays clear of the fixed ghost header on the right */
@media (min-width: 769px) {
  .waitlist, .nosignal { margin-right: clamp(150px, 14vw, 240px); }
}
.waitlist-list { list-style: none; margin-bottom: 28px; }
.waitlist-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  grid-template-areas: "nr main count btn";
  align-items: center; column-gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.waitlist-row:last-child { border-bottom: 1px solid var(--line); }
.waitlist-nr {
  grid-area: nr; align-self: start; padding-top: 0.35em;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem); letter-spacing: 0.04em; line-height: 1;
  color: rgba(255, 255, 255, 0.65);
}
.waitlist-main { grid-area: main; min-width: 0; }
.waitlist-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
  font-family: var(--font-crt); font-size: 1.15rem; letter-spacing: 0.08em; line-height: 1;
  text-transform: uppercase; color: #fff;
}
.waitlist-badge-dot { font-size: 0.8em; }
.waitlist-badge--next { color: #facc15; }
.waitlist-badge--next .waitlist-badge-dot { color: #ff3b3b; animation: faceBlink 1.2s steps(2, start) infinite; }
.waitlist-badge--prod { border: 1px solid rgba(255, 255, 255, 0.55); padding: 3px 8px; border-radius: 2px; }
.waitlist-badge--air { background: #ff3b3b; padding: 4px 9px; border-radius: 2px; }
.waitlist-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  text-transform: uppercase; line-height: 0.9; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.35s;
  overflow-wrap: anywhere;
}
.waitlist-row:hover .waitlist-title, .waitlist-row.is-next .waitlist-title { color: #fff; }
.waitlist-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.waitlist-tag {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 3px 10px; border-radius: 2px;
}
.waitlist-tag--price { color: var(--blue); background: #fff; border-color: #fff; font-weight: 700; }
.waitlist-desc {
  margin-top: 12px; max-width: 60ch;
  font-size: 0.85rem; font-weight: 500; line-height: 1.65;
  color: rgba(255, 255, 255, 0.70);
}
.waitlist-count {
  grid-area: count; text-align: right;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.waitlist-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: 0.85;
  color: #fff; font-variant-numeric: tabular-nums;
}
.waitlist-num.is-bump { animation: waitlistBump 0.5s var(--ease-out); }
@keyframes waitlistBump { 30% { transform: scale(1.18); color: #facc15; } }
.waitlist-unit {
  font-family: var(--font-crt); font-size: 1.05rem; letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.65);
}
.waitlist-btn {
  grid-area: btn;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 13.5em; min-height: 46px;
  font: inherit; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: #fff; background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 13px 22px; border-radius: 2px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}
.waitlist-btn:hover, .waitlist-btn:focus-visible { background: #fff; color: var(--blue); border-color: #fff; }
.waitlist-btn.is-busy { opacity: 0.6; }
.waitlist-btn.is-error, .waitlist-btn.is-error:hover { color: #facc15; border-color: #facc15; background: transparent; }
.waitlist-btn[aria-disabled="true"] { border-style: dashed; color: rgba(255, 255, 255, 0.75); background: transparent; }
.waitlist-btn[aria-disabled="true"]:not(.is-joined):hover {
  background: transparent; color: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.55);
}
.waitlist-btn.is-joined, .waitlist-btn.is-joined:hover, .waitlist-btn.is-joined:focus-visible {
  border-style: solid; border-color: #fff; background: #fff; color: var(--blue);
}

.waitlist-state {
  padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  font-family: var(--font-crt); font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: 0.10em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
}
.waitlist-state--loading { animation: faceBlink 1.2s steps(2, start) infinite; }
.waitlist-retry {
  font: inherit; color: #facc15; background: none; border: 0; padding: 0;
  text-decoration: underline; text-underline-offset: 0.15em; text-transform: uppercase;
}
.waitlist-retry:hover { color: #fff; }
.waitlist-note {
  font-family: var(--font-crt); font-size: 1rem; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.50);
}

@media (max-width: 768px) {
  .waitlist-row {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      "nr main"
      ".  count"
      ".  btn";
    row-gap: 16px; column-gap: 0;
    padding: 22px 0;
  }
  .waitlist-title { font-size: clamp(2rem, 9vw, 3rem); }
  .waitlist-count { flex-direction: row; align-items: baseline; gap: 10px; text-align: left; }
  .waitlist-num { font-size: 2.4rem; }
  .waitlist-btn { width: 100%; min-width: 0; }
  .nosignal { min-height: max(360px, calc(100svh - 260px)); }
}

@media (prefers-reduced-motion: reduce) {
  .nosignal-soon, .waitlist-badge--next .waitlist-badge-dot,
  .waitlist-state--loading, .waitlist-num.is-bump { animation: none; }
}

/* ============================ FREE TOOLS ============================ */
@media (min-width: 769px) {
  .tools { margin-right: clamp(150px, 14vw, 240px); }
}
.tools-list { list-style: none; margin-bottom: 64px; }
.tool-row {
  display: grid;
  grid-template-columns: 72px minmax(0, auto) minmax(0, 1fr) auto;
  grid-template-areas: "nr name desc tag";
  align-items: center; column-gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: #fff; text-decoration: none;
  transition: background 0.2s ease, padding 0.25s ease, color 0.2s ease;
}
.tools-list li:last-child .tool-row { border-bottom: 1px solid var(--line); }
.tool-nr {
  grid-area: nr;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem); letter-spacing: 0.04em; line-height: 1;
  color: rgba(255, 255, 255, 0.65);
}
.tool-name {
  grid-area: name;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 6rem); line-height: 0.9;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.tool-desc {
  grid-area: desc;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.35rem); line-height: 1.35;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--white-85); max-width: 26em;
}
.tool-tag {
  grid-area: tag;
  font-family: var(--font-crt); font-size: 1.35rem; letter-spacing: 0.08em; line-height: 1;
  text-transform: uppercase; white-space: nowrap;
  padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 2px;
}
.tool-tag--live { background: #fff; color: var(--blue); border-color: #fff; }
a.tool-row:hover, a.tool-row:focus-visible { background: #fff; color: #0d0d0d; padding-inline: 20px; }
a.tool-row:hover .tool-nr, a.tool-row:hover .tool-desc,
a.tool-row:focus-visible .tool-nr, a.tool-row:focus-visible .tool-desc { color: #0d0d0d; }
a.tool-row:hover .tool-tag--live, a.tool-row:focus-visible .tool-tag--live { background: var(--blue); color: #fff; border-color: var(--blue); }
.tool-row--soon { opacity: 0.45; }
@media (max-width: 768px) {
  .tool-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "nr name tag" ". desc desc";
    column-gap: 14px; row-gap: 10px;
    padding: 22px 0;
  }
  .tool-name { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .tool-tag { font-size: 1.15rem; padding: 8px 10px; }
}
