/* ==========================================================================
   Glamp Inn Valley - Production Stylesheet
   Directly derived from Claude Design & Classical Design System tokens.
   ========================================================================== */

:root {
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;

  /* Primary Theme Grounds */
  --color-bg: #f3efe6;
  --color-bg-cream-alt: #efe8d8;
  --color-bg-cream-deep: #e9e2cf;
  --color-surface: #ece6d8;

  /* Nocturnal & Forest Grounds */
  --color-night-dark: #0f1f23;
  --color-night-mid: #14262a;
  --color-forest-deep: #1f3b34;
  --color-forest-mid: #25453b;
  --color-forest-rich: #2f5a4c;

  /* Text Roles */
  --color-text: #1d2a26;
  --color-text-charcoal: #201f1d;
  --color-text-muted: #3d4b46;
  --color-text-secondary: #5d6b66;
  --color-text-light: #f1e9da;
  --color-text-light-soft: #e2d8c4;
  --color-text-light-muted: #cfd8cf;
  --color-text-light-subtle: #b9c4bb;

  /* Accents */
  --color-accent: #b68235;
  --color-accent-gold: #d9a962;
  --color-accent-glow: #e8c07a;
  --color-accent-deep: #7d5411;

  /* Dividers & Borders */
  --color-border-dark: rgba(29, 42, 38, 0.18);
  --color-border-dark-subtle: rgba(29, 42, 38, 0.10);
  --color-border-light: rgba(241, 233, 218, 0.18);
  --color-border-light-subtle: rgba(241, 233, 218, 0.12);
  --color-border-gold: rgba(217, 169, 98, 0.45);

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 999px;
  --radius-arch: 999px 999px 0 0;
}

/* --------------------------------------------------------------------------
   Global Resets & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  margin-top: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--color-accent-deep);
}

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

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

::selection {
  background: rgba(182, 130, 53, 0.3);
}

/* --------------------------------------------------------------------------
   Atmospheric Animations
   -------------------------------------------------------------------------- */
@keyframes giv-twinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes giv-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

@keyframes giv-firefly {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  25% { opacity: 0.95; }
  55% { opacity: 0.25; transform: translate(14px, -22px) scale(1); }
  80% { opacity: 0.8; }
  100% { transform: translate(30px, -46px) scale(0.7); opacity: 0; }
}

