@font-face {
  font-family: Geist;
  src: url("../fonts/Geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Icons;
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2");
  font-display: block;
}
:root {
  color-scheme: dark;
  --page: #101112;
  --card: #18191a;
  --white: #f7f6f3;
  --muted: #b9b8b5;
  --orange: #ff7949;
  --line: #303132;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-family: Geist, "Helvetica Neue", Arial, sans-serif;
  background: var(--page);
  color: var(--white);
  scroll-padding-top: 6rem;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
body { min-width: 280px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid #ffb596; outline-offset: 4px; }
::selection { background: #ff996f; color: #181413; }
.wrap { width: min(82rem, 88%); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: 1rem; z-index: 20; padding: .8rem; background: var(--white); color: var(--page); transform: translateY(-170%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: rgb(16 17 18 / 92%); backdrop-filter: blur(18px); }
.header-inner, .brand, nav, .hero-actions, .project-links, .portrait, .email { display: flex; align-items: center; }
.header-inner { min-height: 4.4rem; justify-content: space-between; }
.brand { gap: .6rem; font-weight: 650; font-size: 1.1rem; letter-spacing: -.045em; }
.mark { width: 1.75rem; height: 1.3rem; display: flex; gap: 2px; align-items: center; transform: skewX(-21deg); }
.mark i { height: .73rem; width: 5px; background: var(--orange); }
.mark i:nth-child(2) { height: 1.2rem; }
.mark i:last-child { height: .95rem; }
nav { gap: clamp(1rem, 2.6vw, 2.6rem); }
nav a { font-size: .9rem; font-weight: 500; }
nav a:hover, .resume:hover, .project-links a:hover { color: var(--orange); }
.nav-contact { border: 1px solid #565759; padding: .5rem 1.1rem; border-radius: 2rem; }
.nav-contact:hover { border-color: var(--orange); }
.eyebrow, .category, .study figcaption { font: 500 .78rem/1.5 var(--mono); }
.eyebrow { color: var(--orange); display: flex; align-items: center; gap: .7rem; text-transform: uppercase; letter-spacing: .13em; }
.rule { background: currentColor; width: 1.6rem; height: 2px; }
.period { color: var(--orange); }
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid #3d322b;
  background: radial-gradient(ellipse at 77% 48%, #50301f 0, #291e19 22%, transparent 55%),
              linear-gradient(112deg, #101112 18%, #191716 78%, #211b17);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2;
  background: repeating-linear-gradient(115deg, transparent 0 4px, #c2a28418 4px 5px);
  mask-image: linear-gradient(90deg, transparent, black);
}
.hero-inner { min-height: clamp(32rem, 44vw, 45rem); display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 1.5rem; }
.hero-copy { position: relative; z-index: 1; padding-block: 4rem; }
h1, h2, h3 { font-weight: 550; }
h1 { font-size: clamp(4.8rem, 8.8vw, 9rem); letter-spacing: -.085em; line-height: 1; margin: 1.05rem 0 1.45rem -.055em; }
.intro { max-width: 26rem; font-size: clamp(1.1rem, 1.48vw, 1.45rem); line-height: 1.5; letter-spacing: -.025em; color: #c3c2c0; text-wrap: pretty; }
.hero-actions { flex-wrap: wrap; gap: 1.55rem; margin-top: 2rem; }
.button, .resume, .project-links a, .preview-trigger { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 550; }
.button { min-height: 2.9rem; border-radius: .45rem; padding: .65rem 1.15rem; font-size: .95rem; }
.primary { background: var(--white); color: #151617; }
.primary:hover { background: #ffd0b9; }
.icon { font-family: Icons; font-weight: normal; }
.resume { font-size: .95rem; min-height: 44px; }
.resume .icon { color: #a7a6a3; }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.085em; }
h1 em { color: #f3cfb3; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.study { position: relative; min-width: 0; margin: 1.4rem 0; text-align: center; }
.instrument { position: relative; isolation: isolate; aspect-ratio: 1.38; }
.grid-field {
  position: absolute; inset: 0 -3%;
  background: linear-gradient(#bc9b8130 1px, transparent 1px), linear-gradient(90deg, #bc9b8130 1px, transparent 1px);
  background-size: 2.25rem 2.25rem;
  mask-image: radial-gradient(ellipse closest-side, #0009, transparent 100%);
  transform: translateY(var(--grid-shift, 0px));
}
.dial, .orbit { position: absolute; pointer-events: none; border-radius: 50%; }
.dial {
  height: 88%; aspect-ratio: 1; left: 50%; top: 6%; transform: translateX(-50%);
  background: repeating-conic-gradient(from -40deg, #d7a17a88 0deg .25deg, transparent .25deg 4deg);
  mask-image: radial-gradient(closest-side, transparent 96%, #000 96.7% 98%, transparent 98.8%);
}
.dial::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #c58a5c; }
.orbit { left: 9%; right: 9%; top: 21%; bottom: 21%; border: 1px solid #e0aa761f; transform: rotate(-24deg); }
.sculpture { position: absolute; inset: 0; }
.sculpture img, .sculpture canvas { display: block; width: 100%; height: 100%; }
.sculpture img { object-fit: contain; padding: 4% 8%; transform: rotate(-8deg); }
.sculpture canvas { cursor: grab; touch-action: pan-y; border-radius: 1rem; }
.sculpture canvas:active { cursor: grabbing; }
.sculpture canvas:focus-visible { outline: 1px solid var(--orange); outline-offset: -4px; }
.study figcaption { display: flex; align-items: center; justify-content: center; gap: .5rem .9rem; flex-wrap: wrap; margin-top: .45rem; color: #f5dac3; }
.study-title { font-family: Georgia, serif; font-style: italic; font-size: 1.2rem; }
.shape-switch { padding: .18rem; display: inline-flex; background: #151310c9; border-radius: 3rem; border: 1px solid #83634e; }
.shape-switch button { color: #dcc5b3; background: transparent; font: 550 .82rem/1 Geist, sans-serif; padding: .58rem .78rem; border: 0; border-radius: 3rem; }
.shape-switch button[aria-pressed="true"] { background: #f1d9c1; color: #33271c; }
.shape-switch button:hover { box-shadow: inset 0 0 0 1px #f6d1ae; }
.turn-guide { flex-basis: 100%; color: #c5b6a9; font: .78rem Geist, sans-serif; }
.turn-guide > span:first-child { color: #ffc393; margin-right: .12rem; }
.work { padding-block: clamp(3.5rem, 5.3vw, 5.8rem) clamp(4rem, 7vw, 7rem); }
.section-head, .contact, .footer { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
h2 { margin-top: .6rem; font-size: clamp(2.65rem, 4.65vw, 5rem); letter-spacing: -.067em; line-height: 1.06; }
.section-head > p { color: var(--muted); font-size: 1rem; line-height: 1.55; padding-bottom: .2rem; }
.projects { display: grid; gap: clamp(1.6rem, 3.4vw, 3.3rem); margin-top: 2.4rem; }
.project {
  --project-tint: #d0bef4;
  display: grid; grid-template-columns: 1.24fr 1fr; border: 1px solid #373638;
  background: linear-gradient(135deg,#201f22,#19191b 70%); border-radius: 1.15rem; overflow: hidden;
}
.project:nth-child(even) { --project-tint: #ecc997; grid-template-columns: 1fr 1.24fr; background: linear-gradient(125deg,#211d19,#19191a 70%); }
.project:nth-child(even) .preview { order: 2; }
.preview { position: relative; isolation: isolate; min-width: 0; overflow: hidden; padding: 12% 7%; display: grid; align-content: center; perspective: 1000px; }
.preview::before {
  content: ""; position: absolute; z-index: -1; inset: -55% -28%;
  background: repeating-radial-gradient(ellipse at 50% 10%, transparent 0 13px, #ffffff59 14px, transparent 15px 19px);
  transform: rotate(-28deg) scaleY(.7); pointer-events: none;
}
.calcu { background: radial-gradient(ellipse at 70% 20%,#ede5fa, transparent 68%),linear-gradient(145deg,#8374ad,#c4b7e5 46%,#84749f); }
.dom { background: radial-gradient(ellipse at 26% 15%, #fff0c9, transparent 64%),linear-gradient(125deg,#e7c693,#b98e65); }
.dom::before { transform: rotate(34deg) scaleY(.62); }
.window {
  overflow: hidden; border-radius: .55rem; background: #f3f2f3;
  box-shadow: 0 19px 28px -7px #251c354f, 0 3px 6px #28202e24;
  border: 1px solid #52415639;
}
.window-bar { height: 1.05rem; display: flex; gap: .2rem; align-items: center; padding-inline: .48rem; background: #f2f1f3; border-bottom: 1px solid #2221; }
.window-bar i { width: .27rem; height: .27rem; border-radius: 100%; background: #bbb8ba; }
video { display: block; width: 100%; height: auto; aspect-ratio: 1.6; background: #f8f8f7; color-scheme: light; }
.preview-trigger { position: absolute; bottom: .9rem; right: .9rem; font-size: .82rem; color: white; background: #202023; border: 1px solid #555; border-radius: 3rem; padding: .55rem .8rem; box-shadow: 0 2px 10px #0003; }
.preview-trigger:hover { background: #3b3739; }
.preview-trigger span { width: 0; height: 0; border: .27rem solid transparent; border-right: none; border-left: .44rem solid currentColor; }
.project-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.5rem, 3.5vw, 4rem); }
.project h3 { font-size: clamp(2.2rem,3.6vw,4.2rem); }
.project-links a:first-child { color: var(--project-tint); }
.category { display: flex; align-items: center; gap: .55rem; color: #d1ceca; }
.swatch { width: .55rem; height: .55rem; border-radius: 2px; }
.violet { background: #b6a5de; }
.ochre { background: #dfbb83; }
h3 { font-size: clamp(2rem, 2.7vw, 3rem); letter-spacing: -.055em; margin-block: .5rem .55rem; }
.project-copy > p:not(.category), .about-detail p { font-size: 1.04rem; color: var(--muted); line-height: 1.65; }
.project-links { margin-top: .2rem; gap: 1.25rem; flex-wrap: wrap; padding-top: 1.4rem; }
.project-links a { min-height: 2.75rem; font-size: .9rem; }
.project-links a:first-child { border: 1px solid #545454; border-radius: .4rem; padding: .4rem .85rem; }
.project-links a:first-child:hover { border-color: var(--orange); }
.about { border-block: 1px solid #d6cdbc; background: #eeeae1; color: #262624; }
.about .period, .about .eyebrow { color: #92502e; }
.about .about-detail p, .about .portrait small, .about .tools dt { color: #52504a; }
.about .tools div { border-color: #c8c4ba; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; padding-block: clamp(3.75rem, 6.5vw, 7rem); }
.portrait { gap: 1rem; margin-top: 2rem; font-weight: 550; }
.portrait img { width: 3.7rem; height: 3.7rem; border-radius: 50%; }
.portrait small { display: block; font-weight: 400; color: var(--muted); margin-top: .2rem; }
.about-detail p + p { margin-top: .75rem; }
.tools { margin-top: 1.35rem; }
.tools div { display: grid; grid-template-columns: 6.1rem 1fr; gap: .5rem; padding-block: .72rem; border-top: 1px solid var(--line); align-items: baseline; }
.tools dt { font: .8rem var(--mono); color: var(--muted); }
.tools dd { font-size: .96rem; }
.contact-field { position: relative; isolation: isolate; background: #111213; overflow: hidden; }
.contact-field::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: url("../../images/field-lines.webp") right center / cover no-repeat;
}
.contact { align-items: start; flex-direction: column; gap: 1.5rem; padding-block: clamp(4.5rem, 8vw, 9rem); }
.contact h2 { font-size: clamp(3.5rem,7.5vw,8rem); }
.email { gap: .7rem; font-size: clamp(1.1rem, 2.1vw, 2rem); letter-spacing: -.035em; border-bottom: 1px solid #736151; padding-block: .5rem; }
.email:hover { color: var(--orange); }
.email .icon { color: var(--orange); font-size: .85em; }
.footer { align-items: center; padding-block: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 800px) {
  .wrap { width: 90%; }
  .hero-inner { min-height: 26rem; gap: .25rem; }
  h1 { font-size: clamp(3.75rem, 8.8vw, 5.2rem); }
  .intro { font-size: 1.06rem; }
  .hero-copy { padding-block: 3.2rem; }
  .project-copy { padding: 1.5rem; }
  .about-grid { gap: 2rem; }
}
@media (max-width: 650px) {
  :root { scroll-padding-top: 4.8rem; }
  .wrap { width: 89.5%; }
  .header-inner { min-height: 3.8rem; }
  .brand { gap: .35rem; font-size: 1rem; }
  .header-inner nav { gap: clamp(.75rem, 3.3vw, 1.2rem); }
  .nav-contact { padding: .4rem .75rem; }
  .hero-inner, .project, .project:nth-child(even), .about-grid { grid-template-columns: 1fr; }
  .project:nth-child(even) .preview { order: 0; }
  .hero-copy { padding: 3.1rem 0 0; }
  h1 { font-size: clamp(3.75rem, 15vw, 5.6rem); margin-block: .75rem 1rem; }
  .hero-actions { margin-top: 1.35rem; }
  .study { width: min(100%, 26rem); margin: .8rem auto 1.65rem; }
  .instrument { aspect-ratio: 1.4; }
  .hero { background: radial-gradient(ellipse at 60% 75%, #3e291d, var(--page) 62%); }
  .contact-field::before { background-size: auto 90%; background-position: 68% bottom; opacity: .54; }
  .section-head, .contact { flex-direction: column; align-items: start; gap: 1rem; }
  .section-head > p br { display: none; }
  .projects { gap: 1.5rem; margin-top: 1.45rem; }
  .about-grid { gap: 1.5rem; }
  .portrait { margin-top: 1.3rem; }
  .footer { gap: .5rem; }
  .footer nav { gap: .9rem; }
}
@media (max-width: 350px) {
  .header-inner nav, .footer nav { gap: .6rem; }
  .nav-contact { padding-inline: .55rem; }
  .mark { width: 1.35rem; }
}
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  a, button { transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
}

@media (prefers-reduced-motion: no-preference) {
  .instrument { transform: translateY(var(--form-shift, 0px)); }
  .hero-copy { animation: settle-in .7s cubic-bezier(.2,.7,.3,1) both; }
  .window { transform: rotateY(-7deg) rotateZ(-1.5deg); transition: transform .55s cubic-bezier(.2,.7,.25,1); }
  .dom .window { transform: rotateY(7deg) rotateZ(1.5deg); }
  .project:is(:hover,:focus-within,.playing) .window { transform: none; }
  .primary { transition: transform .2s, background-color .2s; }
  .primary:hover { transform: translateY(-2px); }
  @keyframes settle-in { from { opacity: .25; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @supports (animation-timeline: view()) {
    .project .window { animation: lift-in linear both; animation-timeline: view(); animation-range: entry 0% entry 95%; }
    @keyframes lift-in { from { translate: 0 1.5rem; } to { translate: 0 0; } }
    .contact-field::before { animation: copper-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 65%; }
    @keyframes copper-rise { from { transform: translateY(10%) scale(1.04); } to { transform: none; } }
  }
}
@media (max-width: 650px) {
  .preview { padding: 9% 7%; }
  .shape-switch button { min-height: 2.45rem; }
}
