/* ==========================================================================
   Abaco Shores Resort
   Built by Baha Connect IT Solutions
   Source file. Edit here, then run python3 _build.py
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Type families */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.75rem;

  /* Line heights, inversely proportional to size */
  --leading-none: 1;
  --leading-tight: 1.14;
  --leading-snug: 1.34;
  --leading-normal: 1.62;
  --leading-relaxed: 1.78;

  /* Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Tracking */
  --tracking-tight: -0.025em;
  --tracking-normal: 0em;
  --tracking-wide: 0.06em;
  --tracking-widest: 0.18em;

  /* Colour: ocean */
  --sea-900: hsl(196 48% 11%);
  --sea-800: hsl(194 44% 16%);
  --sea-700: hsl(192 41% 23%);
  --sea-600: hsl(190 38% 30%);
  --sea-500: hsl(187 36% 40%);
  --sea-400: hsl(184 34% 54%);
  --sea-300: hsl(182 36% 68%);
  --sea-100: hsl(180 40% 92%);

  /* Colour: sand and warm white */
  --sand-50: hsl(38 46% 97%);
  --sand-100: hsl(37 40% 94%);
  --sand-200: hsl(35 33% 89%);
  --sand-300: hsl(33 27% 82%);
  --sand-400: hsl(32 22% 71%);
  --sand-600: hsl(30 17% 52%);

  /* Colour: palm and brass accents */
  --palm-700: hsl(150 22% 21%);
  --palm-500: hsl(150 20% 33%);
  --brass-600: hsl(36 56% 36%);
  --brass-500: hsl(36 58% 45%);
  --brass-400: hsl(37 60% 56%);
  --brass-300: hsl(38 62% 70%);

  /* Text hierarchy */
  --ink: hsl(196 30% 11%);
  --ink-2: hsl(196 14% 32%);
  --ink-3: hsl(196 10% 47%);
  --on-dark: hsl(38 44% 96%);
  --on-dark-2: hsl(38 22% 84%);
  --on-dark-3: hsl(38 14% 72%);

  /* Surfaces */
  --surface: var(--sand-50);
  --surface-raised: hsl(40 50% 99%);
  --line: hsl(34 24% 84%);
  --line-strong: hsl(34 20% 72%);

  /* Spacing, 4pt grid */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --arch: 50% 50% var(--radius-md) var(--radius-md) / 26% 26% var(--radius-md) var(--radius-md);

  /* Shadows, tinted with the sea hue rather than pure black */
  --shadow-xs: 0 1px 2px hsl(196 40% 12% / 0.07);
  --shadow-sm: 0 2px 6px hsl(196 40% 12% / 0.08);
  --shadow-md: 0 8px 20px hsl(196 40% 12% / 0.10);
  --shadow-lg: 0 18px 42px hsl(196 40% 12% / 0.14);
  --shadow-xl: 0 32px 72px hsl(196 40% 12% / 0.20);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 0.18s;
  --dur: 0.32s;
  --dur-slow: 0.6s;

  /* Layout */
  --container: 1180px;
  --container-narrow: 700px;
  --gutter: var(--space-6);
  --header-h: 76px;
  --section-y: var(--space-24);
}

@media (max-width: 900px) {
  :root {
    --text-4xl: 2.25rem;
    --text-5xl: 2.6rem;
    --header-h: 64px;
    --section-y: var(--space-16);
    --gutter: var(--space-5);
  }
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
  /* clip, not hidden, so off canvas panels and reveal transforms cannot
     create a horizontal scrollbar while the page still scrolls normally */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Fine paper tooth so no panel is ever a dead flat colour */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(hsl(30 30% 40% / 0.045) 1px, transparent 1px),
    radial-gradient(hsl(30 30% 40% / 0.035) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 2px 3px;
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--text-4xl); line-height: var(--leading-tight); }
h2 { font-size: var(--text-3xl); line-height: var(--leading-tight); }
h3 { font-size: var(--text-2xl); line-height: var(--leading-snug); letter-spacing: -0.015em; }
h4 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
}

