:root {
  --page-padding: 70px 28px;
  --content-width: 1660px;
  --header-height: clamp(80px, 7.5vw, 108px);
  --hero-title-size: clamp(42px, 6.52vw, 98px);
  --hero-copy-size: clamp(14px, 1.31vw, 19px);
  --hero-title-copy-gap: clamp(20px, 2.2vw, 33px);
  --hero-banner-gap: clamp(64px, 8.4vw, 126px);
  --section-title-size: clamp(44px, 6.65vw, 100px);
  --body-font: Arial, Helvetica, sans-serif;
  --section-heading-font: Arial, Helvetica, sans-serif;
  --approach-title-size: clamp(33px, 5.75vw, 86px);
  --section-spacing: clamp(72px, 12.8vw, 192px);
  --project-title-size: clamp(28px, 4.1vw, 61px);
  --project-description-size: clamp(16px, 1.65vw, 24px);
  --project-gap: clamp(64px, 11.1vw, 166px);
  --project-column-gap: clamp(24px, 3.2vw, 48px);
  --project-min-height: 0px;
  --project-image-radius: clamp(9px, 1.35vw, 20px);
  --about-padding: clamp(40px, 5.7vw, 86px);
  --about-title-size: clamp(54px, 7.2vw, 108px);
  --transition-fast: 300ms;
  --transition-normal: 650ms;
  --ease: cubic-bezier(.2,.65,.25,1);
  --ink: #101010;
  --muted: #696969;
  --line: #dedede;
  --paper: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body-font); -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
