/* ==========================================================================
   ALTIVA AIRFIELD & COUNTRY CLUB — styles.css
   A quiet, unhurried, high-end hospitality design system.
   Palette: warm charcoal (ink) dark sections + cream (paper) light sections,
   with a single restrained bronze-gold accent.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --ink:        #16150f;   /* near-black warm charcoal */
  --ink-2:      #1f1d15;
  --ink-3:      #2a271d;
  --paper:      #f5efe4;   /* warm cream / ivory */
  --paper-2:    #ece3d3;
  --paper-3:    #e2d7c2;
  --text-on-ink:   #efe8da;
  --text-on-ink-dim: #b7ad99;
  --text:       #232019;   /* near-black on paper */
  --text-dim:   #6a6353;
  --line-ink:   rgba(239,232,218,.16);
  --line:       rgba(35,32,25,.14);
  --gold:       #b28a4c;   /* understated bronze-gold accent */
  --gold-soft:  #c7a367;
  --gold-deep:  #8f6a34;

  /* Type */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.9rem, 7.4vw, 6.25rem);
  --fs-h1:      clamp(2.3rem, 5vw, 4.1rem);
  --fs-h2:      clamp(1.95rem, 3.6vw, 3.1rem);
  --fs-h3:      clamp(1.3rem, 2vw, 1.8rem);
  --fs-lead:    clamp(1.1rem, 1.5vw, 1.4rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.75rem;

  /* Layout */
  --maxw: 1360px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --shadow-soft: 0 30px 60px -30px rgba(20,18,10,.45);
  --shadow-card: 0 20px 40px -24px rgba(20,18,10,.55);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Prevent a swipe that starts on an image/video from being hijacked into a
   native image-drag or long-press callout instead of scrolling the page —
   the classic cause of "scroll doesn't work over the hero photo" on mobile. */
img, video {
  display: block; max-width: 100%; height: auto;
  -webkit-user-drag: none; user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  touch-action: pan-y;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--serif); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before {
  content: "";
  width: 2.2em; height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow--center { justify-content: center; }
.section--ink .eyebrow { color: var(--gold-soft); }

.display, .h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 340;
  font-optical-sizing: auto;
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.display { font-size: var(--fs-display); line-height: 1.0; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: 0; }

/* The editorial italic-weave — italicised phrases woven into regular text */
.accent-italic {
  font-style: italic;
  font-weight: 340;
  color: var(--gold-deep);
}
.section--ink .accent-italic { color: var(--gold-soft); }
.display .accent-italic, .h1 .accent-italic,
.h2 .accent-italic, .h3 .accent-italic { color: inherit; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-dim);
  font-weight: 350;
}
.section--ink .lead { color: var(--text-on-ink-dim); }

.prose p + p { margin-top: 1.15em; }
.prose .accent-italic { color: var(--gold-deep); }
.section--ink .prose .accent-italic { color: var(--gold-soft); }

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05em 1.9em;
  border-radius: 999px;
  border: 1px solid transparent;
  position: relative;
  transition: transform .35s var(--ease), background-color .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn .btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--solid { background: var(--gold); color: #fff; }
.btn--solid:hover { background: var(--gold-deep); }

.btn--outline { border-color: currentColor; color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--paper); }
.section--ink .btn--outline { color: var(--text-on-ink); border-color: rgba(239,232,218,.5); }
.section--ink .btn--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }

