/* ============================================================
   La Cour des Lavandes — property landing page
   Palette: cream / stone / lavender-grey / sage / charcoal / brass
   ============================================================ */

:root {
  --cream: #f7f4ee;
  --stone: #ece7dc;
  --lavender: #8f8aa0;
  --sage: #a7ae9b;
  --charcoal: #2d2b28;
  --ink-soft: #5a564f;
  --brass: #b0975c;
  --white: #fffdf9;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max-narrow: 44rem;
  --max-wide: 74rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* guard against 100vw full-bleed scrollbar overflow */
}

/* Full-bleed utility: break a centered-column child out to viewport width */
.bleed {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw);
  box-sizing: border-box;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
}

h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.4rem; }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .8rem; }
p + p { margin-top: 1rem; }

a { color: inherit; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 1rem;
}

/* thin brass rule above eyebrows */
.gold-rule::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--brass);
  margin-bottom: 1.1rem;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.transition-line {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-style: italic;
  color: var(--charcoal);
  max-width: 30rem;
  margin: 0 auto;
  padding: clamp(1.8rem, 4vw, 2.8rem) 1.4rem 0;
}
.transition-line::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--brass);
  margin: 0 auto 1.6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 2.1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-solid { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn-solid:hover { background: var(--brass); border-color: var(--brass); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline, .btn-ghost-dark { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover, .btn-ghost-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-sm { padding: .55rem 1.3rem; font-size: .75rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease;
}
.nav.scrolled {
  background: rgba(247, 244, 238, .96);
  box-shadow: 0 1px 0 rgba(45,43,40,.08);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--white);
  transition: color .4s ease;
}
.nav-brand span { font-style: italic; }
.nav.scrolled .nav-brand { color: var(--charcoal); }
.nav-links { display: none; margin-left: auto; gap: 1.8rem; }
.nav-links a {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  transition: color .4s ease;
}
.nav.scrolled .nav-links a { color: var(--charcoal); }
.nav-links a:hover { color: var(--brass); }
.language-switch {
  display: flex;
  align-items: center;
  gap: .38rem;
  margin-left: auto;
  white-space: nowrap;
}
.language-switch a,
.language-switch span {
  color: var(--white);
  font-size: .7rem;
  letter-spacing: .14em;
  text-decoration: none;
  transition: color .4s ease;
}
.language-switch [aria-current="page"] { color: var(--brass); font-weight: 500; }
.language-switch a:hover { color: var(--brass); }
.nav.scrolled .language-switch a,
.nav.scrolled .language-switch span:not([aria-current="page"]) { color: var(--charcoal); }
.nav-cta { margin-left: auto; color: var(--white); border-color: rgba(255,255,255,.8); padding: .6rem 1.4rem; font-size: .75rem; }
.nav-cta:hover { background: var(--white); color: var(--charcoal); }
.nav.scrolled .nav-cta { color: var(--charcoal); border-color: var(--charcoal); }
.nav.scrolled .nav-cta:hover { background: var(--charcoal); color: var(--white); }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .language-switch { margin-left: 0; }
  .nav-cta { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  /* Weighted to the lower half, where the headline and CTAs sit — the real
     photograph is bright there and white type needs the help. */
  background: linear-gradient(to top,
    rgba(24,22,20,.82) 0%,
    rgba(24,22,20,.62) 30%,
    rgba(24,22,20,.34) 60%,
    rgba(24,22,20,.22) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.4rem clamp(4rem, 10vh, 7rem);
}
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: .6rem;
}
.hero-hook {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic;
  max-width: 38rem;
  margin-bottom: 1.4rem;
  color: rgba(255,255,255,.92);
}
.hero-price {
  font-family: var(--sans);
  font-size: 1.15rem;
  letter-spacing: .12em;
  margin-bottom: 1.8rem;
}
.hero-price span {
  display: block;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: .2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 2.6rem;
  background: rgba(255,255,255,.7);
  animation: drip 2.4s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 1.4rem; }
.section-narrow { max-width: var(--max-narrow); margin: 0 auto; }
.section-wide { max-width: var(--max-wide); margin: 0 auto; }
.section-head { max-width: var(--max-narrow); margin-bottom: clamp(1.8rem, 4vw, 3rem); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  margin-top: 2.2rem;
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 clamp(.6rem, 2vw, 1.4rem);
  box-sizing: border-box;
}
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: .9rem; }
}
.g-item { position: relative; display: block; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.g-item > a { display: block; width: 100%; height: 100%; }
/* <picture> is inline by default; it must fill its cell or the grid collapses */
.g-item picture,
.chapter-media picture,
.band-media picture { display: block; width: 100%; height: 100%; }
.g-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1), opacity .6s ease;
}
.g-item:hover img { transform: scale(1.045); }
.g-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem .9rem .7rem;
  background: linear-gradient(to top, rgba(24,22,20,.78), rgba(24,22,20,0));
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}
.g-item figcaption em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(255,255,255,.8);
  margin-top: .15rem;
}
.gallery-note {
  margin-top: 1.6rem;
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
  font-style: italic;
}