p { margin: 0 0 var(--space-4); max-width: 66ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--sea-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-600); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-5);
  background: var(--sea-800);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--space-4); color: var(--on-dark); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: var(--space-16); }

.section--sand { background: var(--sand-100); }
.section--deep {
  background:
    radial-gradient(120% 90% at 12% 0%, hsl(190 40% 26%) 0%, transparent 60%),
    linear-gradient(170deg, var(--sea-800) 0%, var(--sea-900) 100%);
  color: var(--on-dark-2);
}
.section--deep h2, .section--deep h3, .section--deep h4 { color: var(--on-dark); }
.section--deep a { color: var(--brass-300); }

.section-head { max-width: 700px; margin-bottom: var(--space-12); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--space-5); }
.section-head--center p { margin-inline: auto; }

/* Eyebrow with a short brass rule, used on every section */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--brass-600);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.section-head--center .eyebrow { justify-content: center; }
.section--deep .eyebrow { color: var(--brass-400); }

.lede { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--ink-2); }
.section--deep .lede { color: var(--on-dark-2); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  background: var(--sea-800);
  border-color: var(--sea-800);
  color: var(--on-dark);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--sea-700);
  border-color: var(--sea-700);
  color: var(--on-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--primary:active { transform: translateY(1px); box-shadow: var(--shadow-xs); }

.btn--brass {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: hsl(30 45% 10%);
  box-shadow: var(--shadow-sm);
}
.btn--brass:hover {
  background: var(--brass-400);
  border-color: var(--brass-400);
  color: hsl(30 45% 10%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--brass:active { transform: translateY(1px); box-shadow: var(--shadow-xs); }

.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: hsl(40 50% 99% / 0.6);
}
.btn--outline:hover {
  border-color: var(--sea-700);
  background: var(--surface-raised);
  color: var(--sea-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn--outline:active { transform: translateY(1px); }

.btn--ghost-light {
  border-color: hsl(38 40% 96% / 0.55);
  color: var(--on-dark);
  background: hsl(196 48% 11% / 0.22);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover {
  border-color: var(--on-dark);
  background: hsl(38 44% 96% / 0.16);
  color: var(--on-dark);
  transform: translateY(-2px);
}
.btn--ghost-light:active { transform: translateY(1px); }

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.btn-row--center { justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  color: var(--sea-800);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
}
.text-link span { position: relative; }
.text-link span::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.text-link:hover { color: var(--brass-600); }
.text-link:hover span::after { transform: scaleX(0.35); }
.text-link svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.section--deep .text-link { color: var(--brass-300); }

/* --------------------------------------------------------------------------
   5. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, hsl(196 48% 11% / 0.55), transparent);
  opacity: 1;
  transition: opacity var(--dur) var(--ease);
}
.site-header.is-solid {
  background: hsl(38 46% 97% / 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header.is-solid::after { opacity: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--on-dark);
  transition: color var(--dur) var(--ease);
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark .mark-ring { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: 0.85; }
.brand-mark .mark-wave { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
}
.brand-sub {
  margin-top: 3px;
  font-size: 9px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  opacity: 0.78;
}
.site-header.is-solid .brand { color: var(--ink); }
.brand:hover { color: var(--brass-400); }
.site-header.is-solid .brand:hover { color: var(--brass-600); }

.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav-list { display: flex; align-items: center; gap: var(--space-6); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 12px;
  width: 0; height: 1px;
  background: var(--brass-400);
  transition: width var(--dur) var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { width: 100%; }
.nav-link:hover { color: var(--brass-300); }
.site-header.is-solid .nav-link { color: var(--ink-2); }
.site-header.is-solid .nav-link:hover,
.site-header.is-solid .nav-link[aria-current="page"] { color: var(--sea-800); }
.site-header.is-solid .nav-link::after { background: var(--brass-500); }

.nav-cta { min-height: 44px; padding-inline: var(--space-5); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid hsl(38 40% 96% / 0.5);
  border-radius: var(--radius-sm);
  background: hsl(196 48% 11% / 0.2);
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.site-header.is-solid .nav-toggle {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}
.nav-toggle:hover { border-color: var(--brass-500); }
.nav-toggle-bars { position: relative; width: 20px; height: 12px; }
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: hsl(196 48% 11% / 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 99;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + var(--space-6)) var(--space-6) var(--space-8);
    background: var(--sand-50);
    box-shadow: var(--shadow-xl);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    min-height: 56px;
    padding-block: var(--space-2);
    border-bottom: 1px solid var(--line);
    color: var(--ink) !important;
    font-size: var(--text-base);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--brass-600) !important; }
  .nav-cta { margin-top: var(--space-6); width: 100%; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(94svh, 820px);
  padding-top: calc(var(--header-h) + var(--space-16));
  padding-bottom: var(--space-20);
  overflow: hidden;
  background: var(--sea-900);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: -2;
  will-change: transform;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero-media video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.hero-media video.is-ready { opacity: 1; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, hsl(196 48% 9% / 0.86) 0%, hsl(196 48% 9% / 0.34) 42%, hsl(196 48% 9% / 0.30) 100%);
}

.hero-inner { max-width: 760px; color: var(--on-dark); }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  color: var(--brass-300);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }

.hero-title {
  color: var(--on-dark);
  font-size: var(--text-5xl);
  font-weight: var(--weight-regular);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
  text-shadow: 0 2px 30px hsl(196 48% 9% / 0.5);
}
.hero-tagline {
  margin-top: var(--space-4);
  color: var(--brass-300);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
}
.hero-sub {
  margin-top: var(--space-5);
  max-width: 46ch;
  color: var(--on-dark-2);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  text-shadow: 0 1px 16px hsl(196 48% 9% / 0.6);
}
.hero .btn-row { margin-top: var(--space-10); }

/* Compact hero for interior pages */
.hero--page { min-height: min(62svh, 520px); padding-bottom: var(--space-16); }
.hero--page .hero-title { font-size: var(--text-4xl); }

/* --------------------------------------------------------------------------
   7. Stat strip
   -------------------------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid var(--line);
}
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-regular);
  line-height: var(--leading-none);
  color: var(--sea-700);
}
.stat-label {
  margin-top: var(--space-2);
  color: var(--ink-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-4); }
}

/* --------------------------------------------------------------------------
   8. Feature blocks (asymmetric two column with arched image)
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(var(--space-10), 6vw, var(--space-24));
  align-items: center;
}
.feature--flip .feature-media { order: 2; }
.feature-body h2 { margin-bottom: var(--space-5); }

.feature-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--arch);
  box-shadow: var(--shadow-lg);
  background: var(--sand-200);
}
.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease);
}
.feature-media:hover img { transform: scale(1.11); }

/*
  The arch belongs to portrait media only. On a landscape image the same curve
  reads as a dome, so wide media keeps the brass frame but drops to a soft
  rectangle with a gentle lift at the top corners.
*/
.feature-media--wide {
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-md);
}
.feature-media--wide img { aspect-ratio: 16 / 9; }

/* A thin brass frame set inside the arch, the signature detail of the site */
.feature-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid hsl(38 62% 70% / 0.55);
  border-radius: 50% 50% var(--radius-sm) var(--radius-sm) / 24% 24% var(--radius-sm) var(--radius-sm);
  pointer-events: none;
}
.feature-media--wide::after {
  inset: 14px;
  border-radius: var(--radius-md) var(--radius-md) var(--radius-sm) var(--radius-sm);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.price-tag .from {
  color: var(--ink-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.price-tag .amount {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1;
  color: var(--ink);
}
.price-tag .unit { color: var(--ink-3); font-size: var(--text-sm); }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: var(--space-10); }
  .feature--flip .feature-media { order: 0; }
  .feature-media img { aspect-ratio: 4 / 3; }
  .feature-media--wide img { aspect-ratio: 3 / 2; }
}

/* --------------------------------------------------------------------------
   9. Check list
   -------------------------------------------------------------------------- */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-6);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.check-list svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--sea-400); }
.section--deep .check-list li { color: var(--on-dark-2); }
.section--deep .check-list svg { color: var(--brass-400); }
@media (max-width: 560px) { .check-list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .card-grid--3 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: var(--space-8);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sand-300); }
.card h3, .card h4 { margin-bottom: var(--space-3); }
.card p { font-size: var(--text-sm); }

