:root {
  /* Brand colors */
  --color-black: #0B0B0C;
  --color-black-2: #16161A;
  --color-gold: #B8954A;
  --color-gold-dim: #8C6F34;
  --gradient-gold: linear-gradient(135deg, #7A5A18 0%, #C9972E 24%, #F4DD8B 50%, #C9972E 76%, #7A5A18 100%);
  --gradient-gold-hover: linear-gradient(135deg, #8C6B22 0%, #DCAE41 24%, #FCEBAE 50%, #DCAE41 76%, #8C6B22 100%);
  --color-white: #FFFFFF;
  --color-offwhite: #F7F5F1;
  --color-border: #E7E2D8;
  --color-text-muted: #6B6B6F;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Public Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Radius scale (shape consistency lock) */
  --radius-pill: 999px;   /* buttons, tabs, chips, variant pills */
  --radius-card: 20px;    /* cards, images, panels, modal/lightbox, carousel slides */
  --radius-input: 10px;   /* form inputs/selects/checkboxes, small badges, search box */
  --radius-circle: 50%;   /* avatars, icon-circles, map pins, floating buttons */
  /* Deprecated: kept defined during rollout so unmigrated CSS doesn't break.
     Do not reference these in new or edited CSS — use the scale above instead. */
  --radius-sm: 6px;
  --radius-md: 14px;
  --shadow-lift: 0 20px 40px -20px rgba(11, 11, 12, 0.35);

  /* Motion */
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --duration-slow: 600ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* tactile feedback only: hover-lift/tap-press settle */
  --reveal-stagger-step: 80ms;

  /* Layout */
  --nav-height: 76px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* backstop: nothing should ever make the page draggable sideways */
}

/* Bootstrap's .container always uses --bs-gutter-x:1.5rem for its own padding,
   regardless of any gutter utility (.g-0 … .g-5) applied to a .row inside it.
   A .row.g-5 sets its OWN --bs-gutter-x:3rem, giving it -24px negative margins —
   12px more than the container's 12px padding can absorb — so it bled 12px past
   the container on each side (root cause of the mobile "white edge"/clipped-text
   bug). Matching the container's gutter to whatever its row actually uses fixes
   every .row.g-5 sitewide in one rule instead of chasing each usage individually. */
.container:has(> .row.g-5) {
  --bs-gutter-x: 3rem;
}

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background-color: var(--color-white);
}

h1, h2, h3, .section-title, .hero-caption h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-dim);
}

a {
  color: var(--color-gold-dim);
}

a:hover {
  color: var(--color-gold);
}

.btn-gold {
  background: var(--gradient-gold);
  border: 1px solid var(--color-gold-dim);
  color: var(--color-black);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.btn-gold:hover {
  background: var(--gradient-gold-hover);
  color: var(--color-black);
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: scale(0.98);
}

.btn-outline-light-gold {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: var(--color-white);
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  transition: border-color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
}

.btn-outline-light-gold:hover {
  border-color: var(--color-gold);
  background-color: rgba(184, 149, 74, 0.15);
  color: var(--color-white);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Shared interaction utilities */
.hover-lift {
  transition: transform var(--duration-base) var(--ease-spring), box-shadow var(--duration-base) var(--ease-out);
}

.hover-lift:hover,
.hover-lift:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.hover-border-reveal {
  position: relative;
}

.hover-border-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--color-gold);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
  pointer-events: none;
}

.hover-border-reveal:hover::after,
.hover-border-reveal:focus-visible::after {
  opacity: 1;
}

.tap-press:active {
  transform: scale(0.98);
}

/* Carousel mouse-drag affordance */
.carousel-inner {
  cursor: grab;
  touch-action: pan-y;
}

.carousel.is-dragging .carousel-inner {
  cursor: grabbing;
}

.carousel-inner img {
  -webkit-user-drag: none;
  user-select: none;
}

/* Scroll-reveal base */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hover-lift,
  .btn-gold,
  .btn-outline-light-gold,
  .tap-press {
    transition: none !important;
  }
  .hover-lift:hover,
  .hover-lift:focus-visible,
  .btn-gold:hover,
  .btn-gold:active,
  .tap-press:active {
    transform: none !important;
  }
}
