/* ============================================================
   Stiglets Landing, the Historic Wool Market — Design System
   Historic-estate-meets-Gulf-Coast: airy, warm, premium, light.
   ============================================================ */

:root {
  /* --- Palette --- */
  --ivory: #FBF7F0;
  --ivory-dim: #F1E9D8;
  --paper: #FFFFFF;
  --charcoal: #22302A;
  --charcoal-dim: #52625A;
  --charcoal-mute: #7A867F;
  --green: #2E4636;
  --green-deep: #1D2E23;
  --green-mid: #3C5A46;
  --brass: #A97C3E;
  --brass-light: #C9A268;
  --sage: #8AA290;
  --sage-pale: #E9EEE6;
  --aqua: #5FA8AD;
  --aqua-deep: #356F73;
  --line: rgba(34, 48, 42, 0.14);
  --line-soft: rgba(34, 48, 42, 0.08);
  --line-onDark: rgba(251, 247, 240, 0.22);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --wrap-wide: 1400px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius: 6px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 116px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory); color: var(--charcoal);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.18;
  letter-spacing: -0.005em; color: var(--green-deep); text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.06; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.8rem); }
p { max-width: 68ch; text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); display: inline-block;
}
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--charcoal-dim); line-height: 1.7; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: var(--wrap-wide); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.text-center { text-align: center; }
.divider { width: 52px; height: 2px; background: var(--brass); border: 0; margin: 1.4rem 0; }
.text-center .divider { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em; white-space: nowrap;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 1em 2.1em;
  background: var(--green); color: var(--ivory); border: 1px solid var(--green);
  border-radius: 100px; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { background: var(--aqua-deep); border-color: var(--aqua-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(53,111,115,0.55); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--ivory); border-color: var(--green); }
.btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(251,247,240,0.55); }
.btn--ghost-light:hover { background: var(--ivory); color: var(--green-deep); border-color: var(--ivory); }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.grain::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brass); color: var(--green-deep); padding: 0.8rem 1.2rem;
  border-radius: 0 0 6px 0; font-size: 0.85rem; font-weight: 600;
}
.skip:focus { left: 0; }

img.ph { width: 100%; height: 100%; object-fit: cover; }
picture.cover { display: block; width: 100%; height: 100%; }

/* ================= NAV ================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  background: linear-gradient(to bottom, rgba(29,46,35,0.55), rgba(29,46,35,0));
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav.is-solid {
  background: rgba(251,247,240,0.94); backdrop-filter: blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 10px 34px -22px rgba(29,46,35,0.35);
}
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--ivory); transition: color .4s var(--ease); }
.nav.is-solid .brand { color: var(--green-deep); }
.brand__mark { color: var(--brass); display: grid; place-items: center; flex-shrink: 0; }
.brand--seal { gap: 0.9rem; }
.brand__seal { width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.18); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: 0.005em; white-space: nowrap; }
.brand__sub { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-light); margin-top: 3px; white-space: nowrap; }
.nav.is-solid .brand__sub { color: var(--brass); }
.nav__links { display: flex; gap: clamp(1rem, 1.7vw, 1.6rem); }
.nav__link {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ivory); text-shadow: 0 1px 3px rgba(0,0,0,0.35); white-space: nowrap;
  padding: 0.4rem 0; position: relative; transition: color .3s var(--ease);
}
.nav.is-solid .nav__link { color: var(--charcoal-dim); text-shadow: none; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--aqua); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--brass-light); }
.nav.is-solid .nav__link:hover, .nav.is-solid .nav__link.is-active { color: var(--brass); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 1.3rem; }
.nav__phone {
  font-weight: 600; font-size: 0.8rem; letter-spacing: 0.02em;
  color: var(--ivory); text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: color .3s var(--ease); white-space: nowrap;
}
.nav.is-solid .nav__phone { color: var(--charcoal-dim); text-shadow: none; }
.nav__phone:hover { color: var(--brass-light); }
.nav.is-solid .nav__phone:hover { color: var(--brass); }
.nav__book { padding: 0.78em 1.5em; font-size: 0.72rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ivory); transition: transform .4s var(--ease), opacity .3s var(--ease), background .3s var(--ease); }
.nav.is-solid .nav__toggle span { background: var(--green-deep); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(29,46,35,0.98); backdrop-filter: blur(8px);
  /* links start below the fixed header (z-index 100), or the header swallows taps on
     "The Estate" on short phone screens; scrolls if the list doesn't fit */
  display: flex; overflow-y: auto; padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__links { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.mobile-menu__link { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--ivory); }