section,footer,#main { scroll-margin-top: calc(var(--header-height) + 24px); }
#main > .page-container { width: 100%; max-width: var(--content-width); margin-inline: auto; padding: var(--page-padding); }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 30; background: white; padding: 16px; }
.skip-link:focus { top: 16px; }
#header { position: sticky; top: 0; z-index: 20; height: var(--header-height); display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 24px; padding: 12px clamp(28px, 3vw, 45px); background: var(--paper); border-bottom: 1px solid var(--line); }
.logo { display: block; grid-column: 2; width: clamp(83px, 4.2vw, 62px); line-height: 0; }
.logo img { display: block; width: 100%; height: auto; }
nav { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 18px; color: var(--ink); }
nav a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; text-transform: uppercase; white-space: nowrap; font-size: 14px; line-height: 1; }
nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: #000; transform: scaleX(0); transform-origin: left; transition: transform 200ms ease; }
nav a.active::after { transform: scaleX(1); }
#hero { padding-top: clamp(10px, 1.7vw, 26px); padding-bottom: var(--hero-banner-gap); }
.hero-title { font-size: var(--hero-title-size); font-weight: 400; line-height: .93; letter-spacing: -.045em; }
.hero-title span { display: block; }
.hero-title strong,.selected-work-title strong,.about-title strong,.section-title strong,.contact-title strong { font-weight: 700; }
.hero-copy { margin-top: var(--hero-title-copy-gap); max-width: 69%; font-size: var(--hero-copy-size); line-height: 1.27; letter-spacing: -.018em; }
.reference-crop { position: relative; overflow: hidden; isolation: isolate; }
.image-surface { position: absolute; inset: 0; transition: transform var(--transition-normal) var(--ease); }
.reference-crop img { position: absolute; max-width: none; width: calc(654 / var(--crop-w) * 100%); height: calc(2048 / var(--crop-h) * 100%); left: calc(var(--crop-x) / var(--crop-w) * -100%); top: calc(var(--crop-y) / var(--crop-h) * -100%); object-fit: cover; }
#hero-banner { position: relative; overflow: hidden; isolation: isolate; width: 100%; height: var(--banner-desktop-height, 700px); }
#hero-banner > .image-surface { position: relative; display: block; height: 100%; }
#hero-banner img { display: block; width: 100%; height: var(--banner-desktop-image-height, 100%); object-fit: cover; object-position: var(--banner-desktop-position, 50% 50%); }
#approach { padding-top: clamp(44px, 6.7vw, 100px); padding-bottom: var(--section-spacing); }
.section-rule { height: 1px; background: var(--line); position: relative; }
.section-rule::before { content: ''; position: absolute; width: 20%; height: 1px; background: #919191; }
.eyebrow { margin-top: clamp(20px, 3vw, 45px); color: #b1b1b1; font-size: clamp(10px, .83vw, 13px); text-transform: uppercase; letter-spacing: .035em; }
.approach-title { margin-top: clamp(20px, 2.9vw, 44px); font-family: var(--section-heading-font); font-size: var(--approach-title-size); line-height: 1.04; font-weight: 400; letter-spacing: -.035em; }
.approach-title span { display: block; }
.selected-work-title { margin-top: clamp(20px, 2.8vw, 42px); margin-bottom: clamp(30px, 4.25vw, 64px); font-family: var(--section-heading-font); font-size: var(--section-title-size); line-height: 1; letter-spacing: -.05em; font-weight: 400; }
.projects { display: grid; gap: var(--project-gap); padding-bottom: clamp(32px, 4.4vw, 66px); }
.project { min-height: var(--project-min-height); display: grid; grid-template-columns: 36% minmax(0,1fr); gap: var(--project-column-gap); align-items: start; }
.project-copy { min-width: 0; padding-top: clamp(6px, 1.6vw, 24px); }
.project-number { color: #d0d0d0; font-size: clamp(16px, 2.1vw, 31px); margin-bottom: clamp(8px, 1vw, 15px); }
.project-title { font-weight: 400; font-size: var(--project-title-size); line-height: 1.02; text-transform: none; letter-spacing: -.035em; overflow-wrap: anywhere; }
.project-title > span { display: block; }
.project-title-line-1 { font-size: var(--project-title-line-1-size, var(--project-title-size)); MARGIN-BOTTOM: 10px; }
.project-title-line-2 { font-size: var(--project-title-line-2-size, var(--project-title-size)); letter-spacing: normal; MARGIN-BOTTOM: 27px;}
.project-description { font-size: var(--project-description-size); line-height: 1.16; letter-spacing: -.02em; color: var(--muted); margin-top: clamp(12px, 1.35vw, 20px); }
.hero-copy p,.project-description p { margin: 0; }
.hero-copy p + p,.project-description p + p { margin-top: 1em; }
.project-skills { list-style: none; padding: 0; margin: clamp(22px, 3.6vw, 54px) 0 0; display: flex; flex-wrap: wrap; gap: 9px 8px; }
.project-skills li { border: 1px solid #e6e6e6; border-radius: 50px; padding: 4px 12px; font-size: clamp(11px, 1.3vw, 19px); line-height: 1.05; color: var(--muted); transition: background var(--transition-fast), color var(--transition-fast); }
.project-skills li:hover { background: #f1f1f1; color: var(--ink); }
.project-image { position: relative; overflow: hidden; isolation: isolate; width: 100%; aspect-ratio: var(--crop-w) / var(--crop-h); border-radius: var(--project-image-radius); }
.project-image::after { content: '+SEE MORE'; position: absolute; z-index: 1; left: 0; bottom: clamp(12px, 2.3vw, 36px); padding: 9px 24px 9px 20px; border-radius: 0 999px 999px 0; background: var(--project-dialog-accent); color: var(--accent-foreground); font-family: var(--body-font); font-size: clamp(12px, 1.3vw, 20px); font-weight: 400; line-height: 1.1; letter-spacing: normal; white-space: nowrap; pointer-events: none; }
@media(hover:hover) { .project-image:hover .image-surface { transform: scale(1.025); } }
#about { width: 100%; background: #141414; color: #f5f5ef; padding: var(--about-padding) clamp(24px,3vw,45px) clamp(64px,8.8vw,132px); }
.about-inner { max-width: 1410px; margin-inline: auto; display: grid; grid-template-columns: 19% minmax(0,1fr); column-gap: 1%; }
.about-title { font-family: var(--section-heading-font); font-size: var(--about-title-size); font-weight: 400; letter-spacing: -.07em; line-height: 1; white-space: nowrap; }
.about-copy { padding-top: clamp(70px,10vw,150px); max-width: 74%; font-size: var(--hero-copy-size); line-height: 1.25; }
.about-copy p + p { margin-top: 1.35em; }
#services { padding-block: var(--section-spacing); }
.services-layout { margin-top: clamp(28px,4vw,60px); display: grid; grid-template-columns: 40% 1fr; gap: 5%; }
.section-title { font-family: var(--section-heading-font); font-size: var(--section-title-size); letter-spacing: -.045em; line-height: 1; font-weight: 400; }
.services-list { list-style: none; margin: 0; padding: 0; }
.services-list li { font-size: clamp(22px,3.2vw,48px); letter-spacing: -.035em; padding-block: .45em; border-bottom: 1px solid var(--line); }
.services-list li:first-child { padding-top: 0; }
#main > #contact { padding-bottom: clamp(64px,10vw,150px); }
.contact-title { margin-top: clamp(28px,4vw,60px); font: 400 clamp(44px,7.8vw,117px)/1.05 var(--section-heading-font); letter-spacing: -.06em; }
.contact-links { display: flex; gap: clamp(24px,4vw,60px); margin-top: clamp(32px,5vw,75px); font-size: clamp(16px,1.6vw,24px); }
.contact-links:empty { display: none; }
.contact-links a { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #aaa; transition: opacity var(--transition-fast); }
.contact-links a:hover { opacity: .6; }
.reveal { transition: opacity var(--transition-normal) var(--ease), translate var(--transition-normal) var(--ease); }
.reveal.is-pending { opacity: 0; translate: 0 18px; }
@media(max-width:900px) and (min-width:701px) { .project-skills { gap: 7px 5px; }.project-skills li { padding: 4px 8px; } }
@media(max-width:900px) {
  :root { --header-height: 112px; }
  #header { grid-template-columns: minmax(0,1fr); grid-template-rows: 32px 44px; align-content: center; padding: 12px 16px; gap: 8px; }
  .logo { grid-column: 1; grid-row: 1; justify-self: center; width: 62px; }
  nav { grid-column: 1; grid-row: 2; justify-self: center; }
}
@media(max-width:700px) {
  .project-title-line-1 { font-size: var(--project-title-line-1-mobile-size, 34px); }
  .project-title-line-2 { font-size: var(--project-title-line-2-mobile-size, 34px); }
  .project-description { font-size: var(--project-description-mobile-size, 16px); }
  :root { --hero-title-size: clamp(40px,8.6vw,60px); --hero-copy-size: 15px; --hero-banner-gap: 48px; --section-spacing: 72px; --project-title-size: 34px; --project-description-size: 16px; --project-gap: 64px; --project-image-radius: 10px; }
  nav { gap: 3px; } nav a { font-size: 11px; padding: 8px 7px; } nav a::after { left: 7px; right: 7px; }
  #hero { padding-top: 32px; }.hero-copy { max-width: 100%; margin-top: 24px; line-height: 1.4; }
  #hero-banner { height: var(--banner-mobile-height, 450px); }
  #hero-banner img { height: var(--banner-mobile-image-height, 100%); object-position: var(--banner-mobile-position, 50% 50%); }
  #approach { padding-top: 44px; }.approach-title { font-size: clamp(34px,7vw,48px); line-height: 1.09; }.desktop-break { display: none; }
  .eyebrow { font-size: 10px; }.selected-work-title { font-size: clamp(42px,9vw,62px); margin-top: 24px; margin-bottom: 36px; }
  .project { grid-template-columns: minmax(0,1fr); gap: 0; }
  .project-copy { display: contents; padding-top: 0; }
  /* A contents wrapper has no box for the reveal observer to measure. */
  .project-copy.reveal { opacity: 1; translate: none; }
  .project-number { grid-row: 1; margin-bottom: 10px; }
  .project-title { grid-row: 2; }
  .project-title-line-2 { margin-bottom: 0; }
  .project-skills { grid-row: 3; margin: 22px 0 24px; gap: 8px 6px; }
  .project-image { grid-row: 4; margin-bottom: 32px; }
  .project-description { grid-row: 5; margin-top: 0; max-width: 480px; line-height: 1.35; }
  .project-image::after { bottom: 12px; padding: 7px 18px 7px 12px; font-size: 12px; }
  .project-skills li { font-size: 12px; padding: 5px 10px; }.projects { padding-bottom: 48px; }
  #about { padding: 40px 24px 56px; }.about-inner { grid-template-columns: minmax(0,1fr); gap: 30px; }.about-title { font-size: 56px; }.about-copy { padding-top: 0; max-width: 100%; font-size: 15px; line-height: 1.4; }
  .services-layout { grid-template-columns: minmax(0,1fr); gap: 36px; }.services-list li { font-size: 28px; }.section-title { font-size: 48px; }.contact-title { font-size: clamp(44px,10vw,64px); }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; animation: none !important; }.reveal.is-pending { opacity: 1; translate: none; } .project-image:hover .image-surface { transform: none; } }

/* Project detail overlay. These values only affect the project popup. */
:root {
  --project-dialog-width: 1400px;
  --project-dialog-top: 100px;
  --project-dialog-padding: 20px;
  --project-dialog-radius: 20px;
  --project-dialog-image-radius: var(--project-image-radius);
  --project-dialog-gallery-gap: 20px;
  --project-dialog-accent: #bfdb39;
  --accent-foreground: #1a5241;
  --project-dialog-paper: #fafafa;
  --project-dialog-backdrop: rgb(0 0 0 / 73%);
}
::selection { background: var(--project-dialog-accent); color: var(--accent-foreground); }
.project-image[role="button"] { cursor: pointer; }
.project-image[role="button"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.project-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: var(--project-dialog-top) 0 0; border: 0; background: transparent; color: #171c19; overflow: hidden; }
.project-dialog::backdrop { background: var(--project-dialog-backdrop); }
.project-dialog-close { position: absolute; top: 40px; left: calc(50% - 22px); display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 10px; border: 0; border-radius: 8px; color: var(--accent-foreground); background: var(--project-dialog-accent); cursor: pointer; transition: filter 200ms ease; }
.project-dialog-close:hover { filter: brightness(1.08); }
.project-dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.project-dialog-close:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.project-dialog-panel { width: 100%; height: 100%; padding: var(--project-dialog-padding); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border-radius: var(--project-dialog-radius) var(--project-dialog-radius) 0 0; background: var(--project-dialog-paper); scrollbar-width: thin; scrollbar-color: var(--project-dialog-accent) transparent; }
.project-dialog-panel:focus-visible { outline: 2px solid var(--project-dialog-accent); outline-offset: -2px; }
.project-dialog-panel::-webkit-scrollbar { width: 6px; }
.project-dialog-panel::-webkit-scrollbar-track { background: transparent; }
.project-dialog-panel::-webkit-scrollbar-thumb { border-radius: 8px; background: var(--project-dialog-accent); }
.project-dialog-layout { display: grid; grid-template-columns: minmax(0,34.4fr) minmax(0,65.6fr); align-items: start; max-width: var(--project-dialog-width); margin-inline: auto; }
.project-dialog-copy { position: sticky; top: 0; padding: 20px 70px 0 0; min-width: 0; }
#project-dialog-title { font-size: 30px; line-height: 1.2; font-weight: 400; letter-spacing: -.065em; margin: 0 0 40px; }
.project-dialog-facts { display: grid; gap: 40px; margin: 0; }
.project-dialog-facts dt { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #c2c2c2; color: #616161; font-size: 12px; line-height: 1.2; font-weight: 400; letter-spacing: -.035em; text-transform: uppercase; }
.project-dialog-facts dd { margin: 0; font-size: 16px; line-height: 1.4; letter-spacing: -.035em; overflow-wrap: anywhere; }
.project-dialog-facts dd p { margin: 0; }
.project-dialog-facts dd p + p { margin-top: 1em; }
.project-dialog-gallery { display: grid; gap: var(--project-dialog-gallery-gap); min-width: 0; }
.project-dialog-image { position: relative; overflow: hidden; isolation: isolate; width: 100%; aspect-ratio: var(--crop-w) / var(--crop-h); border-radius: var(--project-dialog-image-radius); }
.project-dialog-image > img:not([data-reference-crop]) { position: static; display: block; width: 100%; height: auto; object-fit: contain; }
.project-dialog[open]::backdrop { animation: project-backdrop-in 250ms ease both; }
.project-dialog[open] .project-dialog-panel { animation: project-panel-in 400ms var(--ease) both; }
@keyframes project-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes project-panel-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@media(max-width:800px) {
  .project-dialog-panel { width: calc(100% - 32px); margin-inline: 16px; border-radius: var(--project-dialog-radius); }
  .project-dialog-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .project-dialog-copy { position: relative; padding: 20px 0 0; }
  #project-dialog-title { font-size: 19px; }
}
@media(min-width:801px) and (max-height:650px) {
  .project-dialog-copy { position: relative; }
}
@media(prefers-reduced-motion:reduce) {
  .project-dialog[open]::backdrop { animation: none; }
}
