:root {
  --cobalt: #4c00ff;
  --teal-midnight: #004d4d;
  --teal-electric: #00ced1;
  --teal-slate: #4a707a;
  --teal-seafoam: #00af91;
  --paper: #efe9d8;
  --paper-deep: #d9cfb6;
  --ink: #1a1714;
  --bone: #f5f1e2;
  --transition: 700ms;
  --grunge: 1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════ 3×3 CANVAS ═══════════════ */
.viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 300vw;
  height: 200vh;
  height: 200dvh;
  display: grid;
  grid-template-columns: repeat(3, 100vw);
  grid-template-rows: repeat(2, 100vh);
  grid-template-rows: repeat(2, 100dvh);
  transition: transform var(--transition) cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}
.panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* ═══════════════ GRUNGE OVERLAYS ═══════════════ */
.grain {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: calc(0.55 * var(--grunge));
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/></svg>");
}
.grain.light {
  mix-blend-mode: multiply;
  opacity: calc(0.35 * var(--grunge));
}
.halftone {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(0.18 * var(--grunge));
  background-image: radial-gradient(rgba(0, 0, 0, 0.85) 1px, transparent 1.6px);
  background-size: 5px 5px;
}
.scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(0.12 * var(--grunge));
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.6) 0 1px,
    transparent 1px 3px
  );
}
.smudge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(0.6 * var(--grunge));
  background:
    radial-gradient(
      ellipse 60% 40% at 15% 80%,
      rgba(0, 0, 0, 0.4),
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 30% at 85% 20%,
      rgba(0, 0, 0, 0.35),
      transparent 60%
    );
}

/* ═══════════════ TOP NAV ═══════════════ */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  background: #0a0a0a;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  transform: translateY(-110%);
  transition: transform 600ms cubic-bezier(0.77, 0, 0.18, 1) 0ms;
  overflow: hidden;
}
.topnav.show {
  transform: translateY(0);
}
.topnav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(0.4 * var(--grunge));
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/></svg>");
  mix-blend-mode: overlay;
}
.topnav .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Michroma", sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 6px 10px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: url("images/bg/c-bg-6-vert.jpg");
  background-size: 100% 50%;
  background-position: left 445%;
  transition:
    filter 300ms,
    opacity 300ms;
}
.topnav .brand-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  -webkit-text-fill-color: initial;
}
.topnav .brand:hover {
  filter: brightness(1.25) saturate(1.2);
  opacity: 0.9;
}
.topnav nav {
  display: flex;
  gap: 4px;
  position: relative;
  z-index: 2;
}
.topnav nav button {
  background: none;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  cursor: pointer;
  text-transform: lowercase;
  border-radius: 2px;
  position: relative;
  z-index: 1;
  transition: color 200ms;
}
.topnav nav button:hover {
  /*anchor-name: --nav-hover;*/
  color: #fff;
}
.topnav nav button.active {
  anchor-name: --nav-active;
  color: #fff;
}

.topnav nav::before {
  content: "";
  position: absolute;
  position-anchor: --nav-active;
  left: anchor(left);
  right: anchor(right);
  top: anchor(top);
  bottom: anchor(bottom);
  background: rgba(0, 206, 209, 0.08);
  border: 1px solid rgba(0, 206, 209, 0.3);
  border-radius: 2px;
  box-shadow:
    0 0 12px rgba(0, 206, 209, 0.18),
    inset 0 0 6px rgba(0, 206, 209, 0.05);
  pointer-events: none;
  z-index: -1;
  transition:
    left 300ms cubic-bezier(0.4, 0, 0.2, 1),
    right 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.topnav nav::after {
  content: "";
  position: absolute;
  position-anchor: --nav-hover;
  left: anchor(left);
  right: anchor(right);
  top: anchor(top);
  bottom: anchor(bottom);
  background: transparent;
  border-radius: 2px;
  box-shadow:
    0 0 18px rgba(0, 206, 209, 0.38),
    0 0 36px rgba(0, 206, 209, 0.15),
    inset 0 0 10px rgba(0, 206, 209, 0.08);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition:
    left 300ms cubic-bezier(0.4, 0, 0.2, 1),
    right 300ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 200ms;
}
.topnav nav:has(button:hover)::after {
  opacity: 1;
}
.nav-toggle {
  display: none;
}
.mobile-nav {
  display: none;
}

/* ═══════════════ HOME PANEL ═══════════════ */
.home {
  background:
    radial-gradient(ellipse 90% 70% at 30% 50%, #1a0a3a 0%, #06030f 70%), #000;
  color: #fff;
}
.home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 60%,
      rgba(76, 0, 255, 0.12) 75%,
      transparent 90%
    ),
    radial-gradient(circle at 75% 30%, rgba(0, 206, 209, 0.18), transparent 50%);
}

