:root {
  --ink: #050705;
  --panel: #0b100b;
  --panel-soft: #11170f;
  --paper: #f1f0eb;
  --paper-muted: #d6d2c8;
  --line-dark: rgba(241, 240, 235, 0.16);
  --line-light: rgba(5, 7, 5, 0.16);
  --text-dark: #0c0d0c;
  --text-light: #f4f1ea;
  --muted-light: #a8ad9d;
  --signal: #c6eb54;
  --accent-pill-bg: rgba(5, 7, 5, 0.9);
  --accent-pill-border: rgba(5, 7, 5, 0.1);
  --warm: #d8a760;
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text-light);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px clamp(20px, 4vw, 58px);
  color: var(--text-light);
  pointer-events: none;
}

body.has-project-modal .site-nav {
  z-index: 100;
}

.brand {
  position: absolute;
  left: clamp(20px, 4vw, 58px);
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 999px;
  background: rgba(5, 7, 5, 0.5);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.brand-mark {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.brand-home {
  color: rgba(244, 241, 234, 0.78);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  border-color: rgba(198, 235, 84, 0.44);
  background: rgba(5, 7, 5, 0.7);
}

.brand:hover .brand-home,
.brand:focus-visible .brand-home {
  color: var(--signal);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 14px);
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(244, 241, 234, 0.13);
  border-radius: 999px;
  background: rgba(5, 7, 5, 0.48);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  pointer-events: auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  opacity: 0.72;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="true"] {
  background: rgba(244, 241, 234, 0.11);
  opacity: 1;
}

.nav-home-link {
  gap: 5px;
}

.nav-home-link span {
  color: inherit;
  font-size: inherit;
  font-weight: 900;
}

.nav-audio-toggle {
  position: absolute;
  right: clamp(20px, 4vw, 58px);
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.86);
  background: rgba(5, 7, 5, 0.5);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.nav-audio-toggle:hover,
.nav-audio-toggle:focus-visible,
.nav-audio-toggle[aria-pressed="true"] {
  border-color: rgba(198, 235, 84, 0.44);
  color: var(--signal);
  background: rgba(5, 7, 5, 0.7);
}

.audio-cue-arrow {
  position: absolute;
  top: 58px;
  right: clamp(78px, 7.2vw, 118px);
  z-index: 1;
  width: clamp(96px, 10vw, 148px);
  height: auto;
  opacity: 0.92;
  pointer-events: none;
  transform: translate3d(-2px, 8px, 0);
  transform-origin: 86% 14%;
  filter:
    drop-shadow(0 8px 14px rgba(5, 7, 5, 0.22))
    drop-shadow(0 0 10px rgba(198, 235, 84, 0.18));
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms ease;
}

.site-nav.is-scrolled .audio-cue-arrow {
  opacity: 0;
  transform: translate3d(-14px, -2px, 0) scale(0.96);
  filter: blur(2px);
}

.opening {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.88) brightness(0.62);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.72), rgba(5, 7, 5, 0.25) 48%, rgba(5, 7, 5, 0.8)),
    linear-gradient(180deg, rgba(5, 7, 5, 0.55), rgba(5, 7, 5, 0.08) 38%, rgba(5, 7, 5, 0.82));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100svh - 90px);
  width: min(1060px, calc(100% - clamp(40px, 10vw, 220px)));
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 0 clamp(30px, 6vmin, 70px);
}

.eyebrow,
.section-kicker,
.section-index {
  margin: 0;
  color: var(--signal);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow {
  font-size: clamp(12.8px, 1.35vmin, 14.4px);
}

.opening h1 {
  width: min-content;
  margin: 14px 0 0;
  color: var(--text-light);
  font-size: clamp(70px, 10.5vmin, 132px);
  font-weight: 950;
  line-height: 0.76;
  text-transform: uppercase;
}

.hero-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 620px) auto;
  align-items: end;
  gap: 28px;
  margin-top: clamp(24px, 4.2vmin, 46px);
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.hero-bottom-row p {
  max-width: 620px;
  margin: 0;
  color: rgba(244, 241, 234, 0.8);
  font-size: clamp(16px, 1.75vmin, 20px);
  line-height: 1.18;
}

.hero-copy span {
  display: block;
}

.hero-copy span + span {
  margin-top: 8px;
  color: rgba(244, 241, 234, 0.62);
}

.scroll-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: end;
  min-height: 34px;
  padding: 0 11px 0 14px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 999px;
  background: rgba(5, 7, 5, 0.26);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(244, 241, 234, 0.72);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.scroll-link span[aria-hidden="true"] {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.08);
  line-height: 1;
}

.desktop-experience-note {
  display: none;
}

@media (min-width: 1600px) {
  .hero-content {
    width: min(1060px, 58vw);
  }

  .opening h1 {
    font-size: clamp(90px, 9.4vmin, 124px);
  }
}

.section-light,
.section-dark {
  min-height: 100svh;
  padding: clamp(70px, 8svh, 110px) clamp(20px, 4vw, 58px);
}

.section-light {
  color: var(--text-dark);
  background: var(--paper);
}

.section-dark {
  color: var(--text-light);
  background: var(--ink);
}

.works,
.contact {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 78px);
  max-width: none;
}

.works {
  display: flex;
  align-items: center;
}

.section-index {
  color: rgba(5, 7, 5, 0.74);
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
}

.works h2,
.contact h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(34px, 6vw, 84px);
  font-weight: 850;
  line-height: 0.96;
}

.about {
  height: auto;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: clamp(72px, 8svh, 112px) clamp(24px, 4vw, 72px) clamp(46px, 6svh, 86px);
  border-top: 1px solid var(--line-light);
}

.about-shell {
  width: min(1188px, calc(100vw - 80px));
  max-width: calc(100vw - 80px);
  min-height: clamp(540px, 72svh, 820px);
  height: auto;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: transparent;
}

.about-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: clamp(420px, 34vw, 448px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.about-profile-column {
  --player-anchor-width: clamp(296px, 23vw, 320px);
  --player-expanded-width: clamp(444px, 34vw, 492px);
  display: grid;
  justify-items: start;
  align-content: stretch;
}

.about-kicker,
.skills-kicker,
.works-heading .eyebrow,
.contact-kicker,
.life-left-column > .section-kicker {
  width: fit-content;
  margin: 0 0 clamp(10px, 1vw, 18px);
  color: var(--signal);
  font-size: clamp(13px, 0.95vw, 17px);
  line-height: 1;
}

.about-kicker,
.skills-kicker,
.works-heading .eyebrow,
.contact-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--accent-pill-border);
  border-radius: 999px;
  color: var(--signal);
  background: var(--accent-pill-bg);
  box-shadow: 0 10px 24px rgba(5, 7, 5, 0.1);
}

.profile-player {
  position: relative;
  display: flex;
  flex-direction: column;
  width: var(--player-expanded-width);
  height: 100%;
  padding: clamp(13px, 1.1vw, 20px) clamp(13px, 1.1vw, 20px) clamp(26px, 2.2vw, 40px);
  border: 1px solid rgba(5, 7, 5, 0.14);
  border-radius: clamp(22px, 2vw, 34px);
  background:
    radial-gradient(circle at 80% 92%, rgba(198, 235, 84, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.44);
  box-shadow: 0 30px 90px rgba(5, 7, 5, 0.08);
  transform: translateX(calc(var(--player-anchor-width) - var(--player-expanded-width)));
}

.player-window {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(420px, 34vw, 560px);
  overflow: hidden;
  border-radius: clamp(16px, 1.5vw, 24px);
  background: #111;
}

.player-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) brightness(0.96);
}

.player-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 7, 5, 0.84));
}

.player-like {
  position: absolute;
  right: clamp(13px, 1.2vw, 20px);
  bottom: clamp(13px, 1.2vw, 20px);
  z-index: 1;
  width: clamp(32px, 2.8vw, 46px);
  height: clamp(32px, 2.8vw, 46px);
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.82);
  background: rgba(5, 7, 5, 0.36);
  font-size: clamp(18px, 1.6vw, 25px);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.player-like.is-liked {
  border-color: rgba(198, 235, 84, 0.76);
  color: var(--signal);
  background: rgba(198, 235, 84, 0.14);
  transform: scale(1.06);
}

.player-track {
  display: block;
  margin: clamp(14px, 1.2vw, 20px) 4px clamp(12px, 1vw, 18px);
}

.player-progress {
  --progress: 0%;
  display: block;
  width: 100%;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #c8f13a var(--progress), rgba(0, 0, 0, 0.14) var(--progress));
  cursor: pointer;
}

.player-progress::-webkit-slider-thumb {
  width: 0;
  height: 0;
  appearance: none;
  -webkit-appearance: none;
}

.player-progress::-moz-range-thumb {
  width: 0;
  height: 0;
  border: 0;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  gap: 62px;
  color: #55574f;
  font-size: 18px;
  padding-bottom: 0;
}

.now-playing {
  display: grid;
  gap: 7px;
  margin: 20px 4px 0;
  color: #c8f13a;
  text-align: center;
}

