:root {
  --paper: oklch(0.97 0.013 85);
  --white: oklch(0.99 0.007 85);
  --sand: oklch(0.929 0.024 82);
  --ink: oklch(0.245 0.022 140);
  --deep: oklch(0.205 0.022 141);
  --muted: oklch(0.43 0.023 135);
  --light: oklch(0.86 0.024 82);
  --rust: oklch(0.49 0.135 41);
  --rust-hover: oklch(0.42 0.12 40);
  --peach: oklch(0.78 0.087 54);
  --rule: oklch(0.25 0.02 130 / 0.22);
  --rule-light: oklch(0.96 0.02 85 / 0.25);
  --font: "Manrope", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --xs: clamp(.75rem, .72rem + .14vw, .8125rem);
  --sm: clamp(.875rem, .84rem + .16vw, 1rem);
  --base: clamp(1rem, .94rem + .25vw, 1.125rem);
  --lg: clamp(1.125rem, 1.02rem + .45vw, 1.5rem);
  --title: clamp(2.5rem, 1.65rem + 3.75vw, 5.05rem);
  --display: clamp(3.2rem, 2.2rem + 3.95vw, 6.65rem);
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem;
  --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem; --s32: 8rem;
  --gutter: clamp(var(--s5), 4.15vw, var(--s16));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s4); }