.mobile-menu__book { margin-top: 1rem; }
.mobile-menu__phone { color: var(--brass-light); letter-spacing: 0.06em; margin-top: 0.5rem; }
@media (max-height: 720px) { .mobile-menu__links { gap: 1rem; } .mobile-menu__link { font-size: 1.55rem; } }
body.menu-open { overflow: hidden; }
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open .nav__toggle span { background: var(--ivory); }
@media (max-width: 1560px) { .nav__links, .nav__actions { display: none; } .nav__toggle { display: flex; } }

/* ================= HERO (home) ================= */
/* isolation:isolate gives each full-bleed section its own stacking context, so
   the negative z-index media/scrim layers stay contained beneath this section's
   own content instead of falling behind body's opaque ivory background. */
.hero, .phero, .break, .nf { isolation: isolate; }
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hero__media, .phero__media, .break__media, .nf__media { position: absolute; inset: 0; z-index: -2; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20,26,20,0.82), rgba(20,26,20,0.1) 55%), radial-gradient(120% 90% at 50% 30%, rgba(20,26,20,0) 35%, rgba(20,26,20,0.42) 100%);
}
.hero__inner { display: grid; gap: 1.3rem; max-width: 900px; padding-top: var(--nav-h); }
.hero__eyebrow { color: var(--brass-light); }
.hero__title { color: var(--ivory); font-weight: 600; text-shadow: 0 2px 24px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.4); }
.hero__sub { font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: rgba(251,247,240,0.92); max-width: 46ch; line-height: 1.65; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.6rem; }
.home-closing .wrap { display: grid; justify-items: center; gap: 0.6rem; }
.home-closing p.lede { margin-top: 0.6rem; }
.home-closing__cta { justify-content: center; margin-top: 1.6rem; }
.source-credit { font-size: 0.78rem; color: var(--charcoal-mute); max-width: 60ch; margin: 0 auto 3rem; padding: 0 1.5rem; }
.gfilters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1rem; }
.gfilter { font: inherit; font-size: 0.85rem; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--charcoal-mute); background: transparent; color: var(--charcoal-dim); cursor: pointer; }
.gfilter.is-active { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.gallery-helper { text-align: center; color: var(--charcoal-mute); font-size: 0.85rem; margin-bottom: 1.6rem; }
.gallery-related { text-align: center; margin-top: 2rem; font-size: 0.9rem; }
.suite-card--sm .suite-card__blurb { display: none; }

/* Hero slideshow: N full-bleed slides crossfade + slow Ken-Burns zoom in a
   continuous loop, offset via negative animation-delay so only one is ever
   fully visible. Pure CSS — no JS timer, no layout shift, no FOUC. */
.hero__media--slideshow { background: var(--charcoal); }
.hero__slide { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.hero__slide picture, .hero__slide img { display: block; width: 100%; height: 100%; }
.hero__slide--dim img { filter: brightness(0.72) saturate(0.9); }
@media (prefers-reduced-motion: no-preference) {
  .hero__slide { animation: heroFade 30s linear infinite, heroZoom 30s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide:first-child { opacity: 1; }
}
/* Timed for 5 slides (HERO_CYCLE = 30s in generate.mjs): each slide owns a 20% slot,
   holds for the first 16%, fades out by 20%. */
@keyframes heroFade {
  0% { opacity: 1; }
  16% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  20% { transform: scale(1.09); }
  100% { transform: scale(1); }
}

/* ================= PAGE HERO ================= */
.phero { position: relative; min-height: 74vh; display: grid; align-items: end; padding-bottom: clamp(3rem, 7vw, 5.5rem); padding-top: var(--nav-h); overflow: hidden; }
.phero--compact { min-height: 58vh; }
.phero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20,26,20,0.88) 0%, rgba(20,26,20,0.3) 48%, rgba(20,26,20,0.28) 100%), linear-gradient(to right, rgba(20,26,20,0.5), rgba(20,26,20,0) 60%); }
.phero__content { position: relative; display: grid; gap: 1rem; max-width: 960px; }
.phero__title { max-width: 20ch; color: var(--ivory); text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.phero__sub { max-width: 54ch; color: rgba(251,247,240,0.92); }
.phero__content > .btn:only-of-type { margin-top: 0.4rem; justify-self: start; }
.est__book { margin-top: 0.6rem; justify-self: start; }
.est__jump { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 1.4rem; }
.est__jump a { color: rgba(251,247,240,0.85); font-size: 0.85rem; letter-spacing: 0.02em; text-decoration: underline; text-underline-offset: 3px; }
.est__jump a:hover { color: var(--ivory); }

/* ================= INTRO ================= */
.intro__inner { display: grid; justify-items: center; gap: 0.4rem; max-width: 800px; margin-inline: auto; }
.intro__head { margin-top: 0.4rem; }
.intro__lede { margin-top: 1.1rem; }
.history-teaser .wrap { max-width: 800px; margin-inline: auto; display: grid; justify-items: center; gap: 0.6rem; }
.history-teaser p.lede { margin-top: 0.6rem; }
.history-teaser .btn { margin-top: 1.2rem; }

/* ================= PERKS ================= */
.perks { padding-top: 0; }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.perk { display: grid; gap: 0.5rem; padding-top: 1.3rem; border-top: 2px solid var(--brass); }
.perk__t { font-size: 1.22rem; color: var(--green-deep); }
.perk__d { color: var(--charcoal-dim); font-size: 0.92rem; }

/* ================= DAY IN THE LIFE ================= */
.day-in-life .wrap.text-center { max-width: 760px; margin-inline: auto; margin-bottom: 2.6rem; }
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.day-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--charcoal); }
.day-card img { transition: transform 1.2s var(--ease); }
.day-card:hover img { transform: scale(1.06); }
.day-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.2rem 1.2rem; color: var(--ivory);
  background: linear-gradient(to top, rgba(20,26,20,0.92), rgba(20,26,20,0.55) 60%, rgba(20,26,20,0) 100%);
  font-size: 0.92rem; line-height: 1.45;
}
.day-card__t { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 0.4rem; text-shadow: 0 1px 4px rgba(0,0,0,0.85); }
@media (max-width: 720px) { .day-grid { grid-template-columns: 1fr; } }