/* Keep the gallery and property chapters visually connected. These adjacent
   sections otherwise stack their full edge padding and create a large void. */
#gallery { padding-bottom: 1.5rem; }
#property { padding-top: 1.5rem; }

/* ---------- Chapters ---------- */
.chapter {
  display: grid;
  min-width: 0;
  gap: 1.8rem;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.chapter > * { min-width: 0; }
.outbuilding-chapter { align-items: start; }
.chapter:last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .chapter { grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); }
  /* Flip = mirror the top row (text left, wide image right). Place explicitly:
     using `order` here pushed the image past the full-width carousel to the bottom. */
  .chapter-flip { grid-template-columns: 5fr 7fr; }
  .chapter-flip .chapter-text { grid-column: 1; grid-row: 1; }
  .chapter-flip .chapter-media { grid-column: 2; grid-row: 1; }
}
@media (min-width: 650px) and (max-width: 859px) {
  .outbuilding-chapter { grid-template-columns: 7fr 5fr; gap: 2rem; }
}
.chapter-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chapter-num {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .7rem;
}
.chapter-facts {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--brass);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Per-chapter gallery ---------- */
.chapter-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: 1.4rem;
}
@media (min-width: 860px) {
  .chapter-gallery { grid-template-columns: repeat(4, 1fr); gap: .7rem; }
}
.chapter-gallery a { display: block; overflow: hidden; background: var(--stone); }
.chapter-gallery picture { display: block; width: 100%; height: 100%; }
.chapter-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2,.6,.2,1), opacity .5s ease;
}
.chapter-gallery a:hover img { transform: scale(1.05); }

/* ---------- Main House slideshow ---------- */
.chapter-slideshow {
  grid-column: 1 / -1;
  width: min(100%, 48rem);
  margin-inline: auto;
  margin-top: 1.4rem;
}
.slideshow-stage {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}
.slideshow-stage a,
.slideshow-stage img { display: block; width: 100%; }
.slideshow-stage img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity .25s ease;
}
.slideshow-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: .75rem 1.2rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  background: rgba(24,22,20,.75);
}
.slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.slideshow-controls button {
  border: 0;
  border-bottom: 1px solid var(--brass);
  padding: .25rem 0;
  background: transparent;
  color: var(--charcoal);
  font: inherit;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.slideshow-controls button:hover,
.slideshow-controls button:focus-visible { color: var(--brass); }
.slideshow-controls p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.slideshow-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(7.5rem, 1fr);
  gap: .55rem;
  overflow-x: auto;
  padding: 0 0 .6rem;
  scrollbar-color: var(--brass) var(--stone);
}
.slideshow-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: var(--stone);
  cursor: pointer;
  opacity: .62;
  transition: opacity .25s ease, border-color .25s ease;
}
.slideshow-thumbs button:hover,
.slideshow-thumbs button:focus-visible,
.slideshow-thumbs button.is-active {
  border-color: var(--brass);
  opacity: 1;
}
.slideshow-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 860px) {
  .slideshow-stage { max-height: 42rem; }
  .slideshow-thumbs { grid-auto-columns: minmax(8.5rem, 1fr); }
}