body { margin: 0; font: 500 var(--base)/1.63 var(--font); color: var(--ink); background: var(--paper); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--peach); }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 450; line-height: .99; letter-spacing: -.052em; }
h2 { font-size: var(--title); }
.wrap { max-width: 96rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(var(--s16), 7vw, var(--s32)); }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; top: var(--s2); left: var(--s2); z-index: 30; background: var(--white); padding: var(--s3); }
.eyebrow, .edition { font: 500 var(--xs)/1.45 var(--mono); letter-spacing: .095em; }
.eyebrow > span:empty { display: inline-block; width: var(--s5); height: 2px; margin-right: var(--s2); vertical-align: middle; background: currentColor; }
.masthead { position: relative; z-index: 2; border-bottom: 1px solid var(--rule); }
.nav-shell { min-height: 5.25rem; display: flex; justify-content: space-between; align-items: center; gap: var(--s6); }
.brand { display: inline-flex; min-height: 44px; flex-direction: column; justify-content: center; font: 800 var(--lg)/1 var(--font); letter-spacing: .065em; white-space: nowrap; }
.brand span { font: 500 var(--xs)/1 var(--mono); margin-top: var(--s1); letter-spacing: .09em; }
nav { display: flex; align-items: center; gap: clamp(var(--s4), 2.4vw, var(--s10)); }
nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--sm); font-weight: 750; }
nav > a:not(.button):hover, .footer a:last-child:hover { color: var(--rust); text-decoration: underline; text-underline-offset: .25em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 3rem; padding: var(--s3) var(--s5); font-size: var(--sm); font-weight: 800; border: 1px solid transparent; cursor: pointer; text-align: left; }
.button span { font-size: var(--lg); line-height: 1; }
.accent { background: var(--rust); color: var(--white); }
.accent:hover { background: var(--rust-hover); }
.accent:active { background: var(--ink); }
.menu-button { display: none; }
.hero { background: var(--deep); color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .73fr) minmax(0, 1fr); align-items: center; gap: clamp(var(--s6), 3vw, var(--s12)); padding-block: clamp(var(--s8), 4.6vw, var(--s20)) var(--s8); }
.hero-text { padding-block: var(--s8) var(--s10); }
.hero-text .eyebrow, .study .eyebrow { color: var(--peach); margin-bottom: var(--s6); }
.hero h1 { font-size: var(--display); }
.hero-text > p:not(.eyebrow) { color: var(--light); max-width: 34ch; margin-block: var(--s6) var(--s8); }
.hero .button { background: var(--peach); color: var(--deep); }
.hero .button:hover { background: var(--paper); }
.hero .button:focus-visible, .study :focus-visible { outline-color: var(--peach); }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; object-position: 56% center; }
.hero-figure figcaption, .compare figcaption { display: flex; justify-content: space-between; gap: var(--s3); color: var(--light); font: 400 var(--xs)/1.45 var(--mono); padding-block: var(--s3); border-bottom: 1px solid var(--rule-light); }
.section-head { display: grid; grid-template-columns: 1fr minmax(16rem, .48fr); align-items: end; gap: var(--s6); margin-bottom: clamp(var(--s8), 4vw, var(--s16)); }
.section-head .eyebrow, .about .eyebrow, .contact .eyebrow { color: var(--rust); margin-bottom: var(--s4); }
.section-head > p, .contact > div > p:not(.eyebrow) { color: var(--muted); max-width: 37ch; }
.work-grid { display: grid; grid-template-columns: 1.68fr 1fr; gap: var(--s8) var(--s6); align-items: start; }
.work-card.feature { grid-row: span 2; }
.work-open { padding: 0; width: 100%; border: 0; background: none; text-align: left; cursor: pointer; }
.work-open img { width: 100%; height: auto; aspect-ratio: 2.28; object-fit: cover; background: var(--sand); }
.feature img { aspect-ratio: 1.28; object-position: center; }
.work-caption { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0 var(--s4); border-bottom: 1px solid var(--rule); }
.work-caption .eyebrow { display: block; color: var(--muted); margin-bottom: var(--s1); }
.work-caption strong { font-size: var(--lg); font-weight: 800; }
.work-note { display: block; margin-top: var(--s1); color: var(--muted); font-size: var(--sm); line-height: 1.45; }
.work-caption .arrow { font-size: var(--lg); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--rule); }
.work-caption .arrow { flex: 0 0 44px; }
.work-open:hover .arrow { background: var(--ink); color: var(--paper); }
.work-more { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s8); }
.work-more p { color: var(--muted); }
.outline { border-color: var(--rule); }
.outline:hover { color: var(--paper); background: var(--ink); }
nav > a[aria-current="page"] { color: var(--rust); text-decoration: underline; text-underline-offset: .35em; }
.gallery-intro { background: var(--sand); }
.gallery-intro .wrap { padding-block: clamp(var(--s8), 5vw, var(--s20)) clamp(var(--s10), 6vw, var(--s24)); }
.return-link { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-size: var(--sm); font-weight: 800; }
.return-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.gallery-intro .eyebrow { margin-block: var(--s6) var(--s3); color: var(--rust); }
.gallery-intro h1 { font-size: var(--display); }
.gallery-intro p:not(.eyebrow) { max-width: 54ch; color: var(--muted); margin-top: var(--s4); }
.gallery-content { padding-block: clamp(var(--s8), 4.5vw, var(--s16)) clamp(var(--s16), 7vw, var(--s32)); }
.gallery-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s6); }
.gallery-filters:not([hidden]) { display: flex; flex-wrap: wrap; gap: var(--s2); }
.gallery-filters button { min-height: 44px; padding-inline: var(--s3); background: transparent; border: 1px solid var(--rule); font-size: var(--sm); font-weight: 800; cursor: pointer; }
.gallery-filters button:hover { border-color: var(--ink); }
.gallery-filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.gallery-toolbar output { color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s8) var(--s6); }
.gallery-grid .work-open img { aspect-ratio: 1.65; }
.gallery-cta { background: var(--ink); color: var(--paper); }
.gallery-cta .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s5); padding-block: clamp(var(--s8), 5vw, var(--s16)); }
.gallery-cta h2 { font-size: clamp(2.25rem, 4vw, 4rem); }
.gallery-cta .button { color: var(--deep); background: var(--peach); }
.gallery-cta .button:hover { background: var(--paper); }
.gallery-cta .button:focus-visible { outline-color: var(--peach); }
.study { background: var(--ink); color: var(--paper); }
.study-grid { padding-block: clamp(var(--s12), 6vw, var(--s24)); display: grid; grid-template-columns: .66fr 1.34fr; align-items: center; gap: clamp(var(--s6), 4vw, var(--s16)); }
.study p:not(.eyebrow) { max-width: 33ch; color: var(--light); margin-top: var(--s6); }
.compare-frame { --split: 48%; position: relative; aspect-ratio: 1.78; background: var(--sand); overflow: hidden; isolation: isolate; }
.compare-frame img { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; }
.compare-frame .framing-layer { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-divider { position: absolute; inset: 0 auto 0 var(--split); width: 2px; background: var(--white); transform: translateX(-50%); }
.compare-divider span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); font: 800 var(--lg)/1 var(--font); }
.compare-frame input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; }
.compare-frame:focus-within { outline: 3px solid var(--peach); outline-offset: 4px; }
.compare-tag { position: absolute; top: var(--s3); font: 500 var(--xs)/1 var(--mono); background: var(--ink); color: var(--paper); padding: var(--s2); pointer-events: none; }
.compare-tag.left { left: var(--s3); }
.compare-tag.right { right: var(--s3); }
.service-list { border-top: 1px solid var(--rule); }
.service-list article { display: grid; grid-template-columns: 4rem minmax(12rem, 1fr) minmax(16rem, 1.05fr); align-items: baseline; gap: var(--s4); padding-block: var(--s6); border-bottom: 1px solid var(--rule); }
.service-list .edition { color: var(--rust); }
.service-list h3 { font-size: var(--lg); font-weight: 800; line-height: 1.3; }
.service-list p { color: var(--muted); max-width: 55ch; }
.process { margin-top: var(--s10); display: flex; gap: var(--s6); align-items: baseline; }
.process > p { white-space: nowrap; color: var(--muted); }
.process ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: var(--s2) var(--s4); font-size: var(--sm); font-weight: 800; }
.process li:not(:last-child)::after { content: " →"; margin-left: var(--s3); color: var(--rust); }
.about { background: var(--sand); }
.about-grid, .contact { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(var(--s8), 7vw, var(--s32)); }
.about-grid { padding-block: clamp(var(--s12), 6vw, var(--s24)); }
.about-grid > div:nth-child(2) > p { max-width: 56ch; }
.about-grid p + p { margin-top: var(--s4); }
.about .signature { margin-top: var(--s6); color: var(--rust); font: italic 450 var(--lg)/1.5 var(--serif); }
.contact > div > p:not(.eyebrow) { margin-top: var(--s6); }
.inquiry-link { color: var(--rust); text-decoration: underline; text-underline-offset: .2em; }
.inquiry-frame { display: block; width: 100%; height: 46rem; border: 0; }
form { display: grid; gap: var(--s4); align-self: start; }
.form-note { color: var(--muted); font-size: var(--sm); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
label:not(.sr-only) { display: grid; gap: var(--s2); font-size: var(--sm); font-weight: 800; min-width: 0; }
input:not([type=range]), select, textarea { min-height: 3rem; min-width: 0; width: 100%; background: var(--white); color: var(--ink); border: 1px solid var(--rule); padding: var(--s2) var(--s3); border-radius: 0; font-size: var(--base); font-weight: 500; }
textarea { resize: vertical; }
form .button { justify-self: start; }
.form-status { padding: var(--s3) var(--s4); background: var(--sand); font-size: var(--sm); }
.footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding-block: var(--s6); }
.footer p, .footer a:last-child { color: var(--muted); font-size: var(--xs); }
.footer a:last-child { min-height: 44px; display: inline-flex; align-items: center; gap: var(--s1); }
.project-dialog { width: min(52rem, calc(100% - var(--s8))); max-height: calc(100% - var(--s8)); padding: 0; border: 0; color: var(--ink); background: var(--paper); }
.project-dialog::backdrop { background: oklch(.16 .025 140 / .78); }
.project-dialog > img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; }
.dialog-content { padding: clamp(var(--s5), 4vw, var(--s10)); }
.dialog-content h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-block: var(--s2) var(--s4); }
.dialog-content .eyebrow { color: var(--rust); }
.close { display: grid; place-items: center; position: absolute; top: var(--s3); right: var(--s3); width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule); font-size: var(--lg); background: var(--paper); cursor: pointer; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr 1.05fr; }
  .hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
  .work-grid { gap: var(--s5); }
  .study-grid { grid-template-columns: .75fr 1fr; }
}
@media (max-width: 700px) {
  .nav-shell { min-height: 4.25rem; }
  .menu-button { display: flex; align-items: center; gap: var(--s2); min-height: 44px; background: transparent; border: 0; padding: var(--s2); font-size: var(--sm); font-weight: 800; cursor: pointer; }
  nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: var(--s2) var(--gutter) var(--s5); }
  nav.open { display: flex; }
  nav > a:not(.button) { border-bottom: 1px solid var(--rule); }
  nav .button { margin-top: var(--s3); }
  .hero-grid, .section-head, .study-grid, .about-grid, .contact { grid-template-columns: 1fr; }
  .hero-grid { padding-top: var(--s4); gap: var(--s4); }
  .hero-text { padding-block: var(--s6) var(--s4); }
  .hero h1 { font-size: clamp(3.25rem, 11vw, 5.25rem); }
  .hero-text .eyebrow, .study .eyebrow { margin-bottom: var(--s4); }
  .hero-text > p:not(.eyebrow) { margin-block: var(--s4) var(--s5); }
  .hero-figure img { aspect-ratio: 1.45; }
  .section-head { gap: var(--s4); }
  .wide { display: none; }
  .study p:not(.eyebrow) { margin-top: var(--s4); }
  .service-list article { grid-template-columns: var(--s8) 1fr; gap: var(--s2) var(--s3); padding-block: var(--s5); }
  .service-list article p { grid-column: 2; }
  .process { display: block; }
  .process > p { margin-bottom: var(--s3); }
  .footer-inner { flex-wrap: wrap; gap: var(--s3) var(--s5); }
}
@media (max-width: 480px) {
  .work-grid, .field-grid, .gallery-grid { grid-template-columns: 1fr; }
  .work-open img { aspect-ratio: 1.55; }
  .compare figcaption { flex-direction: column; gap: var(--s1); }
  .compare-tag { padding: var(--s1); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
