:root {
  color-scheme: light;
  --page: #f4f1eb;
  --page-raised: #fbfaf7;
  --ink: #20252a;
  --ink-soft: #606a73;
  --ink-faint: #8d969c;
  --line: #d9d9d2;
  --line-strong: #b9c0c1;
  --accent: #3568f2;
  --accent-soft: #e2e9ff;
  --accent-deep: #1e45b8;
  --radius: 18px;
  --shell: min(1180px, calc(100% - 48px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #1b1f22;
    --page-raised: #24292d;
    --ink: #f0f0eb;
    --ink-soft: #d4d9df;
    --ink-faint: #aab3bd;
    --line: #384147;
    --line-strong: #526069;
    --accent: #7d9cff;
    --accent-soft: #29365f;
    --accent-deep: #adc0ff;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

::selection {
  background: var(--accent);
  color: #f7f7f2;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  transform: translateY(-150%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.hero {
  display: grid;
  min-height: min(740px, calc(100dvh - 72px));
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding-block: 72px 80px;
}

.hero-story{position:relative;height:255vh;background:#07101d;color:#f3f6fa}.hero-story-sticky{position:sticky;top:0;min-height:100dvh;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 68% 38%,rgba(63,124,255,.24),transparent 27%),radial-gradient(circle at 18% 82%,rgba(57,224,202,.12),transparent 29%),#07101d}#hero-story-canvas,.hero-story-vignette,.hero-story-grid{position:absolute;inset:0;width:100%;height:100%}#hero-story-canvas{z-index:0;display:block}.hero-story-vignette{z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(7,16,29,.84),rgba(7,16,29,.1) 58%,rgba(7,16,29,.34)),radial-gradient(ellipse at center,transparent 42%,rgba(3,7,13,.42) 100%)}.hero-story-grid{z-index:2;pointer-events:none;opacity:.22;background-image:linear-gradient(rgba(159,189,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(159,189,255,.08) 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(90deg,transparent,black 28%,black 72%,transparent)}.hero-story-content{position:relative;z-index:3;display:flex;min-height:100dvh;flex-direction:column;justify-content:center;padding-block:120px;color:#f3f6fa}.hero-story-kicker{margin-bottom:22px;color:rgba(199,218,255,.78);font:600 12px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;text-transform:uppercase}.hero-story h1{max-width:7ch;margin:0 0 28px;color:#f7f9fc;font-size:clamp(4.8rem,10.5vw,10rem);font-weight:600;letter-spacing:-.075em;line-height:.82;text-wrap:balance}.hero-story h1 span{display:block;transform:translate3d(0,calc(var(--hero-progress,0)*-24px),0);transition:opacity 120ms linear}.hero-story h1 span:last-child{color:#92b7ff;transform:translate3d(calc(var(--hero-progress,0)*80px),calc(var(--hero-progress,0)*-44px),0)}.hero-story-summary{max-width:36ch;margin-bottom:31px;color:rgba(222,231,245,.76);font-size:1.06rem;line-height:1.65}.hero-story .button-secondary{border-color:rgba(209,224,255,.35);color:#ecf2ff}.hero-story .button-secondary:hover,.hero-story .button-secondary:focus-visible{border-color:#92b7ff;color:#fff}.hero-story .button-primary{background:#83aaff;color:#07101d}.hero-story .button-primary:hover,.hero-story .button-primary:focus-visible{background:#b4caff}.hero-story-object-label{position:absolute;z-index:4;color:rgba(202,221,255,.72);font:500 clamp(1.2rem,2.5vw,2.5rem)/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-.05em;pointer-events:none;text-transform:lowercase;transition:opacity 120ms linear,transform 120ms linear}.hero-story-label-one{top:22%;right:17%;transform:translate3d(calc(var(--hero-progress,0)*-90px),calc(var(--hero-progress,0)*30px),0)}.hero-story-label-two{top:66%;right:13%;transform:translate3d(calc(var(--hero-progress,0)*110px),calc(var(--hero-progress,0)*-70px),0)}.hero-story-label-three{top:40%;left:54%;opacity:.58;transform:translate3d(calc(var(--hero-progress,0)*-70px),calc(var(--hero-progress,0)*120px),0)}.hero-story-bottom{position:absolute;z-index:4;bottom:30px;left:0;display:grid;grid-template-columns:auto auto 1fr auto;gap:16px;align-items:center;color:rgba(211,225,250,.64);font:11px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.07em;text-transform:uppercase}.hero-story-bottom strong{color:#b4caff;font-weight:600}.hero-story-line{position:relative;height:1px;background:rgba(189,211,255,.26)}.hero-story-line::after{position:absolute;top:-1px;left:0;width:100%;height:3px;background:#83aaff;transform:scaleX(calc(var(--hero-progress,0)));transform-origin:left;content:"";transition:transform 100ms linear}@media(max-width:900px){.hero-story{height:220vh}.hero-story-content{padding-block:105px 100px}.hero-story h1{font-size:clamp(4.25rem,16vw,7.5rem)}.hero-story-label-one{top:19%;right:9%}.hero-story-label-two{top:68%;right:6%}.hero-story-label-three{top:42%;left:48%}}@media(max-width:640px){.hero-story{height:205vh}.hero-story-content{justify-content:flex-start;padding-top:135px}.hero-story-kicker{max-width:22ch;margin-bottom:20px;font-size:11px}.hero-story h1{max-width:6ch;margin-bottom:22px;font-size:clamp(4.1rem,20vw,6rem)}.hero-story-summary{max-width:30ch;font-size:.98rem}.hero-story-object-label{font-size:1rem}.hero-story-label-one{top:39%;right:9%}.hero-story-label-two{top:59%;right:7%}.hero-story-label-three{top:49%;left:11%}.hero-story-bottom{bottom:25px;grid-template-columns:auto 1fr auto;gap:10px;font-size:11px}.hero-story-bottom strong{display:none}.hero-story-line{grid-column:1/-1;grid-row:2}}@media(prefers-reduced-motion:reduce){.hero-story h1 span,.hero-story h1 span:last-child,.hero-story-object-label{transform:none;transition:none}.hero-story-line::after{transition:none}}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.055em;
}

h1 {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 5.6vw, 4.9rem);
  line-height: 0.94;
}

h2 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.42rem;
  line-height: 1.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  background: var(--accent);
  color: #f8f8f3;
}

@media (prefers-color-scheme: dark) {
  .button-primary,
  .button-primary:hover,
  .button-primary:focus-visible {
    color: #161b20;
  }
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.visual-caption a,
.text-link,
.media-link,
.footer-email {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.visual-caption a:hover,
.visual-caption a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-email:hover,
.footer-email:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: 48px;
  align-items: end;
  padding-block: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-statement {
  max-width: 27ch;
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.intro-aside {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 13px;
}

.intro-aside p {
  max-width: 22ch;
  margin: 0;
}

.aside-line {
  display: block;
  width: 18px;
  height: 1px;
  margin-top: 10px;
  background: var(--accent);
}

.section {
  padding-block: 150px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 62px;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 30px;
  color: var(--ink-soft);
  font-size: 13px;
}

.work-footer p {
  margin: 0;
}

.text-link {
  white-space: nowrap;
}

.scene-lab {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: stretch;
  padding-block: 24px 150px;
}

@media (max-width: 900px) {
  .scene-lab {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-block: 0 88px;
  }

}

.section-experience {
  border-top: 1px solid var(--line);
}

.experience-heading {
  margin-bottom: 64px;
}

.experience-heading h2 {
  margin-bottom: 0;
}

.experience-intro p {
  max-width: 31ch;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.timeline {
  border-top: 1px solid var(--line);
}

.toolkit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(52px, 10vw, 150px);
  border-top: 1px solid var(--line);
}

.toolkit-copy h2 {
  margin-bottom: 25px;
}

.toolkit-copy > p:not(.eyebrow) {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 15px;
}

.resume-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 150px;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--page-raised);
}

.resume-callout h2 {
  margin-bottom: 9px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.resume-callout p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer {
  padding: 90px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--page-raised);
}

.footer-heading h2 {
  max-width: 9ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 9px;
}

.footer-email {
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  letter-spacing: -0.045em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 86px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.js .reveal-delay {
  transition-delay: 100ms;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 58%, transparent);
  outline-offset: 4px;
}

.section-rail {
  position: fixed;
  z-index: 4;
  top: 50%;
  right: max(18px, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: 12px auto;
  gap: 13px;
  align-items: center;
  transform: translateY(-50%);
}

.section-rail-track {
  position: relative;
  width: 1px;
  height: 152px;
  background: var(--line);
}

.section-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 500ms var(--ease);
}

.section-rail ol {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.section-rail a {
  display: grid;
  grid-template-columns: 22px auto;
  gap: 8px;
  align-items: center;
  color: var(--ink-faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms var(--ease);
}

.section-rail a span {
  color: var(--ink-faint);
}

.section-rail a strong {
  font-weight: 600;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.section-rail a:hover,
.section-rail a:focus-visible,
.section-rail a[aria-current="location"] {
  color: var(--accent-deep);
}

.section-rail a:hover strong,
.section-rail a:focus-visible strong,
.section-rail a[aria-current="location"] strong {
  opacity: 1;
  transform: translateX(0);
}

.section-rail-current {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  width: max-content;
  margin: 0;
  color: var(--ink-faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.timeline {
  position: relative;
}

.timeline::before,
.timeline-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  width: 1px;
  content: "";
}

.timeline::before {
  background: var(--line);
}

@media (max-width: 1100px) {
  .section-rail {
    right: 13px;
  }
}

@media (max-width: 900px) {
  .section-rail {
    top: auto;
    right: 50%;
    bottom: 16px;
    grid-template-columns: auto;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--page-raised) 90%, transparent);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 13%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateX(50%);
  }

  .section-rail-track,
  .section-rail-current {
    display: none;
  }

  .section-rail ol {
    display: flex;
    gap: 5px;
  }

  .section-rail a {
    display: block;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 11px;
  }

  .section-rail a strong {
    display: none;
  }

  .section-rail a[aria-current="location"] {
    background: var(--accent-soft);
  }

}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 54px;
    padding-block: 72px 96px;
  }

  h1 {
    max-width: none;
  }

  .intro-band,
  .experience-layout,
  .toolkit {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .intro-statement {
    max-width: 22ch;
  }

  .experience-intro p {
    max-width: 48ch;
  }

}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .hero {
    gap: 42px;
    padding-block: 64px 80px;
  }

  h1 {
    max-width: none;
    font-size: clamp(3.3rem, 17vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2.65rem, 13vw, 4.1rem);
  }

  .intro-band,
  .section {
    padding-block: 88px;
  }

  .intro-band {
    gap: 30px;
  }

  .intro-statement {
    font-size: 2rem;
  }

  .section-heading,
  .experience-heading {
    margin-bottom: 40px;
  }

  .work-footer,
  .resume-callout,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-footer {
    padding-top: 25px;
  }

  .resume-callout {
    margin-bottom: 88px;
    padding: 28px 23px;
  }

  .site-footer {
    padding-top: 70px;
  }

  .footer-heading h2 {
    max-width: 10ch;
  }

  .footer-email {
    font-size: 1.45rem;
  }

  .footer-bottom {
    gap: 8px;
    margin-top: 60px;
  }
}

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

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

  html.js .reveal,
  html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Whole-site scene system */
.scene-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --pointer-x: 50%;
  --pointer-y: 50%;
  --scene-progress: 0;
}

.scene-section::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--accent) 12%, transparent), transparent 28%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.scene-section.scene-active::after,
.scene-section:hover::after {
  opacity: 1;
}

