:root {
  --ink: #10100f;
  --paper: #e7e4d8;
  --signal: #e54b2e;
  --phosphor: #f0f0e8;
  --muted: #a6a398;
  --line: rgba(16, 16, 15, 0.24);
  --mono: "Syne Mono", "Noto Sans SC", monospace;
  --display: "Bebas Neue", "Noto Sans SC", sans-serif;
  --body: "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  overflow-x: hidden;
}

body.is-booting {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.boot-screen {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--phosphor);
  background: #0a0a09;
  transform-origin: center;
  transition:
    opacity 0.12s linear 0.7s,
    visibility 0s linear 0.85s;
}

#staticCanvas {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  image-rendering: pixelated;
  filter: contrast(1.55) brightness(0.7);
  opacity: 0.78;
  animation: static-drift 0.18s steps(2) infinite;
}

.boot-screen__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 0, 0, 0.08), transparent 25% 75%, rgba(0, 120, 255, 0.1)),
    radial-gradient(circle at 50% 48%, transparent 0 30%, rgba(0, 0, 0, 0.46) 78%);
  mix-blend-mode: screen;
}

.scanlines {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.45) 3px,
    rgba(0, 0, 0, 0.45) 4px
  );
  opacity: 0.52;
}

.crt-vignette {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 11vw #000,
    inset 0 0 4vw #000;
  border-radius: 2.5vw;
}

.boot-screen__tear {
  position: absolute;
  z-index: 2;
  left: -10%;
  width: 120%;
  height: 5vh;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(6px);
  mix-blend-mode: screen;
  animation: tear 3.8s steps(1) infinite;
}

.tear--one {
  top: 20%;
}

.tear--two {
  top: 72%;
  animation-delay: -1.9s;
  animation-duration: 4.7s;
}

.boot-screen__status,
.boot-screen__meta,
.sound-note {
  position: absolute;
  z-index: 8;
  font-family: var(--mono);
  font-size: clamp(0.62rem, 0.8vw, 0.8rem);
  letter-spacing: 0.12em;
  text-shadow: 2px 0 rgba(255, 0, 0, 0.45), -2px 0 rgba(0, 170, 255, 0.45);
}

.boot-screen__status {
  top: clamp(1.5rem, 4vw, 3rem);
  left: clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  animation: blink 0.8s steps(1) infinite;
}

.boot-screen__meta {
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  gap: clamp(1rem, 3vw, 3rem);
}

.boot-screen__meta span:last-child {
  color: #f06852;
}

.sound-note {
  bottom: clamp(1.5rem, 4vw, 3rem);
  left: clamp(1.5rem, 4vw, 4rem);
  opacity: 0.55;
}

.boot-screen__center {
  position: relative;
  z-index: 7;
  width: min(90vw, 1050px);
  text-align: center;
  animation: vertical-jump 7s steps(1) infinite;
}

.boot-screen__eyebrow {
  margin: 0 0 1.25rem;
  font: 0.72rem/1 var(--mono);
  letter-spacing: 0.25em;
}

.boot-screen__title {
  position: relative;
  margin: 0;
  font: clamp(4rem, 13vw, 11.5rem) / 0.8 var(--display);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow:
    6px 0 0 rgba(255, 44, 0, 0.2),
    -6px 0 0 rgba(0, 160, 255, 0.2);
  filter: blur(0.3px);
}

.boot-screen__title::before,
.boot-screen__title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.boot-screen__title::before {
  color: rgba(255, 255, 255, 0.7);
  clip-path: inset(12% 0 65%);
  transform: translateX(-7px);
  animation: title-glitch-a 2.6s steps(1) infinite;
}

.boot-screen__title::after {
  color: rgba(255, 255, 255, 0.55);
  clip-path: inset(70% 0 12%);
  transform: translateX(8px);
  animation: title-glitch-b 3.1s steps(1) infinite;
}

.boot-screen__hint {
  margin: 2rem 0 1.75rem;
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  letter-spacing: 0.18em;
  text-shadow: 2px 0 #000;
}

.tune-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 13.2rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  color: var(--phosphor);
  background: rgba(0, 0, 0, 0.48);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition:
    color 0.15s,
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}

