/* ==========================================================================
   Wealth management landing page — navy & ivory
   Scoped to .wm-landing. Other templates keep the Secretum styling.
   ========================================================================== */

.wm-landing {
  --navy: #0e1c33;
  --navy-2: #16273f;
  --navy-deep: #091423;
  --ivory: #f5f2ec;
  --ivory-2: #ebe6dd;
  --white: #ffffff;
  --ink: #101922;
  --slate: #5f6d7e;
  --slate-light: #93a0af;
  --rule: #dcd6ca;
  --rule-dark: rgba(245, 242, 236, 0.16);

  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: 30px;

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

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

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

.wm-landing h1,
.wm-landing h2,
.wm-landing h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--navy);
}

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

.wm-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
}
.wm-label--light { color: var(--slate-light); }

/* ---------- Buttons ---------- */
.wm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.wm-btn--navy { background: var(--navy); color: var(--ivory); }
.wm-btn--navy:hover { background: var(--navy-deep); color: var(--ivory); }
.wm-btn--ivory { background: var(--ivory); color: var(--navy); }
.wm-btn--ivory:hover { background: var(--white); color: var(--navy); }
.wm-btn--line { border-color: var(--rule); color: var(--navy); }
.wm-btn--line:hover { border-color: var(--navy); }
.wm-btn--line-light { border-color: var(--rule-dark); color: var(--ivory); }
.wm-btn--line-light:hover { border-color: var(--ivory); }
.wm-btn--sm { padding: 12px 22px; font-size: 12.5px; }

/* ---------- Header ---------- */
.wm-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.wm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 84px; }
.wm-brand { display: block; text-decoration: none; }
.wm-brand__name {
  font-family: var(--display);
  font-size: 26px;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.01em;
}
.wm-brand__sub {
  display: block;
  font-size: 9.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--slate); margin-top: 7px;
}
.wm-nav { display: flex; gap: 34px; }
.wm-nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate); text-decoration: none;
}
.wm-nav a:hover { color: var(--navy); }

/* ---------- Hero: full-bleed split ---------- */
.wm-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.wm-hero__panel {
  background: var(--navy);
  color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: 92px 7vw 92px calc((100vw - var(--wrap)) / 2 + var(--gutter));
}
.wm-hero__panel h1 {
  color: var(--ivory);
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  margin: 28px 0 0;
  max-width: 14ch;
}
.wm-hero__panel h1 em { font-style: italic; color: #cdd8e6; }
.wm-hero__lede { font-size: 18px; color: rgba(245, 242, 236, .72); max-width: 42ch; margin-top: 26px; }
.wm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.wm-hero__note { margin-top: 26px; font-size: 13px; color: rgba(245, 242, 236, .5); }
.wm-hero__media { position: relative; background: var(--ivory-2); overflow: hidden; }
.wm-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stat rail ---------- */
.wm-rail { background: var(--ivory); border-bottom: 1px solid var(--rule); }
.wm-rail__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.wm-rail__item { padding: 40px 30px; border-left: 1px solid var(--rule); }
.wm-rail__item:first-child { border-left: 0; padding-left: 0; }
.wm-rail__v {
  font-family: var(--display); font-size: 42px; line-height: 1; color: var(--navy);
}
.wm-rail__l { margin-top: 12px; font-size: 13.5px; color: var(--slate); line-height: 1.5; }

/* ---------- Sections ---------- */
.wm-section { padding: 110px 0; }
.wm-section--ivory { background: var(--ivory); }
.wm-section--navy { background: var(--navy); color: rgba(245, 242, 236, .72); }
.wm-section--navy h2, .wm-section--navy h3 { color: var(--ivory); }

.wm-head { max-width: 700px; margin-bottom: 66px; }
.wm-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.wm-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 22px 0 20px; }
.wm-head p { font-size: 18px; color: var(--slate); }
.wm-section--navy .wm-head p { color: rgba(245, 242, 236, .66); }

/* ---------- Pillars ---------- */
.wm-pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.wm-pillar { padding: 0 42px; border-left: 1px solid var(--rule); }
.wm-pillar:first-child { border-left: 0; padding-left: 0; }
.wm-pillar:last-child { padding-right: 0; }
.wm-pillar__n { font-family: var(--display); font-size: 30px; color: var(--slate-light); line-height: 1; }
.wm-pillar h3 { font-size: 25px; margin: 18px 0 14px; }
.wm-pillar p { color: var(--slate); font-size: 16px; }

/* ---------- Services: hairline rows ---------- */
.wm-services { border-top: 1px solid var(--rule); }
.wm-service {
  display: grid; grid-template-columns: 90px 1fr 1fr;
  gap: 46px;
  padding: 46px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.wm-service__n { font-family: var(--display); font-size: 34px; color: var(--slate-light); line-height: 1; }
.wm-service h3 { font-size: 27px; }
.wm-service__body p { color: var(--slate); font-size: 16.5px; }
.wm-service__body ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.wm-service__body li {
  position: relative; padding-left: 20px;
  font-size: 15.5px; color: var(--ink);
}
.wm-service__body li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--navy);
}

