/* The Fab Pad. Ivory and ink, with every color coming from the house.
   Fraunces, Inter, IBM Plex Mono. Turquoise is for rules, underlines, and arrows. */

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 520;
  font-display: swap;
  src: url("/assets/fonts/fab-pad/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 560;
  font-display: swap;
  src: url("/assets/fonts/fab-pad/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 520;
  font-display: swap;
  src: url("/assets/fonts/fab-pad/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fab-pad/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fab-pad/plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ivory: #fbf8f2;
  --ink: #141414;
  --accent: #19b5b0;
  --line: rgba(20, 20, 20, 0.14);
  --muted: rgba(20, 20, 20, 0.62);
  --wash: #efeae2;
  --serif: Fraunces, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(1rem, 3vw, 2rem);
  --header: 4rem;
  --wrap: 1120px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --block-gap: 7.5vh;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; background: var(--wash); }

picture { display: block; }

button, input { font: inherit; color: inherit; }

a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.55rem 0.8rem;
  z-index: 50;
}

.skip:focus { top: 0.5rem; }

.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;
}

section,
.facts,
.hero-bar { scroll-margin-top: calc(var(--header) + 0.5rem); }

h1, h2, .display, .facts dd, .distances dd, .term dd {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 em, h2 em, .halo em {
  font-style: italic;
  font-weight: 520;
}

h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  max-width: min(18ch, 100%);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  max-width: min(18ch, 100%);
}

p { margin: 0; }

.label,
.kicker,
.facts dt,
.distances dt,
.term dt,
.contacts dt,
figcaption,
.hero-bar,
.price-meta,
.offer-note,
.nav a,
.nav-cta,
.menu-toggle,
.lb-count,
.footer-links a,
.footer-note,
.refreshed .label {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
}

.kicker::after {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
}

figcaption { margin-top: 10px; }

.prose p { max-width: 34rem; }

.prose p + p { margin-top: 1rem; }