.tune-button:hover,
.tune-button:focus-visible {
  color: #090909;
  background: var(--phosphor);
  box-shadow: 7px 7px 0 rgba(229, 75, 46, 0.8);
  transform: translate(-2px, -2px);
  outline: none;
}

.tune-button small {
  margin-left: auto;
  font: 0.55rem/1 var(--mono);
  opacity: 0.58;
}

.tune-button__icon {
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px transparent;
}

.tune-button:hover .tune-button__icon {
  box-shadow: inset 0 0 0 2px var(--phosphor);
  background: var(--signal);
}

.boot-screen.is-tuning .tune-button {
  pointer-events: none;
  opacity: 0;
  transform: translateY(1rem);
}

.boot-screen.is-tuning .boot-screen__hint {
  opacity: 0;
}

.boot-screen.is-tuning #staticCanvas {
  animation-duration: 0.07s;
}

.boot-screen.is-locked #staticCanvas {
  opacity: 0.05;
  filter: contrast(4);
  transition: opacity 0.25s;
}

.boot-screen.is-locked .boot-screen__title {
  transform: scale(1.03);
  filter: blur(0);
}

.boot-screen.is-closing {
  animation: crt-off 0.72s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.boot-screen.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  opacity: 0;
  background: var(--paper);
  transition: opacity 0.2s 0.45s;
}

body.is-live .site-shell {
  opacity: 1;
}

.site-noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.topbar {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 1.35rem 2rem;
  color: var(--paper);
  border-bottom: 1px solid rgba(231, 228, 216, 0.22);
}

.station-mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: start;
}

.station-mark span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--ink);
  background: var(--paper);
  font: 1.5rem/1 var(--display);
}

.station-mark small {
  writing-mode: vertical-rl;
  font: 0.48rem/1 var(--mono);
  letter-spacing: 0.12em;
}

.topbar__links {
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.topbar__links a {
  position: relative;
  padding: 0.5rem 0;
}

.topbar__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s;
}

.topbar__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.sound-toggle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
  border: 0;
  color: var(--paper);
  background: none;
  font: 0.58rem/1 var(--mono);
  letter-spacing: 0.1em;
  cursor: pointer;
}

.sound-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 13px;
}

.sound-bars i {
  width: 2px;
  height: 40%;
  background: currentColor;
  animation: sound-bar 0.72s ease-in-out infinite alternate;
}

.sound-bars i:nth-child(2) {
  height: 100%;
  animation-delay: -0.25s;
}

.sound-bars i:nth-child(3) {
  height: 65%;
  animation-delay: -0.5s;
}

.sound-toggle.is-muted .sound-bars i {
  height: 2px;
  animation: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 27vw);
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 34%),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5.5rem;
  width: 1px;
  background: rgba(231, 228, 216, 0.13);
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 10rem 5vw 7.5rem 9vw;
}

.kicker,
.section-heading p,
.about-section__label {
  margin: 0;
  font: 0.65rem/1.3 var(--mono);
  letter-spacing: 0.2em;
}

.kicker {
  margin-bottom: 2.2rem;
  color: var(--muted);
}

.hero__title {
  margin: 0;
  font: clamp(4.5rem, 9.1vw, 10rem) / 0.82 var(--display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero__title .outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}

.hero__title .accent {
  position: relative;
  display: inline-block;
  padding: 0 0.08em;
  color: var(--ink);
  background: var(--signal);
  transform: rotate(-1.5deg);
}

.hero__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 800px);
  margin-top: 3.2rem;
}

.hero__footer p {
  margin: 0;
  color: #c1beb5;
  font-size: clamp(0.74rem, 0.92vw, 0.9rem);
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.hero__footer strong {
  color: var(--paper);
}

.round-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 9rem;
  height: 9rem;
  padding: 1.25rem;
  flex: 0 0 auto;
  border: 1px solid rgba(231, 228, 216, 0.45);
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.round-link b {
  align-self: start;
  font-size: 1.25rem;
  font-weight: 400;
}

.round-link:hover {
  color: var(--ink);
  background: var(--paper);
  transform: rotate(8deg);
}

.on-air-card {
  position: relative;
  z-index: 2;
  align-self: center;
  width: calc(100% - 3rem);
  margin-top: 3rem;
  color: var(--ink);
  background: var(--signal);
  transform: rotate(1.2deg);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.35);
}