@keyframes giv-sway {
  from { transform: rotate(-1.2deg); }
  to { transform: rotate(1.2deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Subtle Organic Texture Overlay
   -------------------------------------------------------------------------- */
.giv-texture-grain {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* --------------------------------------------------------------------------
   Tipped-in Image Plates
   -------------------------------------------------------------------------- */
.plate {
  width: 100%;
  object-fit: cover;
  display: block;
  border: 6px solid var(--color-surface);
  outline: 1px solid rgba(29, 42, 38, 0.16);
  box-sizing: border-box;
  image-rendering: -webkit-optimize-contrast;
}

.plate-arch {
  border-radius: var(--radius-arch);
}

.plate-pill {
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.giv-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 84px;
  color: var(--color-text-light);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: height 0.4s ease, background 0.4s ease, color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
  font-family: var(--font-body);
}

.giv-header.scrolled {
  height: 64px;
  color: var(--color-text-light);
  background: rgba(31, 59, 52, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 169, 98, 0.22);
  box-shadow: 0 4px 20px rgba(15, 31, 35, 0.25);
}

.giv-header.on-light-unscrolled {
  color: var(--color-text);
  background: transparent;
}

.giv-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.giv-logo-link {
  display: flex;
  align-items: center;
  color: inherit;
}

.giv-logo {
  height: 52px;
  width: auto;
  display: block;
  transition: height 0.4s ease, filter 0.4s ease;
}

.giv-header.scrolled .giv-logo {
  height: 44px;
  filter: brightness(1.25);
}

.giv-nav-links {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.giv-nav-link {
  color: inherit;
  opacity: 0.85;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.giv-nav-link:hover,
.giv-nav-link.active {
  opacity: 1;
  color: var(--color-accent-gold);
  border-bottom-color: var(--color-accent-gold);
}

.giv-header.scrolled .giv-nav-link {
  color: var(--color-text-light);
  opacity: 0.88;
}

.giv-header.scrolled .giv-nav-link:hover,
.giv-header.scrolled .giv-nav-link.active {
  color: var(--color-accent-gold);
  border-bottom-color: var(--color-accent-gold);
  opacity: 1;
}

.giv-btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--color-accent-gold);
  color: var(--color-text-light);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.giv-header.scrolled .giv-btn-nav {
  border-color: var(--color-accent-gold);
  color: var(--color-text-light);
}

.giv-header.scrolled .giv-btn-nav:hover {
  background: rgba(217, 169, 98, 0.16);
  color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
}

.giv-header.on-light-unscrolled .giv-btn-nav {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.giv-btn-nav:hover {
  background: rgba(182, 130, 53, 0.16);
  color: inherit;
}

.giv-menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.giv-menu-icon {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   Mobile Fullscreen Navigation Drawer
   -------------------------------------------------------------------------- */
.giv-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--color-night-mid);
  color: var(--color-text-light);
  padding: calc(max(16px, env(safe-area-inset-top)) + 52px) clamp(20px, 6vw, 48px) calc(max(24px, env(safe-area-inset-bottom)) + 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-image: radial-gradient(circle at 20% 30%, rgba(241, 233, 218, 0.55) 0 1px, transparent 1.5px),
                    radial-gradient(circle at 70% 60%, rgba(241, 233, 218, 0.40) 0 1px, transparent 1.5px),
                    radial-gradient(circle at 45% 85%, rgba(241, 233, 218, 0.50) 0 1px, transparent 1.5px);
  background-size: 260px 260px, 340px 340px, 200px 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.giv-mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.giv-drawer-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  transition: background 0.2s ease, transform 0.2s ease;
}

.giv-drawer-close:hover {
  background: rgba(217, 169, 98, 0.2);
  color: var(--color-accent-gold);
}

.giv-drawer-nav {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-size: clamp(26px, 6.5vw, 38px);
  font-weight: 300;
  line-height: 1.2;
}

.giv-drawer-nav a {
  color: var(--color-text-light);
  padding: 10px 0;
  border-bottom: 1px solid rgba(241, 233, 218, 0.16);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.giv-drawer-nav a:hover,
.giv-drawer-nav a.active {
  color: var(--color-accent-gold);
  padding-left: 6px;
}

.giv-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
}

.giv-drawer-btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 48px;
  padding: 0 16px;
  background: var(--color-accent-gold);
  color: #0f1f23 !important;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(217, 169, 98, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.giv-drawer-btn-primary:active {
  transform: scale(0.98);
}

.giv-drawer-btn-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 42px;
  padding: 0 16px;
  background: rgba(217, 169, 98, 0.12);
  border: 1px solid var(--color-accent-gold);
  color: var(--color-accent-gold) !important;
  border-radius: 4px;
  font-size: 13.5px;
  text-decoration: none;
}

.giv-drawer-phone {
  color: var(--color-text-light);
  opacity: 0.85;
  font-size: 15px;
  text-align: center;
  padding: 6px 0;
  text-decoration: none;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Mobile Sticky Quick Action Bar (Hidden)
   -------------------------------------------------------------------------- */
.giv-sticky-bookbar {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(15, 31, 35, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(217, 169, 98, 0.28);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  color: var(--color-text-light);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
}

.giv-sticky-bookbar.visible {
  display: none !important;
  transform: translateY(0);
}

.giv-quick-bar-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.giv-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  border: 0;
  background: transparent;
  white-space: nowrap;
}

/* Secondary side buttons: Call & Menu */
.giv-quick-call,
.giv-quick-menu {
  background: rgba(241, 233, 218, 0.08);
  border: 1px solid rgba(217, 169, 98, 0.35);
  color: var(--color-text-light);
  flex: 0 0 auto;
}

.giv-quick-call:hover,
.giv-quick-menu:hover,
.giv-quick-call:active,
.giv-quick-menu:active {
  background: rgba(217, 169, 98, 0.18);
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

/* Primary CTA button: WhatsApp / Check Availability */
.giv-quick-primary {
  flex: 1 1 auto;
  min-width: 0;
  background: linear-gradient(135deg, #e0b46e 0%, #caa05b 50%, #b88b44 100%);
  border: 1px solid #ecc98a;
  color: #0d1b1e !important;
  font-weight: 600;
  font-size: 16.5px;
  box-shadow: 0 4px 16px rgba(217, 169, 98, 0.32);
}

.giv-quick-primary:hover,
.giv-quick-primary:active {
  background: linear-gradient(135deg, #ecd098 0%, #d9ab63 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 169, 98, 0.45);
}

.giv-quick-primary:active {
  transform: scale(0.98);
}

.giv-quick-icon {
  display: block;
  flex-shrink: 0;
}

.giv-quick-wa-icon {
  color: #0d1b1e;
}

.giv-quick-label {
  line-height: 1;
}

/* Compact screens adjustment */
@media (max-width: 350px) {
  .giv-sticky-bookbar {
    padding-left: 8px;
    padding-right: 8px;
  }
  .giv-quick-btn {
    padding: 0 8px;
    height: 44px;
    font-size: 14px;
  }
  .giv-quick-side-label {
    display: none;
  }
  .giv-quick-call,
  .giv-quick-menu {
    width: 44px;
    padding: 0;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.giv-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 52px;
  padding: 0 28px;
  border: 1px solid var(--color-accent-gold);
  color: var(--color-text-light);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.giv-btn-gold:hover {
  background: rgba(217, 169, 98, 0.18);
  color: var(--color-text-light);
}

.giv-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.giv-btn-outline:hover {
  background: rgba(182, 130, 53, 0.12);
  color: var(--color-accent);
}

.giv-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  border-bottom: 1px solid rgba(29, 42, 38, 0.3);
  padding-bottom: 2px;
}

.giv-btn-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Filter Buttons (Domes, Gallery, etc.)
   -------------------------------------------------------------------------- */
.giv-filter-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(29, 42, 38, 0.25);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.giv-filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-deep);
}

.giv-filter-btn.active {
  border-color: var(--color-accent);
  background: rgba(182, 130, 53, 0.12);
  color: var(--color-accent-deep);
}

/* --------------------------------------------------------------------------
   Interactive Activity Switcher
   -------------------------------------------------------------------------- */
.giv-experiences-preview {
  position: relative;
}

@media (min-width: 861px) {
  .giv-experiences-preview {
    position: sticky;
    top: 100px;
  }
}

@media (max-width: 860px) {
  .giv-experiences-preview {
    display: none !important;
  }
}

.giv-experiences-preview-card {
  position: relative;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  border: 1px solid rgba(217, 169, 98, 0.45);
  background: #142622;
}

.giv-experiences-preview-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.giv-experiences-preview-caption {
  padding: 12px 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-light-subtle);
  border-top: 1px solid rgba(217, 169, 98, 0.2);
}

.giv-activity-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(241, 233, 218, 0.18);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.3s ease, background 0.25s ease;
}

.giv-activity-item:hover,
.giv-activity-item.active {
  opacity: 1;
}

.giv-activity-num {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--color-accent-gold);
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}

.giv-activity-header {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 300;
  line-height: 1.1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.giv-activity-title {
  color: var(--color-text-light);
}

.giv-activity-badge {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  background: rgba(217, 169, 98, 0.16);
  padding: 2px 8px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 400;
}

.giv-activity-body {
  font-size: 13px;
  color: var(--color-text-light-subtle);
  margin-top: 6px;
  line-height: 1.5;
  text-wrap: pretty;
}

.giv-activity-when {
  font-size: 11px;
  color: var(--color-text-light-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 9px;
  white-space: nowrap;
}

.giv-activity-mobile-preview {
  display: none;
}

@media (max-width: 860px) {
  .giv-activity-item {
    grid-template-columns: 32px 1fr;
    gap: 6px 12px;
    padding: 16px 10px;
    border-radius: 6px;
  }
  .giv-activity-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-bottom-color: rgba(217, 169, 98, 0.35);
  }
  .giv-activity-when {
    grid-column: 2;
    order: -1;
    font-size: 11px;
    color: var(--color-accent-gold);
    padding-top: 0;
    margin-bottom: 2px;
    display: block;
  }
  .giv-activity-item.active .giv-activity-mobile-preview {
    display: block;
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(217, 169, 98, 0.4);
    aspect-ratio: 16 / 9;
    max-height: 200px;
    background: #142622;
  }
  .giv-activity-mobile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.giv-form-group {
  margin-bottom: 20px;
}

.giv-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.giv-input,
.giv-textarea,
.giv-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(29, 42, 38, 0.22);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.giv-input:focus,
.giv-textarea:focus,
.giv-select:focus {
  border-color: var(--color-accent);
  background: #ffffff;
  outline: none;
}

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(0.2, 0.6, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.6, 0.2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Lightbox Modal for Gallery
   -------------------------------------------------------------------------- */
.giv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 31, 35, 0.95);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.giv-lightbox.active {
  display: flex;
}

.giv-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 6px solid #ece6d8;
  outline: 1px solid rgba(217, 169, 98, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.giv-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #f1e9da;
  font-size: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-heading);
}

/* --------------------------------------------------------------------------
   Responsive & Adaptive Components
   -------------------------------------------------------------------------- */
.giv-valley-plate-offset {
  transform: translateY(40px);
}

.giv-about-elevation-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--color-forest-deep);
  color: var(--color-text-light);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-gold);
  max-width: 220px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.giv-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.giv-table-scroll-hint {
  display: none;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .giv-desktop-nav {
    display: none !important;
  }
  .giv-header {
    height: 72px;
  }
  .giv-header.scrolled {
    height: 58px;
  }
  .giv-logo {
    height: 42px;
  }
  .giv-header.scrolled .giv-logo {
    height: 36px;
  }

  /* Subfooter clearance (mobile sticky booking bar is hidden) */
  .giv-subfooter-inner {
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Subheads aligned to left on mobile */
  .giv-section-subhead-right {
    justify-self: start !important;
    text-align: left !important;
  }
  .giv-section-subhead-right div {
    justify-content: flex-start !important;
  }

  /* Offset plates align normally without overlap */
  .giv-valley-plate-offset {
    transform: none !important;
  }

  /* Timeline horizontal cards & snap */
  .giv-timeline-card {
    transform: none !important;
    flex: 0 0 clamp(240px, 75vw, 300px) !important;
  }
  .giv-timeline-track {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
    scroll-snap-type: x mandatory !important;
  }

  /* Table hint for dome comparison */
  .giv-table-scroll-hint {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    text-align: center;
    margin-bottom: 12px;
    opacity: 0.85;
  }

  /* Hide entire compare section on mobile */
  .giv-compare-section {
    display: none;
  }

  /* Comparison table sticky first column */
  .giv-compare-table th:first-child,
  .giv-compare-table td:first-child {
    position: sticky;
    left: 0;
    background: #1f3b34;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.4);
    min-width: 120px;
    max-width: 130px;
    white-space: normal;
  }
  .giv-compare-table thead th:first-child {
    z-index: 3;
    background: #1f3b34;
  }

  /* No mask on the scroll container — mask-image blocks touch scroll on iOS */
  /* Ensure scroll wrapper is independently scrollable despite body overflow-x:hidden */
  .giv-compare-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    overscroll-behavior-x: contain;
    /* Isolate scroll context from parent overflow */
    isolation: isolate;
  }

  /* Tighter cell padding on mobile */
  .giv-compare-table th,
  .giv-compare-table td {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .giv-compare-table th:first-child,
  .giv-compare-table td:first-child {
    padding-left: 0 !important;
    padding-right: 10px !important;
  }
}

@media (max-width: 768px) {
  .giv-about-elevation-badge {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 14px 18px;
  }
}

@media (max-width: 640px) {
  /* Domes Quick Facts 2x2 grid */
  .giv-facts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .giv-facts-grid > div {
    padding: 16px 12px !important;
  }
  .giv-facts-grid > div:nth-child(2n) {
    border-right: none !important;
  }
  .giv-facts-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-border-dark-subtle);
  }

  /* Adjacent dome navigation row */
  .giv-adjacent-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
  .giv-adjacent-all {
    grid-column: 1 / -1 !important;
    order: 3 !important;
    width: 100% !important;
    justify-content: center !important;
  }

  /* Contact form 2-col to 1-col */
  .giv-form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 540px) {
  .giv-gallery-plate-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 140px !important;
    gap: 8px !important;
  }
}

@media (min-width: 861px) and (max-width: 1040px) {
  .giv-header-inner {
    padding: 0 20px;
    gap: 16px;
  }
  .giv-nav-links {
    gap: 14px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .giv-btn-nav {
    padding: 8px 14px;
    font-size: 15px;
  }
}

@media (min-width: 861px) {
  .giv-mobile-toggle {
    display: none !important;
  }
  .giv-sticky-bookbar {
    display: none !important;
  }
}

.giv-credit-link {
  color: var(--color-accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.giv-credit-link:hover {
  color: var(--color-accent-glow);
  opacity: 0.9;
}

.giv-subfooter-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.giv-credit-sep {
  opacity: 0.5;
  user-select: none;
}

@media (max-width: 640px) {
  .giv-credit-sep {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Section III · A Day Here (Horizontal Timeline Controls & Drag)
   -------------------------------------------------------------------------- */
.giv-timeline-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.giv-timeline-nav-btn {
  background: transparent;
  border: 1px solid rgba(47, 90, 76, 0.25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest-rich);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0;
}

.giv-timeline-nav-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-2px);
  box-shadow: 0 4px 14px rgba(182, 130, 53, 0.18);
}

.giv-timeline-nav-btn:disabled,
.giv-timeline-nav-btn[disabled] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.giv-timeline-action-btn {
  background: transparent;
  border: none;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 12px;
  color: var(--color-text-secondary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease;
}

.giv-timeline-action-btn:hover {
  color: var(--color-text);
}

.giv-timeline-nav-circle {
  border: 1px solid rgba(47, 90, 76, 0.25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest-rich);
  background: transparent;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.giv-timeline-action-btn:hover .giv-timeline-nav-circle {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(182, 130, 53, 0.18);
}

.giv-timeline-wrapper {
  position: relative;
}

.giv-timeline-float-arrow {
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  z-index: 15;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(47, 90, 76, 0.22);
  color: var(--color-forest-rich);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(29, 42, 38, 0.08);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0;
}

.giv-timeline-float-prev {
  left: clamp(12px, 2.5vw, 36px);
}

.giv-timeline-float-next {
  right: clamp(12px, 2.5vw, 36px);
}

.giv-timeline-float-arrow:hover:not(.disabled) {
  background: #ffffff;
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(182, 130, 53, 0.22);
}

.giv-timeline-float-arrow.disabled {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.9);
}

@media (max-width: 768px) {
  .giv-timeline-float-arrow {
    display: none !important;
  }
}

.giv-timeline-track {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding-top: 52px;
}

.giv-timeline-track.is-dragging {
  cursor: grabbing !important;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

.giv-timeline-card img {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.giv-timeline-card:hover img {
  transform: scale(1.02);
  box-shadow: 0 16px 36px rgba(29, 42, 38, 0.12);
}

/* ==========================================================================
   Chapter IV · Night on the Ridge (Creative Architectural Stargazer Layout)
   ========================================================================== */
.giv-night-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(35, 75, 66, 0.45) 0%, transparent 55%),
              linear-gradient(180deg, #152b27 0%, #10211d 40%, #0a1614 100%);
  color: #f1e9da;
  overflow: hidden;
  padding: clamp(56px, 7vw, 100px) 0 0;
}

/* Subtle astronomical coordinate grid plus-marks */
.giv-night-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='96' height='96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='rgba(217,169,98,0.14)' stroke-width='0.8'%3E%3Cline x1='48' y1='44' x2='48' y2='52'/%3E%3Cline x1='44' y1='48' x2='52' y2='48'/%3E%3C/g%3E%3Ccircle cx='48' cy='48' r='0.7' fill='rgba(241,233,218,0.16)'/%3E%3C/svg%3E");
  background-size: 96px 96px;
  opacity: 0.85;
}

/* Ambient glowing nebulae */
.giv-night-nebula-cyan {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 120, 110, 0.14) 0%, transparent 70%);
  top: 15%;
  left: -120px;
  pointer-events: none;
  filter: blur(60px);
}

.giv-night-nebula-amber {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 140, 60, 0.1) 0%, transparent 70%);
  bottom: 20%;
  right: 6%;
  pointer-events: none;
  filter: blur(70px);
}

/* Top-Right Celestial Chart (Crescent Moon + Constellation) */
.giv-night-celestial-chart {
  position: absolute;
  top: clamp(16px, 3.5vw, 42px);
  right: clamp(16px, 5vw, 72px);
  width: clamp(140px, 16vw, 220px);
  height: clamp(140px, 16vw, 220px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
}

.giv-night-celestial-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Container */
.giv-night-container {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  z-index: 3;
}

/* Top Metadata Bar */
.giv-night-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(241, 233, 218, 0.12);
  padding-bottom: 18px;
  margin-bottom: clamp(32px, 4.5vw, 54px);
}

.giv-night-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d9a962;
}

