:root {
  --ink: #17141c;
  --panel: #221d29;
  --paper: #f3eff1;
  --muted: #bcb1c8;
  --violet: #d0b5f2;
  --pink: #f0b3d2;
  --line: #524558;
  --display: "Barlow Condensed", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Instrument Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 95px; }
body { margin: 0; overflow-x: clip; background: var(--ink); color: var(--paper); font: 1rem/1.55 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--pink); outline-offset: 6px; }
[data-screen]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(1280px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-150%); background: var(--paper); color: var(--ink); padding: 8px 12px; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 8; background: #17141cec; backdrop-filter: blur(16px); }
.masthead { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { font: 800 2.25rem/.9 var(--display); letter-spacing: -.07em; }
.brand-dot { color: var(--pink); padding-inline: 3px; }
nav { display: flex; gap: 25px; }
nav a { position: relative; padding-block: 9px; color: var(--muted); font-size: .875rem; font-weight: 600; }
nav a::after { content: ""; position: absolute; inset: auto 0 2px; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
nav a:hover, nav a[aria-current="page"] { color: var(--paper); }
nav a:hover::after, nav a[aria-current="page"]::after { transform: scaleX(1); }
.caption { font: 500 .75rem/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(3.8rem, 8vw, 8rem); line-height: .88; margin-bottom: 22px; }
h2 em { font-family: var(--serif); font-weight: 400; }
h3 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.03; margin-bottom: 12px; }
h4 { font-size: 1.05rem; line-height: 1.3; margin-bottom: 8px; }
.home-hero { position: relative; isolation: isolate; min-height: min(870px, calc(100svh - 76px)); padding-top: 31px; padding-bottom: 45px; display: grid; grid-template-columns: .95fr 1.05fr; grid-template-rows: auto 1fr auto; align-items: center; }
.hero-eyebrow { margin: 0; color: var(--violet); grid-column: 1 / -1; }
h1 { position: relative; z-index: 2; align-self: start; grid-column: 1; grid-row: 2; display: grid; margin: clamp(20px, 3vw, 45px) 0 0; line-height: .7; transform: translateY(calc(var(--hero-shift, 0px) * -.3)); }
.first-name { font: italic 400 clamp(5.5rem, 13vw, 13.8rem)/.76 var(--serif); letter-spacing: -.055em; color: var(--paper); }
.last-name { display: block; margin-top: 12px; margin-left: 7%; font: 800 clamp(7rem, 18vw, 19rem)/.74 var(--display); text-transform: uppercase; letter-spacing: -.045em; color: var(--violet); }
.hero-note { grid-column: 1; grid-row: 3; max-width: 365px; margin-top: 30px; padding-left: 8%; }
.hero-note p { margin-bottom: 15px; font-size: 1.05rem; color: #c8bed0; }
.availability { color: var(--pink); font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.hero-papers { position: relative; height: 100%; min-height: 390px; grid-column: 2; grid-row: 2 / 4; align-self: stretch; transform: translateY(var(--hero-shift, 0px)); }
.hero-paper { position: absolute; background: var(--paper); color: var(--ink); padding: 9px 9px 0; box-shadow: 0 16px 40px #0005; width: 77%; transform: rotate(var(--tilt)); transition: transform .35s, box-shadow .35s; }
.hero-paper img { display: block; width: 100%; height: auto; }
.hero-paper > span { display: flex; gap: 5px; align-items: center; padding: 8px 3px 9px; font-weight: 600; font-size: .875rem; }
.hero-paper i { margin-right: auto; }
.paper-action { margin-left: auto; font-size: .75rem; font-weight: 400; }
.paper-one { --tilt: -13deg; top: 6%; left: 0; }
.paper-two { --tilt: 11deg; top: 44%; right: -2%; }
.hero-paper:hover { transform: rotate(0) translateY(-14px); box-shadow: 0 30px 60px #0008; z-index: 3; }
.scroll-invite { grid-column: 2; justify-self: end; position: absolute; right: 0; bottom: 5px; color: var(--muted); font-size: .875rem; padding: 7px 0; border-bottom: 1px solid var(--line); }
.scroll-invite:hover { color: var(--pink); }
.scroll-selection { --progress: 0; --paper-tone: 278; margin-top: 45px; position: relative; }
.selection-sticky { min-height: min(760px, calc(100svh - 76px)); position: relative; display: grid; grid-template-columns: .65fr 1.35fr; gap: 7%; padding: clamp(30px, 5vw, 75px) max(52px, calc((100vw - 1280px) / 2)); align-items: center; background: hsl(var(--paper-tone) 48% 82%); color: #241b2c; overflow: hidden; transition: background .5s; }
.selection-copy { position: relative; z-index: 3; }
.selection-copy h2 { font-size: clamp(4rem, 6.8vw, 7rem); line-height: .8; }
.selection-copy h2 em { display: block; margin-top: .08em; margin-left: 9%; letter-spacing: -.04em; }
.selection-copy > p { max-width: 240px; margin: 25px 0 24px; color: #5d4768; }
.scene-index { display: grid; justify-items: start; gap: 0; margin: 0 0 27px; }
.scene-index a { font-size: .875rem; padding-block: 7px; color: #5d4768; transition: padding-left .3s, color .3s; }
.scene-index a[aria-current="true"] { padding-left: 14px; color: #211527; font-weight: 700; border-left: 2px solid #211527; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.selection-reader { min-width: 0; }
.scene-hint { font-size: .875rem; color: #5d4768; margin-bottom: 12px; }
.selection-stack { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.35; touch-action: pan-y pinch-zoom; user-select: none; cursor: grab; }
.selection-stack.is-dragging { cursor: grabbing; }
.selection-sheet { position: absolute; width: 90%; left: 3%; top: 4%; background: #f7f2f5; color: var(--ink); padding: 12px 12px 0; border: 1px solid #40304755; box-shadow: 6px 12px 0 #34233b26, 0 20px 35px #46304f26; transform-origin: 50% 80%; will-change: transform; transition: transform .55s cubic-bezier(.16,.8,.2,1), opacity .4s; }
.selection-stack.is-dragging .selection-sheet { transition: none; }
.scene-controls { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.scene-controls button { min-height: 44px; padding: 9px 16px; border: 1px solid #5d4768; color: #241b2c; background: transparent; cursor: pointer; font-size: .875rem; font-weight: 600; }
.scene-controls button:hover:enabled { color: #f7f2f5; background: #392644; }
.scene-controls button:disabled { opacity: .4; cursor: default; }
.scene-controls button:focus-visible, .selection-stack:focus-visible, .selection-sheet:focus-visible { outline-color: #392644; }
.scene-count { margin: 0; font: 500 .875rem/1.5 var(--mono); }
.selection-sheet img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.selection-sheet > span { display: grid; gap: 3px; padding: 13px 5px 17px; }
.selection-sheet strong { font: 700 clamp(1.9rem, 4vw, 3.6rem)/.95 var(--display); letter-spacing: -.025em; }
.selection-sheet small { font-size: .875rem; color: #6c5773; }
.selection-sheet:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.scene-progress { position: absolute; bottom: 20px; right: max(52px, calc((100vw - 1280px) / 2)); left: max(52px, calc((100vw - 1280px) / 2)); height: 1px; background: #4c345c44; }
.scene-progress > span { display: block; height: 2px; width: 100%; background: #3c234d; transform: scaleX(var(--progress)); transform-origin: left; transition: transform .5s; }
.home-end { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding-block: 62px 80px; }
.home-end a { display: grid; gap: 9px; font: 700 clamp(3.2rem, 6vw, 6rem)/.9 var(--display); border-bottom: 1px solid var(--line); padding-bottom: 23px; transition: color .2s; }
.home-end a:hover { color: var(--pink); }
.home-end a span { font: 400 .875rem/1.4 var(--body); color: var(--muted); }
.projects { padding-block: 50px 80px; }
.projects-layout { display: grid; gap: 75px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { max-width: 700px; margin: 0; font-size: clamp(5.5rem, 12vw, 12rem); }
.section-heading h2 em { display: block; margin-left: 19%; color: var(--violet); }
.section-heading p { width: min(280px, 32%); margin-bottom: 5px; color: var(--muted); }
.index { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 20px 6%; align-items: start; padding-inline: 1%; }
.index > .project-tile { --angle: 0deg; --offset: 0px; position: relative; min-width: 0; margin-bottom: 50px; }
.index > .project-tile:nth-child(4n + 1) { --angle: -4deg; grid-column: 1 / 8; }
.index > .project-tile:nth-child(4n + 2) { --angle: 5deg; grid-column: 9 / 13; margin-top: 130px; }
.index > .project-tile:nth-child(4n + 3) { --angle: 3deg; grid-column: 1 / 6; margin-top: 25px; }
.index > .project-tile:nth-child(4n) { --angle: -5deg; grid-column: 7 / 13; margin-top: 100px; }
.index > .project-tile:nth-child(6) { --angle: 5deg; }
.thumb { display: block; padding: 8px; background: #eee7ef; color: var(--ink); transform: rotate(var(--angle)); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #211c28; }
.project-tile:hover .thumb { transform: rotate(0) scale(1.025); box-shadow: 0 20px 55px #0006; }
.project-name { display: grid; gap: 6px; margin-top: 25px; padding-right: 60px; }
.project-name .caption { font-size: .75rem; color: var(--muted); }
.project-name strong { font: 700 clamp(2rem, 4.2vw, 4.3rem)/.95 var(--display); letter-spacing: -.035em; }
.project-open { position: absolute; right: 0; bottom: 3px; border-bottom: 1px solid var(--pink); color: var(--pink); font-size: .875rem; padding-block: 4px; }
.scroll-reveals .index > .project-tile { opacity: 0; transform: translateY(70px); transition: opacity .65s, transform .8s cubic-bezier(.15,.75,.2,1); }
.scroll-reveals .index > .project-tile.in-view { opacity: 1; transform: translateY(0); }
.about { padding-block: 60px 80px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 10%; align-items: start; }
.about > div > h2 { font-size: clamp(4.5rem, 8vw, 9rem); }
.about p { max-width: 570px; color: var(--muted); }
.experiences { margin-top: 30px; border-top: 1px solid var(--line); }
.experiences article { padding-block: 20px; border-bottom: 1px solid var(--line); }
.experiences article p { margin: 7px 0 0; }
.experiences .caption { color: var(--violet); margin-bottom: 6px; }
.profile-side { display: grid; gap: 25px; padding-top: 24px; }
.analysis-card { border-left: 2px solid var(--violet); padding-left: 25px; }
.languages { padding: 27px; color: var(--ink); background: #d0b5f2; transform: rotate(2deg); }
.related-projects { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.related-projects a { color: var(--pink); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
dl { margin: 0; }
dl div { display: flex; gap: 15px; justify-content: space-between; align-items: baseline; padding-block: 9px; border-bottom: 1px solid #50425950; }
dl div:last-child { border-bottom: none; }
dt { font-weight: 700; }
dd { text-align: right; margin: 0; }
.stage { padding-block: 60px 80px; }
.ticket { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; background: var(--violet); color: var(--ink); }
.ticket-copy { padding: clamp(28px, 5vw, 65px); }
.ticket-copy h2 { font-size: clamp(5rem, 9vw, 10rem); margin-bottom: 30px; }
.ticket-copy h2 em { font-family: var(--display); font-style: normal; color: #73577e; }
.ticket-copy .stage-availability { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; }
.ticket-copy .cv-note { font-size: .875rem; color: #60486c; margin-top: 15px; }
.hero-link { display: inline-block; padding: 12px 17px; color: var(--paper); background: var(--ink); font-weight: 600; }
.hero-link:hover { background: #483050; }
.ticket-info { display: grid; align-content: center; padding: 20px 35px; background: var(--pink); border-left: 1px dashed #4a365c; }
.footer { display: flex; justify-content: space-between; gap: 15px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer a:hover { color: var(--pink); }
@media (min-width: 1500px) {
  .home-hero { min-height: 830px; }
}
@media (max-width: 980px) {
  .wrap { width: calc(100% - 60px); }
  .home-hero { min-height: 660px; }
  .first-name { font-size: 14vw; }
  .last-name { font-size: 19vw; }
  .hero-papers { min-height: 340px; }
  .hero-paper { width: 89%; }
  .paper-two { right: -2%; top: 43%; }
  .selection-sticky { padding-inline: 30px; gap: 5%; grid-template-columns: .65fr 1fr; }
  .selection-stack { aspect-ratio: 1; }
  .selection-sheet { top: 17%; width: 96%; left: 0; }
  .scene-progress { right: 30px; left: 30px; }
  .index { column-gap: 4%; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 67px; }
  nav { gap: 15px; }
  nav a { font-size: .875rem; }
  .brand { font-size: 2rem; }
  .home-hero { min-height: 810px; padding-top: 20px; padding-bottom: 50px; grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; }
  .hero-eyebrow { font-size: .75rem; }
  h1 { grid-column: 1; grid-row: 2; margin-top: 24px; align-self: start; }
  .first-name { font-size: clamp(6rem, 24vw, 10rem); }
  .last-name { font-size: clamp(8rem, 32vw, 13rem); margin-left: 14%; margin-top: 8px; }
  .hero-papers { grid-column: 1; grid-row: 3; min-height: 260px; margin-top: 20px; }
  .hero-paper { width: 59%; padding: 6px 6px 0; }
  .hero-paper > span { font-size: .75rem; padding: 6px 0; }
  .paper-action { display: none; }
  .paper-one { left: 2%; top: 7%; }
  .paper-two { right: 2%; top: 26%; }
  .hero-note { grid-column: 1; grid-row: 4; padding-left: 0; margin-top: 0; max-width: 440px; }
  .hero-note p { margin-bottom: 12px; }
  .scroll-invite { grid-column: 1; bottom: 0; font-size: .875rem; }
  .scroll-selection { margin-top: 32px; }
  .selection-sticky { min-height: 0; padding: 30px 18px 34px; grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .selection-copy { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
  .selection-copy h2 { font-size: 3.4rem; margin-bottom: 0; }
  .selection-copy h2 em { display: inline; margin: 0; }
  .selection-copy > p { grid-column: 1; font-size: .875rem; margin: 10px 0 0; max-width: 230px; }
  .scene-index { grid-column: 1 / -1; margin: 15px 0 0; display: flex; flex-wrap: wrap; gap: 0 14px; }
  .scene-index a { font-size: .875rem; padding-block: 5px; }
  .scene-index a[aria-current="true"] { padding-left: 0; border-left: 0; border-bottom: 2px solid currentColor; }
  .selection-copy > .text-link { grid-column: 2; grid-row: 1 / 3; font-size: .875rem; align-self: center; max-width: 88px; }
  .selection-stack { width: 94%; max-width: 470px; margin: 0 auto; aspect-ratio: 1.12; }
  .selection-sheet { top: 4%; width: 97%; }
  .selection-sheet strong { font-size: 2rem; }
  .scene-progress { left: 18px; right: 18px; bottom: 13px; }
  .home-end { gap: 20px; padding-block: 42px 50px; }
  .home-end a { font-size: 2.8rem; }
  .projects { padding-block: 28px 45px; }
  .projects-layout { gap: 48px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 5.5rem; }
  .section-heading p { width: 100%; max-width: 380px; margin: 20px 0 0; }
  .index { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 9%; padding-inline: 3%; }
  .index > .project-tile:nth-child(n) { grid-column: auto; margin-top: 0; margin-bottom: 10px; }
  .index > .project-tile:nth-child(even) { margin-top: 60px; }
  .project-name { margin-top: 17px; padding-right: 0; }
  .project-name strong { font-size: 1.8rem; }
  .project-open { position: static; display: inline-block; margin-top: 9px; }
  .about { padding-block: 35px 50px; grid-template-columns: 1fr; gap: 30px; }
  .about > div > h2 { font-size: 4.5rem; }
  .profile-side { padding-top: 0; }
  .stage { padding-block: 35px 50px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-info { border-left: 0; border-top: 1px dashed #4a365c; padding: 25px; }
  .ticket-copy h2 { font-size: 5.6rem; }
}
@media (max-width: 380px) {
  nav { gap: 11px; }
  nav a { font-size: .8rem; }
  .selection-copy h2 { font-size: 2.9rem; }
  .index { grid-template-columns: 1fr; gap: 28px; padding-inline: 4%; }
  .index > .project-tile:nth-child(n) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scroll-reveals .index > .project-tile { opacity: 1; transform: none; }
}

.selection-stack { clip-path: inset(-100px -85px -120px -25px); }
@media (max-height: 600px) and (min-width: 681px) {
  .selection-sticky { min-height: 0; padding-block: 20px; }
  .selection-copy h2 { font-size: 3.8rem; }
  .selection-copy > p { margin-block: 14px; }
  .scene-index { margin-bottom: 14px; }
}

.project-toolbar { margin-top: -33px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; border-block: 1px solid var(--line); padding-block: 13px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.project-filters button { border: 1px solid var(--line); min-height: 42px; padding: 6px 13px; color: var(--paper); background: transparent; cursor: pointer; font-size: .875rem; }
.project-filters button:hover { border-color: var(--pink); }
.project-filters button[aria-pressed="true"] { color: var(--ink); background: var(--pink); border-color: var(--pink); font-weight: 700; }
.filter-count { align-self: center; color: var(--muted); font-size: .875rem; margin: 0; }
.index.is-filtered { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 5%; }
.index.is-filtered > .project-tile:nth-child(n) { grid-column: auto; margin: 0 0 1rem; }
.profile-nav { flex-wrap: wrap; gap: .5rem 1rem; margin-top: 22px; }
.profile-nav a { border-bottom: 1px solid var(--line); padding: .35rem 0; color: var(--violet); }
.profile-nav a:hover { color: var(--pink); }
.experiences > h3 { margin: .8rem 0 0; }
.about [tabindex="-1"]:focus-visible { outline: 2px solid var(--pink); outline-offset: 6px; }
.about :target { animation: topic-arrive .85s cubic-bezier(.16,.75,.2,1); }
@keyframes topic-arrive { from { opacity: .35; translate: 0 12px; } }
.stage-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.stage-share { min-height: 45px; border: 1px solid var(--ink); padding: 9px 13px; background: transparent; color: var(--ink); font-weight: 650; cursor: pointer; }
.stage-share:hover { background: #b897d3; }
.stage-share:focus-visible { outline-color: var(--ink); }
.stage-feedback { margin: .7rem 0 0; font-weight: 650; }
.stage-share-fallback { display: grid; gap: 5px; max-width: 100%; margin-block: .75rem; }
.stage-share-fallback input { min-width: 0; padding: .55rem; }
@media (max-width: 480px) {
  .project-toolbar { margin-top: -22px; }
  .index.is-filtered { grid-template-columns: 1fr; }
}