.prose p.feature-line {
  margin: 1.5rem 0 0.4rem;
  max-width: 16em;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(1.35rem, 1.95vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.prose p.feature-line em,
.prose .feature-phrase {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  font-size: clamp(1.35rem, 1.95vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.garden h2 .unwind { font-size: 1.15em; }

.approach .prose strong em {
  font-style: italic;
  font-weight: 700;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding: 0 var(--pad);
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms linear;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.wordmark {
  justify-self: start;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: none;
  color: var(--ink);
}

.brand-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.brand-meta span { white-space: nowrap; }

.nav,
.nav-cta { display: none; }

.menu-toggle {
  background: transparent;
  border: 0;
  color: var(--ink);
  min-height: 48px;
  padding: 0 0 0 1rem;
  cursor: pointer;
}

.menu-sheet {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 40;
  background: var(--ivory);
  padding: 1.5rem var(--pad) 3rem;
  overflow: auto;
}

.menu-sheet[hidden] { display: none; }

.menu-sheet a {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-decoration: none;
  color: var(--ink);
  padding: 0.45rem 0;
}

/* Hero */

.hero { margin: 0; }

.hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 60%;
}

.hero-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name avail"
    "meta meta";
  align-items: baseline;
  gap: 0.45rem 1rem;
  min-height: 48px;
  padding: 0.85rem var(--pad);
  border-bottom: 1px solid var(--line);
}

.hero-bar .brand-name { grid-area: name; justify-self: start; }
.hero-bar .brand-meta { grid-area: meta; }
.hero-bar > a { grid-area: avail; justify-self: end; white-space: nowrap; }

.hero-bar a,
.nav-cta,
.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
}

.arr {
  color: var(--accent);
  display: inline-block;
  transition: transform 180ms var(--ease);
}

a:hover .arr,
button:hover .arr { transform: translateX(4px); }

/* Statement */

main {
  display: flex;
  flex-direction: column;
  gap: var(--block-gap);
}

.statement {
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: var(--block-gap);
}

.deck {
  margin: 1.2rem 0 0;
  max-width: 32rem;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede { max-width: 34rem; margin-top: 1.35rem; }

.lede + .lede { margin-top: 0.8rem; }

.pull {
  margin: 1.45rem 0 0;
  max-width: 12em;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(1.75rem, 4.05vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.pull em {
  font-style: italic;
  font-weight: 520;
}

.statement-aerial {
  margin: 0;
}

.statement-aerial picture { display: block; }

.statement-aerial img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.statement-aerial figcaption {
  margin-top: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.price-block { margin-top: 2rem; }

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin: 0;
}

.display {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.96;
}

.price-meta { max-width: 18rem; line-height: 1.45; }

.offer-note {
  color: var(--ink);
  margin-top: 0.85rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

/* Facts */

.facts { margin: 0; }

.facts dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.facts dl > div {
  margin: 0;
  padding: 1.35rem 0.9rem 1.45rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div:first-child { border-left: 0; }

.facts dt { margin: 0; }

.facts dd {
  margin: 0.4rem 0 0;
  font-weight: 520;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  text-transform: none;
}

.facts dl > div:last-child { grid-column: 1 / -1; }

/* Chapters */

.chapter { padding: 0; }

.chapter.approach { padding-top: 0; }

.chapter-grid {
  display: flex;
  flex-direction: column;
  gap: var(--block-gap);
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.chapter .chapter-copy { display: contents; }

.chapter .label { order: 1; }
.chapter h2 { order: 2; }
.frame-primary { order: 3; }

.approach .label,
.approach figcaption { text-transform: none; }
.chapter .prose { order: 4; }
.chapter .actions { order: 5; }
.chapter .chapter-copy > .frame { order: 5; margin: 1rem 0 0; }
.frame-secondary { order: 5; }

.living .living-more {
  order: 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 0;
}

.living .living-more figure { margin: 0; min-width: 0; }
.living .living-more a,
.living .living-more picture { display: block; min-width: 0; width: 100%; }

.living .living-more img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}
.living .living-more.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kitchen .frame-primary {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 0;
}
.kitchen .frame-primary > figure,
.bedrooms .frame-primary { margin: 0; }
.kitchen .living-more .sink-detail picture { overflow: hidden; }

.garden {
  display: flex;
  flex-direction: column;
  gap: var(--block-gap);
}
.garden .living-more { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.garden .living-more img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}
.garden .bricks-strip img {
  width: 100%;
  height: 120px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
.bedrooms .living-more img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 42%;
}
.meet-hass { padding-top: 0; padding-bottom: 0; }
.meet-hass h2 { margin-bottom: 0.35rem; }
.meet-hass .chapter-copy { display: block; }
.meet-hass .hass-photo {
  width: min(100%, 400px);
  margin: 0;
}
.meet-hass .hass-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.garden .pos-lounge,
.garden .pos-lounge-pit { object-position: center 42%; }

.frame-link { display: block; text-decoration: none; color: inherit; }

.frame-door img,
.frame-sink img { width: 100%; height: auto; }

.door-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  touch-action: pan-y;
}

.door-track {
  display: flex;
  height: 100%;
  transition: transform 600ms var(--ease);
}

.door-slide {
  flex: 0 0 100%;
  height: 100%;
  min-width: 0;
}

.frame-door .door-slide picture,
.frame-door .door-slide .frame-link,
.frame-door .door-slide img {
  width: 100%;
  height: 100%;
}

.frame-door .door-slide img {
  object-fit: cover;
  object-position: center;
}

.door-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.door-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 252, 248, 0.55);
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.35);
  cursor: pointer;
}

.door-dots button.is-on { background: #fffcf8; }

@media (prefers-reduced-motion: reduce) {
  .door-track { transition: none; }
}

.frame-sink img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% 46%;
}

.frame-wide img,
.frame-side img { width: 100%; height: auto; }

.bleed img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: 58% 60%;
}

.texture {
  margin: 0 12px;
}

.texture img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center;
}

.refreshed {
  max-width: 34rem;
  margin-top: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.refreshed .label { display: block; margin-bottom: 0.4rem; }

/* Tour */

.tour .frame-primary { margin: 0; }
.tour video {
  width: 100%;
  height: auto;
  background: #1a1a1a;
}

/* Photographs */

.photos { padding-bottom: 0; }

.photos-overlay {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0 0 2.5rem;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
  overflow: auto;
}

.photos-overlay::backdrop { background: var(--ivory); }

.photos-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.35rem var(--pad);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.photos-bar button {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 48px;
  padding: 0 0.2rem;
  cursor: pointer;
}

body.photos-open { overflow: hidden; }

.photos-head {
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  margin: 0 auto 1.4rem;
}

.gallery-note { max-width: 34rem; margin-top: 1rem; }

.view-all { margin: 1rem var(--pad) 0; }

.gallery {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  background: var(--ivory);
}

.gallery figure {
  flex: 0 0 86vw;
  scroll-snap-align: start;
  margin: 0;
}

.shot { display: block; text-decoration: none; color: inherit; }

.shot-media {
  display: block;
  overflow: hidden;
  background: var(--wash);
}

.shot-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1);
  transition: transform 400ms var(--ease);
}

.gallery figcaption {
  padding-right: 0.4rem;
  transition: color 200ms linear;
}

.gallery figure:hover figcaption,
.gallery figure:focus-within figcaption { color: var(--ink); }

.pos-steps { object-position: 50% 60%; }
.pos-sink { object-position: 42% 46%; }
.pos-garden { object-position: 62% 58%; }
.pos-lounge { object-position: center 42%; }
.pos-street { object-position: 62% 40%; }
.pos-living { object-position: center 45%; }
.pos-kitchen { object-position: center; }

