/* ==========================================================================
   Wealth management landing page — bone, espresso & sage
   Scoped to .lm-landing. Other templates keep the Indite styling.
   ========================================================================== */

.lm-landing {
  --bone: #f3efe7;
  --bone-2: #e8e2d6;
  --white: #fdfcfa;
  --espresso: #33261e;
  --espresso-2: #4a382c;
  --ink: #231c16;
  --muted: #6f6357;
  --sage: #7d8471;
  --sage-deep: #5f6555;
  --sage-soft: #e4e7dd;
  --rule: #d9d1c3;
  --rule-light: rgba(243, 239, 231, 0.18);

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Epilogue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1220px;
  --gutter: 26px;

  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.lm-landing *,
.lm-landing *::before,
.lm-landing *::after { box-sizing: border-box; }

.lm-landing img { max-width: 100%; height: auto; display: block; }
.lm-landing p { margin: 0; }

.lm-landing h1,
.lm-landing h2,
.lm-landing h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--espresso);
}

.lm-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.lm-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body);
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage-deep);
}
.lm-tag::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }
.lm-tag--light { color: #b8c0a8; }

/* ---------- Buttons ---------- */
.lm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--body);
  font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.lm-btn--espresso { background: var(--espresso); color: var(--bone); }
.lm-btn--espresso:hover { background: var(--espresso-2); color: var(--bone); }
.lm-btn--sage { background: var(--sage); color: #fff; }
.lm-btn--sage:hover { background: var(--sage-deep); color: #fff; }
.lm-btn--bone { background: var(--bone); color: var(--espresso); }
.lm-btn--bone:hover { background: #fff; color: var(--espresso); }
.lm-btn--line { border-color: var(--rule); color: var(--espresso); }
.lm-btn--line:hover { border-color: var(--espresso); }
.lm-btn--line-light { border-color: var(--rule-light); color: var(--bone); }
.lm-btn--line-light:hover { border-color: var(--bone); }
.lm-btn--sm { padding: 12px 22px; font-size: 13.5px; }

/* ---------- Header ---------- */
.lm-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(243, 239, 231, .94);
  backdrop-filter: saturate(150%) blur(9px);
  border-bottom: 1px solid var(--rule);
}
.lm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; height: 80px; }
.lm-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lm-logo__mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 3px;
  background: var(--espresso); color: var(--bone);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 17px;
}
.lm-logo__name { font-family: var(--display); font-size: 24px; color: var(--espresso); line-height: 1; }
.lm-logo__sub {
  display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}
.lm-nav { display: flex; gap: 30px; }
.lm-nav a { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; }
.lm-nav a:hover { color: var(--espresso); }

/* ---------- Hero: headline-first editorial ---------- */
.lm-hero { padding: 88px 0 76px; border-bottom: 1px solid var(--rule); }
.lm-hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  margin: 26px 0 0;
  max-width: 20ch;
}
.lm-hero h1 em { font-style: italic; color: var(--sage-deep); }
.lm-hero__cols {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 60px; margin-top: 52px; padding-top: 44px;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.lm-hero__lede { font-size: 19px; color: var(--muted); max-width: 46ch; }
.lm-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.lm-hero__note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.lm-glance { list-style: none; margin: 0; padding: 0; }
.lm-glance li {
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--rule);
  font-size: 15px; color: var(--muted);
}
.lm-glance li:first-child { padding-top: 0; }
.lm-glance li strong {
  font-family: var(--display); font-size: 20px; color: var(--espresso);
  font-weight: 400; white-space: nowrap;
}

/* ---------- Hero image band ---------- */
.lm-band { position: relative; }
.lm-band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* ---------- Sections ---------- */
.lm-section { padding: 104px 0; }
.lm-section--white { background: var(--white); }
.lm-section--sage { background: var(--sage-soft); }
.lm-section--espresso { background: var(--espresso); color: rgba(243, 239, 231, .74); }
.lm-section--espresso h2, .lm-section--espresso h3 { color: var(--bone); }

.lm-head { max-width: 720px; margin-bottom: 62px; }
.lm-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lm-head--center .lm-tag::before { display: none; }
.lm-head h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin: 20px 0 18px; }
.lm-head p { font-size: 18px; color: var(--muted); }
.lm-section--espresso .lm-head p { color: rgba(243, 239, 231, .68); }

/* ---------- Principles ---------- */
.lm-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.lm-principle { border-top: 1px solid var(--rule); padding-top: 22px; }
.lm-principle__n {
  font-family: var(--display); font-size: 15px; color: var(--sage-deep);
  letter-spacing: .1em; margin-bottom: 14px;
}
.lm-principle h3 { font-size: 21px; margin-bottom: 10px; }
.lm-principle p { color: var(--muted); font-size: 15px; }

/* ---------- Services: borderless tinted blocks ---------- */
.lm-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lm-service { background: var(--bone); padding: 40px 36px; border-radius: 6px; }
.lm-section--white .lm-service { background: var(--bone); }
.lm-service__icon {
  width: 44px; height: 44px; border-radius: 3px;
  background: var(--sage-soft); color: var(--sage-deep);
  display: grid; place-items: center; margin-bottom: 22px;
}
.lm-service h3 { font-size: 25px; margin-bottom: 12px; }
.lm-service p { color: var(--muted); font-size: 16px; }
.lm-service ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.lm-service li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink); }
.lm-service li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--sage);
}