/* ================= IMAGE BREAKS ================= */
.break { position: relative; min-height: 62vh; display: grid; align-items: center; overflow: hidden; padding-block: clamp(4rem, 9vw, 7rem); }
.break--tall { min-height: 74vh; }
.break__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(20,26,20,0.82), rgba(20,26,20,0.18) 72%); }
.break__content { display: grid; gap: 1rem; max-width: 620px; margin-inline: 0; }
.break__content h2 { color: var(--ivory); text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.break__content .lede { color: rgba(251,247,240,0.92); }
.break__content .btn { margin-top: 0.4rem; justify-self: start; }
@media (prefers-reduced-motion: no-preference) {
  .break__media img, .phero__media img { animation: slowZoom 18s var(--ease) infinite alternate; }
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.07); } }

/* ================= AMENITIES PREVIEW ================= */
.amenities-preview { background: var(--ivory-dim); }
.amenities-preview .wrap { display: grid; justify-items: center; gap: 0.6rem; }
.amenities-preview .chips { justify-content: center; margin-top: 2rem; }
.amenities-preview__more { margin-top: 1.6rem; margin-inline: auto; }
.amenities-preview__more a, .location-teaser a { color: var(--brass); border-bottom: 1px solid var(--brass); }
.amenities-preview__more a:hover, .location-teaser a:hover { color: var(--aqua-deep); border-color: var(--aqua-deep); }

