:root {
  --bg: #F3EEE3;
  --bg-soft: #EAE3D2;
  --ink: #1F2A23;
  --ink-soft: #4A544B;
  --primary: #2F4F3A;
  --primary-soft: #5E7A66;
  --accent: #C67B5C;
  --accent-soft: #E3B79E;
  --wood: #8B6A4A;
  --leaf: #9FB89A;
  --cream: #FBF7EE;
  --line: rgba(31,42,35,.12);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-xl: 56px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Quicksand", ui-rounded, system-ui, sans-serif;
}
[data-palette="meadow"] { --bg:#F1EEDF; --bg-soft:#E2DCC4; --ink:#223021; --ink-soft:#4F5A47; --primary:#556B3A; --primary-soft:#8DA06A; --accent:#D39A3C; --accent-soft:#EAC98A; --wood:#9A7D54; --leaf:#BAC98F; --cream:#FAF6E8; }
[data-palette="dawn"]   { --bg:#FAEFE4; --bg-soft:#F2DFC9; --ink:#2A2420; --ink-soft:#5A4B42; --primary:#3B5F4A; --primary-soft:#7A9584; --accent:#D96A4E; --accent-soft:#F1B79F; --wood:#9E7150; --leaf:#A9C2A3; --cream:#FFF6EB; }
[data-palette="river"]  { --bg:#EEF1ED; --bg-soft:#D9E3DA; --ink:#1B2A2E; --ink-soft:#4A5A5C; --primary:#2A4E55; --primary-soft:#658084; --accent:#E4A64A; --accent-soft:#F2CF94; --wood:#8A7152; --leaf:#A5BFA6; --cream:#F7F7F1; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.55; font-weight: 500; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary); }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--primary); border-radius: 2px; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* Header */
header.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 22px 40px; transition: padding .35s ease, background .35s ease, box-shadow .35s ease; }
header.nav .nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; background: rgba(251, 247, 238, 0.0); border: 1px solid transparent; padding: 10px 14px 10px 22px; border-radius: 999px; transition: all .35s ease; }
header.nav.scrolled { padding: 12px 40px; }
header.nav.scrolled .nav-inner { background: rgba(251, 247, 238, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); box-shadow: 0 8px 30px rgba(31,42,35,.06); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; color: var(--cream); position: relative; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark-heart { width: 44px; height: 44px; border-radius: 0; background: transparent; display: grid; place-items: center; }
.brand-mark-heart img { width: 44px; height: 44px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { letter-spacing: -0.01em; font-size: 18px; font-weight: 800; }
.brand-sub { font-size: 10px; color: var(--ink-soft); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-top: 3px; }
.brand-lockup-img { height: 56px; width: auto; display: block; }
.brand-footer { display: block; }
nav.links { display: flex; gap: 6px; align-items: center; }
nav.links a { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: all .2s ease; }
nav.links a:hover, nav.links a.active { color: var(--primary); background: rgba(47,79,58,.06); }
nav.links a.active { background: rgba(47,79,58,.1); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn-primary { background: var(--primary); color: var(--cream); }
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); transform: translateY(-1px); }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translate(3px, -1px); }

/* Sections */
section { padding: 110px 0; position: relative; }
section.alt { background: var(--bg-soft); }
section.dark { background: var(--primary); color: var(--cream); }
section.dark h2, section.dark h3, section.dark .eyebrow { color: var(--cream); }
section.dark .eyebrow::before { background: var(--accent-soft); }
section.dark p { color: rgba(251,247,238,.78); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.section-head h2 { max-width: 16ch; }
.section-head .lede { max-width: 42ch; font-size: 17px; }

/* Pill */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px rgba(159,184,154,.25); }

/* Page hero (for sub-pages) */
.page-hero { position: relative; padding: 180px 0 80px; overflow: hidden; }
.page-hero .crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-bottom: 22px; text-transform: uppercase; letter-spacing: 0.12em; }
.page-hero .crumb .sep { opacity: .4; }
.page-hero h1 { font-size: clamp(48px, 5.6vw, 80px); max-width: 18ch; }
.page-hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 54ch; margin-top: 28px; }
.page-hero .bg-shape { position: absolute; pointer-events: none; z-index: -1; }
.page-hero .bg-shape.a { top: 100px; right: -160px; width: 360px; opacity: .45; }
.page-hero .bg-shape.b { bottom: -120px; left: -100px; width: 300px; opacity: .35; }