.home .vert-title {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  transition: transform 800ms cubic-bezier(0.77, 0, 0.18, 1);
  overflow: hidden;
}
.home .vert-title.lift {
  transform: translateY(-100%);
}
.home .vert-title::before {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.home .vert-title h1 {
  font-family: "Michroma", sans-serif;
  font-size: 7.3vh;
  line-height: 1;
  letter-spacing: 4px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: url("images/bg/c-bg-6.jpg");
  background-size: cover;
  background-position: 69% center;
  position: relative;
  z-index: 2;
  margin-top: -8px;
}
.home .vert-title .stamp {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) rotate(-12deg);
  font-family: "Special Elite", serif;
  font-size: 11px;
  color: var(--teal-electric);
  border: 1px solid var(--teal-electric);
  padding: 3px 8px;
  letter-spacing: 0.2em;
  z-index: 3;
  text-transform: uppercase;
  opacity: 0.7;
}
.home .vert-title .stamp.bottom {
  top: auto;
  bottom: 30px;
  color: #fff;
  border-color: #fff;
}

.home .hero {
  position: absolute;
  left: 260px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 580px;
  z-index: 4;
  padding: 0 24px 0 0;
}
.home .welcome {
  font-family: "Michroma", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--teal-electric);
  text-transform: uppercase;
  margin-bottom: 16px;
  border-left: 3px solid var(--cobalt);
  padding-left: 12px;
}
.home .tagline {
  font-family: "Space Grotesk", "Michroma", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.home .tagline em {
  font-style: normal;
  color: var(--teal-electric);
  font-weight: 300;
}
.home .subtitle {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
  max-width: 480px;
}
.home .links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 420px;
}
.home .links button {
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  padding: 8px 0;
  transition:
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    color 300ms;
  position: relative;
}
.home .links button .arrow-pre {
  color: var(--teal-electric);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.home .links button:hover {
  transform: translateX(10px);
  color: #fff;
}
.home .links button:hover .arrow-pre {
  transform: translateX(-4px);
}
.home .links button span:not(.arrow-pre) {
  position: relative;
}
.home .links button span:not(.arrow-pre)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-electric), var(--cobalt));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.home .links button:hover span:not(.arrow-pre)::after {
  transform: scaleX(1);
}
.home .scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(255, 255, 255, 0.35);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: homePulse 2s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes homePulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.home .marginalia {
  position: absolute;
  right: 32px;
  top: 32px;
  z-index: 4;
  text-align: right;
  font-family: "VT323", monospace;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}
.home .marginalia .blink {
  animation: blink 1.1s steps(2) infinite;
  color: var(--teal-electric);
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.home .corner-coord {
  position: absolute;
  bottom: 24px;
  right: 32px;
  z-index: 4;
  font-family: "VT323", monospace;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}
.home .scribble {
  position: absolute;
  bottom: 60px;
  left: 230px;
  z-index: 4;
  font-family: "Special Elite", serif;
  font-size: 13px;
  color: var(--teal-electric);
  transform: rotate(-3deg);
  opacity: 0.7;
  max-width: 300px;
  border-top: 1px dashed var(--teal-electric);
  padding-top: 6px;
}

/* ═══════════════ BLOG PANEL ═══════════════ */
.blog {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, #0d1429 0%, #06030f 70%), #000;
  color: #fff;
}
.blog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 40% 30% at 5% 10%,
      rgba(0, 206, 209, 0.06),
      transparent 60%
    ),
    radial-gradient(
      ellipse 30% 25% at 95% 90%,
      rgba(76, 0, 255, 0.08),
      transparent 60%
    );
}
.blog .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}
.blog .section-head h2 {
  font-family: "Michroma", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.blog .section-head h2 em {
  font-style: normal;
  color: var(--teal-electric);
}
.blog .section-head .meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}
.blog .section-head .meta b {
  color: var(--teal-electric);
  font-weight: normal;
}

