/* ═════════════════════════════════════════════
   Mamamia — shared site styles (multi-page)
   ═════════════════════════════════════════════ */

body { background: var(--milk); color: var(--ink-900); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

.eyebrow-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 600; color: var(--terracotta-700);
}
.eyebrow-mark::before {
  content: ""; width: 24px; height: 1px; background: var(--terracotta-600);
}
.h-display {
  font-family: var(--font-serif); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.15; color: var(--ink-900);
  text-wrap: balance;
}
.h-display em { font-style: italic; color: var(--terracotta-700); font-weight: 500; }
.lede { color: var(--ink-700); line-height: 1.7; text-wrap: pretty; }

/* ───────── Buttons ───────── */
.btn-pri {
  background: var(--forest-800); color: var(--paper);
  border: none; border-radius: 12px;
  padding: 16px 26px; font-family: var(--font-sans);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 220ms var(--ease-spring);
  box-shadow: 0 8px 22px rgba(31,42,35,0.18), 0 0 0 1px rgba(31,42,35,0.06);
  text-decoration: none; display: inline-block;
}
.btn-pri:hover { background: var(--forest-700); transform: translateY(-2px); }

.btn-sec {
  background: transparent; color: var(--forest-800);
  border: 1px solid var(--forest-800); border-radius: 12px;
  padding: 16px 26px; font-family: var(--font-sans);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 200ms var(--ease-out);
  text-decoration: none; display: inline-block;
}
.btn-sec:hover { background: var(--forest-800); color: var(--paper); }

/* ───────── NAV ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(246, 243, 238, 0.82);
  border-bottom: 0.5px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-weight: 600; font-size: 22px;
  color: var(--forest-800); letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark .dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--forest-800); position: relative;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark .dot::after {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--terracotta-600);
}
.nav-links {
  display: flex; gap: 4px; align-items: center;
}
.nav-links a {
  padding: 10px 16px; border-radius: 10px;
  font-size: 14px; color: var(--ink-700); font-weight: 500;
  text-decoration: none; transition: all 200ms var(--ease-out);
}
.nav-links a:hover { color: var(--forest-800); background: rgba(255,255,255,0.6); }
.nav-links a.active:not(.nav-cta) { color: var(--forest-800); background: rgba(255,255,255,0.8); }
.nav-cta {
  padding: 10px 16px; border-radius: 10px;
  font-size: 14px; color: var(--ink-700); font-weight: 500;
  background: transparent; border: none; cursor: pointer; margin-left: 0;
  transition: all 200ms var(--ease-out);
  text-decoration: none;
  font-family: var(--font-sans);
}
.nav-cta:hover { color: var(--forest-800); background: rgba(255,255,255,0.6); }
.nav-cta.active { color: var(--forest-800); background: rgba(255,255,255,0.8); }

/* ───────── Page Header (watercolor banner) ───────── */
.page-head {
  --wash-a: rgba(216, 138, 114, 0.26);
  --wash-b: rgba(167, 183, 159, 0.24);
  --wash-c: rgba(234, 219, 201, 0.44);
  --wash-line: rgba(191, 158, 124, 0.18);
  min-height: 330px;
  padding: 88px 0 76px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(112deg, rgba(253, 248, 242, 0.98) 0%, rgba(246, 243, 238, 0.92) 54%, rgba(250, 235, 226, 0.68) 100%);
  border-bottom: 0.5px solid var(--line-soft);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: -22% -10% -18%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 92%, var(--wash-b) 0%, transparent 38%),
    radial-gradient(ellipse at 72% 16%, var(--wash-a) 0%, transparent 42%),
    radial-gradient(ellipse at 50% 56%, var(--wash-c) 0%, transparent 54%),
    radial-gradient(ellipse at 92% 82%, rgba(216, 138, 114, 0.12) 0%, transparent 34%);
  filter: blur(12px);
  transform: rotate(-1deg) scale(1.04);
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, var(--wash-line) 18px 19px, transparent 19px 38px),
    radial-gradient(circle at 26% 30%, rgba(255, 255, 255, 0.44) 0 2px, transparent 3px 100%);
  opacity: 0.46;
  mix-blend-mode: multiply;
}
.page-head.page-sage {
  --wash-a: rgba(167, 183, 159, 0.34);
  --wash-b: rgba(234, 219, 201, 0.42);
  --wash-c: rgba(216, 138, 114, 0.16);
  --wash-line: rgba(113, 132, 109, 0.16);
}
.page-head.page-sand {
  --wash-a: rgba(234, 219, 201, 0.58);
  --wash-b: rgba(216, 138, 114, 0.16);
  --wash-c: rgba(167, 183, 159, 0.20);
  --wash-line: rgba(191, 158, 124, 0.20);
}
.page-head.page-terracotta {
  --wash-a: rgba(216, 138, 114, 0.32);
  --wash-b: rgba(234, 219, 201, 0.40);
  --wash-c: rgba(167, 183, 159, 0.18);
  --wash-line: rgba(196, 106, 82, 0.16);
}
.page-head.page-forest {
  --wash-a: rgba(47, 62, 52, 0.18);
  --wash-b: rgba(167, 183, 159, 0.32);
  --wash-c: rgba(234, 219, 201, 0.34);
  --wash-line: rgba(47, 62, 52, 0.12);
}
.page-head .inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.page-head h1 { font-size: 56px; margin: 18px 0 16px; max-width: 840px; }
.page-head p { font-size: 17px; color: var(--ink-600); max-width: 640px; line-height: 1.75; }

/* ───────── Footer ───────── */
.footer {
  background: var(--forest-900); color: rgba(246,243,238,0.65);
  padding: 60px 0 40px; font-size: 13px; margin-top: 40px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand-mark { color: var(--paper); }
.footer .brand-mark .dot { background: var(--paper); }
.footer .brand-mark .dot::after { background: var(--terracotta-600); }
.footer-tag { margin-top: 10px; max-width: 280px; line-height: 1.6; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--paper); font-weight: 600; margin: 0 0 14px;
}
.footer-col a {
  display: block; color: rgba(246,243,238,0.65);
  text-decoration: none; margin-bottom: 10px;
  transition: color 180ms;
}
.footer-col a:hover { color: var(--terracotta-400); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 0.5px solid rgba(246,243,238,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
}

@media (max-width: 920px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .page-head { min-height: 280px; padding: 62px 0 56px; }
  .page-head h1 { font-size: 38px; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .nav-inner { height: 64px; }
}

.content-band { padding: 76px 0; }
.panel {
  background: var(--paper);
  border: 0.5px solid var(--line-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-xs);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  font-weight: 500;
  margin: 12px 0 16px;
  letter-spacing: -0.015em;
}
.section-title em { color: var(--terracotta-700); font-style: italic; }
.section-kicker {
  color: var(--terracotta-700);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.muted { color: var(--ink-500); }