.now-playing span {
  color: #c8f13a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.now-playing strong {
  color: #3f413a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.player-controls button {
  border: none;
  color: #55574f;
  background: transparent;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.player-skip {
  width: auto;
  height: auto;
  font-size: 18px;
  line-height: 1;
}

.player-pause {
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #55574f;
  font-size: 18px;
  font-weight: 950;
}

.profile-player h2 {
  margin: 24px 0 10px;
  color: #101010;
  font-size: 31px;
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.profile-player p {
  margin: 0;
  color: #6f7169;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.profile-bio span {
  display: block;
}

.profile-bio span + span {
  margin-top: 7px;
  color: rgba(5, 7, 5, 0.58);
}

.about-timeline {
  --intro-space: clamp(38px, 3.6vw, 48px);
  --axis-space: clamp(104px, 9.2vw, 120px);
  --card-pad-x: clamp(26px, 2.4vw, 32px);
  position: relative;
  width: 100%;
  padding-left: var(--intro-space);
  border-left: 1px solid rgba(5, 7, 5, 0.14);
  background: transparent;
}

.timeline-intro {
  display: block;
  max-width: none;
  padding-left: 0;
  padding-bottom: clamp(38px, 3.4vw, 54px);
  border-bottom: 0;
}

.timeline-label {
  grid-column: 1 / -1;
  color: rgba(5, 7, 5, 0.5);
  font-size: clamp(8px, 0.72vw, 12px);
  letter-spacing: 0.12em;
}

.timeline-intro h3 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(38px, 3.45vw, 50px);
  line-height: 0.9;
  text-transform: uppercase;
}

.timeline-intro h3 span {
  display: block;
  white-space: nowrap;
}

.timeline-intro h3 span + span {
  font-size: 0.8em;
}

.timeline-intro p:last-child {
  margin: clamp(16px, 1.4vw, 24px) 0 0;
  max-width: min(650px, 100%);
  color: rgba(5, 7, 5, 0.64);
  font-size: clamp(12px, 0.95vw, 16px);
  line-height: 1.42;
}

.timeline-copy {
  display: grid;
  gap: clamp(10px, 1vw, 14px);
}

.timeline-copy span {
  display: block;
}

.timeline-copy span[lang="en"] {
  color: rgba(5, 7, 5, 0.58);
}

.timeline-list {
  position: relative;
  display: grid;
  gap: clamp(12px, 1.2vw, 22px);
  margin: 0;
  padding: 0 0 0 var(--axis-space);
  list-style: none;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: clamp(8px, 0.8vw, 14px);
  bottom: clamp(8px, 0.8vw, 14px);
  left: clamp(62px, 5.3vw, 72px);
  display: block;
  width: 1px;
  background: rgba(5, 7, 5, 0.18);
}

.timeline-list li {
  position: relative;
  display: block;
  min-height: clamp(112px, 9vw, 142px);
  padding: clamp(18px, 1.45vw, 26px) var(--card-pad-x) clamp(16px, 1.35vw, 24px);
  border: 1px solid rgba(5, 7, 5, 0.08);
  border-radius: clamp(8px, 0.85vw, 14px);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 10px 28px rgba(5, 7, 5, 0.035);
}

.timeline-list li::before {
  content: "";
  position: absolute;
  top: clamp(16px, 1.45vw, 25px);
  left: clamp(-42px, -2.6vw, -28px);
  width: clamp(9px, 0.8vw, 14px);
  height: clamp(9px, 0.8vw, 14px);
  border: 1.5px solid var(--signal);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.timeline-list li::after {
  content: "";
  position: absolute;
  top: clamp(20px, 1.85vw, 31px);
  left: clamp(-28px, -1.7vw, -18px);
  width: clamp(18px, 1.35vw, 28px);
  height: 1px;
  background: rgba(5, 7, 5, 0.16);
}

.timeline-list time {
  position: absolute;
  top: clamp(15px, 1.4vw, 24px);
  left: clamp(-112px, -6.4vw, -78px);
  width: clamp(44px, 3.8vw, 68px);
  color: rgba(5, 7, 5, 0.52);
  font-size: clamp(10px, 0.82vw, 14px);
  font-weight: 900;
  padding-top: 0;
}

.timeline-list div {
  padding-left: 0;
  border-left: 0;
}

.timeline-list span {
  color: var(--signal);
  font-size: clamp(10px, 0.82vw, 14px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  display: inline;
}

.timeline-list h4 {
  margin: clamp(5px, 0.55vw, 9px) 0 clamp(3px, 0.35vw, 6px);
  color: var(--text-dark);
  font-size: clamp(20px, 1.75vw, 31px);
  line-height: 1;
  text-transform: uppercase;
}

.timeline-list h4.timeline-title-bilingual {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(17px, 1.46vw, 26px);
  letter-spacing: -0.018em;
  text-overflow: clip;
  white-space: nowrap;
}

.timeline-list h4.timeline-title-bilingual span {
  color: inherit;
  font-size: 0.72em;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.timeline-list p {
  margin: 0;
  color: rgba(5, 7, 5, 0.62);
  font-size: clamp(12px, 0.95vw, 16px);
  line-height: 1.3;
}

@media (min-width: 901px) and (max-width: 1500px), (min-width: 901px) and (max-height: 820px) {
  .about {
    overflow: visible;
    padding: 70px 28px 38px;
  }

  .about-shell {
    width: min(1220px, calc(100vw - 72px));
    min-height: min(620px, calc(100svh - 108px));
    height: auto;
    place-items: center;
  }

  .about-grid {
    width: 1169px;
    max-width: none;
    grid-template-columns: 345px 760px;
    gap: 64px;
    justify-self: center;
    align-self: center;
    transform: scale(0.8);
    transform-origin: center center;
  }

  .about-profile-column {
    --player-anchor-width: 345px;
    --player-expanded-width: 345px;
  }

  .about-kicker,
  .timeline-label {
    font-size: 11px;
  }

  .profile-player {
    padding: 11px 11px 22px;
    border-radius: 22px;
  }

  .player-window {
    min-height: 300px;
  }

  .player-like {
    width: 29px;
    height: 29px;
    font-size: 16px;
  }

  .player-track {
    margin: 11px 4px 8px;
  }

  .player-controls {
    height: 58px;
    gap: 62px;
    padding-bottom: 0;
  }

  .now-playing {
    margin: 20px 4px 0;
  }

  .now-playing span {
    font-size: 10px;
  }

  .now-playing strong {
    font-size: 13px;
  }

  .player-skip {
    width: auto;
    height: auto;
    font-size: 18px;
  }

  .player-pause {
    width: auto;
    height: auto;
    font-size: 18px;
  }

  .profile-player h2 {
    margin: 24px 0 10px;
    font-size: 31px;
  }

  .profile-player p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
  }

  .about-timeline {
    --axis-space: clamp(66px, 6vw, 86px);
    --card-pad-x: clamp(18px, 1.6vw, 24px);
    width: 760px;
    padding-top: 38px;
    padding-left: 34px;
    justify-self: start;
  }

  .timeline-intro {
    display: block;
    max-width: min(100%, 720px);
    padding-left: 0;
    padding-bottom: clamp(22px, 2.4vw, 34px);
  }

  .timeline-intro h3 {
    font-size: clamp(30px, 2.65vw, 42px);
    white-space: nowrap;
  }

  .timeline-intro p:last-child {
    margin-top: clamp(12px, 1.2vw, 18px);
    max-width: 620px;
    font-size: clamp(11px, 0.95vw, 14px);
    line-height: 1.38;
  }

  .timeline-list {
    width: 100%;
    gap: clamp(10px, 1vw, 16px);
    padding-left: var(--axis-space);
  }

  .timeline-list::before {
    top: 7px;
    bottom: 7px;
    left: clamp(42px, 4.4vw, 56px);
  }

  .timeline-list li {
    min-height: clamp(84px, 8svh, 112px);
    padding: clamp(13px, 1.2vw, 18px) var(--card-pad-x) clamp(12px, 1.1vw, 17px);
    border-radius: 7px;
  }

  .timeline-list li::before {
    top: clamp(15px, 1.3vw, 20px);
    left: clamp(-36px, -2.7vw, -28px);
    width: clamp(8px, 0.72vw, 11px);
    height: clamp(8px, 0.72vw, 11px);
  }

  .timeline-list li::after {
    top: clamp(19px, 1.65vw, 25px);
    left: clamp(-24px, -1.8vw, -18px);
    width: clamp(16px, 1.3vw, 22px);
  }

  .timeline-list time {
    top: clamp(14px, 1.25vw, 19px);
    left: clamp(-88px, -6vw, -66px);
    width: clamp(42px, 3.8vw, 58px);
    font-size: clamp(9px, 0.78vw, 12px);
  }

  .timeline-list span {
    font-size: clamp(9px, 0.78vw, 12px);
  }

  .timeline-list h4 {
    margin: clamp(5px, 0.45vw, 7px) 0 clamp(3px, 0.35vw, 5px);
    font-size: clamp(20px, 1.65vw, 26px);
  }

  .timeline-list p {
    font-size: clamp(11px, 0.9vw, 14px);
    line-height: 1.25;
  }
}

.skills {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: clamp(66px, 7svh, 92px);
  padding-bottom: clamp(58px, 6svh, 88px);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.skills::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(198, 235, 84, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 235, 84, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
}

.skills > * {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.skills-heading {
  position: relative;
  display: grid;
  grid-template-areas:
    "kicker copy"
    "title copy";
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  column-gap: clamp(34px, 5vw, 82px);
  row-gap: clamp(26px, 3.1vw, 46px);
  align-items: start;
  margin-top: 18px;
}

.skills-kicker {
  grid-area: kicker;
  justify-self: start;
  margin: 0;
  color: var(--signal);
}

.skills-heading h2 {
  grid-area: title;
  margin: 0;
  font-size: clamp(52px, 8.1vw, 118px);
  font-weight: 950;
  line-height: 0.78;
  text-transform: uppercase;
}

.skills-heading h2 span {
  display: block;
  color: var(--text-light);
}

.skills-heading h2 .skills-title-local {
  color: var(--text-light);
  font-size: clamp(30px, 2.76vw, 40px);
  font-weight: 700;
  line-height: 0.9;
  text-transform: none;
  white-space: nowrap;
}

.skills-heading h2 .skills-title-workflow {
  transform: none;
}

.skills-copy {
  grid-area: copy;
  display: block;
  width: clamp(420px, 39vw, 630px);
  margin: 0;
  color: rgba(244, 241, 234, 0.78);
  font-size: clamp(13px, 0.95vw, 16px);
  font-weight: 650;
  line-height: 1.58;
}

.skills-copy span {
  display: block;
}

.skills-copy span + span {
  margin-top: clamp(24px, 3vw, 42px);
}

.skills-copy span[lang="en"] {
  transform: none;
}

.workflow-axis {
  margin-top: clamp(28px, 4svh, 54px);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 8px 0 clamp(22px, 3svh, 44px);
  scrollbar-width: none;
}

.workflow-axis::-webkit-scrollbar {
  display: none;
}

.workflow-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 177px);
  width: 1405px;
  min-width: 1405px;
  min-height: 593px;
  margin: 0 auto;
  padding: 0 84px;
  list-style: none;
  transform-origin: center;
}

.workflow-rail::before,
.workflow-rail::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}

.workflow-rail::before {
  background: linear-gradient(90deg, transparent, rgba(244, 241, 234, 0.34) 6%, rgba(244, 241, 234, 0.95) 50%, rgba(244, 241, 234, 0.34) 94%, transparent);
  box-shadow: 0 0 22px rgba(198, 235, 84, 0.42);
}

.workflow-rail::after {
  height: 52px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(198, 235, 84, 0.1), transparent);
  filter: blur(12px);
  opacity: 0.7;
}

.workflow-step {
  --stage-title-gap: 15px;
  --stage-tool-gap: 15px;
  --stage-title-width: 81px;
  position: relative;
  min-height: inherit;
}

.workflow-step-audio {
  --stage-title-gap: 28px;
  --stage-tool-gap: 20px;
  --stage-title-width: 116px;
}

.workflow-step::before {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 1;
  width: 1px;
  height: 154px;
  background: linear-gradient(rgba(244, 241, 234, 0.98), rgba(198, 235, 84, 0.72));
  box-shadow: 0 0 16px rgba(198, 235, 84, 0.32);
}

.workflow-step.is-top::before {
  bottom: 50%;
}

.workflow-step.is-bottom::before {
  top: 50%;
}

.axis-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(198, 235, 84, 0.16), 0 0 22px rgba(198, 235, 84, 0.72);
  transform: translate(-50%, -50%);
}