/* Neighborhood */

.neighborhood { padding-bottom: 0; }

.distances { margin: 0.4rem 0 0; }

.distances > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 8.5rem) 1fr;
  gap: 0.75rem 1rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.distances > div:last-child { border-bottom: 1px solid var(--line); }

.distances dt { margin: 0; }

.distances dd {
  margin: 0;
  font-weight: 520;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  text-transform: none;
}

.schools {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-size: 0.95rem;
}

/* Terms */

.terms { padding-bottom: 0; }

.terms-inner { width: min(var(--wrap), calc(100% - var(--pad) * 2)); margin-inline: auto; }

.term-list { margin-top: 1.6rem; }

.term {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.term:last-child { border-bottom: 1px solid var(--line); }

.term dt { margin: 0; }

.term dd {
  margin: 0;
  font-weight: 520;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  text-transform: none;
}

/* Inquire */

.inquire {
  background: var(--ink);
  color: var(--ivory);
  padding: var(--block-gap) var(--pad);
}

.inquire .label,
.inquire .contacts dt { color: rgba(251, 248, 242, 0.62); }

.inquire h2 { color: var(--ivory); }

.inquire a { color: var(--ivory); }

.inquire .arr { color: var(--accent); }

.contacts { margin: 1.6rem 0 0; }

.contacts > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0;
}

.contacts dt { margin: 0; }

.contacts dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.hint {
  display: block;
  margin-top: 0.15rem;
  color: rgba(251, 248, 242, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inquire .actions .btn {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}

.inquire .actions .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

/* Halo, footer, dock */

.halo {
  padding: 2.4rem var(--pad);
  border-top: 1px solid var(--line);
  text-align: center;
}

.halo p { max-width: 36rem; margin-inline: auto; }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: var(--block-gap);
  padding: var(--block-gap) var(--pad);
}

.footer-inner { width: min(var(--wrap), 100%); margin-inline: auto; }

.eho {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  max-width: 46rem;
}

.eho svg { flex: none; margin-top: 0.15rem; }

.eho p { margin: 0; font-size: 0.95rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin-top: 1.6rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.footer-note { margin-top: 1.1rem; }

.dock {
  display: none;
}

/* Lightbox */

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0.4rem var(--pad) 1rem;
  border: 0;
  border-radius: 0;
  background: var(--ivory);
  color: var(--ink);
}

.lightbox::backdrop { background: var(--ivory); }

.lb-bar,
.lb-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
}

.lb-bar button,
.lb-nav button {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 48px;
  padding: 0 0.2rem;
  cursor: pointer;
}

.lb-nav button { font-size: 1.4rem; letter-spacing: 0; }

.lb-count { margin: 0; color: var(--muted); }

#lb-stage {
  min-height: calc(100vh - 8.5rem);
  display: grid;
  align-content: center;
  justify-items: center;
}

#lb-stage figure { margin: 0; max-width: min(1100px, 100%); }

#lb-stage img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  background: transparent;
}

/* Motion */