.card--dark {
  background: hsl(38 44% 96% / 0.06);
  border-color: hsl(38 44% 96% / 0.16);
  box-shadow: none;
}
.card--dark:hover { border-color: hsl(38 62% 70% / 0.5); background: hsl(38 44% 96% / 0.09); }
.card--dark p { color: var(--on-dark-2); }

.card-num {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--brass-500);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
}

/* Amenity list styled as a bordered index rather than boxes */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.amenity-grid li {
  padding: var(--space-6) var(--space-6) var(--space-6) 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.amenity-grid li:nth-child(3n) { border-right: 0; padding-right: 0; }
.amenity-grid li { padding-left: var(--space-6); }
.amenity-grid li:nth-child(3n + 1) { padding-left: 0; }
.amenity-name {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--ink);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
}
.amenity-desc { font-size: var(--text-sm); color: var(--ink-3); }
@media (max-width: 820px) {
  .amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amenity-grid li:nth-child(3n) { border-right: 1px solid var(--line); padding-right: var(--space-6); }
  .amenity-grid li:nth-child(3n + 1) { padding-left: var(--space-6); }
  .amenity-grid li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .amenity-grid li:nth-child(2n + 1) { padding-left: 0; }
}
@media (max-width: 520px) {
  .amenity-grid { grid-template-columns: 1fr; }
  .amenity-grid li { border-right: 0 !important; padding: var(--space-5) 0 !important; }
}

