@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --ink: #071013;
  --panel: #0d181c;
  --panel2: #111f24;
  --text: #eef5f2;
  --muted: #9baba8;
  --acid: #c8ff3d;
  --cyan: #4ee6e0;
  --line: #24373c;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font:
    400 1rem/1.65 Manrope,
    system-ui,
    sans-serif;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(
      circle at 84% 5%,
      rgba(78, 230, 224, 0.11),
      transparent 28rem
    ),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size:
    auto,
    48px 48px,
    48px 48px;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
}
.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--acid);
  color: var(--ink);
  padding: 10px 14px;
  z-index: 100;
}
.skip:focus {
  left: 12px;
}
.cursor-glitch {
  position: fixed;
  z-index: 9999;
  width: 26px;
  height: 26px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}
.cursor-glitch:before,
.cursor-glitch:after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid var(--cyan);
}
.cursor-glitch:after {
  border-color: #ff3d9a;
}
.cursor-glitch.is-interactive:before {
  border-color: var(--acid);
}
.cursor-glitch.is-active {
  animation: cursor-glitch-flash 0.18s steps(2, end);
}
@keyframes cursor-glitch-flash {
  0% {
    opacity: 0;
    clip-path: inset(0);
  }
  20% {
    opacity: 0.9;
    transform: translate(calc(-50% - 5px), calc(-50% + 2px));
    clip-path: inset(0 0 55% 0);
  }
  45% {
    opacity: 0.75;
    transform: translate(calc(-50% + 4px), calc(-50% - 2px));
    clip-path: inset(38% 0 20% 0);
  }
  70% {
    opacity: 0.55;
    transform: translate(calc(-50% - 2px), -50%);
    clip-path: inset(68% 0 0 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%);
    clip-path: inset(0);
  }
}
@media (pointer: fine) {
  html.has-code-cursor,
  html.has-code-cursor body,
  html.has-code-cursor body * {
    cursor:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%234ee6e0' stroke-width='1.5' stroke-linecap='square'%3E%3Cpath d='M5 11V5h6M21 5h6v6M27 21v6h-6M11 27H5v-6'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='1.5' fill='%23c8ff3d'/%3E%3C/svg%3E")
        16 16,
      crosshair !important;
  }
  html.has-code-cursor a,
  html.has-code-cursor button,
  html.has-code-cursor [role="button"],
  html.has-code-cursor [role="link"],
  html.has-code-cursor select,
  html.has-code-cursor summary,
  html.has-code-cursor label[for],
  html.has-code-cursor input[type="button"],
  html.has-code-cursor input[type="submit"],
  html.has-code-cursor input[type="file"] {
    cursor:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23c8ff3d' stroke-width='1.75' stroke-linecap='square'%3E%3Cpath d='M4 12V4h8M20 4h8v8M28 20v8h-8M12 28H4v-8'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='2' fill='%234ee6e0'/%3E%3C/svg%3E")
        16 16,
      pointer !important;
  }
  html.has-code-cursor input[type="text"],
  html.has-code-cursor input[type="email"],
  html.has-code-cursor input[type="search"],
  html.has-code-cursor input[type="url"],
  html.has-code-cursor input[type="password"],
  html.has-code-cursor textarea,
  html.has-code-cursor [contenteditable="true"] {
    cursor: text !important;
  }
  html.has-code-cursor iframe {
    cursor: auto !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-glitch {
    display: none;
  }
}
.cursor-glitch {
  width: 36px;
  height: 36px;
}
.cursor-glitch:before,
.cursor-glitch:after {
  inset: 0;
  box-shadow:
    6px 0 rgba(255, 61, 154, 0.65),
    -6px 0 rgba(78, 230, 224, 0.65);
}
@keyframes cursor-glitch-flash {
  0% {
    opacity: 0;
    clip-path: inset(0);
  }
  12% {
    opacity: 1;
    transform: translate(calc(-50% - 10px), calc(-50% + 4px)) skewX(14deg);
    clip-path: inset(0 0 64% 0);
    filter: drop-shadow(9px 0 #ff3d9a) drop-shadow(-8px 0 var(--cyan));
  }
  32% {
    opacity: 0.95;
    transform: translate(calc(-50% + 8px), calc(-50% - 3px)) skewX(-12deg);
    clip-path: inset(30% 0 22% 0);
    filter: drop-shadow(-9px 0 #ff3d9a) drop-shadow(8px 0 var(--acid));
  }
  55% {
    opacity: 0.8;
    transform: translate(calc(-50% - 6px), calc(-50% + 2px));
    clip-path: inset(62% 0 4% 0);
    filter: drop-shadow(7px 0 var(--cyan));
  }
  78% {
    opacity: 0.5;
    transform: translate(calc(-50% + 3px), -50%);
    clip-path: inset(15% 0 58% 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%);
    clip-path: inset(0);
    filter: none;
  }
}
.site-fx-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.site-refracting {
  filter: url("#site-ripple-filter");
  will-change: filter;
}
.post-fx-layer {
  position: fixed;
  inset: 0;
  z-index: 9998;
  overflow: hidden;
  pointer-events: none;
}
.glitch-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.025) 0 38%,
    rgba(78, 230, 224, 0.18) 45%,
    rgba(200, 255, 61, 0.08) 54%,
    transparent 68%
  );
  border: 1px solid rgba(78, 230, 224, 0.8);
  box-shadow:
    8px 0 0 -6px rgba(255, 61, 154, 0.9),
    -8px 0 0 -6px rgba(78, 230, 224, 0.9);
  backdrop-filter: contrast(1.45) saturate(2.1) hue-rotate(12deg);
  -webkit-backdrop-filter: contrast(1.45) saturate(2.1) hue-rotate(12deg);
  will-change: transform, opacity, clip-path;
  overflow: hidden;
}
.glitch-ripple:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 4px,
    rgba(255, 255, 255, 0.13) 5px,
    transparent 6px
  );
  mix-blend-mode: screen;
  animation: ripple-scan 0.16s steps(2, end) infinite;
}
.glitch-ripple:after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid var(--acid);
  box-shadow:
    5px 0 rgba(255, 61, 154, 0.45),
    -5px 0 rgba(78, 230, 224, 0.45);
}
.glitch-ripple.is-hover {
  width: 52px;
  height: 52px;
  animation: ripple-hover 0.32s cubic-bezier(0.15, 0.7, 0.25, 1);
}
.glitch-ripple.is-click {
  width: 104px;
  height: 104px;
  border-width: 2px;
  animation: ripple-click 0.58s cubic-bezier(0.1, 0.65, 0.15, 1);
  backdrop-filter: contrast(1.75) saturate(2.8) hue-rotate(22deg);
  -webkit-backdrop-filter: contrast(1.75) saturate(2.8) hue-rotate(22deg);
}
@keyframes ripple-hover {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.2);
    clip-path: circle(50%);
  }
  28% {
    opacity: 1;
    transform: translate(calc(-50% - 3px), calc(-50% + 1px)) scale(0.72);
    clip-path: inset(0 0 45% 0);
  }
  48% {
    transform: translate(calc(-50% + 3px), calc(-50% - 1px)) scale(0.94);
    clip-path: inset(42% 0 8% 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.55);
    clip-path: circle(50%);
  }
}
@keyframes ripple-click {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.12);
    clip-path: circle(50%);
  }
  18% {
    opacity: 1;
    transform: translate(calc(-50% - 8px), calc(-50% + 3px)) scale(0.58);
    clip-path: inset(0 0 62% 0);
  }
  33% {
    transform: translate(calc(-50% + 7px), calc(-50% - 2px)) scale(0.92);
    clip-path: inset(31% 0 25% 0);
  }
  52% {
    opacity: 0.9;
    transform: translate(calc(-50% - 4px), -50%) scale(1.35);
    clip-path: inset(67% 0 0 0);
  }
  72% {
    opacity: 0.65;
    transform: translate(calc(-50% + 2px), -50%) scale(1.9);
    clip-path: circle(50%);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.75);
    clip-path: circle(50%);
  }
}
@keyframes ripple-scan {
  0% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(3px);
  }
  100% {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-refracting {
    filter: none;
  }
  .post-fx-layer {
    display: none;
  }
}
.glitch-pixels {
  position: fixed;
  z-index: 9998;
  width: 0;
  height: 0;
  pointer-events: none;
}
.glitch-pixels span {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--pixel-size);
  height: var(--pixel-size);
  background: var(--pixel-color);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    4px 0 rgba(255, 61, 154, 0.45),
    -4px 0 rgba(78, 230, 224, 0.45);
  opacity: 0;
  mix-blend-mode: screen;
  animation: pixel-hover 0.34s steps(4, end) var(--pixel-delay) forwards;
}
.glitch-pixels.is-click span {
  animation-name: pixel-click;
  animation-duration: 0.62s;
}
@keyframes pixel-hover {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.15);
  }
  18% {
    opacity: 0.9;
    transform: translate(
        calc(-50% + var(--pixel-x)),
        calc(-50% + var(--pixel-y))
      )
      scale(1);
  }
  60% {
    opacity: 0.6;
    transform: translate(
        calc(-50% + var(--pixel-x)),
        calc(-50% + var(--pixel-y))
      )
      scale(0.72);
  }
  100% {
    opacity: 0;
    transform: translate(
        calc(-50% + var(--pixel-x)),
        calc(-50% + var(--pixel-y))
      )
      scale(0.2);
  }
}
@keyframes pixel-click {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1);
  }
  12% {
    opacity: 1;
    transform: translate(
        calc(-50% + var(--pixel-x)),
        calc(-50% + var(--pixel-y))
      )
      scale(1.3);
  }
  42% {
    opacity: 0.85;
    transform: translate(
        calc(-50% + var(--pixel-x)),
        calc(-50% + var(--pixel-y))
      )
      scale(0.9);
  }
  70% {
    opacity: 0.5;
    transform: translate(
        calc(-50% + var(--pixel-x)),
        calc(-50% + var(--pixel-y))
      )
      scale(0.62);
  }
  100% {
    opacity: 0;
    transform: translate(
        calc(-50% + var(--pixel-x)),
        calc(-50% + var(--pixel-y))
      )
      scale(0.15);
  }
}
.refraction-stage {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
.refraction-copy {
  z-index: 0 !important;
  pointer-events: none !important;
  transform-origin: center center !important;
  transition: none !important;
  animation: none !important;
}
.refraction-copy * {
  pointer-events: none !important;
}
.refraction-copy.is-base {
  filter: contrast(1.32) saturate(1.55) brightness(1.08);
}
.refraction-copy.is-red {
  filter: grayscale(1) sepia(1) saturate(14) hue-rotate(302deg) contrast(1.4)
    brightness(0.9);
  mix-blend-mode: screen;
}
.refraction-copy.is-cyan {
  filter: grayscale(1) sepia(1) saturate(14) hue-rotate(128deg) contrast(1.35)
    brightness(0.88);
  mix-blend-mode: screen;
}
.refraction-stage.is-click .refraction-copy.is-base {
  filter: contrast(1.48) saturate(1.85) brightness(1.1);
}
@media (prefers-reduced-motion: reduce) {
  .glitch-pixels,
  .refraction-stage {
    display: none;
  }
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 16, 19, 0.86);
  backdrop-filter: blur(16px);
}
nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font:
    500 0.95rem DM Mono,
    monospace;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand span {
  color: var(--acid);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
}
.navlinks a {
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}
.navlinks a:hover,
.navlinks a:focus-visible,
.navlinks a[aria-current="page"] {
  color: var(--text);
}
.contact-pill {
  border: 1px solid var(--acid) !important;
  color: var(--acid) !important;
  padding: 7px 11px;
  border-radius: 2px;
}
.menu {
  display: none;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 1.4rem;
}
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 70px;
  padding: 84px 0 70px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font:
    500 0.76rem DM Mono,
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--acid);
}
h1 {
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.8;
  letter-spacing: -0.075em;
  margin: 26px 0 32px;
}
.outline {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}
.intro {
  max-width: 690px;
  color: #bdc9c6;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}
.intro strong {
  color: var(--text);
}
.actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 13px 18px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
}
.btn.primary {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}
.btn:hover {
  transform: translateY(-2px);
}
.hero-side {
  align-self: end;
  padding-bottom: 28px;
}
.stat {
  border-top: 1px solid var(--line);
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.stat b {
  font:
    500 0.78rem DM Mono,
    monospace;
  color: var(--muted);
  text-transform: uppercase;
}
.stat span {
  text-align: right;
}
.page-hero {
  padding: 100px 0 54px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(3.8rem, 10vw, 8.5rem);
  margin: 20px 0 28px;
}
.page-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.18rem;
}
.crumb {
  font:
    500 0.72rem DM Mono,
    monospace;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.crumb a {
  text-decoration: none;
  color: var(--muted);
}
section {
  padding: 90px 0;
}
.kicker {
  font:
    500 0.72rem DM Mono,
    monospace;
  color: var(--cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 12px 0;
}
.section-head p {
  align-self: end;
  color: var(--muted);
  max-width: 620px;
  margin: 0;
}
.lead {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
  max-width: 940px;
}
.muted {
  color: var(--muted);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 20px 0 100px;
}
.category {
  background: var(--panel);
  padding: 32px;
  text-decoration: none;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}
.category:hover {
  background: var(--panel2);
  transform: translateY(-3px);
}
.category small {
  font:
    400 0.7rem DM Mono,
    monospace;
  color: var(--acid);
  letter-spacing: 0.12em;
}
.category h2 {
  font-size: 1.7rem;
  margin: 20px 0 8px;
}
.category p {
  color: var(--muted);
  margin: 0;
}
.category b {
  margin-top: auto;
  color: var(--cyan);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.about-copy,
.skills {
  background: var(--panel);
  padding: 42px;
}
.about-copy p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0;
}
.skills-list {
  display: grid;
  gap: 18px;
}
.skill {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.skill:last-child {
  border: 0;
}
.skill b {
  font:
    500 0.72rem DM Mono,
    monospace;
  color: var(--acid);
  text-transform: uppercase;
}
.skill span {
  color: #c8d2cf;
}
.education {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 34px;
  margin-top: 22px;
}
.education h3 {
  font-size: 1.6rem;
  margin: 5px 0;
}
.education p {
  margin: 0;
  color: var(--muted);
}
.experience {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.period {
  font:
    400 0.8rem DM Mono,
    monospace;
  color: var(--muted);
}
.role h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0 0 5px;
}
.role .company {
  color: var(--cyan);
  font-weight: 700;
}
.role p {
  max-width: 790px;
  color: #b7c4c0;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.detail {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.detail h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.detail p {
  margin: 0;
  color: var(--muted);
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.chip {
  font:
    400 0.72rem DM Mono,
    monospace;
  border: 1px solid var(--line);
  padding: 7px 9px;
  color: #c6d0cd;
  background: rgba(255, 255, 255, 0.025);
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.filter {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 13px;
  cursor: pointer;
}
.filter.active {
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
}
.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.project {
  grid-column: span 6;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}
.project:hover {
  transform: translateY(-5px);
  border-color: #50676c;
}
.project.featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.project-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #091114;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: 0.4s;
}
.project:hover img {
  transform: scale(1.025);
  filter: saturate(1);
}
.project.featured .project-media {
  aspect-ratio: auto;
  min-height: 430px;
}
.project-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-no {
  font:
    400 0.7rem DM Mono,
    monospace;
  color: var(--acid);
  letter-spacing: 0.14em;
}
.project h2,
.project h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
  margin: 10px 0;
}
.project p {
  color: var(--muted);
  margin: 0 0 24px;
}
.project-links {
  margin-top: auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.project-links a {
  font:
    500 0.75rem DM Mono,
    monospace;
  text-transform: uppercase;
  text-underline-offset: 4px;
}
.project[hidden] {
  display: none;
}
.project[data-href] {
  cursor: pointer;
}
.project[data-href]:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
.project-media,
.project-title-link {
  color: inherit;
  text-decoration: none;
}
.project-footer {
  display: grid;
  gap: 18px;
  margin-top: auto;
  padding-top: 4px;
}
.project-footer .project-links {
  margin-top: 0;
  min-height: 22px;
}
.project-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.project-cta .read-more {
  flex: none;
  margin: 0 !important;
}
.project-cta .chips {
  justify-content: flex-end;
  margin: 0;
}
.project-cta .chip {
  text-align: right;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.embed-card {
  background: var(--panel);
  border: 1px solid var(--line);
}
.embed-card.wide {
  grid-column: 1/-1;
}
.frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #05090a;
}
.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-card h2,
.embed-card h3 {
  margin: 0;
  padding: 18px 20px;
  font-size: 1rem;
}
.model-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.model-links a {
  border: 1px solid var(--line);
  padding: 15px;
  text-decoration: none;
  color: var(--muted);
}
.model-links a:hover {
  color: var(--acid);
  border-color: var(--acid);
}
.music-shell {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 34px;
  align-items: start;
}
.music-copy {
  position: sticky;
  top: 100px;
}
.music-copy h2 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  margin: 12px 0 24px;
}
.music-copy p {
  color: var(--muted);
}
.spotify {
  display: grid;
  gap: 14px;
}
.spotify iframe {
  border-radius: 0;
  border: 1px solid var(--line);
  display: block;
}
.track-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.track-list a {
  padding: 15px 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--muted);
}
.track-list a:hover {
  color: var(--acid);
}
.media-heading {
  margin: 0 0 4px;
  font:
    500 0.76rem DM Mono,
    monospace;
  color: var(--acid);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.singles-heading {
  margin-top: 28px;
}
.track-embeds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.track-embeds iframe {
  width: 100%;
  border: 1px solid var(--line);
  display: block;
}
.contact-main {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: end;
}
.contact-main h2 {
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  margin: 12px 0;
}
.contact-links {
  display: grid;
}
.contact-links a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.contact-links a:hover {
  color: var(--acid);
}
.next {
  padding: 28px 0 70px;
}
.next a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.next a:hover {
  color: var(--acid);
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font:
    400 0.72rem DM Mono,
    monospace;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.6s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.case {
  padding: 70px 0;
}
.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 70px;
}
.case-content {
  min-width: 0;
}
.case-content > p:first-child {
  font-size: 1.28rem;
  color: #d7e0dd;
}
.case-content p {
  max-width: 780px;
}
.case-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  margin: 58px 0 16px;
}
.case-content h3 {
  font-size: 1.2rem;
  margin: 34px 0 8px;
  color: var(--cyan);
}
.case-content ul {
  padding-left: 22px;
}
.case-content li {
  margin: 7px 0;
}
.case-aside {
  align-self: start;
  position: sticky;
  top: 100px;
}
.case-meta {
  border-top: 1px solid var(--line);
}
.case-row {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.case-row b {
  display: block;
  font:
    500 0.7rem DM Mono,
    monospace;
  color: var(--acid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.case-actions {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}
.case-actions a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 12px 14px;
}
.case-actions a:hover {
  border-color: var(--acid);
  color: var(--acid);
}
.case-video {
  position: relative;
  aspect-ratio: 16/9;
  margin: 28px 0;
  background: #05090a;
  border: 1px solid var(--line);
}
.case-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.case-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.case-videos .case-video {
  margin: 0;
}
.source-assets {
  margin-top: 48px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.source-assets h2 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}
.source-assets p {
  color: var(--muted);
  font-size: 0.9rem;
}
.source-assets code {
  display: block;
  color: #cad5d2;
  font:
    400 0.78rem/1.8 DM Mono,
    monospace;
  overflow-wrap: anywhere;
}
.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px 0 70px;
}
.project-nav a {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  text-decoration: none;
}
.project-nav a:last-child {
  text-align: right;
}
.project-nav small {
  display: block;
  color: var(--muted);
  font:
    400 0.7rem DM Mono,
    monospace;
  text-transform: uppercase;
}
.project-nav b {
  font-size: 1.25rem;
}
.read-more {
  margin-top: 18px !important;
  display: inline-flex;
  color: var(--acid);
  text-decoration: none;
  font:
    500 0.78rem DM Mono,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.read-more:hover {
  text-decoration: underline;
}
.case-image {
  margin-bottom: 36px;
  border: 1px solid var(--line);
  background: #05090a;
  overflow: hidden;
}
.case-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.case-videos.single {
  grid-template-columns: 1fr;
}
.video-label {
  margin: 8px 0 0 !important;
  color: var(--muted);
  font:
    400 0.74rem DM Mono,
    monospace;
  text-transform: uppercase;
}
.loading,
.load-error {
  grid-column: 1/-1;
  color: var(--muted);
}
@media (max-width: 900px) {
  .navlinks {
    gap: 14px;
  }
  .navlinks a {
    font-size: 0.78rem;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .model-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }
  .menu {
    display: block;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .navlinks.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
    gap: 45px;
  }
  .hero-side {
    padding: 0;
  }
  .category-grid,
  .section-head,
  .about-grid,
  .experience,
  .detail-grid,
  .music-shell,
  .contact-main,
  .case-layout {
    grid-template-columns: 1fr;
  }
  .case-aside {
    position: static;
    order: -1;
  }
  .case-videos,
  .project-nav {
    grid-template-columns: 1fr;
  }
  .project-nav a:last-child {
    text-align: left;
  }
  .project,
  .project.featured {
    grid-column: 1/-1;
    display: flex;
  }
  .project.featured .project-media {
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .embed-card.wide {
    grid-column: auto;
  }
  .music-copy {
    position: static;
  }
  .track-list,
  .track-embeds {
    grid-template-columns: 1fr;
  }
  .foot {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .project,
  .project-media img,
  .btn,
  .category {
    transition: none;
  }
}
