:root {
  color-scheme: dark;
  --ink: #f1f2f3;
  --muted: #b3b8be;
  --line: #3c3e40;
  --paper: #1e1e1e;
  --accent: #a8d2c2;
  --band: #242526;
  --media: #292b2d;
  --notice: #252e2a;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
body:has(.lightbox[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - 64px, 1240px); margin-inline: auto; }
.notice { margin: 0; padding: 10px 20px; background: var(--notice); color: var(--accent); font-size: 12px; line-height: 1.5; text-align: center; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 27px 23px; }
.brand { font-size: 26px; line-height: 1.2; font-weight: 700; text-decoration: none; }
.disciplines { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.home-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.navigation { border-block: 1px solid var(--line); }
.navigation ul { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; margin: 0; padding: 0; list-style: none; }
.navigation li { min-width: 0; }
.navigation a, .navigation button { display: flex; align-items: center; min-height: 56px; padding: 14px 0; border: 0; background: transparent; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: left; text-decoration: none; }
.navigation button { cursor: default; opacity: 1; }
.navigation [aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px var(--accent); }
.project-heading { padding-block: 28px 20px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.5; text-transform: uppercase; }
h1 { margin: 0; font-size: 46px; line-height: 1.12; }
h2 { margin: 0 0 20px; max-width: 760px; font-size: 32px; line-height: 1.2; }
h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.3; }
h1, h2, h3 { overflow-wrap: break-word; }
p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; }
.project-subtitle { margin: 12px 0 0; color: var(--muted); font-size: 18px; }
figure { min-width: 0; margin: 0; }
img { display: block; width: 100%; height: auto; }
.cover img { max-height: max(220px, min(530px, calc(100svh - 500px))); width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.cover .image-link { width: fit-content; max-width: 100%; margin-inline: auto; }
.cover figcaption { text-align: center; }
.image-link { display: block; position: relative; }
.image-link:hover .expand-icon { background: #fff; color: #202225; }
.expand-icon { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ffffff75; background: #202225d9; color: #fff; border-radius: 4px; }
.expand-icon svg { width: 18px; height: 18px; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
figcaption > span { margin-right: 12px; color: var(--ink); font-weight: 700; }
.section { padding-block: 64px; }
.section-intro { max-width: 780px; margin-bottom: 30px; }
.section-intro p:last-child { margin-bottom: 0; }
.brief { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(230px, 1fr); gap: 90px; padding-top: 48px; }
.project-facts { margin: 8px 0 0; border-left: 1px solid var(--line); padding-left: 32px; }
.project-facts div + div { margin-top: 20px; }
dt { color: var(--muted); font-size: 12px; line-height: 1.5; }
dd { margin: 5px 0 0; font-size: 15px; line-height: 1.6; }
.research-band { background: var(--band); border-block: 1px solid var(--line); }
.reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reference-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--media); }
.source-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.concept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.concept-grid .image-link { display: flex; align-items: center; aspect-ratio: 16 / 9; background: var(--media); }
.concept-grid img { max-height: 100%; object-fit: contain; }
.concept-caption { margin-top: 18px; }
.concept-caption > span { display: block; margin-bottom: 9px; color: var(--accent); font-size: 12px; }
.concept-caption h3 { color: var(--ink); font-size: 20px; }
.concept-caption p { font-size: 15px; }
.production-band { background: var(--band); border-block: 1px solid var(--line); }
.vista-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px; }
.production-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 44px; }
.production-detail > div { padding-top: 6px; }
.production-detail p { font-size: 15px; }
details { margin-top: 24px; border-block: 1px solid var(--line); }
summary { padding: 16px 0; cursor: pointer; font-size: 14px; font-weight: 700; }
details figure { padding-bottom: 20px; }
.shader-demo { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.shader-demo figure { max-width: 1024px; }
.shader-demo video { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 580; background: #17191c; }
.shader-demo video:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.presentation-image { margin-top: 24px; }
.credits { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.credits h3 { font-size: 18px; }
.credits dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin: 24px 0 0; }
.credits dt { color: var(--ink); font-size: 14px; font-weight: 700; }
.credits dd { font-size: 14px; color: var(--muted); }
.footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); }
.footer p, .footer a { margin: 0; font-size: 12px; line-height: 1.5; }
.footer a { display: inline-flex; align-items: center; gap: 8px; }
.footer svg { width: 14px; height: 14px; }
.profile-page { padding-block: 44px 64px; }
.profile-intro { display: grid; grid-template-columns: minmax(0, 760px) 168px; justify-content: space-between; align-items: start; gap: 40px; }
.profile-lead { margin-top: 22px; font-size: 20px; line-height: 1.55; }
.profile-intro p:not(.eyebrow) { max-width: 720px; }
.profile-portrait { width: 168px; height: auto; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.5; }
.text-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.work-history { margin-top: 48px; }
.work-history > h2 { margin-bottom: 16px; }
.experience-entry { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; border-top: 1px solid var(--line); padding-block: 32px; }
.experience-meta p { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 8px; }
.experience-meta .experience-dates { color: var(--ink); font-weight: 700; }
.experience-entry h3 { margin-bottom: 7px; font-size: 23px; }
.experience-role { color: var(--accent); font-size: 15px; }
.experience-points { padding-left: 20px; margin: 14px 0 18px; }
.experience-points li { padding-left: 3px; margin-bottom: 9px; font-size: 15px; line-height: 1.7; }
.project-credit + .project-credit { margin-top: 22px; }
.project-credit h4 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 18px 0 8px; font-size: 17px; line-height: 1.5; }
.project-credit h4 span { color: var(--muted); font-size: 13px; font-weight: 400; }
.project-credit p { font-size: 15px; }
.background-section { margin-top: 12px; padding-top: 32px; border-top: 1px solid var(--line); }
.background-section h2 { font-size: 26px; }
.background-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; }
.background-grid h3 { font-size: 17px; }
.background-grid p { max-width: 620px; font-size: 15px; }
.muted { color: var(--muted); }
.contact-page { min-height: 100svh; display: flex; flex-direction: column; }
.contact-main { flex: 1; }
.contact-links { margin-top: 32px; font-style: normal; }
.contact-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) 20px; align-items: center; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; }
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row:hover .contact-value { text-decoration: underline; text-underline-offset: 5px; }
.contact-row svg { width: 22px; height: 22px; }
.contact-row > svg:last-child { width: 18px; height: 18px; color: var(--muted); }
.contact-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.contact-value { display: block; font-size: 21px; line-height: 1.5; overflow-wrap: anywhere; }
.skip-link { position: absolute; z-index: 5; top: -100px; left: 16px; padding: 12px; background: var(--paper); }
.skip-link:focus { top: 10px; }
.lightbox { width: min(1500px, calc(100% - 40px)); max-height: calc(100svh - 40px); margin: auto; padding: 56px 20px 16px; border: 0; border-radius: 4px; background: #17191c; color: #fff; }
.lightbox::backdrop { background: #101113e8; }
.lightbox-image { width: auto; max-width: 100%; max-height: calc(100svh - 180px); object-fit: contain; margin-inline: auto; }
.lightbox p { margin: 14px 10px 0; color: #d8dcdf; font-size: 13px; text-align: center; line-height: 1.5; }
.lightbox-close { position: absolute; top: 10px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 7px; border: 1px solid #555c63; border-radius: 4px; background: transparent; color: #fff; cursor: pointer; }
.lightbox-close:hover { background: #343a40; }
.lightbox-close svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .navigation ul { gap: 12px; }
  .navigation a, .navigation button { font-size: 12px; }
  .brief { gap: 40px; }
  .production-detail { gap: 28px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { padding-block: 22px 20px; }
  .brand { font-size: 23px; }
  .disciplines { max-width: 270px; font-size: 12px; }
  .home-link { display: none; }
  .navigation ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; row-gap: 0; }
  .navigation a, .navigation button { min-height: 48px; padding-block: 11px; font-size: 12px; }
  .project-heading { padding-block: 30px 20px; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .project-subtitle { font-size: 16px; }
  .eyebrow { font-size: 11px; }
  .cover img { max-height: none; width: 100%; }
  .cover figcaption { text-align: left; }
  .cover figcaption span, .presentation-image figcaption span { display: block; }
  .section { padding-block: 42px; }
  .brief, .production-detail, .concept-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .project-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; margin: 0; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .project-facts div + div { margin: 0; }
  .reference-grid { gap: 12px; }
  .reference-grid figcaption { font-size: 11px; }
  .vista-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .production-detail { margin-top: 32px; }
  .credits dl { gap: 24px; }
  .profile-page { padding-block: 32px 42px; }
  .profile-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .profile-lead { font-size: 18px; margin-top: 18px; }
  .profile-portrait { width: 110px; }
  .experience-entry { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 26px; }
  .experience-meta p { margin-bottom: 4px; }
  .background-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .work-history { margin-top: 36px; }
  .contact-row { gap: 14px; }
  .contact-value { font-size: 19px; }
  .lightbox { width: calc(100% - 20px); padding-inline: 10px; }
  .lightbox p { font-size: 12px; }
}
@media (max-width: 380px) {
  .navigation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 30px; }
  .reference-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .reference-grid img { max-height: 220px; }
  .credits dl { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