/* ================= REVIEWS ================= */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.4rem; }
.review-card { background: var(--paper, #fff); border-radius: var(--radius-lg); box-shadow: 0 12px 30px -20px rgba(29,46,35,0.3); padding: 1.8rem 1.9rem; display: flex; flex-direction: column; gap: 0.9rem; }
.review-card__stars { color: var(--brass); font-size: 1rem; letter-spacing: 0.15em; }
.review-card__quote { color: var(--charcoal-dim); font-size: 0.95rem; line-height: 1.6; margin: 0; flex: 1; }
.review-card__name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--charcoal); }

/* ================= GALLERY PREVIEW ================= */
.gallery-preview__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.gallery-preview__head .eyebrow { margin-bottom: 0.4rem; }
.gallery-preview__all { color: var(--brass); font-size: 0.85rem; letter-spacing: 0.04em; white-space: nowrap; }
.gallery-preview__all:hover { color: var(--aqua-deep); }
.gprev-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.gprev { display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.gprev img { transition: transform 1s var(--ease); }
.gprev:hover img { transform: scale(1.06); }

/* ================= LOCATION TEASER ================= */
.location-teaser__p { max-width: 52ch; margin-inline: auto; margin-top: 0.8rem; margin-bottom: 1.6rem; }

/* ================= ESTATE PAGE ================= */
.estate-sec { padding-block: clamp(3rem, 7vw, 5.5rem); }
.estate-sec--alt { background: var(--ivory-dim); }
.estate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.estate-grid--rev .estate-copy { order: 2; }
.estate-copy p { color: var(--charcoal-dim); font-size: 1.06rem; margin-top: 1rem; }
.estate-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.estate-imgs--four { grid-template-columns: repeat(4, 1fr); margin-top: 2.2rem; }
.estate-imgs--three { grid-template-columns: repeat(3, 1fr); margin-top: 2.2rem; }
.estate-imgs--one { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
.eimg { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.eimg--sm { aspect-ratio: 3 / 4; }
.eimg img { transition: transform 1s var(--ease); }
.eimg:hover img { transform: scale(1.05); }
.img-note { margin-top: 0.6rem; font-size: 0.78rem; font-style: italic; color: var(--charcoal-dim); text-align: center; }
.estate-head { max-width: 720px; margin-bottom: 0; display: grid; gap: 0.6rem; }
.estate-head .lede { margin-top: 0.3rem; }

/* ================= AMENITIES (full grid) ================= */
.amenities-sec { background: var(--green-deep); color: var(--ivory); }
.amenities-sec h2, .amenities-sec .estate-head { color: var(--ivory); }
.amenities-sec .estate-head .lede { color: rgba(251,247,240,0.82); }
.amen-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 2rem; margin-top: 2.6rem; }
.amen-group__h { font-size: 1.1rem; color: var(--brass-light); margin-bottom: 0.9rem; font-family: var(--font-display); font-weight: 600; }

/* Chips (shared) */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { background: var(--sage-pale); border: 1px solid var(--line); padding: 0.55em 1.1em; border-radius: 100px; font-size: 0.85rem; color: var(--green-deep); }
.amenities-sec .chip { background: rgba(251,247,240,0.08); border-color: var(--line-onDark); color: rgba(251,247,240,0.92); }

/* ================= RULES / CANCELLATION ================= */
.rules-sec { padding-top: 0; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.rules-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 2.2rem; }
.rules-card__h { font-size: 1.3rem; margin-bottom: 1.2rem; color: var(--green-deep); }
.rules-dl { display: grid; gap: 0; }
.rules-dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line-soft); }
.rules-dl > div:last-child { border-bottom: 0; }
.rules-dl dt { color: var(--charcoal-mute); font-size: 0.88rem; }
.rules-dl dd { color: var(--charcoal); font-size: 0.92rem; font-weight: 500; text-align: right; }

.estate-cta { display: grid; gap: 1.2rem; justify-items: center; }
.estate-cta h2 { max-width: 18ch; }