.blog .articles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.blog .article {
  padding: 14px;
}
.blog .article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 206, 209, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    background 250ms ease;
  position: relative;
  color: #fff;
}
.blog .article::after {
  content: "";
  position: absolute;
  /*inset: -3px;*/
  inset: 20px;
  background: linear-gradient(
    315deg,
    var(--teal-electric),
    #0d0520 50%,
    var(--cobalt)
  );
  transform: skewX(1.5deg) skewY(1.5deg);
  filter: blur(38px);
  opacity: 0;
  z-index: -1;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.blog .article:hover {
  transform: translateY(-3px);
  /*border: 1px solid transparent;*/
  background:
    rgba(255, 255, 255, 0.07) padding-box,
    linear-gradient(315deg, var(--teal-electric), #0d0520 50%, var(--cobalt))
      border-box;
}
.blog .article:hover::after {
  opacity: 0.65;
}
.blog .article .tag {
  font-family: "VT323", monospace;
  font-size: 14px;
  color: var(--teal-electric);
  letter-spacing: 0.1em;
}
.blog .article h3 {
  font-family: "Michroma", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.blog .article p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  flex: 1;
}
.blog .article .foot {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.blog .article.feat {
  grid-column: span 6;
  grid-row: 1 / span 2;
  background: rgba(76, 0, 255, 0.12);
  border-color: rgba(0, 206, 209, 0.4);
  color: #fff;
}
.blog .article.feat:hover {
  background:
    rgba(76, 0, 255, 0.12) padding-box,
    linear-gradient(315deg, var(--teal-electric), #0d0520 50%, var(--cobalt))
      border-box;
}
.blog .article.feat h3 {
  font-size: 28px;
  line-height: 1;
}
.blog .article.feat p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.blog .article.feat .tag {
  color: var(--teal-electric);
}
.blog .article.feat .foot {
  color: rgba(255, 255, 255, 0.45);
}
.blog .article.feat::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /*background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/></svg>");*/
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.blog .article.s4 {
  grid-column: span 3;
}
.blog .article.s3 {
  grid-column: span 3;
}
.blog .article.s6 {
  grid-column: span 6;
  grid-row: span 1;
  display: none;
}
.blog .article .stamp {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: "VT323", monospace;
  font-size: 11px;
  border: 1px solid currentColor;
  padding: 2px 5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: rotate(6deg);
  opacity: 0.6;
}

/* ═══════════════ TECH PROJECTS PANEL ═══════════════ */
.tech {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, #0a1f3a 0%, #06030f 70%), #000;
  color: #fff;
}
/*
.tech::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 38px,
      rgba(0, 206, 209, 0.03) 38px 39px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 38px,
      rgba(76, 0, 255, 0.03) 38px 39px
    );
}
*/
.tech .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 2px dashed var(--teal-electric);
  padding-bottom: 14px;
}
.tech .section-head h2 {
  font-family: "Michroma", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.tech .section-head h2 em {
  font-style: normal;
  color: var(--teal-electric);
}
.tech .section-head .meta {
  font-family: "VT323", monospace;
  font-size: 18px;
  color: var(--teal-electric);
  text-align: right;
  line-height: 1.3;
  white-space: nowrap;
}
.tech .section-head .meta b {
  color: #fff;
  font-weight: normal;
}

.tech .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.tech .card {
  overflow: hidden;
}
.tech .card {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--teal-electric);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  cursor: pointer;
  transition:
    transform 220ms,
    box-shadow 220ms,
    background 220ms;
}
.tech .card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 28px rgba(76, 0, 255, 0.22),
    0 0 0 1px rgba(0, 206, 209, 0.5);
  background: rgba(76, 0, 255, 0.1);
}
.tech .card .badge {
  position: absolute;
  top: -1px;
  right: -1px;
  font-family: "VT323", monospace;
  font-size: 14px;
  letter-spacing: 0.1em;
  background: var(--teal-electric);
  color: #000;
  padding: 4px 10px;
}
.tech .card .ico {
  width: 44px;
  height: 44px;
  border: 1px solid var(--teal-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Rubik Mono One", sans-serif;
  font-size: 18px;
  color: var(--teal-electric);
  background: rgba(0, 206, 209, 0.08);
}
.tech .card h3 {
  font-family: "Michroma", sans-serif;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.tech .card .sub {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--teal-electric);
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.tech .card p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  flex: 1;
}
.tech .card .stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tech .card .chip {
  font-family: "VT323", monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1px 7px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.tech .card .chip.cobalt {
  border-color: var(--cobalt);
  color: #fff;
  background: var(--cobalt);
}

/* ═══════════════ MUSIC PANEL ═══════════════ */
.music {
  background:
    radial-gradient(ellipse 80% 60% at 70% 80%, #1a0a3a 0%, #06030f 70%), #000;
  color: #fff;
  position: relative;
}
.music::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 70% 50% at 75% 85%,
      rgba(76, 0, 255, 0.25),
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 35% at 15% 25%,
      rgba(0, 206, 209, 0.1),
      transparent 70%
    );
}
.music::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/></svg>");
  mix-blend-mode: screen;
  opacity: 0.18;
}
.music .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(0, 206, 209, 0.3);
}
.music .section-head h2 {
  font-family: "Michroma", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: #fff;
}
.music .section-head h2 em {
  font-style: normal;
  color: var(--teal-electric);
}
.music .section-head .meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--teal-electric);
  text-transform: uppercase;
  text-align: right;
  border-left: 2px solid var(--teal-electric);
  padding-left: 14px;
}

