/* design-direction: editorial-boutique */
/* layout: hero=type-ledge | about.manifesto gallery.mosaic rooms.price-poster band.pull-quote location.rail contact.postcard accent.bleed-numeral accent.stamp-overlap accent.offset-columns */
:root {
  --bg: #e8e0d1;
  --ink: #2a2118;
  --muted: #5c4f41;
  --accent: #2b5d8c;
  --accent-deep: #3a2a1c;
  --panel: #f3ede1;
  --line: #c9bba3;
  --wash: #d9cdb7;
  --accent-solid: #2b5d8c;
  --accent-on: #f7f3ec;
  --ink-on: #f4efe6;
  --focus: #0b57d0;
  --radius: 2px;
  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Archivo", "Segoe UI", sans-serif;
  --header: color-mix(in srgb, var(--bg) 92%, transparent);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    
    
    linear-gradient(180deg, var(--wash) 0, var(--bg) 220px);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 30;
  background: var(--ink); color: #fff; padding: 8px 12px;
}
.skip-link:focus { top: 12px; }
.shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.shell-narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: var(--header);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.12rem;
  text-decoration: none;
  font-weight: 700;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: 0.94rem; }
.site-nav a[aria-current="page"],
.site-nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  border-radius: 2px; padding: 0.5rem 0.85rem; font: inherit;
}
.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero--type-ledge { align-items: center; min-height: 48vh; }
.hero-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: relative; z-index: 1; width: 100%;
  padding: 3.25rem 0 2.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10,14,18,0.42) 48%, rgba(10,14,18,0.78) 100%);
  color: #f7f4ef;
}
.hero--type-ledge .hero-overlay {
  background: transparent; color: var(--ink); padding: 3.5rem 0 2rem;
}
.eyebrow {
  margin: 0 0 0.65rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.76rem; opacity: 0.85;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.02;
  max-width: 14ch;
  
  animation: rise 0.8s ease both;
}
.lede {
  max-width: 36rem; font-size: 1.08rem; opacity: 0.92;
  
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem;
  
}
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0.65rem 1.1rem;
  border-radius: 2px;
  background: #2b5d8c;
  color: #f7f3ec;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}
