/* ==========================================================================
   Germiston House — stylesheet
   Palette: olive, sage, ivory, sand, terracotta, charcoal
   Type: Fraunces (display) + DM Sans (body)
   Mobile-first; desktop layouts start at 861px.
   ========================================================================== */

:root {
  --olive:       #34483C;
  --olive-deep:  #243228;
  --sage:        #A9B4A0;
  --sage-soft:   #CDD4C4;
  --ivory:       #F8F5ED;
  --sand:        #E8DFCF;
  --sand-deep:   #D9CCB4;
  --terracotta:  #B87558;
  --clay:        #9C5738;   /* terracotta darkened for text and buttons (AA on ivory) */
  --clay-deep:   #834527;
  --clay-light:  #E0AD90;   /* terracotta lightened for use on dark olive */
  --charcoal:    #292D29;
  --ink-soft:    #4A524B;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:    "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --focus: var(--clay);
  --nav-h: 76px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.facts, .living, .contact, .footer, .hero, .lightbox, .navbar.nav-open { --focus: var(--clay-light); }

.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;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 300;
  background: var(--ivory); color: var(--olive); padding: 10px 16px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 144px); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.15rem, 4.8vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.018em;
  max-width: 17ch;
  color: var(--olive);
}
.label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}
.section-head { margin-bottom: clamp(36px, 6vw, 72px); }
.section-head .display { margin-bottom: 18px; }
.section-intro { max-width: 44ch; color: var(--ink-soft); }
.section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 48px; }
.section-head--row .display { margin-bottom: 0; }

/* ── Buttons & links ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 600; font-size: .98rem; line-height: 1.2;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: var(--ivory); }
.btn-primary:hover { background: var(--clay-deep); }
.btn-ghost { border-color: rgba(248,245,237,.6); color: var(--ivory); }
.btn-ghost:hover { background: var(--ivory); color: var(--olive); border-color: var(--ivory); }
.btn-solid { background: var(--olive); color: var(--ivory); }
.btn-solid:hover { background: var(--olive-deep); }
.btn-lg { padding: 19px 32px; font-size: 1.05rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--olive);
  padding-bottom: 3px; border-bottom: 1px solid currentColor;
}
.text-link .icon { transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ── Navigation ───────────────────────────────────────────────────────── */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--ivory);
  transition: color .35s var(--ease);
}
.navbar::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(248,245,237,.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(52,72,60,.12);
  opacity: 0; transition: opacity .35s var(--ease);
}
.navbar.scrolled { color: var(--olive); }
.navbar.scrolled::before { opacity: 1; }
.navbar.nav-open { color: var(--ivory); }
.navbar.nav-open::before { opacity: 0; }

.nav-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--gutter);
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { position: relative; z-index: 3; display: block; line-height: 1.1; }
.logo-name { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; }
.logo-sub { display: block; font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; opacity: .8; margin-top: 3px; }

