/* ═══════════════════════════════════════════════════════════
   style.css — Global design system
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --cream:      #fdf6ee;
  --warm:       #f2e2cc;
  --card:       #f8ede0;
  --terracotta: #c8714a;
  --rust:       #a3442a;
  --gold:       #d4a853;
  --sage:       #7a9e7e;
  --deep:       #2c2416;
  --text:       #3d2f1f;
  --muted:      #8a7565;
  --border:     rgba(44,36,22,.1);
  --nav-h:      68px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--cream); color: var(--text);
  overflow-x: hidden; line-height: 1.65;
}

/* ─── NAVBAR ──────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(253,246,238,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 28px rgba(44,36,22,.09); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--rust); letter-spacing: -.01em;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  padding: .25rem 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover  { color: var(--terracotta); }
.nav-links a.active { color: var(--terracotta); border-bottom-color: var(--terracotta); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; padding: .4rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .28s ease, opacity .28s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 290;
  padding: 1.5rem 5vw; flex-direction: column;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 1.05rem; font-weight: 600;
  padding: 1rem 0; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover, .nav-drawer a.active { color: var(--terracotta); }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 2rem; border-radius: 50px;
  font-size: .88rem; font-weight: 700; line-height: 1;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--terracotta); color: #fff;
  box-shadow: 0 4px 18px rgba(200,113,74,.35);
}
.btn-primary:hover {
  background: var(--rust);
  box-shadow: 0 6px 24px rgba(163,68,42,.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent; color: var(--text);
  border-color: rgba(44,36,22,.28);
}
.btn-outline:hover {
  border-color: var(--terracotta); color: var(--terracotta);
  background: rgba(200,113,74,.06);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff; color: var(--rust);
  box-shadow: 0 6px 24px rgba(0,0,0,.16);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,.22);
}

/* ─── PAGE BANNER ─────────────────────────────────────────── */
.page-banner {
  padding: calc(var(--nav-h) + 3.5rem) 5vw 3.5rem;
  background: var(--warm);
  position: relative; overflow: hidden;
}
.page-banner::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--sage));
}
.page-banner::before {
  content: ''; position: absolute; top: -25%; right: -8%;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,.13) 0%, transparent 70%);
  pointer-events: none;
}
.page-banner-inner { max-width: 660px; position: relative; }

/* ─── LABELS & HEADINGS ───────────────────────────────────── */
.section-tag, .page-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--terracotta);
  margin-bottom: .9rem;
}
.section-tag .dot, .page-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta); flex-shrink: 0;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15; color: var(--deep); margin-bottom: 1rem;
}
.page-title em { font-style: italic; color: var(--terracotta); }

.page-desc {
  font-size: 1rem; line-height: 1.8;
  color: var(--muted); max-width: 510px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2; color: var(--deep); margin-bottom: .75rem;
}
.section-sub {
  font-size: .95rem; line-height: 1.75;
  color: var(--muted); max-width: 500px;
}

/* ─── CTA STRIP ───────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--rust) 100%);
  text-align: center; padding: 5rem 5vw;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: -30%; left: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,.06); pointer-events: none;
}
.cta::after {
  content: ''; position: absolute; bottom: -20%; right: -3%;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: #fff; margin-bottom: .8rem; line-height: 1.25;
  position: relative;
}
.cta-sub {
  font-size: .95rem; color: rgba(255,255,255,.72);
  margin-bottom: 2rem; max-width: 420px; margin-inline: auto;
  line-height: 1.75; position: relative;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--deep);
  padding: 2.5rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--cream); }
.footer-logo span { color: var(--gold); }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a {
  font-size: .78rem; color: rgba(253,246,238,.42);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: .76rem; color: rgba(253,246,238,.32); }

/* ─── SCROLL REVEAL ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--warm); }
::-webkit-scrollbar-thumb { background: rgba(200,113,74,.28); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--terracotta); }

/* ─── RESPONSIVE BASE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
  .footer { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
@media (max-width: 600px) {
  .page-banner { padding: calc(var(--nav-h) + 2rem) 5vw 2.5rem; }
}