/* ---------- Client profiles ---------- */
.wm-profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.wm-profile {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 38px 34px;
}
.wm-profile h3 { font-size: 24px; margin: 16px 0 14px; }
.wm-profile p { color: var(--slate); font-size: 15.5px; }
.wm-profile__tags { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.wm-profile__tags li { font-size: 14px; color: var(--ink); }

/* ---------- Fee transparency ---------- */
.wm-fees { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.wm-fee-rows { border-top: 1px solid var(--rule-dark); }
.wm-fee-row {
  display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--rule-dark);
}
.wm-fee-row__k { font-family: var(--display); font-size: 22px; color: var(--ivory); }
.wm-fee-row__v { font-size: 15px; color: rgba(245, 242, 236, .68); text-align: right; max-width: 26ch; }
.wm-fees__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.wm-fees__points li { position: relative; padding-left: 22px; color: rgba(245, 242, 236, .78); font-size: 16px; }
.wm-fees__points li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 10px; height: 1px; background: var(--ivory);
}

/* ---------- Process checklist ---------- */
.wm-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 70px; }
.wm-step { display: grid; grid-template-columns: 54px 1fr; gap: 22px; align-items: start; }
.wm-step__n {
  font-family: var(--display); font-size: 26px; color: var(--navy);
  border-top: 2px solid var(--navy); padding-top: 12px; line-height: 1;
}
.wm-step h3 { font-size: 22px; margin-bottom: 10px; }
.wm-step p { color: var(--slate); font-size: 16px; }

/* ---------- FAQ ---------- */
.wm-faq { border-top: 1px solid var(--rule); max-width: 900px; margin: 0 auto; }
.wm-faq__row {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 44px;
  padding: 34px 0; border-bottom: 1px solid var(--rule);
}
.wm-faq__q { font-size: 22px; }
.wm-faq__a { color: var(--slate); font-size: 16.5px; }

/* ---------- CTA ---------- */
.wm-cta { background: var(--navy); padding: 110px 0; text-align: center; }
.wm-cta h2 { color: var(--ivory); font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin: 24px auto 22px; max-width: 18ch; }
.wm-cta p { color: rgba(245, 242, 236, .7); font-size: 18px; max-width: 52ch; margin: 0 auto; }
.wm-cta__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 38px; }
.wm-cta__contact {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px;
  margin-top: 52px; padding-top: 38px;
  border-top: 1px solid var(--rule-dark);
}
.wm-cta__contact div { text-align: left; }
.wm-cta__contact span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 6px; }
.wm-cta__contact a, .wm-cta__contact strong { color: var(--ivory); font-size: 16px; font-weight: 500; text-decoration: none; }
.wm-cta__contact a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.wm-footer { background: var(--navy-deep); color: rgba(245, 242, 236, .55); padding: 60px 0 34px; font-size: 15px; }
.wm-footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 42px; border-bottom: 1px solid var(--rule-dark); }
.wm-footer .wm-brand__name { color: var(--ivory); }
.wm-footer h4 { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory); margin-bottom: 18px; }
.wm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.wm-footer a { color: rgba(245, 242, 236, .66); text-decoration: none; }
.wm-footer a:hover { color: var(--ivory); }
.wm-footer__blurb { margin-top: 18px; max-width: 32ch; font-size: 14.5px; }
.wm-footer__base { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13.5px; }
.wm-footer__legal {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule-dark);
  font-size: 12.5px; line-height: 1.65; color: rgba(245, 242, 236, .38); max-width: 100ch;
}
.wm-footer__legal + .wm-footer__legal { margin-top: 12px; padding-top: 0; border-top: 0; }
.wm-footer__credit { margin-top: 14px; font-size: 12px; color: rgba(245, 242, 236, .3); }
.wm-footer__credit a { color: rgba(245, 242, 236, .45); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .wm-hero { grid-template-columns: 1fr; min-height: 0; }
  .wm-hero__panel { padding: 76px var(--gutter); }
  .wm-hero__media { min-height: 380px; }
  .wm-rail__inner { grid-template-columns: repeat(2, 1fr); }
  .wm-rail__item { padding: 30px 24px; }
  .wm-rail__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .wm-rail__item:first-child { padding-left: 0; }
  .wm-pillars { grid-template-columns: 1fr; gap: 34px; }
  .wm-pillar { border-left: 0; padding: 0 0 0 22px; border-left: 1px solid var(--rule); }
  .wm-pillar:first-child { padding-left: 22px; border-left: 1px solid var(--rule); }
  .wm-service { grid-template-columns: 60px 1fr; gap: 24px; }
  .wm-service__body { grid-column: 1 / -1; }
  .wm-profiles { grid-template-columns: 1fr; }
  .wm-fees, .wm-steps { grid-template-columns: 1fr; gap: 40px; }
  .wm-faq__row { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 720px) {
  .wm-nav { display: none; }
  .wm-header__inner { height: 72px; }
  .wm-section { padding: 72px 0; }
  .wm-cta { padding: 76px 0; }
  .wm-rail__inner { grid-template-columns: 1fr; }
  .wm-rail__item { border-left: 0; padding: 24px 0; border-bottom: 1px solid var(--rule); }
  .wm-rail__item:last-child { border-bottom: 0; }
  .wm-service { grid-template-columns: 1fr; gap: 14px; }
  .wm-footer__cols { grid-template-columns: 1fr; }
  .wm-hero__actions .wm-btn, .wm-cta__actions .wm-btn { flex: 1 1 100%; }
  .wm-cta__contact { justify-content: flex-start; }
}

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