@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;1,6..96,400&family=Hanken+Grotesk:wght@400;500;600&display=swap');

:root {
  --ink: #181716;
  --muted: #615c57;
  --rule: #e5e0db;
  --serif: "Bodoni Moda", Didot, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --gutter: clamp(22px, 6vw, 100px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0 auto; max-width: 1700px; padding: 0 var(--gutter); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
header { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 76px; border-bottom: 1px solid; background: #fffffff7; }
.monogram { width: max-content; font: 2rem/1 var(--sans); letter-spacing: -.13em; }
nav { justify-self: end; display: flex; gap: clamp(1rem, 3vw, 2.7rem); }
nav a:hover, .line-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.label, nav, .line-link, figcaption, footer, .toc span { font-size: .82rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 500; }
.label, figcaption, .toc span { color: var(--muted); }
h1, h2, h3 { font-family: var(--serif); line-height: 1; font-weight: 400; margin: 0; }
h2 { font-size: clamp(2.7rem, 6vw, 5.8rem); }
figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
figcaption { padding-top: .85rem; }
.cover { padding-top: clamp(3rem, 8vh, 7rem); }
.cover h1 { font-size: clamp(3.7rem, 14.5vw, 15rem); line-height: .86; letter-spacing: -.05em; margin-top: clamp(2rem, 5vw, 5rem); }
.cover h1 em { display: block; padding-left: 14%; }
.cover-footer { margin: clamp(2.5rem, 6vw, 6rem) 0 2.5rem; display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; }
.cover-footer p { font: italic clamp(1.25rem, 2.1vw, 2rem)/1.25 var(--serif); max-width: 18em; margin: 0; }
.line-link { display: inline-block; width: fit-content; border-bottom: 1px solid; padding: .35rem 0; }
.hero img { aspect-ratio: 2.1; object-fit: cover; }
.section { margin-top: clamp(5rem, 12vw, 11rem); }
.section-title, .overview { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; }
.section-title { margin-bottom: 3rem; }
.toc { border-top: 1px solid; }
.toc a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.toc a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.toc strong { font: 400 clamp(1.65rem, 3vw, 2.7rem)/1.15 var(--serif); }
.toc span { text-align: right; }
.features { margin-top: clamp(3rem, 8vw, 8rem); display: grid; gap: clamp(3.5rem, 8vw, 8rem); }
.feature { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.feature:nth-child(even) { grid-template-columns: 1fr 2fr; }
.feature:nth-child(even) .feature-image { grid-column: 2; grid-row: 1; }
.feature:nth-child(even) div { grid-column: 1; grid-row: 1; }
.feature h3 { font-size: clamp(2.1rem, 4vw, 4rem); }
.feature img { aspect-ratio: 1.5; object-fit: cover; }
.feature-image { overflow: hidden; }
.feature-image img { transition: transform .45s ease; }
.feature-image:hover img { transform: scale(1.025); }
.overview p { max-width: 65ch; }
footer { border-top: 1px solid; padding: 1.4rem 0 2.5rem; margin-top: clamp(4rem, 8vw, 9rem); display: flex; justify-content: space-between; gap: 1rem; }
main > .line-link { margin-top: 2rem; }
.project-intro { padding: clamp(3rem, 7vw, 7rem) 0 2.5rem; }
.project-intro h1 { font-size: clamp(3.6rem, 10vw, 10rem); letter-spacing: -.04em; }
.project-meta { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 2rem; }
.project-meta p { margin: .15rem 0; }
.project-hero img { max-height: 75vh; object-fit: contain; background: #f6f4f1; }
.overview, .gallery { border-top: 1px solid var(--rule); margin-top: clamp(3rem, 7vw, 7rem); padding-top: 1.5rem; }
.overview p { margin-top: 0; }
.overview h2, .gallery h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.overview h3 { font-family: var(--sans); margin-top: 2rem; }
.overview ul { padding-left: 1.2rem; }
.figures { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.6rem, 4vw, 4rem); margin-top: 2rem; align-items: start; }
.figures.drawings { grid-template-columns: repeat(auto-fit,minmax(min(100%, 420px),1fr)); }
.figures.finishes { grid-template-columns: repeat(auto-fit,minmax(min(100%, 145px),1fr)); }
.figures.finishes img { aspect-ratio: 1; object-fit: cover; }
.figures a:hover { opacity: .87; }
.end { margin-top: 3rem; }
@media (max-width: 660px) {
  header { grid-template-columns: 1fr auto; min-height: 62px; }
  .mast-title { display: none; }
  .cover h1 em { padding-left: 5%; }
  .cover-footer { flex-wrap: wrap; }
  .hero img { aspect-ratio: 1.4; }
  .section-title, .overview, .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 1rem; }
  .feature:nth-child(even) .feature-image, .feature:nth-child(even) div { grid-area: auto; }
  .toc a { display: grid; gap: .35rem; }
  .toc span { text-align: left; }
  .figures:not(.finishes) { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.about {
  border-top: 1px solid;
  padding-top: clamp(2.5rem, 7vw, 6.5rem);
}
.about-intro { max-width: 46rem; }
.about-intro p { margin: 1.3rem 0 0; max-width: 61ch; }
.about-intro .about-lead {
  font: 400 clamp(1.4rem, 2.5vw, 2rem)/1.4 var(--serif);
  margin-top: clamp(1.5rem, 3.5vw, 3rem);
}
.about-contact {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  margin-top: clamp(1.75rem, 4vw, 3.5rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-style: normal;
}
.about-contact .line-link {
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}