.chapter-photo-carousel {
  grid-column: 1 / -1;
  display: flex;
  gap: .7rem;
  min-width: 0;
  overflow-x: auto;
  padding: 0 0 .7rem;
  margin-top: 1.4rem;
  scrollbar-color: var(--brass) var(--stone);
  scroll-snap-type: x proximity;
}
.chapter-photo-carousel-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}
.chapter-photo-carousel-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.chapter-photo-carousel-head div { display: flex; gap: 1rem; }
.chapter-photo-carousel-head button {
  border: 0;
  border-bottom: 1px solid var(--brass);
  padding: .25rem 0;
  background: transparent;
  color: var(--charcoal);
  font: inherit;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.chapter-photo-carousel-head button:hover,
.chapter-photo-carousel-head button:focus-visible { color: var(--brass); }
.chapter-photo-carousel-head + .chapter-photo-carousel { margin-top: .75rem; }
.chapter-photo-carousel a {
  flex: 0 0 clamp(10rem, 23vw, 15rem);
  display: block;
  overflow: hidden;
  background: var(--stone);
  scroll-snap-align: start;
}
.chapter-photo-carousel picture { display: block; }
.chapter-photo-carousel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .7s ease;
}
.chapter-photo-carousel a:hover img { transform: scale(1.04); }

/* ---------- Call-to-action band ---------- */
.cta-band {
  text-align: center;
  padding: clamp(2.2rem, 5vw, 3.5rem) 1.4rem;
  background: var(--white);
  border-top: 1px solid rgba(176,151,92,.35);
  border-bottom: 1px solid rgba(176,151,92,.35);
}
.cta-band.on-stone { background: var(--stone); }
.cta-band p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-style: italic;
  color: var(--charcoal);
  max-width: 34rem;
  margin: 0 auto 1.6rem;
  line-height: 1.35;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.cta-band p.cta-note {
  font-family: var(--sans);
  font-size: .78rem;
  font-style: normal;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1.3rem auto 0;
}

/* ---------- Surrounding area gallery ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  margin-top: 2.2rem;
}
@media (min-width: 760px) {
  .area-grid { grid-template-columns: repeat(4, 1fr); gap: .9rem; }
  .area-grid-small { grid-template-columns: repeat(3, 1fr); max-width: 62rem; margin-left: auto; margin-right: auto; }
}
.area-item { position: relative; display: block; overflow: hidden; background: var(--stone); }
.area-item > a { display: block; }
.area-item picture { display: block; width: 100%; height: 100%; }
.area-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1);
}
.area-item:hover img { transform: scale(1.05); }
.area-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem .9rem .7rem;
  background: linear-gradient(to top, rgba(24,22,20,.78), rgba(24,22,20,0));
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.area-item figcaption em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(255,255,255,.8);
  margin-top: .15rem;
}

/* ---------- Income figures ---------- */
.income-figures {
  display: grid;
  gap: 1.25rem 1rem;
  width: 100vw;
  margin: clamp(1.4rem, 3vw, 2rem) 0 0 calc(50% - 50vw);
  padding: clamp(1.8rem, 3.5vw, 2.5rem) max(1.4rem, calc((100vw - var(--max-narrow)) / 2));
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
}
@media (min-width: 620px) { .income-figures { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .income-figures { grid-template-columns: repeat(4, 1fr); } }
.income-figures div { padding: .4rem; }
.income-figures dt {
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247,244,238,.65);
  margin-bottom: .7rem;
}
.income-figures dd { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--white); }
.income-figures dd span {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247,244,238,.65);
  margin-top: .45rem;
}
.income-figures .highlight { background: transparent; }
.income-disclaimer {
  padding-top: 1.1rem;
  font-size: .8rem;
  line-height: 1.7;
  color: rgba(247,244,238,.68);
}
.income-disclaimer strong {
  color: var(--white);
  font-weight: 400;
}
.income-total {
  border: 1px solid var(--brass);
  padding: 1.6rem 1.5rem;
  text-align: center;
  margin-bottom: 1.4rem;
}
.income-total dt {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .5rem;
}
.income-total dd { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.8rem); }
.income-caveat {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.airbnb-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--brass);
  padding-bottom: .2rem;
  text-decoration: none;
}
.airbnb-link:hover { color: var(--brass); }

