/* ═══════════════════════════════════════════════════════════════
   HOTEL 1812 — MAIN.CSS  v6 (Premium Upgrade)
   Design System: #b79b68 gold · Near-black · Cream white
   Typography: Cormorant Garamond (display) · Jost (sans) · Cormorant SC (caps)
═══════════════════════════════════════════════════════════════ */

/* ── Font Loading — preconnect recommended in HTML ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Cormorant+SC:wght@300;400;500;600&family=Jost:wght@200;300;400;500&display=swap');

/* ═══════════════════
   DESIGN TOKENS
═══════════════════ */
:root {
  /* ── Backgrounds ── */
  --c-void:      #000000;
  --c-night:     #07080a;
  --c-deep:      #0c0d10;
  --c-charcoal:  #111318;
  --c-panel:     #16191f;
  --c-lift:      #1c2028;
  --c-surface:   #222730;

  /* ── Brand Gold ── */
  --c-gold:      #b79b68;
  --c-gold-lt:   #d0b888;
  --c-gold-pale: #e8d5b0;
  --c-gold-dk:   #8c7248;
  --c-gold-xs:   rgba(183, 155, 104, 0.07);
  --c-gold-sm:   rgba(183, 155, 104, 0.15);
  --c-gold-md:   rgba(183, 155, 104, 0.26);
  --c-gold-glow: rgba(183, 155, 104, 0.42);

  /* ── Text ── */
  --c-cream:     #f5ede0;
  --c-ivory:     #ece0c8;
  --c-muted:     rgba(245, 237, 224, 0.68);
  --c-soft:      rgba(245, 237, 224, 0.48);
  --c-ghost:     rgba(245, 237, 224, 0.30);
  --c-whisper:   rgba(245, 237, 224, 0.12);

  /* ── Borders ── */
  --b-fine:      rgba(183, 155, 104, 0.16);
  --b-mid:       rgba(183, 155, 104, 0.30);
  --b-strong:    rgba(183, 155, 104, 0.55);

  /* ── Typography ── */
  --ff-display:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-caps:     'Cormorant SC', Georgia, serif;
  --ff-sans:     'Jost', 'Segoe UI', system-ui, sans-serif;

  /* ── Motion ── */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Spacing ── */
  --pad-section: 9rem;
  --pad-sm:      5.5rem;
  --pad-side:    clamp(1.4rem, 4vw, 4rem);

  /* ── Focus ring ── */
  --focus-ring:  0 0 0 2px var(--c-gold), 0 0 0 4px rgba(183, 155, 104, 0.3);
}

/* ── 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;
  }
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--c-night);
  color: var(--c-cream);
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom cursor — desktop only */
@media (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}
@media (pointer: coarse) {
  body { cursor: auto; }
  a, button { cursor: pointer; }
  .c-dot, .c-ring, .c-label { display: none !important; }
}

img, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Focus Styles (Accessibility) ── */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.8rem 1.6rem;
  background: var(--c-gold);
  color: var(--c-void);
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* ═══════════════════
   GLOBAL TYPOGRAPHY
═══════════════════ */
.t-eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 1rem;
}
.t-h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.04;
  color: var(--c-cream);
}
.t-h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-cream);
}
.t-em {
  font-style: italic;
  color: var(--c-gold-lt);
}
.t-body {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.90;
  color: var(--c-muted);
  max-width: 56ch;
}
.t-body + .t-body {
  margin-top: 0.6rem;
}
.t-body-sm {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--c-muted);
}
.t-caps {
  font-family: var(--ff-caps);
  letter-spacing: 0.18em;
}

/* ═══════════════════
   LAYOUT
═══════════════════ */
.s-pad    { padding: var(--pad-section) var(--pad-side); }
.s-pad-sm { padding: var(--pad-sm)      var(--pad-side); }
.s-max    { max-width: 1280px; margin: 0 auto; }

/* ── Ornament ── */
.orn { display: flex; align-items: center; gap: 1.2rem; }
.orn-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--b-fine), transparent); }
.orn-gem  { color: var(--c-gold); font-size: 0.65rem; opacity: 0.6; flex-shrink: 0; }

/* ── Utility ── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mx-auto     { margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 900px) {
  :root {
    --pad-section: 6rem;
    --pad-sm: 4rem;
  }
}
@media (max-width: 600px) {
  :root {
    --pad-section: 4.5rem;
    --pad-sm: 3rem;
  }
}
