/* ============================================================
   ROOTED LONGEVITY — Brand-kit build
   Palette: bone / brown / sage / dark   ·   Font: Manrope
   Modern, high-contrast, gentle photo-to-text bleed
   ============================================================ */

:root {
  --bone:      #F6F2EA;   /* main background */
  --bone-2:    #E8E6DA;   /* alternate background (darker bone) */
  --dark:      #4B433D;   /* dark background */
  --dark-2:    #615C57;   /* dark grey-brown */
  --text:      #5F5953;   /* primary text */
  --text-soft: #8A8178;   /* secondary text (sage brown) */
  --brown:     #7A4E24;   /* primary accent */
  --brown-2:   #633f1d;
  --sage:      #A9BDAF;   /* secondary accent */
  --sage-deep: #7f948a;
  --khaki:     #B6AF89;   /* tertiary accent (brand kit) */
  --ink:       #35302b;   /* near-black for headings / contrast */
  --line:      rgba(75, 67, 61, 0.14);
  --line-2:    rgba(75, 67, 61, 0.26);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1180px;
  --shadow:    0 24px 60px rgba(60, 50, 42, 0.14);
  --shadow-sm: 0 10px 26px rgba(60, 50, 42, 0.08);
  --font:      "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bone);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { color: var(--ink); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brown); }
.eyebrow.sage { color: var(--sage-deep); }
.eyebrow.sage::before { background: var(--sage-deep); }
.eyebrow.on-dark { color: var(--sage); }
.eyebrow.on-dark::before { background: var(--sage); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 6px;
  font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.btn-primary { background: var(--dark); color: var(--bone); box-shadow: 0 12px 26px rgba(75,67,61,0.28); }
.btn-primary:hover { background: #3a332e; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(53,48,43,0.34); }
/* On LIGHT backgrounds: dark-brown fill + off-white text (matches btn-primary) */
.btn-ghost { background: var(--dark); color: var(--bone); border-color: transparent; box-shadow: 0 12px 26px rgba(75,67,61,0.28); }
.btn-ghost:hover { background: #3a332e; color: var(--bone); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(53,48,43,0.34); }
/* On DARK backgrounds: off-white fill + dark-brown text (matches btn-light) */
.btn-light { background: var(--bone); color: var(--dark); border-color: transparent; }
.btn-light:hover { background: #fff; color: var(--dark); transform: translateY(-2px); }
.btn-outline-light { background: var(--bone); color: var(--dark); border-color: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--dark); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: rgba(246,242,234,0.86); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brown); color: var(--bone);
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.brand-logo { width: 54px; height: 54px; object-fit: contain; display: block; flex-shrink: 0; }
footer .brand-logo, .cta-band .brand-logo { }
.brand .name { line-height: 1.05; }
.brand .name b { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); display: block; }
.brand .name small { font-size: 9.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--text-soft); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--text); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brown); }
.nav-cta { padding: 11px 22px; font-size: 13px; }
/* keep the nav CTA button text cream (override nav-link color specificity) */
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { color: var(--bone); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; font-size: 22px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 22px; }
.hero-badge::before { content: ""; width: 30px; height: 2px; background: var(--sage-deep); }
.hero .tagline { font-size: 17px; font-weight: 600; color: var(--brown); letter-spacing: 0.01em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); margin-bottom: 24px; max-width: 15ch; }
.hero h1 .accent { color: var(--brown); }
.hero p.lead { font-size: clamp(16px, 1.7vw, 19px); color: var(--text); max-width: 52ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }

/* ---------- Photo slots (client images) with bleed ---------- */
.slot {
  position: relative;
  background: var(--bone-2);
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--text-soft);
  min-height: 220px;
}
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* when a real photo is present, drop the placeholder chrome */
.slot:has(img) { border: 0; background: transparent; }
.slot:has(img) .slot-label { display: none; }
.slot .slot-label {
  position: relative; z-index: 1; text-align: center;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px;
}
.slot .slot-label .ico {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(122,78,36,0.10); color: var(--brown);
  display: grid; place-items: center; font-size: 20px;
}
.slot.tall { aspect-ratio: 4/5; }
.slot.wide { aspect-ratio: 16/10; }
.slot.square { aspect-ratio: 1/1; }
.slot.portrait-xl { aspect-ratio: 5/6; min-height: 480px; }