.music .body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
}

.music .player {
  background: linear-gradient(160deg, #1a0a3a, #000);
  border: 1px solid rgba(0, 206, 209, 0.4);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.music .player::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 6px,
    rgba(0, 206, 209, 0.04) 6px 7px
  );
}
.music .player .art {
  height: clamp(180px, 26vh, 320px);
  background: url("images/logos/ac-is2.jpg") center/contain no-repeat;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.music .player .controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.music .player .play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-electric);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 206, 209, 0.35);
  font-size: 18px;
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.music .player .play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 206, 209, 0.45);
}
.music .player .play:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 206, 209, 0.25);
}
.music .player .progress {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(0, 206, 209, 0.3);
  position: relative;
  cursor: pointer;
}
.music .player .progress .bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--teal-electric);
  width: 34%;
}
.music .player .progress .bar::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -4px;
  width: 12px;
  height: 12px;
  background: var(--cobalt);
  border: 1px solid #000;
}
.music .player .time {
  font-family: "VT323", monospace;
  font-size: 18px;
  color: var(--teal-electric);
  min-width: 90px;
  text-align: right;
}
.music .player .now {
  font-family: "Space Grotesk", sans-serif;
}
.music .player .now .label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--teal-electric);
  text-transform: uppercase;
}
.music .player .now .title {
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
  margin-top: 2px;
}
.music .player .now .by {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.music .right {
  display: flex;
  flex-direction: column;
  height: clamp(260px, 38vh, 420px);
}
.music .tracks {
  flex: 1;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 206, 209, 0.4) transparent;
}
.music .tracks::-webkit-scrollbar {
  width: 8px;
}
.music .tracks::-webkit-scrollbar-thumb {
  background: rgba(0, 206, 209, 0.4);
}
.music .track {
  display: grid;
  grid-template-columns: 30px 1fr 60px 30px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  transition: background 150ms;
}
.music .track:hover {
  background: rgba(0, 206, 209, 0.08);
}
.music .track.active {
  background: rgba(76, 0, 255, 0.25);
  border-bottom-color: var(--teal-electric);
}
.music .track .n {
  font-family: "VT323", monospace;
  font-size: 16px;
  color: var(--teal-electric);
}
.music .track .t {
  color: #fff;
}
.music .track .d {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-align: right;
}
.music .track .ic {
  color: var(--teal-electric);
  font-size: 14px;
  text-align: center;
}
.music .track.active .ic {
  animation: eq 1s infinite alternate;
}
@keyframes eq {
  from {
    transform: scaleY(0.6);
  }
  to {
    transform: scaleY(1.1);
  }
}

.music .links-row {
  display: flex;
  gap: 10px;
}
.music .links-row a {
  flex: 1;
  display: block;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  font-family: "Michroma", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1px solid var(--teal-electric);
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  transition:
    transform 200ms,
    background 200ms,
    box-shadow 200ms;
  text-transform: uppercase;
}
.music .links-row a:hover {
  background: var(--teal-electric);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.3);
}
.music .links-row a small {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  margin-top: 4px;
  color: var(--teal-electric);
}
.music .links-row a:hover small {
  color: #000;
}

