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

:root {
  color-scheme: light;
  --ink: #343836;
  --muted: #535d58;
  --forest: #355a4a;
  --cream: #fbf8f1;
  --sky: #eaf3f7;
  --neon: #d7ff00;
  --line: #d8e0dc;
  --paper: #fff;
  --body: Geist, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.55 var(--body);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; }
figure { margin: 0; min-width: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-weight: 520; letter-spacing: -.055em; line-height: 1.02; }
h1 { font-size: clamp(2.55rem, 7vw, 7rem); }
h2 { font-size: clamp(2.4rem, 4.7vw, 4.5rem); }
h3 { font-size: clamp(1.65rem, 2.8vw, 2.65rem); }
p { margin: .85rem 0 0; }
.wrap { width: min(92%, 88rem); margin-inline: auto; }
.block { padding-block: clamp(3.6rem, 8vw, 8rem); }
.lead { max-width: 52ch; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.note { font-size: .9rem; max-width: 62ch; }
.tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 720; margin: 0 0 1rem; }
.sitebar { background: var(--paper); }
.sitebar .wrap, .section-nav, .site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.6rem; flex-wrap: wrap; }
.sitebar .wrap { min-height: 4.75rem; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: .92rem; font-weight: 660; }
.brand-mark { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; border-radius: .58rem; background: #111210; }
.brand-mark img { width: 1.58rem; height: 1.58rem; object-fit: contain; }
.project-nav, .section-nav { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; }
.project-nav a, .section-nav a { text-decoration: none; font-size: .88rem; font-weight: 590; }
.project-nav a:hover, .section-nav a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.preview { color: var(--muted); font-size: .77rem; }
section[id] { scroll-margin-top: 1.3rem; }
.section-nav { justify-content: flex-start; padding-block: 1.1rem; }

.hero { min-height: clamp(34rem, 76svh, 50rem); width: min(96%, 102rem); margin: clamp(.65rem, 2vw, 1.65rem) auto 0; color: var(--cream); position: relative; display: grid; align-items: end; background: var(--forest); isolation: isolate; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #192f27ea, #192f278c 49%, #192f2714 90%), linear-gradient(0deg, #192f2799, transparent 54%); }
.hero > img { height: 100%; position: absolute; z-index: -2; inset: 0; object-fit: cover; object-position: center 46%; }
.hero .wrap { padding-block: clamp(3rem, 7.5vw, 6rem); padding-inline: clamp(0rem, 2.5vw, 2.5rem); }
.hero .tag { color: #edb7a3; }
.hero h1 span { display: block; }
.hero .lead { max-width: 38ch; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.2rem; gap: .75rem; background: var(--neon); color: #111210; border: 1px solid transparent; border-radius: 999px; font: 700 .88rem/1.25 var(--body); text-decoration: none; cursor: pointer; }
.button:hover { background: #e4ff55; }
.secondary { background: transparent; border-color: var(--forest); }
.secondary:hover { background: #dcebe2; }
.hero .button, .card .button, .plan .button { margin-top: 1.55rem; }
.hero .button:focus-visible { outline-color: var(--paper); }
.section-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.75fr); align-items: end; gap: clamp(1rem, 4vw, 4.25rem); margin-bottom: clamp(1.5rem, 3.5vw, 3rem); }
.section-intro p { margin: 0; max-width: 48ch; }
.card-grid, .two-col { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem, 3vw, 2rem); }
.two-col { align-items: center; }
.card { background: var(--paper); border-top: 2px solid var(--forest); padding: clamp(1.35rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: start; }
.card .tag, .folder-hero .tag { color: var(--forest); }
.card p:not(.tag) { max-width: 44ch; }
.card .button { margin-top: auto; }
.card p + .button { margin-top: 1.8rem; }
.metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .25rem 1.1rem; width: 100%; margin: 1.4rem 0 .55rem; }
.metrics > div { border-top: 1px solid var(--line); padding-block: .65rem .42rem; }
.metrics dt { color: var(--muted); font-size: .72rem; font-weight: 620; }
.metrics dd { margin: .2rem 0 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.card .metrics dd { font-size: clamp(.95rem, 1.55vw, 1.23rem); }
.architecture, .sage, .inquiry { background: var(--sky); }
.architecture-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: end; gap: clamp(1rem, 3vw, 2.65rem); }
.architecture-grid figure:first-child img { aspect-ratio: 4/3; }
.architecture-grid figure:last-child img { aspect-ratio: 4/5; }
.photo-link { display: block; overflow: hidden; background: #e4e9e5; cursor: zoom-in; }
.photo-link img { height: 100%; object-fit: cover; }
.photo-link:hover img { transform: scale(1.035); }
figcaption { margin-top: .52rem; font-size: .82rem; }
.interior-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(.75rem, 2vw, 1.65rem); }
.interior-grid figure { grid-column: span 2; }
.interior-grid figure:nth-child(-n+2) { grid-column: span 3; }
.interior-grid img { aspect-ratio: 4/3; }
.interior-grid figure:nth-child(-n+2) img { aspect-ratio: 7/5; }
.neighborhood { background: var(--forest); color: var(--paper); }
.neighborhood-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.neighborhood img { aspect-ratio: 4/3; object-position: center 68%; }
.neighborhood :focus-visible { outline-color: var(--neon); }
.neighborhood .lead { color: #f7faf8; }
.places { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.places li { border-top: 1px solid #ffffff60; padding: .5rem 0; }
.places li:last-child { border-bottom: 1px solid #ffffff60; }

form { margin-top: 1.3rem; display: flex; flex-wrap: wrap; align-items: end; gap: .85rem 1rem; }
.field { display: grid; gap: .35rem; min-width: min(100%, 18rem); }
label { font-weight: 650; }
select { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--forest); border-radius: .4rem; min-height: 3rem; padding: .48rem .6rem; }
.result { margin-top: 1.25rem; }
.result a { display: inline-block; margin-top: .4rem; font-weight: 650; }
[hidden] { display: none !important; }
.site-foot { background: var(--paper); border-top: 1px solid var(--line); padding: 1.5rem 0; font-size: .82rem; }
.photo-dialog { width: min(94vw, 75rem); max-height: 94dvh; border: 0; border-radius: .6rem; padding: clamp(.7rem, 2vw, 1.25rem); background: var(--cream); color: var(--ink); }
.photo-dialog::backdrop { background: #121b17db; }
.photo-dialog img { width: auto; max-width: 100%; max-height: 75dvh; margin-inline: auto; }
.photo-dialog figcaption { text-align: center; }
.photo-dialog-top { display: flex; justify-content: flex-end; margin-bottom: .65rem; }
.photo-dialog-top button { border: 1px solid var(--forest); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; padding: .35rem .85rem; cursor: pointer; }

.folder { background: #f7f8f7; }
.folder .sitebar { border-bottom: 1px solid var(--line); }
.folder-hero { background: #edf5f0; }
.folder-hero .two-col { gap: clamp(1.5rem, 5vw, 4rem); }
.folder-hero h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); }
.folder-hero img { max-height: 32rem; aspect-ratio: 4/3; object-fit: cover; }
.folder .section-nav { border-bottom: 1px solid var(--line); }
.folder-gallery { background: var(--paper); }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.75rem, 2vw, 1.4rem); margin-top: 1.5rem; }
.photo-grid img { aspect-ratio: 4/3; object-fit: cover; }
.plan { background: #edf5f0; }
.plan figure { margin-top: 1.35rem; max-width: 72rem; padding: clamp(.3rem, 1.5vw, 1.25rem); border: 1px solid var(--line); background: var(--paper); }
.plan img { height: auto; }
.folder-rows { display: grid; max-width: 49rem; margin-top: 1rem; }
.folder-rows > div { padding-block: .75rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1.15rem; border-bottom: 1px solid var(--line); }
.folder-rows span { font-size: .9rem; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .photo-link img { transition: transform .45s ease; }
  .button { transition: background-color .2s ease; }
}
@media (max-width: 700px) {
  .project-nav { order: 1; width: 100%; padding-top: .15rem; padding-bottom: .25rem; }
  .project-nav a { font-size: .82rem; }
  .card-grid, .two-col, .section-intro, .neighborhood-grid { grid-template-columns: 1fr; }
  .architecture-grid { grid-template-columns: minmax(0,1fr) minmax(0,.78fr); }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .interior-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .interior-grid figure, .interior-grid figure:nth-child(-n+2) { grid-column: auto; }
  .interior-grid figure:first-child { grid-column: 1/-1; }
  .hero { min-height: min(75svh, 36rem); width: 100%; margin-top: 0; }
  .hero::after { background: linear-gradient(0deg,#142c22ef 0%,#142c2290 57%,#142c2230 100%); }
  .neighborhood-grid figure { grid-row: 2; }
}