.manifesto-scene {
  min-height: 650px;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.6fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 43%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 22%),
    linear-gradient(135deg, color-mix(in srgb, var(--page-raised) 92%, var(--accent-soft)), var(--page));
}

.manifesto-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.5fr);
  gap: 48px;
  align-items: end;
  padding-block: 120px 96px;
}

.manifesto-scene .intro-statement {
  max-width: 24ch;
  font-size: clamp(2.2rem, 4.7vw, 4.5rem);
}

.manifesto-scene .intro-aside {
  align-self: end;
}

.manifesto-constellation {
  position: absolute;
  top: 50%;
  right: 8%;
  width: min(40vw, 490px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.manifesto-orbit,
.manifesto-node,
.manifesto-path {
  position: absolute;
  display: block;
}

.manifesto-orbit {
  top: 50%;
  left: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 900ms var(--ease), border-color 500ms ease;
}

.manifesto-orbit-one {
  width: 88%;
  height: 42%;
  transform: translate(-50%, -50%) rotate(-24deg);
}

.manifesto-orbit-two {
  width: 54%;
  height: 82%;
  transform: translate(-50%, -50%) rotate(35deg);
}

.manifesto-node {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 13%, transparent);
  transition: transform 700ms var(--ease), background 300ms ease;
}

.manifesto-node-one { top: 17%; left: 51%; }
.manifesto-node-two { top: 63%; left: 19%; background: var(--accent-deep); }
.manifesto-node-three { right: 14%; bottom: 18%; background: color-mix(in srgb, var(--accent) 68%, var(--page)); }

.manifesto-path {
  top: 24%;
  left: 22%;
  width: 63%;
  height: 52%;
  border-top: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-radius: 0 80% 0 0;
  transform: rotate(28deg);
}

.scene-active .manifesto-orbit-one { transform: translate(-50%, -50%) rotate(-12deg) scale(1.08); }
.scene-active .manifesto-orbit-two { transform: translate(-50%, -50%) rotate(52deg) scale(0.94); }
.scene-active .manifesto-node-one { transform: translate(16px, -8px) scale(1.15); }
.scene-active .manifesto-node-two { transform: translate(-12px, 10px); }
.scene-active .manifesto-node-three { transform: translate(8px, -12px) scale(1.12); }

.manifesto-footer {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  color: var(--ink-faint);
  font: 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifesto-footer span:nth-child(2) { color: var(--accent-deep); text-align: center; }
.manifesto-footer span:last-child { text-align: right; }

.work-scene {
  min-height: 940px;
  background:
    linear-gradient(180deg, var(--page) 0%, color-mix(in srgb, var(--page) 82%, var(--accent-soft)) 100%);
}

.work-atmosphere {
  position: absolute;
  z-index: -1;
  top: 18%;
  right: 0;
  left: 0;
  height: 530px;
  pointer-events: none;
}

.work-beam {
  position: absolute;
  top: 15%;
  width: 52vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 42%, transparent), transparent);
  transform: rotate(-14deg) translateX(calc(var(--scene-progress) * 60px));
  transition: transform 900ms var(--ease);
}