/* ---------- Grounds band ---------- */
.band {
  display: grid;
  background: var(--stone);
  padding: 0;
}
@media (min-width: 900px) {
  .band { grid-template-columns: 1fr 1fr; }
}
.band-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.band-text {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.4rem, 5vw, 4rem);
  align-self: center;
  max-width: 38rem;
}
.grounds-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem;
  padding: .55rem;
  background: var(--white);
}
@media (min-width: 760px) {
  .grounds-gallery { grid-template-columns: repeat(4, 1fr); }
}
.grounds-gallery a,
.grounds-gallery picture { display: block; overflow: hidden; }
.grounds-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.6,.2,1), filter .4s ease;
}
.grounds-gallery a:hover img {
  transform: scale(1.04);
  filter: brightness(.94);
}

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 820px) { .location-grid { grid-template-columns: repeat(3, 1fr); } }
.loc-col h3 {
  font-size: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--brass);
  margin-bottom: 1rem;
}
.loc-col ul { list-style: none; }
.loc-col li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  font-size: .95rem;
  border-bottom: 1px solid rgba(45,43,40,.08);
}
.loc-col li em {
  font-style: normal;
  color: var(--lavender);
  white-space: nowrap;
  font-size: .85rem;
  letter-spacing: .06em;
}
.map-wrap iframe {
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(.55) sepia(.12);
}
.map-wrap {
  max-width: 48rem;
  margin: 0 auto;
}
.map-caption {
  margin-top: .7rem;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.location-carousel-head {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.location-area-carousel {
  margin-top: .75rem;
}
.location-area-carousel .area-location-card {
  position: relative;
  flex-basis: clamp(12rem, 28vw, 19rem);
}
.area-location-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem .9rem .75rem;
  background: linear-gradient(to top, rgba(24,22,20,.82), rgba(24,22,20,0));
  color: var(--white);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Income ---------- */
.band-cream { background: var(--white); max-width: none; }
.band-cream > * { max-width: var(--max-narrow); margin-left: auto; margin-right: auto; }
.band-cream > .income-figures {
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
}
.band-cream h2, .band-cream p { max-width: var(--max-narrow); }
#income {
  padding-top: clamp(2.2rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.2rem, 4vw, 3.25rem);
  background: var(--charcoal);
  color: var(--cream);
}
#income .eyebrow { margin-bottom: .9rem; }
#income h2 { margin-bottom: .8rem; }
#income .eyebrow { color: rgba(247,244,238,.62); }
#income h2 { color: var(--white); }
#income .lede { color: rgba(247,244,238,.76); }
#income .income-figures {
  border-top: 1px solid rgba(247,244,238,.18);
  border-bottom: 1px solid rgba(247,244,238,.18);
}
.income-note {
  margin-top: 1.6rem;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- Key facts ---------- */
.facts {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.4rem;
}
.facts dl {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  text-align: center;
}
@media (min-width: 820px) { .facts dl { grid-template-columns: repeat(6, 1fr); } }
.facts dt {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--white);
}
.facts dd {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247,244,238,.65);
  margin-top: .3rem;
}

/* ---------- Enquiry form ---------- */
.contact-quick { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.enquiry-form label {
  display: block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.field-optional {
  letter-spacing: .08em;
  text-transform: none;
  opacity: .65;
}
.form-row { display: grid; gap: 0 1.4rem; }
@media (min-width: 680px) { .form-row { grid-template-columns: 1fr 1fr; } }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  display: block;
  width: 100%;
  margin-top: .45rem;
  padding: .8rem .2rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(45,43,40,.3);
  border-radius: 0;
  transition: border-color .3s ease;
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-bottom-color: var(--brass);
}
.phone-group { display: grid; grid-template-columns: auto 1fr; gap: .8rem; }
.btn-submit { width: 100%; margin-top: .6rem; }
@media (min-width: 680px) { .btn-submit { width: auto; } }
.form-privacy { margin-top: 1.1rem; font-size: .8rem; color: var(--ink-soft); }
.form-privacy a { color: var(--brass); }
.form-status { margin-top: 1rem; font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--sage); }

/* ---------- Footer ---------- */
.footer { background: var(--stone); padding: 3.5rem 1.4rem 2.5rem; }
.footer-inner { max-width: var(--max-narrow); margin: 0 auto; text-align: center; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1.4rem; }
.footer-fr, .footer-legal { font-size: .8rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; margin: 1.6rem 0; }
.footer-links a {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  border-bottom: 1px solid var(--brass);
  padding-bottom: .15rem;
}
.footer-copy { font-size: .75rem; letter-spacing: .1em; color: var(--ink-soft); }

