:root {
  --cream-50: #fdf9f1;
  --cream-100: #f7ecd9;
  --cream-200: #efdfc2;
  --ink-900: #2c1c12;
  --ink-600: #7a6552;
  --terracotta-600: #a8432c;
  --terracotta-500: #c1573d;
  --terracotta-400: #d97a58;
  --ochre-500: #b9873f;
  --max-w: 780px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 120% at 50% 0%, var(--cream-100) 0%, var(--cream-50) 45%, #fffaf1 100%);
  color: var(--ink-900);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Decorative background */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  will-change: transform;
}

.orb-a {
  width: 42vmax;
  height: 42vmax;
  top: -18vmax;
  left: -10vmax;
  background: radial-gradient(circle at 30% 30%, var(--terracotta-400), transparent 70%);
}

.orb-b {
  width: 36vmax;
  height: 36vmax;
  bottom: -16vmax;
  right: -12vmax;
  background: radial-gradient(circle at 60% 40%, var(--ochre-500), transparent 70%);
  opacity: 0.22;
}

.pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink-900);
  opacity: 0.04;
}

/* Header */
.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem clamp(1.25rem, 5vw, 3.5rem);
}

.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.wordmark span {
  color: var(--terracotta-500);
}

.header-link {
  color: var(--ink-600);
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid rgba(44, 28, 18, 0.15);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.header-link:hover {
  color: var(--terracotta-600);
  border-color: var(--terracotta-500);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2rem, 8vh, 5rem) 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta-600);
  margin: 0 0 1.5rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta-500);
  box-shadow: 0 0 0 0 rgba(193, 87, 61, 0.55);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(193, 87, 61, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(193, 87, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(193, 87, 61, 0); }
}

.title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.title .accent {
  color: var(--terracotta-500);
  font-style: italic;
}

.lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-600);
  max-width: 62ch;
  margin: 0 0 2rem;
}

.lede strong {
  color: var(--ink-900);
  font-weight: 600;
}

.pill-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0 0 2.5rem;
}

.pill {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(44, 28, 18, 0.05);
  border: 1px solid rgba(44, 28, 18, 0.12);
  color: var(--ink-900);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.cta-primary {
  background: var(--terracotta-500);
  color: var(--cream-50);
}

.cta-primary:hover {
  transform: translateY(-1px);
  background: var(--terracotta-600);
}

.cta-secondary {
  color: var(--ink-900);
  border: 1px solid rgba(44, 28, 18, 0.25);
}

.cta-secondary:hover {
  border-color: var(--terracotta-500);
  color: var(--terracotta-600);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem clamp(1.25rem, 5vw, 3.5rem) 2rem;
  color: var(--ink-600);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer a {
  color: var(--terracotta-600);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.fine-print {
  opacity: 0.75;
  font-size: 0.78rem;
}

@media (max-width: 520px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    animation: none;
  }
}