.giv-night-roman {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.giv-night-dash {
  display: block;
  width: 28px;
  height: 1px;
  background: #d9a962;
  opacity: 0.85;
}

.giv-night-label {
  font-family: var(--font-body);
  font-weight: 500;
}

.giv-night-coords {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(217, 169, 98, 0.75);
  font-family: var(--font-body);
}

.giv-coord-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-gold, #d9a962);
  box-shadow: 0 0 8px rgba(217, 169, 98, 0.8);
  animation: reelPulse 2s ease-in-out infinite;
}

.giv-coord-sep {
  opacity: 0.35;
}

/* Main Asymmetric Stage Grid */
.giv-night-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.giv-night-headline {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: #f1e9da;
  text-wrap: balance;
}

.giv-night-accent {
  font-style: italic;
  color: #e6c88b;
}

.giv-night-story {
  margin: 0 0 clamp(24px, 3vw, 36px);
  font-family: var(--font-body);
  font-size: clamp(14.5px, 1.02vw, 16.5px);
  line-height: 1.74;
  color: #b8c7c0;
  max-width: 48ch;
  text-wrap: pretty;
}

/* Curated Night Rituals */
.giv-night-rituals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 34px);
}

.giv-night-ritual-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(241, 233, 218, 0.08);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
  outline: none;
}