.music .embeds-head {
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 206, 209, 0.3);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-electric);
}
.music .embeds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px;
}
.music .embeds .embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border: 1px solid rgba(0, 206, 209, 0.4);
  background: #000;
  overflow: hidden;
}
.music .embeds .embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ═══════════════ ABOUT PANEL ═══════════════ */
.about {
  background:
    radial-gradient(ellipse 80% 70% at 50% 30%, #0d1a2e 0%, #06030f 70%), #000;
  color: #fff;
}
.about .scroll-content,
.contact .scroll-content,
.blog .scroll-content,
.tech .scroll-content,
.music .scroll-content {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}
.about .scroll-content {
  padding: 96px 64px 48px;
  scrollbar-color: rgba(0, 206, 209, 0.4) transparent;
}
.about .scroll-content::-webkit-scrollbar {
  width: 8px;
}
.about .scroll-content::-webkit-scrollbar-thumb {
  background: rgba(0, 206, 209, 0.4);
}
.contact .scroll-content {
  padding: 96px 64px 48px;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.contact .scroll-content::-webkit-scrollbar {
  width: 8px;
}
.contact .scroll-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
}
.blog .scroll-content {
  padding: 96px 56px 32px;
  scrollbar-color: rgba(0, 206, 209, 0.4) transparent;
}
.blog .scroll-content::-webkit-scrollbar {
  width: 8px;
}
.blog .scroll-content::-webkit-scrollbar-thumb {
  background: rgba(0, 206, 209, 0.4);
}
.tech .scroll-content {
  padding: 96px 64px 48px;
  scrollbar-color: rgba(0, 206, 209, 0.4) transparent;
}
.tech .scroll-content::-webkit-scrollbar {
  width: 8px;
}
.tech .scroll-content::-webkit-scrollbar-thumb {
  background: rgba(0, 206, 209, 0.4);
}
.music .scroll-content {
  padding: 96px 64px 48px;
  scrollbar-color: rgba(0, 206, 209, 0.4) transparent;
}
.music .scroll-content::-webkit-scrollbar {
  width: 8px;
}
.music .scroll-content::-webkit-scrollbar-thumb {
  background: rgba(0, 206, 209, 0.4);
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 30% 50% at 0% 100%,
      rgba(76, 0, 255, 0.08),
      transparent 60%
    ),
    radial-gradient(
      ellipse 25% 40% at 100% 0%,
      rgba(0, 206, 209, 0.06),
      transparent 60%
    );
}
.about .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
}
.about .section-head h2 {
  font-family: "Michroma", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.about .section-head h2 em {
  font-style: normal;
  color: var(--teal-electric);
}
.about .section-head .meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.about .body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}
.about .col-main {
  padding-right: 14px;
}
.about .col-main h3 .deg {
  position: relative;
  bottom: 8px;
  font-size: 0.7em;
}
.about .col-main h3 {
  font-family: "Michroma", sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 24px 0 8px;
  border-left: 4px solid var(--cobalt);
  padding-left: 10px;
  text-transform: uppercase;
  color: #fff;
}
.about .col-main h3:first-child {
  margin-top: 0;
}
.about .col-main p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}
.about .col-main p strong {
  font-weight: normal;
  background: var(--cobalt);
  color: #fff;
  padding: 0 4px;
}
.about .col-main ul {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  list-style: none;
  padding-left: 0;
}
.about .col-main li {
  padding-left: 20px;
  position: relative;
  color: rgba(255, 255, 255, 0.75);
}
.about .col-main li::before {
  content: "▸";
  color: var(--teal-electric);
  position: absolute;
  left: 0;
}
.about .col-main .lede {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #fff;
  border-left: 6px solid var(--cobalt);
  padding: 10px 0 10px 16px;
  background: rgba(76, 0, 255, 0.1);
  margin-bottom: 16px;
}