.nav-toggle {
  position: relative; z-index: 3;
  width: 46px; height: 46px; margin-left: auto; margin-right: -10px;
  background: none; border: 0;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.nav-links {
  position: fixed; inset: 0; z-index: 2;
  background: var(--olive-deep); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 4px; padding: 90px var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.nav-links.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
.nav-links a { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 350; line-height: 1.3; padding: 4px 0; }
.nav-links .nav-cta {
  margin-top: 24px; font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  padding: 15px 26px; background: var(--clay); border-radius: 2px;
}

@media (min-width: 981px) {
  .nav-toggle { display: none; }
  .nav-links {
    position: static; inset: auto; z-index: auto; background: none; color: inherit;
    flex-direction: row; align-items: center; gap: clamp(20px, 2.6vw, 38px); padding: 0;
    opacity: 1; visibility: visible; transition: none;
  }
  .nav-links a { font-family: var(--font-body); font-size: .95rem; font-weight: 500; padding: 4px 0; position: relative; }
  .nav-links li:not(:last-child) a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav-links li:not(:last-child) a:hover::after { transform: scaleX(1); }
  .nav-links .nav-cta {
    margin: 0; padding: 11px 20px; background: none; border: 1px solid currentColor; font-size: .92rem;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  }
  .nav-links .nav-cta:hover { background: var(--ivory); color: var(--olive); border-color: var(--ivory); }
  .navbar.scrolled .nav-links .nav-cta { background: var(--olive); color: var(--ivory); border-color: var(--olive); }
  .navbar.scrolled .nav-links .nav-cta:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--olive-deep); color: var(--ivory);
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.4s ease, transform 0s linear 1.4s;
}
.hero-slide:nth-child(1) { object-position: 50% 60%; }
.hero-slide.active {
  opacity: 1; transform: scale(1);
  transition: opacity 1.4s ease, transform 10s linear;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23,32,26,.6) 0%, rgba(23,32,26,.3) 28%, rgba(23,32,26,.58) 50%, rgba(23,32,26,.93) 100%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 140px var(--gutter) clamp(104px, 15vh, 150px);
}
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: .92rem; letter-spacing: .03em; color: rgba(248,245,237,.9);
}
.hero-kicker::before { content: ""; width: 32px; height: 1px; background: var(--clay-light); flex: none; }
.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3.1rem, 9.5vw, 7.6rem);
  line-height: .98; letter-spacing: -.028em;
  margin: 20px 0 24px;
}
.hero-title .line { display: block; }
.hero-title .line-2 { font-style: italic; font-weight: 300; color: var(--sage-soft); }
.hero-lede { max-width: 44ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: rgba(248,245,237,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.hero-address { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: rgba(248,245,237,.85); }

.hero-controls {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 32px;
  display: flex; align-items: center; gap: 4px;
}
.hero-bar { position: relative; width: 44px; height: 32px; background: none; border: 0; }
.hero-bar::before, .hero-bar::after {
  content: ""; position: absolute; left: 4px; right: 4px; top: 15px; height: 2px;
}
.hero-bar::before { background: rgba(248,245,237,.4); }
.hero-bar::after { background: var(--ivory); transform: scaleX(0); transform-origin: left; }
.hero-bar.active::after { animation: bar-fill var(--slide-ms, 6500ms) linear forwards; }
.hero-controls.is-paused .hero-bar.active::after { animation: none; transform: scaleX(1); }
@keyframes bar-fill { to { transform: scaleX(1); } }
.hero-pause { width: 32px; height: 32px; margin-left: 8px; background: none; border: 1px solid rgba(248,245,237,.5); border-radius: 50%; display: grid; place-items: center; transition: background-color .3s; }
.hero-pause:hover { background: rgba(248,245,237,.18); }
.pause-icon { width: 8px; height: 10px; border-left: 2px solid var(--ivory); border-right: 2px solid var(--ivory); }
.hero-controls.is-paused .pause-icon { width: 0; height: 0; border: 0; border-left: 8px solid var(--ivory); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-kicker, .hero-title .line, .hero-lede, .hero-actions, .hero-address { animation: rise 1s var(--ease) both; }
  .hero-kicker { animation-delay: .15s; }
  .hero-title .line:nth-of-type(1) { animation-delay: .3s; }
  .hero-title .line:nth-of-type(2) { animation-delay: .5s; }
  .hero-lede { animation-delay: .75s; }
  .hero-actions { animation-delay: .9s; }
  .hero-address { animation-delay: 1s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (min-width: 861px) {
  .hero-controls { left: auto; right: var(--gutter); bottom: 44px; }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(23,32,26,.55) 0%, rgba(23,32,26,0) 62%),
      linear-gradient(180deg, rgba(23,32,26,.55) 0%, rgba(23,32,26,.05) 24%, rgba(23,32,26,.25) 55%, rgba(23,32,26,.85) 100%);
  }
}

/* ── At a glance ──────────────────────────────────────────────────────── */
.facts { background: var(--olive); color: var(--ivory); }
.facts-list {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr;
}
.facts-list li {
  padding: 26px 18px 26px 0;
  border-bottom: 1px solid rgba(169,180,160,.28);
}
.facts-list li:nth-child(even) { padding-left: 18px; border-left: 1px solid rgba(169,180,160,.28); }
.facts-list li:nth-last-child(-n+2) { border-bottom: 0; }
.facts-main { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 350; line-height: 1.2; }
.facts-sub { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.4; color: var(--sage-soft); }
@media (min-width: 861px) {
  .facts-list { grid-template-columns: repeat(4, 1fr); }
  .facts-list li, .facts-list li:nth-child(even) { padding: 34px 28px; border: 0; border-left: 1px solid rgba(169,180,160,.28); }
  .facts-list li:first-child { padding-left: 0; border-left: 0; }
  .facts-main { font-size: 1.5rem; }
}

/* ── About ────────────────────────────────────────────────────────────── */
.about-grid { display: grid; gap: 64px; }
.about-lead {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.35;
  color: var(--olive); margin: 30px 0 22px; max-width: 30ch;
}
.about-text p:not(.label):not(.about-lead) { max-width: 52ch; color: var(--ink-soft); margin-bottom: 16px; }
.about-text .text-link { margin-top: 14px; }
.about-photos { position: relative; padding-bottom: 14%; }
.about-photos .about-arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; max-width: 520px; margin-left: auto; }
.about-photos .about-inset {
  position: absolute; left: -2%; bottom: 0; width: 50%;
  aspect-ratio: 4 / 3; border: 8px solid var(--ivory);
}
@media (min-width: 861px) {
  .about-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
  .about-text { grid-column: 1 / 7; }
  .about-photos { grid-column: 8 / 13; padding-bottom: 12%; }
  .about-photos .about-arch { max-width: none; }
  .about-photos .about-inset { left: -26%; width: 56%; }
}

/* ── Photos (shared) ──────────────────────────────────────────────────── */
.photo {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden;
  background: var(--sand-deep); cursor: zoom-in;
}
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.photo:hover img { transform: scale(1.035); }
.photo:focus-visible { outline-offset: 4px; }
.photo.img-missing img { display: none; }

/* ── Residence (editorial spreads) ────────────────────────────────────── */
.residence { background: var(--sand); }
.spread {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: clamp(56px, 9vw, 130px);
}
.spread > * { grid-column: 1 / -1; }
.s-text h3 {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: -.015em; color: var(--olive);
}
.s-text p { margin-top: 14px; max-width: 40ch; color: var(--ink-soft); }
.s-text { padding-block: 10px 6px; }

/* mobile compositions: indents and pairings, not plain stacking */
.spread .photo { aspect-ratio: 4 / 3; }
.spread--bedrooms .s-side { grid-column: 2 / -1; }
.spread--bathrooms .s-main { grid-column: 1 / 6; }
.spread--bathrooms .s-side { grid-column: 3 / -1; }
.spread--kitchens .s-two { grid-column: 2 / -1; }
.spread--social .s-wide { aspect-ratio: 16 / 10; }
.spread--social .s-a, .spread--social .s-b { grid-column: span 3; aspect-ratio: 3 / 4; }
.spread--social .s-b { margin-top: 28px; }
.spread--study .s-two { grid-column: 3 / -1; }

@media (min-width: 861px) {
  .spread { grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
  .spread > * { grid-column: auto; }

  /* Bedrooms: large image left, text and a portrait detail right */
  .spread--bedrooms .s-main { grid-column: 1 / 8; grid-row: 1 / 3; aspect-ratio: 4 / 3.3; }
  .spread--bedrooms .s-text { grid-column: 9 / 13; grid-row: 1; padding-top: 28px; }
  .spread--bedrooms .s-side { grid-column: 9 / 13; grid-row: 2; aspect-ratio: 4 / 3; }

  /* Bathrooms: mirrored */
  .spread--bathrooms .s-text { grid-column: 1 / 5; grid-row: 1; padding-top: 28px; }
  .spread--bathrooms .s-side { grid-column: 1 / 5; grid-row: 2; aspect-ratio: 4 / 5; }
  .spread--bathrooms .s-main { grid-column: 6 / 13; grid-row: 1 / 3; aspect-ratio: 4 / 4.2; }

  /* Kitchens: tall image left, wide image dropped lower right, text beneath */
  .spread--kitchens .s-one { grid-column: 1 / 6; grid-row: 1 / 3; aspect-ratio: 4 / 5.1; }
  .spread--kitchens .s-two { grid-column: 7 / 13; grid-row: 1; aspect-ratio: 4 / 3; margin-top: 64px; }
  .spread--kitchens .s-text { grid-column: 7 / 12; grid-row: 2; }

  /* Social: panoramic crop, then text with two portrait details */
  .spread--social .s-wide { grid-column: 1 / 13; aspect-ratio: 21 / 9; }
  .spread--social .s-text { grid-column: 1 / 6; grid-row: 2; padding-top: 32px; }
  .spread--social .s-a { grid-column: 7 / 10; grid-row: 2; aspect-ratio: 3 / 4; margin-top: 0; }
  .spread--social .s-b { grid-column: 10 / 13; grid-row: 2; aspect-ratio: 3 / 4; margin-top: 56px; }

  /* Study: inset image, tall companion, text beneath */
  .spread--study .s-one { grid-column: 3 / 9; grid-row: 1; aspect-ratio: 4 / 3; }
  .spread--study .s-two { grid-column: 10 / 13; grid-row: 1 / 3; aspect-ratio: 3 / 5; }
  .spread--study .s-text { grid-column: 3 / 8; grid-row: 2; }
}

/* ── Living here (typographic list) ───────────────────────────────────── */
.living { background: var(--olive); color: var(--ivory); }
.living .display { color: var(--ivory); }
.living-head p { margin-top: 20px; color: var(--sage-soft); max-width: 34ch; }
.living-grid { display: grid; gap: 44px; }
.living-list li { padding: 28px 0; border-top: 1px solid rgba(169,180,160,.3); }
.living-list li:last-child { border-bottom: 1px solid rgba(169,180,160,.3); }
.living-list h3 {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.2; margin-bottom: 8px;
}
.living-list p { max-width: 46ch; color: var(--sage-soft); }
@media (min-width: 861px) {
  .living-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
  .living-head { grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h) + 32px); }
  .living-list { grid-column: 7 / 13; }
}

