/* ==========================================================================
   EKA Beach — Talpe, Galle, Sri Lanka
   Palette and type tokens follow the Phase 4 visual direction:
   sun-bleached neutrals, low saturation, photography carries the colour.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, variable) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/css/fonts/fraunces-latin.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla";
  src: url("/css/fonts/karla-latin.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Palette — "French Grey Blue": chalky blue-grey, white, terracotta.
     Every text pair verified at WCAG AA (4.5:1) or better. */
  --sand:        #f4f7f9;   /* page base */
  --sand-deep:   #dfe8ee;   /* tint sections */
  --sand-line:   #c6d5de;   /* hairlines */
  --white:       #ffffff;

  --teal:        #55778c;   /* bands, nav ink — white on this 4.77:1 */
  --teal-dark:   #3b5362;   /* footer, hero scrim — white on this 8.08:1 */

  /* --coral is the terracotta accent. It clears 3:1 as decoration (bullets,
     borders, focus rings) but not 4.5:1 as text, so text and fills use the
     darkened variants below. */
  --coral:       #d9784f;
  --coral-btn:   #bc5429;      /* white on this 4.73:1 */
  --coral-btn-hover: #ad4d26;
  --coral-link:  #a34923;      /* 5.52:1 on base, 4.79:1 on tint */
  --coral-on-dark: #ecbba6;    /* 4.70:1 on footer */

  --palm:        #a9becb;      /* the French grey blue, decorative */
  --palm-text:   #4a687a;      /* eyebrows — 5.49:1 on base */

  --ink:         #232e35;
  --ink-soft:    #577284;      /* 4.71:1 on base */

  /* rgb triplets for translucent surfaces, so nothing is hardcoded */
  --white-rgb:     255,255,255;
  --sand-rgb:      244,247,249;
  --teal-dark-rgb: 59,83,98;
  --coral-rgb:     217,120,79;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1160px;
  --gutter: 1.25rem;
  --radius: 3px;
  --header-h: 64px;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.28rem + 0.85vw, 2rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.75vw, 2.9rem);
  --step-4: clamp(2.2rem, 1.6rem + 3vw, 4.1rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  font-variation-settings: "opsz" 60;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--teal); color: var(--white); padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--palm-text);
  margin-bottom: .9rem;
}

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }

.inline-link { color: var(--coral-link); font-weight: 700; text-underline-offset: 3px; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--coral); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5ch;
  min-height: 48px; padding: .8rem 1.6rem;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 700;
  line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--coral-btn); color: var(--white); border-color: var(--coral-btn); }