.stage-card {
  position: absolute;
  left: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--stage-title-width) minmax(163px, max-content);
  column-gap: calc(var(--stage-title-gap) + var(--stage-tool-gap));
  align-items: start;
  width: max-content;
  transform: translateX(calc(-1 * (var(--stage-title-width) + var(--stage-title-gap))));
}

.workflow-step.is-top .stage-card {
  align-items: end;
  bottom: calc(50% + 33px);
}

.workflow-step.is-bottom .stage-card {
  top: calc(50% + 12px);
}

.stage-card::before {
  content: "";
  display: none;
}

.stage-title {
  display: grid;
  gap: 2px;
  justify-items: end;
  padding-top: 2px;
  text-align: right;
}

.stage-title strong {
  color: var(--signal);
  font-size: 67px;
  font-weight: 950;
  line-height: 0.74;
  text-shadow: 0 0 28px rgba(198, 235, 84, 0.36);
}

.stage-title span {
  color: rgba(244, 241, 234, 0.94);
  font-size: 33px;
  font-weight: 950;
  line-height: 0.92;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.stage-title span.stage-title-wide {
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.stage-tools {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.tool-chip {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 15px 6px 8px;
  border: 1px solid rgba(198, 235, 84, 0.2);
  border-radius: 999px;
  background: rgba(198, 235, 84, 0.07);
  box-shadow: inset 0 0 18px rgba(198, 235, 84, 0.06);
  color: rgba(244, 241, 234, 0.88);
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 220ms ease,
    color 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tool-chip::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  cursor: pointer;
}

.tool-chip > * {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.tool-chip:hover,
.tool-chip:focus-within {
  border-color: rgba(198, 235, 84, 0.52);
  background: rgba(198, 235, 84, 0.12);
  box-shadow:
    inset 0 0 18px rgba(198, 235, 84, 0.1),
    0 0 22px rgba(198, 235, 84, 0.12);
  color: rgba(244, 241, 234, 0.96);
  transform: translateY(-1px);
}

.tool-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: rgba(244, 241, 234, 0.1);
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  overflow: hidden;
  pointer-events: none;
}

.tool-mark img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
}

.tool-mark img[src$=".png"],
.tool-mark img[src$=".ico"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mark-red {
  background: #e8222e;
}

.mark-white {
  color: #2f72e7;
  background: #f8f8f0;
}

.mark-blue {
  background: #103fe6;
}

.mark-adobe {
  color: #fff;
  background: #1b1492;
}

.mark-line {
  border: 1px solid rgba(244, 241, 234, 0.38);
  color: rgba(244, 241, 234, 0.92);
  background: rgba(5, 7, 5, 0.48);
}

.mark-cyan {
  background: linear-gradient(135deg, #40ddff, #3061ff);
}

.mark-rainbow {
  background: linear-gradient(135deg, #f14b72, #f8e35f 42%, #28c7ff);
}

.mark-procreate {
  background: conic-gradient(from 220deg, #5d2eff, #2fb5ff, #6bf277, #ffdf55, #f06a39, #5d2eff);
}

.mark-icon-black,
.mark-tapnow {
  background: #050705;
}

.mark-suno {
  background: linear-gradient(135deg, #f7a51d, #ff3a36 52%, #ec4aa6);
}

.mark-yellow {
  color: #29230a;
  background: #f2d64e;
}

.mark-mountain {
  background: linear-gradient(135deg, #d8e7ff 0 46%, #4766d9 47% 100%);
}

.mark-orange {
  background: #ee8429;
}

.mark-teal {
  background: #01bfa6;
}

.mark-green {
  background: #15d16a;
}

.mark-purple {
  background: #1b1492;
}

.mark-pink {
  background: #ff5c9f;
}

@media (min-width: 901px) and (max-width: 1500px) {
  .skills-heading h2 .skills-title-local {
    font-size: clamp(24px, 2.12vw, 33.6px);
  }
}

@media (min-width: 1401px) and (max-width: 1500px) {
  .workflow-rail {
    transform: scale(0.9);
    margin-top: -30px;
    margin-bottom: -30px;
  }
}

@media (min-width: 1281px) and (max-width: 1400px) {
  .workflow-rail {
    transform: scale(0.82);
    margin-top: -52px;
    margin-bottom: -52px;
  }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .workflow-rail {
    transform: scale(0.72);
    margin-top: -82px;
    margin-bottom: -82px;
  }
}

@media (min-width: 1001px) and (max-width: 1100px) {
  .workflow-rail {
    transform: scale(0.64);
    margin-top: -107px;
    margin-bottom: -107px;
  }
}

@media (min-width: 901px) and (max-width: 1000px) {
  .workflow-rail {
    transform: scale(0.58);
    margin-top: -125px;
    margin-bottom: -125px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .section-light,
  .section-dark {
    padding-top: clamp(46px, 6svh, 64px);
    padding-bottom: clamp(36px, 4.2svh, 52px);
  }

  .skills {
    padding-top: clamp(54px, 6.2svh, 72px);
    padding-bottom: clamp(44px, 5svh, 62px);
  }

  .skills-heading {
    grid-template-columns: minmax(0, 0.96fr) minmax(400px, 0.76fr);
    column-gap: clamp(24px, 4vw, 56px);
    row-gap: clamp(12px, 1.6vw, 22px);
  }

  .skills-heading h2 {
    font-size: clamp(52px, 7.2vw, 94px);
  }

  .skills-copy {
    width: clamp(400px, 36vw, 520px);
    font-size: clamp(11.5px, 0.88vw, 13px);
    line-height: 1.48;
  }

  .skills-copy span + span {
    margin-top: 22px;
  }

  .workflow-axis {
    margin-top: clamp(8px, 1.4svh, 18px);
    padding-bottom: clamp(30px, 4svh, 44px);
  }

  .workflow-rail {
    transform: scale(0.74);
    min-height: 593px;
    margin-top: -78px;
    margin-bottom: -98px;
  }

  .works-accordion {
    height: clamp(400px, 64svh, 600px);
  }

  .work-info {
    height: clamp(118px, 16svh, 154px);
    gap: 7px;
  }

  .life-heading h2 {
    font-size: clamp(44px, 5.8vw, 84px);
  }

  .life-stage-grid {
    gap: clamp(14px, 2vw, 28px);
    margin-top: clamp(14px, 2.2svh, 26px);
  }

  .archive-split h3 {
    font-size: clamp(18px, 1.8vw, 26px);
  }

  figcaption {
    font-size: 9.5px;
  }
}

@media (min-width: 901px) and (max-width: 1280px) and (max-height: 820px) {
  .workflow-rail {
    transform: scale(0.64);
    margin-top: -108px;
    margin-bottom: -126px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) and (max-height: 820px) {
  .workflow-rail {
    transform: scale(0.56);
    margin-top: -132px;
    margin-bottom: -150px;
  }
}

@media (min-width: 901px) and (max-width: 1000px) and (max-height: 820px) {
  .workflow-rail {
    transform: scale(0.52);
    margin-top: -144px;
    margin-bottom: -160px;
  }
}

.works-shell {
  display: grid;
  gap: clamp(16px, 2.4svh, 28px);
  width: min(1400px, calc(100vw - clamp(28px, 4.6vw, 72px)));
  margin: 0 auto;
  min-width: 0;
}

.works-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
  padding-top: 0;
  border-top: 0;
}

.works-heading .eyebrow {
  grid-column: 1 / -1;
  justify-self: start;
  color: var(--signal);
}

.works-heading h2 {
  margin: 0;
}

.works-accordion {
  --work-closed-width: clamp(96px, 8vw, 132px);
  display: flex;
  gap: 12px;
  width: 100%;
  height: clamp(470px, 68svh, 700px);
  margin: 0 auto;
  padding-bottom: 0;
  border-bottom: 0;
}

.work-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  flex: 0 0 var(--work-closed-width);
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(5, 7, 5, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 44px rgba(5, 7, 5, 0.045);
  transition:
    flex-basis 980ms cubic-bezier(0.2, 0.82, 0.18, 1),
    background 460ms ease,
    border-color 460ms ease,
    box-shadow 520ms ease;
}

.work-card:not(.is-active) .work-card-toggle {
  border-radius: inherit;
}

.work-card > * {
  min-width: 0;
}

.work-card.is-active {
  grid-template-rows: auto minmax(0, 1fr) auto;
  flex-basis: calc(100% - (4 * var(--work-closed-width)) - 48px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 72px rgba(5, 7, 5, 0.09);
}

.work-card-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid rgba(5, 7, 5, 0.1);
  color: var(--text-dark);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 280ms ease,
    border-color 280ms ease,
    color 280ms ease;
}

.work-card-toggle span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(5, 7, 5, 0.14);
  border-radius: 999px;
  color: rgba(5, 7, 5, 0.62);
  font-size: 11px;
  font-weight: 950;
}

.work-card-toggle strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.work-card:not(.is-active) .work-card-toggle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 18px 0;
  border-bottom: 0;
  color: var(--text-light);
  background: linear-gradient(180deg, rgba(5, 7, 5, 0.2), rgba(5, 7, 5, 0.74));
}

.work-card:not(.is-active) .work-card-toggle strong {
  max-height: calc(100% - 82px);
  overflow: visible;
  text-overflow: clip;
  writing-mode: vertical-rl;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.56);
}

.work-card:not(.is-active) .work-card-toggle span {
  border-color: rgba(244, 241, 234, 0.32);
  color: rgba(244, 241, 234, 0.88);
  background: rgba(5, 7, 5, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.work-card:not(.is-active):hover,
.work-card:not(.is-active):focus-within {
  border-color: rgba(198, 235, 84, 0.44);
  box-shadow:
    0 20px 56px rgba(5, 7, 5, 0.1),
    0 0 0 1px rgba(198, 235, 84, 0.08),
    0 0 32px rgba(198, 235, 84, 0.12);
}

.work-card:not(.is-active):hover .work-card-toggle,
.work-card:not(.is-active):focus-within .work-card-toggle {
  color: var(--signal);
  background: linear-gradient(180deg, rgba(18, 24, 12, 0.2), rgba(5, 7, 5, 0.64));
}

.work-card:not(.is-active):hover .work-card-toggle span,
.work-card:not(.is-active):focus-within .work-card-toggle span {
  border-color: rgba(198, 235, 84, 0.62);
  color: var(--signal);
  background: rgba(198, 235, 84, 0.08);
  box-shadow: 0 0 22px rgba(198, 235, 84, 0.18);
}

.work-card:not(.is-active):hover .work-media::after,
.work-card:not(.is-active):focus-within .work-media::after {
  background:
    linear-gradient(180deg, rgba(5, 7, 5, 0.08), rgba(5, 7, 5, 0.78)),
    linear-gradient(90deg, rgba(5, 7, 5, 0.7), rgba(21, 31, 14, 0.26), rgba(5, 7, 5, 0.7));
}

.work-card:not(.is-active):hover .work-media img,
.work-card:not(.is-active):focus-within .work-media img {
  filter: saturate(0.72) contrast(1.1) brightness(0.46);
  transform: scale(1.075);
}

.work-card:has(.work-card-toggle:focus-visible) {
  outline: 2px solid rgba(198, 235, 84, 0.75);
  outline-offset: 3px;
}

.work-media {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--ink);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 5, 0.02), rgba(5, 7, 5, 0.52));
  opacity: 0.54;
  transition: opacity 380ms ease, background 380ms ease;
}

.work-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.84);
  transition: transform 620ms ease, filter 620ms ease;
}

.work-card:first-child .work-media img {
  object-position: center 36%;
}

.work-card.is-active .work-media:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.05) brightness(0.94);
}

.work-card.is-active .work-media:hover::after {
  opacity: 0.32;
}

.work-info {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 10px;
  height: clamp(144px, 18svh, 196px);
  overflow: visible;
  padding: clamp(16px, 1.7vw, 24px);
}

.work-card:not(.is-active) .work-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  aspect-ratio: auto;
  opacity: 1;
  pointer-events: none;
}