/* ================= GALLERY GRID ================= */
.gallery-sec { padding-top: clamp(2.25rem, 4.5vw, 3.5rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gitem { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; position: relative; }
.gitem img { transition: transform 1s var(--ease); }
.gitem:hover img { transform: scale(1.05); }
.gitem:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* ---- Gallery lightbox ---- */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
body.lightbox-open { overflow: hidden; }
.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(29,46,35,0.96);
  backdrop-filter: blur(6px);
  border: none; padding: 0; margin: 0; cursor: pointer;
}
.lightbox__stage {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: min(94vw, 1400px); max-height: 92vh;
  padding: 0 1rem;
}
.lightbox__picture { display: flex; align-items: center; justify-content: center; max-height: 78vh; }
.lightbox__img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.lightbox__caption {
  color: var(--ivory); font-size: 0.92rem; text-align: center;
  max-width: 70ch; margin-top: 0.9rem; padding-inline: 1rem;
}
.lightbox__count {
  color: rgba(251,247,240,0.6); font-size: 0.75rem; letter-spacing: 0.04em;
  text-transform: uppercase; margin-top: 0.35rem;
}
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(251,247,240,0.4); border-radius: 999px;
  color: var(--ivory); font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox__close:hover, .lightbox__close:focus-visible { background: rgba(251,247,240,0.14); border-color: var(--ivory); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: rgba(29,46,35,0.55); border: 1px solid rgba(251,247,240,0.35); border-radius: 999px;
  color: var(--ivory); font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox__nav:hover, .lightbox__nav:focus-visible { background: rgba(251,247,240,0.18); border-color: var(--ivory); }
.lightbox__prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox__next { right: clamp(0.5rem, 2vw, 2rem); }

/* ---- Suites (The Estate page) ---- */
.suites-sec { background: var(--ivory-dim); }
.suite-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 2.6rem; }
.suite-card { background: var(--paper, #fff); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 12px 30px -20px rgba(29,46,35,0.3); }
.suite-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.suite-card__img img { transition: transform 1s var(--ease); }
.suite-card:hover .suite-card__img img { transform: scale(1.05); }
.suite-card__body { padding: 1.3rem 1.4rem 1.6rem; }
.suite-card__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.3rem; }
.suite-card__config { font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.7rem; }
.suite-card__blurb { color: var(--charcoal-dim); font-size: 0.95rem; }

/* ---- Our Story page ---- */
.story-sec { padding-block: clamp(3rem, 6vw, 5rem); }
.story-sec--alt { background: var(--ivory-dim); }
.story-intro { max-width: 70ch; font-size: 1.15rem; margin-bottom: 2.2rem; }
.story-blocks { display: grid; gap: 2.2rem; max-width: 70ch; }
.story-block h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 0.6rem; }
.story-block p { color: var(--charcoal-dim); }
.story-media-block { margin-block: clamp(2.2rem, 5vw, 3.4rem); }
.story-media-block h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 1rem; max-width: 70ch; }
.story-media-row { display: grid; grid-template-columns: 1fr 220px; gap: clamp(1.4rem, 4vw, 2rem); align-items: start; max-width: 70ch; }
.story-media-copy p { color: var(--charcoal-dim); }
.story-media-photo .cover { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; display: block; }
.story-media-photo figcaption { margin-top: 0.6rem; font-size: 0.78rem; font-style: italic; color: var(--charcoal-dim); }
.story-cta { padding-block: clamp(3.6rem, 7vw, 5.5rem); }
.story-cta h2 { max-width: 20ch; margin-inline: auto; margin-bottom: 1.4rem; }

.history-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.4rem; }
.hgitem { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 3 / 4; background: var(--charcoal); }
/* Documented History comparison sheets (original + AI-restored side-by-side) are
   landscape, not portrait — override the crop so the whole sheet stays visible
   at thumbnail size and legible once opened in the lightbox. */
.hgitem--wide { aspect-ratio: 3 / 2; cursor: pointer; }
.hgitem--wide:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.hgitem img { transition: transform 1s var(--ease); }
.hgitem:hover img { transform: scale(1.05); }
.hgitem figcaption { position: absolute; inset: auto 0 0 0; padding: 0.6rem 0.7rem 0.5rem; font-size: 0.72rem; line-height: 1.3; color: var(--ivory); background: linear-gradient(to top, rgba(20,26,20,0.88), rgba(20,26,20,0)); }