.btn--primary:hover { background: var(--coral-btn-hover); border-color: var(--coral-btn-hover); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(var(--white-rgb),.75); }
.btn--ghost:hover { background: rgba(var(--white-rgb),.14); border-color: var(--white); }
.btn--quiet { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--quiet:hover { background: var(--teal); color: var(--white); }
.btn--sm { min-height: 44px; padding: .55rem 1.05rem; font-size: var(--step--1); }
.btn--lg { padding: 1rem 2.1rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

/* Buttons are also <a>s; ancestor link-colour rules (footer, nav) have equal
   specificity, so restate the colours at a-plus-class specificity. */
a.btn--primary { color: var(--white); }
a.btn--ghost { color: var(--white); }
a.btn--quiet { color: var(--teal); }
a.btn--quiet:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--sand-rgb),.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--sand-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.logo { display: block; text-decoration: none; line-height: 0; }
.logo__img { width: 80px; height: auto; display: block; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px; margin-right: -12px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle__bar { display: block; height: 2px; background: var(--teal); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--sand); border-bottom: 1px solid var(--sand-line);
  padding: .5rem var(--gutter) 1.5rem;
  display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.primary-nav li + li { border-top: 1px solid var(--sand-line); }
.primary-nav ul a {
  display: block; padding: .95rem .25rem; min-height: 44px;
  font-weight: 700; text-decoration: none; color: var(--teal);
}
.primary-nav ul a[aria-current="page"] { color: var(--coral-link); }
.primary-nav__cta { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--teal-dark); }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: clamp(380px, 68vh, 760px); object-fit: cover;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--teal-dark-rgb),.32) 0%, rgba(var(--teal-dark-rgb),.18) 38%, rgba(var(--teal-dark-rgb),.86) 100%);
}
.hero__content {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding-block: 2rem 2.5rem; color: var(--white);
}
.hero h1 { color: var(--white); max-width: 16ch; margin-bottom: .35em; text-wrap: balance; }
.hero__sub {
  font-size: var(--step-1); line-height: 1.45; max-width: 46ch;
  color: rgba(var(--white-rgb),.93); margin-bottom: 1.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Proof strip ---------- */
.proof {
  background: var(--teal); color: var(--white);
  padding-block: 1.4rem;
}
.proof__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 1rem; text-align: center;
}
.proof__item strong {
  display: block; font-family: var(--font-display); font-size: var(--step-2);
  line-height: 1; font-variation-settings: "opsz" 90;
}
.proof__item span {
  display: block; font-size: var(--step--1); text-transform: uppercase;
  letter-spacing: .14em; color: rgba(var(--white-rgb),.78); margin-top: .4rem;
}
.proof__second {
  margin: 1.25rem 0 0; padding-top: 1.15rem; text-align: center;
  border-top: 1px solid rgba(var(--white-rgb),.18);
  font-size: var(--step--1); color: rgba(var(--white-rgb),.82);
}
.proof__second strong { color: var(--white); }
.proof__second a { color: var(--white); text-underline-offset: 3px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--tint { background: var(--sand-deep); }
.section--paper { background: var(--white); }
.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 0; }

.section__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Room grid ---------- */
.room-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; list-style: none; margin: 0; padding: 0;
}
.room-card { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.room-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room-card__body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.room-card__name { margin-bottom: .5rem; }
.room-card__specs {
  list-style: none; margin: 0 0 .85rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .35rem .5rem;
  font-size: var(--step--1); color: var(--ink-soft);
}
.room-card__specs li { background: var(--sand); border: 1px solid var(--sand-line); border-radius: 100px; padding: .2rem .7rem; }
/* Breakfast is an inclusion rather than a spec, so it reads as a perk. */
.room-card__specs li.is-included {
  color: var(--coral-link); font-weight: 700;
  background: rgba(var(--coral-rgb), .09);
  border-color: rgba(var(--coral-rgb), .38);
}
.room-card__note { margin: 0 0 1.15rem; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; }
.room-card__cta { margin-top: auto; align-self: flex-start; }

/* ---------- Group booking card ---------- */
.group-card {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.group-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.group-card__body { padding: 1.5rem 1.35rem 1.6rem; }
.group-card__name { margin-bottom: .6rem; }
.group-card__note { color: var(--ink-soft); margin-bottom: 1.35rem; max-width: 62ch; }

/* ---------- Amenities ---------- */
.amenities { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; grid-template-columns: 1fr; }
.amenities li { position: relative; padding-left: 1.9rem; }
.amenities li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 0 4px rgba(var(--coral-rgb),.16);
}

/* ---------- Distance chips ---------- */
.chips { list-style: none; margin: 0 0 2.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  background: var(--white); border: 1px solid var(--sand-line); border-radius: 100px;
  padding: .5rem 1.05rem; font-size: var(--step--1); font-weight: 700; color: var(--teal);
}
.chips strong { color: var(--coral-link); }

/* ---------- Experiences ---------- */
.exp-list { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.exp { display: grid; gap: 1.1rem; }
.exp__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); }
.exp__distance {
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: .14em;
  font-weight: 700; color: var(--palm-text); margin-bottom: .5rem;
}
.exp h3 { margin-bottom: .4em; }
.exp p { margin: 0; color: var(--ink-soft); }

/* ---------- Split (host teaser, contact) ---------- */
.split { display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
.split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split--top { align-items: start; }

/* ---------- Gallery ---------- */
.gallery-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .75rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
}
.gallery-strip > * { scroll-snap-align: start; }
.gallery-strip figure { margin: 0; }
.gallery-strip img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); }

