:root {
  color-scheme: dark;
  --paper: #f1f0ec;
  --muted: #b4b3bd;
  --accent: #a6b7ff;
  --line: #383841;
  --ground: #101013;
  --gutter: clamp(22px, 4.2vw, 88px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ground); color: var(--paper); isolation: isolate; -webkit-font-smoothing: antialiased; }
body::before {
  content: ""; pointer-events: none; position: absolute; z-index: -1;
  inset: 0 0 auto; height: 1000px;
  background: radial-gradient(ellipse at 93% 23%, #30204455, transparent 48%), radial-gradient(ellipse at 61% 4%, #19346e44, transparent 48%);
}
::selection { background: #b8c5ff; color: #101013; }
a { color: inherit; text-underline-offset: 6px; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.skip-link { position: absolute; z-index: 10; left: var(--gutter); top: 14px; padding: 16px; background: var(--paper); color: #101013; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100%, 1920px); margin: 0 auto; padding-inline: var(--gutter); }
.site-header { min-height: 114px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.wordmark span { display: block; }
.header-role { margin: 0 auto 0 clamp(20px, 8vw, 160px); color: var(--muted); font-size: 12px; line-height: 1.5; }
.site-nav { display: flex; gap: 24px; align-items: center; font-size: 13px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.label { font-size: 11px; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 0; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-weight: 500; text-transform: uppercase; letter-spacing: -.065em; line-height: .91; }
h1 .line { display: block; }
.intro-copy { color: var(--muted); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; max-width: 465px; }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; text-decoration: none; border-bottom: 1px solid #747480; font-size: 13px; }
.text-link:hover { border-color: var(--paper); }
.arrow { transition: transform .2s ease; }
a:hover .arrow { transform: translate(3px, -3px); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 23px 0 30px; }
.section-heading h2 { font-size: 15px; font-weight: 400; }
.section-heading h2 span { margin-left: 16px; color: var(--muted); font-size: 11px; }
.section-heading > p { color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; row-gap: 64px; align-items: start; }
.project { min-width: 0; }
.project-link { display: block; text-decoration: none; }
.project-image { overflow: hidden; background: #202024; }
.project-image img { width: 100%; height: auto; display: block; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.project-link:hover .project-image img { transform: scale(1.025); }
.project-caption { display: grid; grid-template-columns: 28px 1fr auto; align-items: start; gap: 8px; padding-top: 17px; }
.project-index { color: var(--muted); font-size: 11px; line-height: 1.6; }
.project-caption h3 { font-size: clamp(17px, 1.45vw, 23px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.project-category { color: var(--muted); font-size: 12px; margin-top: 7px; line-height: 1.5; }
.project-caption .arrow { font-size: 23px; line-height: 1; }
.closing { margin-top: 140px; padding-block: 70px 90px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.closing .label { color: var(--muted); }
.closing-quote { font-size: clamp(29px, 3.6vw, 64px); line-height: 1.1; letter-spacing: -.045em; max-width: 1000px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 30px 35px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-name { color: var(--muted); font-size: 12px; }
.contact-links { display: flex; flex-wrap: wrap; column-gap: 25px; row-gap: 6px; font-size: 13px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }
.image-dialog { width: min(1280px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 24px; border: 1px solid #62626f; background: #141417; color: var(--paper); }
.image-dialog::backdrop { background: #050509e8; }
.dialog-header { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dialog-header h2 { font-size: 20px; font-weight: 400; }
.dialog-close { color: var(--paper); background: transparent; border: 1px solid #747480; cursor: pointer; min-height: 44px; padding: 10px 18px; }
.dialog-close:hover { background: #32323b; }
.dialog-image { display: block; width: 100%; max-height: calc(100dvh - 195px); object-fit: contain; }
.dialog-category { color: var(--muted); font-size: 13px; margin-top: 15px; }
body:has(.image-dialog[open]) { overflow: hidden; }
@media (min-width: 1920px) { :root { --gutter: 88px; } }
@media (max-width: 900px) {
  .header-role { margin-left: 24px; }
  .site-nav { gap: 18px; }
  .work-grid { column-gap: 20px; row-gap: 44px; }
  .closing { margin-top: 90px; grid-template-columns: 1fr 3fr; padding-block: 50px 60px; gap: 30px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (max-width: 600px) {
  .site-header { min-height: 96px; gap: 12px; }
  .wordmark { font-size: 16px; }
  .header-role { display: none; }
  .site-nav { gap: 17px; font-size: 12px; }
  .site-nav .about-link { display: none; }
  .section-heading { padding: 20px 0 24px; }
  .section-heading h2 span { display: block; margin: 5px 0 0; }
  .section-heading > p { max-width: 115px; text-align: right; font-size: 10px; }
  .work-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .project-caption { padding-top: 14px; }
  .closing { margin-top: 75px; grid-template-columns: 1fr; gap: 25px; padding-block: 35px 50px; }
  .contact-links { column-gap: 20px; }
  .image-dialog { padding: 16px; width: calc(100% - 24px); }
  .dialog-header h2 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
