/* ============================================================================
   Longitude 40 — Stargazing Retreat
   Stylesheet built from the design handoff's inline-style prototypes and
   documented design tokens (colour, type, spacing). No standalone CSS file
   shipped with the handoff — the .dc.html prototypes carried every value
   inline (350+ style attributes) — so this file consolidates all of that
   into real, reusable classes rather than inline styles.

   Rule: dark text NEVER sits on a dark surface, and light/cream text NEVER
   sits on a light surface — enforced via the .on-dark / .on-light helpers
   and by every component below being built with a single known background.
   ============================================================================ */

:root {
  /* Light surfaces */
  --cream:        #FAF6EF;
  --sand:         #F1E9DC;
  --hairline:     #E2D6C3;
  --border-warm:  #C0AF95;

  /* Text on light */
  --ink:          #3E3227;
  --body-copy:    #5C5040;
  --muted:        #7A6C58;
  --brown-accent: #6B4E2E;

  /* Accent (works on light or dark) */
  --gold:         #C9A87C;
  --gold-light:   #B39B79;

  /* Dark surfaces */
  --night:        #14130F;
  --night-2:      #1A1813;
  --night-2b:     #191710;
  --night-3:      #211E17;

  /* Text on dark */
  --cream-text:   #F7F1E6;
  --cream-text-2: #F4EDE1;
  --cream-body:   #CFC4B2;
  --cream-body-2: #BFB4A2;
  --cream-body-3: #D9CFBE;
  --dim:          #9C9284;
  --dim-2:        #7A7160;
  --dim-3:        #6E675C;

  --gold-hover-bg: rgba(201,168,124,.2);
  --gold-border-soft: rgba(201,168,124,.25);
  --gold-border-mid: rgba(201,168,124,.35);
  --gold-border-strong: rgba(201,168,124,.5);
  --card-fill-dark: rgba(232,221,203,.04);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-label:   'Cinzel', Georgia, serif;
  --font-body:    'Karla', system-ui, -apple-system, sans-serif;

  --section-py: clamp(48px, 6vw, 88px);
  --section-px: clamp(24px, 6vw, 90px);
  --content-max: 1180px;
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brown-accent); text-decoration: none; }
a:hover { color: #4A3B2A; }
::selection { background: #E8DDCB; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.container { max-width: var(--content-max); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 100;
  background: var(--gold); color: var(--night); padding: 12px 18px;
  font-family: var(--font-label); font-size: 12px; letter-spacing: .1em;
  transition: top 160ms;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------------- */
/* Type helpers                                                           */
/* ---------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brown-accent);
}
.eyebrow.on-dark { color: var(--gold); letter-spacing: .36em; }

.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  color: var(--ink);
  text-wrap: pretty;
}
.h2.on-dark { color: var(--cream-text); }

.lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--body-copy);
  font-weight: 300;
}
.lede.on-dark { color: var(--cream-body); }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms, color 160ms, border-color 160ms;
  text-align: center;
  white-space: nowrap;
}
.btn-solid {
  background: var(--gold);
  color: var(--night);
}
.btn-solid:hover, .btn-solid:focus-visible { background: #E8DDCB; color: var(--night); }
.btn-solid-dark { background: var(--ink); color: var(--cream-text-2); }
.btn-solid-dark:hover, .btn-solid-dark:focus-visible { background: var(--gold); color: var(--night); }
.btn-outline-dark {
  border-color: var(--border-warm);
  color: var(--ink);
  background: transparent;
}
.btn-outline-dark:hover, .btn-outline-dark:focus-visible { background: var(--ink); color: var(--cream-text-2); }
.btn-outline-light {
  border-color: rgba(244,237,225,.5);
  color: var(--cream-text-2);
  background: transparent;
}
.btn-outline-light:hover, .btn-outline-light:focus-visible { background: rgba(244,237,225,.12); color: var(--cream-text-2); }
.btn-pill { padding: 11px 20px; }
.btn-block { width: 100%; padding: 17px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-icon-round {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold-border-strong);
  background: transparent; color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; transition: background 160ms, color 160ms;
}
.btn-icon-round:hover:not(:disabled) { background: var(--gold); color: var(--night); }
.btn-icon-square {
  width: 46px; height: 46px;
  border: 1px solid var(--border-warm);
  background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; transition: background 160ms, color 160ms;
}
.btn-icon-square:hover:not(:disabled) { background: var(--ink); color: var(--cream-text-2); }
.btn-icon-round:disabled, .btn-icon-square:disabled { opacity: .35; cursor: default; }

/* ---------------------------------------------------------------------- */
/* Header / nav                                                           */
/* ---------------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px var(--section-px);
  background: transparent;
}
.site-header.is-solid {
  position: fixed;
  background: rgba(20,19,15,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gold-border-soft);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 40px; height: 40px; object-fit: contain;
  filter: brightness(0) invert(1) sepia(.35) saturate(1.6) hue-rotate(-8deg) opacity(.92);
}
.brand span {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--cream-text-2);
  white-space: nowrap;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: var(--font-label); font-size: 11px; letter-spacing: .16em; }
.main-nav a:not(.btn) {
  color: var(--gold);
  padding: 9px 13px;
  border-bottom: 1px solid transparent;
  transition: background 160ms, color 160ms, border-color 160ms;
}
.main-nav a:not(.btn):hover, .main-nav a:not(.btn):focus-visible {
  background: var(--gold-hover-bg);
  color: var(--cream-text);
  border-bottom-color: var(--gold);
}
.main-nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  border: 1px solid rgba(201,168,124,.55);
  background: rgba(20,19,15,.35);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(201,168,124,.25); }
.nav-toggle span { display: block; height: 1px; background: #E8DDCB; }
.mobile-panel {
  display: none;
  position: absolute;
  top: 82px;
  left: clamp(16px,5vw,90px);
  right: clamp(16px,5vw,90px);
  z-index: 19;
  flex-direction: column;
  background: rgba(20,19,15,.96);
  border: 1px solid var(--gold-border-mid);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .16em;
}
.mobile-panel.is-open { display: flex; }
.mobile-panel a:not(.btn) {
  padding: 16px 20px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-border-soft);
}
.mobile-panel a:not(.btn):hover { background: var(--gold-hover-bg); color: var(--cream-text); }
.mobile-panel .btn { border-bottom: none; text-align: center; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 88vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1400ms ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-dots {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 24px; height: 24px; border-radius: 50%;
  border: none; background: transparent;
  padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hero-dot::after {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(247,241,230,.7);
  background: rgba(247,241,230,.25);
  transition: background 200ms, transform 200ms, border-color 200ms;
}
.hero-dot:hover::after { background: rgba(247,241,230,.55); }
.hero-dot.is-active::after { background: var(--gold); border-color: var(--gold); transform: scale(1.2); }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,14,11,.88) 0%, rgba(15,14,11,.35) 45%, rgba(15,14,11,.5) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--section-px) clamp(48px,7vh,90px);
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-content h1 {
  max-width: 720px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 4vw, 50px);
  line-height: 1.14;
  color: var(--cream-text);
  text-wrap: pretty;
}
.hero-content p {
  max-width: 520px;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.75;
  color: var(--cream-body-3);
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------------------------------------------------------------------- */
/* Generic section paddings / alternating backgrounds                     */
/* ---------------------------------------------------------------------- */
.section { padding: var(--section-py) var(--section-px); }
.section-flush { padding: var(--section-py) 0; }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-night { background: linear-gradient(160deg, #1A1813 0%, #211E17 55%, #14130F 100%); color: var(--cream-body); }

/* section-head takes NO horizontal padding of its own by default, since
   its parent .section already provides it — giving both would double
   the indent. Only a .section-flush parent (which has zero padding of
   its own, e.g. #rooms so its full-bleed carousel can reach the edges)
   needs section-head to supply that padding itself. */
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px; padding: 0;
}
.section-flush .section-head { padding: 0 var(--section-px); }
.section-head .copy { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }

/* ---------------------------------------------------------------------- */
/* Intro (two column)                                                      */
/* ---------------------------------------------------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.intro-copy { display: flex; flex-direction: column; gap: 20px; }
.intro-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intro-images img.span-2 { grid-row: span 2; height: 100%; min-height: 220px; object-fit: cover; width: 100%; }
.intro-images img { height: 100%; min-height: 150px; object-fit: cover; width: 100%; }
.placeholder {
  min-height: 150px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 14px;
  background: repeating-linear-gradient(135deg, #EDE4D5 0px, #EDE4D5 9px, #E2D6C3 9px, #E2D6C3 18px);
  font-family: ui-monospace, monospace;
  font-size: 11px; line-height: 1.6; color: var(--muted);
}

/* ---------------------------------------------------------------------- */
/* Rooms carousel                                                          */
/* ---------------------------------------------------------------------- */
.carousel-track {
  display: flex; gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px var(--section-px) 24px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.room-card {
  flex: 0 0 330px;
  scroll-snap-align: start;
  background: var(--cream);
  display: flex; flex-direction: column;
}
.room-card img, .room-card .placeholder { width: 100%; height: 300px; object-fit: cover; }
.room-card-body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.room-card-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.room-card-title h3 {
  font-family: var(--font-label); font-size: 17px; letter-spacing: .1em; color: var(--ink);
}
.room-card-occupancy { font-size: 12px; letter-spacing: .08em; color: var(--brown-accent); white-space: nowrap; }
.room-card-descriptor { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--brown-accent); }
.room-card-body p.desc { font-size: 15px; line-height: 1.7; color: var(--body-copy); font-weight: 300; flex: 1; }
.room-card-price {
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--hairline);
}
.room-card-price .amount { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.room-card-price .unit { font-size: 12px; color: var(--muted); }
.room-card-cta { margin-top: 4px; }

/* ---------------------------------------------------------------------- */
/* Astrophotography + stat strip                                          */
/* ---------------------------------------------------------------------- */
.astro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--gold-border-soft);
  margin-top: 8px;
}
.stat-cell { background: var(--night-2); padding: 20px 18px; }
.stat-cell .num { font-family: var(--font-display); font-size: 30px; color: var(--gold); }
.stat-cell .label { font-size: 12px; color: var(--dim); margin-top: 4px; }
.astro-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.astro-media .large { grid-column: span 2; height: 280px; object-fit: cover; width: 100%; }
.astro-media .large.placeholder { display: flex; }
.astro-media img.small, .astro-media .placeholder.small { height: 180px; object-fit: cover; width: 100%; }

/* ---------------------------------------------------------------------- */
/* Astronomical calendar                                                   */
/* ---------------------------------------------------------------------- */
.calendar-wrap {
  max-width: var(--content-max);
  margin: clamp(48px,7vw,80px) auto 0;
  padding-top: clamp(48px,7vw,80px);
  border-top: 1px solid var(--gold-border-soft);
}
.calendar-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px; padding: 0 var(--section-px); margin-bottom: 28px;
}
.calendar-head h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px,3.6vw,46px); color: var(--cream-text); }
.calendar-head .caption { font-size: 14px; color: var(--dim); margin-top: 8px; }
.calendar-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.calendar-track::-webkit-scrollbar { display: none; }
.calendar-panel {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border: 1px solid var(--gold-border-soft);
  margin: 0 var(--section-px);
}
.calendar-hero {
  position: relative;
  height: clamp(240px,30vw,400px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.calendar-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.calendar-hero-credit {
  position: absolute; right: 16px; bottom: 12px; z-index: 2;
  font-size: 11px; color: rgba(247,241,230,.7); font-style: italic;
}
.calendar-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,11,9,.85) 0%, rgba(12,11,9,.45) 45%, rgba(12,11,9,.1) 100%);
  pointer-events: none;
  z-index: 1;
}
.calendar-hero-content { position: relative; z-index: 2; padding: 24px 28px; display: flex; align-items: flex-end; justify-content: space-between; width: 100%; }
.calendar-hero-index { font-family: var(--font-label); font-size: 13px; color: var(--gold); letter-spacing: .2em; }
.calendar-hero-month { font-family: var(--font-display); font-weight: 300; font-size: clamp(44px,7vw,84px); line-height: .95; color: var(--cream-text); }
.calendar-hero-year { font-family: var(--font-label); font-size: 14px; color: var(--cream-body-2); letter-spacing: .15em; }
.calendar-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--gold-border-soft);
}
.calendar-event { background: var(--night-2b); padding: 26px 24px; }
.calendar-event .date { font-family: var(--font-label); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.calendar-event .title { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--cream-text); margin-top: 8px; }
.calendar-event .note { font-size: 14px; line-height: 1.75; color: var(--cream-body-2); margin-top: 8px; }
.calendar-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 20px var(--section-px) 0;
  margin-top: 24px;
}
.calendar-footer p { font-size: 13px; color: var(--dim-2); max-width: 560px; line-height: 1.6; }
.calendar-footer .refs { display: flex; gap: 18px; font-size: 12px; }
.calendar-footer .refs a { color: var(--gold); text-decoration: underline; }
.calendar-nav { display: flex; gap: 10px; }