/* ---------- Lightbox ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24,22,20,.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(255,255,255,.85);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: .8rem;
}
.lb-close { top: .8rem; right: 1.2rem; }
.lb-prev { left: .6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .6rem; top: 50%; transform: translateY(-50%); }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed;
  z-index: 90;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 30rem;
  background: var(--white);
  border: 1px solid var(--brass);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 12px 40px rgba(24,22,20,.18);
  font-size: .85rem;
  color: var(--ink-soft);
}
.cookie-bar a { color: var(--brass); }
.cookie-actions { display: flex; gap: .7rem; margin-top: .9rem; }


/* ---------- Staggered tile reveals ---------- */
.reveal .g-item,
.reveal .chapter-gallery a,
.reveal .area-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.6,.2,1);
}
.reveal.visible .g-item,
.reveal.visible .chapter-gallery a,
.reveal.visible .area-item { opacity: 1; transform: none; }
.reveal.visible .g-item:nth-child(2),
.reveal.visible .chapter-gallery a:nth-child(2),
.reveal.visible .area-item:nth-child(2) { transition-delay: .12s; }
.reveal.visible .g-item:nth-child(3),
.reveal.visible .chapter-gallery a:nth-child(3),
.reveal.visible .area-item:nth-child(3) { transition-delay: .24s; }
.reveal.visible .g-item:nth-child(4),
.reveal.visible .chapter-gallery a:nth-child(4) { transition-delay: .36s; }
.reveal.visible .g-item:nth-child(5) { transition-delay: .48s; }
.reveal.visible .g-item:nth-child(6) { transition-delay: .6s; }
.reveal.visible .g-item:nth-child(7) { transition-delay: .72s; }
.reveal.visible .g-item:nth-child(8) { transition-delay: .84s; }