.on-air-card__head,
.on-air-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  font: 0.62rem/1 var(--mono);
  letter-spacing: 0.14em;
}

.on-air-card__head i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ink);
  animation: blink 1s steps(1) infinite;
}

.portrait-signal {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 0.78;
  overflow: hidden;
  color: rgba(231, 228, 216, 0.66);
  background:
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.38) 4px),
    radial-gradient(circle at 48% 36%, #73736f 0 7%, transparent 7.5%),
    radial-gradient(ellipse at 50% 80%, #292928 0 32%, transparent 32.5%),
    linear-gradient(145deg, #5c5c59, #151515);
  font: clamp(2rem, 4vw, 4rem) / 0.75 var(--display);
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 5px 0 rgba(229, 75, 46, 0.45), -5px 0 rgba(0, 150, 200, 0.25);
}

.portrait-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='x'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23x)'/%3E%3C/svg%3E");
  animation: static-drift 0.24s steps(2) infinite;
}

.portrait-signal__line {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 18%;
  background: rgba(255, 255, 255, 0.25);
  filter: blur(8px);
  animation: portrait-scan 3.4s linear infinite;
}

.hero__channel {
  position: absolute;
  z-index: 3;
  right: calc(27vw - 1rem);
  bottom: 2.3rem;
  display: flex;
  align-items: start;
  color: rgba(231, 228, 216, 0.1);
  font-family: var(--display);
}

.hero__channel span {
  margin-top: 1rem;
  font-size: 1.25rem;
  writing-mode: vertical-rl;
}

.hero__channel strong {
  font-size: clamp(6rem, 12vw, 13rem);
  font-weight: 400;
  line-height: 0.72;
}

.hero__ticker {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border-block: 1px solid var(--ink);
  font: 1.1rem/1 var(--display);
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.hero__ticker div {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  min-width: max-content;
  padding: 0.8rem 0;
  animation: ticker 16s linear infinite;
}

.hero__ticker b {
  color: var(--signal);
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-live .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

body.is-live .hero__title {
  transition-delay: 0.18s;
}

body.is-live .hero__footer {
  transition-delay: 0.32s;
}

body.is-live .on-air-card {
  transition-delay: 0.42s;
}

.work-section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 4vw, 4rem);
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--ink);
}

.section-heading p {
  padding-bottom: 1.2rem;
}

.section-heading h2 {
  margin: 0;
  font: clamp(5rem, 12vw, 11rem) / 0.76 var(--display);
  letter-spacing: -0.02em;
}

.section-heading h2 span {
  color: var(--signal);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.project {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 34rem;
  padding: 1.3rem;
  overflow: hidden;
  transition:
    flex 0.5s,
    transform 0.35s;
}

.project::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 4px,
    rgba(255, 255, 255, 0.14) 5px
  );
  transform: translateY(-20%);
  transition: opacity 0.25s;
}

.project:hover {
  z-index: 2;
  transform: translateY(-0.8rem) rotate(-0.6deg);
}

.project:hover::before {
  opacity: 1;
  animation: portrait-scan 2.2s linear infinite;
}

.project--red {
  color: var(--ink);
  background: var(--signal);
}

.project--light {
  color: var(--ink);
  background: #c8c4b7;
}

.project--dark {
  color: var(--paper);
  background: #272725;
}

.project__number,
.project__type,
.project p {
  position: relative;
  z-index: 1;
  font: 0.58rem/1.5 var(--mono);
  letter-spacing: 0.1em;
}

.project__type {
  text-align: right;
}

.project h3 {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  align-self: end;
  margin: auto 0 1.5rem;
  font: clamp(4rem, 7vw, 7.5rem) / 0.78 var(--display);
}

.project p {
  grid-column: 1 / -1;
  margin: 0;
}

.project__arrow {
  position: absolute;
  z-index: 1;
  right: 1.3rem;
  bottom: 1.1rem;
  font-size: 1.5rem;
}

.about-section {
  padding: clamp(5rem, 9vw, 10rem) clamp(1.5rem, 7vw, 8rem);
  color: var(--paper);
  background: var(--ink);
}

.about-section__label {
  color: var(--signal);
}