/* ---------------------------------------------------------------------- */
/* Activities                                                              */
/* ---------------------------------------------------------------------- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--hairline);
}
.activity-cell { background: var(--cream); padding: 28px 24px; }
.activity-cell.is-inverted { background: var(--night-3); color: var(--cream-text-2); }
.activity-cell .num { font-family: var(--font-label); font-size: 11px; color: var(--brown-accent); }
.activity-cell.is-inverted .num { color: var(--gold); }
.activity-cell .title { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin-top: 10px; color: var(--ink); }
.activity-cell.is-inverted .title { color: var(--cream-text); }
.activity-cell .body { font-size: 15px; line-height: 1.7; color: var(--body-copy); margin-top: 8px; font-weight: 300; }
.activity-cell.is-inverted .body { color: var(--cream-body-2); }

/* ---------------------------------------------------------------------- */
/* Gallery                                                                  */
/* ---------------------------------------------------------------------- */
.gallery-masonry { columns: 3; column-gap: 10px; }
.gallery-masonry img, .gallery-masonry .placeholder {
  display: block; width: 100%; height: auto; margin-bottom: 14px; break-inside: avoid;
}
.gallery-masonry .placeholder { height: 220px; }
@media (max-width: 520px) { .gallery-masonry { columns: 3; column-gap: 6px; } .gallery-masonry img, .gallery-masonry .placeholder { margin-bottom: 6px; } }