.gallery-grid { columns: 1; column-gap: 1rem; margin: 0; padding: 0; }
.gallery-figure { break-inside: avoid; margin: 0 0 1rem; }
.gallery-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden;
}
.gallery-btn img { width: 100%; transition: transform .4s ease; }
.gallery-btn:hover img { transform: scale(1.03); }
.gallery-figure figcaption { font-size: var(--step--1); color: var(--ink-soft); padding-top: .6rem; line-height: 1.5; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(var(--teal-dark-rgb),.95); padding: 1rem;
  align-items: center; justify-content: center;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox__fig { margin: 0; max-width: min(1100px, 100%); max-height: 100%; text-align: center; }
.lightbox__fig img { max-height: 78dvh; width: auto; margin-inline: auto; object-fit: contain; }
.lightbox__cap { color: rgba(var(--white-rgb),.9); font-size: var(--step--1); padding-top: .85rem; }
.lightbox__btn {
  position: absolute; min-width: 48px; min-height: 48px;
  background: rgba(var(--white-rgb),.12); color: var(--white);
  border: 1px solid rgba(var(--white-rgb),.4); border-radius: 50%;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(var(--white-rgb),.24); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .75rem; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 74ch; }
.faq-item { border-bottom: 1px solid var(--sand-line); }
.faq-item__q {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative; font-family: var(--font-display); font-size: var(--step-1);
  font-weight: 600; line-height: 1.3; min-height: 44px;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "+"; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.6rem; color: var(--coral-link); line-height: 1;
}
.faq-item[open] .faq-item__q::after { content: "\2212"; }
.faq-item__a { padding: 0 2.5rem 1.4rem 0; color: var(--ink-soft); max-width: 66ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal); color: var(--white); padding-block: clamp(3rem, 8vw, 5rem); }
.cta-band__inner { text-align: center; max-width: 60ch; }
.cta-band__title { color: var(--white); text-wrap: balance; }
.cta-band__text { color: rgba(var(--white-rgb),.85); margin-bottom: 1.9rem; }
.cta-band__proof {
  margin-top: 1.2rem; font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: .13em; color: rgba(var(--white-rgb),.72);
}

/* ---------- Map ---------- */
.map-frame { border: 1px solid var(--sand-line); border-radius: var(--radius); overflow: hidden; background: var(--sand-deep); }
.map-frame iframe { display: block; width: 100%; height: clamp(300px, 48vw, 460px); border: 0; }
.map-frame--inset { margin-top: 1.5rem; }
.map-link { margin-top: .75rem; }

/* ---------- Notice / callout ---------- */
.notice {
  background: var(--white); border: 1px solid var(--sand-line);
  border-left: 4px solid var(--coral); border-radius: var(--radius);
  padding: 1.25rem 1.35rem; margin-bottom: 2rem;
}
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--teal); }

