@font-face {
  font-family: "Geist";
  src: url("./fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #191917;
  --paper: #f5f4ef;
  --mist: #e7e6e1;
  --line: rgba(25, 25, 23, .22);
  --graphite: #30302d;
  --accent: #bf4a32;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-interface: "Geist", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-interface); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
button, input, select, textarea { color: inherit; font: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
body.modal-open { overflow: hidden; }
a, a:visited { color: inherit; text-decoration: none; }
::selection { color: var(--paper); background: var(--ink); }

.site-header {
  position: sticky; top: 0; z-index: 30; height: 82px; padding: 0 clamp(28px, 4.35vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: rgba(250, 250, 249, .96); border-bottom: 1px solid rgba(25, 25, 23, .11); backdrop-filter: blur(12px);
}
.brand { display: flex; flex-direction: column; gap: 7px; color: #20201e; }
.brand-name { display: flex; flex-direction: column; font-size: 18px; font-weight: 400; line-height: .98; letter-spacing: .19em; text-transform: uppercase; }
.brand small { color: #454541; font-size: 7px; line-height: 1; text-transform: uppercase; letter-spacing: .38em; white-space: nowrap; }
nav { display: flex; align-items: center; gap: clamp(28px, 3.65vw, 52px); font-size: 11px; line-height: 1; text-transform: uppercase; letter-spacing: .13em; }
nav a { padding: 12px 0; border-bottom: 1px solid transparent; transition: border-color .2s ease; white-space: nowrap; }
nav a:hover, nav a:focus-visible { border-color: currentColor; outline: none; }

.hero { position: relative; isolation: isolate; height: clamp(420px, 33.5vw, 620px); overflow: hidden; color: var(--ink); background: #d8d4ca; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(245,244,239,.36) 0, rgba(245,244,239,.14) 34%, transparent 58%); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-content { position: relative; z-index: 2; width: 100%; height: 100%; }
.eyebrow { margin: 0 0 24px; color: #66655f; font-size: 10px; text-transform: uppercase; letter-spacing: .19em; }
.eyebrow.light { color: rgba(255,255,255,.72); }
.hero h1 { position: absolute; top: 11.5%; left: 3.2%; max-width: 32%; margin: 0; font-family: var(--font-display); font-size: clamp(38px, 3vw, 56px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.text-link, .text-link:visited, .study-link, .study-link:visited { display: inline-flex; gap: 32px; align-items: center; padding-bottom: 8px; color: var(--graphite); border-bottom: 1px solid rgba(25,25,23,.65); font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .14em; }
.text-link { position: absolute; left: 3.4%; bottom: 11.5%; margin: 0; }
.link-arrow { position: relative; display: inline-block; width: 14px; height: 14px; flex: 0 0 14px; color: var(--graphite); transition: transform .2s ease; }
.link-arrow::before { content: ""; position: absolute; right: 1px; bottom: 1px; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 1px; background: currentColor; transform: rotate(45deg); transform-origin: center; }
.text-link:hover .link-arrow { transform: translate(4px,4px); }

.section { padding: 42px clamp(24px, 4vw, 72px) clamp(92px, 10vw, 156px); }
.section-index { display: grid; grid-template-columns: 84px 1fr; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: clamp(11px, .75vw, 12px); line-height: 1; text-transform: uppercase; letter-spacing: .18em; color: #696861; }
.study { position: relative; }
.study-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .65fr); gap: clamp(52px, 9vw, 150px); padding-top: clamp(66px, 7vw, 108px); align-items: start; }
.study-main { min-width: 0; }
.study h2, .process h2, .projects h2, .notebook h2, .contact h2 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -.035em; }
.study h2 { max-width: 760px; font-size: clamp(36px, 4.25vw, 64px); line-height: 1.03; }
.study-sketch { margin: clamp(46px, 5vw, 76px) 0 0; width: 100%; background: transparent; }
.study-sketch img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.body-copy { align-self: start; max-width: 500px; padding-top: 8px; color: #4c4b46; font-size: 15px; line-height: 1.75; }
.body-copy p { margin: 0 0 22px; }.fact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; }
.fact-row span { display: flex; flex-direction: column; gap: 8px; }.fact-row small { color: #77766f; text-transform: uppercase; letter-spacing: .12em; }
.study-link { margin-top: clamp(42px, 5vw, 72px); }
.study-link:hover .link-arrow { transform: translate(4px,4px); }

.process, .notebook { background: var(--mist); }
.process-heading { display: grid; grid-template-columns: 1.1fr .55fr; gap: clamp(44px, 8vw, 130px); padding: clamp(68px, 8vw, 118px) 0 72px; align-items: end; }
.process h2 { max-width: 780px; font-size: clamp(38px, 4.5vw, 68px); line-height: 1.02; }
.process-heading > p { max-width: 480px; margin: 0 0 7px; color: #4c4b46; font-size: 15px; line-height: 1.75; }
.process-sketch { margin: 0; width: 100%; overflow: hidden; }
.process-sketch img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 34px; border-top: 1px solid var(--line); }
.steps article { min-height: 160px; padding: 24px 32px 0 0; border-right: 1px solid var(--line); }.steps article + article { padding-left: 32px; }.steps article:last-child { border-right: 0; }
.steps span { font-size: 9px; color: #77766f; }.steps h3 { margin: 24px 0 10px; font-size: 15px; font-weight: 500; }.steps p { max-width: 220px; margin: 0; color: #66655f; font-size: 12px; line-height: 1.55; }

.projects-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; padding: clamp(64px, 8vw, 112px) 0 50px; }
.projects h2 { max-width: 780px; font-size: clamp(40px, 5vw, 74px); line-height: 1.02; }.projects-heading p { max-width: 360px; margin: 0 0 5px; color: #66655f; font-size: 12px; line-height: 1.7; }
.project-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(8px, 1.3vw, 22px); }
.project-card { min-width: 0; }
.project-open { display: block; width: 100%; margin: 0; padding: 0; text-align: left; background: transparent; border: 0; cursor: pointer; }
.project-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #d8d7d2; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .35s ease; }
.project-card.monochrome .project-cover img { filter: grayscale(1); }
.project-number { position: absolute; top: 13px; left: 14px; z-index: 2; color: white; font-size: 9px; letter-spacing: .12em; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.project-view { position: absolute; right: 0; bottom: 0; z-index: 2; padding: 10px 12px; color: var(--paper); background: var(--ink); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; transform: translateY(100%); transition: transform .25s ease; }
.project-open:hover .project-cover img, .project-open:focus-visible .project-cover img { transform: scale(1.025); filter: contrast(1.08); }
.project-card.monochrome .project-open:hover .project-cover img, .project-card.monochrome .project-open:focus-visible .project-cover img { filter: grayscale(1) contrast(1.08); }
.project-open:hover .project-view, .project-open:focus-visible .project-view { transform: translateY(0); }
.project-open:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }
.project-info { display: flex; flex-direction: column; gap: 7px; padding-top: 15px; }
.project-info strong { font-size: 13px; font-weight: 500; }
.project-info small { overflow: hidden; color: #77766f; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }

.gallery-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; color: var(--paper); background: rgba(12,12,11,.94); }
.gallery-dialog { width: min(1380px, 100%); height: min(920px, calc(100svh - 36px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #151513; border: 1px solid rgba(255,255,255,.16); }
.gallery-header, .gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 18px 22px; }
.gallery-header { border-bottom: 1px solid rgba(255,255,255,.16); }
.gallery-header p { margin: 0 0 5px; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.gallery-header h3 { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2vw, 30px); font-weight: 400; }
.gallery-close { padding: 8px 0; color: rgba(255,255,255,.75); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.gallery-close:focus-visible, .gallery-arrow:focus-visible { outline: 1px solid white; outline-offset: 4px; }
.gallery-stage { min-width: 0; min-height: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; align-items: stretch; overflow: hidden; background: #0d0d0c; }
.gallery-stage figure { position: relative; min-width: 0; min-height: 0; overflow: hidden; margin: 0; }
.gallery-stage figure.photo { background: #0d0d0c; }
.gallery-stage figure.drawing { background: #fff; }
.gallery-stage figure.monochrome img { filter: grayscale(1); }
.gallery-stage img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.gallery-arrow { border: 0; color: white; background: transparent; font-size: 22px; cursor: pointer; transition: background .2s ease; }
.gallery-arrow:hover { background: rgba(255,255,255,.08); }
.gallery-arrow.is-inactive { visibility: hidden; pointer-events: none; }
.gallery-footer { border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.62); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.gallery-footer div { display: flex; gap: 24px; }
.gallery-footer p { margin: 0; color: white; }

.notebook-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(56px, 10vw, 160px); padding-top: clamp(72px, 9vw, 130px); }
.notebook h2 { max-width: 630px; font-size: clamp(42px, 5.2vw, 78px); line-height: 1.03; }
.notebook-intro { max-width: 480px; margin: 34px 0 0; color: #5e5d57; font-size: 13px; line-height: 1.7; }
.notebook-list { border-top: 1px solid var(--line); }
.notebook-open, .notebook-static { display: grid; grid-template-columns: 42px minmax(150px,.7fr) 1fr; gap: 20px; width: 100%; align-items: start; padding: 24px 0; color: inherit; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); font: inherit; }
.notebook-open { cursor: pointer; transition: padding-left .2s ease, color .2s ease; }
.notebook-open:hover, .notebook-open:focus-visible { padding-left: 8px; color: #55544f; outline: none; }
.notebook-list span { color: #77766f; font-size: 9px; }.notebook-list h3 { margin: 0; font-size: 14px; font-weight: 500; }.notebook-list p { margin: 0; color: #66655f; font-size: 12px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.contact { padding-bottom: 34px; color: var(--paper); background: var(--ink); }.section-index.inverse { color: rgba(255,255,255,.52); border-color: rgba(255,255,255,.25); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .55fr; gap: clamp(60px, 12vw, 190px); padding: clamp(82px, 11vw, 164px) 0; align-items: end; }
.contact h2 { max-width: 880px; font-size: clamp(40px, 5vw, 74px); line-height: 1.02; }.contact-copy { max-width: 520px; }.contact-copy > p:first-child { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }.contact-actions a, .contact-actions a:visited { max-width: 100%; padding: 12px 16px; overflow-wrap: anywhere; color: var(--paper); background: var(--graphite); border: 1px solid #5b5b56; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; transition: color .2s ease, background .2s ease, border-color .2s ease; }.contact-actions a:hover, .contact-actions a:focus-visible { color: var(--paper); background: #41413d; border-color: #777770; outline: none; }
footer { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.55); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }

.error-page { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 18px; padding: clamp(28px, 7vw, 96px); }
.error-page h1 { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 8vw, 86px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.error-page > p:not(.eyebrow) { margin: 0; color: #66655f; }

@media (max-width: 900px) {
  .site-header { height: auto; min-height: 82px; align-items: center; padding-top: 14px; padding-bottom: 13px; }
  nav { max-width: 64vw; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .hero { height: clamp(480px, 64svh, 660px); }.hero-image { object-position: 58% center; }.hero h1 { top: 10%; left: 4%; max-width: 46%; font-size: clamp(36px, 5vw, 48px); line-height: 1.04; }.text-link { left: 4%; bottom: 9%; }
  .study-grid, .process-heading, .notebook-grid, .contact-grid { grid-template-columns: 1fr; }
  .study-grid { gap: 54px; }.study h2 { max-width: 720px; }.study-sketch { max-width: 760px; }.study-link { margin-top: 54px; }
  .body-copy, .contact-copy { max-width: 640px; }.process-heading { align-items: start; }.projects-heading { align-items: start; flex-direction: column; }
  .project-row { grid-template-columns: repeat(2,1fr); gap: 34px 14px; }
  .notebook-grid { gap: 62px; }.contact-grid { gap: 70px; }.contact h2 { max-width: 720px; }
}

@media (max-width: 620px) {
  .site-header { position: relative; display: block; padding: 18px 20px 12px; }.brand { width: fit-content; margin-bottom: 17px; }.brand-name { font-size: 17px; }nav { max-width: 100%; gap: 24px; }nav a { flex: 0 0 auto; font-size: 9px; }
  .hero { height: min(72svh, 620px); min-height: 500px; }.hero::after { background: linear-gradient(90deg, rgba(245,244,239,.58), rgba(245,244,239,.18) 78%, transparent); }.hero-image { object-position: 52% center; }.hero h1 { top: 11%; left: 22px; max-width: calc(100% - 44px); font-size: clamp(30px, 8vw, 38px); line-height: 1.05; }.hero-break { display: none; }.text-link { left: 22px; bottom: 8%; }
  .section { padding: 30px 22px 88px; }.section-index { grid-template-columns: 52px 1fr; }
  .study-grid { padding-top: 56px; gap: 46px; }.study h2 { font-size: clamp(34px, 10vw, 48px); }.study-sketch { margin-top: 38px; }.body-copy { padding-top: 0; }.study-link { margin-top: 46px; }.projects h2, .notebook h2 { font-size: clamp(37px, 11vw, 54px); }.fact-row { grid-template-columns: 1fr; }
  .process-heading { padding: 60px 0 48px; gap: 34px; }.process h2 { font-size: clamp(34px, 9.5vw, 46px); }.process-sketch { margin-inline: -22px; width: calc(100% + 44px); }.steps { grid-template-columns: 1fr; }.steps article, .steps article + article { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }.steps article:last-child { border-bottom: 0; }
  .projects-heading { padding: 60px 0 38px; }.project-row { grid-template-columns: 1fr; gap: 42px; }.project-view { transform: none; }
  .gallery-backdrop { padding: 0; }
  .gallery-dialog { width: 100%; height: 100svh; border: 0; }
  .gallery-header, .gallery-footer { padding: 15px 16px; }
  .gallery-stage { grid-template-columns: 42px minmax(0, 1fr) 42px; }
  .gallery-footer { align-items: flex-end; }
  .gallery-footer div { flex-direction: column; gap: 4px; }
  .gallery-footer p { display: block; max-width: 42vw; text-align: center; }
  .notebook-grid { padding-top: 60px; }.notebook-open, .notebook-static { grid-template-columns: 30px 1fr; }.notebook-list p { grid-column: 2; }.contact h2 { font-size: clamp(37px, 11vw, 54px); }.contact-grid { padding: 72px 0 100px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
