/* ============================================================
   BASE — Reset, html/body, typography classes, cursor,
   buttons, reveal helpers, accessibility
   Extracted from index.html <style> block
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- HTML ---- */
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  scroll-padding-top: 90px;
  overscroll-behavior-y: none;
}

/* ---- Body ---- */
body {
  font-family: 'Inter', sans-serif;
  background: #0d0508;
  color: #f0ebe0;
  line-height: 1.6;
  font-weight: 300;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Touch / tap-highlight ---- */
a, button, input, select, textarea, .dish-card, .wine-card, .side-event {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ---- Skip to main content — keyboard accessibility ---- */
.skip-link {
  position: fixed;
  top: -200px;
  left: 20px;
  z-index: 10001;
  padding: 14px 22px;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: top 0.3s var(--ease);
}
.skip-link:focus-visible {
  top: 20px;
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

/* ---- Base element resets ---- */
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Selection ---- */
::selection { background: #5c1a2a; color: #d4af37; }

/* ---- Focus-visible ---- */
:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============================================================
   TYPOGRAPHY CLASSES
   ============================================================ */
.display { font-family: var(--font-display); font-weight: 400; line-height: 0.92; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.section-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  opacity: 0.7;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 48px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

/* ============================================================
   CUSTOM CURSOR (desktop only)
   ============================================================ */
.cursor, .cursor-follow {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}
.cursor-follow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.4s;
}
.cursor.hover { width: 0; height: 0; }
.cursor-follow.hover {
  width: 72px;
  height: 72px;
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-follow { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s, border-color 0.4s, box-shadow 0.4s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-deep);
  box-shadow: 0 8px 32px -12px rgba(212, 175, 55, 0.55);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -14px rgba(212, 175, 55, 0.65);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 240, 225, 0.3);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}
.btn-arrow {
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.4s var(--ease);
}
.btn-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .btn-arrow { width: 22px; }

/* ============================================================
   GSAP HELPERS / REVEAL STATES
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.char {
  display: inline-block;
  will-change: transform, opacity;
}

/* ============================================================
   ACCESSIBILITY: respect reduced motion
   ============================================================ */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}
