/* ============================================================
   Shanti Sudha Resort — Design System
   Palette derived from the brand logo: emerald green + gold.
   Restrained, flat fills with subtle depth — no rainbow gradients.
   ============================================================ */

:root {
  --ink: #123a2c; /* deep forest base (lifted from near-black) */
  --green: #184a38; /* panel green                     */
  --green-2: #1e573f; /* raised panel                    */
  --sage: #4b9a70; /* soft accent                     */
  --gold: #c9a24b;
  --gold-2: #d8b25a;
  --gold-soft: #e7cd86;
  --ivory: #f5f1e6;
  --muted: #c3cfc7; /* muted text on dark (slightly brighter for the lifted greens) */
  --line: rgba(201, 162, 75, 0.22);
  --line-soft: rgba(245, 241, 230, 0.1);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --r: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* When Lenis is active it controls scroll; keep native smooth as fallback. */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
html:not(.lenis) {
  scroll-behavior: smooth;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.005em;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
}
.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.section {
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--pad);
  position: relative;
}
.container {
  max-width: var(--maxw);
  margin-inline: auto;
}
.section__head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head .display {
  margin-top: 1rem;
}
.center {
  text-align: center;
  margin-inline: auto;
}
.center .eyebrow {
  justify-content: center;
}
.center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

/* Gold hairline divider with motif dot */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  opacity: 0.85;
}
.divider span {
  height: 1px;
  width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.divider .dot {
  color: var(--gold);
  font-size: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--ivory);
  transition:
    transform 0.4s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(201, 162, 75, 0.6);
}
.btn--gold:hover {
  background: var(--gold-2);
  box-shadow: 0 16px 38px -12px rgba(201, 162, 75, 0.75);
}
.btn--ghost {
  border-color: var(--line-soft);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* =====================================================
   Preloader
   ===================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
.preloader__logo {
  width: clamp(110px, 22vw, 170px);
  animation: pl-pulse 1.6s var(--ease) infinite;
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
@keyframes pl-pulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.8;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =====================================================
   Navigation
   ===================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition:
    border-color 0.4s var(--ease),
    padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  padding: 0.5rem 0;
}
/* The scrolled tint + blur live on a pseudo-element, NOT on .nav itself.
   A backdrop-filter (or filter/transform) on .nav would make it the containing
   block for its position:fixed descendants — which would collapse the mobile
   drawer into the navbar strip as soon as .is-scrolled was added. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 58, 44, 0.86);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav.is-scrolled::before,
.nav--solid::before {
  opacity: 1;
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.75rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav.is-scrolled {
  border-color: var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav__brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}
.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav__brand-text em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-top: 3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ivory);
  position: relative;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover {
  opacity: 1;
}
.nav__links a:hover::after {
  width: 100%;
}
.nav__cta--mobile {
  display: none;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition:
    transform 0.35s var(--ease),
    opacity 0.3s;
}
.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
/* Video needs an explicit block/position so it sits under the overlay. */
.hero__media video {
  display: block;
  background: var(--ink);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 58, 44, 0.55) 0%,
      rgba(18, 58, 44, 0.35) 40%,
      rgba(18, 58, 44, 0.92) 100%
    ),
    linear-gradient(90deg, rgba(18, 58, 44, 0.6), transparent 60%);
}
.hero__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 8rem var(--pad) 6rem;
  width: 100%;
}
.hero__eyebrow {
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}
.hero__sub {
  margin: 1.8rem 0 2.6rem;
  max-width: 46ch;
  color: rgba(245, 241, 230, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* words for stagger */
.word {
  display: inline-block;
  overflow: hidden;
}
.word > span {
  display: inline-block;
}

/* =====================================================
   About + stats
   ===================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__body p + p {
  margin-top: 1.2rem;
  color: var(--muted);
}
.about__figure {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
}
.stat {
  background: var(--green);
  padding: 2rem 1.4rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold-soft);
  line-height: 1;
}
.stat__label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* =====================================================
   Rooms
   ===================================================== */
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.room {
  background: var(--green);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.room:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.room__media {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.room__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.room:hover .room__media img {
  transform: scale(1.06);
}
.room__body {
  padding: 1.6rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.room__name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
}
.room__rate {
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}
.room__blurb {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.9rem 0 1.1rem;
}
.room__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.room__specs li {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ivory);
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  padding: 0.35em 0.9em;
}
.room__book {
  margin-top: auto;
  align-self: flex-start;
}

/* =====================================================
   Amenities
   ===================================================== */
.amen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
}
.amen {
  background: var(--ink);
  padding: clamp(1.8rem, 2vw, 2.6rem);
  transition: background 0.4s var(--ease);
}
.amen:hover {
  background: var(--green);
}
.amen__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.amen__icon svg {
  width: 100%;
  height: 80%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}
.amen h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}
.amen p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

/* =====================================================
   Gallery
   ===================================================== */
.gallery__grid {
  columns: 3;
  column-gap: 1rem;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery__item img {
  width: 100%;
  transition: transform 0.8s var(--ease);
}
.gallery__item::after {
  content: "＋";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ivory);
  font-size: 1.6rem;
  background: rgba(18, 58, 44, 0.35);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover::after {
  opacity: 1;
}
.gallery__item:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(6, 20, 16, 0.94);
  display: none;
  place-items: center;
  padding: 4vw;
}
.lightbox.is-open {
  display: grid;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.4rem;
  color: var(--ivory);
  line-height: 1;
}

/* =====================================================
   Experiences
   ===================================================== */
.exp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.exp {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
}
.exp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
  z-index: -1;
}
.exp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(9, 24, 19, 0.9));
  z-index: -1;
}
.exp:hover img {
  transform: scale(1.07);
}
.exp__body {
  padding: 1.8rem;
}
.exp__body h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
}
.exp__body p {
  color: rgba(245, 241, 230, 0.85);
  font-size: 0.92rem;
  margin-top: 0.4rem;
}