.giv-night-ritual-item:hover,
.giv-night-ritual-item.active {
  background: rgba(217, 169, 98, 0.12);
  border-color: rgba(217, 169, 98, 0.45);
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 16px rgba(217, 169, 98, 0.16);
}

.giv-night-ritual-item:focus-visible {
  outline: 2px solid #d9a962;
  outline-offset: 2px;
}

.giv-night-ritual-item.active .giv-ritual-arrow {
  opacity: 1;
  transform: translateX(4px);
  color: #dfb265;
}

.giv-ritual-num {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #d9a962;
}

.giv-ritual-info {
  flex: 1;
  min-width: 0;
}

.giv-ritual-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: #f1e9da;
  line-height: 1.2;
}

.giv-ritual-desc {
  font-size: 12px;
  color: #8f9e98;
  margin-top: 2px;
  line-height: 1.4;
}

.giv-ritual-arrow {
  color: #d9a962;
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.giv-night-ritual-item:hover .giv-ritual-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Luxury Pool Attire Protocol Card */
.giv-night-protocol-card {
  background: linear-gradient(135deg, rgba(18, 38, 34, 0.75) 0%, rgba(10, 22, 20, 0.85) 100%);
  border: 1px solid rgba(217, 169, 98, 0.35);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: clamp(24px, 3vw, 34px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.giv-protocol-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9a962;
  margin-bottom: 6px;
}

.giv-protocol-text {
  font-size: 12px;
  line-height: 1.55;
  color: #b8c4be;
}

.giv-protocol-text strong {
  color: #e28c3c;
}

/* Action Buttons */
.giv-night-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.giv-night-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 4px;
  background: var(--color-accent-gold, #c89b4f);
  color: #101917;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(200, 155, 79, 0.28);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.giv-night-btn-primary:hover {
  background: #dfb265;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(200, 155, 79, 0.4);
  color: #08100e;
}

.giv-night-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid rgba(217, 169, 98, 0.4);
  color: #f1e9da;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.giv-night-btn-ghost:hover {
  border-color: #d9a962;
  background: rgba(217, 169, 98, 0.1);
  color: #fff;
}

/* Right Column: Interlocking Celestial Visual Canvas */
.giv-night-canvas-col {
  position: relative;
}

.giv-night-canvas-stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.giv-night-arch-card {
  position: relative;
  width: 100%;
  border-radius: 999px 999px 12px 12px;
  padding: 10px 10px 0 10px;
  border: 1.5px solid rgba(217, 169, 98, 0.55);
  border-bottom: 1.5px solid rgba(217, 169, 98, 0.25);
  background: linear-gradient(180deg, rgba(18, 38, 34, 0.6) 0%, rgba(10, 22, 20, 0.9) 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
}

.giv-arch-apex-marker {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2.5px;
  background: #e28c3c;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(226, 140, 60, 0.8);
  z-index: 5;
}

.giv-arch-pill {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(10, 22, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 169, 98, 0.35);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f1e9da;
  white-space: nowrap;
  pointer-events: none;
}

.giv-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ebd85;
  box-shadow: 0 0 8px #2ebd85;
}

.giv-arch-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  background: #081210;
}