.about .col-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about .id-card {
  background: var(--bone);
  border: 1px solid var(--ink);
  padding: 20px;
  transform: rotate(-1.5deg);
  box-shadow: 5px 5px 0 var(--teal-midnight);
  position: relative;
}
.about .id-card::before {
  content: "FILE NO. 0042";
  position: absolute;
  top: -1px;
  left: -1px;
  background: var(--ink);
  color: var(--bone);
  font-family: "VT323", monospace;
  font-size: 13px;
  padding: 2px 8px;
  letter-spacing: 0.15em;
}
.about .id-card .photo {
  aspect-ratio: 1;
  margin-top: 18px;
  background-image: url(images/j.png);
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 241, 226, 0.5);
  font-family: "VT323", monospace;
  font-size: 14px;
  letter-spacing: 0.1em;
  position: relative;
  background-size: cover;
}
.about .id-card .name {
  font-family: "Michroma", sans-serif;
  font-size: 18px;
  margin-top: 14px;
  letter-spacing: 0.02em;
}
.name-color {
  color: #4c00ff;
}
.about .id-card .role {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--teal-midnight);
  margin-top: 2px;
}
.about .id-card .stat {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  border-top: 1px dashed var(--ink);
  padding-top: 6px;
  margin-top: 10px;
  color: #3a3530;
}
.about .id-card .stat span:last-child {
  color: var(--cobalt);
}

.about .stamp-block {
  background: var(--ink);
  color: var(--bone);
  padding: 14px;
  transform: rotate(1deg);
  font-family: "VT323", monospace;
  font-size: 16px;
  line-height: 1.4;
  border: 1px solid var(--ink);
}
.about .stamp-block b {
  color: var(--teal-electric);
  font-weight: normal;
}

/* ═══════════════ CONTACT PANEL ═══════════════ */
.contact {
  background:
    radial-gradient(ellipse 90% 80% at 40% 50%, #150030 0%, #06030f 70%), #000;
  color: #fff;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 60% 50% at 95% 95%,
      rgba(0, 206, 209, 0.15),
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 5% 5%,
      rgba(76, 0, 255, 0.2),
      transparent 60%
    );
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.25;
}

.contact .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
  position: relative;
  z-index: 2;
}
.contact .section-head h2 {
  font-family: "Michroma", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.contact .section-head h2 em {
  font-style: normal;
  color: var(--teal-electric);
}
.contact .section-head .meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.contact .body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.contact .left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact .pitch {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  color: #fff;
  max-width: 520px;
}
.contact .pitch em {
  font-style: normal;
  background: var(--teal-electric);
  color: #000;
  padding: 0 6px;
}

.contact .channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--teal-electric);
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition:
    transform 200ms,
    background 200ms,
    box-shadow 200ms;
  font-family: "IBM Plex Mono", monospace;
}
.contact .channel:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 206, 209, 0.14),
    0 0 0 1px rgba(0, 206, 209, 0.5);
  background: rgba(0, 0, 0, 0.5);
}
.contact .channel .ico {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 20px;
  color: var(--teal-electric);
  flex-shrink: 0;
}
.contact .channel .info {
  flex: 1;
}
.contact .channel .info .lab {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-electric);
}
.contact .channel .info .val {
  font-size: 16px;
  margin-top: 3px;
  word-break: break-all;
}
.contact .channel .arrow {
  color: var(--teal-electric);
  font-family: "VT323", monospace;
  font-size: 24px;
}

.contact .right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.contact .ticket {
  background: var(--bone);
  color: var(--ink);
  padding: 24px;
  border: 1px solid var(--ink);
  transform: rotate(2deg);
  box-shadow: 8px 8px 0 rgba(76, 0, 255, 0.6);
  position: relative;
  font-family: "Space Grotesk", sans-serif;
}
.contact .ticket::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  bottom: 0;
  width: 8px;
  background: radial-gradient(
      circle 8px at 0 8px,
      transparent 6px,
      var(--bone) 6px
    )
    0 0/8px 16px;
}
.contact .ticket .hd {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px dashed var(--ink);
  padding-bottom: 8px;
  margin-bottom: 10px;
  font-family: "VT323", monospace;
  font-size: 18px;
  letter-spacing: 0.1em;
}
.contact .ticket .hd b {
  color: var(--cobalt);
  font-weight: normal;
}
.contact .ticket h4 {
  font-family: "Michroma", sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.contact .ticket p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #3a3530;
}
.contact .ticket .barcode {
  margin-top: 12px;
  height: 32px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px,
    transparent 2px 4px,
    var(--ink) 4px 5px,
    transparent 5px 9px,
    var(--ink) 9px 11px,
    transparent 11px 13px
  );
}
.contact .ticket .num {
  font-family: "VT323", monospace;
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0.2em;
  color: #3a3530;
}

