/* emadnazzal.com

   Colour follows 60 / 30 / 10:
   60%  void    near-black with a cold tint. Page, cards, canvas.
   30%  chrome  cool silver. All type, lines, and the 3D metal.
   10%  volt    acid lime. Only for the things that should be loud:
                calls to action, live status, indices, one word per screen. */

:root {
  /* 60 */
  --void: #07080b;
  --void-2: #0c0e13;
  --void-3: #12151c;
  /* 30 */
  --chrome: #d3dae6;
  --chrome-2: rgba(211, 218, 230, 0.62);
  --chrome-3: rgba(211, 218, 230, 0.36);
  --line: rgba(211, 218, 230, 0.12);
  --line-2: rgba(211, 218, 230, 0.22);
  /* 10 */
  --volt: #c6ff34;
  --volt-ink: #0b1100;

  --display: "Unbounded", "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;

  /* Motion tokens (Emil Kowalski's curves) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(18px, 4.4vw, 64px);
  --radius: 22px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  background: var(--void);
}

body {
  margin: 0;
  background: var(--void);
  color: var(--chrome);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
i {
  font-style: normal;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--volt);
  color: var(--volt-ink);
}
:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 4px;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--volt);
  color: var(--volt-ink);
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}

/* ---------- Backdrop ---------- */

#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0; /* the render loop fades it in */
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
  opacity: 0.5;
}

main,
.foot {
  position: relative;
  z-index: 1;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(760px, calc(100% - 24px));
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 14, 19, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  font-size: 0.875rem;
  transform: translateX(-50%);
}
.js .nav {
  animation: nav-in 700ms var(--ease-out) 200ms backwards;
}
@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-16px);
  }
}
.nav__mark {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  margin-right: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.nav__mark i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
}
.nav__links {
  display: flex;
}
.nav__links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--chrome-2);
  transition: color 200ms ease, background-color 200ms ease;
}
.nav__links a[aria-current="true"] {
  color: var(--chrome);
  background: rgba(211, 218, 230, 0.08);
}
.nav__clock {
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--chrome-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav__clock b {
  font-weight: 400;
  color: var(--chrome-2);
}
.nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--volt);
  color: var(--volt-ink);
  font-weight: 600;
  transition: transform 160ms var(--ease-out);
}
.nav__cta:active {
  transform: scale(0.97);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-weight: 500;
  transition: transform 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease;
  will-change: transform;
}
.btn:active {
  transform: scale(0.97);
}
.btn--loud {
  border-color: var(--volt);
  background: var(--volt);
  color: var(--volt-ink);
  font-weight: 600;
}
.btn--loud i {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover {
    color: var(--chrome);
  }
  .btn:hover {
    border-color: var(--chrome);
    background: rgba(211, 218, 230, 0.06);
  }
  .btn--loud:hover {
    border-color: var(--volt);
    background: var(--volt);
  }
  .btn--loud:hover i {
    transform: translateY(3px);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-content: end;
  gap: clamp(20px, 3vw, 36px);
  padding: 110px var(--gutter) 22px;
}
.hero__status {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-2);
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--volt);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(3.4);
    opacity: 0;
  }
}

.hero__title,
.contact__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.3rem, 15.4vw, 17rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  margin-left: -0.05em;
}
.hero__row,
.contact__title > span {
  display: block;
  overflow: hidden;
  padding-block: 0.06em;
  margin-block: -0.06em;
  white-space: nowrap;
}
/* Outlined row. Filled with the page colour and painted over its own stroke,
   which hides the overlapping contours variable fonts leave inside letters. */
.hero__row--out {
  color: var(--void);
  -webkit-text-stroke: clamp(2px, 0.28vw, 5px) var(--chrome);
  paint-order: stroke fill;
}
.hero__row--out .ch:last-child {
  -webkit-text-stroke-color: var(--volt);
}
.ch {
  display: inline-block;
}
.js [data-split] .ch {
  transform: translateY(108%) rotate(6deg);
  transform-origin: 0 100%;
  transition: transform 900ms var(--ease-out);
  transition-delay: calc(var(--i) * 42ms + var(--d, 0ms));
}
.js [data-split].is-in .ch {
  transform: none;
}
.hero__row:nth-child(2) {
  --d: 140ms;
}