/* gentle bleed: image edges fade into the surrounding background */
.bleed-l   { -webkit-mask-image: linear-gradient(to left, #000 62%, transparent 100%); mask-image: linear-gradient(to left, #000 62%, transparent 100%); border: 0; background: transparent; }
.bleed-r   { -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 100%); mask-image: linear-gradient(to right, #000 62%, transparent 100%); border: 0; background: transparent; }
.bleed-b   { -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
.bleed-soft{
  -webkit-mask-image: radial-gradient(120% 120% at 50% 45%, #000 60%, transparent 100%);
  mask-image: radial-gradient(120% 120% at 50% 45%, #000 60%, transparent 100%);
  border: 0;
}
/* keep dashed placeholder visible even when masked (so empty slots read clearly) */
.bleed-l, .bleed-r, .bleed-soft { background: var(--bone-2); }

/* full-bleed gallery strip */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery .slot { min-height: 260px; }
.gallery.bleed-strip { -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.hp-head .eyebrow { justify-content: center; }
@media (max-width: 760px) {
  .hp-head { text-align: left; margin-left: 0; }
  .hp-head .eyebrow { justify-content: flex-start; }
}
.section-head h2 { font-size: clamp(30px, 4.4vw, 54px); margin-bottom: 16px; }
.section-head p { color: var(--text); font-size: 18px; }
.h2-intro { font-size: clamp(28px, 4vw, 46px); margin-bottom: 24px; }

.alt { background: var(--bone-2); }

/* dark / high-contrast section */
.dark { background: var(--dark); color: var(--bone-2); }
.dark h1, .dark h2, .dark h3 { color: var(--bone); }
.dark .section-head p, .dark p { color: rgba(246,242,234,0.78); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--bone); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .24s ease, box-shadow .24s ease, border-color .24s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.alt .card { background: #fff; }
.card h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -0.02em; }
.card h3::before { content: ""; display: block; width: 30px; height: 3px; border-radius: 2px; background: var(--brown); margin-bottom: 16px; }
.card p { color: var(--text); font-size: 15px; }

.dark .card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); }
.dark .card h3 { color: var(--bone); }
.dark .card h3::before { background: var(--sage); }
.dark .card p { color: rgba(246,242,234,0.72); }

/* numbered value row */
.value-row { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.value-row:last-child { border-bottom: 0; }
.value-row .num { font-size: 15px; font-weight: 800; color: var(--brown); min-width: 42px; letter-spacing: 0.1em; }
.value-row h3 { font-size: 21px; margin-bottom: 5px; }
.value-row p { color: var(--text); }
.dark .value-row { border-color: rgba(255,255,255,0.12); }
.dark .value-row .num { color: var(--sage); }
.dark .value-row p { color: rgba(246,242,234,0.85); }

/* checkmark list */
.check-list { list-style: none; display: grid; gap: 15px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; color: var(--text); }
.check-list li::before { content: "✓"; color: var(--bone); background: var(--brown); width: 23px; height: 23px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 3px; }
.dark .check-list li { color: rgba(246,242,234,0.85); }
.dark .check-list li::before { background: var(--sage); color: var(--dark); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* quote */
.quote-band { text-align: center; }
.quote-band .mark-lg { font-size: 68px; font-weight: 800; color: var(--sage); line-height: 0.5; display: block; margin-bottom: 18px; }
.quote { font-size: clamp(26px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.16; max-width: 22ch; margin: 0 auto 20px; color: var(--ink); }
.dark .quote { color: var(--bone); }
.quote-by { color: var(--text-soft); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.dark .quote-by { color: var(--sage); }

/* partner cards */
.partner { background: var(--bone); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; display: flex; flex-direction: column; transition: transform .24s ease, box-shadow .24s ease; }
.alt .partner { background: #fff; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.partner .logo { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 6px; }
.partner .tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 18px; }
.partner p { color: var(--text); font-size: 15.5px; flex: 1; margin-bottom: 22px; }
.partner-kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); margin-bottom: 6px; }
.partner-lead { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.partner-body { margin-bottom: 14px; }
.partner-body:last-of-type { margin-bottom: 20px; }
.discount-badge { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: var(--brown); border: 1px dashed var(--line-2); border-radius: 8px; padding: 9px 15px; }

/* CTA band */
.cta-band { text-align: center; background: var(--dark); color: var(--bone); border-radius: var(--radius); padding: 74px 40px; position: relative; overflow: hidden; }
.cta-band .eyebrow { color: var(--sage); }
.cta-band .eyebrow::before { background: var(--sage); }
.cta-band h2 { color: var(--bone); font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 16px; }
.cta-band p { color: rgba(246,242,234,0.80); max-width: 54ch; margin: 0 auto 30px; font-size: 18px; }
.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: var(--bone); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--ink); font-family: var(--font); font-size: 15px; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brown); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }

.info-list { list-style: none; }
.info-list li { padding: 16px 0 16px 20px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--brown); margin-bottom: 2px; }
.info-list li:last-child { border-bottom: 0; }
.info-list .v strong { display: block; font-weight: 700; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 5px; }
.info-list .v a { font-size: 16px; }
.info-list .v span { font-size: 16px; color: var(--ink); }
.info-list .v small { display: block; color: var(--text-soft); margin-top: 2px; }
.card-h2 { font-size: 24px; }

/* founder card (contact) */
.founder-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 22px; align-items: center; box-shadow: var(--shadow-sm); }
.founder-card img { width: 128px; height: 158px; object-fit: cover; object-position: center top; border-radius: 12px; flex-shrink: 0; }
.founder-card .founder-name { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.founder-card .founder-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); margin-top: 8px; }
.founder-card .founder-note { font-size: 14.5px; color: var(--text); margin-top: 12px; }

/* landscape hero image (keeps low-res source crisp) */
.hero .slot.hero-media { aspect-ratio: 4/3; min-height: 0; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill { font-size: 13px; font-weight: 600; color: var(--text); background: var(--bone); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; }
.dark .pill { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); color: var(--bone-2); }

/* page hero */
.page-hero { padding: 80px 0 44px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 18px; letter-spacing: -0.03em; }
.page-hero p { color: var(--text); font-size: 19px; max-width: 60ch; }

/* prose */
.prose { max-width: 660px; }
.prose p { color: var(--text); font-size: 18px; margin-bottom: 22px; }
.prose p.lead-in { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.4; }
.signature { font-size: 22px; font-weight: 800; color: var(--brown); margin-top: 12px; letter-spacing: -0.02em; }

/* About story left panel: sticky on desktop, static once columns stack */
.story-side { position: sticky; top: 104px; }

/* ---------- Footer ---------- */
footer { background: var(--dark); color: var(--bone-2); padding: 66px 0 36px; }
footer .brand .name b { color: var(--bone); }
footer .brand .name small { color: #b3aaa1; }
footer .brand .mark { background: var(--brown); color: var(--bone); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 44px; margin-bottom: 44px; }
.foot-grid > div > p { color: #b3aaa1; font-size: 15px; max-width: 34ch; margin-top: 18px; }
.foot-col h4 { font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); margin-bottom: 14px; font-weight: 800; }
.foot-col a { display: block; color: #b6a794; font-size: 13.5px; font-weight: 500; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: var(--sage); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; color: #b3aaa1; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.foot-bottom .empower { color: var(--sage); letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; font-weight: 700; }
.foot-dba { margin: 14px 0 0; color: #8a827a; font-size: 12px; letter-spacing: 0.01em; }
.disclaimer { color: #8a8178; font-size: 12px; max-width: 74ch; margin-top: 16px; line-height: 1.6; }

/* brand watermark (decorative, sits behind content) */
.watermark { position: absolute; pointer-events: none; user-select: none; z-index: 0; opacity: 0.08; }
section.has-wm { overflow: hidden; }
section.has-wm > .wrap { position: relative; z-index: 1; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band > .watermark { position: absolute; z-index: 0; }


/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .slot.portrait-xl { min-height: 420px; aspect-ratio: 16/11; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  /* on phones, drop the Welcome text between the two stacked photos */
  .welcome-split .slot { order: 2; }
  .story-side { position: static; top: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: absolute; top: 78px; left: 0; right: 0; background: var(--bone); border-bottom: 1px solid var(--line); padding: 24px 28px; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  section { padding: 66px 0; }
}
/* stack the Partners rows (inline grid) on phones/tablets */
@media (max-width: 760px) {
  .partner[style*="grid"] { grid-template-columns: 1fr !important; gap: 22px !important; text-align: center; }
  .partner[style*="grid"] .btn { margin: 0 auto; }
}
/* small-screen refinements */
@media (max-width: 430px) {
  .wrap { padding: 0 20px; }
  .founder-card { flex-direction: column; text-align: center; }
  .founder-card img { width: 132px; height: 160px; }
  h1 { letter-spacing: -0.02em; }
}
