:root {
  --ink: #152132;
  --ink-soft: #56606c;
  --navy: #203854;
  --navy-deep: #15283f;
  --copper: #a2561f;
  --copper-deep: #8f4a1a;
  --copper-light: #e0a46b;
  --paper: #f6f2ea;
  --paper-2: #eee8dc;
  --white: #ffffff;
  --line: rgba(21, 33, 50, 0.16);
  --border: rgba(21, 33, 50, 0.5);
  --line-light: rgba(255, 255, 255, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hand: "Architects Daughter", "Segoe Print", "Bradley Hand", cursive;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.12 0 0 0 0 0.18 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --blueprint: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 120px 120px;
  --max: 1480px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(5rem, 10vw, 9.5rem);
}

* { box-sizing: border-box; }

html {
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-block-start: 6rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-width: 20rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.58;
  background: var(--grain), var(--paper);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #b36b1c;
  outline-offset: 4px;
}

.location :focus-visible { outline-color: var(--white); }

p { text-wrap: pretty; }

h1,
h2,
h3 { text-wrap: balance; }

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 0.95rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-180%);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.site-header {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: 5.5rem;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

/* Above phone width the header stays pinned, so the listing link is always one click away. Phones get the bottom
   listing bar instead. The ::before paints the header's background edge to edge while the header keeps the page column. */
@media (min-width: 38.0625rem) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    isolation: isolate;
  }

  .site-header::before {
    content: "";
    position: absolute;
    inset: 0 -100vmax;
    z-index: -1;
    background: var(--grain), var(--paper);
    box-shadow: 0 1px 0 var(--line);
  }

  .materials-heading { top: 7.5rem; }
}

.header-listing.is-away {
  opacity: 0;
  visibility: hidden;
}

.header-listing {
  min-height: 2.6rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-word {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-sub {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quiet-link {
  font-size: 0.94rem;
  font-weight: 650;
  text-underline-offset: 0.28em;
  text-decoration-thickness: from-font;
}

main { overflow: clip; }

.hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) var(--gutter) clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(26rem, 1.1fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: start;
}

.eyebrow,
.section-label {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-label-light { color: rgba(255, 255, 255, 0.65); }

.hero h1,
.gallery h2,
.construction h2,
.materials h2,
.plan h2,
.location h2,
.cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(4rem, 8vw, 8.2rem);
  line-height: 1.1;
}

.hero-deck {
  max-width: 34rem;
  margin: 2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.28;
}

.facts {
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(max-content, 1fr));
  border-block: 1px solid var(--line);
}

.facts div {
  min-width: 0;
  padding: 1rem 0.9rem 1.1rem 0;
}

.facts div + div {
  padding-inline-start: 0.9rem;
  border-inline-start: 1px solid var(--line);
}

.facts dt {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.3rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 750;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.facts dd span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 650;
}

.hero-actions {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.15rem;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  background: var(--copper);
  color: var(--white);
}

.button[hidden] { display: none; }

.button-secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}