/* =====================================================
   Events & Celebrations
   Asymmetric editorial grid: one wide feature card + four.
   ===================================================== */
.events {
  background: #0f3327;
}
.events__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.event {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  grid-column: span 2;
  transition:
    transform 0.55s var(--ease),
    border-color 0.55s var(--ease),
    box-shadow 0.55s var(--ease);
}
/* Feature card spans the full row and stands taller. */
.event--feature {
  grid-column: span 4;
  min-height: 420px;
}
.event:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 34px 66px -34px rgba(0, 0, 0, 0.75);
}
.event__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Pull stock photos toward the brand's restrained palette so no card
     screams louder than the emerald/gold system. */
  filter: saturate(0.78) contrast(1.03) brightness(0.95);
  transition: transform 0.9s var(--ease);
}
.event:hover .event__bg {
  transform: scale(1.06);
}
.event::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(16, 50, 38, 0.25) 0%,
    rgba(16, 50, 38, 0.78) 55%,
    rgba(13, 44, 33, 0.95) 100%
  );
}
.event__body {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  max-width: 56ch;
}
.event__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  margin-bottom: 1.1rem;
  background: rgba(18, 58, 44, 0.55);
  backdrop-filter: blur(4px);
}
.event__icon svg {
  width: 22px;
  height: 22px;
}
.event__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}
.event--feature .event__title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}
.event__text {
  color: rgba(245, 241, 230, 0.82);
  font-size: 0.94rem;
  margin-top: 0.6rem;
}
.event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.event__meta li {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.4em 0.95em;
  background: rgba(18, 58, 44, 0.45);
}
.event__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.event__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}
.event__cta:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
}
.event__cta:hover svg {
  transform: translateX(4px);
}

.events__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.events__foot p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--muted);
}

/* =====================================================
   Booking
   ===================================================== */
.booking {
  background: linear-gradient(180deg, var(--ink), #0e3024);
}
.booking__panel {
  background: var(--green);
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 6px);
  padding: clamp(1.6rem, 4vw, 3rem);
  max-width: 960px;
  margin-inline: auto;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.7);
}
.booking__tabs {
  display: inline-flex;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  padding: 5px;
  margin-bottom: 2rem;
}
.booking__tab {
  padding: 0.7em 1.6em;
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition:
    color 0.3s,
    background 0.3s;
}
.booking__tab.is-active {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}

