@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #efece4;
  --ink: #211f22;
  --muted: #5a555b;
  --line: #c7c1b8;
  --blue: #211dc3;
  --white: #f9f7ef;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
body { line-height: 1.6; }
h1, h2, h3 { line-height: .99; letter-spacing: -.075em; }
h2 { font-size: clamp(2.85rem, 7.05vw, 7.4rem); font-weight: 760; }
h2 em, h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.08em; }
h3 { font-size: clamp(1.5rem, 3.1vw, 3.35rem); line-height: 1.04; }
a { color: inherit; text-underline-offset: .23em; }
button, summary { cursor: pointer; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px dashed currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 104px, 1480px); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; transform: translateY(-200%); background: white; padding: .7rem 1rem; z-index: 10; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand, nav, .actions, .filters { display: flex; align-items: center; }
.brand { gap: .8rem; font-weight: 800; text-decoration: none; width: fit-content; }
.mark { display: grid; justify-items: center; align-content: center; gap: 3px; width: 31px; aspect-ratio: 1; background: var(--blue); }
.mark span { width: 14px; height: 2px; background: var(--white); transform: skewY(-17deg); }
nav { gap: clamp(.8rem, 4vw, 3.5rem); }
nav a { text-decoration: none; font-size: .94rem; font-weight: 700; }
nav a:hover { text-decoration: underline; }
.pill { border: 1px solid currentColor; padding: .65rem 1.15rem; text-decoration: none; font-weight: 750; display: inline-block; width: fit-content; transition: color .18s, background-color .18s; }
.header-contact { justify-self: end; }
.pill:hover { background: var(--blue); color: var(--white); }
body { background: #0d0d20; }
.header { color: var(--white); border-color: #383453; }
main > .section { background: var(--paper); }
main { background: var(--paper); }
.hero-band { background: radial-gradient(ellipse at 70% 65%, #191247, #0d0d20 66%); color: var(--white); }
.hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; position: relative; isolation: isolate; padding-block: clamp(3rem, 8vw, 8rem); min-height: min(730px, 78svh); }
.hero-heading { grid-row: 1; grid-column: 1; align-self: end; z-index: 1; pointer-events: none; }
.eyebrow { font: 650 .875rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.hero-heading .eyebrow { color: #c7c1eb; display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .65rem; margin-bottom: 1.2rem; }
.hero-heading .eyebrow span { color: #c2a8ff; }
h1 { display: grid; gap: .045em; font-size: clamp(5rem, 12vw, 12rem); line-height: .79; font-weight: 800; letter-spacing: -.1em; }
h1 em { line-height: .83; color: #baa5ff; }
.hero-copy { grid-row: 2; grid-column: 1; align-self: start; padding-top: 2rem; z-index: 1; }
.intro { font-size: clamp(1.2rem, 1.95vw, 1.9rem); font-weight: 780; letter-spacing: -.045em; line-height: 1.12; max-width: 24ch; }
.sub { color: #cec8e1; margin-block: .65rem 1.2rem; max-width: 35ch; }
.actions { gap: .85rem 1.2rem; flex-wrap: wrap; }
.primary { background: #c7b3ff; color: #17102e; border-color: #c7b3ff; }
.primary:hover { background: var(--white); color: #17102e; border-color: var(--white); }
.text-link, summary { font-weight: 780; width: fit-content; }
.text-link:hover { color: var(--blue); }
.hero .text-link:hover { color: #d5c7ff; }
.hero-art { grid-column: 2; grid-row: 1 / 3; align-self: center; position: relative; min-width: 0; }
.scene { position: relative; aspect-ratio: 1.13; overflow: hidden; isolation: isolate; display: grid; place-items: center; }
.scene-grid { position: absolute; inset: 4%; border: 1px solid #aca0e836; background: linear-gradient(90deg, #b5a9ee11 1px, transparent 1px), linear-gradient(#b5a9ee11 1px, transparent 1px); background-size: 12.5% 12.5%; mask-image: radial-gradient(ellipse, black 15%, #0009 70%, transparent); }
.scene-corner { position: absolute; width: 1.15rem; aspect-ratio: 1; color: #bba8ff; border: 1px solid currentColor; }
.corner-top { top: 4%; left: 4%; border-width: 1px 0 0 1px; }
.corner-bottom { bottom: 4%; right: 4%; border-width: 0 1px 1px 0; }
.stage { display: grid; place-items: center; width: 87%; height: 100%; perspective: 900px; }
.camera, .assembly { display: grid; place-items: center; width: 100%; height: 100%; transform-style: preserve-3d; }
.assembly { grid-area: 1 / 1; transform: rotateX(58deg) rotateZ(-37deg); }
.plate { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 9%; border: 1px solid #c2b8fa; transform-style: preserve-3d; transform: translateZ(var(--z)); background: linear-gradient(150deg, #c3b5ffad, #4740bdba 26%, #21146fef 66%, #7964e6df); box-shadow: inset 0 0 28px #ba96ff66, 0 0 26px #8870e956; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.plate::before, .plate::after { content: ""; position: absolute; pointer-events: none; border-radius: inherit; }
.plate::before { inset: 5%; border: 1px solid #eee9ff77; }
.plate::after { inset: -1px; border: 2px solid #8d78e2; background: #322576; transform: translateZ(-9px); box-shadow: 0 6px 30px #120b3b; }
.plate span { position: absolute; inset: 21%; border: 1px solid #e8dfff9c; background: repeating-linear-gradient(90deg, #d7c7ff22 0 1px, transparent 1px 9px), linear-gradient(145deg, #c0aaff5e, #281965d9); border-radius: 13%; box-shadow: inset 0 0 12px #c1aaff55; }
.plate-base { --z: -72px; background: linear-gradient(140deg, #a69ac8, #4a3d7d 40%, #7865b5 79%, #d6c8ff); }
.plate-middle { --z: 0px; width: 55%; }
.plate-top { --z: 72px; width: 52%; background: linear-gradient(145deg, #dfd4ffde, #8e78d8bc 27%, #3e287dcc 64%, #a08debde); }
.hero-art:has(.assembly-control[aria-pressed="true"]) .plate-base { --z: -104px; }
.hero-art:has(.assembly-control[aria-pressed="true"]) .plate-top { --z: 104px; }
.hero-art figcaption { display: flex; justify-content: center; min-height: 2.3rem; }
.assembly-control { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .72rem; border: 1px solid #61578d; background: transparent; font-size: .875rem; }
.assembly-control:hover, .assembly-control[aria-pressed="true"] { background: #c7b3ff; color: #17102e; }
.assembly-control span { width: .72rem; height: .72rem; border: 1px solid currentColor; transform: rotate(45deg); }
.proof { border-block: 1px solid var(--line); }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics div { display: flex; flex-direction: column-reverse; justify-content: start; padding: clamp(.8rem, 2.5vw, 2rem) clamp(.65rem, 3vw, 2.8rem); border-inline-start: 1px solid var(--line); }
.metrics div:first-child { padding-left: 0; border-inline-start: 0; }
.metrics dd { font-size: clamp(1.75rem, 4.3vw, 4.5rem); line-height: 1.05; letter-spacing: -.075em; font-weight: 800; color: var(--blue); }
.metrics dt { margin-top: .4rem; }
.section { padding-block: clamp(3.8rem, 8.5vw, 9rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem; margin-bottom: 2rem; }
.filters { gap: .38rem; flex-wrap: wrap; }
.filters button { padding: .42rem .72rem; background: transparent; border: 1px solid var(--line); font-weight: 750; font-size: .875rem; }
.filters button[aria-pressed="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
.filters button:hover { border-color: var(--blue); }
.project { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); align-items: center; gap: clamp(1.4rem, 7vw, 8rem); padding-block: clamp(1.1rem, 3.3vw, 3.15rem); border-top: 1px solid var(--line); }
.project:last-child { border-bottom: 1px solid var(--line); }
.project-art { width: 100%; aspect-ratio: 1.95; min-height: 112px; display: grid; place-content: center; position: relative; isolation: isolate; text-align: center; overflow: hidden; }
.project-art::after { content: ""; position: absolute; inset: .58rem; border: 1px solid currentColor; opacity: .3; pointer-events: none; }
.studio { background: radial-gradient(ellipse at 50% 0, #314b62, #101820 68%); color: #dce5e8; }
.studio .wordmark { position: relative; font-size: clamp(1.6rem, 4.1vw, 4.75rem); font-weight: 800; letter-spacing: -.055em; }
.studio b { font-family: var(--serif); font-size: clamp(1rem, 1.8vw, 1.55rem); letter-spacing: .16em; }
.bakery { background: #dfbfa8; color: #502a22; }
.booking-slip { background: #faf0df; padding: .5rem 1.25rem .65rem; width: min(37vw, 240px); min-width: 132px; border: 1px solid #9d7561; transform: rotate(-7deg); box-shadow: 12px 11px #b98d77; }
.booking-slip span { display: block; font: italic clamp(1rem,2.4vw,2rem)/1.15 var(--serif); }
.booking-slip i { display: block; height: 1px; margin-block: .38rem; background: #c4a597; }
.booking-slip b { font-size: .75rem; }
.store { background: linear-gradient(135deg, #152640, #0b1421); color: #fff; font-size: clamp(2rem, 4.4vw, 4.8rem); font-weight: 800; letter-spacing: -.07em; font-style: italic; }
.store span span { color: #80b9ff; }
.servers { display: flex; align-items: center; justify-content: center; padding-inline: .55rem; background: #d8d7f3; color: #262189; font: 650 clamp(.65rem, 1.4vw, 1rem) var(--mono); }
.servers span { border: 1px solid currentColor; padding: .45rem; }
.servers i { width: min(4vw, 45px); height: 1px; background: currentColor; }
.project-body h3 { margin-block: .5rem .8rem; }
.project-body .eyebrow { color: var(--blue); }
.project-body p:not(.eyebrow) { max-width: 49ch; color: var(--muted); }
.project-body .stack { font: .875rem/1.5 var(--mono); margin-block: .85rem; }
details p { margin-top: .65rem; }
.github { display: inline-block; margin-top: 1.45rem; }
.experience { background: #1e1b25; color: var(--white); }
.experience-grid, .about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem, 6vw, 7rem); }
.experience h2 span { color: #aaa6ff; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { padding-block: 1.45rem; border-top: 1px solid #665e72; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .eyebrow { color: #c3c0ff; margin-bottom: .55rem; }
.timeline .company { font-weight: 750; margin-block: .55rem; }
.timeline li > p:last-child { color: #ded8e5; }
.about > div > p:last-child { margin-top: 1.1rem; color: var(--muted); max-width: 42ch; }
.skills div { border-top: 1px solid var(--line); padding-block: .85rem; }
.skills dt { font-weight: 800; }
.skills dd { color: var(--muted); }
.contact { background: var(--blue); color: var(--white); padding-block: clamp(3rem, 7vw, 7rem) 1.2rem; }
.contact h2 { font-size: clamp(3.4rem, 11vw, 11.5rem); }
.contact p { margin-block: 1.25rem; }
.contact .pill:hover { background: var(--white); color: var(--blue); }
.footer-line { border-top: 1px solid #a39ff1; margin-top: 3.5rem; padding-top: .95rem; display: flex; justify-content: space-between; gap: .65rem 1.5rem; flex-wrap: wrap; }
.footer-line div { display: flex; gap: 1rem; }
@media (max-width: 1020px) {
  .wrap { width: calc(100% - 56px); }
  .scene { aspect-ratio: 1; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header { grid-template-columns: 1fr auto; padding-block: .65rem; gap: .65rem; }
  nav { grid-row: 2; grid-column: 1 / -1; gap: 1.25rem; }
  .header-contact { font-size: .88rem; }
  .hero, .experience-grid, .about, .project { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; padding-block: 2rem; grid-template-rows: auto auto auto; gap: 1rem; }
  h1 { display: flex; align-items: baseline; font-size: clamp(2.85rem, 15.2vw, 6rem); gap: .08em; }
  .hero-art { grid-row: 2; grid-column: 1; margin-top: 0; }
  .hero-copy { grid-row: 3; padding: .4rem 0 0; }
  .intro, .sub { max-width: 32ch; }
  .sub { margin-block: .45rem .9rem; }
  .scene { aspect-ratio: 1.4; }
  .plate-base { --z: -45px; }
  .plate-top { --z: 45px; }
  .hero-art:has(.assembly-control[aria-pressed="true"]) .plate-base { --z: -64px; }
  .hero-art:has(.assembly-control[aria-pressed="true"]) .plate-top { --z: 64px; }
  .metrics { width: 100%; }
  .metrics div, .metrics div:first-child { padding: .65rem .45rem; }
  .metrics dd { font-size: clamp(1.2rem, 5.6vw, 2.4rem); }
  .metrics dt { font-size: .875rem; line-height: 1.35; }
  .project { gap: 1rem; padding-block: 1.1rem 1.5rem; }
  .project-art { aspect-ratio: 2.15; }
  .servers span { padding-inline: .35rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .plate, .pill { transition: none; }
}
