/* design-direction: meadow-folio */
/* layout: hero=marquee-type | about.ledger band.pull-quote gallery.filmstrip location.postcards rooms.amenity-grid faq.cards band.facts-strip contact.postcard accent.stamp-overlap accent.giant-index accent.offset-columns */
:root {
  --bg: #f3f5ee;
  --ink: #1a2419;
  --muted: #5a6a56;
  --accent: #4d6b35;
  --accent-deep: #2a3d1f;
  --panel: #fafbf7;
  --line: #cfd8c6;
  --wash: #e4eadc;
  --accent-solid: #4d6b35;
  --accent-on: #f7f3ec;
  --ink-on: #f4efe6;
  --focus: #0b57d0;
  --radius: 6px;
  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Figtree", "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:
    
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 36%),
    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: 6px; padding: 0.5rem 0.85rem; font: inherit;
}
.lang-switcher {
  display: inline-flex; align-items: center; gap: 0.35rem; flex-shrink: 0;
}
.lang-switcher[hidden] { display: none !important; }
.lang-switcher button {
  appearance: none; border: 1px solid transparent; background: transparent;
  color: var(--muted); font: inherit; font-size: 0.85rem; line-height: 1;
  padding: 0.35rem 0.45rem; border-radius: 6px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 0.3rem;
}
.lang-switcher button:hover { color: var(--ink); border-color: var(--line); }
.lang-switcher button.is-active,
.lang-switcher button[aria-pressed="true"] {
  color: var(--ink); border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.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;
}
.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,
.button-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0.65rem 1.1rem;
  border-radius: 6px;
  background: #4d6b35;
  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 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; }
.muted { color: var(--muted); }
.price-callout {
  display: inline-flex; gap: 0.5rem; align-items: baseline;
  margin-top: 1rem; padding: 0.9rem 1.05rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.price-callout strong { font-family: var(--font-display); font-size: 1.3rem; }
.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; }
body[data-design="meadow-folio"] .section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}
body[data-design="meadow-folio"] .section h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}
.rail-num { display: block; font-weight: 700; color: var(--accent); margin-bottom: 0.4rem; }
.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; }
}
.visual-support {
  margin: 1.25rem 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.visual-support img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.visual-support:hover img,
.gallery-item:hover img,
.hero-media:hover .hero-image {
  transform: scale(1.03);
}
[data-stagger] > * {
  animation: rise 0.7s ease both;
  animation-delay: calc(var(--stagger-index, 0) * 70ms);
}
.hero[data-parallax] .hero-image {
  will-change: transform;
  transform: scale(1.06);
}
.visual-support { margin-inline: -0.5rem; box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 12%, transparent); }
.chapter .prose { max-width: 58ch; }
@media (prefers-reduced-motion: reduce) {
[data-stagger] > * { animation: none; }
.visual-support img,
.gallery-item img,
.hero-image { transition: none !important; transform: none !important; }
}
/* ---- composition blocks ---- */
.hero-media { position: absolute; inset: 0; }
.hero--marquee-type { display: block; min-height: 0; overflow: visible; background: var(--bg); }
.hero--marquee-type .hero-overlay { background: transparent; color: var(--ink); padding: 3rem 0 1.75rem; }
.hero--marquee-type h1 { max-width: none; letter-spacing: -0.045em; }
/* Each line is scaled to the page width: by this estimate first, then exactly by js/main.js. */
.fit-title { line-height: 0.9; text-transform: uppercase; }
.fit-line {
  display: block; white-space: nowrap;
  font-size: min(calc(min(1120px, 100vw - 2rem) / (var(--chars) * 0.6)), 20vh);
}
.hero--marquee-type .hero-media { position: relative; height: clamp(240px, 44vh, 480px); background: var(--wash); }
/* Type-only heroes: the title is ink on the page background and the photo is a strip below it. */
.price-callout,
.postcard-card,
.amenity-tiles li,
.faq-cards details,
.contact-postcard { color: var(--ink); }
.section--ink .section-kicker,
.section--ink .muted { color: inherit; opacity: 0.78; }
/* about */
.ledger dt,
.band--facts dt {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.75;
}
.band--facts 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;
}
.band--facts dl > div { min-width: 0; }
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.25rem; margin: 1.5rem 0 2.2rem; }
.ledger > div { border-top: 3px solid var(--accent); padding-top: 0.75rem; }
.ledger dd {
  margin: 0.3rem 0 0; font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.5rem); line-height: 1.08; overflow-wrap: anywhere;
}
.ledger-cols { max-width: none; columns: 2 20rem; column-gap: 2.5rem; }
.ledger-cols .lede { column-span: all; max-width: 46rem; margin-top: 0; }
.ledger-cols p { margin-top: 0; }
/* rooms */
.price-callout strong { font-variant-numeric: lining-nums; }
.rooms-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.rooms-head .price-callout { margin-top: 0; }
.amenity-tiles {
  list-style: none; margin: 1.5rem 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem;
}
.amenity-tiles li {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; font-weight: 650;
}
.rooms-cta { margin-top: 0.5rem; }
/* location */
.postcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 1.5rem; }
.postcard-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; transform: rotate(-0.6deg);
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--accent) 30%, transparent);
}
.postcard-card:nth-child(even) { transform: rotate(0.7deg); margin-top: 1rem; }
.postcard-card h3 { margin: 0 0 0.5rem; font-family: var(--font-display); font-size: 1.2rem; }
.postcard-card p { margin: 0 0 0.75rem; color: var(--muted); }
/* gallery */
.gallery-bleed { overflow: hidden; }
.gallery--filmstrip {
  display: grid; grid-template-columns: none; grid-auto-flow: column;
  grid-auto-columns: min(78vw, 560px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--line) transparent;
  padding: 0.5rem max(1rem, calc((100vw - 1120px) / 2)) 1.25rem;
}
.gallery--filmstrip .gallery-item { grid-column: auto; scroll-snap-align: center; }
/* faq */
.faq-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-top: 1.25rem; }
.faq-cards details {
  align-self: start; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem;
}
.faq-cards summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); }
.faq-cards p { margin: 0.6rem 0 0; color: var(--muted); }
/* 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--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;
}
.band--facts { padding: 1.25rem 0; border-block: 1px solid var(--line); }
.band--facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; margin-block: 0; }
.band--facts dl > div { margin: 0; }
/* 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~="giant-index"] main { counter-reset: chapter; }
body[data-accents~="giant-index"] .chapter { position: relative; overflow: hidden; counter-increment: chapter; }
body[data-accents~="giant-index"] .chapter::before {
  content: counter(chapter, decimal-leading-zero);
  content: counter(chapter, decimal-leading-zero) / "";
  position: absolute; right: -0.04em; top: -0.16em; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -0.05em;
  font-size: clamp(9rem, 30vw, 24rem); color: currentColor; opacity: 0.07;
}
body[data-accents~="giant-index"] .chapter > * { position: relative; }
@media (max-width: 860px) {
.accent-stamp { top: -3.2rem; width: 104px; padding: 0.8rem; }
.hero--marquee-type .hero-media { height: 240px; }
.postcards,
.faq-cards,
.ledger { grid-template-columns: 1fr; }
.band--facts dl { grid-template-columns: 1fr; }
.postcard-card:nth-child(even) { margin-top: 0; }
.contact-postcard h2 { padding-right: 0; margin-top: 3.5rem; }
}