/* ── Gallery ──────────────────────────────────────────────────────────── */
.gallery { background: var(--ivory); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery-grid .photo { aspect-ratio: 1 / 1; }
.gallery-grid .photo:nth-child(5n+1), .gallery-grid .photo:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.gallery-grid .photo:last-child img { object-position: 50% 40%; }
@media (min-width: 721px) {
  .gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: clamp(220px, 27vw, 380px) clamp(170px, 19vw, 270px);
    gap: clamp(8px, 1.2vw, 16px);
  }
  .gallery-grid .photo,
  .gallery-grid .photo:nth-child(5n+1),
  .gallery-grid .photo:last-child { grid-column: span 4; aspect-ratio: auto; height: 100%; }
  .gallery-grid .photo:nth-child(10n+1),
  .gallery-grid .photo:nth-child(10n+7),
  .gallery-grid .photo:nth-child(19) { grid-column: span 7; }
  .gallery-grid .photo:nth-child(10n+2),
  .gallery-grid .photo:nth-child(10n+6),
  .gallery-grid .photo:nth-child(18) { grid-column: span 5; }
}

/* ── Location ─────────────────────────────────────────────────────────── */
.location { background: var(--sand); }
.location-grid { display: grid; gap: 40px; }
.location-distance {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em;
  color: var(--clay); margin-top: 36px;
}
.location-to { max-width: 30ch; margin-top: 8px; font-size: 1.1rem; color: var(--olive); }
.location-address { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(52,72,60,.25); color: var(--ink-soft); line-height: 1.55; }
.location-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 28px; }
.map-container { position: relative; min-height: 340px; background: var(--sand-deep); }
.map-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(.7) contrast(.95); }
@media (min-width: 861px) {
  .location-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
  .location-text { grid-column: 1 / 6; }
  .map-container { grid-column: 7 / 13; min-height: 520px; }
}

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact { background: var(--olive-deep); color: var(--ivory); }
.contact-band { height: clamp(170px, 28vw, 380px); position: relative; overflow: hidden; }
.contact-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.contact-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,50,40,0) 55%, var(--olive-deep) 100%); }
.contact-grid { display: grid; gap: 48px; }
.contact .display { color: var(--ivory); max-width: 15ch; }
.contact-intro p { max-width: 42ch; margin: 22px 0 34px; color: var(--sage-soft); font-size: 1.1rem; }
.contact-list li { border-top: 1px solid rgba(169,180,160,.3); }
.contact-list li:last-child { border-bottom: 1px solid rgba(169,180,160,.3); }
.contact-list a, .c-static {
  display: flex; flex-direction: column; gap: 4px; padding: 22px 0;
  transition: color .3s var(--ease), padding-left .35s var(--ease);
}
.contact-list a:hover { color: var(--clay-light); padding-left: 10px; }
.c-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.c-value { font-family: var(--font-display); font-weight: 350; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
@media (min-width: 861px) {
  .contact-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
  .contact-intro { grid-column: 1 / 7; }
  .contact-list { grid-column: 8 / 13; }
}
@media (max-width: 560px) {
  .contact-intro .btn { width: 100%; }
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { background: var(--charcoal); color: var(--sage-soft); padding: 52px 0 40px; font-size: .92rem; }
.footer-inner { display: grid; gap: 32px; }
.footer-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--ivory); }
.footer-tagline { margin-top: 2px; color: var(--sage); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { padding: 4px 0; transition: color .25s; }
.footer-links a:hover, .footer-copy a:hover { color: var(--ivory); }
.footer-copy { color: var(--sage); }
.footer-copy a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 861px) {
  .footer-inner { grid-template-columns: 1.2fr 1.6fr 1.2fr; align-items: start; }
  .footer-copy { text-align: right; }
}