.hero__base {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 22px 40px;
}
.hero__lede {
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.45;
  color: var(--chrome);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.js .hero__status,
.js .hero__base,
.js .hero__meta {
  animation: rise 800ms var(--ease-out) 650ms backwards;
}
.js .hero__status {
  animation-delay: 100ms;
}
.js .hero__meta {
  animation-delay: 800ms;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero__meta dt {
  color: var(--chrome-3);
}
.hero__meta dd {
  color: var(--chrome);
}
.hero__hint {
  text-align: right;
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(7, 8, 11, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 16px 14px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chrome-2);
}
.ticker span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--volt);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.sec {
  padding: clamp(96px, 14vw, 200px) var(--gutter) 0;
}
.sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  margin-bottom: clamp(36px, 6vw, 80px);
}
.sec__no {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--volt);
  letter-spacing: 0.06em;
}
.sec__head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 5.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.sec__head p {
  flex-basis: 100%;
  max-width: 44ch;
  color: var(--chrome-2);
}

/* Scroll reveal: fires once. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- About ---------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.about__lead {
  grid-column: 1;
  font-size: clamp(1.5rem, 3.3vw, 3.1rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.about__lead .w {
  opacity: 0.16;
  transition: opacity 300ms ease;
}
.about__lead .w.on {
  opacity: 1;
}
.about__body {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: var(--chrome-2);
}
.about__body a {
  color: var(--chrome);
  border-bottom: 1px solid var(--volt);
}

.portrait {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 14, 19, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  will-change: transform;
}
.portrait__img {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 20%, #1c212b, #07080b 70%);
}
.portrait__img img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.12) brightness(0.96);
}
/* Scanlines over the photo, then a volt wash at the foot. */
.portrait__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(7, 8, 11, 0.22) 0 1px, transparent 1px 4px),
    linear-gradient(to top, rgba(198, 255, 52, 0.2), transparent 38%);
  pointer-events: none;
}
.portrait figcaption {
  display: flex;
  justify-content: space-between;
  padding: 12px 6px 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-2);
}
.portrait figcaption span:first-child {
  color: var(--volt);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1px solid var(--line);
}
.stats li {
  display: grid;
  gap: 6px;
  padding: 26px 16px 0 0;
}
.stats li:nth-child(2) {
  --stagger: 60ms;
}
.stats li:nth-child(3) {
  --stagger: 120ms;
}
.stats li:nth-child(4) {
  --stagger: 180ms;
}
.stats b {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stats span {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--chrome-2);
}

.tongues {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(36px, 5vw, 64px);
}
.tongues li {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 14, 19, 0.6);
}
.tongues span {
  font-size: 1.25rem;
  font-weight: 500;
}
.tongues i {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-3);
}

/* ---------- Work ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
  perspective: 1600px;
}
.card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 14, 19, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  will-change: transform;
}
.card:nth-child(even) {
  --stagger: 70ms;
}
.card__art {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--void);
}
.card__art canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
}
/* Pointer light. Moved with transform from JS, shown on hover. */
.card__glow {
  position: absolute;
  top: -180px;
  left: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(211, 218, 230, 0.13), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.card__body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 30px);
}
.card__meta {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-3);
}
.card__meta span:first-child {
  color: var(--volt);
}
.card__meta span:last-child {
  margin-left: auto;
}
.card__meta .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--chrome);
}
.card__meta .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
}
.card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.card__text {
  max-width: 52ch;
  color: var(--chrome-2);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips li {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--chrome-2);
}
.card__links {
  display: flex;
  gap: 20px;
  font-weight: 500;
}
.card__links a,
.contact__links a {
  display: inline-flex;
  gap: 6px;
  padding: 6px 0;
}
.card__links i,
.contact__links i {
  display: inline-block;
  color: var(--volt);
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover .card__glow {
    opacity: 1;
  }
  .card__links a:hover i,
  .contact__links a:hover i {
    transform: translate(3px, -3px);
  }
}

/* ---------- Stack ---------- */

.bands {
  margin: 0 calc(var(--gutter) * -1) clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.band__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.band--rev .band__track {
  animation-direction: reverse;
  animation-duration: 58s;
}
.band span {
  padding: 0 0.28em;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 10.5vw, 10rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--void);
  -webkit-text-stroke: 2px var(--chrome-3);
  paint-order: stroke fill;
}
.band span:nth-child(5n + 1) {
  color: var(--chrome);
  -webkit-text-stroke: 0;
}
.band--rev span:nth-child(6n + 3) {
  color: var(--volt);
  -webkit-text-stroke: 0;
}