/* Definition rows for policies, hours, capacity */
.def-list { border-top: 1px solid var(--line); }
.def-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
}
.def-list dt, .def-term {
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.def-value { color: var(--ink-2); font-size: var(--text-sm); text-align: right; }
.section--deep .def-list { border-color: hsl(38 44% 96% / 0.18); }
.section--deep .def-list li { border-color: hsl(38 44% 96% / 0.18); }
.section--deep .def-term { color: var(--on-dark); }
.section--deep .def-value { color: var(--on-dark-2); }

/* --------------------------------------------------------------------------
   11. Menu
   -------------------------------------------------------------------------- */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.menu-tab {
  min-height: 46px;
  padding: 0 var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.menu-tab:hover { color: var(--sea-800); border-color: var(--line-strong); }
.menu-tab[aria-selected="true"] {
  background: var(--sea-800);
  border-color: var(--sea-800);
  color: var(--on-dark);
}

.menu-panel[hidden] { display: none; }
.menu-panel-note {
  margin-bottom: var(--space-8);
  color: var(--ink-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-16); }
@media (max-width: 820px) { .menu-list { grid-template-columns: 1fr; } }

.menu-item { padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}
.menu-item-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.menu-item-dots {
  flex: 1 1 auto;
  height: 1px;
  min-width: var(--space-6);
  background-image: linear-gradient(to right, var(--line-strong) 33%, transparent 0%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  transform: translateY(-4px);
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--brass-600);
  white-space: nowrap;
}
.menu-item-desc { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--ink-3); max-width: 52ch; }

.menu-note {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   12. Gallery and lightbox
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sand-200);
  cursor: zoom-in;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: hsl(196 48% 8% / 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-caption {
  position: absolute;
  left: 0; right: 0; bottom: var(--space-6);
  text-align: center;
  color: var(--on-dark-3);
  font-size: var(--text-sm);
  padding-inline: var(--space-6);
}
.lightbox-close {
  position: absolute;
  top: var(--space-5); right: var(--space-5);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid hsl(38 44% 96% / 0.4);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.lightbox-close:hover { border-color: var(--brass-400); background: hsl(38 44% 96% / 0.1); }

/* --------------------------------------------------------------------------
   13. Contact tiles, map, form
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sea-400); }
.contact-tile-icon {
  width: 22px; height: 22px;
  color: var(--sea-500);
  transition: color var(--dur-fast) var(--ease);
}
.contact-tile:hover .contact-tile-icon { color: var(--brass-500); }
.contact-tile-label {
  color: var(--ink-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.contact-tile-value {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  word-break: break-word;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sand-200);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(0.9) contrast(0.96); }
.map-fallback { position: absolute; inset: 0; z-index: -1; }
.map-fallback img { width: 100%; height: 100%; object-fit: cover; }

.form { display: grid; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
}
.field .hint { color: var(--ink-3); font-size: var(--text-xs); font-weight: var(--weight-regular); letter-spacing: 0; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-snug);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { min-height: 150px; padding-top: var(--space-4); resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23486069' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 12px 8px;
  padding-right: var(--space-10);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sea-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sea-600);
  box-shadow: 0 0 0 3px hsl(190 38% 30% / 0.16);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: hsl(4 62% 46%); }
.field-error { color: hsl(4 62% 40%); font-size: var(--text-xs); font-weight: var(--weight-bold); }
.field-error:empty { display: none; }

.form-status {
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--sea-500);
  border-radius: var(--radius-sm);
  background: hsl(180 40% 92% / 0.7);
  color: var(--sea-800);
  font-size: var(--text-sm);
}
.form-status[hidden] { display: none; }
.form-status.is-error { border-left-color: hsl(4 62% 46%); background: hsl(4 60% 95%); color: hsl(4 62% 32%); }

.form-note { color: var(--ink-3); font-size: var(--text-xs); }

.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

/* Two column shell for contact and events layouts */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.panel {
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   14. Parallax banner
   -------------------------------------------------------------------------- */
.banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(var(--space-20), 14vw, var(--space-32));
  background: var(--sea-900);
  color: var(--on-dark);
  text-align: center;
}
.banner-media { position: absolute; inset: -12% 0 -12% 0; z-index: -2; will-change: transform; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, hsl(196 48% 9% / 0.72), hsl(196 48% 9% / 0.82));
}
.banner h2 { color: var(--on-dark); }
.banner p { color: var(--on-dark-2); margin-inline: auto; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding-top: var(--space-20);
  padding-bottom: var(--space-8);
  background: var(--sea-900);
  color: var(--on-dark-3);
  font-size: var(--text-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid hsl(38 44% 96% / 0.14);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-10); } }

.footer-brand { color: var(--on-dark); }
.footer-brand .brand { color: var(--on-dark); }
.footer-tagline {
  margin-top: var(--space-4);
  max-width: 34ch;
  color: var(--on-dark-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
}
.footer-heading {
  margin-bottom: var(--space-5);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}
.footer-list li { min-height: 34px; display: flex; align-items: center; }
.footer-list li + li { margin-top: var(--space-1); }
.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark-3);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.footer-list a:hover { color: var(--brass-300); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-8);
  color: hsl(38 12% 62%);
  font-size: var(--text-xs);
}
.footer-bottom a { color: hsl(38 12% 62%); text-decoration: none; }
.footer-bottom a:hover { color: var(--brass-300); }

/* --------------------------------------------------------------------------
   16. Motion: scroll reveals
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }

.reveal-group > *:nth-child(1) { transition-delay: 0s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-group > *:nth-child(6) { transition-delay: 0.4s; }

.hero-inner > * { animation: heroIn 0.9s var(--ease) both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.10s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.18s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.26s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.34s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
  .hero-media, .banner-media { transform: none !important; }
}

/* --------------------------------------------------------------------------
   17. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .nav-scrim, .lightbox, .btn-row, .banner-media, .hero-media { display: none !important; }
  body { background: #fff; color: #000; }
  .section--deep, .banner, .site-footer { background: #fff !important; color: #000 !important; }
}