.about-section blockquote {
  margin: 3rem 0 5rem;
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.about-section blockquote span {
  color: var(--signal);
  font-family: var(--display);
  font-size: 1.23em;
  font-weight: 400;
}

.about-section__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12vw;
  padding-top: 2rem;
  border-top: 1px solid rgba(231, 228, 216, 0.3);
}

.about-section__grid > p {
  max-width: 42rem;
  margin: 0;
  color: #b9b6ac;
  font-size: clamp(0.9rem, 1.3vw, 1.2rem);
  line-height: 2;
}

.about-section dl {
  margin: 0;
}

.about-section dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(231, 228, 216, 0.18);
  font: 0.62rem/1.4 var(--mono);
}

.about-section dt {
  color: #77756f;
}

.about-section dd {
  margin: 0;
  text-align: right;
}

footer {
  padding: clamp(5rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem) 1.5rem;
  color: var(--ink);
  background: var(--signal);
}

.footer__signal > span {
  display: inline-block;
  padding: 0.45rem 0.65rem;
  color: var(--paper);
  background: var(--ink);
  font: 0.62rem/1 var(--mono);
  letter-spacing: 0.13em;
}

.footer__signal h2 {
  margin: 2rem 0 3rem;
  font: clamp(5rem, 14vw, 13rem) / 0.76 var(--display);
  letter-spacing: -0.015em;
}

.footer__signal i {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
}

.footer__mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-block: 2px solid var(--ink);
  font: clamp(1.1rem, 3vw, 2.6rem) / 1 var(--mono);
}

.footer__mail span {
  transition: transform 0.2s;
}

.footer__mail:hover span {
  transform: translate(0.35rem, -0.35rem);
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  margin-top: 4rem;
  font: 0.55rem/1.4 var(--mono);
  letter-spacing: 0.08em;
}

.footer__bottom button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font: inherit;
  cursor: pointer;
}

.footer__bottom span:last-child {
  text-align: right;
}

@keyframes static-drift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(2%, -1%); }
  50% { transform: translate(-1%, 2%); }
  75% { transform: translate(1%, 1%); }
}

@keyframes tear {
  0%, 89%, 94%, 100% { opacity: 0; transform: translateY(0) scaleY(1); }
  90% { opacity: 0.8; transform: translateY(42vh) scaleY(0.12); }
  91% { opacity: 0.35; transform: translateY(-12vh) scaleY(1.5); }
  92% { opacity: 0.6; transform: translateY(28vh) scaleY(0.3); }
}

@keyframes vertical-jump {
  0%, 96%, 98%, 100% { transform: translateY(0); }
  97% { transform: translateY(13px); }
}

@keyframes title-glitch-a {
  0%, 84%, 87%, 100% { transform: translateX(-7px); opacity: 0.65; }
  85% { transform: translateX(18px); opacity: 1; }
  86% { transform: translateX(-22px); opacity: 0.2; }
}

@keyframes title-glitch-b {
  0%, 77%, 80%, 100% { transform: translateX(8px); opacity: 0.55; }
  78% { transform: translateX(-16px); opacity: 0.9; }
  79% { transform: translateX(24px); opacity: 0.18; }
}

@keyframes blink {
  0%, 47% { opacity: 1; }
  48%, 100% { opacity: 0.25; }
}

@keyframes crt-off {
  0% {
    filter: brightness(1);
    transform: scale(1);
  }
  42% {
    filter: brightness(5);
    transform: scale(1, 0.012);
  }
  68% {
    filter: brightness(8);
    transform: scale(0.2, 0.005);
  }
  100% {
    filter: brightness(0);
    transform: scale(0, 0);
  }
}

@keyframes sound-bar {
  from { transform: scaleY(0.4); }
  to { transform: scaleY(1); }
}