.story-more { margin-top: 2.2rem; }

.restore-grid--sunroom { grid-template-columns: repeat(4, 1fr); }
.hgitem figcaption { display: flex; align-items: center; }

.render-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.4rem; }
.render-pair { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper, #fff); box-shadow: 0 12px 30px -20px rgba(29,46,35,0.3); }
.render-pair__imgs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.render-pair__img { aspect-ratio: 3 / 4; overflow: hidden; }
.render-pair figcaption { padding: 0.9rem 1rem 1.1rem; font-size: 0.9rem; font-weight: 600; }
.render-pair__tag { display: block; margin-top: 0.25rem; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); }

/* ================= GULF COAST AREA ================= */
.area-sec { padding-block: clamp(2.2rem, 4.5vw, 3.6rem); }
.area-sec:nth-of-type(odd) { background: var(--ivory-dim); }
.area-sec__inner { max-width: 760px; }
.area-sec__inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.9rem; }
.area-sec__inner p { color: var(--charcoal-dim); }
.area-cta { display: grid; gap: 1rem; justify-items: center; background: var(--green-deep); color: var(--ivory); padding-block: clamp(3.5rem, 7vw, 6rem); }
.area-cta h2 { color: var(--ivory); }
.area-cta__p { max-width: 50ch; color: rgba(251,247,240,0.85) !important; }

/* ================= FAQ ================= */
.faq { background: var(--ivory-dim); }
.faq__inner { max-width: 800px; }
.faq__list { display: grid; gap: 0.8rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 1.2rem 1.5rem; }
.faq__item summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--green-deep); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { color: var(--brass); margin-bottom: 0.7rem; }
.faq__item p { color: var(--charcoal-dim); }
.faq__item p a { color: var(--brass); border-bottom: 1px solid var(--brass); }
.faq__item p a:hover { color: var(--aqua-deep); border-color: var(--aqua-deep); }
.faq__contact { margin-top: 2rem; text-align: center; color: var(--charcoal-dim); }
.faq__contact a { color: var(--brass); border-bottom: 1px solid var(--brass); }
.faq__contact a:hover { color: var(--aqua-deep); border-color: var(--aqua-deep); }

