/* ============================================================
   Blush & Mocha — Design Tokens
   ============================================================ */
:root {
  /* Palette */
  --bg:            #FAF6F3;  /* warm cream — primary background */
  --bg-2:          #F2EBE5;  /* deeper cream — cards, alt sections */
  --accent:        #C78B7B;  /* rose blush — CTAs, highlights */
  --accent-deep:   #B97868;  /* slightly deeper blush — hover */
  --text:          #3D2B1F;  /* deep mocha — headings + body */
  --muted:         #6B5544;  /* softer mocha — captions, labels */
  --border:        #E5D9CF;  /* hairline card border */

  /* Hero overlay (driven by Tweaks) */
  --hero-overlay:  0.55;     /* cream tint opacity over hero image */

  /* Type */
  --display: "Cormorant Garamond", "Georgia", serif;
  --body:    "Outfit", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --shell: 1180px;
  --gut:   clamp(22px, 5vw, 80px);

  /* Soft warm shadow — never a glow */
  --shadow-sm: 0 1px 2px rgba(61,43,31,.05);
  --shadow:    0 18px 44px -22px rgba(61,43,31,.30);
  --shadow-lg: 0 30px 70px -30px rgba(61,43,31,.38);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

/* ---- Type primitives ---- */
.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.04;
  color: var(--text);
}

.label {
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ---- Layout shell ---- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: scale(1.02);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
  transform: scale(1.02);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav.scrolled {
  background: rgba(250,246,243,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(61,43,31,.06), 0 10px 30px -24px rgba(61,43,31,.5);
  border-bottom-color: var(--border);
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1.5px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; padding: 11px 22px; font-size: 14px; }

/* hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
}
.burger span {
  width: 24px; height: 1.6px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: var(--gut);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a {
  font-family: var(--display);
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
}
.mobile-menu a span { color: var(--accent); }