/* ── Floating WhatsApp button ─────────────────────────────────────────── */
.fab-whatsapp {
  position: fixed; z-index: 90; right: 18px; bottom: 18px;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive); color: var(--ivory);
  box-shadow: 0 0 0 3px var(--ivory), 0 8px 22px rgba(23,32,26,.3);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s, background-color .25s;
}
.fab-whatsapp .icon { width: 28px; height: 28px; }
.fab-whatsapp.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fab-whatsapp:hover { background: var(--clay); }

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,27,22,.95);
  opacity: 0; transition: opacity .3s var(--ease);
  color: var(--ivory);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-figure { margin: 0; max-width: min(92vw, 1400px); display: flex; flex-direction: column; align-items: center; }
.lb-img {
  max-width: 100%; max-height: 76vh; max-height: 76dvh; width: auto; height: auto; object-fit: contain;
  transition: opacity .25s ease; touch-action: pan-y;
}
.lb-img.swap { opacity: 0; }
.lb-caption { display: flex; gap: 18px; justify-content: space-between; width: 100%; margin-top: 14px; font-size: .92rem; color: var(--sage-soft); }
.lb-count { color: var(--sage); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(248,245,237,.06); border: 1px solid rgba(248,245,237,.3); border-radius: 50%;
  transition: background-color .25s;
}
.lb-btn:hover { background: rgba(248,245,237,.2); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { bottom: 18px; }
.lb-prev { left: calc(50% - 60px); }
.lb-next { right: calc(50% - 60px); }
.lb-figure { margin-bottom: 56px; }
@media (min-width: 861px) {
  .lb-prev, .lb-next { bottom: auto; top: 50%; transform: translateY(-50%); }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
  .lb-figure { margin-bottom: 0; }
}
body.lb-open { overflow: hidden; }

/* ── Scroll reveals (applied only once script.js has run) ─────────────── */
.js-ready [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.js-ready [data-reveal="image"] { transform: none; }
.js-ready [data-reveal="image"] img { scale: 1.08; transition: scale 1.4s var(--ease) var(--d, 0s), transform 1s var(--ease); }
.js-ready [data-reveal].visible { opacity: 1; transform: none; }
.js-ready [data-reveal="image"].visible img { scale: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
  .js-ready [data-reveal], .js-ready [data-reveal="image"] img { opacity: 1; transform: none; scale: 1; }
}