.form {
  display: none;
}
.form.is-active {
  display: block;
  animation: fadeUp 0.5s var(--ease);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.2rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req {
  color: var(--gold-2);
}
.field input,
.field select,
.field textarea {
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0.85em 1em;
  color: var(--ivory);
  font: inherit;
  font-size: 0.95rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.14);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(185, 198, 190, 0.5);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A24B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1em center;
  padding-right: 2.6em;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #d98a6a;
}
.field__err {
  font-size: 0.72rem;
  color: #e6a988;
  min-height: 1em;
  display: none;
}
.field.has-error .field__err {
  display: block;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.form__actions {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.form__note {
  color: var(--muted);
  font-size: 0.8rem;
}

/* status banners */
.banner {
  border-radius: 12px;
  padding: 1em 1.2em;
  margin-bottom: 1.6rem;
  font-size: 0.92rem;
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.banner--ok {
  background: rgba(63, 138, 99, 0.14);
  border-color: var(--sage);
  color: #cdebd7;
}
.banner--err {
  background: rgba(217, 138, 106, 0.12);
  border-color: #d98a6a;
  color: #f0c3ac;
}

/* =====================================================
   Testimonials
   ===================================================== */
.tst {
  overflow: hidden;
}
.tst__track {
  display: flex;
  transition: transform 0.7s var(--ease);
}
.tst__slide {
  min-width: 100%;
  padding: 0 clamp(0rem, 5vw, 4rem);
  text-align: center;
}
.tst__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3.4vw, 2.3rem);
  line-height: 1.4;
  color: var(--ivory);
}
.tst__mark {
  color: var(--gold);
  font-size: 3rem;
  font-family: var(--font-serif);
  line-height: 0;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.tst__name {
  margin-top: 1.6rem;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.tst__meta {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}
.tst__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
}
.tst__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-soft);
  border: 1px solid var(--line);
  transition:
    background 0.3s,
    transform 0.3s;
}
.tst__dots button.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

/* =====================================================
   Contact
   ===================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact__item .ic {
  color: var(--gold);
  width: 22px;
  flex: none;
  margin-top: 3px;
}
.contact__item h4 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact__item p,
.contact__item a {
  color: var(--ivory);
}
.contact__map {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 1rem;
}
.contact__map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}
.contact__form {
  background: var(--green);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: #0d2c21;
  border-top: 1px solid var(--line-soft);
  padding: clamp(3.5rem, 6vw, 5rem) var(--pad) 0;
}
.footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand img {
  width: 84px;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.footer__tag {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.2rem;
}
.footer__former {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
.footer__col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.1rem;
}
.footer__col a,
.footer__col p {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
  transition: color 0.3s;
}
.footer__col a:hover {
  color: var(--gold-soft);
}
.footer__bar {
  max-width: var(--maxw);
  margin-inline: auto;
  border-top: 1px solid var(--line-soft);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8rem;
}

/* =====================================================
   Scroll reveal (JS toggles .is-in). Fallback: visible.
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* =====================================================
   Multi-page: inner-page nav, active link, page-hero
   ===================================================== */
/* Inner pages have no full-bleed hero, so the nav is solid from the top. */
.nav--solid {
  border-color: var(--line);
}
/* Current-page link: persistent gold underline. */
.nav__links a.is-active {
  opacity: 1;
  color: var(--gold-soft);
}
.nav__links a.is-active::after {
  width: 100%;
}

/* Compact page banner that sits below the fixed nav on inner pages. */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(7rem, 14vw, 10rem) 0 clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.7);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(18, 58, 44, 0.7) 0%,
    rgba(18, 58, 44, 0.82) 60%,
    var(--ink) 100%
  );
}
.page-hero__inner {
  padding-inline: var(--pad);
}
.page-hero__crumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.page-hero__crumbs a {
  color: var(--muted);
  transition: color 0.3s;
}
.page-hero__crumbs a:hover {
  color: var(--gold-soft);
}
.page-hero__crumbs span[aria-hidden] {
  color: var(--gold);
  opacity: 0.6;
}
.page-hero .eyebrow {
  margin-bottom: 0.9rem;
}
.page-hero__title {
  margin: 0;
}
.page-hero__sub {
  margin-top: 1rem;
}
/* Gentle fade-in for inner page content (skipped under reduced-motion). */
.nav--solid ~ main {
  animation: page-fade 0.6s var(--ease) both;
}
@keyframes page-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================
   Home landing — teaser CTA link (centered under a preview)
   ===================================================== */
.section__cta {
  text-align: center;
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
}

/* =====================================================
   Home — highlights strip
   ===================================================== */
