/* ============================================================
   BUILD ENOLA - Shared Design System
   Warm Parchment Palette · Cormorant Garamond + Inter
   Single source of truth for all pages.
   © Sean Gal | enolarevenu.com
============================================================ */

/* Fonts are loaded via <link> tags in each page's <head> for performance.
   Required: Inter 400/500/600/700 + Cormorant Garamond 600/700 (+ italic variants)
   Soul Builder also requires: JetBrains Mono 400/500 */

/* ── Design Tokens ── */
:root {
  /* Surface */
  --bg:          #FAF7F2;
  --surface:     #FFFFFF;
  --raised:      #F2EBE0;

  /* Border */
  --border:      #DDD3C4;
  --border-hi:   #C8B8A8;

  /* Text */
  --text:        #1C1410;
  --dim:         #6B5A50;
  --muted:       #A8978C;

  /* Accent - Terracotta */
  --accent:      #B85C38;
  --accent-hi:   #8C3E22;
  --accent-bg:   #F5EBE4;

  /* Status */
  --green:       #3A7A4C;
  --green-bg:    rgba(58,122,76,.10);
  --red:         #B83030;
  --red-bg:      rgba(184,48,48,.10);

  /* Typography */
  --font:   'Inter', system-ui, sans-serif;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --mono:   'JetBrains Mono', monospace;

  /* Radius */
  --r:    8px;
  --r-lg: 14px;

  /* Type Scale */
  --type-display-xl: clamp(48px, 7vw, 80px);
  --type-display-lg: clamp(32px, 5vw, 52px);
  --type-display-md: clamp(22px, 3vw, 32px);
  --type-body-lg:    18px;
  --type-body-md:    16px;
  --type-label:      12px;
  --type-caption:    13px;

  /* Layout */
  --content-width: 640px;
  --wide-width:    960px;

  /* Easing */
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-in:  cubic-bezier(0.0, 0.0, 0.2, 1);

  /* Backwards-compatibility aliases (used in styles.css) */
  --bg-tint:     var(--raised);
  --bg-dark:     #1C1410;
  --bg-surface:  var(--surface);
  --text-dim:    var(--dim);
  --text-muted:  var(--muted);
  --accent-dark: var(--accent-hi);
  --font-ed:     var(--serif);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Shared: Eyebrow / Label ── */
.eyebrow, .label {
  display: block;
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

/* ── Shared: Brand Mark ── */
.brand-mark {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.brand-mark span { color: var(--accent); }

/* ── Shared: Primary Button ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 92, 56, 0.3);
  background-color: var(--accent-hi);
}
.btn-primary:active { transform: scale(0.97); }
.btn-lg { font-size: 16px; padding: 16px 32px; }

/* ── Shared: Accent Badge / File Tag ── */
.badge {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(184,92,56,.2);
  border-radius: 4px;
  padding: 3px 9px;
  display: inline-block;
}

/* ── Shared: Footer ── */
.site-footer {
  padding: 28px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