@keyframes portrait-scan {
  from { transform: translateY(-10%); }
  to { transform: translateY(760%); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 1rem 1.25rem;
  }

  .topbar__links {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero::before {
    left: 3.75rem;
  }

  .hero__copy {
    min-height: 100svh;
    padding: 9rem 1.5rem 6rem 4.8rem;
  }

  .hero__title {
    font-size: clamp(4rem, 15.5vw, 8rem);
  }

  .hero__footer {
    align-items: center;
  }

  .on-air-card {
    width: min(72vw, 28rem);
    margin: -3rem 1.5rem 7rem auto;
  }

  .hero__channel {
    right: auto;
    bottom: 5rem;
    left: 0.75rem;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .project {
    min-height: 26rem;
  }

  .project h3 {
    font-size: clamp(4rem, 18vw, 7.5rem);
  }

  .about-section__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .boot-screen__meta span:nth-child(2) {
    display: none;
  }

  .sound-note {
    display: none;
  }

  .boot-screen__title {
    font-size: clamp(4rem, 22vw, 7rem);
    line-height: 0.86;
  }

  .boot-screen__hint {
    max-width: 20rem;
    margin-inline: auto;
    line-height: 1.8;
  }

  .hero__copy {
    padding-left: 3.8rem;
  }

  .hero__footer {
    align-items: start;
    flex-direction: column;
  }

  .round-link {
    width: 7.5rem;
    height: 7.5rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 2.5rem;
  }

  .footer__bottom {
    grid-template-columns: 1fr auto;
  }

  .footer__bottom span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   PARTICLE INTRO / V2
   The opening runs as a complete broadcast, then powers down into a sign-off.
   ───────────────────────────────────────────────────────────────────────── */

body.is-booting {
  min-height: 100svh;
  overflow: hidden;
  background: #030303;
}

body.is-booting .site-shell {
  display: none;
}

.boot-screen.particle-intro {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #f0efe9;
  background: #030303;
  cursor: none;
  transform: none;
  transition: none;
}

.boot-screen.particle-intro::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 58% 43% at 50% 45%,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.5) 45%,
    rgba(0, 0, 0, 0) 78%
  );
  transition: background 0.45s linear;
}

.vintage-ad {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  filter: grayscale(1) sepia(0.08) contrast(1.18) brightness(0.7);
  transform: scale(1.015);
  transition: opacity 0.08s linear;
}

.channel-montage {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: #030303;
  transition: opacity 0.08s linear;
}

.particle-intro.is-montage .channel-montage {
  opacity: 1;
}

.particle-intro.is-ad .channel-montage {
  opacity: 0;
}

.channel-shot {
  position: absolute;
  inset: -1.5%;
  display: block;
  width: 103%;
  height: 103%;
  margin: 0;
  opacity: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: grayscale(1) sepia(0.06) contrast(1.2) brightness(0.73);
  transform: scale(1.035);
  transition: opacity 0.035s steps(1);
}

.channel-shot.is-active {
  opacity: 1;
  animation: channel-image-breathe 4.5s linear both;
}

.particle-intro.is-ad .vintage-ad {
  opacity: 1;
}