.specs > div {
  display: grid;
  grid-template-columns: minmax(120px, 2fr) 9fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.specs > div:last-child {
  border-bottom: 1px solid var(--line);
}
.specs dt,
.timeline time {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-3);
}
.specs dd {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: -0.015em;
}

/* ---------- Log ---------- */

.timeline {
  position: relative;
  display: grid;
}
.timeline li {
  display: grid;
  grid-template-columns: minmax(120px, 2fr) 9fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.timeline li:first-child time {
  color: var(--volt);
}
.timeline h3 {
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.timeline p {
  margin-top: 4px;
  color: var(--chrome-2);
}

.archive {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 14, 19, 0.7);
}
.archive summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--chrome-2);
}
.archive summary::-webkit-details-marker {
  display: none;
}
.archive summary span {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--volt);
}
.archive summary i {
  margin-left: auto;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--chrome);
  transition: transform 200ms var(--ease-out);
}
.archive[open] summary i {
  transform: rotate(45deg);
}
.archive ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 22px;
}
.archive li a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  transition: border-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .archive li a:hover {
    border-color: var(--volt);
    color: var(--volt);
  }
}

/* ---------- Contact ---------- */

.contact {
  min-height: 100svh;
  display: grid;
  align-content: end;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(120px, 16vw, 220px) var(--gutter) clamp(36px, 5vw, 64px);
}
.contact__kicker {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-2);
}
.contact__title {
  font-size: clamp(3.3rem, 17.5vw, 19rem);
}
.contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
}
.mail {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 68px;
  padding: 0 clamp(22px, 3vw, 40px);
  border: 0;
  border-radius: 999px;
  background: var(--volt);
  color: var(--volt-ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
  will-change: transform;
}
.mail:active {
  transform: scale(0.97);
}
.mail span {
  grid-area: 1 / 1;
  transition: opacity 200ms ease, filter 200ms ease, transform 200ms var(--ease-out);
}
.mail__b {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(8px);
}
.mail.is-copied .mail__a {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-8px);
}
.mail.is-copied .mail__b {
  opacity: 1;
  filter: none;
  transform: none;
}
.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 1.05rem;
  font-weight: 500;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--chrome-3);
}
.foot a {
  margin-left: auto;
  color: var(--chrome-2);
}

/* ---------- Reduced motion: keep fades, drop movement ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-split] .ch,
  .js .reveal {
    transform: none;
    transition: opacity 300ms ease;
  }
  .js [data-split] .ch {
    opacity: 0;
  }
  .js [data-split].is-in .ch {
    opacity: 1;
  }
  .js .nav,
  .js .hero__status,
  .js .hero__base,
  .js .hero__meta {
    animation: fade 400ms ease backwards;
  }
  .ticker__track,
  .band__track,
  .pulse::after {
    animation: none;
  }
  .about__lead .w {
    opacity: 1;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .nav__clock {
    display: none;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .portrait {
    grid-column: 1;
    grid-row: auto;
    max-width: 420px;
  }
  .about__body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats li:nth-child(n + 3) {
    margin-top: 22px;
    border-top: 1px solid var(--line);
  }
  .hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__hint {
    display: none;
  }
  .specs > div,
  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .nav {
    padding-left: 16px;
  }
  .nav__links a {
    padding: 9px 8px;
    font-size: 0.82rem;
  }
  .nav__links a[href="#stack"] {
    display: none;
  }
  .hero__actions {
    width: 100%;
  }
  .hero__actions .btn {
    flex: 1;
    justify-content: center;
    padding: 0 16px;
  }
  .hero__meta div:nth-child(3) {
    display: none;
  }
  .mail {
    width: 100%;
  }
}

/* ---------- Focus ---------- */

.flow {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--void);
}
.flow canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
}
.flow figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 14px clamp(16px, 2vw, 26px);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--chrome-2);
}
.flow figcaption span {
  text-transform: uppercase;
  color: var(--volt);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
  margin-top: clamp(14px, 1.8vw, 26px);
}
.pillars li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 14, 19, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.pillars li:nth-child(2) {
  --stagger: 60ms;
}
.pillars li:nth-child(3) {
  --stagger: 120ms;
}
.pillars li:nth-child(4) {
  --stagger: 180ms;
}
.pillars span {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--volt);
}
.pillars h3 {
  margin-top: clamp(18px, 4vw, 56px);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.pillars p {
  font-size: 0.98rem;
  color: var(--chrome-2);
}

@media (max-width: 1100px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .flow canvas {
    aspect-ratio: 4 / 5;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillars h3 {
    margin-top: 10px;
  }
}
