:root {
  --ink: #e9edf0; --muted: #aeb8c2; --faint: #77838f; --bg: #090d12; --surface: #10161e; --line: #25313d; --cyan: #7ad7e4; --orange: #e99a5a;
  --serif: Georgia, "Times New Roman", serif; --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --ink: #13202a; --muted: #465666; --faint: #617180; --bg: #f4f6f8; --surface: #ffffff; --line: #c9d3db; --cyan: #067486; --orange: #ad5a17;
    color-scheme: light;
  }
  body::before { opacity: .42; background-image: linear-gradient(rgba(19,32,42,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(19,32,42,.04) 1px, transparent 1px); }
  .skip-link, .button-primary { color: #fff; }
  .site-header { background: rgba(244,246,248,.9); }
  .brand { padding: .25rem .5rem; background: #090d12; }
  .text-link:hover, .text-link:focus-visible { color: #13202a; }
  .statement { background: #e9eef2; }
  .about-copy { color: #263642; }
  .site-nav { background: var(--surface); }
}
* { box-sizing: border-box; } html { scroll-behavior: smooth; scrollbar-gutter: stable; } body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--sans); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 68%); }
a { color: inherit; text-decoration: none; } button { font: inherit; } .shell { width: min(1440px, calc(100% - clamp(40px, 6vw, 128px))); margin: 0 auto; } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 20; top: -5rem; left: 1rem; padding: .7rem 1rem; background: var(--cyan); color: #061015; font-weight: 700; } .skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(9,13,18,.86); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(119,131,143,.2); } .nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 0; } .brand-logo { display: block; width: clamp(100px, 12vw, 130px); height: auto; max-height: 48px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; color: var(--muted); font-size: .86rem; } .site-nav a:not(.nav-resume) { padding: 26px 0 23px; border-bottom: 2px solid transparent; } .site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--cyan); } .nav-resume { padding: .56rem .8rem; border: 1px solid var(--line); color: var(--ink); } .nav-resume:hover, .nav-resume:focus-visible { border-color: var(--cyan); color: var(--cyan); }
.menu-toggle { display: none; border: 0; color: var(--ink); background: transparent; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 620px; align-items: center; gap: 3rem; padding: 5rem 0; }.eyebrow { margin: 0 0 1rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: .73rem; font-weight: 700; }.hero h1, .page-intro h1, .contact-hero h1 { max-width: 750px; margin: 0; font: clamp(3rem, 6vw, 5.6rem)/.98 var(--serif); letter-spacing: -.055em; }.hero h1 em { color: var(--cyan); font-weight: inherit; }.lede { max-width: 630px; color: var(--muted); font-size: 1.08rem; }.hero .lede { margin: 2rem 0; }.actions { display: flex; gap: .8rem; flex-wrap: wrap; }.button { display: inline-flex; align-items: center; gap: .75rem; padding: .8rem 1rem; font-weight: 700; font-size: .88rem; transition: transform .2s, background .2s; }.button:hover { transform: translateY(-2px); }.button-primary { background: var(--cyan); color: #061015; }.button-secondary { border: 1px solid var(--line); }
.abstract-panel { position: relative; min-height: 400px; overflow: hidden; background: radial-gradient(circle at 28% 25%, #193846, transparent 26%), linear-gradient(130deg, #0f1b25, #13151d 62%, #291b14); border: 1px solid var(--line); }.hero-visual { min-width: 0; min-height: 400px; display: grid; place-items: center; }.hero-visual img { display: block; width: min(100%, 460px); height: auto; max-height: 340px; object-fit: contain; }
.section { padding: 6rem 0; }.featured-section { padding-top: 2rem; }.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }.section-heading h2, .experience-layout h2 { max-width: 670px; margin: 0; font: clamp(2rem, 3vw, 3rem)/1.08 var(--serif); letter-spacing: -.035em; }.text-link { display: inline-flex; gap: .55rem; align-items: center; color: var(--cyan); font-size: .87rem; }.text-link:hover, .text-link:focus-visible { color: white; }.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }.project-preview { background: var(--surface); border: 1px solid var(--line); }.project-art { position: relative; min-height: 185px; overflow: hidden; border-bottom: 1px solid var(--line); }.project-preview-large .project-art { min-height: 270px; }.home-project-media { min-width: 0; }.home-project-media .project-art { min-height: 0; aspect-ratio: 3840 / 1600; border-bottom: 0; }.home-project-media { position: relative; }.home-preview-label { position: absolute; z-index: 2; top: .75rem; left: .75rem; padding: .35rem .5rem; background: rgba(9, 13, 18, .82); color: var(--ink); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.home-preview-controls { position: absolute; z-index: 2; right: .75rem; bottom: .75rem; }.home-preview-controls .enlarge-button { background: rgba(9, 13, 18, .82); }.project-preview-body { padding: 1.45rem; }.project-type { margin: 0; color: var(--cyan); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }.project-preview h3 { margin: .5rem 0 .35rem; font: 1.5rem var(--serif); }.project-preview .project-organization { margin: 0 0 .9rem; color: var(--faint); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.project-preview p:not(.project-type):not(.project-organization) { color: var(--muted); font-size: .9rem; }.statement { margin-top: 2rem; padding: 5rem 0; border-block: 1px solid var(--line); background: #0d141b; }.statement div { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }.statement p { max-width: 850px; margin: 0; font: clamp(2rem, 4vw, 3.7rem)/1.08 var(--serif); letter-spacing: -.04em; }
.page-intro, .contact-hero { padding: 7rem 0 3rem; }.page-intro .lede, .contact-hero .lede { margin: 1.6rem 0 0; }.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 6rem; }.about-visual { min-width: 0; min-height: 480px; display: grid; place-items: center; padding: clamp(2rem, 5vw, 5rem); }.about-visual img { display: block; width: min(100%, 420px); height: auto; max-height: 260px; object-fit: contain; }.about-copy { max-width: 690px; font: 1.35rem/1.55 var(--serif); color: #d4dbe0; }.about-copy p:first-child { margin-top: 0; }.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }.skills-grid article { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }.skills-grid article:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }.skills-grid h3 { margin: 0 0 .45rem; font-size: .83rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; }.skills-grid p { margin: 0; color: var(--muted); }
.case-studies { padding-bottom: 5rem; }.case-study { display: grid; grid-template-columns: .9fr 1.1fr; margin: 0; border-top: 1px solid var(--line); }.case-art { position: relative; min-height: 440px; overflow: hidden; }.case-art > p { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; margin: 0; color: rgba(255,255,255,.7); font-size: .66rem; line-height: 1.3; letter-spacing: .1em; text-align: right; }.case-gallery { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .7rem; min-height: 440px; padding: .7rem 0; }.case-gallery figure { min-height: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }.case-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }.case-gallery figure:hover img { transform: scale(1.025); }.case-content { padding: 3.5rem 0 3.5rem 4rem; }.case-study-reverse { grid-template-columns: 1.1fr .9fr; }.case-study-reverse .case-art { order: 2; }.case-study-reverse .case-content { padding: 3.5rem 4rem 3.5rem 0; }.case-content h2 { margin: .35rem 0 .35rem; font: clamp(2rem, 3vw, 3.1rem)/1.03 var(--serif); letter-spacing: -.04em; }.project-organization { margin: 0 0 1.15rem; color: var(--faint); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.case-content > p:not(.eyebrow):not(.project-organization):not(.media-note) { color: var(--muted); }.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 2rem 0; }.fact-grid div { padding-top: .75rem; border-top: 1px solid var(--line); }.fact-grid strong, .fact-grid span { display: block; }.fact-grid strong { margin-bottom: .25rem; color: var(--cyan); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }.fact-grid span, .media-note { color: var(--muted); font-size: .79rem; line-height: 1.45; }.media-note { padding: .7rem .85rem; border-left: 2px solid var(--orange); background: rgba(233,154,90,.07); }
.experience-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 4rem; }.timeline, .education > div { max-width: 840px; }.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }.timeline li { display: grid; grid-template-columns: 165px 1fr; gap: 1.5rem; padding: 1.65rem 0; border-bottom: 1px solid var(--line); }.timeline-date { color: var(--cyan); font-size: .76rem; font-weight: 700; }.timeline h3 { margin: 0 0 .15rem; font: 1.4rem var(--serif); }.timeline-company { margin: 0; color: var(--muted); }.experience-highlights { display: grid; gap: .45rem; margin: 1rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }.experience-highlights li { position: relative; display: block; padding: 0 0 0 1rem; border: 0; }.experience-highlights li::before { content: ""; position: absolute; top: .65rem; left: 0; width: 4px; height: 4px; background: var(--cyan); }.education { display: grid; grid-template-columns: .65fr 1.35fr; gap: 4rem; margin-bottom: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }.education h2 { margin: 0 0 .4rem; font: 2rem var(--serif); }.education p { margin: .25rem 0; color: var(--muted); }.education .education-date { color: var(--cyan); font-size: .84rem; }
.contact-hero { min-height: 465px; }.email-link { display: inline-flex; margin-top: 2rem; color: var(--cyan); font: clamp(1.2rem, 2.5vw, 2rem) var(--serif); border-bottom: 1px solid var(--cyan); }.contact-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }.contact-card { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }.contact-card:hover, .contact-card:focus-visible { border-color: var(--cyan); transform: translateY(-3px); }.contact-card-label { color: var(--cyan); text-transform: uppercase; font-size: .7rem; font-weight: 700; letter-spacing: .13em; }.contact-card strong { max-width: 280px; font: 1.65rem/1.1 var(--serif); }
.site-footer { padding: 2.2rem 0; border-top: 1px solid var(--line); }.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }.footer-inner p { margin: 0; color: var(--faint); font-size: .78rem; }
.reveal { animation: rise .65s both; } @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 760px) { .shell { width: min(100% - 32px, 1120px); }.menu-toggle { display: grid; gap: 5px; padding: .5rem; }.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 1px; background: var(--ink); }.site-nav { position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem; background: #0d131a; border-bottom: 1px solid var(--line); }.site-nav.is-open { display: flex; }.site-nav a:not(.nav-resume) { padding: .85rem .25rem; }.nav-resume { margin-top: .6rem; text-align: center; }.hero { grid-template-columns: 1fr; min-height: auto; gap: 2rem; padding: 4rem 0; }.hero h1, .page-intro h1, .contact-hero h1 { font-size: clamp(2.7rem, 12vw, 4.2rem); }.hero-visual { min-height: 300px; }.section { padding: 4rem 0; }.section-heading, .statement div { align-items: start; flex-direction: column; }.featured-grid, .about-layout, .experience-layout, .education, .case-study, .case-study-reverse { grid-template-columns: 1fr; gap: 0; }.featured-grid { gap: 1rem; }.project-preview-large .project-art { min-height: 210px; }.about-visual { min-height: 260px; padding: 1rem; }.about-visual img { width: min(100%, 360px); max-height: 180px; }.about-copy { padding-top: 2.5rem; font-size: 1.2rem; }.skills-grid { grid-template-columns: 1fr; }.skills-grid article, .skills-grid article:nth-child(even) { padding: 1.3rem 0; border-left: 0; }.case-art { min-height: 280px; }.case-gallery { min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; padding: 0; }.case-gallery figure { aspect-ratio: 12 / 5; }.case-study-reverse .case-art { order: 0; }.case-content, .case-study-reverse .case-content { padding: 2.2rem 0 3rem; }.fact-grid { grid-template-columns: 1fr; }.timeline li { grid-template-columns: 1fr; gap: .3rem; }.education { gap: 1rem; }.contact-actions { grid-template-columns: 1fr; }.footer-inner { flex-wrap: wrap; }.footer-inner .brand { width: 100%; } }
@media (max-width: 760px) {
  .menu-toggle { width: 44px; height: 44px; justify-content: center; align-content: center; }
  .site-nav { max-height: calc(100dvh - 74px); overflow-y: auto; }
  .site-nav a:not(.nav-resume), .nav-resume { min-height: 44px; display: flex; align-items: center; }
  .nav-resume { justify-content: center; }
  .button, .text-link { min-height: 44px; }
  .button { justify-content: center; }
  .text-link { padding-block: .5rem; }
  .email-link { max-width: 100%; line-height: 1.25; overflow-wrap: anywhere; }
  .visual-label { gap: .5rem; }
}
@media (max-width: 360px) {
  .nav-wrap { gap: .5rem; }
  .brand-logo { width: 100px; max-height: 44px; }
  .hero h1, .page-intro h1, .contact-hero h1 { font-size: clamp(2.4rem, 12vw, 3rem); }
  .actions .button { width: 100%; }
}
.project-slideshow { min-width: 0; align-self: start; padding: .7rem 0; }
.home-project-media .project-art { min-height: 0; }
.project-slides { position: relative; aspect-ratio: 3840 / 1600; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.project-slide { width: 100%; height: 100%; margin: 0; }
.project-slide[hidden] { display: none; }
.project-slide img, .project-slide video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--bg); }
.project-slide .case-art { width: 100%; height: 100%; min-height: 0; }
.project-video-sequence { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--bg); }
.project-video-sequence video { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .08s linear; }
.project-video-sequence video.is-active { z-index: 1; opacity: 1; }
.project-preview .project-video-sequence { min-height: inherit; }
.project-preview .project-art-media > video, .project-preview .project-slide > video, .project-preview .project-video-sequence video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--bg); }
.project-preview .project-art-media { min-height: 0; aspect-ratio: 3840 / 1600; }
.slideshow-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px auto; align-items: center; gap: .55rem; margin-top: .7rem; }
.slideshow-controls-single { grid-template-columns: minmax(0, 1fr) auto; }
.slide-arrow, .slide-pagers button, .enlarge-button { min-height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.slide-arrow { display: grid; place-items: center; padding: 0; color: var(--cyan); font-size: 1.2rem; }
.slide-pagers { display: flex; gap: .45rem; min-width: 0; }
.slide-pagers button { min-width: 0; flex: 1 1 0; padding: .45rem .7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .76rem; }
.enlarge-button { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .45rem .7rem; color: var(--cyan); font-size: .76rem; white-space: nowrap; }
.slide-arrow:hover, .slide-arrow:focus-visible, .slide-pagers button:hover, .slide-pagers button:focus-visible, .enlarge-button:hover, .enlarge-button:focus-visible { border-color: var(--cyan); color: var(--ink); outline: none; }
.slide-pagers button[aria-selected="true"] { border-color: var(--cyan); background: rgba(122, 215, 228, .1); color: var(--cyan); }
.slide-status { margin: .7rem 0 0; color: var(--faint); font-size: .73rem; letter-spacing: .05em; }
.case-study-reverse .project-slideshow { order: 2; }
.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: rgba(4, 7, 10, .9); }
.lightbox[hidden] { display: none; }
.lightbox-dialog { width: min(100%, 1800px); max-height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); outline: none; }
.lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; }
.lightbox-header p { margin: 0; color: var(--muted); font-size: .8rem; }
.lightbox-close { min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .7rem; border: 1px solid var(--line); background: var(--bg); color: var(--cyan); font: inherit; font-size: .8rem; }
.lightbox-close:hover, .lightbox-close:focus-visible { border-color: var(--cyan); color: var(--ink); outline: none; }
.lightbox-media { position: relative; width: 100%; max-height: calc(100dvh - 86px); overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.lightbox-visual { display: grid; place-items: center; width: 100%; height: 100%; }
.lightbox-visual .project-slide { display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 3840 / 1600; }
.lightbox-visual .project-slide img, .lightbox-visual .project-slide video { width: 100%; height: auto; max-height: calc(100dvh - 86px); object-fit: contain; }
.lightbox-visual .project-slide .case-art { width: 100%; height: auto; min-height: 0; aspect-ratio: 3840 / 1600; }
.lightbox-arrow { position: absolute; z-index: 1; top: 50%; width: 48px; min-height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--cyan); background: rgba(9, 13, 18, .9); color: var(--cyan); font: 1.35rem/1 var(--sans); transform: translateY(-50%); }
.lightbox-arrow[hidden] { display: none; }
.lightbox-arrow:hover, .lightbox-arrow:focus-visible { background: var(--cyan); color: var(--bg); outline: 2px solid var(--ink); outline-offset: 2px; }
.lightbox-arrow-previous { left: .8rem; }
.lightbox-arrow-next { right: .8rem; }
@media (max-width: 760px) {
  .project-slideshow { padding: 0; }
  .case-study-reverse .project-slideshow { order: 0; }
  .slideshow-controls { gap: .4rem; }
  .slide-pagers { gap: .35rem; }
  .slide-pagers button { padding-inline: .45rem; }
  .lightbox { padding: .6rem; }
  .lightbox-header { padding: .5rem .6rem; }
  .lightbox-header p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lightbox-media { max-height: calc(100dvh - 70px); }
  .lightbox-visual .project-slide img, .lightbox-visual .project-slide video { max-height: calc(100dvh - 70px); }
  .lightbox-arrow { width: 44px; min-height: 44px; }
  .lightbox-arrow-previous { left: .45rem; }
  .lightbox-arrow-next { right: .45rem; }
}
@media (prefers-color-scheme: light) {
  .abstract-panel p, .visual-label { color: #e9edf0; }
  @media (max-width: 760px) {
    .site-nav { background: var(--surface); }
  }
}
