:root {
  color-scheme: light;
  --ink: #24251f;
  --muted: #73746e;
  --line: #dedfd9;
  --paper: #f5f5f1;
  --gutter: clamp(24px, 4.2vw, 80px);
  --font-sans: "Inter", sans-serif;
  --font-display: "source-serif-4-small-text", Georgia, serif;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: #e1e3d8; color: var(--ink); }
.shell { width: 100%; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: 15px; left: 24px; z-index: 10; padding: 14px; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { padding-block: clamp(12px, 2.5svh, 28px); }
.brand { display: inline-block; padding-block: 8px; font: 400 27px/.9 var(--font-display); letter-spacing: .015em; }
.brand:hover { text-decoration: none; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(12px, 2.5svh, 28px); font-size: 12px; }
.footer-signature { color: var(--muted); white-space: nowrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 clamp(20px, 3.4vw, 54px); align-items: center; }
.footer-links a { padding-block: 8px; white-space: nowrap; }
.footer-links [aria-current="page"] { text-decoration: underline; }
.arrow-icon { display: inline-block; width: 1em; height: 1em; margin-left: .45em; vertical-align: -.13em; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.arrow-icon-back { margin: 0 .45em 0 0; }
.page-label { margin-bottom: clamp(16px, 2.5svh, 28px); font-size: 12px; line-height: 1.5; }
.inline-link { display: inline-block; justify-self: start; padding-block: 8px; font-size: 13px; line-height: 1.5; border-bottom: 1px solid var(--ink); }
.inline-link:hover { text-decoration: none; border-bottom-color: transparent; }
.inline-link .arrow-icon { margin-left: 12px; }

.home { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); column-gap: clamp(48px, 8vw, 140px); align-items: center; padding-block: clamp(16px, 3svh, 36px); text-align: left; }
.home-statement { max-width: 14ch; font: 400 clamp(48px, min(6.2vw, 11svh), 100px)/1.05 var(--font-display); letter-spacing: -.055em; text-wrap: balance; }
.home-description { max-width: 30ch; font-size: clamp(18px, min(2.1vw, 3.8svh), 28px); line-height: 1.5; text-wrap: balance; }

.home-support { min-width: 0; }
.home-support > .inline-link { margin-top: clamp(20px, 3svh, 32px); }

.studio, .about { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); column-gap: clamp(48px, 8vw, 140px); align-items: center; padding-block: clamp(16px, 3svh, 36px); }
.studio-intro, .about-summary { min-width: 0; }
.studio h1, .about h1 { max-width: 16ch; font: 400 clamp(44px, min(5vw, 9svh), 80px)/1.08 var(--font-display); letter-spacing: -.05em; text-wrap: balance; }
.studio-copy, .about-lead { max-width: 54ch; margin-top: clamp(20px, 3svh, 32px); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.65; }
.studio-copy h2 { margin-bottom: 10px; font: 500 18px/1.4 var(--font-sans); letter-spacing: -.025em; }
.studio-intro > .inline-link, .about-summary > .inline-link { margin-top: clamp(18px, 3svh, 32px); }
.studio-approach { max-width: 620px; }
.studio-approach h2 { font: 400 clamp(28px, min(3vw, 5svh), 44px)/1.15 var(--font-display); letter-spacing: -.04em; }
.studio-process { margin: clamp(20px, 3.5svh, 38px) 0 0; padding: 0; list-style: none; }
.studio-process-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 20px; padding-block: clamp(16px, 2.5svh, 26px); border-top: 1px solid var(--line); }
.studio-process-item:first-child { border-top: 0; padding-top: 0; }
.studio-process-item:last-child { padding-bottom: 0; }
.studio-process-number { padding-top: 4px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.studio-process-item h3, .about-details h2 { margin-bottom: 8px; font-size: 17px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.studio-process-item p, .about-details p { max-width: 60ch; color: #555650; font-size: clamp(14px, 1.2vw, 16px); line-height: 1.65; }
.about-details { display: grid; gap: clamp(22px, 4svh, 42px); max-width: 640px; }

.projects { display: flex; flex-direction: column; padding-block: clamp(16px, 3svh, 36px); }
.page-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.page-heading h1 { font: 400 clamp(44px, min(5vw, 9svh), 80px)/1.08 var(--font-display); letter-spacing: -.05em; }
.page-heading p { font-size: 14px; }
.portfolio-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 0; padding-block: 24px; text-align: center; }
.portfolio-empty p { font-size: 16px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.project-tile:hover { text-decoration: none; }
.project-tile figure { background: var(--paper); overflow: hidden; }
.project-tile img { aspect-ratio: 4/3; object-fit: cover; transition: transform 350ms ease; }
.project-tile:hover img { transform: scale(1.02); }
.project-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 17px; font-size: 12px; }
.project-caption h2 { font-size: 15px; font-weight: 400; }
.project-caption > span { color: var(--muted); }
.project-caption span span { margin-left: 8px; }
.project-detail { padding-block: 40px; }
.back-link { display: inline-block; font-size: 12px; padding-block: 8px; margin-bottom: 40px; }
.project-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10%; align-items: end; margin-bottom: 40px; }
.project-heading .page-label { margin-bottom: 20px; }
.project-heading h1 { font: 400 clamp(44px, 5vw, 80px)/1.08 var(--font-display); letter-spacing: -.045em; }
.project-heading > p { font-size: 17px; line-height: 1.6; max-width: 500px; }
.project-cover, .project-image { margin-bottom: 40px; }
.project-story { max-width: 820px; margin: 60px auto; }
.project-story:empty { display: none; }
.project-story section { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; margin-top: 40px; }
.project-story h2 { font-size: 14px; font-weight: 400; }
.project-story p { font-size: 17px; line-height: 1.7; white-space: pre-line; }
.project-image figcaption { padding-top: 15px; font-size: 12px; color: var(--muted); }

.contact { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 24px; }
.contact h1 { margin-bottom: clamp(24px, 4svh, 44px); font: 400 clamp(52px, min(7.6vw, 12svh), 112px)/1.08 var(--font-display); letter-spacing: -.055em; }
.contact-email { display: inline-block; max-width: 100%; font-size: clamp(23px, min(4.2vw, 6svh), 64px); line-height: 1.4; letter-spacing: -.045em; padding-block: 10px; border-bottom: 1px solid var(--line); }
.contact-email:hover { text-decoration: none; border-bottom-color: var(--ink); }
.contact-email .arrow-icon { width: .6em; height: .6em; margin-left: .5em; vertical-align: .2em; }
.contact-location { font-size: 13px; margin-top: clamp(24px, 5svh, 56px); color: var(--muted); }

@media (min-width: 960px) {
  body { height: 100svh; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
  main { min-height: 0; }
  .page-projects:has(.project-detail) { height: auto; min-height: 100svh; display: flex; }
}

@media (min-width: 960px) and (max-height: 650px) {
  .site-header, .site-footer { padding-block: 12px; }
  .studio, .about, .projects { padding-block: 12px; }
  .studio-copy, .about-lead { font-size: 15px; line-height: 1.55; margin-top: 18px; }
  .studio-intro > .inline-link, .about-summary > .inline-link { margin-top: 16px; }
  .studio-process-item { padding-block: 14px; }
  .about-details { gap: 20px; }
  .studio-process-item p, .about-details p { font-size: 14px; line-height: 1.55; }
}

@media (max-width: 959px) {
  .site-header { padding-block: 20px; }
  .brand { font-size: 24px; }
  .site-footer { padding-block: 24px; flex-wrap: wrap; row-gap: 12px; font-size: 11px; }
  .footer-links { gap: 0 18px; }
  .home { grid-template-columns: 1fr; align-content: center; justify-items: start; gap: 28px; padding-block: 48px; }
  .home-statement { max-width: 15ch; font-size: clamp(43px, 8vw, 76px); }
  .home-description { max-width: 32ch; font-size: 17px; }
  .studio, .about { grid-template-columns: 1fr; gap: 44px; padding-top: 32px; padding-bottom: 40px; }
  .studio h1, .about h1 { max-width: 18ch; font-size: clamp(42px, 7vw, 64px); line-height: 1.1; }
  .studio-copy, .about-lead { font-size: 16px; margin-top: 24px; }
  .studio-intro > .inline-link, .about-summary > .inline-link { margin-top: 22px; }
  .studio-approach { max-width: none; }
  .studio-approach h2 { font-size: 32px; }
  .studio-process { margin-top: 28px; }
  .studio-process-item { padding-block: 20px; gap: 14px; }
  .studio-process-item p, .about-details p { font-size: 15px; }
  .about-details { max-width: none; gap: 28px; }
  .projects { padding-block: 32px; }
  .page-heading { flex-direction: column; gap: 20px; }
  .page-heading h1 { font-size: 52px; }
  .portfolio-empty { min-height: 240px; }
  .contact { padding-block: 48px; }
  .contact h1 { font-size: clamp(48px, 9vw, 76px); }
  .contact-email { font-size: clamp(23px, 4.5vw, 42px); }
  .project-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-caption { flex-wrap: wrap; gap: 8px; }
  .back-link { margin-bottom: 30px; }
  .project-heading { grid-template-columns: 1fr; gap: 30px; margin-bottom: 35px; }
  .project-heading h1 { font-size: 52px; }
  .project-heading > p, .project-story p { font-size: 16px; }
  .project-story { margin-block: 45px; }
  .project-story section { grid-template-columns: 1fr; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