.work-card:not(.is-active) .work-media::after {
  background:
    linear-gradient(180deg, rgba(5, 7, 5, 0.16), rgba(5, 7, 5, 0.86)),
    linear-gradient(90deg, rgba(5, 7, 5, 0.78), rgba(5, 7, 5, 0.36), rgba(5, 7, 5, 0.78));
  opacity: 1;
}

.work-card:not(.is-active) .work-media img {
  filter: saturate(0.58) contrast(1.08) brightness(0.34);
  transform: scale(1.04);
}

.work-card:not(.is-active) .work-info {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.work-meta {
  margin: 0;
  color: var(--text-dark);
  display: block;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.work-info p:not(.work-meta) {
  max-width: 620px;
  margin: 0;
  color: rgba(5, 7, 5, 0.66);
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.44;
  display: -webkit-box;
  align-self: start;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: balance;
}

.work-link,
.detail-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(5, 7, 5, 0.16);
  border-radius: 999px;
  color: var(--text-light);
  background: var(--ink);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.work-link:hover,
.work-link:focus-visible,
.detail-return:hover,
.detail-return:focus-visible {
  color: var(--ink);
  background: var(--signal);
  transform: translateY(-1px);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: stretch;
  visibility: hidden;
  overflow: hidden;
  background: rgba(5, 7, 5, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, visibility 240ms ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.project-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.project-modal-panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(244, 241, 234, 0.08);
}

.project-modal-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--paper);
}

.project-modal-close {
  position: absolute;
  left: 50%;
  bottom: max(112px, env(safe-area-inset-bottom));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 30px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 999px;
  color: var(--text-light);
  background: rgba(5, 7, 5, 0.78);
  box-shadow: 0 18px 54px rgba(5, 7, 5, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font: inherit;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  transform: translateX(-50%);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-modal-close:hover,
.project-modal-close:focus-visible {
  border-color: rgba(198, 235, 84, 0.5);
  color: var(--signal);
  background: rgba(5, 7, 5, 0.9);
  outline: none;
  transform: translateX(-50%) translateY(-1px);
}

body.has-project-modal {
  overflow: hidden;
}

.project-detail.is-embedded-project .site-nav {
  display: none;
}

.project-detail {
  background: var(--paper);
  color: var(--text-dark);
}

.project-hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(92px, 10vw, 150px) clamp(20px, 4vw, 58px) clamp(42px, 7vw, 90px);
  color: var(--text-light);
  background: var(--ink);
}

.project-hero-media {
  position: absolute;
  inset: 0;
}

.project-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.86) brightness(0.54);
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.72), rgba(5, 7, 5, 0.18) 56%, rgba(5, 7, 5, 0.78)),
    linear-gradient(180deg, rgba(5, 7, 5, 0.28), rgba(5, 7, 5, 0.82));
}

.project-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.project-hero h1 {
  max-width: 980px;
  margin: 14px 0 0;
  font-size: clamp(62px, 11vw, 150px);
  font-weight: 950;
  line-height: 0.78;
  text-transform: uppercase;
}

.project-hero h1.project-title-bilingual {
  display: flex;
  max-width: 1120px;
  flex-direction: column;
  gap: clamp(8px, 1vw, 14px);
  line-height: 0.86;
}

.project-title-bilingual span:first-child {
  letter-spacing: 0;
}

.project-title-bilingual span:last-child {
  max-width: 980px;
  font-size: clamp(30px, 5.8vw, 82px);
  line-height: 0.92;
}

.project-hero-summary {
  max-width: 700px;
  margin: clamp(20px, 3vw, 34px) 0 0;
  color: rgba(244, 241, 234, 0.74);
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.42;
}

.project-hero-summary-wide {
  max-width: 1120px;
}

@media (min-width: 901px) {
  .project-hero-summary-wide span {
    white-space: nowrap;
  }
}

.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 780px;
  margin-top: clamp(18px, 2.4vw, 28px);
}

.project-hero-meta div {
  display: grid;
  gap: 6px;
  min-width: min(100%, 210px);
  padding: 12px 14px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 14px;
  background: rgba(5, 7, 5, 0.32);
  box-shadow: inset 0 0 18px rgba(244, 241, 234, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-hero-meta span {
  color: var(--signal);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.project-hero-meta strong {
  color: rgba(244, 241, 234, 0.88);
  font-size: clamp(13px, 1.08vw, 16px);
  font-weight: 850;
  line-height: 1.28;
}

.project-body {
  display: grid;
  gap: clamp(36px, 6vw, 82px);
  width: min(var(--max), calc(100% - clamp(40px, 8vw, 116px)));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) 0;
}

.project-body-gallery {
  width: min(980px, calc(100% - clamp(36px, 8vw, 116px)));
  gap: clamp(22px, 3.8vw, 54px);
}

.project-facts,
.project-section,
.project-return-panel {
  border-top: 1px solid var(--line-light);
  padding-top: clamp(18px, 2vw, 28px);
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-facts-compact {
  grid-template-columns: minmax(230px, 1.15fr) minmax(210px, 1fr) minmax(175px, 0.8fr) minmax(110px, 0.5fr);
  align-items: start;
}

.project-facts-three {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.56fr) minmax(160px, 0.48fr);
}

.project-facts-two {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.38fr);
}

.project-facts span {
  display: block;
  color: rgba(5, 7, 5, 0.5);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-facts strong {
  display: block;
  margin-top: 8px;
  color: var(--text-dark);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
  text-transform: uppercase;
}

.project-genre strong {
  display: grid;
  gap: 5px;
}

.project-tool-line {
  display: block;
  margin-top: 8px;
  text-transform: none;
}

.project-tool-groups {
  display: block;
}

.project-tool-group {
  display: contents;
}

.project-facts .project-tool-group-title {
  color: rgba(5, 7, 5, 0.48);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
}

.project-facts .project-tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
}

.project-facts .project-tool-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 12px 4px 5px;
  border: 1px solid rgba(5, 7, 5, 0.12);
  border-radius: 999px;
  background: rgba(5, 7, 5, 0.07);
  box-shadow:
    inset 0 0 16px rgba(255, 255, 255, 0.2),
    0 7px 18px rgba(5, 7, 5, 0.045);
  color: rgba(5, 7, 5, 0.8);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  text-transform: none;
}

.project-facts .project-tool-chip > * {
  pointer-events: none;
}

.project-facts .project-tool-chip:hover {
  border-color: rgba(188, 255, 53, 0.42);
  background: rgba(188, 255, 53, 0.12);
  box-shadow:
    inset 0 0 16px rgba(255, 255, 255, 0.24),
    0 8px 20px rgba(5, 7, 5, 0.055);
}

.project-facts .project-tool-chip .tool-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 6px;
}

.project-facts .project-tool-chip .tool-mark img {
  width: 16px;
  height: 16px;
}

.project-facts .project-tool-chip .tool-mark img[src$=".png"],
.project-facts .project-tool-chip .tool-mark img[src$=".ico"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
}

.project-section h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(24px, 3.4vw, 52px);
  line-height: 0.94;
  text-transform: uppercase;
}

.project-section h2 span,
.project-gallery-heading h2 span {
  display: block;
}

.project-section p,
.project-section li {
  color: rgba(5, 7, 5, 0.68);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.52;
}

.project-section p {
  margin: 0;
}

.project-section ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.project-section-intro {
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr);
}

.project-image-gallery {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
}

.project-gallery-heading {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line-light);
  padding-top: clamp(18px, 2vw, 28px);
}

.project-gallery-heading h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.project-image-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(5, 7, 5, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(5, 7, 5, 0.09);
}

.project-video-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  padding: clamp(8px, 1vw, 12px);
  border: 1px solid rgba(5, 7, 5, 0.16);
  border-radius: 8px;
  background: #252623;
  box-shadow: 0 26px 70px rgba(5, 7, 5, 0.1);
}

.project-video-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: #050705;
}

.project-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 7, 5, 0.42);
  pointer-events: none;
  transition: opacity 220ms ease;
}

.project-video-card.is-playing::after {
  opacity: 0;
}

.project-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-video-card button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(198, 235, 84, 0.78);
  border-radius: 999px;
  color: var(--signal);
  background: rgba(5, 7, 5, 0.9);
  box-shadow:
    0 0 0 5px rgba(198, 235, 84, 0.08),
    0 0 34px rgba(198, 235, 84, 0.48),
    0 18px 44px rgba(5, 7, 5, 0.34);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.project-video-card:hover button,
.project-video-card button:focus-visible {
  border-color: rgba(198, 235, 84, 0.96);
  color: var(--ink);
  background: var(--signal);
  outline: none;
  transform: translate(-50%, -50%) scale(1.03);
  box-shadow:
    0 0 0 6px rgba(198, 235, 84, 0.13),
    0 0 44px rgba(198, 235, 84, 0.58),
    0 20px 46px rgba(5, 7, 5, 0.32);
}

.project-video-card.is-playing button {
  opacity: 0;
  pointer-events: none;
}

.project-watch-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(5, 7, 5, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(198, 235, 84, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.66);
  box-shadow: 0 28px 74px rgba(5, 7, 5, 0.08);
}

.project-watch-kicker {
  margin: 0 0 10px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.project-watch-card h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(30px, 5vw, 64px);
  line-height: 0.92;
  text-transform: uppercase;
}

.project-watch-card p:last-child {
  margin: 14px 0 0;
  color: rgba(5, 7, 5, 0.62);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 750;
  line-height: 1.4;
}

