/* Theme layer only: tokens, colors, typography, and component presentation. */

:root {
  --color-background: #f4f4f0;
  --color-surface: #fcfbf7;
  --color-surface-strong: #203245;
  --color-text: #222222;
  --color-text-soft: #4c4c46;
  --color-accent: #5f7a67;
  --color-accent-strong: #4a6352;
  --color-cta-text: #f8f8f4;
  --color-cta-button-bg: #fafafa;
  --color-cta-button-text: #1a202c;
  --color-border: rgba(34, 34, 34, 0.12);
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --shadow-soft: 0 18px 42px rgba(28, 39, 38, 0.12);
  --shadow-card: 0 12px 30px rgba(28, 39, 38, 0.08);
  --radius-card: 0;
  --radius-image: 0;
  --radius-button: 999px;
  --font-size-body: 18px;
  --line-height-body: 1.65;
  --letter-spacing-heading: -0.02em;
  --line-height-heading: 1.1;
  --font-size-h1: clamp(2.5rem, 6vw, 4.75rem);
  --font-size-h2: clamp(2rem, 4.5vw, 3.25rem);
  --font-size-h3: 1.6rem;
  --font-size-label: 0.95rem;
  --letter-spacing-label: 0.14em;
  --font-size-lede: 1.15rem;
  --font-size-lede-desktop: 1.22rem;
  --font-size-scroll-cue-icon: 1.1rem;
  --font-size-cta: 1rem;
  --line-height-cta: 1.2;
  --space-focus-ring-width: 3px;
  --space-focus-ring-offset: 4px;
  --motion-duration-fast: 160ms;
  --motion-ease-standard: ease;
  --transform-cta-hover: translateY(-3px);
  --transform-cta-active: translateY(1px);
  --shadow-card-hover: 0 16px 24px rgba(0, 0, 0, 0.2);
}

html {
  background: var(--color-background);
  scroll-behavior: smooth;
}

body {
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-heading);
  line-height: var(--line-height-heading);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

p {
  color: var(--color-text-soft);
}

.eyebrow,
.section-label,
.print-meta,
.scroll-cue {
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
}

.eyebrow,
.section-label,
.scroll-cue {
  color: var(--color-accent-strong);
}

.lede {
  font-size: var(--font-size-lede);
}

.scroll-cue::after {
  content: "\2193";
  font-size: var(--font-size-scroll-cue-icon);
}

.hero-copy h1,
.hero-copy .lede {
  color: var(--color-text);
}

.hero-media img,
.print-card img {
  border-radius: var(--radius-image);
}

.hero-media img,
.print-card {
  box-shadow: var(--shadow-soft);
}

.print-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.print-card h3 {
  color: var(--color-text);
}

.print-meta {
  color: var(--color-accent-strong);
}

.cta-shell {
  background: var(--color-surface-strong);
}

.cta-shell .section-label,
.cta-shell h2,
.cta-shell p {
  color: var(--color-cta-text);
}

.site-footer {
  background: var(--color-background);
  color: var(--color-text);
}

.site-footer p {
  color: var(--color-text);
}

.cta-button {
  border-radius: var(--radius-button);
  background: var(--color-cta-button-bg);
  box-shadow: var(--shadow-card);
  color: var(--color-cta-button-text);
  font-size: var(--font-size-cta);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-cta);
  text-align: center;
  transition:
    background-color var(--motion-duration-fast) var(--motion-ease-standard),
    color var(--motion-duration-fast) var(--motion-ease-standard),
    transform var(--motion-duration-fast) var(--motion-ease-standard);
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--color-accent);
  box-shadow: var(--shadow-card-hover);
  color: var(--color-cta-text);
  transform: var(--transform-cta-hover);
}

.cta-button:focus-visible,
.scroll-cue:focus-visible {
  outline: var(--space-focus-ring-width) solid var(--color-cta-text);
  outline-offset: var(--space-focus-ring-offset);
}

.cta-button:active {
  transform: var(--transform-cta-active);
}

@media (min-width: 48rem) {
  .lede {
    font-size: var(--font-size-lede-desktop);
  }
}