.giv-arch-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.giv-arch-visual.fading {
  opacity: 0.18;
  transform: scale(0.97);
}

.giv-night-arch-card:hover .giv-arch-visual {
  transform: scale(1.035);
}

.giv-arch-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 16, 0.25) 0%, transparent 40%, rgba(8, 18, 16, 0.85) 100%);
  pointer-events: none;
  z-index: 2;
}

.giv-arch-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  z-index: 5;
  pointer-events: none;
}

.giv-arch-caption-text {
  transition: opacity 0.25s ease;
}

.giv-arch-caption-text.fading {
  opacity: 0.2;
}

.giv-arch-title {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9a962;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.giv-arch-sub {
  font-size: 11px;
  color: #b8c4be;
  font-style: italic;
  margin-top: 2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.giv-arch-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.giv-arch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(241, 233, 218, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
}

.giv-arch-dot:hover {
  background: rgba(217, 169, 98, 0.85);
  transform: scale(1.3);
}

.giv-arch-dot.active {
  background: #d9a962;
  box-shadow: 0 0 8px rgba(217, 169, 98, 0.8);
  outline: 2px solid rgba(217, 169, 98, 0.6);
  outline-offset: 2.5px;
}

/* Interlocking Planetary Satellite: Bonfire Hearth Portal */
.giv-night-satellite-wrap {
  position: absolute;
  right: -24px;
  bottom: -32px;
  width: clamp(160px, 20vw, 210px);
  aspect-ratio: 1;
  z-index: 8;
  cursor: pointer;
  user-select: none;
}

.giv-night-satellite-wrap:focus-visible {
  outline: 2px solid #d9a962;
  outline-offset: 4px;
  border-radius: 50%;
}

.giv-satellite-orbit-outer {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(217, 169, 98, 0.3);
  pointer-events: none;
  animation: givOrbitPulse 6s ease-in-out infinite alternate;
  transition: border-color 0.4s ease;
}

.giv-satellite-orbit-middle {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(217, 169, 98, 0.25);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.giv-satellite-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(217, 169, 98, 0.7);
  background: #000;
  box-shadow: 0 0 50px 10px rgba(226, 140, 60, 0.28), 0 16px 36px rgba(0, 0, 0, 0.65);
  animation: givFireAmbient 4s ease-in-out infinite alternate;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.giv-night-satellite-wrap:hover .giv-satellite-circle {
  transform: scale(1.05);
  box-shadow: 0 0 70px 15px rgba(240, 165, 75, 0.4);
}

.giv-satellite-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.giv-satellite-img.fading {
  opacity: 0.15;
  transform: scale(0.95);
}

.giv-night-satellite-wrap:hover .giv-satellite-img {
  transform: scale(1.1);
}

.giv-satellite-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.giv-satellite-tag {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 22, 20, 0.9);
  border: 1px solid rgba(217, 169, 98, 0.4);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f1e9da;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.giv-fire-spark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e28c3c;
  box-shadow: 0 0 6px #e28c3c;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Satellite Pool Theme Variant */
.giv-night-satellite-wrap[data-type="pool"] .giv-satellite-circle {
  border-color: rgba(78, 168, 222, 0.75);
  box-shadow: 0 0 50px 10px rgba(78, 168, 222, 0.32), 0 16px 36px rgba(0, 0, 0, 0.65);
}

.giv-night-satellite-wrap[data-type="pool"]:hover .giv-satellite-circle {
  box-shadow: 0 0 70px 16px rgba(78, 168, 222, 0.5);
}

.giv-night-satellite-wrap[data-type="pool"] .giv-satellite-orbit-outer {
  border-color: rgba(78, 168, 222, 0.35);
}

.giv-night-satellite-wrap[data-type="pool"] .giv-satellite-orbit-middle {
  border-color: rgba(78, 168, 222, 0.28);
}

.giv-satellite-tag[data-type="pool"] {
  border-color: rgba(78, 168, 222, 0.5);
}

.giv-satellite-tag[data-type="pool"] .giv-fire-spark {
  background: #4ea8de;
  box-shadow: 0 0 6px #4ea8de;
}

.giv-night-hotspot {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
}

/* Nocturnal Metrics Bar (4 Pillar Badges) */
.giv-night-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  padding: clamp(24px, 3.5vw, 36px) 0;
  border-top: 1px solid rgba(241, 233, 218, 0.12);
  border-bottom: 1px solid rgba(241, 233, 218, 0.12);
  margin-top: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(60px, 8vw, 100px);
}

.giv-metric-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.giv-metric-value {
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 400;
  color: #d9a962;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.giv-metric-label {
  font-size: 12px;
  line-height: 1.5;
  color: #8f9e98;
  max-width: 24ch;
}

@keyframes givFireAmbient {
  0% {
    box-shadow: 0 0 70px 10px rgba(226, 140, 60, 0.18), 0 0 120px 25px rgba(217, 90, 20, 0.08);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 110px 22px rgba(240, 165, 75, 0.32), 0 0 160px 40px rgba(226, 110, 30, 0.16);
    filter: brightness(1.05) contrast(1.02);
  }
  100% {
    box-shadow: 0 0 80px 12px rgba(226, 140, 60, 0.22), 0 0 130px 30px rgba(217, 90, 20, 0.11);
    filter: brightness(0.98);
  }
}

@keyframes givOrbitPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.03); opacity: 0.95; border-color: rgba(217, 169, 98, 0.45); }
}