.button--ghost {
  background: transparent;
  border-color: color-mix(in srgb, currentColor 45%, transparent);
  color: inherit;
}
.button:hover { filter: brightness(0.95); }
.section { padding: 3.25rem 0; }
.section--tint { background: color-mix(in srgb, var(--wash) 70%, transparent); }
.section--ink {
  background: var(--accent-deep); color: #f4efe6;
  
}
.section--accent { background: var(--accent-solid); color: var(--accent-on); }
.section h2 {
  margin: 0 0 0.85rem;
  line-height: 1.12;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.section-kicker {
  margin: 0 0 0.4rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.75rem;
}
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1rem; }
.amenities {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  list-style: none; padding: 0; margin: 1.1rem 0 0;
}
.amenities li {
  padding: 0.4rem 0.75rem; border-radius: 2px;
  background: color-mix(in srgb, var(--accent) 12%, var(--panel));
}
.motif { width: min(280px, 70%); height: auto; }
.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.75rem;
}
.gallery-item { margin: 0; grid-column: span 6; overflow: hidden; border-radius: var(--radius); background: var(--wash); }
.gallery-item:first-child { grid-column: span 12; }
.gallery-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.contact-link { font-weight: 650; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.site-footer {
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 0.6rem; }
.footer-nav a { text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
* { animation: none !important; transition: none !important; }
}
.chapter { scroll-margin-top: 5rem; }
.site-nav a.is-active { color: var(--accent); }
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.gallery-item figcaption { padding: 0.55rem 0.2rem 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) {
.nav-toggle { display: inline-flex; }
.site-nav {
    display: none; position: absolute; left: 1rem; right: 1rem; top: 4.2rem;
    padding: 1rem; flex-direction: column; background: var(--panel);
    border: 1px solid var(--line); border-radius: 12px;
  }
.site-nav.is-open { display: flex; }
.gallery-item,
.gallery-item:first-child { grid-column: span 12; }
.hero { min-height: 48vh; }
}
@media (prefers-reduced-motion: reduce) {
[data-reveal] { opacity: 1; transform: none; transition: none; }
}
/* ---- composition blocks ---- */
.hero-media { position: absolute; inset: 0; }
/* Each line is scaled to the page width: by this estimate first, then exactly by js/main.js. */
/* Type-only heroes: the title is ink on the page background and the photo is a strip below it. */
.hero--type-ledge { display: block; min-height: 0; overflow: visible; background: var(--bg); }
.hero--type-ledge .hero-media { position: relative; height: clamp(240px, 44vh, 480px); background: var(--wash); }
.amenities li,
.contact-postcard { color: var(--ink); }
.section--accent .section-kicker,
.section--ink .section-kicker { color: inherit; opacity: 0.78; }
.section--accent .button {
  background: var(--ink); color: var(--bg); text-decoration: none;
}
/* about */
.manifesto-lede {
  margin: 0 0 1.4rem; font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: 1.15; letter-spacing: -0.01em;
}
.manifesto h2 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin-bottom: 0.7rem; }
.fact-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); margin: 2.5rem 0 0; padding: 0;
  border-top: 1px solid currentColor; border-bottom: 1px solid currentColor;
}
.fact-strip > div { padding: 1.1rem 1rem; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.fact-strip > div:first-child { border-left: 0; padding-left: 0; }
.fact-strip dt {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.75;
}
.fact-strip dd {
  margin: 0.25rem 0 0; font-family: var(--font-display); font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.2;
  overflow-wrap: anywhere;
}
.fact-strip > div { min-width: 0; }
/* rooms */
.price-poster { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.poster-price {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  padding: 2rem; border-radius: var(--radius); background: var(--accent-solid); color: var(--accent-on);
}
.section--accent .poster-price { background: var(--ink); color: var(--bg); }
.poster-copy { align-self: center; }
.poster-label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; opacity: 0.85; }
.poster-price strong { display: block; font-family: var(--font-display); font-weight: 700; }
.price-fig { display: flex; flex-direction: column; gap: 0.35rem; }
.price-num {
  display: block; font-size: clamp(5.5rem, 22vw, 11rem); line-height: 0.9; letter-spacing: -0.05em;
  font-variant-numeric: lining-nums; padding-bottom: 0.08em;
}
.price-unit { position: relative; z-index: 1; display: block; font-size: clamp(1rem, 2.2vw, 1.35rem); line-height: 1.2; letter-spacing: 0.01em; }
.poster-note { font-size: 0.95rem; opacity: 0.9; }
.whole-house { display: grid; gap: 0.15rem; margin: 0.9rem 0 0; }
.whole-house span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.whole-house strong,
.fact-strip strong { font-variant-numeric: lining-nums; }
.whole-house strong { font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.15; }
.poster-copy h2 { margin-top: 0; }
.poster-copy .button { margin-top: 1.1rem; }
/* location */
/* gallery */
.gallery--mosaic { grid-auto-flow: dense; }
.gallery--mosaic .gallery-item { grid-column: span 4; display: flex; flex-direction: column; }
.gallery--mosaic .gallery-item img { flex: 1 1 auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--mosaic .gallery-item:nth-child(5n+1) { grid-column: span 7; }
.gallery--mosaic .gallery-item:nth-child(5n+2) { grid-column: span 5; }
.gallery--mosaic .gallery-item:only-child,
.gallery--mosaic .gallery-item:last-child:nth-child(5n+3) { grid-column: span 12; }
.gallery--mosaic .gallery-item:last-child:nth-child(5n+4) { grid-column: span 8; }
/* faq */
/* contact */
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.6rem; margin-top: 1.4rem; }
.contact-row .contact-link { font-size: 1.15rem; }
.contact-postcard {
  position: relative; max-width: 760px; margin-inline: auto; padding: 2.2rem 2rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 10px 10px 0 color-mix(in srgb, var(--accent) 35%, transparent);
}
.contact-postcard h2 { padding-right: 7rem; }
.postcard-stamp {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 96px; padding: 0.4rem;
  border: 2px dashed var(--line); border-radius: 4px; transform: rotate(4deg);
}
.postcard-stamp .motif { width: 100%; }
/* bands */
.band { --band-fg: var(--ink); overflow: hidden; }
.band.section--ink { --band-fg: var(--ink-on); }
.band.section--accent { --band-fg: var(--accent-on); }
.band--quote { padding: 3.5rem 0; }
.band-quote {
  margin: 0; text-align: center; font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -0.01em;
}
/* hand-drawn motif of the art director: larger and fully opaque */
/* composition accents (body[data-accents]) */
.accent-stamp-anchor { position: relative; height: 0; z-index: 3; }
.accent-stamp {
  position: absolute; top: -4.2rem; right: max(1rem, calc((100vw - 1120px) / 2 + 1rem));
  width: clamp(110px, 16vw, 190px); aspect-ratio: 1; padding: 1.2rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--panel); color: var(--ink); border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--accent); transform: rotate(-9deg);
}
.accent-stamp .motif { width: 100%; height: auto; }
body[data-accents~="bleed-numeral"] .poster-price {
  position: relative; z-index: 2; margin-top: -2.75rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin-left: calc(-1 * max(1rem, (100vw - 1120px) / 2));
  padding-left: calc(max(1rem, (100vw - 1120px) / 2) + 1.75rem);
}
body[data-accents~="bleed-numeral"] .price-num { font-size: clamp(7rem, 32vw, 17rem); margin-block: 0; }
@media (min-width: 861px) {
body[data-accents~="offset-columns"] .price-poster > :last-child { margin-top: clamp(2rem, 7vw, 5.5rem); }
}
@media (max-width: 860px) {
.accent-stamp { top: -3.2rem; width: 104px; padding: 0.8rem; }
body[data-accents~="bleed-numeral"] .poster-price { margin-top: -1.75rem; }
.hero--type-ledge .hero-media { height: 240px; }
.price-poster { grid-template-columns: 1fr; }
.fact-strip { grid-template-columns: 1fr; }
.fact-strip > div { border-left: 0; padding-left: 0; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.fact-strip > div:first-child { border-top: 0; }
.gallery--mosaic .gallery-item { grid-column: span 12 !important; }
.contact-postcard h2 { padding-right: 0; margin-top: 3.5rem; }
}