.particle-intro.is-powering-off .vintage-ad {
  animation: tv-picture-collapse 0.82s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.vintage-subtitle {
  position: absolute;
  z-index: 9;
  bottom: clamp(5.2rem, 8vh, 7rem);
  left: 50%;
  width: max-content;
  max-width: min(86vw, 62rem);
  margin: 0;
  padding: 0;
  color: #f5f2e8;
  background: transparent;
  border: 0;
  font: 700 clamp(1.05rem, 1.55vw, 1.62rem) / 1.45 "Noto Sans SC", sans-serif;
  letter-spacing: 0.08em;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  -webkit-text-stroke: 0.035em rgba(0, 0, 0, 0.92);
  text-shadow:
    -2px -2px 2px rgba(0, 0, 0, 0.88),
    2px -2px 2px rgba(0, 0, 0, 0.88),
    -2px 2px 2px rgba(0, 0, 0, 0.88),
    2px 2px 2px rgba(0, 0, 0, 0.88),
    0 3px 7px rgba(0, 0, 0, 0.98);
}

.particle-intro.is-ad .vintage-subtitle.is-visible {
  opacity: 1;
}

.particle-intro.is-ad .vintage-subtitle.is-entering {
  animation: vintage-subtitle-in 0.16s steps(2, end) both;
}

.particle-intro.is-powering-off .vintage-subtitle {
  opacity: 0;
}

.tv-power-line {
  position: absolute;
  z-index: 11;
  top: 50%;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 8px #fff,
    0 0 28px rgba(255, 255, 255, 0.92);
}

.particle-intro.is-powering-off .tv-power-line {
  animation: tv-power-line-off 0.82s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.closing-message {
  position: absolute;
  z-index: 13;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 7vw, 8rem);
  color: #f1efe7;
  background: #030303;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.closing-message h2 {
  width: min(100%, 78rem);
  margin: 0;
  font: 900 clamp(3.4rem, 8.7vw, 9.4rem) / 0.92 "Noto Sans SC", sans-serif;
  letter-spacing: -0.075em;
  text-align: center;
}

.closing-message span,
.closing-message strong {
  display: block;
}

.closing-message span {
  color: rgba(241, 239, 231, 0.46);
  font-weight: 500;
}

.closing-message strong {
  color: #f1efe7;
  font-weight: 900;
}

.particle-intro.is-signoff .closing-message {
  visibility: visible;
  opacity: 1;
}

.particle-intro.is-signoff .closing-message h2 {
  animation: closing-message-in 1.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.particle-intro.is-powering-off .particle-intro__header,
.particle-intro.is-powering-off .particle-sound,
.particle-intro.is-signoff .particle-intro__header,
.particle-intro.is-signoff .particle-sound,
.particle-intro.is-signoff .particle-cursor {
  opacity: 0;
}

.particle-intro.is-signoff::before {
  background: #030303;
}

.particle-intro.is-signoff #staticCanvas,
.particle-intro.is-signoff #particleCanvas {
  opacity: 0;
}

.particle-intro.is-montage::before,
.particle-intro.is-ad::before {
  background:
    linear-gradient(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.28)),
    radial-gradient(
      ellipse 78% 72% at 50% 48%,
      rgba(0, 0, 0, 0) 25%,
      rgba(0, 0, 0, 0.28) 100%
    );
}

.particle-intro #staticCanvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.64;
  pointer-events: none;
  image-rendering: auto;
  filter: contrast(1.35) brightness(0.68);
  mix-blend-mode: normal;
  animation: none;
  transition: none;
}

.particle-intro.is-ad #staticCanvas {
  z-index: 1;
  opacity: 0.17;
  filter: contrast(1.6) brightness(0.58);
  mix-blend-mode: screen;
}

.particle-intro.is-montage #staticCanvas {
  z-index: 1;
  opacity: 0.12;
  filter: contrast(1.52) brightness(0.58);
  mix-blend-mode: screen;
}

#particleCanvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  transform-origin: center;
  transition: opacity 0.08s linear;
}

.particle-intro.is-ad #particleCanvas {
  opacity: 0;
}

.particle-intro.is-montage #particleCanvas {
  opacity: 0;
}

.channel-number {
  position: absolute;
  z-index: 7;
  top: clamp(2rem, 4.1vw, 4.4rem);
  right: clamp(2rem, 4.2vw, 4.5rem);
  color: #fff;
  font: clamp(2rem, 3.5vw, 4rem) / 1 "IBM Plex Mono", monospace;
  letter-spacing: -0.08em;
  opacity: 0;
  pointer-events: none;
  text-shadow: 3px 0 rgba(255, 0, 0, 0.22), -3px 0 rgba(0, 160, 255, 0.2);
}

.particle-intro.is-channel-cut .channel-number {
  animation: channel-number-cut 0.19s steps(1) both;
}

.particle-intro__grain,
.particle-intro__scanlines,
.particle-intro__frame,
.particle-intro__axis,
.particle-intro__corner {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.particle-intro__grain {
  inset: -50%;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  animation: particle-grain 0.16s steps(2) infinite;
}

.particle-intro__scanlines {
  inset: 0;
  opacity: 0.18;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.06) 4px
  );
  mix-blend-mode: screen;
}

.particle-intro__frame {
  inset: 1rem;
  border: 1px solid rgba(240, 239, 233, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.8),
    inset 0 0 12vw rgba(0, 0, 0, 0.72);
}

.particle-intro__header,
.particle-intro__footer,
.particle-intro__side-copy {
  position: absolute;
  z-index: 6;
  font-family: "IBM Plex Mono", "Syne Mono", monospace;
  text-transform: uppercase;
}

.particle-intro__header {
  top: clamp(2rem, 4.1vw, 4.4rem);
  right: auto;
  left: clamp(2rem, 4.2vw, 4.5rem);
  display: block;
}

