/* Elisa Sint Jago — base.css
   Purpose: Design tokens + reset + shared typography for the cream theme.
   Cream hooks (:root):
     --bg #f6f0e8, --bg2, --card, --fg, --muted, --gold, --gold-soft, --rose,
     --blush, --ink-deep, --line, --max (content width), --focus
   Why separate file: Launchpad/Theme Assist and humans can retoken without
                      touching layout structure. Never commit TradeOps colors here.
   Gotchas: prefers-reduced-motion nukes transitions globally — feature-card.js
            also respects that via .is-reduced-motion.
   Ink backup: css/themes/ink/base.css is a separate dark product theme — do not
               delete or merge into cream. Entry: product/index.html.
*/

:root {
  --bg: #f6f0e8;
  --bg2: #efe6da;
  --card: #fffaf4;
  --fg: #2a2420;
  --muted: #6e645a;
  --gold: #b8860b;
  --gold-soft: #e8c872;
  --rose: #c4a484;
  --blush: #f2d9d0;
  --ink-deep: #1c1814;
  --line: rgba(42, 36, 32, 0.12);
  --max: 1180px;
  --focus: #b8860b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  background:
    radial-gradient(900px 480px at 10% -10%, rgba(232, 200, 114, 0.28), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(242, 217, 208, 0.45), transparent 50%),
    linear-gradient(180deg, #faf5ef 0%, var(--bg) 28%, #f3ebe2 100%);
  color: var(--fg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: linear-gradient(180deg, #e0bc4a, var(--gold));
  color: #1c1814;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.muted {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: 0.2s ease;
  min-height: 44px;
}

.btn-gold {
  background: linear-gradient(180deg, #e0bc4a, var(--gold));
  color: #1c1814;
}

.btn-gold:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
