:root {
  --bg: #faf8f5; --surface: #ffffff; --text: #1c1b1a; --muted: #6b6762;
  --accent: #b4532a; --accent-soft: #f4e6dd; --border: #e8e3dc;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141312; --surface: #1d1c1a; --text: #f1ede8; --muted: #a39d95;
    --accent: #e08a5f; --accent-soft: #2e221c; --border: #2d2a27;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(16px, calc((100% - var(--max)) / 2)); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.brand { font-family: Fraunces, serif; font-weight: 700; font-size: 1.4rem; }
.brand span { color: var(--accent); }
.nav nav { display: flex; gap: 28px; align-items: center; font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--accent); color: #fff;
  font-weight: 600; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-small { padding: 8px 18px; }

main { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.hero { padding: 120px 0 80px; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.hero h1 { font-size: clamp(3rem, 9vw, 6rem); margin: 8px 0 20px; }
.tagline { font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--muted); max-width: 640px; }
.tagline em { color: var(--text); font-style: normal; border-bottom: 3px solid var(--accent); }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.stats { list-style: none; display: flex; gap: 48px; margin-top: 72px; flex-wrap: wrap; }
.stats strong { display: block; font-family: Fraunces, serif; font-size: 2.2rem; }
.stats span { color: var(--muted); font-size: .9rem; }

.section { padding: 80px 0; border-top: 1px solid var(--border); }
.section h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 40px; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.lead { font-size: 1.3rem; }
.about-grid p:not(.lead) { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { font-size: 1.25rem; margin: 10px 0 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.kicker { color: var(--accent) !important; font-weight: 600; font-size: .8rem !important; text-transform: uppercase; letter-spacing: .08em; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .85rem; font-weight: 500; }

.timeline { list-style: none; border-left: 2px solid var(--border); padding-left: 32px; }
.timeline li { position: relative; padding-bottom: 40px; }
.timeline li::before { content: ""; position: absolute; left: -41px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.when { color: var(--accent); font-weight: 600; font-size: .85rem; }
.timeline h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.timeline p { color: var(--muted); }

.contact { text-align: center; }
.contact h2 { margin-bottom: 12px; }
.contact > p { color: var(--muted); font-size: 1.15rem; }
footer { text-align: center; padding: 40px 16px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); }

@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 18px;
    padding: 24px; background: var(--bg); border-bottom: 1px solid var(--border); }
  .nav nav.open { display: flex; }
  .hero { padding: 72px 0 56px; }
  .stats { gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 56px 0; }
}
