/* Base — shared across every page: fonts, reset, color tokens, keyframes. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Pinyon+Script&family=Figtree:wght@300;400;500&display=swap');

:root {
  --color-bg: #F4F1E9;
  --color-ink: #20211D;
  --color-sage: #4B5540;
  --color-sage-dark: #333A2A;
  --color-sage-soft: #7C8470;
  --color-taupe: #8B8878;
  --color-taupe-light: #B4B0A0;
  /* Darker taupe for functional/informational text (dates, times, places,
     deadlines) — ~5:1 contrast on --color-bg, meets WCAG AA for normal text.
     --color-taupe stays for purely decorative/tertiary copy. */
  --color-taupe-func: #6B6858;
  --color-olive-muted: #6E7561;
  --color-line: #DBD6C6;
  --color-line-soft: #E7E2D4;
  --color-card: #FBF9F4;
  --color-error: #8A5A46;
  /* Inverted panel palette (used by .section-invert, e.g. the logistics
     section) — dark sage background with cream text, tuned to keep AA
     contrast so the "same cream everywhere" rhythm breaks without losing
     legibility. */
  --color-invert-bg: #333A2A;
  --color-invert-bg-soft: #3D4433;
  --color-invert-text: #FDFCF9;
  --color-invert-text-muted: #C9C4B2;
  --color-invert-accent: #D9C88A;
  --color-invert-line: rgba(253, 252, 249, .2);
  --color-invert-line-soft: rgba(253, 252, 249, .12);
  --font-display: 'Cormorant Garamond', serif;
  --font-script: 'Pinyon Script', cursive;
  --font-body: 'Figtree', system-ui, sans-serif;
  --ease-premium: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 300;
}

a { color: var(--color-sage); }
a:hover { color: var(--color-sage-dark); }

button { font: inherit; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes secPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes bobY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes shakeX { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@keyframes inkDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes musicBreathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(75, 85, 64, .32); }
  50% { box-shadow: 0 0 0 6px rgba(75, 85, 64, 0); }
}
@keyframes leafBurst {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: .95; }
  100% { transform: translate(var(--dx, 0), var(--dy, 120px)); opacity: 0; }
}
@keyframes leafSway { from { transform: translateX(-8px); } to { transform: translateX(8px); } }
@keyframes leafSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes leafSpinRev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

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

/* Olive-branch seal (js/seal.js renders this markup into any [data-seal] element) */
.seal-letters {
  position: absolute;
  left: 47.6%;
  top: 48.7%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}
.seal-letters .amp { line-height: 1; }
.seal-letters span:not(.amp) { line-height: .9; }