.ico-gh {
  background-image: url("images/logos/GitHub_Invertocat_White_Clearspace.png");
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
}
.ico-in {
  background-image: url("images/logos/InBug-White.png");
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
}

/* ═══════════════ MODAL ═══════════════ */
.modal-back {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  animation: fadein 220ms ease;
}
.modal-back::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/></svg>");
  mix-blend-mode: overlay;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slidein {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal {
  position: relative;
  width: min(820px, 100%);
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  background: #faf8f3;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  animation: slidein 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal.dark {
  background: #0d1429;
  color: #fff;
  border: 1px solid rgba(0, 206, 209, 0.22);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(0, 206, 209, 0.1);
}

.modal .mh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: "VT323", monospace;
  font-size: 16px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.modal.dark .mh {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.modal .mh .crumbs {
  color: var(--cobalt);
}
.modal.dark .mh .crumbs {
  color: var(--teal-electric);
}
.modal .mh .x {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  color: rgba(0, 0, 0, 0.5);
  width: 28px;
  height: 28px;
  border-radius: 2px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 16px;
  cursor: pointer;
  transition:
    background 150ms,
    color 150ms,
    border-color 150ms;
}
.modal.dark .mh .x {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
}
.modal .mh .x:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.3);
}
.modal.dark .mh .x:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.modal .mb {
  padding: 24px 28px 28px;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--teal-midnight) transparent;
}
.modal .mb::-webkit-scrollbar {
  width: 8px;
}
.modal .mb::-webkit-scrollbar-thumb {
  background: var(--teal-midnight);
}
.modal.dark .mb::-webkit-scrollbar-thumb {
  background: var(--teal-electric);
}

.modal .tag {
  font-family: "VT323", monospace;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--cobalt);
}
.modal.dark .tag {
  color: var(--teal-electric);
}
.modal h2.mtitle {
  font-family: "Michroma", sans-serif;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 6px 0 14px;
}
.modal .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  border-top: 1px dashed currentColor;
  border-bottom: 1px dashed currentColor;
  padding: 10px 0;
  margin-bottom: 18px;
  color: rgba(0, 0, 0, 0.6);
}
.modal .meta-row span {
  white-space: nowrap;
}
.modal.dark .meta-row {
  color: rgba(255, 255, 255, 0.6);
}
.modal .meta-row b {
  color: var(--cobalt);
  font-weight: normal;
}
.modal.dark .meta-row b {
  color: var(--teal-electric);
}
.modal .body p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.modal.dark .body p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.5px;
  line-height: 1.7;
}
.modal .body h2,
.modal .body h3,
.modal .body h4 {
  font-family: "Michroma", sans-serif;
  font-size: 13px;
  border-left: 4px solid var(--cobalt);
  padding-left: 10px;
  margin: 18px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.modal.dark .body h2,
.modal.dark .body h3,
.modal.dark .body h4 {
  border-left-color: var(--teal-electric);
}
.modal .body ul,
.modal .body ol {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
}
.modal .body li {
  padding-left: 20px;
  position: relative;
}
.modal .body li::before {
  content: "▸";
  color: var(--cobalt);
  position: absolute;
  left: 0;
}
.modal.dark .body li::before {
  color: var(--teal-electric);
}
.modal .body code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  background: rgba(76, 0, 255, 0.12);
  padding: 1px 5px;
  border: 1px solid rgba(76, 0, 255, 0.25);
}
.modal.dark .body code {
  background: rgba(0, 206, 209, 0.15);
  border-color: rgba(0, 206, 209, 0.4);
}
.modal .body blockquote {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  border-left: 6px solid var(--cobalt);
  padding: 8px 0 8px 16px;
  margin: 14px 0;
  background: rgba(76, 0, 255, 0.06);
}
.modal.dark .body blockquote {
  border-left-color: var(--teal-electric);
  background: rgba(0, 206, 209, 0.08);
}
.modal .body a {
  color: var(--cobalt);
  text-decoration: underline;
  text-decoration-color: rgba(76, 0, 255, 0.4);
  word-break: break-all;
  transition:
    color 150ms,
    text-decoration-color 150ms;
}
.modal .body a:hover {
  color: var(--teal-electric);
  text-decoration-color: var(--teal-electric);
}
.modal.dark .body a {
  color: var(--teal-electric);
  text-decoration-color: rgba(0, 206, 209, 0.4);
}
.modal.dark .body a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.modal .stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 16px;
}
.modal .stack-row .chip {
  font-family: "VT323", monospace;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: 1px solid currentColor;
  padding: 2px 10px;
  white-space: nowrap;
  line-height: 1.3;
  display: inline-block;
}
.modal .stack-row .chip.k {
  background: var(--cobalt);
  color: #fff;
  border-color: var(--cobalt);
}