.work-beam-one { left: -4%; }
.work-beam-two { right: -6%; top: 75%; transform: rotate(16deg) translateX(calc(var(--scene-progress) * -55px)); }

.work-crosshair {
  position: absolute;
  top: 50%;
  left: 73%;
  width: 170px;
  height: 170px;
  border: 1px solid color-mix(in srgb, var(--accent) 23%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(calc(0.78 + var(--scene-progress) * 0.24));
  transition: transform 900ms var(--ease), border-color 500ms ease;
}

.work-crosshair::before,
.work-crosshair::after {
  position: absolute;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  content: "";
}

.work-crosshair::before { top: 50%; right: -24px; left: -24px; height: 1px; }
.work-crosshair::after { top: -24px; bottom: -24px; left: 50%; width: 1px; }

.work-scene .section-heading,
.work-scene .section-filters,
.work-scene .project-grid,
.work-scene .work-footer {
  position: relative;
  z-index: 1;
}

.lab-scene {
  max-width: 100%;
  width: 100%;
  padding: 150px max(24px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 72% 30%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 29%),
    linear-gradient(145deg, color-mix(in srgb, var(--page) 82%, var(--accent-soft)), var(--page));
}

.lab-scene::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 80px, color-mix(in srgb, var(--accent) 5%, transparent) 81px, transparent 82px);
  content: "";
  opacity: 0.45;
}

