
/* ── DESIGN TOKENS ──────────────────────── */
:root {
  --white:       #FFFFFF;
  --bg:          #F7F5F2;
  --bg-card:     #FFFFFF;
  --bg-dark:     #1A1A1A;
  --bg-dark-alt: #232323;
  --border:      #E2DDD8;
  --border-dark: #2E2E2E;

  --text-primary:   #1A1A1A;
  --text-secondary: #555047;
  --text-muted:     #8C8478;
  --text-light:     #F7F5F2;
  --text-light-dim: #B5AFA8;

  --accent:      #B8935A;
  --accent-dark: #96753F;
  --accent-light: #D4B07E;

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-h:    72px;
  --max-w:    1200px;
  --gutter:   clamp(24px, 5vw, 72px);
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);

  --section-pad: clamp(72px, 9vw, 128px);
}

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── TYPOGRAPHY HELPERS ─────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-primary);
}
.section-title em { font-style: italic; color: var(--accent); font-weight: 300; }

    /* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100; background: rgba(247,245,242,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: background 0.3s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; }
.logo-name { font-family: var(--font-head); font-size: 24px; font-weight: 400; letter-spacing: 0.08em; color: var(--text-primary); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links > li > a { font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--text-secondary); transition: color 0.18s; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--text-primary); }
.nav-item { position: relative; }
.nav-dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-4px); background: var(--white); border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(0,0,0,0.08); min-width: 250px; padding: 8px 0; opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s var(--ease); }

.nav-dropdown::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover .nav-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: block; padding: 10px 20px; font-size: 13px; color: var(--text-secondary); transition: color 0.15s, background 0.15s; }
.nav-dropdown a:hover { color: var(--text-primary); background: var(--bg); }
.btn-nav { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--white); background: var(--accent); padding: 10px 22px; transition: background 0.2s; white-space: nowrap; }
.btn-nav:hover { background: var(--accent-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-primary); transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); z-index: 99; padding: 20px var(--gutter) 28px; flex-direction: column; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 13px 0; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.mobile-menu-sub a { padding-left: 16px; font-size: 13px; color: var(--text-muted); }
.mobile-cta { margin-top: 20px; display: inline-block; font-size: 13px; font-weight: 500; color: var(--white); background: var(--accent); padding: 12px 24px; width: fit-content; }
@media (max-width: 768px) { .nav-links, .btn-nav { display: none !important; } .hamburger { display: flex !important; } }

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--bg-dark);
  padding: 56px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light-dim);
  margin-top: 16px;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-dim);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(183,175,168,0.7);
  transition: color 0.18s;
}
.footer-col ul a:hover { color: var(--text-light); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(183,175,168,0.5); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(183,175,168,0.5); transition: color 0.18s; }
.footer-legal a:hover { color: var(--text-light-dim); }

/* ── ANIMATIONS ─────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 480px; }
  .challenge-grid,
  .why-grid,
  .engagement-grid { grid-template-columns: 1fr; }
  .services-header { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 40px 1fr auto; gap: 20px; }
  .svc-problem { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: row; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .service-item { grid-template-columns: 36px 1fr auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
  
/* REVEAL — always visible, JS-enhanced transition kept but not required */
.reveal { opacity: 1 !important; transform: none !important; }
.reveal.animate-in { opacity: 1; transform: translateY(20px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.reveal.animate-in.visible { opacity: 1 !important; transform: none !important; }
  