.modal .actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.modal .actions a,
.modal .actions button {
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  transition:
    transform 150ms,
    background 150ms,
    box-shadow 150ms;
}
.modal .actions a:hover,
.modal .actions button:hover {
  transform: translateY(-1px);
  background: var(--cobalt);
  color: #fff;
  border-color: var(--cobalt);
  box-shadow: 0 4px 14px rgba(76, 0, 255, 0.3);
}
.modal.dark .actions a:hover,
.modal.dark .actions button:hover {
  transform: translateY(-1px);
  background: var(--teal-electric);
  color: #000;
  border-color: var(--teal-electric);
  box-shadow: 0 4px 14px rgba(0, 206, 209, 0.3);
}

.blog .article,
.tech .card {
  cursor: pointer;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {
  .home .vert-title {
    width: 120px;
  }
  .home .vert-title h1 {
    font-size: 5.5vh;
  }
  .home .hero {
    left: 152px;
    padding-left: 16px;
  }
}

@media (max-width: 768px) {
  .topnav {
    height: 56px;
    padding: 0 14px;
  }
  .topnav .brand {
    flex-shrink: 0;
    font-size: 14px;
    padding: 6px 8px;
  }
  .topnav nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 1px;
    transition:
      transform 250ms ease,
      opacity 250ms ease;
    transform-origin: center;
  }
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .mobile-nav {
    display: block;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 49;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    max-height: 0;
    pointer-events: none;
    transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-nav.show {
    pointer-events: auto;
  }
  .mobile-nav.show.open {
    max-height: 400px;
  }
  .mobile-nav button {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-family: "IBM Plex Mono", monospace;
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 16px 20px;
    text-align: left;
    text-transform: lowercase;
    cursor: pointer;
    transition:
      color 200ms,
      background 200ms;
  }
  .mobile-nav button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
  }
  .mobile-nav button.active {
    color: var(--teal-electric);
    background: rgba(0, 206, 209, 0.06);
  }

  .home .vert-title {
    display: none;
  }
  .home .hero {
    left: 0;
    right: 0;
    max-width: none;
    padding: 0 24px;
  }
  .home .tagline {
    font-size: clamp(2.2rem, 9vw, 5rem);
  }
  .home .subtitle {
    max-width: none;
  }
  .home .marginalia {
    top: 16px;
    right: 16px;
    font-size: 14px;
  }

  .about .scroll-content,
  .contact .scroll-content,
  .blog .scroll-content,
  .tech .scroll-content,
  .music .scroll-content {
    padding: 76px 20px 32px;
  }
  .blog .section-head,
  .tech .section-head,
  .music .section-head,
  .about .section-head,
  .contact .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .blog .section-head .meta,
  .tech .section-head .meta,
  .music .section-head .meta,
  .about .section-head .meta,
  .contact .section-head .meta {
    text-align: left;
  }
  .blog .articles {
    grid-template-columns: 1fr;
  }
  .blog .article,
  .blog .article.feat,
  .blog .article.s4,
  .blog .article.s3 {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .blog .article.feat h3 {
    font-size: 22px;
  }
  .tech .grid {
    grid-template-columns: 1fr;
  }

  .music .body {
    grid-template-columns: 1fr;
  }
  .music .embeds {
    grid-template-columns: 1fr;
  }

  .about .body {
    grid-template-columns: 1fr;
  }
  .about .col-side {
    max-width: 420px;
  }

  .contact .body {
    grid-template-columns: 1fr;
  }

  .modal-back {
    padding: 24px 14px;
  }
  .modal {
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
  }
  .modal .mb {
    padding: 18px 18px 22px;
  }
}