.experience-scene {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 24%),
    linear-gradient(180deg, var(--page) 0%, color-mix(in srgb, var(--page) 90%, var(--accent-soft)) 100%);
}

.experience-scene .timeline {
  padding-left: 10px;
  border-top-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}

.about-scene {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 70%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 24%),
    var(--page);
}

.about-signal {
  position: absolute;
  top: 14%;
  right: 4%;
  width: min(42vw, 500px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 50%;
  transform: rotate(-16deg) scale(calc(0.9 + var(--scene-progress) * 0.08));
  transition: transform 900ms var(--ease);
  pointer-events: none;
}

.about-signal::before,
.about-signal::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  height: 48%;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) rotate(55deg);
}

.about-signal::after { width: 46%; height: 82%; transform: translate(-50%, -50%) rotate(-23deg); }
.about-signal span { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent); }
.about-signal span:nth-child(1) { top: 12%; left: 56%; }
.about-signal span:nth-child(2) { top: 55%; right: 8%; background: var(--accent-deep); }
.about-signal span:nth-child(3) { bottom: 8%; left: 30%; }
.about-signal span:nth-child(4) { top: 44%; left: 7%; background: color-mix(in srgb, var(--accent) 68%, var(--page)); }

.about-scene .toolkit-copy,
.about-scene .toolkit-list { position: relative; z-index: 1; }