.particle-brand {
  display: block;
  font: clamp(2.8rem, 4.4vw, 4.8rem) / 0.72 "Archivo Black", sans-serif;
  letter-spacing: -0.13em;
}

.particle-intro__header-meta {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3.2vw, 3.5rem);
  padding-top: 0.15rem;
  color: rgba(240, 239, 233, 0.58);
  font-size: clamp(0.46rem, 0.55vw, 0.62rem);
  letter-spacing: 0.15em;
}

.particle-intro__header-meta span:last-child {
  color: #f0efe9;
}

.particle-intro__accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.particle-intro__axis {
  opacity: 0.11;
  background: #f0efe9;
}

.axis--x {
  top: 50%;
  right: 1rem;
  left: 1rem;
  height: 1px;
}

.axis--y {
  top: 1rem;
  bottom: 1rem;
  left: 50%;
  width: 1px;
}

.particle-intro__corner {
  color: rgba(240, 239, 233, 0.45);
  font: 0.7rem/1 "IBM Plex Mono", monospace;
}

.corner--a {
  top: calc(50% - 0.3rem);
  left: calc(50% - 0.3rem);
}

.corner--b {
  top: clamp(8rem, 17vh, 10rem);
  right: clamp(3rem, 7vw, 7rem);
}

.particle-intro__side-copy {
  top: 50%;
  left: clamp(1.8rem, 2.6vw, 3rem);
  display: flex;
  gap: 0.75rem;
  color: rgba(240, 239, 233, 0.5);
  font-size: clamp(0.42rem, 0.5vw, 0.56rem);
  letter-spacing: 0.22em;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
}

.particle-intro__side-copy span:nth-child(2) {
  color: #f0efe9;
}

.particle-intro__footer {
  right: clamp(2rem, 4.2vw, 4.5rem);
  bottom: clamp(2rem, 4.1vw, 4.2rem);
  left: clamp(2rem, 4.2vw, 4.5rem);
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 5rem);
  margin: 0;
  padding: 0;
  color: #f0efe9;
  background: transparent;
}

.particle-metric {
  display: grid;
  gap: 0.55rem;
  min-width: 5.2rem;
}

.particle-metric span,
.particle-coordinates,
.particle-sound {
  color: rgba(240, 239, 233, 0.5);
  font-size: clamp(0.42rem, 0.48vw, 0.54rem);
  letter-spacing: 0.13em;
}

.particle-metric strong {
  font-size: clamp(0.65rem, 0.76vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.09em;
}

.particle-intro__instruction {
  justify-self: center;
  margin: 0;
  text-align: center;
}

.particle-intro__instruction span,
.particle-intro__instruction strong,
.particle-intro__instruction small {
  display: block;
}

.particle-intro__instruction span {
  margin-bottom: 0.35rem;
  color: rgba(240, 239, 233, 0.52);
  font: 0.58rem/1 "Noto Sans SC", sans-serif;
  letter-spacing: 0.22em;
}

.particle-intro__instruction strong {
  font-size: clamp(0.64rem, 0.76vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.22em;
}

.particle-intro__instruction small {
  margin-top: 0.45rem;
  color: rgba(240, 239, 233, 0.3);
  font-size: 0.42rem;
  letter-spacing: 0.17em;
}

.particle-coordinates {
  display: grid;
  gap: 0.25rem;
  min-width: 4.6rem;
}

.particle-sound {
  position: absolute;
  z-index: 8;
  right: clamp(2rem, 4.2vw, 4.5rem);
  bottom: clamp(2rem, 4.1vw, 4.2rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  color: #f0efe9;
  background: transparent;
  font-family: "IBM Plex Mono", "Syne Mono", monospace;
  cursor: none;
}

.particle-intro:not(.has-started) .particle-sound {
  animation: tune-invite 1.5s steps(2) infinite;
}

.particle-sound i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(240, 239, 233, 0.32);
  box-shadow: 0 0 0 transparent;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}

.particle-sound:not(.is-on) i {
  background: #f0efe9;
  animation: particle-noise-ready 0.75s steps(2) infinite;
}

.particle-sound.is-on i {
  background: #f0efe9;
  box-shadow: 0 0 14px rgba(240, 239, 233, 0.8);
  animation: particle-sound-pulse 0.8s steps(2) infinite;
}

.particle-cursor {
  position: fixed;
  z-index: 12;
  top: 0;
  left: 0;
  width: 5.6rem;
  height: 5.6rem;
  margin: -2.8rem 0 0 -2.8rem;
  border: 1px solid rgba(240, 239, 233, 0.5);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition:
    width 0.2s,
    height 0.2s,
    margin 0.2s,
    opacity 0.2s,
    border-color 0.2s;
  will-change: transform;
}

.particle-cursor::before,
.particle-cursor::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(240, 239, 233, 0.75);
}

.particle-cursor::before {
  width: 1rem;
  height: 1px;
  transform: translate(-50%, -50%);
}

.particle-cursor::after {
  width: 1px;
  height: 1rem;
  transform: translate(-50%, -50%);
}

.particle-cursor span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 50%;
  background: #f0efe9;
  transform: translate(-50%, -50%);
}