.project-watch-card a,
.project-watch-card .project-watch-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px 0 10px;
  border: 1px solid rgba(5, 7, 5, 0.1);
  border-radius: 999px;
  color: var(--text-light);
  background: var(--ink);
  box-shadow: 0 18px 46px rgba(5, 7, 5, 0.16);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 220ms ease;
}

.project-watch-action-pending {
  cursor: default;
  opacity: 0.72;
}

.project-watch-card a:hover,
.project-watch-card a:focus-visible {
  color: var(--ink);
  background: var(--signal);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 24px 56px rgba(5, 7, 5, 0.18);
}

.project-return-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 140px;
}

.project-return-panel p {
  max-width: 560px;
  margin: 0;
  color: rgba(5, 7, 5, 0.62);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.42;
}

.project-return-panel-empty {
  justify-content: center;
}

.life {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  --life-column-gap: clamp(24px, 3.3vw, 50px);
}

.life::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(198, 235, 84, 0.1), transparent 26%),
    radial-gradient(circle at 84% 46%, rgba(244, 241, 234, 0.06), transparent 30%);
  opacity: 0.82;
}

.life > * {
  position: relative;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.life-left-column {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  min-width: 0;
  height: 100%;
}

.life-left-column > .section-kicker {
  padding-top: 0;
  border-top: 0;
}

.life-heading {
  display: block;
  min-width: 0;
  margin-top: clamp(18px, 2.1svh, 26px);
}

.life-heading h2 {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 86px);
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;
}

.life-heading p {
  margin: 0 0 12px;
  color: rgba(244, 241, 234, 0.68);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.38;
}

.life-stage-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.92fr);
  gap: var(--life-column-gap);
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
}

.interactive-theme-showcase {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: clamp(8px, 1.05svh, 13px);
  height: auto;
  margin-top: clamp(14px, 2svh, 24px);
  padding-right: 0;
}

.hobby-intro,
.archive-intro {
  margin: 0;
  color: rgba(244, 241, 234, 0.72);
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.hobby-intro {
  align-self: end;
  padding: 0;
}

.theme-stage-shell {
  position: relative;
  align-self: end;
  width: 100%;
}

.theme-stage {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  background: rgba(11, 16, 11, 0.82);
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  isolation: isolate;
}

.theme-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 7, 5, 0.02) 46%, rgba(5, 7, 5, 0.32) 100%);
  opacity: 0.76;
}

.theme-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: opacity 260ms ease, transform 520ms ease;
}

.interactive-theme-showcase.is-switching .theme-image {
  opacity: 0.18;
  transform: scale(1.035) translateX(-8px);
}

.theme-stage:hover .theme-image,
.theme-stage:focus-visible .theme-image {
  transform: scale(1.04);
}