.highlights {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--green);
}
.highlights__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-block: clamp(1.6rem, 3vw, 2.2rem);
}
.highlight {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1 1 auto;
  justify-content: center;
}
.highlight__icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  flex: none;
}
.highlight__icon svg {
  width: 100%;
  height: 100%;
}
.highlight__label {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--ivory);
  white-space: nowrap;
}

/* =====================================================
   Home — "The Midpoint Promise" pillars
   ===================================================== */
.promise__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.promise__card {
  background: var(--green);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.promise__card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
}
.promise__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.promise__icon svg {
  width: 26px;
  height: 26px;
}
.promise__title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
}
.promise__text {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.6rem;
}

/* =====================================================
   Home — dining feature (split media / text)
   ===================================================== */
.dining__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.dining__media {
  position: relative;
  min-height: 420px;
}
.dining__img {
  position: absolute;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.dining__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dining__img--1 {
  top: 0;
  left: 0;
  width: 72%;
  aspect-ratio: 4/3;
  z-index: 1;
}
.dining__img--2 {
  bottom: 0;
  right: 0;
  width: 52%;
  aspect-ratio: 3/4;
}
.dining__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.4rem;
  margin-top: 1.6rem;
}
.dining__points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ivory);
  font-size: 0.94rem;
}
.dining__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* =====================================================
   Home — location & how-to-reach
   ===================================================== */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.distances {
  margin-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
}
.distance {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.distance__km {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-soft);
}
.distance__place {
  font-size: 0.98rem;
  color: var(--ivory);
}
.distance__note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}
.location__map {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}
.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

/* =====================================================
   Home — closing CTA band
   ===================================================== */
.cta-band {
  background: linear-gradient(180deg, var(--green), #0e3024);
  border-top: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band__title {
  margin-top: 0.6rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
}
.cta-band__text {
  color: var(--muted);
  margin-top: 0.8rem;
  max-width: 46ch;
}
.cta-band__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =====================================================
   Responsive
   ===================================================== */
/* Tighten the nav before the mobile drawer kicks in — 7 links + CTA get snug. */
@media (max-width: 1140px) {
  .nav__links {
    gap: 1.3rem;
  }
  .nav__links a {
    font-size: 0.75rem;
  }
  .nav__brand-text strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 980px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__figure {
    order: -1;
    aspect-ratio: 16/10;
  }
  .rooms__grid,
  .amen__grid,
  .exp__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Events: 2-up, feature still spans the full row. */
  .events__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event {
    grid-column: span 1;
  }
  .event--feature {
    grid-column: span 2;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .gallery__grid {
    columns: 2;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Home landing blocks */
  .promise__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dining__grid,
  .location__grid {
    grid-template-columns: 1fr;
  }
  .dining__media {
    order: -1;
  }
  .location__map iframe {
    min-height: 300px;
  }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    background: rgba(16, 50, 38, 0.97);
    backdrop-filter: blur(16px);
    padding: 2rem 2.4rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav.is-open .nav__links {
    transform: none;
  }
  .nav__links a {
    font-size: 1.1rem;
  }
  .nav__cta {
    display: none;
  }
  .nav__cta--mobile {
    display: inline-flex;
    margin-top: 0.5rem;
  }
  .nav__toggle {
    display: flex;
  }
  .rooms__grid,
  .amen__grid,
  .exp__grid {
    grid-template-columns: 1fr;
  }
  /* Events: single column, feature loses its extra height. */
  .events__grid {
    grid-template-columns: 1fr;
  }
  .event,
  .event--feature {
    grid-column: span 1;
    min-height: 340px;
  }
  .events__foot {
    flex-direction: column;
    gap: 1rem;
  }
  .form__grid {
    grid-template-columns: 1fr;
  }
  .gallery__grid {
    columns: 1;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  /* Home landing blocks */
  .highlights__inner {
    justify-content: flex-start;
  }
  .highlight {
    flex: 1 1 40%;
    justify-content: flex-start;
  }
  .promise__grid {
    grid-template-columns: 1fr;
  }
  .dining__points {
    grid-template-columns: 1fr;
  }
  .distance {
    grid-template-columns: 4.5rem 1fr;
  }
  .distance__note {
    display: none;
  }
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================
   Reduced motion — calm everything down
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__media img,
  .hero__media video {
    height: 100%;
  }
  .preloader {
    display: none;
  }
}
