/* ── Reset & tokens ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:           #F9F7F4;
  --clr-surface:      #FFFFFF;
  --clr-text:         #1A1814;
  --clr-muted:        #78716C;
  --clr-accent:       #C2410C;
  --clr-accent-light: #FEF3EC;
  --clr-border:       #E8E4DF;
  --clr-dark:         #1A1814;

  --shadow-sm: 0 1px 2px rgba(26,24,20,.05), 0 1px 6px rgba(26,24,20,.06);
  --shadow-md: 0 2px 4px rgba(26,24,20,.04), 0 6px 20px rgba(26,24,20,.08);
  --shadow-lg: 0 4px 8px rgba(26,24,20,.04), 0 16px 40px rgba(26,24,20,.10);

  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Utilities ──────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}
.btn-primary:hover  { background: #b03a0b; border-color: #b03a0b; }
.btn-primary:active { background: #922f07; border-color: #922f07; }

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border);
}
.btn-ghost:hover  { background: var(--clr-bg); }
.btn-ghost:active { background: var(--clr-border); }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249,247,244,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--clr-text);
  letter-spacing: -.01em;
}
.nav__logo span { color: var(--clr-accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: .9375rem;
  color: var(--clr-muted);
  transition: color .15s;
}
.nav__links a:hover { color: var(--clr-text); }

.nav__cta { display: flex; align-items: center; gap: 12px; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero__label {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: var(--clr-accent-light);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero__heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--clr-text);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.0625rem;
  color: var(--clr-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__note {
  margin-top: 20px;
  font-size: .8125rem;
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__note::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--clr-border);
}

/* ── Section shared ─────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--alt { background: var(--clr-surface); }
.section--dark {
  background: var(--clr-dark);
  color: #fff;
}

.section__eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 12px;
}

.section__heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section__sub {
  font-size: 1rem;
  color: var(--clr-muted);
  max-width: 520px;
  line-height: 1.7;
}

.section__header { margin-bottom: 56px; }
.section__header--center { text-align: center; }
.section__header--center .section__sub { margin-inline: auto; }

/* ── Stats ──────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat-cell {
  background: var(--clr-surface);
  padding: 40px 32px;
  text-align: center;
}

.stat-cell__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-cell__label {
  font-size: .9375rem;
  color: var(--clr-muted);
}

/* ── Final CTA ──────────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  background: var(--clr-dark);
  text-align: center;
}

.cta-section .section__eyebrow { color: #C2410C; }

.cta-section .section__heading {
  color: #fff;
  margin-inline: auto;
  max-width: 640px;
}

.cta-section .section__sub {
  color: rgba(255,255,255,.55);
  margin: 0 auto 40px;
}

.cta-section .btn-ghost {
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.75);
}
.cta-section .btn-ghost:hover  { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-section .btn-ghost:active { background: rgba(255,255,255,.15); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--clr-border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 600;
}
.footer__logo span { color: var(--clr-accent); }

.footer__copy { font-size: .875rem; color: var(--clr-muted); }

/* ── Forms ──────────────────────────────────────────────────── */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  color: var(--clr-text);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(194,65,12,.12);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-textarea {
  resize: vertical;
  min-height: 80px;
}
.form-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--clr-accent);
  cursor: pointer;
  flex-shrink: 0;
}
.form-file {
  width: 100%;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--clr-text);
}
.form-file::file-selector-button {
  padding: 6px 12px;
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8125rem;
  margin-right: 10px;
  transition: background .15s;
}
.form-file::file-selector-button:hover { background: rgba(194,65,12,.12); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
}