.photo-open {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.hero-image {
  margin: 0;
  grid-column: 2;
  grid-row: 1;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.hero-image img,
.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--paper-2);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.hero-image img {
  aspect-ratio: 1 / 1;
}

.hero-image figcaption,
.gallery-item figcaption {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.hero-image figcaption {
  padding-top: 0.8rem;
}

.hero-image figcaption,
.gallery-item figcaption span:last-child,
.cutaway figcaption,
.site-plan figcaption {
  font-family: var(--hand);
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.gallery h2,
.construction h2,
.materials h2,
.plan h2,
.location h2,
.cta h2 {
  font-size: clamp(2.8rem, 5.3vw, 5.7rem);
  line-height: 1.1;
}

.gallery {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.5fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.gallery-heading > p {
  max-width: 35rem;
  margin: 0;
  color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.gallery-all {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.gallery-item {
  margin: 0;
  min-width: 0;
}

.gallery-item img {
  aspect-ratio: 3 / 2;
}

.gallery-item-wide {
  grid-column: 1 / -1;
}

.gallery-item-wide img {
  aspect-ratio: 16 / 9;
}

.gallery-item-bleed {
  margin-inline: calc(50% - 50vw);
}

.gallery-item-bleed img {
  aspect-ratio: 21 / 9;
  outline: 0;
}

.gallery-item-bleed figcaption {
  padding-inline: var(--gutter);
}

.gallery-item figcaption {
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-item figcaption span:first-child {
  color: var(--ink);
  font-weight: 750;
}

.construction {
  padding: var(--section) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background: var(--blueprint), var(--navy);
  color: var(--white);
}

.construction-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.62fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.construction-intro > p:last-child {
  max-width: 43rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.construction-grid {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}

.construction-grid article {
  padding: 1.6rem 1.8rem 2.25rem 0;
  border-bottom: 1px solid var(--line-light);
}

.construction-grid article:not(:nth-child(3n + 1)) {
  padding-inline-start: 1.8rem;
  border-inline-start: 1px solid var(--line-light);
}

.number {
  color: var(--copper-light);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}

.construction-grid h3 {
  margin: 1.25rem 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.construction-grid p {
  max-width: 24rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.materials {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: var(--section) var(--gutter);
  display: grid;
  grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1.1fr);
  gap: clamp(3.5rem, 8vw, 8.5rem);
  align-items: start;
}

.materials-heading {
  position: sticky;
  top: 2rem;
}

.material-list {
  border-top: 1px solid var(--line);
}

.material-list article {
  min-width: 0;
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.material-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.3;
}

.material-list p {
  max-width: 40rem;
  margin: 0;
  color: var(--ink);
}

.swatch {
  width: 4.5rem;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  outline: 1px solid rgba(0, 0, 0, 0.1);
}

button.swatch { cursor: zoom-in; }

.cutaway {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}

.cutaway svg {
  width: 100%;
  height: auto;
  display: block;
}

.cutaway figcaption {
  max-width: 46rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.cut-ground { stroke: var(--line-light); stroke-width: 2; }
.cut-floor { stroke-dasharray: 6 6; }
.cut-basement { fill: rgba(255, 255, 255, 0.04); stroke: var(--line-light); stroke-width: 2; }
.cut-wall { fill: none; stroke: rgba(255, 255, 255, 0.8); stroke-width: 6; stroke-linejoin: round; }
.cut-window,
.cut-box { fill: rgba(255, 255, 255, 0.08); stroke: rgba(255, 255, 255, 0.7); stroke-width: 2; }
.cut-zone { fill: rgba(255, 255, 255, 0.04); }
.cut-line { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.cut-flow {
  fill: none;
  stroke: var(--copper-light);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 14 12;
  stroke-dashoffset: calc(var(--flow, 0) * 1px);
}

.cut-label { fill: rgba(255, 255, 255, 0.8); font: 400 21px var(--hand); }
.cut-num { fill: var(--copper-light); font: 400 26px var(--serif); }

.cut-system { transition: opacity 200ms ease-out; }
.cutaway.has-active .cut-system:not(.is-active) { opacity: 0.25; }
.cut-system.is-active :is(.cut-wall, .cut-line, .cut-box, .cut-window) { stroke: var(--copper-light); }
.cut-system.is-active .cut-zone { fill: rgba(224, 164, 107, 0.18); }
.construction-grid article.is-active h3 { color: var(--copper-light); }

.swatch-oak {
  background: linear-gradient(96deg, #c9af89 0 28%, #b79063 28% 32%, #d5bd98 32% 67%, #ad8458 67% 71%, #c8ad83 71%);
}

.swatch-cabinet {
  background: #b39a79;
  box-shadow: inset 0 0 0 0.6rem #c8b08e;
}

.swatch-walnut {
  background: linear-gradient(110deg, #3c281f, #6d4934 56%, #2e211b);
}

.swatch-tile {
  background: radial-gradient(circle at 35% 25%, #d8d0c1 0 12%, transparent 13%), #a99f8d;
}

.plan {
  padding: var(--section) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  background: var(--grain), var(--paper-2);
}

.site-plan {
  max-width: 34rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.site-plan svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.site-plan figcaption {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.sp-lot { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; stroke-dasharray: 8 6; }
.sp-house,
.sp-garage { fill: rgba(21, 33, 50, 0.06); stroke: var(--ink); stroke-width: 2.5; }
.sp-porch,
.sp-deck { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.sp-yard { fill: rgba(162, 86, 31, 0.08); stroke: none; }
.sp-dim { fill: none; stroke: var(--copper); stroke-width: 1.5; }
.sp-label { fill: var(--ink); font: 400 17px var(--hand); }

.plan-levels {
  border-top: 1px solid var(--line);
}

.plan-levels article {
  padding: 1.3rem 0;
  display: grid;
  grid-template-columns: minmax(7rem, 0.25fr) minmax(0, 1fr);
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.plan-levels span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-levels strong {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 650;
}

.location {
  padding: var(--section) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.62fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  background: var(--blueprint), var(--navy);
  color: var(--white);
}

.location-copy > p {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.location-copy > .location-address {
  margin-top: 1.6rem;
  color: var(--white);
  font-weight: 700;
}

.location-tags {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
}

.location-tags span {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 650;
}

.cta {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: var(--section) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: end;
}

.cta-copy > p {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-copy > .share-status {
  min-height: 1.3em;
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}

.location-map {
  margin-top: 1.4rem;
  display: inline-block;
}

.location-address + .location-map { margin-top: 0.5rem; }

html:has(.lightbox[open]) { overflow: hidden; }

.lightbox {
  touch-action: pan-y pinch-zoom;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 3.75rem var(--gutter) 2rem;
  border: 0;
  background: rgba(12, 18, 28, 0.96);
  color: var(--white);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop { background: rgba(12, 18, 28, 0.6); }

.lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
}

.lightbox figcaption,
.lightbox-count {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-align: center;
}

.lightbox-count {
  position: absolute;
  inset-block-start: 1.35rem;
  inset-inline-start: var(--gutter);
  margin: 0;
}

.lightbox button {
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
  /* Quick clicks through the photos would otherwise select the arrow glyphs. */
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-close {
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
}

.lightbox-prev,
.lightbox-next {
  inset-block-start: 50%;
  translate: 0 -50%;
}

.lightbox-prev { inset-inline-start: 0.75rem; }
.lightbox-next { inset-inline-end: 0.75rem; }

footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

footer strong { color: var(--ink); }
footer p { max-width: 46rem; margin: 0.35rem 0 0; }
footer a { align-self: flex-start; font-weight: 650; text-underline-offset: 0.25em; }

.listing-bar { display: none; }

@media (hover: hover) {
  .button,
  .quiet-link,
  footer a {
    transition-property: color, background-color, border-color;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
  }

  .button-primary:hover { background: var(--copper-deep); }
  .button-secondary:hover { border-color: var(--ink-soft); }

  .quiet-link,
  footer a { position: relative; }

  .quiet-link::after,
  footer a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -0.2em;
    height: 2px;
    background: var(--copper);
    scale: 0 1;
    transform-origin: left;
    transition: scale 300ms ease-out;
  }

  .location .quiet-link::after { background: var(--copper-light); }

  .quiet-link:hover::after,
  footer a:hover::after { scale: 1 1; }
  .quiet-link:hover,
  footer a:hover { color: var(--copper-deep); }
  .location .quiet-link:hover { color: var(--paper-2); }
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: scale 150ms ease-out, color 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out;
    -webkit-tap-highlight-color: transparent;
  }

  .button:not(:disabled):active { scale: 0.96; }
}

@media (max-width: 80rem) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts div:nth-child(odd) { padding-inline-start: 0; }
  .facts div:nth-child(3) { border-inline-start: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 70rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.9fr);
  }

  .construction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .construction-grid article:not(:nth-child(3n + 1)) { border-inline-start: 0; padding-inline-start: 0; }
  .construction-grid article:nth-child(even) { border-inline-start: 1px solid var(--line-light); padding-inline-start: 1.8rem; }
}

@media (max-width: 54rem) {
  .brand-sub { display: none; }

  .hero,
  .construction-intro,
  .gallery-heading,
  .materials,
  .plan,
  .location,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-copy { max-width: 44rem; }
  .hero-image,
  .hero-copy { grid-column: auto; grid-row: auto; }
  .hero-image img { aspect-ratio: 16 / 9; }

  .gallery-item img { aspect-ratio: 4 / 3; }
  .gallery-item-wide img { aspect-ratio: 16 / 9; }

  .gallery-item figcaption {
    flex-direction: column;
    gap: 0.15rem;
  }

  .gallery-item-bleed { margin-inline: 0; }
  .gallery-item-bleed img { outline: 1px solid rgba(0, 0, 0, 0.1); }
  .gallery-item-bleed figcaption { padding-inline: 0; }

  .materials-heading { position: static; }

  .location { align-items: start; }
  .cta { align-items: start; }
}

@media (max-width: 38rem) {
  .site-header {
    min-height: 4.5rem;
    gap: 1rem;
  }

  .brand-word { font-size: 1.45rem; }

  .hero {
    padding-top: 1.25rem;
    gap: 2rem;
  }

  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts div { padding-block: 0.9rem; }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-image img { aspect-ratio: 16 / 10; }

  .cta-actions { flex-direction: column; }
  .cta-actions .button { width: 100%; }
  .gallery-all { width: 100%; }

  :root { --section: 3.5rem; }

  .hero-actions { gap: 0.75rem; }
  .quiet-link { padding-block: 0.6rem; }

  .construction-intro,
  .gallery-heading,
  .materials,
  .location,
  .cta { gap: 1.5rem; }

  .gallery-heading { margin-bottom: 2rem; }
  .construction-grid { margin-top: 2.5rem; }
  .plan { gap: 2rem; }

  .gallery-grid { gap: 1.25rem 0.75rem; }
  .gallery-item img { aspect-ratio: 1 / 1; }
  .gallery-item-wide img { aspect-ratio: 4 / 3; }
  .gallery-item figcaption span:last-child { display: none; }

  .construction-grid article {
    padding-block: 1rem 1.25rem;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: baseline;
  }

  .construction-grid article:nth-child(even) { padding-inline-start: 1.25rem; }
  .number { font-size: 1rem; }
  .cut-label { display: none; }
  .sp-label { font-size: 22px; }
  .cut-num { font-size: 40px; }
  .construction-grid h3 { margin: 0 0 0.5rem; }
  .construction-grid p { grid-column: 2; }

  body:has(.listing-bar:not([hidden])) { padding-bottom: 4.5rem; }
  html:has(.listing-bar:not([hidden])) { scroll-padding-block-end: 4.5rem; }

  .listing-bar {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 50;
    padding: 0.95rem var(--gutter) calc(0.95rem + env(safe-area-inset-bottom));
    display: block;
    border-top: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font-weight: 750;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 0.28em;
    box-shadow: 0 -8px 24px rgba(21, 33, 50, 0.18);
  }

  .listing-bar[hidden] { display: none; }
  .header-listing { display: none; }

  .material-list article {
    grid-template-columns: 3.6rem minmax(0, 1fr);
    gap: 1rem;
  }

  .swatch { width: 3.6rem; }

  .plan-levels article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 30rem) {
  .construction-grid { grid-template-columns: 1fr; }
  .construction-grid article,
  .construction-grid article:nth-child(even) {
    padding-inline: 0;
    border-inline-start: 0;
  }
}

@media print {
  :root { --section: 2.5rem; }

  .skip-link,
  .hero-actions,
  .share-button,
  .share-status,
  .location-map,
  .lightbox,
  .header-listing,
  .listing-bar { display: none !important; }

  body,
  .construction,
  .location,
  .plan { background: #fff; color: var(--ink); }

  .section-label-light,
  .number,
  .construction-intro > p:last-child,
  .construction-grid p,
  .location-copy > p,
  .location-tags span { color: var(--ink-soft); }
  .location-copy > .location-address { color: var(--ink); }

  .construction-grid,
  .construction-grid article,
  .location-tags span { border-color: var(--line); }

  .hero { padding-top: 1rem; }

  .hero-image img,
  .gallery-item img,
  .gallery-item-wide img,
  .gallery-item-bleed img {
    max-height: 3.25in;
    aspect-ratio: 3 / 2;
  }

  .gallery-grid {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    overflow: visible;
  }

  .gallery-item-wide { grid-column: auto; }
  .gallery-item-bleed { margin-inline: 0; }
  .materials-heading { position: static; }

  figure,
  article,
  .plan-levels { break-inside: avoid; }

  .button-primary {
    border-color: var(--ink);
    background: none;
    color: var(--ink);
  }

  .cta .button-primary::after {
    content: attr(href);
    margin-inline-start: 0.5em;
    font-weight: 400;
  }

  .swatch { print-color-adjust: exact; }
  .reveal { opacity: 1 !important; translate: none !important; }
  body,
  .plan,
  .construction,
  .location { background-image: none; }
  .draw :is(path, line, rect):not(.cut-flow, .cut-floor, .sp-lot) { stroke-dasharray: none !important; }
  .hero-image img { animation: none; }
  .cut-flow { stroke: var(--copper); stroke-dashoffset: 0; }
  .cutaway :is(.cut-wall, .cut-line, .cut-box, .cut-window) { stroke: var(--ink); }
  .cut-label { fill: var(--ink-soft); }
  .cut-num { fill: var(--copper); }
  .cutaway figcaption { color: var(--ink-soft); }
  .cut-ground,
  .cut-basement { stroke: var(--ink-soft); }
  :focus-visible { outline: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .header-listing { transition: opacity 200ms ease, visibility 200ms; }

  .motion .reveal {
    opacity: 0;
    translate: 0 1.5rem;
    transition: opacity 700ms ease-out, translate 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .motion .reveal.is-in {
    opacity: 1;
    translate: 0 0;
  }

  .hero-image img { animation: hero-in 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  .motion .draw :is(path, line, rect):not(.cut-flow, .cut-floor, .sp-lot) {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.45, 0, 0.2, 1) 0.2s;
  }

  .motion :is(.draw.is-in, .is-in .draw) :is(path, line, rect):not(.cut-flow, .cut-floor, .sp-lot) {
    stroke-dashoffset: 0;
  }

  .photo-open { overflow: hidden; }
  .photo-open img { transition: scale 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }

  .gallery-item-bleed img {
    scale: 1.1;
    translate: 0 var(--drift, 0);
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .photo-open:hover img { scale: 1.03; }
  .gallery-item-bleed .photo-open:hover img { scale: 1.13; }
}

@keyframes hero-in {
  from { opacity: 0; scale: 1.06; }
  to { opacity: 1; scale: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