/* Text link with animated underline */
.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 4px;
  position: relative;
}
.section--ink .link-underline { color: var(--gold-soft); }
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0); }
.link-underline .btn__arrow { transition: transform .35s var(--ease); }
.link-underline:hover .btn__arrow { transform: translateX(5px); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--ink { background: var(--ink); color: var(--text-on-ink); }
.section--ink-2 { background: var(--ink-2); color: var(--text-on-ink); }
.section--paper-2 { background: var(--paper-2); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head .h2 { margin-bottom: 1.2rem; }

.divider { height: 1px; background: var(--line); border: 0; }
.section--ink .divider { background: var(--line-ink); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: clamp(1rem, 2vw, 1.6rem);
  color: var(--text-on-ink);
  transition: background-color .5s var(--ease), padding .5s var(--ease),
              color .5s var(--ease), box-shadow .5s var(--ease);
}
/* Scrim keeps the cream logo + Menu legible over bright hero areas; fades on scroll. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,9,5,.5) 0%, rgba(10,9,5,0) 100%);
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 0; }
/* Drop-shadow on the transparent header guarantees the cream logo + Menu read
   over any hero brightness (e.g. a pale runway); removed once the bar goes solid. */
.site-header:not(.is-scrolled) .site-header__inner {
  filter: drop-shadow(0 1px 10px rgba(10,9,5,.6)) drop-shadow(0 1px 2px rgba(10,9,5,.55));
}
.site-header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}
.site-header.is-scrolled {
  background: rgba(245,239,228,.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  color: var(--text);
  padding-block: 0.85rem;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px rgba(20,18,10,.5);
}

.brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding-left: 0.34em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
}
.brand small {
  font-family: var(--sans);
  font-size: 0.5rem;
  letter-spacing: 0.34em;
  font-weight: 500;
  color: var(--gold-soft);
  transform: translateY(-2px);
}
.is-scrolled .brand small { color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: clamp(.75rem,1.6vw,1.6rem); }

.lang {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.lang button {
  padding: .35em .5em;
  color: inherit;
  opacity: .6;
  border-radius: 4px;
  transition: opacity .3s;
}
.lang button[aria-pressed="true"] { opacity: 1; color: var(--gold-soft); }
.is-scrolled .lang button[aria-pressed="true"] { color: var(--gold-deep); }
.lang button:hover { opacity: 1; }
.lang .lang__sep { opacity: .3; }

.header-cta { display: none; }
@media (min-width: 720px){ .header-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .5rem 0;
}
.menu-toggle__bars { width: 26px; display: inline-flex; flex-direction: column; gap: 5px; }
.menu-toggle__bars span {
  height: 1.5px; width: 100%; background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s;
}
.menu-toggle:hover .menu-toggle__bars span:first-child { transform: translateX(3px); }

/* Mobile header: free up room so the Menu label + bars never clip off-screen. */
@media (max-width: 600px){
  .site-header__inner { gap: .75rem; }
  .brand { font-size: 1.15rem; letter-spacing: .26em; }
  .brand small { display: none; }         /* drop the long subtitle */
  .lang { display: none; }                /* language selector lives in the demo only */
  .header-actions { gap: .75rem; }
  .menu-toggle { flex: none; }
  .menu-toggle__bars { width: 24px; }
}

/* ==========================================================================
   MEGA-MENU OVERLAY
   ========================================================================== */
.mega {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--text-on-ink);
  display: grid;
  grid-template-columns: 1fr;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2.5%);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  overflow-y: auto;
}
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s 0s;
}
@media (min-width: 900px){
  .mega { grid-template-columns: 1.05fr 1fr; }
}

