:root {
  --bg: #F4F0E8;
  --ink: #23261F;
  --olive: #333B2E;
  --olive-hover: #23261F;
  --sand: #D9CDB8;
  --taupe: #6F6047;
  --taupe-dark: #5E5847;
  --muted: #4C5144;
  --footer-bg: #23261F;
  --footer-ink: #EAE5D9;
  --footer-accent: #D9CDB8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  font-weight: 300;
  line-height: 1.5;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--taupe); }

img, .feature-img, .offer-card__img, .portrait { max-width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 240, 232, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(35, 38, 31, .12);
}
.nav__inner {
  max-width: 1120px; margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.nav__brand { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.nav__links { display: flex; gap: 22px; font-size: 13.5px; font-weight: 300; letter-spacing: .02em; flex-wrap: wrap; }
.nav__links a.is-current { color: var(--taupe); }
.nav__cta { order: 3; }
.nav__toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 24px; font-size: 14px; font-weight: 500;
  border: none; cursor: pointer; font-family: inherit;
}
.btn--dark { background: var(--olive); color: var(--bg); }
.btn--dark:hover { background: var(--olive-hover); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { color: var(--ink); opacity: .85; }
.btn--outline-light { border: 1px solid rgba(244,240,232,.55); color: var(--bg); background: transparent; }
.btn--outline-light:hover { background: rgba(244,240,232,.14); color: var(--bg); }
.btn--ghost-outline { border: 1px solid rgba(35,38,31,.35); background: transparent; color: var(--ink); font-size: 13px; padding: 9px 18px; }
.btn--ghost-outline:hover { background: rgba(35,38,31,.08); color: var(--ink); }
.btn--sand { background: var(--footer-accent); color: var(--footer-bg); }
.btn--sand:hover { background: #cabc9e; color: var(--footer-bg); }
.nav .btn { padding: 10px 20px; font-size: 13px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.eyebrow--light { color: var(--bg); font-size: 12.5px; }
.eyebrow--sand { color: var(--taupe-dark); }
.eyebrow--on-dark { color: var(--bg); font-size: 12.5px; letter-spacing: .08em; }
.serif-heading { font-family: 'Instrument Serif', serif; font-size: clamp(30px, 4.5vw, 42px); line-height: 1.2; margin: 0; font-weight: 400; }
.serif-heading--sm { font-size: clamp(22px, 3vw, 28px); line-height: 1.5; color: var(--olive); }
.serif-quote { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(22px, 3.4vw, 32px); line-height: 1.5; max-width: 24ch; color: var(--olive); }
.quote-label { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(28px, 4.5vw, 38px); color: var(--sand); }
.body-lg { font-size: 16.5px; line-height: 1.9; font-weight: 300; margin: 0; }
.body-lg--medium { font-weight: 500; }
.body-xl { font-size: clamp(19px, 2.6vw, 25px); line-height: 1.7; font-weight: 300; margin: 0; }
.body-md { font-size: 16px; line-height: 1.9; font-weight: 300; }
.body-md-dark { font-size: 16px; line-height: 1.9; font-weight: 300; color: #3A3F33; }
.body-sm { font-size: 15px; line-height: 1.75; font-weight: 300; margin: 0; }
.body-xs { font-size: 14.5px; line-height: 1.7; font-weight: 300; color: #3A3F33; margin: 0; }
.muted-text { font-size: 15.5px; line-height: 1.85; font-weight: 300; color: var(--muted); }
.fine-italic { font-style: italic; font-size: 14.5px; line-height: 1.8; font-weight: 300; color: var(--muted); margin: 0; }
.lead-statement { font-size: clamp(22px, 3vw, 28px); line-height: 1.5; font-weight: 300; letter-spacing: -.01em; }
.meta { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.prose p { font-size: 16px; line-height: 1.9; font-weight: 300; }

/* ---------- Layout helpers ---------- */
.section { padding: clamp(48px, 8vw, 88px) 28px; }
.section__inner { max-width: 1120px; margin: 0 auto; }
.section__inner.narrow { max-width: 820px; }
.band { padding: clamp(48px, 8vw, 88px) 28px; }
.band--olive { background: var(--olive); color: #EAE5D9; }
.band--sand { background: var(--sand); padding: clamp(44px, 7vw, 80px) 28px; }
.band--sand-flat { background: var(--sand); padding: clamp(36px, 5vw, 56px) 28px; }
.band__inner { max-width: 1120px; margin: 0 auto; }
.band__inner.narrow { max-width: 900px; display: flex; flex-direction: column; gap: 28px; }
.cta-row { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; align-items: start; }
.grid--2-44 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; align-items: start; }
.grid--2-48 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.grid.align-center { align-items: center; }
.offer-grid { gap: 28px; }

.feature-img { width: 100%; background-position: center; background-size: cover; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-cards { display: flex; flex-direction: column; gap: 22px; }
.side-card { border-left: 1px solid rgba(35,38,31,.2); padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.side-card p { margin: 0; font-size: 15.5px; line-height: 1.8; font-weight: 300; }

.fact-list { display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; line-height: 1.7; font-weight: 300; margin-top: 12px; }
.fact-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(35,38,31,.14); padding-bottom: 10px; }
.fact-row__meta { color: var(--muted); }

.offer-card { display: flex; flex-direction: column; gap: 16px; cursor: pointer; }
.offer-card__img { height: 280px; background-size: cover; background-position: center; }
.offer-card__title { font-size: 26px; font-weight: 400; letter-spacing: -.01em; color: var(--ink); }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: rgba(35,38,31,.14); margin-top: 24px; }
.tile { background: var(--bg); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.tile__title { font-size: 17px; font-weight: 500; }

.portrait { aspect-ratio: 773/1030; width: 100%; background-size: cover; background-position: center; }
.qual-box { background: var(--olive); color: #EAE5D9; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.qual-box p { margin: 0; font-size: 15px; line-height: 1.8; font-weight: 300; }

.contact-list { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; line-height: 1.7; font-weight: 300; padding-top: 6px; }
.contact-row { display: flex; gap: 16px; }
.contact-row__label { width: 90px; flex: none; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); padding-top: 3px; }
.social-links { display: flex; gap: 14px; }

.newsletter { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
.newsletter input { flex: 1; min-width: 220px; border: 1px solid rgba(35,38,31,.28); padding: 14px 16px; font-size: 14px; color: var(--taupe); background: transparent; font-family: inherit; }
.placeholder-note { font-family: monospace; font-size: 11.5px; color: var(--taupe); }
.placeholder-note--dark { color: var(--footer-accent); font-size: 11px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(78vh, 620px);
  background-size: cover; background-position: center;
  color: #F4F0E8; display: flex; align-items: flex-end; padding: 64px 28px 56px;
}
.hero__inner { max-width: 1120px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.hero__title { font-size: clamp(36px, 6vw, 60px); line-height: 1.06; font-weight: 300; letter-spacing: -.02em; max-width: 16ch; margin: 0; }
.hero__lead { font-size: 16px; line-height: 1.75; font-weight: 300; max-width: 46ch; color: #F4F0E8; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-quote { font-size: clamp(15.5px, 1.6vw, 17px); line-height: 1.9; font-weight: 300; color: var(--ink); max-width: 62ch; min-height: 9em; }
.testimonial-controls { display: flex; align-items: center; gap: 16px; }
.quote-index { font-size: 12.5px; color: var(--taupe-dark); letter-spacing: .06em; }

/* ---------- Tooltip terms ---------- */
.term { position: relative; display: inline; border-bottom: 1px dotted rgba(35,38,31,.5); cursor: help; white-space: nowrap; }
.term sup {
  display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px;
  margin-left: 3px; border-radius: 999px; border: 1px solid rgba(35,38,31,.4); font-size: 9px; line-height: 1;
  vertical-align: super; opacity: .75;
}
.term--dark { border-bottom-color: rgba(234,229,217,.6); }
.term--dark sup { border-color: rgba(234,229,217,.55); }
.term__tip {
  position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 40; display: none;
  width: 290px; padding: 14px 16px; background: #23261F; color: #EDE8DC; font-size: 12.5px;
  line-height: 1.65; font-weight: 400; box-shadow: 0 12px 30px rgba(35,38,31,.28);
  white-space: normal; text-align: left;
}
.term.is-open .term__tip { display: block; }

/* ---------- Pages ---------- */
.page { display: none; }
.page.is-active { display: block; }

/* ---------- Footer ---------- */
.footer { margin-top: auto; background: var(--footer-bg); color: var(--footer-ink); }
.footer__inner {
  max-width: 1120px; margin: 0 auto; padding: clamp(44px, 7vw, 72px) 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; font-weight: 300; }
.footer__col p { margin: 0; opacity: .85; }
.footer__brand { font-size: 15px; font-weight: 500; }
.footer__heading { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--footer-accent); margin-bottom: 4px; }
.footer__col a:not(.btn) { color: var(--footer-ink); align-self: flex-start; }
.footer__col a:not(.btn):hover { color: var(--footer-accent); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 32px; height: 32px; background: none; border: none; cursor: pointer; order: 2;
  }
  .nav__toggle span { display: block; width: 100%; height: 1.5px; background: var(--ink); }
  .nav__links {
    display: none; width: 100%; order: 4; flex-direction: column; gap: 14px;
    padding-top: 16px; margin-top: 12px; border-top: 1px solid rgba(35,38,31,.12);
  }
  .nav__links.is-open { display: flex; }
  .nav__cta { order: 3; }
}