.theme-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: clamp(34px, 3vw, 42px);
  height: clamp(34px, 3vw, 42px);
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 241, 234, 0.2);
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.9);
  background: rgba(5, 7, 5, 0.5);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(5, 7, 5, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-nav::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.theme-nav-prev {
  left: clamp(-18px, -1.1vw, -10px);
}

.theme-nav-prev::before {
  transform: translateX(2px) rotate(225deg);
}

.theme-nav-next {
  right: clamp(-18px, -1.1vw, -10px);
}

.theme-nav-next::before {
  transform: translateX(-2px) rotate(45deg);
}

.theme-nav:hover,
.theme-nav:focus-visible {
  border-color: rgba(198, 235, 84, 0.68);
  color: var(--signal);
  background: rgba(5, 7, 5, 0.72);
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.theme-current {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 2.4vw, 38px);
  bottom: clamp(18px, 2.4vw, 38px);
  display: grid;
  gap: 7px;
  color: var(--text-light);
  text-align: left;
  pointer-events: none;
}

.theme-current span {
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(244, 241, 234, 0.13);
  border-radius: 999px;
  background: rgba(5, 7, 5, 0.62);
  color: var(--signal);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.theme-current strong {
  width: max-content;
  max-width: min(86vw, 100%);
  padding: clamp(6px, 0.7vw, 9px) clamp(8px, 0.8vw, 11px);
  border: 1px solid rgba(244, 241, 234, 0.13);
  border-radius: 8px;
  background: rgba(5, 7, 5, 0.88);
  font-size: clamp(19px, 3.3vw, 52px);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.theme-menu {
  position: static;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(7px, 0.8vw, 11px);
  width: 100%;
  transform: none;
}

.theme-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(38px, 4.2svh, 48px);
  padding: 0 clamp(8px, 0.85vw, 12px);
  border: 1px solid rgba(244, 241, 234, 0.13);
  border-radius: 8px;
  background: rgba(244, 241, 234, 0.9);
  color: rgba(5, 7, 5, 0.86);
  font-size: clamp(9px, 0.78vw, 10.5px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.theme-menu button::after {
  content: attr(data-theme-number);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(5, 7, 5, 0.08);
  color: rgba(5, 7, 5, 0.62);
  font-size: 9px;
  font-weight: 950;
}

.theme-menu button:hover,
.theme-menu button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(198, 235, 84, 0.52);
}

.theme-menu button.is-active {
  background: rgba(5, 7, 5, 0.92);
  border-color: rgba(198, 235, 84, 0.58);
  color: var(--signal);
  box-shadow: 0 0 0 1px rgba(198, 235, 84, 0.18), 0 22px 58px rgba(0, 0, 0, 0.38);
}

.theme-menu button.is-active::after {
  background: rgba(198, 235, 84, 0.16);
  color: var(--signal);
}

.archive-split {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4svh, 16px);
  min-width: 0;
  margin-top: 0;
}

.archive-split > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(8px, 1.1svh, 12px);
  align-content: start;
  min-width: 0;
  min-height: 0;
  padding-top: clamp(10px, 1.2svh, 14px);
  border-top: 1px solid var(--line-dark);
}

.archive-split h3 {
  position: static;
  margin: 0;
  font-size: clamp(20px, 2.05vw, 32px);
  line-height: 0.95;
  text-transform: uppercase;
}

.album-strip,
.poster-strip {
  --rail-gap: clamp(8px, 0.9vw, 12px);
  display: grid;
  grid-auto-flow: column;
  gap: var(--rail-gap);
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(244, 241, 234, 0.28) transparent;
  scrollbar-width: thin;
}

.album-strip {
  grid-auto-columns: calc((100% - (var(--rail-gap) * 3)) / 3.5);
}

.poster-strip {
  grid-auto-columns: calc((100% - (var(--rail-gap) * 4)) / 4.5);
}

.album-rail,
.poster-rail {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.album-rail .album-strip,
.poster-rail .poster-strip {
  padding-bottom: 2px;
  scrollbar-width: none;
}

.album-rail .album-strip::-webkit-scrollbar,
.poster-rail .poster-strip::-webkit-scrollbar {
  display: none;
}

.rail-controls {
  display: inline-flex;
  justify-self: end;
  gap: 10px;
  align-items: center;
}

.rail-controls button {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(244, 241, 234, 0.2);
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.86);
  background: rgba(244, 241, 234, 0.045);
  box-shadow: inset 0 0 0 1px rgba(5, 7, 5, 0.14);
  font: inherit;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.rail-controls button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.rail-controls button[data-rail-scroll="prev"]::before {
  transform: rotate(225deg);
}

.rail-controls button:hover,
.rail-controls button:focus-visible {
  border-color: rgba(198, 235, 84, 0.72);
  color: var(--signal);
  background: rgba(198, 235, 84, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.rail-controls button:disabled {
  cursor: default;
  opacity: 0.36;
  transform: none;
}

.album-strip::-webkit-scrollbar,
.poster-strip::-webkit-scrollbar {
  height: 3px;
}

.album-strip::-webkit-scrollbar-track,
.poster-strip::-webkit-scrollbar-track {
  background: transparent;
}

.album-strip::-webkit-scrollbar-thumb,
.poster-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.3);
}

.album-strip figure,
.poster-strip figure {
  scroll-snap-align: start;
}

figure {
  margin: 0;
}

.album-strip img,
.poster-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  filter: saturate(0.9) brightness(0.86);
}

.poster-strip img {
  aspect-ratio: 2 / 3;
}

figcaption {
  margin-top: 6px;
  color: rgba(244, 241, 234, 0.88);
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1.18;
}

figcaption span {
  color: var(--muted-light);
  font-weight: 700;
}

.contact {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  align-content: center;
  background:
    radial-gradient(circle at 18% 84%, rgba(198, 235, 84, 0.12), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(5, 7, 5, 0.035), transparent 26%),
    var(--paper);
}

.contact-shell {
  width: 100%;
  max-width: min(var(--max), 1160px);
  margin: 0 auto;
}

.contact h2 {
  margin: clamp(12px, 1.2vw, 18px) 0 0;
  max-width: none;
  color: var(--text-dark);
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
}

.contact-lead {
  display: grid;
  gap: 4px;
  max-width: 100%;
  margin: clamp(12px, 1.4vw, 18px) 0 0;
  color: rgba(5, 7, 5, 0.62);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 750;
  line-height: 1.35;
}

.contact-lead span:last-child {
  white-space: nowrap;
}

.contact-board {
  display: grid;
  grid-template-columns: minmax(230px, 320px) 1px minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  margin-top: clamp(34px, 5.5svh, 62px);
}

.contact-qr-card {
  width: 100%;
  margin: 0;
  padding: clamp(14px, 1.6vw, 20px);
  border: 1px solid rgba(5, 7, 5, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(5, 7, 5, 0.12), 0 0 0 1px rgba(198, 235, 84, 0.12);
}

.contact-qr-card img {
  width: 100%;
  border-radius: 6px;
  background: #fff;
}

.contact-qr-card figcaption {
  margin-top: clamp(10px, 1.1vw, 14px);
  color: rgba(5, 7, 5, 0.48);
  font-size: clamp(10px, 0.8vw, 12px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.contact-divider {
  width: 1px;
  min-height: clamp(300px, 34vw, 420px);
  background: rgba(5, 7, 5, 0.13);
}

.contact-methods {
  display: grid;
  gap: clamp(16px, 2.1vw, 26px);
  width: min(100%, 620px);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
  min-height: clamp(82px, 8.4vw, 106px);
  padding: clamp(18px, 2vw, 26px) clamp(20px, 2.6vw, 34px);
  border: 1px solid rgba(5, 7, 5, 0.08);
  border-radius: 8px;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 54px rgba(5, 7, 5, 0.09);
  overflow-wrap: anywhere;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  border-color: rgba(198, 235, 84, 0.72);
  box-shadow: 0 24px 68px rgba(5, 7, 5, 0.13), 0 0 0 1px rgba(198, 235, 84, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.contact-icon {
  display: grid;
  flex: 0 0 auto;
  width: clamp(34px, 3.2vw, 42px);
  height: clamp(34px, 3.2vw, 42px);
  place-items: center;
  border: 1px solid rgba(198, 235, 84, 0.38);
  border-radius: 999px;
  color: var(--signal);
  background: rgba(198, 235, 84, 0.12);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1;
}

.contact-method span:last-child {
  display: grid;
  gap: 7px;
}

.contact-method small {
  color: rgba(5, 7, 5, 0.55);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.contact-method strong {
  color: var(--text-dark);
  font-size: clamp(16px, 1.28vw, 20px);
  font-weight: 850;
  line-height: 1.12;
}

.contact-home-button {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 3.4svh, 42px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.88);
  background: rgba(5, 7, 5, 0.72);
  box-shadow: 0 18px 54px rgba(5, 7, 5, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.contact-home-button:hover,
.contact-home-button:focus-visible {
  border-color: rgba(198, 235, 84, 0.48);
  color: var(--signal);
  background: rgba(5, 7, 5, 0.82);
  outline: none;
}

@media (max-width: 900px) {
  .site-nav {
    align-items: flex-start;
    padding-top: 14px;
  }

  .brand {
    top: 20px;
  }

  .nav-audio-toggle {
    top: 16px;
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .audio-cue-arrow {
    top: 52px;
    right: 72px;
    width: 82px;
  }

  .nav-links {
    max-width: calc(100vw - 164px);
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .contact-lead span:last-child {
    white-space: normal;
  }

  .contact-home-button {
    bottom: max(16px, env(safe-area-inset-bottom));
    min-height: 34px;
    padding: 0 15px;
    font-size: 11px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .about {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding: 84px 18px 44px;
  }

  .about-shell {
    width: 100%;
    height: auto;
    max-width: 560px;
    padding: 34px 0;
  }

  .hero-bottom-row,
  .works,
  .contact,
  .about-grid,
  .timeline-intro,
  .works-heading,
  .skills-heading,
  .life-heading,
  .archive-split,
  .contact-grid,
  .project-section,
  .project-facts,
  .project-watch-card {
    grid-template-columns: 1fr;
  }

  .project-watch-card a {
    justify-self: start;
  }

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

  .project-video-card {
    aspect-ratio: 16 / 9;
  }

  .project-facts-compact,
  .project-tool-groups {
    grid-template-columns: 1fr;
  }

  .works {
    display: block;
  }

  .life-stage-grid {
    grid-template-columns: 1fr;
  }

  .life-left-column {
    height: auto;
  }

  .life-left-column > .section-kicker {
    padding-top: 0;
    border-top: 0;
  }

  .archive-split {
    grid-template-rows: none;
  }

  .contact {
    align-items: flex-start;
  }

  .contact-board {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-qr-card,
  .contact-methods {
    width: min(100%, 520px);
  }

  .contact-divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
  }

  .about-grid {
    width: 100%;
    max-width: calc(100% - 44px);
    gap: 34px;
    justify-items: center;
  }

  .about-profile-column {
    width: 260px;
  }

  .about-timeline {
    width: 100%;
    padding: 0;
    border-left: 0;
  }

  .opening h1 {
    font-size: clamp(64px, 22vw, 120px);
  }

  .scroll-link {
    justify-self: start;
  }

  .section-index,
  .contact-grid {
    grid-column: auto;
  }

  .works-accordion {
    display: grid;
    grid-template-columns: 1fr !important;
    height: auto;
    min-height: 0;
  }

  .work-card,
  .work-card.is-active {
    height: auto;
    flex: none;
    min-width: 0;
  }

  .work-card.is-active {
    grid-template-rows: auto auto auto;
  }

  .work-card:not(.is-active) .work-card-toggle {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 12px;
    height: auto;
    padding-inline: 14px;
    border-bottom: 1px solid rgba(5, 7, 5, 0.1);
    color: var(--text-dark);
    background: transparent;
  }

  .work-card:not(.is-active) .work-card-toggle span {
    border-color: rgba(5, 7, 5, 0.14);
    color: rgba(5, 7, 5, 0.62);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .work-card:not(.is-active) .work-card-toggle strong {
    max-height: none;
    overflow: hidden;
    text-overflow: ellipsis;
    writing-mode: horizontal-tb;
    transform: none;
    text-shadow: none;
  }

  .work-card:not(.is-active) .work-media {
    position: relative;
    inset: auto;
    z-index: auto;
    aspect-ratio: 16 / 10;
    height: auto;
    opacity: 1;
    pointer-events: auto;
  }

  .work-card:not(.is-active) .work-media img {
    filter: saturate(0.82) contrast(1.04) brightness(0.84);
    transform: none;
  }

  .work-card:not(.is-active) .work-media::after {
    background: linear-gradient(180deg, rgba(5, 7, 5, 0.02), rgba(5, 7, 5, 0.52));
    opacity: 0.54;
  }

  .work-card:not(.is-active) .work-info {
    height: auto;
    max-height: none;
    padding: clamp(18px, 2vw, 30px);
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .work-media img {
    min-height: 260px;
    aspect-ratio: 16 / 11;
  }

  .work-info {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .work-info p:not(.work-meta) {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .project-hero {
    min-height: 76svh;
  }

  .project-body {
    width: calc(100% - 36px);
  }

  .project-return-panel {
    display: grid;
    justify-content: stretch;
  }

  .profile-player {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    transform: none;
  }

  .player-window {
    min-height: 390px;
  }

  .timeline-list {
    padding-left: 70px;
  }

  .timeline-list::before {
    left: 46px;
  }

  .timeline-list time {
    left: -70px;
    width: 48px;
  }

  .timeline-list li::before {
    left: -24px;
  }

  .life-heading h2 {
    white-space: normal;
  }

  .archive-split > div {
    grid-template-columns: 1fr;
  }

  .archive-split h3 {
    position: static;
  }

  .skills-heading {
    grid-template-areas:
      "kicker"
      "title"
      "copy";
    row-gap: 18px;
  }

  .skills-copy {
    width: auto;
    margin-top: 0;
  }

  .workflow-axis {
    margin-top: 44px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 52px;
    scrollbar-color: rgba(198, 235, 84, 0.46) rgba(244, 241, 234, 0.08);
    scrollbar-width: thin;
  }

  .workflow-axis::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .workflow-axis::-webkit-scrollbar-track {
    background: rgba(244, 241, 234, 0.08);
  }

  .workflow-axis::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(198, 235, 84, 0.46);
  }

  .workflow-rail {
    grid-template-columns: repeat(7, 154px);
    min-width: 1222px;
    min-height: 516px;
    padding: 0 73px;
  }

  .workflow-step::before {
    height: 134px;
  }

  .stage-card {
    --stage-title-gap: 13px;
    --stage-tool-gap: 13px;
    --stage-title-width: 70px;
    grid-template-columns: var(--stage-title-width) minmax(142px, max-content);
    column-gap: calc(var(--stage-title-gap) + var(--stage-tool-gap));
  }

  .stage-title {
    width: var(--stage-title-width);
  }

  .stage-title strong {
    font-size: 58px;
  }

  .stage-title span {
    font-size: 29px;
  }

  .tool-chip {
    min-height: 38px;
    padding: 5px 13px 5px 7px;
    font-size: 14px;
  }

  .tool-mark {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .interactive-theme-showcase {
    padding-right: 0;
  }

  .hobby-intro {
    min-height: 0;
  }

  .theme-nav {
    width: 34px;
    height: 34px;
  }

  .theme-nav-prev {
    left: 10px;
  }

  .theme-nav-next {
    right: 10px;
  }

  .theme-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-menu button {
    min-height: 42px;
    justify-content: center;
    padding: 0 7px;
    font-size: clamp(9px, 2.6vw, 11px);
  }

  .theme-menu button::after {
    display: none;
  }

  .theme-menu button:hover,
  .theme-menu button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(198, 235, 84, 0.52);
  }

  .theme-current {
    left: 14px;
    bottom: 14px;
  }

  .theme-current strong {
    font-size: clamp(18px, 5vw, 30px);
  }
}

@media (max-width: 560px) {
  .section-light,
  .section-dark {
    padding-left: 16px;
    padding-right: 16px;
  }

  .workflow-axis {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .workflow-rail {
    grid-template-columns: repeat(7, 158px);
    min-width: 1248px;
    min-height: 492px;
    padding: 0 70px;
  }
}

@keyframes navSettle {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroSettle {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes modalPanelIn {
  from {
    opacity: 0.82;
    transform: scale(0.992);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

body.motion-ready .site-nav {
  animation: navSettle 620ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

body.motion-ready .hero-eyebrow,
body.motion-ready .opening h1,
body.motion-ready .hero-bottom-row {
  animation: heroSettle 860ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.motion-ready .hero-eyebrow {
  animation-delay: 180ms;
}

body.motion-ready .opening h1 {
  animation-delay: 280ms;
}

body.motion-ready .hero-bottom-row {
  animation-delay: 420ms;
}

.motion-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, filter, transform;
}

.motion-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

body.motion-ready .work-card {
  will-change: flex-basis;
}

body.motion-ready .work-card.is-active,
body.motion-ready .contact-method,
body.motion-ready .theme-stage,
body.motion-ready .contact-qr-card,
body.motion-ready .album-strip figure,
body.motion-ready .poster-strip figure {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

body.motion-ready .album-strip figure,
body.motion-ready .poster-strip figure {
  transition: opacity 220ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.motion-ready .album-strip figure:hover,
body.motion-ready .poster-strip figure:hover {
  transform: translateY(-4px);
}

body.motion-ready .album-strip:hover figure:not(:hover),
body.motion-ready .poster-strip:hover figure:not(:hover) {
  opacity: 0.72;
}

body.motion-ready .contact-qr-card {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.motion-ready .contact-qr-card:hover {
  border-color: rgba(198, 235, 84, 0.32);
  box-shadow: 0 28px 76px rgba(5, 7, 5, 0.14), 0 0 0 1px rgba(198, 235, 84, 0.18);
  transform: translateY(-3px);
}

body.motion-ready .project-modal.is-open .project-modal-panel {
  animation: modalPanelIn 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: center;
}

.project-hero h1.project-title-compact {
  max-width: 1040px;
  font-size: clamp(54px, 7.4vw, 104px);
  line-height: 0.9;
  gap: clamp(10px, 1.2vw, 16px);
}

.project-hero h1.project-title-compact span:last-child {
  max-width: 960px;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
}

@media (min-width: 901px) {
  .project-title-compact + .project-hero-summary-wide span {
    white-space: normal;
  }
}

@media (min-width: 901px) and (max-height: 980px) {
  .work-info {
    grid-template-rows: auto auto auto;
    align-content: start;
    gap: 12px;
    height: clamp(188px, 24svh, 236px);
  }

  .work-info p:not(.work-meta) {
    max-width: 680px;
    min-height: 2.76em;
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.38;
  }

  .work-link {
    margin-top: 2px;
  }

  .project-hero h1.project-title-compact {
    max-width: 1000px;
    font-size: clamp(46px, 6.4vw, 84px);
    line-height: 0.9;
  }

  .project-hero h1.project-title-compact span:last-child {
    max-width: 820px;
    font-size: clamp(24px, 3.2vw, 42px);
    line-height: 1;
  }

  .project-title-compact + .project-hero-summary {
    max-width: 980px;
    margin-top: 20px;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.42;
  }

  .project-title-compact ~ .project-hero-meta {
    margin-top: 18px;
  }
}

/* Mobile layout pass: preserve the desktop composition, but make each section readable on phones. */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 96px;
  }

  body {
    overflow-x: hidden;
  }

  .site-nav {
    height: auto;
    padding: 12px 12px 0;
    pointer-events: none;
  }

  .brand {
    top: 12px;
    left: 12px;
    height: 38px;
    min-width: 58px;
    padding: 0 18px;
    pointer-events: auto;
  }

  .nav-audio-toggle {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    pointer-events: auto;
  }

  .audio-cue-arrow {
    top: 50px;
    right: 50px;
    width: 72px;
  }

  .nav-links {
    position: absolute;
    top: 62px;
    left: 12px;
    right: 12px;
    width: calc(100vw - 24px);
    max-width: none;
    padding: 6px;
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    pointer-events: auto;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 12px;
    font-size: 10px;
    white-space: nowrap;
  }

  .opening,
  .about,
  .workflow,
  .works,
  .life,
  .contact {
    min-height: auto;
    overflow: visible;
    padding-left: 16px;
    padding-right: 16px;
  }

  .opening {
    min-height: 100svh;
    padding-top: 112px;
  }

  .opening h1 {
    font-size: clamp(48px, 18vw, 76px);
  }

  .opening-copy {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-profile-column {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .about-main {
    min-width: 0;
  }

  .about-heading h2 {
    font-size: clamp(42px, 12vw, 68px);
  }

  .about-copy {
    display: block;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.58;
  }

  .timeline-entry {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .timeline-years {
    font-size: 13px;
  }

  .timeline-card h3 {
    font-size: clamp(18px, 5.4vw, 25px);
    white-space: normal;
  }

  .skills-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .skills-heading h2 {
    font-size: clamp(52px, 18vw, 82px);
  }

  .skills-copy {
    max-width: 100%;
  }

  .workflow-axis {
    width: 100% !important;
    max-width: none !important;
    margin: 34px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .workflow-axis::-webkit-scrollbar {
    display: none !important;
  }

  .workflow-rail {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    gap: 22px !important;
    padding: 0 !important;
  }

  .workflow-rail::before,
  .workflow-rail::after {
    display: none !important;
  }

  .workflow-step,
  .workflow-step.is-top,
  .workflow-step.is-bottom {
    position: relative !important;
    min-height: 0 !important;
    padding: 0 0 0 24px !important;
    align-self: auto !important;
    align-items: start !important;
    justify-items: stretch !important;
    transform: none !important;
  }

  .workflow-step::before,
  .workflow-step.is-top::before,
  .workflow-step.is-bottom::before {
    left: 8px !important;
    top: 24px !important;
    bottom: -24px !important;
    width: 1px !important;
    height: auto !important;
    background: linear-gradient(to bottom, rgba(196, 255, 56, 0.85), rgba(196, 255, 56, 0.18)) !important;
    transform: none !important;
  }

  .workflow-step:last-child::before {
    display: none !important;
  }

  .stage-card,
  .workflow-step.is-top .stage-card,
  .workflow-step.is-bottom .stage-card {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    justify-items: stretch !important;
    transform: none !important;
  }

  .stage-card::before {
    left: -28px !important;
    top: 30px !important;
    transform: translateY(-50%) !important;
  }

  .stage-title {
    width: 76px;
    text-align: left;
  }

  .stage-title strong {
    font-size: 54px;
    line-height: 0.78;
  }

  .stage-title span {
    font-size: 24px;
    line-height: 1;
  }

  .tool-list {
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
  }

  .tool-chip {
    min-height: 32px;
    padding: 4px 12px 4px 5px;
    font-size: 12px;
  }

  .works-shell {
    width: 100%;
  }

  .works-heading {
    gap: 14px;
  }

  .works-heading h2 {
    font-size: clamp(48px, 15vw, 78px);
  }

  .works-accordion {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .work-card,
  .work-card.is-active,
  .work-card:not(.is-active) {
    display: grid !important;
    grid-template-rows: auto auto auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .work-card-toggle,
  .work-card:not(.is-active) .work-card-toggle {
    min-height: 56px !important;
    padding: 0 14px !important;
    writing-mode: horizontal-tb !important;
    justify-content: flex-start !important;
  }

  .work-card-toggle span,
  .work-card-toggle strong,
  .work-card:not(.is-active) .work-card-toggle span,
  .work-card:not(.is-active) .work-card-toggle strong {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    white-space: normal !important;
  }

  .work-card:not(.is-active) .work-media,
  .work-media {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
  }

  .work-card:not(.is-active) .work-media img,
  .work-media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
  }

  .work-card:not(.is-active) .work-info,
  .work-info {
    display: block !important;
    padding: 18px !important;
  }

  .work-info p:not(.work-meta) {
    max-width: 100%;
    font-size: 15px;
  }

  .work-link {
    margin-top: 18px;
  }

  .project-modal-frame {
    inset: 0;
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .project-modal-panel {
    width: 100%;
    max-width: none;
  }

  .project-modal-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .project-hero {
    min-height: 72svh;
    padding: 110px 18px 72px;
  }

  .project-hero-content {
    max-width: 100%;
  }

  .project-hero h1,
  .project-hero h1.project-title-bilingual,
  .project-hero h1.project-title-compact {
    max-width: 100%;
    font-size: clamp(44px, 16vw, 74px);
    line-height: 0.84;
    word-break: break-word;
  }

  .project-hero-summary,
  .project-hero-summary-wide {
    max-width: 100%;
    font-size: 15px;
  }

  .project-hero-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }

  .project-body {
    width: calc(100% - 28px);
  }

  .project-section,
  .project-return-panel {
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 30px 0;
  }

  .project-section h2 {
    font-size: clamp(34px, 10vw, 54px);
    line-height: 0.92;
  }

  .project-section p,
  .project-section li {
    font-size: 15px;
  }

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

  .project-watch-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }

  .project-watch-card h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .project-watch-card a,
  .project-watch-card .project-watch-action {
    width: max-content;
    max-width: 100%;
  }

  .life-heading h2 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .life-stage-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .theme-stage-shell,
  .theme-stage {
    width: 100%;
  }

  .theme-stage {
    aspect-ratio: 16 / 9;
  }

  .theme-current strong {
    font-size: clamp(28px, 10vw, 44px);
  }

  .theme-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .theme-menu button {
    min-height: 44px;
    padding: 0 10px;
    font-size: 10px;
  }

  .media-panel {
    min-width: 0;
  }

  .media-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }

  .media-card {
    scroll-snap-align: start;
  }

  .contact-shell > h2 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .contact-board {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-method,
  .contact-qr-card {
    width: 100%;
  }

  .contact-method {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .nav-links a {
    padding: 0 10px;
    font-size: 9px;
  }

  .section-kicker,
  .about-kicker,
  .skills-kicker,
  .works-kicker,
  .life-kicker,
  .contact-kicker {
    font-size: 11px;
  }

  .stage-card,
  .workflow-step.is-top .stage-card,
  .workflow-step.is-bottom .stage-card {
    grid-template-columns: 66px minmax(0, 1fr) !important;
  }

  .stage-title {
    width: 66px;
  }

  .stage-title strong {
    font-size: 46px;
  }

  .stage-title span {
    font-size: 20px;
  }

  .tool-chip {
    font-size: 11px;
  }

  .work-card-toggle,
  .work-card:not(.is-active) .work-card-toggle {
    min-height: 52px !important;
  }

  .project-hero {
    padding-top: 98px;
  }

  .project-hero h1,
  .project-hero h1.project-title-bilingual,
  .project-hero h1.project-title-compact {
    font-size: clamp(40px, 15vw, 62px);
  }

  .theme-menu {
    grid-template-columns: 1fr;
  }
}

/* Narrow screen refinement pass: keep the desktop feel, but stop cards and detail pages from crowding. */
@media (max-width: 1280px) and (min-width: 761px) {
  .works-shell {
    width: min(100%, calc(100vw - 64px));
  }

  .work-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 24px 28px;
  }

  .work-info p:not(.work-meta) {
    max-width: 66ch;
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.42;
  }

  .work-link {
    position: static !important;
    margin-top: 8px;
  }

  .project-hero {
    padding: 92px clamp(22px, 4vw, 54px) 76px;
  }

  .project-hero h1,
  .project-hero h1.project-title-bilingual,
  .project-hero h1.project-title-compact {
    max-width: 100%;
    font-size: clamp(58px, 10.5vw, 128px);
    line-height: 0.86;
    overflow-wrap: anywhere;
  }

  .project-hero h1.project-title-bilingual {
    font-size: clamp(52px, 9.4vw, 112px);
  }

  .project-hero-summary {
    max-width: min(100%, 1080px);
  }
}

@media (max-width: 760px) {
  .works-accordion {
    align-items: stretch;
  }

  .work-card:not(.is-active) {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #050705 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  }

  .work-card:not(.is-active) .work-media,
  .work-card:not(.is-active) .work-info {
    display: none !important;
  }

  .work-card:not(.is-active) .work-card-toggle {
    min-height: 58px !important;
    border: 1px solid rgba(244, 241, 234, 0.12);
    background:
      linear-gradient(90deg, rgba(5, 7, 5, 0.92), rgba(8, 14, 7, 0.98)),
      var(--fold-bg, none);
    color: var(--paper);
    transition:
      border-color 240ms ease,
      box-shadow 240ms ease,
      filter 240ms ease,
      transform 240ms ease;
  }

  .work-card:not(.is-active):hover .work-card-toggle,
  .work-card:not(.is-active):focus-within .work-card-toggle {
    border-color: rgba(198, 235, 84, 0.58);
    box-shadow:
      0 0 0 1px rgba(198, 235, 84, 0.16),
      0 16px 34px rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
    transform: translateY(-1px);
  }

  .work-card:not(.is-active) .work-card-toggle strong {
    max-width: calc(100% - 58px);
    color: var(--paper);
    font-size: 14px;
    white-space: normal;
  }

  .work-card:not(.is-active) .work-card-toggle span {
    flex: 0 0 auto;
  }

  .work-card.is-active .work-media {
    display: block !important;
    aspect-ratio: 16 / 10;
    height: auto !important;
    min-height: 0 !important;
  }

  .work-card.is-active .work-info {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px !important;
  }

  .work-card.is-active .work-info p:not(.work-meta) {
    font-size: 16px;
    line-height: 1.45;
  }

  .work-card.is-active .work-link {
    position: static !important;
    margin-top: 6px;
  }

  .project-modal-close {
    top: 14px;
    right: 14px;
    bottom: auto;
    left: auto;
    transform: none;
  }

  .project-hero-content {
    max-width: 100%;
  }

  .project-hero-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }

  .project-hero-meta-card {
    min-width: 0;
  }

  .project-hero-summary,
  .project-body-copy,
  .project-watch-card p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .project-section-title {
    max-width: 100%;
  }

  .project-return-panel {
    padding-bottom: 84px;
  }

  .project-return-panel .project-modal-close,
  .project-return-panel .project-back-link,
  .project-return-panel .project-return-button,
  .project-return-panel a,
  .project-return-panel button {
    position: static !important;
    transform: none !important;
  }

  .contact-shell > p,
  .contact-subtitle,
  .contact-lede {
    max-width: 100%;
    white-space: normal;
  }

  .media-card {
    flex-basis: min(72vw, 220px);
  }
}

@media (max-width: 760px) {
  :root {
    --mobile-nav-top: max(12px, env(safe-area-inset-top));
    --mobile-nav-menu-height: 48px;
    --mobile-nav-action-top: calc(var(--mobile-nav-top) + var(--mobile-nav-menu-height) + 10px);
    --mobile-nav-total: calc(var(--mobile-nav-action-top) + 46px);
  }

  html {
    scroll-padding-top: calc(var(--mobile-nav-total) + 18px);
  }

  body {
    overflow-x: hidden;
  }

  .site-nav {
    height: var(--mobile-nav-total);
    padding: var(--mobile-nav-top) 14px 0;
    align-items: flex-start;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: var(--mobile-nav-top);
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
    min-height: var(--mobile-nav-menu-height);
    padding: 7px;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    pointer-events: auto;
    scroll-padding-inline: 8px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 32px;
    height: 32px;
    padding: 0 11px;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
  }

  .brand,
  .nav-audio-toggle {
    position: fixed;
    top: var(--mobile-nav-action-top);
    pointer-events: auto;
  }

  .brand {
    left: 14px;
    min-width: 72px;
    min-height: 42px;
    height: 42px;
    padding: 0 18px;
    justify-content: center;
  }

  .brand-mark,
  .project-detail .brand {
    font-size: 18px;
    font-weight: 950;
  }

  .nav-audio-toggle {
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .audio-cue-arrow {
    display: none;
  }

  .opening {
    min-height: 100svh;
    padding: calc(var(--mobile-nav-total) + 24px) 16px 24px;
    overflow: hidden;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    min-height: calc(100svh - var(--mobile-nav-total) - 48px);
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .hero-eyebrow {
    max-width: 100%;
    font-size: clamp(12px, 3.7vw, 15px);
    line-height: 1.18;
  }

  .opening h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(48px, 17.4vw, 74px);
    line-height: 0.82;
    overflow-wrap: anywhere;
  }

  .hero-bottom-row {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }

  .hero-bottom-row p {
    max-width: 100%;
    font-size: clamp(17px, 5.1vw, 22px);
    line-height: 1.18;
  }

  .scroll-link {
    justify-self: start;
  }

  .hero-bottom-row .desktop-experience-note {
    display: inline-grid;
    gap: 5px;
    justify-self: start;
    max-width: 100%;
    margin: -8px 0 0;
    padding: 11px 14px;
    border: 1px solid rgba(198, 235, 84, 0.5);
    border-radius: 8px;
    color: var(--signal);
    background:
      linear-gradient(135deg, rgba(198, 235, 84, 0.18), rgba(198, 235, 84, 0.06)),
      rgba(5, 7, 5, 0.58);
    box-shadow:
      inset 0 0 24px rgba(198, 235, 84, 0.08),
      0 0 24px rgba(198, 235, 84, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .hero-bottom-row .desktop-experience-note span:last-child {
    color: rgba(244, 241, 234, 0.82);
    font-size: 12px;
    font-weight: 760;
    text-transform: none;
  }

  .skills {
    overflow: hidden;
  }

  .workflow-axis {
    width: 100% !important;
    max-width: none !important;
    margin-top: 34px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .workflow-rail {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  .workflow-rail::before {
    content: "" !important;
    position: absolute !important;
    top: 22px !important;
    bottom: 22px !important;
    left: 18px !important;
    right: auto !important;
    display: block !important;
    width: 1px !important;
    height: auto !important;
    background: linear-gradient(180deg, rgba(198, 235, 84, 0.92), rgba(198, 235, 84, 0.18)) !important;
    box-shadow: 0 0 18px rgba(198, 235, 84, 0.36) !important;
    transform: none !important;
  }

  .workflow-rail::after {
    display: none !important;
  }

  .workflow-step,
  .workflow-step.is-top,
  .workflow-step.is-bottom {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 0 !important;
    padding: 0 !important;
    align-items: start !important;
    justify-items: stretch !important;
    transform: none !important;
  }

  .workflow-step::before,
  .workflow-step.is-top::before,
  .workflow-step.is-bottom::before {
    display: none !important;
  }

  .axis-dot {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: 15px !important;
    height: 15px !important;
    margin-top: 24px !important;
    transform: none !important;
  }

  .stage-card,
  .workflow-step.is-top .stage-card,
  .workflow-step.is-bottom .stage-card {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 12px !important;
    align-items: start !important;
    padding: 13px !important;
    border: 1px solid rgba(198, 235, 84, 0.22) !important;
    border-radius: 8px !important;
    background:
      radial-gradient(circle at 100% 0%, rgba(198, 235, 84, 0.16), transparent 42%),
      rgba(244, 241, 234, 0.055) !important;
    box-shadow:
      inset 0 0 28px rgba(198, 235, 84, 0.035),
      0 18px 36px rgba(0, 0, 0, 0.18) !important;
    transform: none !important;
  }

  .stage-card::before {
    display: none !important;
  }

  .stage-title {
    width: auto !important;
    min-width: 0 !important;
    justify-items: start !important;
    padding-top: 2px !important;
    text-align: left !important;
  }

  .stage-title strong {
    font-size: 40px !important;
    line-height: 0.78 !important;
  }

  .stage-title span,
  .stage-title span.stage-title-wide {
    font-size: 18px !important;
    line-height: 1.04 !important;
    white-space: normal !important;
  }

  .stage-tools {
    display: flex !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: flex-start !important;
    justify-items: start !important;
  }

  .tool-chip {
    max-width: 100% !important;
    min-height: 32px !important;
    gap: 7px !important;
    padding: 4px 10px 4px 5px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .tool-mark {
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
  }

  .tool-mark img {
    width: 15px !important;
    height: 15px !important;
  }

  .tool-mark img[src$=".png"],
  .tool-mark img[src$=".ico"] {
    width: 100% !important;
    height: 100% !important;
  }

  .section-light,
  .section-dark,
  .about,
  .works,
  .life,
  .contact {
    min-height: auto;
    padding-left: 16px;
    padding-right: 16px;
    overflow: visible;
  }

  .about {
    display: block;
    padding-top: calc(var(--mobile-nav-total) + 28px);
    padding-bottom: 48px;
  }

  .about-shell {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0;
    place-items: stretch;
  }

  .about-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 34px;
    justify-items: stretch;
  }

  .about-profile-column {
    --player-anchor-width: 100%;
    --player-expanded-width: 100%;
    width: 100%;
    justify-items: stretch;
  }

  .profile-player {
    width: 100%;
    max-width: 460px;
    height: auto;
    margin: 0 auto;
    padding: 12px 12px 26px;
    transform: none;
  }

  .player-window {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .now-playing strong,
  .profile-player h2,
  .timeline-intro h3 span,
  .timeline-list h4.timeline-title-bilingual {
    white-space: normal;
  }

  .profile-player h2 {
    font-size: clamp(27px, 8vw, 34px);
    letter-spacing: -0.03em;
  }

  .about-timeline {
    --axis-space: 58px;
    width: 100%;
    padding: 0;
    border-left: 0;
  }

  .timeline-intro {
    padding-bottom: 28px;
  }

  .timeline-intro h3 {
    font-size: clamp(38px, 12vw, 56px);
    line-height: 0.92;
  }

  .timeline-intro p:last-child {
    max-width: 100%;
    font-size: clamp(17px, 5vw, 21px);
    line-height: 1.45;
  }

  .timeline-list {
    width: 100%;
    padding-left: var(--axis-space);
  }

  .timeline-list::before {
    left: 36px;
  }

  .timeline-list time {
    left: -58px;
    width: 46px;
    font-size: 10px;
  }

  .timeline-list li::before {
    left: -22px;
  }

  .timeline-list li::after {
    left: -16px;
    width: 15px;
  }

  .timeline-list h4.timeline-title-bilingual {
    overflow: visible;
    font-size: clamp(18px, 5.5vw, 26px);
    line-height: 1.06;
  }

  .project-modal {
    z-index: 80;
  }

  .project-modal-panel {
    height: 100dvh;
    min-height: 100dvh;
    padding-top: calc(var(--mobile-nav-total) + 10px);
    overflow: hidden;
  }

  .project-modal-frame {
    width: 100%;
    height: calc(100dvh - var(--mobile-nav-total) - 10px);
  }

  .project-modal-close {
    position: fixed;
    top: calc(var(--mobile-nav-action-top) + 1px);
    right: 70px;
    left: auto;
    bottom: auto;
    width: auto;
    min-width: 108px;
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    font-size: 12px;
    line-height: 1;
    transform: none;
    white-space: nowrap;
  }

  .project-modal-close:hover,
  .project-modal-close:focus-visible {
    transform: translateY(-1px);
  }

  body.has-project-modal .site-nav {
    height: var(--mobile-nav-total);
  }

  body.has-project-modal .brand {
    left: 14px;
  }

  body.has-project-modal .nav-audio-toggle {
    right: 14px;
  }

  .project-detail .site-nav {
    height: var(--mobile-nav-total);
  }

  .project-detail .project-hero {
    min-height: 68svh;
    padding-top: calc(var(--mobile-nav-total) + 28px);
  }

  .project-detail.is-embedded-project .project-hero {
    min-height: 58svh;
    padding-top: 42px;
  }

  .project-video-triptych {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 10px;
  }

  .project-video-card {
    width: 100%;
    aspect-ratio: 9 / 16;
  }

  .project-video-card button {
    max-width: calc(100% - 32px);
    min-height: 46px;
    padding: 0 22px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .work-card:not(.is-active) .work-card-toggle {
    min-height: 54px !important;
  }

  .work-card:not(.is-active) .work-card-toggle strong {
    font-size: 12px;
  }

  .work-card.is-active .work-info p:not(.work-meta) {
    font-size: 15px;
  }

  .project-hero h1,
  .project-hero h1.project-title-bilingual,
  .project-hero h1.project-title-compact {
    font-size: clamp(38px, 14.5vw, 58px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