.mega__close {
  position: absolute;
  top: clamp(1rem,2vw,1.6rem);
  right: var(--gutter);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mega__close .x { font-size: 1.4rem; line-height: 1; transition: transform .4s var(--ease); }
.mega__close:hover .x { transform: rotate(90deg); }

.mega__nav {
  padding: clamp(5.5rem,10vw,7rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mega__eyebrow { margin-bottom: 2rem; }
.mega__links { display: flex; flex-direction: column; }
.mega__links li { overflow: hidden; }
.mega__link {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.28;
  color: var(--text-on-ink);
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  transition: color .35s var(--ease), transform .45s var(--ease);
  transform: translateY(110%);
}
.mega.is-open .mega__link { transform: translateY(0); }
.mega__link .num {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: .1em;
  color: var(--gold-soft);
  transform: translateY(-.4em);
}
.mega__link:hover { color: var(--gold-soft); }
.mega__link.is-active { color: var(--gold-soft); }

.mega__contact {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  font-size: var(--fs-small);
  color: var(--text-on-ink-dim);
  opacity: 0;
  transition: opacity .5s var(--ease) .3s;
}
.mega.is-open .mega__contact { opacity: 1; }
.mega__contact a:hover { color: var(--gold-soft); }
.mega__contact span { display: block; letter-spacing: .04em; }
.mega__contact .lbl { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom:.3rem; }

.mega__tiles {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  min-height: 40vh;
}
@media (max-width: 899px){ .mega__tiles { min-height: 60vh; } }
.mega__tile {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem,3vw,2.5rem);
  color: #fff;
  isolation: isolate;
}
.mega__tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease);
}
.mega__tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,9,5,.05), rgba(10,9,5,.72));
}
.mega__tile:hover img { transform: scale(1.09); }
.mega__tile-label {
  display: flex; flex-direction: column; gap: .35rem;
}
.mega__tile-label .eyebrow { color: rgba(255,255,255,.75); }
.mega__tile-label .t {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}
.mega__tile .go {
  position: absolute; top: clamp(1.5rem,3vw,2.5rem); right: clamp(1.5rem,3vw,2.5rem);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  display: grid; place-items: center;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.mega__tile:hover .go { background: #fff; color: var(--ink); }

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--text-on-ink);
  isolation: isolate;
  /* Because the image/scrim/watermark layers use negative z-index (so they
     paint behind this section's own box), a wheel/touch gesture over any
     "empty" part of the hero hit-tests to .hero itself — and with its own
     overflow:hidden, that reproducibly stalls Lenis's scroll handling
     instead of scrolling the page. Make the section pass events through;
     only the actual controls (CTAs, dots) opt back in below. */
  pointer-events: none;
}
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__media {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__slide.is-active .hero__media { animation: kenburns 7s var(--ease) forwards; }
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.1); }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(12,11,6,.5) 0%, rgba(12,11,6,.05) 32%, rgba(12,11,6,.15) 55%, rgba(12,11,6,.82) 100%);
}