.resume-scene {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 22%),
    color-mix(in srgb, var(--page-raised) 90%, var(--accent-soft));
}

.resume-ring {
  position: absolute;
  top: 50%;
  right: 10%;
  display: grid;
  width: 210px;
  height: 210px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 50%;
  color: var(--accent-deep);
  font: 600 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  transform: translateY(-50%) rotate(calc(var(--scene-progress) * 16deg));
  transition: transform 900ms var(--ease);
}

.resume-ring::before,
.resume-ring::after { position: absolute; inset: 20px; border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); border-radius: 50%; content: ""; }
.resume-ring::after { inset: 55px; background: color-mix(in srgb, var(--accent) 13%, transparent); }
.resume-ring span { position: relative; z-index: 1; }
.resume-scene > div:first-of-type { position: relative; z-index: 1; }

.footer-scene {
  position: relative;
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 24%),
    #091321;
  color: #edf3ff;
}

.footer-scene::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 64%, transparent), transparent);
  content: "";
}

.footer-scene .footer-heading h2,
.footer-scene .footer-email { color: #edf3ff; }
.footer-scene .footer-bottom { color: rgba(206, 222, 247, 0.58); border-top-color: rgba(172, 198, 239, 0.2); }

.footer-scene .footer-email,
.footer-scene .footer-links a:hover,
.footer-scene .footer-links a:focus-visible { color: #9ebdff; }

@media (max-width: 900px) {
  .manifesto-copy { grid-template-columns: 1fr; gap: 34px; }
  .manifesto-constellation { right: -9%; width: 56vw; opacity: 0.7; }
  .manifesto-scene .intro-statement { max-width: 20ch; }
  .work-scene { min-height: 0; }
  .lab-scene { padding: 88px 18px; }
  .about-signal { right: -15%; width: 64vw; opacity: 0.58; }
  .resume-ring { right: 3%; width: 170px; height: 170px; }
  .resume-scene > div:first-of-type { max-width: 62%; }
}

@media (max-width: 640px) {
  .manifesto-scene { min-height: 620px; }
  .manifesto-copy { padding-block: 84px 102px; }
  .manifesto-constellation { top: 64%; right: -14%; width: 68vw; }
  .manifesto-footer { gap: 8px; font-size: 10px; }
  .manifesto-footer span:nth-child(2) { text-align: left; }
  .manifesto-footer span:last-child { text-align: left; }
  .work-atmosphere { top: 24%; }
  .work-crosshair { left: 80%; width: 120px; height: 120px; }
  .about-signal { top: 9%; right: -24%; width: 76vw; }
  
  .resume-scene { min-height: 390px; }
  .resume-ring { top: 72%; right: 4%; width: 155px; height: 155px; opacity: 0.72; }
  .resume-scene > div:first-of-type { max-width: 100%; }
  .footer-scene { padding-top: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-orbit,
  .manifesto-node,
  .work-beam,
  .work-crosshair,
  .experience-scanline,
  .about-signal,
  .resume-ring,
  .scene-section .project-card,
  .experience-scene .timeline-item,
  .about-scene .toolkit-group {
    transform: none;
    transition: none;
  }
}