/* Footer */
footer { padding: 80px 0 40px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.foot-about { max-width: 320px; }
.foot-about p { font-size: 14px; margin-top: 18px; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); margin-bottom: 18px; font-weight: 700;}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { font-size: 14.5px; color: var(--ink-soft); }
.foot-col a:hover { color: var(--primary); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; font-size: 13px; color: var(--ink-soft); }
.foot-bottom .socials { display: flex; gap: 10px; }
.foot-bottom .socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all .2s ease; }
.foot-bottom .socials a:hover { background: var(--primary); color: var(--cream); border-color: var(--primary); }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-xl); background: var(--primary); color: var(--cream); padding: 70px; overflow: hidden; margin: 0 40px; }
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); font-size: clamp(32px, 3.4vw, 46px); max-width: 16ch; }
.cta-band p { color: rgba(251,247,238,.75); max-width: 40ch; margin-top: 18px; }
.cta-contact { display: grid; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: rgba(251,247,238,.08); border: 1px solid rgba(251,247,238,.12); }
.contact-row .cico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.contact-row .ctxt .c1 { font-size: 12px; color: rgba(251,247,238,.6); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.contact-row .ctxt .c2 { font-size: 16px; font-weight: 600; color: var(--cream); margin-top: 2px; }
.cta-decor { position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; background: radial-gradient(circle at 30% 30%, var(--primary-soft), transparent 60%); border-radius: 50%; opacity: .4; pointer-events: none; }

/* Tweaks */
#tweaks-panel { position: fixed; bottom: 24px; right: 24px; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px -20px rgba(31,42,35,.3); padding: 20px 22px; z-index: 100; font-family: var(--sans); display: none; max-width: 280px; }
#tweaks-panel.show { display: block; }
#tweaks-panel h6 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); margin: 0 0 14px; font-weight: 700; }
.palette-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.palette-opt { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; background: #fff; transition: all .15s ease; }
.palette-opt.active { border-color: var(--ink); }
.palette-opt:hover { transform: translateY(-1px); }
.palette-swatches { display: flex; gap: 3px; }
.palette-swatches span { flex: 1; height: 14px; border-radius: 4px; }
.palette-opt .plbl { font-size: 12px; font-weight: 600; color: var(--ink); }

/* Cards (used across pages) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--cream); border-radius: var(--radius-lg); padding: 36px 32px 32px; position: relative; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(31,42,35,.2); }
.card .num { position: absolute; top: 24px; right: 28px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; color: var(--accent); opacity: .8; }
.card-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 22px; color: var(--primary); }
.card-ico svg { width: 34px; height: 34px; }
.card h3 { margin-bottom: 10px; font-size: 22px; }
.card p { font-size: 15px; margin: 0; }
.card.feature { background: var(--primary); color: var(--cream); }
.card.feature h3, .card.feature .num { color: var(--cream); }
.card.feature p { color: rgba(251,247,238,.75); }
.card.feature .card-ico { background: rgba(251,247,238,.1); color: var(--accent-soft); }

@media (max-width: 960px) {
  .container { padding: 0 24px; }
  header.nav { padding: 14px 20px; }
  nav.links a:not(.btn) { display: none; }
  .page-hero { padding: 130px 0 50px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-band { padding: 40px 30px; margin: 0 20px; }
  .cta-inner { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
}