/* ================= CONTACT ================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.cblock { margin-bottom: 1.8rem; }
.cblock__label { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.5rem; }
.cblock__big { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--green-deep); }
.cblock__big:hover { color: var(--aqua-deep); }
.cblock__addr { font-style: normal; color: var(--charcoal-dim); line-height: 1.7; margin-bottom: 0.4rem; }
.cblock__note { color: var(--charcoal-mute); font-size: 0.85rem; }
.cblock__link { color: var(--green-deep); border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.cblock__link:hover { color: var(--aqua-deep); border-color: var(--aqua-deep); }
.cblock__managed { color: var(--charcoal-mute); font-size: 0.9rem; margin-bottom: 1.4rem; }
.cblock__managed a { color: var(--brass); border-bottom: 1px solid var(--brass); }
.contact__book { margin-top: 0.5rem; }
.contact__q2 { margin-top: 2.6rem; padding-top: 2.2rem; border-top: 1px solid var(--line); font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.contact__media { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; aspect-ratio: 4/5; }

/* ================= 404 ================= */
.nf { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.nf__scrim { position: absolute; inset: 0; z-index: -1; background: rgba(20,26,20,0.68); }
.nf__inner { display: grid; gap: 1.1rem; max-width: 640px; }
.nf__inner .eyebrow { color: var(--brass-light); }
.nf__inner h1 { color: var(--ivory); }
.nf__inner .lede { color: rgba(251,247,240,0.9); }
.nf__cta { display: flex; gap: 1rem; margin-top: 0.8rem; flex-wrap: wrap; }

/* ================= FOOTER ================= */
.footer { background: var(--green-deep); color: rgba(251,247,240,0.88); position: relative; z-index: 2; }
.footer__cta { padding-block: clamp(3.6rem, 7vw, 6.5rem); display: grid; gap: 1.1rem; justify-items: center; }
.footer__cta h2 { max-width: 16ch; color: var(--ivory); }
.footer__cta .lede { color: rgba(251,247,240,0.82); }
.footer__cta .btn { margin-top: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.2rem; border-top: 1px solid var(--line-onDark); }
/* Featured seal, centered at the top of the footer. Source is 480px, so cap at 240px to stay crisp on 2x screens. */
.footer__logo { width: clamp(170px, 20vw, 240px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: contain; margin-bottom: 0.8rem; box-shadow: 0 0 0 6px rgba(201,168,106,0.18), 0 18px 40px -16px rgba(0,0,0,0.55); }
.footer__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ivory); }
.footer__tag { color: rgba(251,247,240,0.65); margin-top: 0.5rem; font-size: 0.95rem; }
.footer__h { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 1rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col a, .footer__col address, .footer__col p { color: rgba(251,247,240,0.78); font-size: 0.92rem; font-style: normal; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--brass-light); }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid var(--line-onDark); font-size: 0.8rem; color: rgba(251,247,240,0.55); }
.footer__base a { color: rgba(251,247,240,0.75); }
.footer__base a:hover { color: var(--brass-light); }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .amen-groups { grid-template-columns: repeat(2, 1fr); }
  .gprev-grid { grid-template-columns: repeat(3, 1fr); }
  .suite-cards { grid-template-columns: repeat(2, 1fr); }
  .history-grid { grid-template-columns: repeat(3, 1fr); }
  .render-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .perks__grid { grid-template-columns: 1fr 1fr; }
  .estate-grid { grid-template-columns: 1fr; }
  .estate-grid--rev .estate-copy { order: 0; }
  .estate-imgs--four { grid-template-columns: repeat(2, 1fr); }
  .estate-imgs--three { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gprev-grid { grid-template-columns: repeat(2, 1fr); }
  .suite-cards { grid-template-columns: 1fr; }
  .history-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .perks__grid { grid-template-columns: 1fr; }
  .amen-groups { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .render-grid { grid-template-columns: 1fr; }
  :root { --nav-h: 88px; }
  .brand__seal { width: 56px; height: 56px; }
  .brand__name { font-size: 1.05rem; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.3rem; }
  .lightbox__close { width: 38px; height: 38px; font-size: 1.2rem; top: 0.8rem; right: 0.8rem; }
  .lightbox__caption { font-size: 0.82rem; }
}

/* Documented History: restored photos only, in justified rows. Each figure's
   --ar (width/height) drives both its flex-grow and basis, so every photo in a row
   ends up the same height while keeping its own shape (no cropping). The ::after
   spacer soaks up the last row so it isn't stretched. Clicking opens the full
   original-vs-restored sheet in the lightbox. */
.history-grid--restored { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2rem 1.2rem; margin-top: 2.4rem; }
.history-grid--restored::after { content: ""; flex-grow: 999; }
.hgphoto { flex: var(--ar) 1 calc(var(--ar) * 15rem); margin: 0; cursor: pointer; }
.hgphoto__frame { aspect-ratio: var(--ar); border-radius: var(--radius); overflow: hidden; background: var(--charcoal); box-shadow: 0 12px 28px -20px rgba(29,46,35,0.45); }
.hgphoto__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hgphoto:hover .hgphoto__frame img { transform: scale(1.04); }
.hgphoto:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; border-radius: var(--radius); }
.hgphoto figcaption { margin-top: 0.65rem; font-size: 0.84rem; line-height: 1.4; color: var(--charcoal-dim); }
@media (max-width: 640px) {
  .history-grid--restored { gap: 1.4rem 0.8rem; }
  .hgphoto { flex-basis: calc(var(--ar) * 10rem); }
  .hgphoto figcaption { font-size: 0.78rem; }
  .story-media-row { grid-template-columns: 1fr; }
  .story-media-photo { max-width: 240px; }
}
