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

/* ── DESIGN TOKENS ── */
:root {
  --primary: #AD6055;
  --primary-hover: #A8574A;
  --primary-light: rgba(173, 96, 85, 0.08);
  --card-bg: #FAF0E3;
  --foreground: #3D2F25;
  --text-secondary: #7B6C60;
  --text-tertiary: #968A7C;
  --background: #F7F2EE;
  --surface: #FFFFFF;
  --surface-section: #EDE8E2;
  --border: #E1DBD4;
  --footer-bg: #1E1814;

  --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-card: 0px 2px 8px rgba(61,47,37,0.06), 0px 1px 3px rgba(61,47,37,0.04);
  --shadow-elevated: 0px 4px 16px rgba(61,47,37,0.08), 0px 2px 6px rgba(61,47,37,0.04);
  --shadow-button: 0 2px 8px rgba(173,96,85,0.18);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── TYPOGRAPHY ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

/* ── CONTAINER ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 242, 238, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: var(--font-serif); font-size: 22px; color: var(--primary);
  letter-spacing: -0.3px;
}
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: color 200ms;
}
.nav-link:hover { color: var(--foreground); }
.nav-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 8px 20px; border-radius: 9999px; border: none; cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: background 200ms var(--ease-out), transform 150ms;
  letter-spacing: 0.2px;
}
.btn-pill:hover { background: var(--primary-hover); color: #fff; }
.btn-pill:focus-visible { outline: 2px solid var(--foreground); outline-offset: 3px; }
.btn-pill:active { transform: scale(0.97); }

/* ── PRIMARY CTA BUTTON ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff;
  font-family: var(--font-sans); font-size: 16px; font-weight: 500;
  padding: 14px 32px; border-radius: 16px; border: none; cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: background 200ms var(--ease-out), transform 150ms;
  letter-spacing: 0.3px;
}
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary:focus-visible { outline: 2px solid var(--foreground); outline-offset: 3px; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary svg { width: 20px; height: 20px; }

/* ── FOOTER ── */
.footer {
  background: var(--footer-bg); color: #C4A88A; padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #C4A88A; font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: #F5E0D8; }
.footer-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.footer-copy { font-size: 12px; color: #A69585; }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