/* Responsive Adaptations */
@media (max-width: 1024px) {
  .giv-night-stage-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .giv-night-canvas-stage {
    max-width: 520px;
  }
  .giv-night-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .giv-night-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .giv-night-coords {
    flex-wrap: wrap;
    font-size: 10px;
    letter-spacing: 0.12em;
    gap: 6px 8px;
    line-height: 1.5;
  }
  .giv-night-celestial-chart {
    width: 90px;
    height: 90px;
    top: 8px;
    right: 8px;
    opacity: 0.45;
  }
  .giv-arch-pill {
    top: 16px;
    font-size: 8px;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    max-width: 82%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .giv-night-satellite-wrap {
    right: 0px;
    bottom: -16px;
    width: 110px;
  }
  .giv-satellite-tag {
    font-size: 8px;
    letter-spacing: 0.08em;
    padding: 2px 7px;
    bottom: -6px;
  }
  .giv-arch-footer {
    padding: 12px 14px;
    gap: 10px;
  }
  .giv-arch-title {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .giv-arch-sub {
    font-size: 10px;
  }
  .giv-night-metrics-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .giv-night-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .giv-night-btn-primary, .giv-night-btn-ghost {
    justify-content: center;
  }
}

/* ==========================================================================
   Hero Arch Slideshow (Domes & Rates Page)
   ========================================================================== */
.giv-hero-arch-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  min-height: 240px;
  max-height: 56vh;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  border: 1px solid rgba(217, 169, 98, 0.5);
  border-bottom: 0;
  background: #0f1f23;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.giv-hero-arch-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.giv-hero-arch-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.giv-hero-arch-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.giv-hero-arch-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  image-rendering: -webkit-optimize-contrast;
}

.giv-hero-arch-slide.active img {
  transform: scale(1.04);
}

.giv-hero-arch-lattice {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 4;
}

.giv-hero-arch-caption {
  position: absolute;
  left: clamp(20px, 4vw, 44px);
  bottom: clamp(14px, 2.5vw, 24px);
  z-index: 6;
  font-size: clamp(11px, 0.95vw, 13px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-light);
  background: rgba(15, 31, 35, 0.72);
  padding: 6px 14px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 169, 98, 0.35);
  font-family: var(--font-heading);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: calc(100% - 140px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.giv-hero-arch-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 31, 35, 0.6);
  border: 1px solid rgba(217, 169, 98, 0.4);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
}

