/* Global CSS - Shared across all versions */

:root {
  --bg: #FBF6EF;
  --bg-raised: #FFFCF7;
  --ink: #2B2620;
  --ink-dim: #6B6256;
  --accent: #C1622D;
  --accent-soft: #F3E2D3;
  --line: #D5C8B3;
  --display: 'Playfair Display', serif;
  --body: 'Work Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  font-size: 16px;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
}

h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 34px;
}

h3 {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  font-weight: 600;
}

/* Common utility classes */
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.btn {
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 3px;
  border: 1px solid var(--line);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 500;
}

.btn-primary:hover {
  background: #A4521F;
}

.btn-ghost {
  color: var(--ink);
  background: var(--bg-raised);
}

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

.tag {
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