/* ---------------------------------------------------------------------- */
/* Rates                                                                    */
/* ---------------------------------------------------------------------- */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  margin-bottom: 32px;
}
.rate-card { padding: 32px 26px; border: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 14px; }
.rate-card.is-inverted { background: var(--night-3); border-color: transparent; color: var(--cream-text-2); }
.rate-card .plan-name { font-family: var(--font-label); font-size: 13px; letter-spacing: .12em; color: var(--brown-accent); }
.rate-card.is-inverted .plan-name { color: var(--gold); }
.rate-card .price { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--ink); }
.rate-card.is-inverted .price { color: var(--cream-text); }
.rate-card .price-note { font-size: 13px; color: var(--muted); }
.rate-card.is-inverted .price-note { color: var(--cream-body-2); }
.rate-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--body-copy); }
.rate-card.is-inverted ul { color: var(--cream-body-2); }

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--night); color: var(--cream-body-2); padding: clamp(56px,7vw,88px) var(--section-px) 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h3 { font-family: var(--font-label); font-size: 11px; letter-spacing: .22em; color: var(--gold); margin-bottom: 16px; font-weight: 400; }
.footer-col a { display: block; color: var(--cream-body-2); margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--cream-text); }
.footer-brand img { width: 88px; margin-bottom: 14px; filter: brightness(0) invert(1) sepia(.35) saturate(1.6) hue-rotate(-8deg) opacity(.92); }
.footer-brand p { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--cream-body-2); }
.footer-note { font-size: 13px; color: var(--dim); line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(201,168,124,.15); padding-top: 24px; font-size: 12px; color: var(--dim); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ============================================================================
   Landing / quick-links page
   ============================================================================ */
.links-page {
  min-height: 100vh;
  background: radial-gradient(120% 80% at 50% 0%, #2A2620 0%, #14130F 60%, #0D0C09 100%);
  display: flex;
  justify-content: center;
}
.links-col {
  width: 100%; max-width: 420px;
  padding: 56px 20px 40px;
  display: flex; flex-direction: column; gap: 34px;
  align-items: center;
  text-align: center;
}
.links-logo { width: 150px; height: 150px; object-fit: contain; filter: brightness(0) invert(1) sepia(.35) saturate(1.6) hue-rotate(-8deg) opacity(.92); }
.links-eyebrow { font-family: var(--font-label); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.links-subhead { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--cream-body-2); }
.links-rows { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.link-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--gold-border-mid);
  background: var(--card-fill-dark);
  border-radius: 2px;
  text-align: left;
  transition: background 160ms, border-color 160ms;
}
.link-row:hover, .link-row:focus-visible {
  background: rgba(232,221,203,.11);
  border-color: rgba(201,168,124,.7);
}
.link-row .num { font-family: var(--font-label); font-size: 12px; color: var(--gold); width: 18px; flex-shrink: 0; }
.link-row .text { display: flex; flex-direction: column; gap: 4px; }
.link-row .title { font-family: var(--font-label); font-size: 15px; letter-spacing: .12em; color: var(--cream-text); }
.link-row .caption { font-family: var(--font-body); font-size: 13px; color: var(--dim); }
.links-footer-mark { font-family: var(--font-label); font-size: 12px; letter-spacing: .18em; color: var(--dim); }

/* ============================================================================
   Booking engine — calendar picker + form
   ============================================================================ */
.booking-shell {
  background: var(--cream);
  min-height: 100vh;
  padding-top: 96px;
}
.booking-card {
  background: #fff;
  border: 1px solid var(--hairline);
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(24px,4vw,48px);
}
.booking-steps { display: flex; gap: 8px; margin-bottom: 32px; font-family: var(--font-label); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.booking-steps .step { display: flex; align-items: center; gap: 8px; }
.booking-steps .step.is-active { color: var(--ink); }
.booking-steps .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline); }
.booking-steps .step.is-active .dot { background: var(--gold); }