/* ---------- Contact ---------- */
.form__hint { font-size: var(--step--1); color: var(--ink-soft); }
.contact-actions { margin-bottom: .75rem; }
.contact-actions .btn { max-width: 100%; overflow-wrap: anywhere; }
.contact-h2 { margin-top: 2.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-dark); color: rgba(var(--white-rgb),.82); padding-top: clamp(2.5rem, 7vw, 4rem); }
.site-footer__inner { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
.site-footer a { color: var(--white); }
.site-footer__name { font-family: var(--font-display); font-size: var(--step-2); color: var(--white); margin-bottom: .4rem; }
.site-footer__addr { margin-bottom: .5rem; }
.site-footer__street { color: rgba(var(--white-rgb),.62); font-size: var(--step--1); }
.site-footer__desc { margin-bottom: .6rem; }
.site-footer__proof { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .12em; color: var(--coral-on-dark); }
.site-footer__h {
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; color: rgba(var(--white-rgb),.6);
  margin: 0 0 .75rem;
}
.site-footer__book .btn { margin-bottom: .6rem; }
.site-footer__book .site-footer__h + .site-footer__h,
.site-footer__book .link-arrow { display: inline-block; }
.site-footer__book .site-footer__fine + .site-footer__h { margin-top: 1.75rem; }
.site-footer__fine { font-size: var(--step--1); color: rgba(var(--white-rgb),.6); margin-bottom: 0; }
.social-list { list-style: none; margin: 0 0 .75rem; padding: 0; }
.social-list li + li { margin-top: .3rem; }
.social-list a {
  display: grid; grid-template-columns: 18px 1fr; gap: .1rem .6rem;
  align-items: start; min-height: 44px; padding: .3rem 0; text-decoration: none;
}
.social-list a:hover .social-label { text-decoration: underline; }
.social-icon { grid-row: 1 / span 2; margin-top: .18em; }
.social-label { font-weight: 700; }
.social-meta { color: rgba(var(--white-rgb),.6); font-size: var(--step--1); }

.social-list--light a { color: var(--teal); font-weight: 700; }
.social-list--light .social-meta { color: var(--ink-soft); font-weight: 400; }

.site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li + li { margin-top: .5rem; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__legal {
  margin-top: clamp(2rem, 5vw, 3rem); padding-block: 1.25rem;
  border-top: 1px solid rgba(var(--white-rgb),.14); font-size: var(--step--1);
  color: rgba(var(--white-rgb),.55);
}
.site-footer__legal p { margin: 0; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 120;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(var(--sand-rgb),.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid var(--sand-line);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta[hidden] { display: none; }
.mobile-cta .btn { flex-direction: column; gap: .1rem; }
.mobile-cta__meta { font-size: .72rem; font-weight: 400; letter-spacing: .06em; opacity: .9; }

body.has-mobile-cta { padding-bottom: 76px; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (max-width: 599px) {
  /* "Check Availability on Airbnb ->" wraps awkwardly at .btn--lg on a phone. */
  .btn--lg { padding: .9rem 1.4rem; font-size: var(--step-0); }
}

@media (min-width: 600px) {
  .proof__list { grid-template-columns: repeat(3, 1fr); }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }
  .gallery-strip { grid-auto-columns: 44%; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .group-card { grid-template-columns: 5fr 7fr; align-items: center; }
  .group-card__img { height: 100%; aspect-ratio: auto; min-height: 260px; }
  .group-card__body { padding: 2rem 2.25rem; }

  .exp { grid-template-columns: 5fr 7fr; gap: 2rem; align-items: center; }
  .exp:nth-child(even) .exp__img { order: 2; }
  .split { grid-template-columns: 1fr 1fr; }
  .hero__content { padding-block: 3rem 3.5rem; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }

  .logo__img { width: 96px; }

  .nav-toggle { display: none; }
  .primary-nav {
    position: static; display: flex !important; align-items: center; gap: 1.75rem;
    background: none; border: 0; padding: 0; max-height: none; overflow: visible;
  }
  .primary-nav ul { display: flex; align-items: center; gap: 1.5rem; margin: 0; }
  .primary-nav li + li { border-top: 0; }
  .primary-nav ul a { padding: .35rem 0; font-size: var(--step--1); font-weight: 700; }
  .primary-nav ul a[aria-current="page"] { border-bottom: 2px solid var(--coral); }
  .primary-nav__cta { width: auto; }

  .room-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { columns: 3; column-gap: 1.25rem; }
  .gallery-figure { margin-bottom: 1.25rem; }
  .gallery-strip { grid-auto-columns: 30%; }
  .site-footer__inner { grid-template-columns: 1.7fr 1.2fr 1.2fr .9fr; }

  /* Desktop keeps the header CTA in view; the bottom bar is a mobile pattern. */
  .mobile-cta { display: none !important; }
  body.has-mobile-cta { padding-bottom: 0; }
}

@media (min-width: 1100px) {
  .amenities { grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; }
}

@media print {
  .site-header, .mobile-cta, .cta-band, .lightbox { display: none !important; }
  body { background: #fff; }
}