.js .reveal {
  opacity: 0;
  transform: scale(1.03);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.js .reveal.bleed,
.js .gallery.reveal {
  transform: none;
}

@media (min-width: 720px) {
  .facts dl { grid-template-columns: repeat(4, 1fr); }
  .facts dl > div:last-child { grid-column: auto; }
}

@media (min-width: 960px) {
  :root { --block-gap: 11vh; }

  .menu-toggle,
  .menu-sheet,
  .view-all { display: none; }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
  }

  .nav a {
    text-decoration: none;
    color: var(--muted);
  }

  .nav a:hover { color: var(--ink); }

  .nav a:not(:last-child)::after {
    content: "·";
    margin-left: 0.8rem;
    color: var(--muted);
  }

  .nav-cta {
    display: inline-flex;
    justify-self: end;
    align-items: baseline;
    gap: 0.35rem;
  }

  .hero img {
    height: min(88vh, 900px);
    aspect-ratio: auto;
  }

  .statement {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "copy aerial"
      "offer aerial";
    column-gap: 2.25rem;
    row-gap: var(--block-gap);
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
  }

  .statement-copy { grid-area: copy; }
  .statement-offer { grid-area: offer; align-self: start; }

  .statement-aerial {
    grid-area: aerial;
    margin: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .statement-aerial picture {
    flex: 0 0 auto;
    min-height: 0;
  }

  .statement-aerial img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .chapter { padding: 0; }

  .approach .prose,
  .living .prose,
  .kitchen .prose,
  .bedrooms .prose,
  .garden .prose {
    margin-top: 2rem;
  }

  .chapter.approach { padding-top: 0; }

  .chapter-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.35rem;
    row-gap: var(--block-gap);
    align-items: start;
  }

  .chapter .chapter-copy { display: block; }

  .approach .chapter-grid { align-items: center; }
  .approach .frame-primary {
    order: 0;
    grid-column: 1 / 7;
    grid-row: 1;
    margin: 0;
    align-self: center;
  }
  .approach .chapter-copy {
    grid-column: 7 / 13;
    grid-row: 1;
    align-self: center;
  }

  .living .chapter-grid { align-items: center; row-gap: var(--block-gap); }
  .living .living-more {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 1.35rem;
  }
  .living .chapter-copy {
    grid-column: 1 / 7;
    grid-row: 1;
    align-self: center;
  }
  .living .frame-primary {
    order: 0;
    grid-column: 7 / 13;
    grid-row: 1;
    margin: 0;
    align-self: center;
  }
  .garden .chapter-grid.photo-left .frame-primary,
  .chapter-grid.photo-left .frame-primary { grid-column: 1 / 7; }
  .garden .chapter-grid.photo-left .chapter-copy,
  .chapter-grid.photo-left .chapter-copy { grid-column: 7 / 13; }
  .chapter-grid.align-top .chapter-copy { align-self: start; }
  .kitchen .chapter-copy { grid-column: 1 / 7; grid-row: 1; align-self: center; }
  .kitchen .frame-primary { grid-column: 7 / 13; grid-row: 1; align-self: center; }
  .bedrooms .chapter-grid { row-gap: 1.35rem; }
  .bedrooms .frame-primary { grid-column: 1 / 7; grid-row: 1; align-self: center; }
  .bedrooms .chapter-copy { grid-column: 7 / 13; grid-row: 1; align-self: center; }
  .bedrooms .living-more { grid-column: 1 / -1; grid-row: 2; }

  .gallery figure.shot-wide .shot-media img { aspect-ratio: 2800 / 1084; }

  .tour .frame-primary {
    grid-column: 1 / 7;
    grid-row: 1;
    max-width: none;
    margin: 0;
    align-self: center;
  }
  .tour .chapter-copy {
    grid-column: 7 / 13;
    grid-row: 1;
    align-self: center;
  }

  .meet-hass .chapter-grid {
    align-items: center;
    justify-content: start;
    grid-template-columns: max-content minmax(220px, 400px);
    column-gap: 2.5rem;
  }
  .meet-hass .chapter-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    width: max-content;
    max-width: min(28rem, 100%);
  }
  .meet-hass .hass-photo {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: start;
  }

  .bleed img {
    height: min(88vh, 920px);
    object-fit: cover;
  }

  .photos-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.25rem;
  }

  .photos-head-inner { grid-column: 2 / 11; }

  .gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .gallery figure { flex: none; }
  .gallery figure.shot-wide { grid-column: 1 / -1; }

  .gallery figure:hover .shot-media img { transform: scale(1.02); }

  .neighborhood .chapter-copy { grid-column: 2 / 8; }
  .neighborhood .distances { grid-column: 8 / 13; margin-top: 0.2rem; }
  .neighborhood .schools { grid-column: 2 / 12; }

  .terms-inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.25rem;
  }

  .terms-copy,
  .term-list { grid-column: 2 / 12; }

  .term {
    grid-template-columns: minmax(9rem, 4fr) 7fr;
    align-items: baseline;
    gap: 1.5rem;
  }

  .inquire-inner {
    width: min(var(--wrap), 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .inquire-copy { grid-column: 2 / 10; }
}

@media (min-width: 1100px) {
  .facts dl { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .facts dl > div:last-child { grid-column: auto; }

  .hero-bar {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "name meta avail";
    align-items: center;
    gap: 1rem 1.25rem;
  }

  .hero-bar .brand-meta { white-space: nowrap; }
}

@media (max-width: 959px) {
  main { gap: 1.75rem; }
  .chapter-grid,
  .statement { gap: 1.15rem; }
  .garden { gap: 1.75rem; }
  .chapter figure,
  .statement figure,
  .frame { margin-block: 0; }
  .price-block { margin-top: 1.15rem; }
  .actions { margin-top: 1rem; }
  .inquire { padding-top: 1.75rem; padding-bottom: 1.75rem; }
  .site-footer { margin-top: 1.75rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }

  .bedrooms .living-more { grid-template-columns: 1fr 1fr; }
  .bedrooms .living-more figure:first-child { grid-column: 1 / -1; }

  .dock.is-on {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    padding: 0.55rem var(--pad) calc(0.55rem + env(safe-area-inset-bottom));
    background: var(--ivory);
    border-top: 1px solid var(--line);
  }

  .dock .btn { width: 100%; }

  body.dock-on { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .arr,
  .shot-media img,
  .site-header,
  .gallery figcaption { transition: none; }

  .gallery figure:hover .shot-media img { transform: none; }
}
