/* ==========================================================================
   OAKENRY — design tokens + reset
   Ported verbatim from design_handoff_oakenry_site/styles.css (lines 5-65).
   The @import of Google Fonts was removed on purpose: the fonts are loaded
   from the <head> of each page, non-blocking. Italiana / Marcellus / Cardo
   are NOT loaded — they only existed for the prototype's tweaks panel.
   ========================================================================== */

:root {
  /* Background tones */
  --bg-coffee:   #15110D;
  --bg-black:    #0A0908;
  --bg-bottle:   #141C17;

  /* Surfaces & lines */
  --surface:     rgba(242, 233, 216, 0.035);
  --surface-2:   rgba(242, 233, 216, 0.06);
  --hairline:    rgba(242, 233, 216, 0.14);
  /* Subido de 0.28 el 2026-10-23: daba 2,25:1 y WCAG 1.4.11 exige 3:1 a los
     bordes de un control. Afecta al borde de .cta-ghost y del campo de email.
     Con 0.40 queda en 3,14:1. Revertir = volver a 0.28. */
  --hairline-strong: rgba(242, 233, 216, 0.40);

  /* Type colors */
  --fg:          #F2E9D8;
  --fg-muted:    #B8A88E;
  /* Subido de #7B6E58 el 2026-10-23: aquel daba 3,77:1 sobre --bg y fallaba
     WCAG AA (4,5:1) en TODOS sus usos, que son texto de 9 a 10,5 px — ninguno
     califica como texto grande. El peor caso era la nota legal del pie,
     "DRINK RESPONSIBLY · 21+", a 9 px. Mismo tono y saturación exactos
     (H 37,7° / S 16,6 %), solo sube la luminosidad. Ahora 5,14:1.
     Revertir = volver a poner #7B6E58. */
  --fg-quiet:    #938469;

  /* Accents */
  --amber:       #D9A05B;
  --brass:       #C9A974;
  --copper:      #C57842;

  /* Live values — fixed to the shipped defaults (README: amber + coffee) */
  --bg:          var(--bg-coffee);
  --accent:      var(--amber);

  /* Fonts */
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* CTA text on amber */
  --on-accent:   #1A130A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-coffee);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
}

/* Sections scroll into view clear of the sticky nav */
.oak section[id] { scroll-margin-top: 88px; }

/* Page root (the prototype's <div class="oak">, here the <body>) */
.oak {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  width: 100%;
  min-height: 100%;
  position: relative;
  font-weight: 300;
  letter-spacing: 0.005em;
}

.oak section { position: relative; }