.room-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; margin-bottom: 28px; }
.room-pick {
  border: 1px solid var(--hairline); padding: 18px; cursor: pointer; background: var(--cream);
  display: flex; flex-direction: column; gap: 6px; text-align: left;
  transition: border-color 160ms, background 160ms;
}
.room-pick:hover { border-color: var(--border-warm); }
.room-pick.is-selected { border-color: var(--gold); background: #FFFDF9; box-shadow: inset 0 0 0 1px var(--gold); }
.room-pick .name { font-family: var(--font-label); font-size: 14px; letter-spacing: .08em; color: var(--ink); }
.room-pick .meta { font-size: 12px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--hairline);
  background: var(--cream);
  color: var(--ink);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-hint { font-size: 12px; color: var(--muted); }
.form-error { font-size: 12px; color: #A3402E; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #A3402E; }

.availability-note { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 10px; }
.availability-note.is-ok { color: #3D6B3D; }
.availability-note.is-bad { color: #A3402E; }
.availability-note .dot { width: 8px; height: 8px; border-radius: 50%; }
.availability-note.is-ok .dot { background: #3D6B3D; }
.availability-note.is-bad .dot { background: #A3402E; }

.mini-calendar { border: 1px solid var(--hairline); padding: 16px; background: var(--cream); }
.mini-calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mini-calendar-head .month-label { font-family: var(--font-label); font-size: 13px; letter-spacing: .1em; color: var(--ink); }
.mini-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mini-calendar-grid .dow { font-size: 10px; text-align: center; color: var(--muted); padding-bottom: 4px; }
.mini-calendar-grid .day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--ink); background: #fff; border: 1px solid var(--hairline);
  cursor: pointer;
}
.mini-calendar-grid .day.is-blank { border-color: transparent; background: transparent; cursor: default; }
.mini-calendar-grid .day.is-past,
.mini-calendar-grid .day.is-booked {
  color: var(--muted); background: var(--sand); cursor: not-allowed; text-decoration: line-through;
}
.mini-calendar-grid .day.is-selected { background: var(--gold); color: var(--night); border-color: var(--gold); font-weight: 700; }
.mini-calendar-grid .day.is-in-range { background: #F1E3C9; border-color: var(--gold); }
.calendar-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.calendar-legend .swatch { width: 10px; height: 10px; display: inline-block; margin-right: 6px; vertical-align: middle; }

.order-summary { border-top: 1px solid var(--hairline); margin-top: 28px; padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.order-summary .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--body-copy); }
.order-summary .row.total { font-family: var(--font-display); font-size: 22px; color: var(--ink); padding-top: 10px; border-top: 1px solid var(--hairline); }

.confirmation-box { text-align: center; padding: 40px 20px; }
.confirmation-ref { font-family: var(--font-display); font-size: 40px; letter-spacing: .04em; color: var(--ink); margin: 16px 0; }

.alert { padding: 14px 18px; font-size: 14px; margin-bottom: 20px; border: 1px solid transparent; }
.alert-error { background: #FBEAE6; color: #8C3323; border-color: #E3B3A6; }
.alert-success { background: #EAF3E8; color: #2C5A2C; border-color: #B9D9B5; }
.alert-info { background: #F1E9DC; color: var(--ink); border-color: var(--hairline); }

/* ============================================================================
   Floating action buttons — WhatsApp (left) and Book Now (right)
   ============================================================================ */
.floating-whatsapp {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.floating-whatsapp svg { width: 30px; height: 30px; }
.floating-whatsapp:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.floating-whatsapp::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: .55;
  animation: l40-pulse-ring 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes l40-pulse-ring {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}

.floating-book {
  position: fixed; right: 0; bottom: 90px; z-index: 40;
  display: flex; align-items: center;
  background: var(--gold); color: var(--night);
  padding: 14px 20px 14px 22px;
  border-radius: 6px 0 0 6px;
  font-family: var(--font-label); font-size: 12px; letter-spacing: .18em;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  animation: l40-book-attention 3.2s ease-in-out infinite;
  transition: padding 180ms ease, background 180ms ease;
}
.floating-book:hover { background: #E8DDCB; padding-right: 26px; }
@keyframes l40-book-attention {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .floating-book { animation: none; }
  .floating-whatsapp::before { animation: none; display: none; }
}
@media (max-width: 640px) {
  .floating-whatsapp { left: 14px; bottom: 14px; width: 50px; height: 50px; }
  .floating-whatsapp svg { width: 26px; height: 26px; }
  .floating-book { bottom: 76px; padding: 12px 16px 12px 18px; font-size: 11px; }
}

/* CMS page body — basic typographic rhythm for admin-authored content */
.page-body { font-size: 16px; line-height: 1.8; color: var(--body-copy); }
.page-body p { margin: 0 0 20px; }
.page-body h2 { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--ink); margin: 32px 0 16px; }
.page-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); margin: 28px 0 14px; }
.page-body ul, .page-body ol { margin: 0 0 20px; padding-left: 24px; }
.page-body li { margin-bottom: 8px; }
.page-body a { text-decoration: underline; }
.page-body img { max-width: 100%; height: auto; margin: 20px 0; }
.page-body blockquote { border-left: 3px solid var(--gold); padding-left: 18px; margin: 20px 0; font-style: italic; color: var(--muted); }
.page-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.page-body th, .page-body td { border: 1px solid var(--hairline); padding: 10px; text-align: left; }

/* ============================================================================
   Admin
   ============================================================================ */
.admin-body { background: var(--sand); min-height: 100vh; font-family: var(--font-body); color: var(--ink); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--night); color: var(--cream-body-2); padding: 24px 16px; flex-shrink: 0; display: flex; flex-direction: column; }
.admin-sidebar .brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-size: 12px; letter-spacing: .16em; color: var(--cream-text);
  margin-bottom: 28px; padding: 0 8px;
}
.brand-mark-logo { width: 26px; height: 26px; object-fit: contain; filter: brightness(0) invert(1) sepia(.35) saturate(1.6) hue-rotate(-8deg) opacity(.92); }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; font-size: 13px; color: var(--cream-body-2);
  border-left: 2px solid transparent; border-radius: 0 4px 4px 0;
  transition: background 140ms, color 140ms;
}
.admin-sidebar nav a .nav-icon { width: 18px; height: 18px; flex-shrink: 0; opacity: .85; }
.admin-sidebar nav a:hover { color: var(--cream-text); background: rgba(232,221,203,.05); }
.admin-sidebar nav a.is-active { color: var(--gold); border-left-color: var(--gold); background: rgba(201,168,124,.1); }
.admin-sidebar nav a.is-active .nav-icon { opacity: 1; }
.admin-nav-divider { height: 1px; background: rgba(201,168,124,.15); margin: 10px 4px; }
.admin-main { flex: 1; padding: 32px clamp(20px,4vw,48px); max-width: 1200px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-title { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--ink); }
.admin-card { background: #fff; border: 1px solid var(--hairline); padding: 24px; margin-bottom: 20px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; margin-bottom: 28px; }
.admin-stat { background: #fff; border: 1px solid var(--hairline); padding: 20px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.admin-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.admin-stat .num { font-family: var(--font-display); font-size: 34px; color: var(--ink); }
.admin-stat .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

table.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.admin-table th {
  text-align: left; font-family: var(--font-label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--hairline);
}
table.admin-table td { padding: 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
table.admin-table tr:hover td { background: #FAF7F0; }

.badge { display: inline-block; padding: 4px 10px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; border-radius: 2px; }
.badge-pending { background: #FBF0DA; color: #8A6A20; }
.badge-confirmed { background: #E4F0E2; color: #2C5A2C; }
.badge-cancelled { background: #F3E3E0; color: #8C3323; }
.badge-expired { background: #EFEFEF; color: #6B6B6B; }
.badge-completed { background: #E3E9F3; color: #2C4A8C; }

.login-shell {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg,#1A1813 0%,#211E17 55%,#14130F 100%); padding: 24px;
}
.login-card { background: rgba(232,221,203,.05); border: 1px solid var(--gold-border-mid); padding: clamp(28px,5vw,48px); width: 100%; max-width: 380px; }
.login-card .brand { justify-content: center; margin-bottom: 24px; }
.login-card h1 { font-family: var(--font-display); font-weight: 300; font-size: 24px; color: var(--cream-text); text-align: center; margin-bottom: 24px; }
.login-card .form-field label { color: var(--dim); }
.login-card .form-field input { background: rgba(20,19,15,.4); border-color: var(--gold-border-mid); color: var(--cream-text); }
.login-card .form-field input:focus { border-color: var(--gold); background: rgba(20,19,15,.6); }

@media (max-width: 780px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; padding: 16px; }
  .admin-sidebar .brand-mark { margin-bottom: 14px; }
  .admin-sidebar nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .admin-sidebar nav a span:last-child { display: none; }
  .admin-sidebar nav a { padding: 10px; border-left: none; border-radius: 4px; }
  .admin-sidebar nav a.is-active { background: rgba(201,168,124,.15); }
  .admin-nav-divider { display: none; }
}

/* ---- Onboarding checklist ---- */
.onboarding-list { display: flex; flex-direction: column; gap: 10px; }
.onboarding-item { background: #fff; border: 1px solid var(--hairline); }
.onboarding-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.onboarding-item summary::-webkit-details-marker { display: none; }
.onboarding-check {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-family: var(--font-label);
  border: 1.5px solid var(--border-warm); color: var(--muted);
}
.onboarding-item.is-done .onboarding-check { background: var(--gold); border-color: var(--gold); color: var(--night); }
.onboarding-title { font-family: var(--font-label); font-size: 14px; letter-spacing: .04em; color: var(--ink); flex: 1; }
.onboarding-summary { font-size: 12px; color: var(--muted); }
.onboarding-body { padding: 0 20px 20px 60px; display: flex; flex-direction: column; gap: 14px; }
.onboarding-body p { font-size: 14px; color: var(--body-copy); line-height: 1.7; margin: 0; }

/* ---- Dashboard chart ---- */
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 20px; }
.chart-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.chart-bar-value { font-size: 11px; color: var(--muted); margin-bottom: 4px; height: 14px; }
.chart-bar { width: 100%; max-width: 28px; background: var(--gold); border-radius: 3px 3px 0 0; transition: height 400ms ease; }
.chart-bar-label { font-size: 10px; color: var(--muted); margin-top: 8px; white-space: nowrap; }
