:root {
  color-scheme: dark;
  --night: #090909;
  --surface: #181818;
  --marble: #e4e1d9;
  --muted: #b6b4ae;
  --metal: #a79b80;
  --line: #33322e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Instrument Sans', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; overflow-x: clip; background: var(--night); color: var(--marble); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible, canvas:focus-visible { outline: 2px solid var(--marble); outline-offset: 6px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button[hidden], [hidden] { display: none !important; }
::selection { background: var(--marble); color: var(--night); }
svg { display: block; }
.shell { width: calc(100% - 112px); max-width: 1360px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--marble); color: var(--night); }
.skip-link:focus { top: 16px; }
.header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 106px; border-bottom: 1px solid #262626; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 500 26px/1 var(--serif); letter-spacing: -.6px; }
.brand-mark { width: 33px; height: 33px; fill: none; stroke: var(--metal); stroke-width: 1.2; }
.header nav { display: flex; gap: 38px; font-size: 14px; }
.header-github { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.header-github svg, .project-link svg, .email svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.sculpture-story { position: relative; isolation: isolate; }
.hero { position: relative; min-height: 780px; height: calc(100svh - 106px); max-height: 1000px; overflow: clip; }
.hero-name { position: absolute; z-index: -1; top: -22px; left: 50%; transform: translateX(-50%); width: calc(100% - 96px); margin: 0; font: 600 clamp(190px, 26.8vw, 430px)/.9 'Barlow Condensed', Impact, sans-serif; letter-spacing: -.018em; text-transform: uppercase; text-align: center; color: #605e58; mask-image: linear-gradient(#fff 0%, #fff 12%, transparent 100%); user-select: none; }
.scene { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100svh; pointer-events: none; overflow: clip; }
.scene canvas, .bust-poster { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.scene canvas { opacity: 0; }
.scene.is-ready canvas { opacity: 1; }
.scene.is-ready .bust-poster { opacity: 0; }
.bust-poster { object-fit: cover; pointer-events: none; }
.scene-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, var(--night) 0%, transparent 15%); }
.hero-body { position: relative; z-index: 2; height: calc(100% - 75px); display: flex; align-items: center; pointer-events: none; padding-top: 90px; }
.hero-copy { max-width: 420px; padding-top: 55px; }
.hero-copy a { pointer-events: auto; }
.hello { color: var(--metal); font-size: 14px; margin: 0 0 16px; }
h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -2px; line-height: .98; margin: 0; }
.hero-copy h2 { font-size: clamp(58px, 5.5vw, 86px); }
.hero-description { margin: 26px 0 28px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 23px; border: 1px solid var(--marble); border-radius: 2px; font-weight: 500; }
.button-light { background: var(--marble); color: var(--night); }
.button:hover { background: #fff; text-decoration: none; }
.quiet-link { padding-block: 12px; }
.scene-tools { position: absolute; right: 0; bottom: 22px; text-align: center; pointer-events: auto; }
.scene-tools p { width: fit-content; font-size: 11px; color: var(--muted); margin: 0 auto 12px; padding: 3px 8px; background: var(--night); }
.scene-controls { display: flex; align-items: center; gap: 10px; }
.material-switch { display: flex; background: #131313; border: 1px solid #3b3933; border-radius: 3px; padding: 4px; }
.material-switch button { border: 0; padding: 8px 14px; font-size: 11px; background: transparent; border-radius: 1px; color: var(--muted); min-height: 36px; }
.material-switch button[aria-pressed=true] { background: var(--marble); color: var(--night); }
.rotate-button { border: 1px solid #3b3933; background: #131313; width: 40px; height: 44px; display: grid; place-items: center; border-radius: 2px; }
.rotate-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.hero-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 25px; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.hero-foot a { display: flex; align-items: center; gap: 16px; }
.hero-foot svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1; fill: none; }
.section { padding-block: 115px; }
.work-intro { position: relative; z-index: 2; height: 115svh; pointer-events: none; }
.work-intro-copy { position: sticky; top: 32svh; padding-top: 80px; }
.work-intro .section-heading { display: block; width: min(560px, 48%); }
.work-intro .section-heading h2 { font-size: clamp(64px, 6vw, 96px); }
.work-intro .section-heading>p { margin-top: 28px; max-width: 250px; }
.work { position: relative; z-index: 3; padding-top: 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.section-heading h2 { font-size: clamp(55px, 5vw, 78px); }
.section-heading>p { color: var(--muted); font-size: 14px; margin: 0 0 3px; }
.project-list { border-top: 1px solid var(--line); }
.project { display: grid; grid-template-columns: 260px minmax(0, 1fr) 115px; gap: 44px; align-items: center; padding-block: 32px; border-bottom: 1px solid var(--line); }
.project-art { width: 100%; height: 180px; overflow: hidden; background: radial-gradient(ellipse at center, #25231f, #101010 75%); }
.project-art svg { width: 100%; height: 100%; }
.art-chat { background: #151515; }
.art-api { background: #121414; }
.project-type { color: var(--metal); font-size: 11px; margin: 0 0 9px; }
.project h3 { font: 400 44px/1.1 var(--serif); letter-spacing: -1px; margin: 0 0 12px; }
.project-copy>p:not(.project-type) { color: var(--muted); font-size: 14px; margin: 0; }
.technologies { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 18px 0 0; list-style: none; color: #c5c1b7; font-size: 11px; }
.project-link { display: flex; align-items: center; justify-content: end; gap: 15px; font-size: 12px; min-height: 44px; }
.all-projects { display: table; margin: 32px 0 0 auto; font-size: 13px; border-bottom: 1px solid #6f6859; padding-bottom: 4px; }
.about { background: #121212; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.about-art { height: 510px; position: relative; overflow: hidden; }
.about-art img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); transform: scale(1.1); }
.about-art-word { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font: 400 120px/.85 var(--serif); color: var(--marble); mix-blend-mode: exclusion; }
.about-copy { max-width: 440px; }
.small-intro { color: var(--metal); font-size: 13px; margin: 0 0 24px; }
.about h2 { font-size: clamp(50px, 5vw, 72px); margin-bottom: 33px; }
.about-copy>p:not(.small-intro) { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0 0 20px; }
.text-link { display: inline-block; font-size: 13px; border-bottom: 1px solid var(--metal); padding-bottom: 3px; margin-top: 8px; }
.contact { text-align: center; padding-top: 125px; padding-bottom: 60px; }
.contact .small-intro { margin-bottom: 20px; }
.contact h2 { font-size: clamp(70px, 8.5vw, 130px); }
.email { display: inline-flex; align-items: center; gap: 20px; font-size: clamp(16px, 2vw, 24px); margin: 35px 0 65px; border-bottom: 1px solid var(--metal); padding-bottom: 7px; overflow-wrap: anywhere; }
.email svg { flex-shrink: 0; }
.contact-line { width: 100%; height: 65px; stroke: var(--metal); stroke-width: .65; fill: none; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding-block: 35px; color: var(--muted); font-size: 11px; }
.footer .brand { color: var(--marble); margin-right: auto; }
.asset-credit { flex-basis: 100%; color: #89867e; font-size: 10px; margin-top: 0; }
@media(min-width:1700px) { .hero-copy { max-width: 440px; } }
@media(max-width:1100px) {
  .shell { width: calc(100% - 64px); }
  .hero { min-height: 730px; }
  .hero-name { width: calc(100% - 48px); top: 0; }
  .hero-copy { max-width: 350px; }
  .hero-copy h2 { font-size: 65px; }
  .hero-actions { gap: 20px; }
  .project { grid-template-columns: 210px minmax(0,1fr) 90px; gap: 30px; }
  .project-art { height: 150px; }
  .project h3 { font-size: 38px; }
  .project-link { gap: 8px; }
  .about-layout { gap: 50px; }
}
@media(max-width:760px) {
  .shell { width: calc(100% - 40px); }
  .header { height: 82px; }
  .brand { font-size: 23px; gap: 9px; }
  .brand-mark { width: 27px; height: 27px; }
  .header nav { gap: 20px; font-size: 12px; }
  .header-github { display: none; }
  .hero { height: auto; min-height: 960px; max-height: none; }
  .hero-name { font-size: 28vw; top: 18px; width: calc(100% - 30px); color: #777269; }
  .hero-body { height: auto; padding-top: 540px; display: block; }
  .hero-body::before { content: ''; position: absolute; z-index: -1; inset: 450px -20px -20px; background: linear-gradient(transparent, var(--night) 150px); pointer-events: none; }
  .scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night), #090909eb 45%, transparent 95%); opacity: var(--left-shade, 0); }
  .hero-copy { position: relative; padding-top: 0; max-width: 440px; }
  .hello { margin-bottom: 12px; }
  .hero-copy h2 { font-size: 62px; }
  .hero-description { font-size: 14px; margin: 21px 0 24px; }
  .hero-actions { gap: 27px; }
  .scene-tools { position: relative; width: fit-content; margin: 36px 0 0 auto; right: auto; bottom: auto; }
  .scene-tools p { display: none; }
  .hero-foot { position: relative; margin-top: 28px; bottom: auto; padding-bottom: 23px; font-size: 10px; }
  .hero-foot a { gap: 8px; }
  .section { padding-block: 75px; }
  .section-heading { margin-bottom: 35px; gap: 28px; }
  .section-heading h2 { font-size: 53px; }
  .section-heading>p { font-size: 12px; max-width: 145px; }
  .work-intro { height: 145svh; }
  .work-intro-copy { top: 28svh; padding-top: 50px; }
  .work-intro .section-heading { width: 60%; }
  .work-intro .section-heading h2 { font-size: 44px; }
  .work-intro .section-heading>p { max-width: 170px; }
  .project { grid-template-columns: 150px minmax(0,1fr); gap: 25px; padding-block: 27px; }
  .project-art { height: 145px; }
  .project h3 { font-size: 33px; }
  .project-copy>p:not(.project-type) { font-size: 12px; }
  .project-type { font-size: 10px; }
  .technologies { gap: 12px; font-size: 10px; margin-top: 12px; }
  .project-link { grid-column: 2; justify-content: start; margin-top: -12px; }
  .about-layout { gap: 30px; }
  .about-art { height: 430px; }
  .about-art-word { font-size: 90px; }
  .about h2 { font-size: 50px; }
  .about-copy>p:not(.small-intro) { font-size: 14px; }
  .contact h2 { font-size: 85px; }
  .footer { gap: 22px; }
  .footer .brand { flex-basis: 100%; }
}
@media(max-width:500px) {
  .header nav { gap: 15px; font-size: 11px; }
  .brand-mark { width: 24px; }
  .header .brand { font-size: 21px; }
  .hero { min-height: 1000px; }
  .hero-body { padding-top: 525px; }
  .hero-copy h2 { font-size: 65px; }
  .hero-copy { max-width: 100%; }
  .scene-tools { margin-top: 29px; }
  .hero-foot { margin-top: 26px; }
  .hero-description br { display: none; }
  .hero-description { max-width: 290px; }
  .section-heading { display: block; }
  .section-heading>p { max-width: 100%; margin-top: 22px; }
  .section-heading>p br { display: none; }
  .project { grid-template-columns: 96px minmax(0,1fr); gap: 20px; }
  .project-art { height: 128px; }
  .project-art svg { width: 160%; margin-left: -30%; }
  .project h3 { font-size: 31px; letter-spacing: -.6px; }
  .project-type { margin-bottom: 6px; }
  .project-link { font-size: 11px; }
  .project-link svg { width: 18px; }
  .all-projects { font-size: 12px; }
  .about-layout { display: flex; flex-direction: column; gap: 45px; }
  .about-art { width: 100%; height: 380px; }
  .about-copy { max-width: 100%; }
  .about h2 { font-size: 58px; }
  .contact h2 { font-size: 76px; }
  .email { font-size: 15px; gap: 12px; }
  .email svg { width: 18px; }
  .contact-line { height: 45px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } .work-intro { height: auto; padding-block: 100px; } .work-intro-copy { position: relative; top: auto; padding-top: 0; } }
