/* === RESET & TOKENS === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f7f6f3;
  --bg-warm: #efede8;
  --bg-dark: #161b26;
  --bg-dark-mid: #1e2433;
  --text: #161b26;
  --text-mid: #3b4259;
  --text-light: #5f6580;
  --accent: #a8432a;
  --accent-hover: #8c3822;
  --accent-light: rgba(168, 67, 42, 0.07);
  --accent-glow: rgba(168, 67, 42, 0.15);
  --border: #d8d4cb;
  --border-light: #e6e3dc;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(22, 27, 38, 0.05), 0 8px 20px rgba(22, 27, 38, 0.04);
  --shadow-hover: 0 2px 8px rgba(22, 27, 38, 0.08), 0 14px 32px rgba(22, 27, 38, 0.06);
  --radius: 8px;
  --radius-sm: 6px;
}

html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* === LAYOUT === */
.container { max-width: 700px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 900px; margin: 0 auto; padding: 0 2rem; }

/* === SKIP LINK === */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: auto; height: auto;
  padding: 0.8rem 1.5rem;
  background: var(--accent); color: var(--white);
  font-weight: 600; font-size: 0.9rem;
}

/* === FOCUS === */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cta-section *:focus-visible {
  outline-color: #ffffff;
}

/* === NAV === */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
nav .container-wide {
  display: flex; justify-content: space-between; align-items: center; height: 64px;
}
.nav-brand { font-weight: 700; font-size: 1rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.nav-right { display: flex; align-items: center; gap: 1.8rem; }
.nav-link { font-size: 0.82rem; font-weight: 500; color: var(--text-light); text-decoration: none; transition: color 0.15s; }
.nav-link:hover { color: var(--text); }
.nav-cta {
  font-size: 0.82rem; font-weight: 600; color: var(--white); background: var(--accent);
  text-decoration: none; padding: 0.6rem 1.4rem; border-radius: var(--radius-sm); transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent-hover); }

/* === SECTION INTRO (shared across pages) === */
.section-intro { color: var(--text-light); font-size: 0.95rem; margin-bottom: 2.5rem; }

/* === CTA SECTION === */
.cta-section {
  background: var(--bg-dark); text-align: center;
  padding: 5.5rem 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(168, 67, 42, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem; font-weight: 400; color: var(--white);
  margin-bottom: 0.8rem; letter-spacing: -0.02em; position: relative;
}
.cta-section .cta-sub {
  color: rgba(255,255,255,0.55); font-size: 0.95rem;
  margin-bottom: 2.5rem; position: relative;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1rem; font-weight: 600;
  color: var(--white); background: var(--accent);
  text-decoration: none; padding: 1rem 2.5rem;
  border-radius: var(--radius); transition: background 0.15s, transform 0.1s;
  position: relative;
}
.cta-btn:hover { background: var(--accent-hover); }
.cta-btn:active { transform: scale(0.98); }
.cta-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; margin: 1.5rem 0;
}
.cta-divider span { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.08em; }
.cta-divider::before, .cta-divider::after { content: ''; width: 40px; height: 1px; background: rgba(255,255,255,0.12); }
.cta-email-link {
  font-size: 0.95rem; color: rgba(255,255,255,0.65);
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px; transition: color 0.15s, border-color 0.15s; position: relative;
}
.cta-email-link:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.cta-note { margin-top: 1.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.28); position: relative; }
.cta-note a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color 0.15s;
}
.cta-note a:hover { color: var(--white); }

/* === FOOTER === */
footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0; text-align: center;
}
footer p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* === RESPONSIVE BASE === */
@media (max-width: 700px) {
  html { font-size: 16px; }
  .container, .container-wide { padding: 0 1.25rem; }
  .nav-link { display: none; }
  .nav-cta { padding: 0.65rem 1.2rem; font-size: 0.8rem; }
  .cta-section h2 { font-size: 1.6rem; }
  .cta-btn { padding: 0.85rem 2rem; font-size: 0.9rem; }
  .cta-section { padding: 3.5rem 0; }
}