.giv-hero-arch-slider:hover .giv-hero-arch-arrow {
  opacity: 1;
}

.giv-hero-arch-prev {
  left: clamp(14px, 2.5vw, 28px);
}

.giv-hero-arch-next {
  right: clamp(14px, 2.5vw, 28px);
}

.giv-hero-arch-arrow:hover {
  background: rgba(217, 169, 98, 0.4);
  border-color: var(--color-accent-gold);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 16px rgba(217, 169, 98, 0.4);
}

.giv-hero-arch-dots {
  position: absolute;
  bottom: clamp(14px, 2.5vw, 24px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 31, 35, 0.5);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 169, 98, 0.2);
}

.giv-hero-arch-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(241, 233, 218, 0.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.28s ease;
}

.giv-hero-arch-dot:hover {
  background: rgba(241, 233, 218, 0.85);
  transform: scale(1.2);
}

.giv-hero-arch-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--color-accent-gold);
  box-shadow: 0 0 10px rgba(217, 169, 98, 0.85);
}

@media (max-width: 768px) {
  .giv-hero-arch-arrow {
    opacity: 0.85;
    width: 34px;
    height: 34px;
  }
  .giv-hero-arch-caption {
    display: none;
  }
}

/* ==========================================================================
   Dome Card Carousel Slideshow (All 8 Domes on Domes & Rates)
   ========================================================================== */