/* slow settle on the image inside as the tile arrives */
.reveal .g-item img,
.reveal .area-item img { transform: scale(1.06); }
.reveal.visible .g-item img,
.reveal.visible .area-item img { transform: scale(1); transition: transform 1.6s cubic-bezier(.2,.6,.2,1); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal .g-item, .reveal .chapter-gallery a, .reveal .area-item,
  .reveal .g-item img, .reveal .area-item img { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-scroll span, .g-item img { animation: none; transition: none; }
}

/* ============================================================
   Motion layer — photo reveals, scroll, hero life, lightbox
   All additive; degrades to visible if JS is off.
   ============================================================ */

/* Staggered image reveal on scroll (class + delay applied by JS) */
.io-img {
  opacity: 0;
  transform: translateY(20px) scale(.985);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.io-img.in { opacity: 1; transform: none; }

/* Hero: slow Ken Burns settle + content rising in on load */
.hero-media img { animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-content > * { opacity: 0; animation: heroUp .9s ease forwards; }
.hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-content > *:nth-child(2) { animation-delay: .30s; }
.hero-content > *:nth-child(3) { animation-delay: .45s; }
.hero-content > *:nth-child(4) { animation-delay: .60s; }
.hero-content > *:nth-child(5) { animation-delay: .75s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Buttons: subtle lift */
.btn { transition: background .3s ease, color .3s ease, border-color .3s ease, transform .25s ease, box-shadow .3s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-solid:hover, .btn-outline:hover, .btn-ghost-dark:hover { box-shadow: 0 8px 22px rgba(45,43,40,.18); }

/* Lightbox: fade + zoom instead of instant show */
.lightbox { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { transform: scale(.96); transition: transform .4s cubic-bezier(.2,.6,.2,1); }
.lightbox.open img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .io-img { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  .hero-content > * { opacity: 1; animation: none; }
  .btn:hover { transform: none; }
  .lightbox, .lightbox img { transition: none; }
}

/* ============================================================
   Editorial polish — photo grade, dividers, sticky bar,
   mobile nav, lightbox caption
   ============================================================ */

/* Consistent warm grade + vignette + film grain so uneven photo
   quality reads as one cohesive collection (hero left crisp). */
.g-item img, .area-item img, .chapter-gallery img,
.band-media img, .chapter-media img {
  filter: saturate(1.06) contrast(1.03) brightness(1.02) sepia(.05);
}
.g-item, .area-item, .chapter-gallery a { position: relative; }
.g-item::after, .area-item::after, .chapter-gallery a::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 55px rgba(24,22,20,.22);
}
.g-item::before, .area-item::before, .chapter-gallery a::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.g-item figcaption, .area-item figcaption { z-index: 2; }

/* Ornamental brass divider for flat cream-on-cream joins */
.rule-brass { border: 0; width: 3.5rem; height: 1px; background: var(--brass); margin: clamp(2.5rem, 7vw, 5rem) auto; }

/* Sticky mini price / CTA bar (shown after hero, hidden near form) */
.pricebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 2rem);
  background: rgba(45,43,40,.96); backdrop-filter: blur(8px); color: var(--white);
  transform: translateY(110%); transition: transform .4s cubic-bezier(.2,.6,.2,1);
}
.pricebar.show { transform: none; }
.pricebar-price { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .04em; }
.pricebar-price span {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-left: .7rem;
}
.pricebar .btn { padding: .6rem 1.6rem; font-size: .74rem; }
.pricebar .btn-solid { background: var(--brass); border-color: var(--brass); }
.pricebar .btn-solid:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
@media (max-width: 520px) { .pricebar-price span { display: none; } }

/* Mobile hamburger + dropdown menu */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.2rem; height: 2.2rem; margin-left: .6rem;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; height: 1.5px; width: 1.4rem; background: var(--white); transition: transform .3s ease, opacity .3s ease; }
.nav.scrolled .nav-toggle span { background: var(--charcoal); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 860px) { .nav-toggle { display: none; } }
@media (max-width: 859px) {
  .nav-inner { position: relative; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(247,244,238,.98); backdrop-filter: blur(8px);
    padding: .3rem 1.4rem .8rem; box-shadow: 0 14px 34px rgba(24,22,20,.14);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--charcoal); padding: .8rem 0; border-bottom: 1px solid rgba(45,43,40,.08); }
  .nav-cta { display: none; }
}

/* Per-section carousel — 3-up sliding track (built from chapter galleries by JS) */
.carousel {
  display: block; /* override .chapter-gallery grid */
  position: relative; width: min(74rem, 100%); margin: 2rem auto 0;
}
.ss-track {
  display: flex; gap: .7rem; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ss-track::-webkit-scrollbar { display: none; }
.carousel .slide {
  position: relative; flex: 0 0 100%; margin: 0;
  scroll-snap-align: start; aspect-ratio: 3 / 2;
  overflow: hidden; background: var(--stone);
}
@media (min-width: 600px) { .carousel .slide { flex-basis: calc((100% - .7rem) / 2); } }
@media (min-width: 900px) { .carousel .slide { flex-basis: calc((100% - 1.4rem) / 3); } }
/* one-photo chapter: full width, no empty track gaps */
.carousel.single { width: min(56rem, 100%); }
.carousel.single .slide { flex-basis: 100%; }
.carousel .slide picture,
.carousel .slide img { display: block; width: 100%; height: 100%; }
.carousel .slide img { object-fit: cover; aspect-ratio: auto; }
.ss-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 2.6rem; height: 2.6rem; border: 0; cursor: pointer;
  background: rgba(24,22,20,.5); color: #fff; font-size: 1.4rem; line-height: 1;
  transition: background .3s ease;
}
.ss-btn:hover { background: rgba(24,22,20,.78); }
.ss-prev { left: -.3rem; } .ss-next { right: -.3rem; }

/* Lightbox caption */
.lb-caption {
  position: absolute; bottom: 1.1rem; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,.85); font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; padding: 0 3rem; pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .pricebar { transition: none; }
  .nav-toggle span { transition: none; }
}

/* ---------- TEMP: font trials — delete this block once a pair is chosen ---------- */
body[data-font="fraunces"] {
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}
body[data-font="marcellus"] {
  --serif: "Marcellus", "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
}
body[data-font="marcellus"] .lede,
body[data-font="marcellus"] .hero-hook,
body[data-font="marcellus"] .transition-line,
body[data-font="marcellus"] .cta-band p { font-style: normal; } /* Marcellus has no italic */
.font-trial {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  gap: .4rem;
  background: var(--white);
  border: 1px solid var(--brass);
  padding: .35rem;
  box-shadow: 0 8px 28px rgba(24,22,20,.16);
}
.font-trial button {
  width: 2rem;
  height: 2rem;
  border: 1px solid transparent;
  background: none;
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.font-trial button.active { border-color: var(--charcoal); color: var(--charcoal); }
