:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --panel: #121417;
  --text: #f1f2f4;
  --muted: #a9afb8;
  --line: #292e35;
  --ice: #bfceda;
  --max: 1200px;
  --gutter: clamp(22px, 5.4vw, 90px);
  --header: 68px;
  font-family: "Inter", "Aptos", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
body, button { font-size: 1rem; }
p { margin: 0; color: var(--muted); line-height: 1.66; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.049em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible, iframe:focus-visible { outline: 2px solid #9ad5ff; outline-offset: 5px; }
::selection { background: #b8d0e1; color: #101318; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 10px; z-index: 20; transform: translateY(-170%); background: white; color: #111; padding: 12px; }
.skip:focus { transform: none; }
.site-header { position: sticky; z-index: 10; top: 0; background: #0b0c0ef2; border-bottom: 1px solid #ffffff14; backdrop-filter: blur(14px); }
.header-inner { height: var(--header); width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; font-size: 1.65rem; font-weight: 800; letter-spacing: -.1em; line-height: 1; }
.brand span { color: #9db5c8; }
.header-inner nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.header-inner nav a { min-height: 44px; display: flex; align-items: center; color: #b5bbc3; font-size: .9rem; transition: color .2s; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: white; }
.nav-toggle { display: none; }
.hero { min-height: min(710px, calc(100svh - var(--header))); isolation: isolate; position: relative; overflow: hidden; display: grid; align-content: center; padding-block: clamp(88px, 12vh, 154px) clamp(130px, 14vh, 168px); background: #111922; }
.hero-image { z-index: -2; position: absolute; inset: 0; background: #17212d url('/assets/hero.webp') center 55% / cover no-repeat; }
.hero::after { z-index: -1; content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#080a0ee8 0%,#0b0e16a8 42%,#11192416 82%), linear-gradient(0deg,#0b0c0e 1%,#0a0d1550 31%,#0f161c12 68%,#0c101b54 100%); }
.hero-role { color: #d2dce6; margin-bottom: clamp(16px, 2.5vw, 26px); }
.hero h1 { font-size: clamp(3.3rem, 10.2vw, 9.2rem); font-weight: 850; letter-spacing: -.079em; line-height: .87; text-transform: uppercase; }
.hero-tagline { margin-top: 22px; font-size: clamp(1.35rem, 3vw, 2.45rem); letter-spacing: -.045em; color: #f3f5f7; line-height: 1.16; font-weight: 600; }
.hero-intro { margin-top: 16px; max-width: 460px; color: #c2cbd5; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; min-height: 48px; font-size: .93rem; font-weight: 650; border-radius: 5px; transition: color .2s, background .2s, border-color .2s; text-align: center; }
.primary { color: #0b1015; background: #eef1f2; border: 1px solid #eef1f2; }
.primary:hover { background: #c8dae7; border-color: #c8dae7; }
.secondary { background: #10151b88; border: 1px solid #69747f; color: var(--text); }
.secondary:hover { background: #29323b; border-color: #9ba9b7; }
.hero-foot { position: absolute; bottom: 27px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; color: #c4cbd3; font-size: .78rem; white-space: nowrap; }
.hero-line { flex: 1; height: 1px; background: #a1b2c140; }
.eyebrow { display: block; text-transform: uppercase; font-size: .8rem; letter-spacing: .155em; font-weight: 700; color: var(--ice); line-height: 1.4; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-heading { margin-bottom: clamp(26px, 4vw, 46px); }
.section-heading h2 { margin-top: 10px; font-size: clamp(2.3rem, 5.4vw, 4.75rem); font-weight: 740; }
.section-banded { background: #101216; border-block: 1px solid #22262c; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(15px, 2.5vw, 30px); }
.live-work { margin-bottom: clamp(24px, 4vw, 48px); }
.live-work h3 { margin-bottom: 14px; }
.live-site { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.live-site h4 { margin: 8px 0 4px; font-size: 1.5rem; letter-spacing: -.04em; }
.live-site .text-link { display: inline-block; margin-top: 10px; }
.project-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); transition: border-color .25s, background .25s; }
.project-card:hover, .project-card:focus-visible { border-color: #657484; background: #181d22; }
.project-art { position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden; min-width: 0; aspect-ratio: 16/9; }
.project-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .45s; }
.art-shape { position: absolute; inset: -15%; z-index: -1; transition: scale .55s cubic-bezier(.2,.6,.3,1); }
.project-card:hover .art-shape, .project-card:hover img { scale: 1.07; }
.art-type { font-size: clamp(1.55rem, 4.2vw, 3.65rem); font-weight: 850; letter-spacing: -.045em; text-align: center; padding: 0 18px; line-height: 1; text-shadow: 0 3px 16px #0007; }
.art-earth { background: #1e2923; color: #f1e9ce; }
.art-earth .art-shape { background: radial-gradient(ellipse at 86% 12%, #9caa89, transparent 45%), repeating-radial-gradient(ellipse at 18% 120%,#0e17146b 0 1px,transparent 2px 13px), linear-gradient(130deg,#09120f 24%,#565c3f 74%,#141b17); }
.art-earth .art-type { letter-spacing: .25em; padding-left: calc(18px + .25em); }
.art-speed { background: #26161b; color: #f9eced; }
.art-speed .art-type { font-style: italic; letter-spacing: -.06em; }
.art-speed .art-shape { background: linear-gradient(115deg,#10101a 12%,#14131b96 46%,transparent 90%), repeating-linear-gradient(157deg, transparent 0 20px,#ff63494a 22px,#161219 24px 43px), radial-gradient(ellipse at 90% 50%,#a93927,#121320 70%); }
.art-blue { background: #102838; color: #e2edf2; }
.art-blue .art-shape { background: repeating-radial-gradient(ellipse at 75% 152%,transparent 0 14px,#a1d7f337 15px 16px,transparent 17px 25px), radial-gradient(ellipse at 53% 100%,#447588,#172b43 65%,#111c2e); }
.art-blue .art-type, .art-moss .art-type { font-family: Georgia, serif; font-weight: 400; }
.art-plum { background: #2e2037; color: #f5e7ee; }
.art-plum .art-shape { background: repeating-linear-gradient(135deg,transparent 0 45px,#e4acd01f 47px,transparent 49px 90px), radial-gradient(ellipse at 75% 85%,#9e5d80,transparent 55%), linear-gradient(120deg,#21182f,#49344c); }
.art-moss { background: #25322a; color: #e7ecdc; border-radius: 8px; }
.art-moss .art-shape { background: repeating-radial-gradient(ellipse at 73% 33%,transparent 0 9px,#b1c6903b 10px 11px,transparent 12px 20px), radial-gradient(ellipse at 85% 25%,#727f4c,#243b2b 70%); }
.card-content { padding: clamp(19px, 3vw, 34px); display: flex; flex: 1; flex-direction: column; }
.card-content h3 { margin-block: 8px; font-size: clamp(1.55rem, 3vw, 2.55rem); }
.card-content p { margin-bottom: 18px; }
.card-cta { margin-top: auto; color: #d5e0eb; font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(25px, 7vw, 105px); }
.split .section-heading { margin-bottom: 14px; }
.timeline { position: relative; padding-left: 24px; border-left: 1px solid var(--line); }
.timeline-entry { position: relative; border-bottom: 1px solid var(--line); }
.timeline-entry::before { content: ''; position: absolute; width: 9px; height: 9px; left: -29px; top: 29px; border: 1px solid #76a0bc; border-radius: 50%; background: #101216; }
.timeline-entry[open]::before { background: #acc8db; }
.timeline-entry summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 66px; padding-block: 12px; cursor: pointer; list-style: none; }
.timeline-entry summary::-webkit-details-marker { display: none; }
.timeline-title { display: block; font-size: 1.35rem; font-weight: 720; letter-spacing: -.035em; }
.timeline-category { display: block; margin-top: 4px; color: var(--muted); font-size: .94rem; }
.expander { width: 26px; aspect-ratio: 1; flex: none; border: 1px solid #5b6570; border-radius: 50%; position: relative; }
.expander::before,.expander::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 1px; background: #dae6f0; transform: translate(-50%,-50%); }
.expander::after { transform: translate(-50%,-50%) rotate(90deg); }
.timeline-entry[open] .expander::after { opacity: 0; }
.timeline-body { padding: 2px 15px 19px 0; }
.text-link { color: #dae8f4; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #7f9ab0; }
.text-link:hover { text-decoration-color: currentColor; }
.timeline-body .text-link { display: inline-block; margin-top: 10px; }
.lead { color: #e0e4e8; font-size: clamp(1.15rem, 2.2vw, 1.48rem); line-height: 1.5; letter-spacing: -.02em; }
.about-content > p + p { margin-top: 14px; }
.education { margin-top: 32px; padding-block: 25px; border-block: 1px solid var(--line); }
.education h3, .skills-heading { font-size: 1.28rem; margin-block: 8px; }
.skills-heading { margin-top: 26px; }
.skill-list { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 12px 0 0; padding: 0; }
.skill-list li { color: #d4d9df; font-size: .88rem; padding: 6px 10px; border: 1px solid #363c44; border-radius: 3px; }
.awards { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: end; gap: clamp(28px, 7vw, 100px); }
.awards-copy { padding-bottom: 3px; }
.awards-copy .lead { margin-block: 12px 22px; }
.contact-links { margin: 0; padding: 0; list-style: none; }
.contact-links li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 7px 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-links span { color: var(--muted); }
.contact-links a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 27px; font-size: .9rem; }
.footer-inner .brand { color: #f0f2f4; }
.page-intro { padding-block: clamp(46px, 7.5vw, 98px) clamp(32px, 6vw, 70px); }
.breadcrumb { display: inline-block; margin-bottom: clamp(28px, 5vw, 60px); }
.page-intro h1 { margin-block: 9px 12px; font-size: clamp(2.9rem, 8.4vw, 7.6rem); overflow-wrap: anywhere; }
.page-summary { font-size: clamp(1.1rem, 2.5vw, 1.55rem); max-width: 700px; }
.page-intro .button { margin-top: 22px; }
.case-status { margin-top: 12px; color: var(--ice); }
.case-cover { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.case-cover .project-art { aspect-ratio: 2.3; }
.case-cover .art-type { font-size: clamp(2rem, 8vw, 7rem); }
.prose h3 { font-size: 1.45rem; margin-block: 27px 10px; }
.prose ul { margin: 0; padding-left: 1.2em; color: var(--muted); line-height: 1.66; }
.prose li + li { margin-top: 6px; }
.gallery { border-top: 1px solid var(--line); padding-top: clamp(42px, 7vw, 75px); }
.media-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.media-item { margin: 0; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; overflow: hidden; }
.media-frame { aspect-ratio: 16/10; background: #10141a; display: grid; }
.media-frame video, .media-frame img, .media-frame iframe, .image-link { display: block; width: 100%; height: 100%; min-height: 0; border: 0; object-fit: contain; }
.image-link:focus-visible { outline-offset: -4px; }
.media-placeholder { display: grid; place-content: center; justify-items: center; gap: 7px; background: repeating-linear-gradient(133deg, transparent 0 16px,#414f5e17 16px 17px),#111820; }
.media-placeholder span { font-size: 1.8rem; color: #a9b9c9; }
.media-item figcaption { padding: 17px 19px; }
.media-item h3, .cv-entry h3, .cv-section > h3 { font-size: 1.24rem; }
.media-item p { margin-top: 5px; }
.next-project { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 25px 60px; border-top: 1px solid var(--line); }
.next-project .text-link { font-size: clamp(1.05rem,3vw,1.5rem); }
.cv-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(26px, 7vw, 90px); }
.cv-section { padding-block: 24px; border-top: 1px solid var(--line); }
.cv-section h2 { margin-bottom: 15px; font-size: 1.8rem; }
.cv-entry { margin-bottom: 20px; }
.cv-entry:last-child { margin-bottom: 0; }
.cv-context { color: var(--ice); font-size: .88rem; margin-block: 5px; }
.cv-note { margin-bottom: 52px; }
.cv-grid + .cv-note { padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-image { animation: hero-appear 2.6s cubic-bezier(.2,.7,.3,1) both; }
  .hero-content { animation: hero-content .8s ease-out both; }
  .reveal.will-reveal { opacity: 0; transform: translateY(12px); }
  .reveal.will-reveal.is-visible { opacity: 1; transform: none; transition: opacity .45s, transform .45s, border-color .25s, background .25s; }
}
@keyframes hero-appear { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes hero-content { from { opacity: .45; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  :root { --header: 60px; }
  .header-inner nav { gap: 17px; }
  .hero { min-height: min(670px, calc(100svh - var(--header))); }
  .hero-image { background-position: 63% 55%; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .awards { gap: 27px; }
  .cv-grid { gap: 25px; }
}
@media (max-width: 580px) {
  .header-inner { height: auto; min-height: var(--header); flex-wrap: wrap; gap: 0 15px; }
  .header-inner .brand { margin-block: 15px; }
  .header-inner nav { flex-wrap: wrap; gap: 3px 18px; width: 100%; }
  .nav-ready .nav-toggle { display: inline-flex; align-items: center; padding: 6px 0 6px 13px; color: #e5ecf2; background: none; border: 0; min-height: 44px; cursor: pointer; }
  .nav-ready nav { display: none; }
  .nav-ready nav.is-open { display: flex; padding-bottom: 8px; }
  .hero { min-height: min(635px, calc(100svh - var(--header))); padding-bottom: 115px; }
  .hero::after { background: linear-gradient(90deg,#070a0edc,#11192449), linear-gradient(0deg,#0b0c0e 0%,#0a0d151f 50%); }
  .hero-foot { bottom: 21px; gap: 9px; font-size: .73rem; }
  .project-grid, .media-grid, .awards, .cv-grid { grid-template-columns: 1fr; }
  .case-cover .project-art { aspect-ratio: 16/9; }
  .footer-inner { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