.giv-dome-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 6px solid var(--color-surface);
  outline: 1px solid rgba(29, 42, 38, 0.16);
  border-radius: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background: #0f1f23;
  display: block;
}

.giv-dome-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.giv-dome-slider-track.is-dragging {
  transition: none !important;
  cursor: grabbing !important;
}

.giv-dome-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.giv-dome-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.45s ease;
  pointer-events: none;
}

.giv-dome-slider:hover .giv-dome-slide img {
  transform: scale(1.025);
}

.giv-dome-slider-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 5;
  pointer-events: none;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-light);
  background: rgba(15, 31, 35, 0.65);
  padding: 5px 12px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(217, 169, 98, 0.2);
}

.giv-dome-slider-count {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  pointer-events: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
  background: rgba(15, 31, 35, 0.65);
  padding: 4px 9px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(217, 169, 98, 0.2);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.giv-dome-slider:hover .giv-dome-slider-count {
  opacity: 1;
}

.giv-dome-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 31, 35, 0.65);
  border: 1px solid rgba(217, 169, 98, 0.4);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
}

.giv-dome-slider:hover .giv-dome-slider-arrow {
  opacity: 1;
}

.giv-dome-slider-prev {
  left: 12px;
}

.giv-dome-slider-next {
  right: 12px;
}

.giv-dome-slider-arrow:hover {
  background: rgba(217, 169, 98, 0.45);
  border-color: var(--color-accent-gold);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 12px rgba(217, 169, 98, 0.4);
}

.giv-dome-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 31, 35, 0.45);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(217, 169, 98, 0.18);
}

.giv-dome-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(241, 233, 218, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.giv-dome-slider-dot:hover {
  background: rgba(241, 233, 218, 0.9);
  transform: scale(1.2);
}

.giv-dome-slider-dot.active {
  width: 16px;
  border-radius: 999px;
  background: var(--color-accent-gold);
  box-shadow: 0 0 8px rgba(217, 169, 98, 0.85);
}

@media (max-width: 768px) {
  .giv-dome-slider-arrow {
    opacity: 0.85;
    width: 30px;
    height: 30px;
  }
  .giv-dome-slider-count {
    opacity: 0.85;
  }
}




/* ============================================================
   Dome Page: New Hero & Gallery Styles
   ============================================================ */

/* Gallery two-column grid: stack on mobile */
#domeGalleryGrid {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 700px) {
  #domeGalleryGrid {
    grid-template-columns: 1fr;
  }
}

/* Hover zoom on right-side grid cells */
#domeGalleryGrid > div:last-child > div img {
  transition: transform 0.4s ease;
}
#domeGalleryGrid > div:last-child > div:hover img {
  transform: scale(1.04);
}