.particle-intro.has-pointer .particle-cursor {
  opacity: 1;
}

.particle-intro.is-pulling .particle-cursor {
  width: 7.2rem;
  height: 7.2rem;
  margin: -3.6rem 0 0 -3.6rem;
  border-color: rgba(240, 239, 233, 0.88);
}

@keyframes particle-grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(2%, -3%); }
  50% { transform: translate(-3%, 1%); }
  75% { transform: translate(1%, 3%); }
}

@keyframes particle-sound-pulse {
  50% { opacity: 0.35; }
}

@keyframes particle-noise-ready {
  50% {
    opacity: 0.18;
    transform: scale(0.55);
  }
}

@keyframes channel-image-breathe {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1.075);
  }
}

@keyframes tune-invite {
  50% {
    opacity: 0.42;
  }
}

@keyframes channel-number-cut {
  0%,
  12% {
    opacity: 0;
  }
  13%,
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes vintage-subtitle-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes tv-picture-collapse {
  0% {
    opacity: 1;
    transform: scale(1.015);
    filter: grayscale(1) sepia(0.08) contrast(1.18) brightness(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.015) scaleY(0.018);
    filter: grayscale(1) contrast(2.2) brightness(3.6);
  }
  72% {
    opacity: 1;
    transform: scaleX(0.18) scaleY(0.012);
    filter: grayscale(1) contrast(2.6) brightness(4.8);
  }
  86% {
    opacity: 1;
    transform: scale(0.012);
    filter: grayscale(1) brightness(6);
  }
  100% {
    opacity: 0;
    transform: scale(0);
    filter: grayscale(1) brightness(6);
  }
}

@keyframes tv-power-line-off {
  0%,
  34% {
    width: 0;
    opacity: 0;
  }
  50% {
    width: 88%;
    opacity: 1;
  }
  72% {
    width: 16%;
    opacity: 1;
  }
  86% {
    width: 5px;
    height: 5px;
    opacity: 1;
  }
  100% {
    width: 2px;
    height: 2px;
    opacity: 0;
  }
}

@keyframes closing-message-in {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 760px) {
  .boot-screen.particle-intro {
    cursor: auto;
  }

  .particle-intro__frame {
    inset: 0.55rem;
  }

  .particle-intro__header {
    top: 1.7rem;
    right: 1.6rem;
    left: 1.6rem;
  }

  .particle-intro__header-meta span:first-child,
  .particle-intro__side-copy,
  .particle-coordinates,
  .particle-cursor {
    display: none;
  }

  .particle-intro__footer {
    right: 1.6rem;
    bottom: 1.8rem;
    left: 1.6rem;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
  }

  .particle-metric:nth-child(2) {
    display: none;
  }

  .particle-intro__instruction {
    position: absolute;
    right: 0;
    bottom: 3.7rem;
    left: 0;
  }

  .particle-sound {
    grid-column: 2;
    justify-content: flex-end;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    touch-action: manipulation;
  }

  .vintage-subtitle {
    bottom: 5.3rem;
    max-width: calc(100vw - 2rem);
    font-size: clamp(0.92rem, 4.2vw, 1.15rem);
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  .closing-message {
    padding: 1.8rem;
  }

  .closing-message h2 {
    font-size: clamp(2.75rem, 14vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
  }
}