.hero__watermark {
  position: absolute;
  z-index: -1;
  top: 46%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--serif);
  font-size: clamp(9rem, 32vw, 34rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(245,239,228,.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.hero__content {
  position: relative;
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  max-width: 60rem;
}
.hero__eyebrow { margin-bottom: 1.6rem; color: var(--gold-soft); }
.hero__title {
  font-size: var(--fs-display);
  font-family: var(--serif);
  font-weight: 340;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__title .accent-italic { color: #fff; }
.hero__caption {
  margin-top: 1.8rem;
  font-size: var(--fs-lead);
  color: rgba(239,232,218,.9);
  max-width: 34rem;
  min-height: 2.6em;
}
.hero__caption.is-swapping { opacity: 0; transform: translateY(10px); }
.hero__caption { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; pointer-events: auto; }
/* Hero sits over a dark image but isn't a .section--ink — light the outline CTA. */
.hero .btn--outline, .page-hero .btn--outline {
  color: var(--text-on-ink);
  border-color: rgba(239,232,218,.5);
}
.hero .btn--outline:hover, .page-hero .btn--outline:hover {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}

.hero__dots {
  position: absolute;
  bottom: clamp(3.5rem, 8vw, 6.5rem);
  right: var(--gutter);
  display: flex;
  gap: .75rem;
  z-index: 2;
  pointer-events: auto; /* .hero itself is pointer-events:none — opt these back in */
}
@media (max-width: 640px){ .hero__dots { right: 50%; transform: translateX(50%); bottom: 1.6rem; } }
.hero__dot {
  width: 34px; height: 3px;
  background: rgba(239,232,218,.3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.hero__dot::after {
  content:""; position:absolute; inset:0;
  background: var(--gold-soft);
  transform: scaleX(0); transform-origin: left;
}
.hero__dot.is-active::after { animation: dotFill 6s linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Pause on hover/focus freezes the progress bar and the ken-burns zoom */
.hero.is-paused .hero__dot.is-active::after,
.hero.is-paused .hero__slide.is-active .hero__media { animation-play-state: paused; }

.scroll-hint {
  position: absolute;
  bottom: clamp(3.5rem, 8vw, 6.5rem);
  left: var(--gutter);
  z-index: 2;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(239,232,218,.7);
  display: flex; align-items: center; gap: .8rem;
}
@media (max-width: 640px){ .scroll-hint { display: none; } }
.scroll-hint .line { width: 40px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.scroll-hint .line::after { content:""; position:absolute; inset:0; background: var(--gold-soft); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  min-height: clamp(58vh, 70vh, 78vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--text-on-ink);
  isolation: isolate;
  pointer-events: none; /* same fix as .hero — see the note there */
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; width:100%; height:100%; object-fit: cover; }
.page-hero.is-loaded .page-hero__media { animation: kenburns 12s var(--ease) forwards; }
.page-hero::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(12,11,6,.5) 0%, rgba(12,11,6,.1) 40%, rgba(12,11,6,.78) 100%);
}
.page-hero__content { padding-bottom: clamp(3rem, 6vw, 5rem); max-width: 54rem; }
.page-hero__content .breadcrumb { pointer-events: auto; }
.page-hero__eyebrow { color: var(--gold-soft); margin-bottom: 1.3rem; }
.page-hero__title { font-size: var(--fs-h1); text-wrap: balance; }
.page-hero__title .accent-italic { color: var(--gold-soft); }
.page-hero__sub { margin-top: 1.3rem; font-size: var(--fs-lead); color: rgba(239,232,218,.9); max-width: 40rem; }

.breadcrumb {
  display: flex; gap: .6rem; align-items: center;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(239,232,218,.7); margin-bottom: 1.4rem;
}
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb .sep { opacity: .5; }

/* ==========================================================================
   SPLIT / TEASER SECTIONS
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 860px){
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__body { max-width: 34rem; }
.split__body .eyebrow { margin-bottom: 1.4rem; }
.split__body .h2 { margin-bottom: 1.3rem; }
.split__body .prose { margin-bottom: 2rem; color: var(--text-dim); }
.section--ink .split__body .prose { color: var(--text-on-ink-dim); }

.media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
}
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media--tall { aspect-ratio: 4/5; }
.media--wide { aspect-ratio: 3/2; }
.media--square { aspect-ratio: 1/1; }
.media:hover img, .media:hover video { transform: scale(1.05); }

.media-caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(20,18,10,.45);
  backdrop-filter: blur(6px);
  padding: .5em 1em; border-radius: 999px;
}

/* Stat / feature rows */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stat { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.section--ink .stat { border-color: var(--line-ink); }
.stat .n { font-family: var(--serif); font-size: clamp(2rem,3.5vw,2.9rem); font-weight: 340; line-height: 1; }
.stat .l { margin-top: .6rem; font-size: .8rem; letter-spacing: .04em; color: var(--text-dim); }
.section--ink .stat .l { color: var(--text-on-ink-dim); }

/* ==========================================================================
   FEATURE LIST (facilities / services)
   ========================================================================== */
.feature-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.section--ink .feature-list, .section--ink .feature-list { background: var(--line-ink); border-color: var(--line-ink); }
.feature-item {
  background: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem,2vw,1.8rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  transition: background-color .4s var(--ease);
}
.section--ink .feature-item, .section--paper-2 .feature-item { background: transparent; }
.section--ink .feature-item:hover { background: var(--ink-2); }
.feature-item:hover { background: var(--paper-2); }
.feature-item .num { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 1.1rem; }
.section--ink .feature-item .num { color: var(--gold-soft); }
.feature-item h3 { font-family: var(--serif); font-weight: 380; font-size: var(--fs-h3); margin-bottom: .5rem; line-height:1.2; }
.feature-item p { color: var(--text-dim); font-size: .98rem; }
.section--ink .feature-item p { color: var(--text-on-ink-dim); }
@media (min-width: 720px){ .feature-list--2 { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   GALLERY — preview grid + full masonry + lightbox
   ========================================================================== */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.6rem, 1.2vw, 1rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 720px){ .gallery-preview { grid-template-columns: repeat(4, 1fr); } }
/* Featured tile is 2x2 (stays square); the wide tile is a 2:1 band.
   Rows size from the square 1x1 tiles, so the spans line up with no gaps. */
.gallery-preview .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-preview .g-item:nth-child(6) { grid-column: span 2; aspect-ratio: 2/1; }

/* Uniform image strip (interior pages) — equal squares, no featured tile. */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.6rem, 1.2vw, 1rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 720px){ .gallery-strip { grid-template-columns: repeat(3, 1fr); } }

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-2);
  aspect-ratio: 1/1;
  cursor: pointer;
}
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item:hover img, .g-item:hover video { transform: scale(1.07); }
.g-item::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,13,7,.45));
  opacity: 0; transition: opacity .4s var(--ease);
}
.g-item:hover::after { opacity: 1; }
.g-item__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(20,18,10,.4); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.6);
  display: grid; place-items: center; color: #fff;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
  pointer-events: none;
}
.g-item:hover .g-item__play { transform: translate(-50%,-50%) scale(1.08); background: var(--gold); border-color: var(--gold); }
.g-item__tag {
  position: absolute; left: .8rem; bottom: .8rem;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.g-item:hover .g-item__tag { opacity: 1; transform: translateY(0); }

/* Full masonry via CSS columns */
.masonry {
  column-count: 2;
  column-gap: clamp(.6rem, 1.2vw, 1rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 640px){ .masonry { column-count: 3; } }
@media (min-width: 1040px){ .masonry { column-count: 4; } }
.masonry .g-item {
  aspect-ratio: auto;
  display: block;
  width: 100%;
  margin-bottom: clamp(.6rem, 1.2vw, 1rem);
  break-inside: avoid;
}
.masonry .g-item img, .masonry .g-item video { height: auto; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10,9,5,.9);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.lightbox__stage {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  transform: scale(.96);
  transition: transform .3s var(--ease);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__media { max-width: 100%; max-height: 86vh; border-radius: 2px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.lightbox__media.is-hidden { display: none; }
.lightbox__cap {
  margin-top: 1rem; text-align: center; color: var(--text-on-ink-dim);
  font-size: .8rem; letter-spacing: .06em;
}
.lightbox__close {
  position: absolute; top: -3.2rem; right: 0;
  color: var(--text-on-ink); display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.lightbox__close .x { font-size: 1.5rem; line-height: 1; transition: transform .4s var(--ease); }
.lightbox__close:hover .x { transform: rotate(90deg); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(239,232,218,.35);
  color: var(--text-on-ink);
  display: grid; place-items: center;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.lightbox__nav:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lightbox__nav--prev { left: clamp(-1rem, -3vw, -4rem); }
.lightbox__nav--next { right: clamp(-1rem, -3vw, -4rem); }
@media (max-width: 720px){
  .lightbox__nav--prev { left: .4rem; } .lightbox__nav--next { right: .4rem; }
  .lightbox__nav { width: 44px; height: 44px; background: rgba(20,18,10,.4); }
}

/* ==========================================================================
   EVENTS
   ========================================================================== */
.events-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem,2vw,1.4rem); margin-top: clamp(2.5rem,5vw,4rem); }
@media (min-width: 640px){ .events-grid { grid-template-columns: 1fr 1fr; } }
.event-card {
  position: relative; overflow: hidden; border-radius: 2px;
  aspect-ratio: 3/2.4; display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.event-card img { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; z-index:-2; transition: transform 1.1s var(--ease); }
.event-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(12,10,6,.05) 40%, rgba(12,10,6,.82)); }
.event-card:hover img { transform: scale(1.06); }
.event-card__body { padding: clamp(1.4rem,3vw,2.2rem); }
.event-card__body .eyebrow { color: var(--gold-soft); margin-bottom: .8rem; }
.event-card__body h3 { font-family: var(--serif); font-weight: 340; font-size: clamp(1.4rem,2.2vw,2rem); line-height:1.12; margin-bottom:.5rem; }
.event-card__body p { color: rgba(239,232,218,.82); font-size: .95rem; max-width: 34rem; }

/* Full events — alternating feature blocks */
.event-feature { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem,4vw,4rem); align-items: center; }
.event-feature + .event-feature { margin-top: clamp(4rem, 8vw, 7rem); }
@media (min-width: 860px){
  .event-feature { grid-template-columns: 1.1fr 1fr; }
  .event-feature--reverse .event-feature__media { order: 2; }
}
.event-feature__body .eyebrow { margin-bottom: 1.2rem; }
.event-feature__body h2 { font-family: var(--serif); font-weight: 340; font-size: var(--fs-h2); line-height:1.1; margin-bottom: 1.1rem; }
.event-feature__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.section--ink .event-feature__meta { color: var(--gold-soft); }
.event-feature__meta span { display: inline-flex; align-items: center; gap: .5rem; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem,2vw,1.6rem); margin-top: clamp(2.5rem,5vw,4rem); }
@media (min-width: 720px){ .reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1040px){ .reviews-grid--3 { grid-template-columns: repeat(3,1fr); } }
.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(1.8rem,3vw,2.6rem);
  display: flex; flex-direction: column; gap: 1.4rem;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.section--ink .review-card, .section--ink-2 .review-card { background: var(--ink-2); border-color: var(--line-ink); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.review-card .quote-mark { font-family: var(--serif); font-size: 3rem; line-height: .5; color: var(--gold); height: 1.2rem; }
.review-card blockquote { font-family: var(--serif); font-weight: 340; font-size: 1.18rem; line-height: 1.5; font-style: italic; color: var(--text); }
.section--ink .review-card blockquote, .section--ink-2 .review-card blockquote { color: var(--text-on-ink); }
.review-card blockquote .accent-italic { font-style: normal; }
.review-author { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.review-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review-author .name { font-weight: 600; font-size: .95rem; }
.review-author .role { font-size: .8rem; color: var(--text-dim); }
.section--ink .review-author .role, .section--ink-2 .review-author .role { color: var(--text-on-ink-dim); }
.review-stars { color: var(--gold); letter-spacing: .15em; font-size: .8rem; }

/* ==========================================================================
   RATES / PACKAGES
   ========================================================================== */
.rates-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem,2vw,1.6rem); margin-top: clamp(2.5rem,5vw,4rem); }
@media (min-width: 860px){ .rates-grid { grid-template-columns: repeat(3,1fr); } }
.rate-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(1.8rem,3vw,2.4rem);
  display: flex; flex-direction: column; gap: 1.2rem;
  background: var(--paper);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.rate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.rate-card.is-featured { background: var(--ink); color: var(--text-on-ink); border-color: var(--ink); }
.rate-card__tag { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.rate-card.is-featured .rate-card__tag { color: var(--gold-soft); }
.rate-card h3 { font-family: var(--serif); font-weight: 360; font-size: 1.7rem; }
.rate-card .price { font-family: var(--serif); font-size: 2.4rem; font-weight: 340; line-height: 1; }
.rate-card .price small { font-family: var(--sans); font-size: .8rem; letter-spacing: .04em; color: var(--text-dim); text-transform: uppercase; }
.rate-card.is-featured .price small { color: var(--text-on-ink-dim); }
.rate-card ul.rate-feats { display: flex; flex-direction: column; gap: .7rem; margin-top: .4rem; }
.rate-card ul.rate-feats li { display: flex; gap: .7rem; font-size: .93rem; color: var(--text-dim); }
.rate-card.is-featured ul.rate-feats li { color: var(--text-on-ink-dim); }
.rate-card ul.rate-feats li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: .55em; flex: none; }
.rate-card .btn { margin-top: auto; justify-content: center; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-split { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 900px){ .contact-split { grid-template-columns: 1fr 1fr; } }
.contact-split__media { position: relative; min-height: 42vh; overflow: hidden; }
.contact-split__media img { position: absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.contact-split__form { padding: clamp(2rem,5vw,4.5rem) var(--gutter); background: var(--paper); }
.contact-split__form .h2 { margin-bottom: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.8rem; }
@media (min-width: 560px){ .form-row.form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .98rem;
  padding: .95em 1em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text);
  transition: border-color .3s, background-color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-actions { margin-top: 1.8rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form-note { font-size: .8rem; color: var(--text-dim); }
.form-success {
  margin-top: 1.6rem; padding: 1.2rem 1.4rem;
  border: 1px solid var(--gold); border-radius: 3px;
  background: rgba(178,138,76,.08);
  display: none; align-items: center; gap: .9rem;
}
.form-success.is-visible { display: flex; }
.form-success .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }

.contact-details { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 2rem; margin-top: clamp(2.5rem,5vw,3.5rem); }
.contact-details .lbl { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .6rem; }
.contact-details a:hover { color: var(--gold-deep); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--text-on-ink); padding-top: clamp(4rem,8vw,6.5rem); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem,5vw,4rem); padding-bottom: clamp(3rem,6vw,4.5rem); }
/* Mobile only: brand block stays full-width; the nav categories (Explore / The
   Estate / Contact) pair up two-per-row instead of stacking one at a time. */
@media (max-width: 719.98px){
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(1.25rem, 5vw, 2rem);
    row-gap: clamp(2.25rem, 6vw, 3rem);
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 720px){ .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px){ .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand .brand { color: var(--text-on-ink); font-size: 1.6rem; margin-bottom: 1.4rem; }
.footer-brand p { color: var(--text-on-ink-dim); max-width: 26rem; font-size: .95rem; }
.footer-col h4 { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.4rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .8rem; }
.footer-col a, .footer-col address { color: var(--text-on-ink-dim); font-size: .95rem; font-style: normal; line-height: 1.6; }
.footer-col a:hover { color: var(--text-on-ink); }
.footer-sister {
  display: inline-flex; align-items: center; gap: .7rem;
  border: 1px solid var(--line-ink); border-radius: 999px; padding: .8em 1.3em;
  font-size: .8rem; letter-spacing: .08em; margin-top: .4rem;
  transition: border-color .4s, background-color .4s;
}
.footer-sister:hover { border-color: var(--gold); background: rgba(178,138,76,.1); }
.footer-bottom {
  border-top: 1px solid var(--line-ink);
  padding-block: 1.8rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--text-on-ink-dim);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-legal a:hover { color: var(--text-on-ink); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: transform, opacity; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ==========================================================================
   MISC
   ========================================================================== */
.pill-note { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.pill-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.section--ink .pill-note { color: var(--gold-soft); }

.cta-band { text-align: center; }
.cta-band .h2 { max-width: 22ch; margin-inline: auto; margin-bottom: 1.4rem; }
.cta-band .lead { max-width: 44ch; margin-inline: auto; margin-bottom: 2.4rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.two-col-copy { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem,3vw,3rem); }
@media (min-width: 820px){ .two-col-copy { grid-template-columns: 1fr 1fr; } }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--gold); color: #fff; padding: .8em 1.4em; border-radius: 999px;
  z-index: 500; font-size: .8rem; transition: top .3s;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__slide.is-active .hero__media, .page-hero.is-loaded .page-hero__media { animation: none !important; transform: none !important; }
  .hero__dot.is-active::after { transition: none !important; transform: scaleX(1); }
  .hero__watermark { transform: translate(-50%,-50%) !important; }
}