/* ---------- Allocation chart ---------- */
.lm-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; }
.lm-bars { display: grid; gap: 22px; }
.lm-bar__top {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  margin-bottom: 9px; font-size: 14.5px;
}
.lm-bar__label { color: rgba(243, 239, 231, .82); }
.lm-bar__pct { font-family: var(--display); font-size: 19px; color: var(--bone); }
.lm-bar__track { height: 8px; background: rgba(243, 239, 231, .14); border-radius: 999px; overflow: hidden; }
.lm-bar__fill { height: 100%; background: #a8b195; border-radius: 999px; }
.lm-bar:nth-child(2) .lm-bar__fill { background: #8f9a7c; }
.lm-bar:nth-child(3) .lm-bar__fill { background: #77836a; }
.lm-bar:nth-child(4) .lm-bar__fill { background: #626d58; }
.lm-chart__note { margin-top: 28px; font-size: 13.5px; color: rgba(243, 239, 231, .5); }

/* ---------- Fees ---------- */
.lm-fees { max-width: 940px; margin: 0 auto; border-top: 1px solid var(--rule); }
.lm-fee {
  display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
}
.lm-fee h3 { font-size: 23px; margin-bottom: 7px; }
.lm-fee p { color: var(--muted); font-size: 15.5px; max-width: 56ch; }
.lm-fee__v { font-family: var(--display); font-size: 26px; color: var(--sage-deep); white-space: nowrap; }
.lm-fees__note { margin-top: 26px; font-size: 14.5px; color: var(--muted); text-align: center; }

/* ---------- Process ---------- */
.lm-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.lm-flow__item { background: var(--white); border-radius: 6px; padding: 32px 28px; }
.lm-flow__n {
  font-family: var(--display); font-size: 34px; color: var(--sage);
  line-height: 1; margin-bottom: 16px;
}
.lm-flow h3 { font-size: 20px; margin-bottom: 9px; }
.lm-flow p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.lm-faq { max-width: 880px; margin: 0 auto; }
.lm-faq details { border-bottom: 1px solid var(--rule); }
.lm-faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0;
  font-family: var(--display); font-size: 22px; color: var(--espresso);
}
.lm-faq summary::-webkit-details-marker { display: none; }
.lm-faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 1px solid var(--sage-deep); border-bottom: 1px solid var(--sage-deep);
  transform: rotate(45deg); margin-top: -6px;
  transition: transform .2s ease;
}
.lm-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.lm-faq details p { padding: 0 0 24px; color: var(--muted); font-size: 16.5px; max-width: 70ch; }

/* ---------- CTA ---------- */
.lm-cta { background: var(--espresso); padding: 104px 0; }
.lm-cta__box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lm-cta h2 { color: var(--bone); font-size: clamp(2.1rem, 4vw, 3rem); margin: 22px 0 18px; }
.lm-cta p { color: rgba(243, 239, 231, .72); font-size: 18px; max-width: 44ch; }
.lm-cta__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.lm-contact {
  background: rgba(243, 239, 231, .07);
  border: 1px solid var(--rule-light);
  border-radius: 6px; padding: 32px;
  display: grid; gap: 20px;
}
.lm-contact__row { display: flex; gap: 14px; align-items: flex-start; }
.lm-contact__row svg { flex: none; margin-top: 3px; color: #b8c0a8; }
.lm-contact__row span {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(243, 239, 231, .5); margin-bottom: 4px;
}
.lm-contact__row a, .lm-contact__row strong { color: var(--bone); font-size: 16px; font-weight: 500; text-decoration: none; }
.lm-contact__row a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.lm-footer { background: var(--ink); color: rgba(243, 239, 231, .55); padding: 58px 0 32px; font-size: 15px; }
.lm-footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 40px; border-bottom: 1px solid var(--rule-light); }
.lm-footer .lm-logo__name { color: var(--bone); }
.lm-footer h4 { font-family: var(--body); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bone); margin-bottom: 16px; }
.lm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lm-footer a { color: rgba(243, 239, 231, .66); text-decoration: none; }
.lm-footer a:hover { color: #b8c0a8; }
.lm-footer__blurb { margin-top: 16px; max-width: 32ch; font-size: 14.5px; }
.lm-footer__base { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; }
.lm-footer__legal {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule-light);
  font-size: 12.5px; line-height: 1.65; color: rgba(243, 239, 231, .38); max-width: 100ch;
}
.lm-footer__legal + .lm-footer__legal { margin-top: 12px; padding-top: 0; border-top: 0; }
.lm-footer__credit { margin-top: 14px; font-size: 12px; color: rgba(243, 239, 231, .3); }
.lm-footer__credit a { color: rgba(243, 239, 231, .45); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .lm-hero__cols, .lm-chart, .lm-cta__box { grid-template-columns: 1fr; gap: 42px; }
  .lm-principles { grid-template-columns: repeat(2, 1fr); gap: 30px 26px; }
  .lm-services { grid-template-columns: 1fr; }
  .lm-flow { grid-template-columns: repeat(2, 1fr); }
  .lm-footer__cols { grid-template-columns: 1fr 1fr; }
  .lm-band img { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  .lm-nav { display: none; }
  .lm-header__inner { height: 68px; }
  .lm-section, .lm-cta { padding: 72px 0; }
  .lm-hero { padding: 56px 0 60px; }
  .lm-principles, .lm-flow { grid-template-columns: 1fr; }
  .lm-fee { grid-template-columns: 1fr; }
  .lm-footer__cols { grid-template-columns: 1fr; }
  .lm-band img { aspect-ratio: 4 / 3; }
  .lm-hero__actions .lm-btn, .lm-cta__actions .lm-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .lm-landing * { transition: none !important; }
}
