/*
 Theme Name:   Mezrah Financial
 Theme URI:    https://mezrah-2026.lmgpreview.com
 Description:  Genesis child theme for Mezrah Financial
 Author:       Lawton Marketing Group
 Author URI:   https://lawtonmg.com
 Template:     genesis
 Version:      1.0.0
 License:      GPL-2.0-or-later
 Text Domain:  mezrah
*/

/* ==========================================================================
   1. Base template styles — static css/styles.css, verbatim
   ========================================================================== */

/* ==========================================================================
   mfin3 — Financial advisor template
   Values extracted from the source design's computed styles.
   Colour literals in :root are the substitution targets (see template.json).
   ========================================================================== */

:root {
  --color-primary: #0A6B2D;
  --color-text: #3A3A3C;
  --color-dark: #3A3A3C;
  --color-white: #FFFFFF;

  --font-heading: futura-pt, 'Century Gothic', 'Futura', sans-serif;
  --font-body: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --header-height: 110px;
  --header-height-compact: 90px;
  --gutter: 32px;

  /* Shared cap for every section container. Exceptions are noted where they
     are declared: .titan-tier-style-3 .wrap (709px) and .mfin-form (900px). */
  --container-max: 1500px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 20px;
  text-transform: uppercase;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }

/* Eyebrow above section headings. Blue on light tiers, white on dark ones. */
.preheadline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 25.6px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}

.subheadline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 28px;
  line-height: 42px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

/* The short rule that animates from 0 to 100px after the hero text lands. */
.line-across {
  width: 100px;
  height: 2px;
  background: var(--color-primary);
  margin: 16px 0;
}

.text-center { text-align: center; }
.text-center .line-across { margin-left: auto; margin-right: auto; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-3 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.75rem; }

/* --------------------------------------------------------------------------
   Layout — minimal Foundation-compatible grid
   Only the fraction classes this design actually uses.
   -------------------------------------------------------------------------- */

.wrap {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.grid-x { display: flex; flex-flow: row wrap; }
.cell { flex: 0 0 auto; min-width: 0; width: 100%; }

/* 15px gutters — Foundation's 0.9375rem default, which the source uses. */
.grid-padding-x { margin-left: -15px; margin-right: -15px; }
.grid-padding-x > .cell { padding-left: 15px; padding-right: 15px; }
.grid-padding-y > .cell { padding-top: 15px; padding-bottom: 15px; }
.grid-margin-x { margin-left: -15px; margin-right: -15px; }
.grid-margin-x > .cell { margin-left: 15px; margin-right: 15px; width: calc(100% - 30px); }

.align-justify { justify-content: space-between; }
.align-right { justify-content: flex-end; }
.align-center { align-items: center; }

@media (min-width: 640px) {
  .medium-6 { width: 50%; max-width: 50%; }
  .grid-margin-x > .medium-6 { width: calc(50% - 30px); max-width: calc(50% - 30px); }
}

@media (min-width: 1024px) {
  .large-3 { width: 25%; max-width: 25%; }
  .large-4 { width: 33.3333%; max-width: 33.3333%; }
  .large-5 { width: 41.6667%; max-width: 41.6667%; }
  .large-6 { width: 50%; max-width: 50%; }
  .large-7 { width: 58.3333%; max-width: 58.3333%; }
  .large-8 { width: 66.6667%; max-width: 66.6667%; }
  .large-9 { width: 75%; max-width: 75%; }
  .large-12 { width: 100%; max-width: 100%; }
  /* Every fraction needs the 30px of horizontal margin subtracted, or the row
     overflows its container and the columns wrap onto separate lines. */
  .grid-margin-x > .large-3 { width: calc(25% - 30px); max-width: calc(25% - 30px); }
  .grid-margin-x > .large-4 { width: calc(33.3333% - 30px); max-width: calc(33.3333% - 30px); }
  .grid-margin-x > .large-5 { width: calc(41.6667% - 30px); max-width: calc(41.6667% - 30px); }
  .grid-margin-x > .large-6 { width: calc(50% - 30px); max-width: calc(50% - 30px); }
  .grid-margin-x > .large-7 { width: calc(58.3333% - 30px); max-width: calc(58.3333% - 30px); }
  .grid-margin-x > .large-8 { width: calc(66.6667% - 30px); max-width: calc(66.6667% - 30px); }
  .grid-margin-x > .large-9 { width: calc(75% - 30px); max-width: calc(75% - 30px); }
  .grid-margin-x > .large-12 { width: calc(100% - 30px); max-width: calc(100% - 30px); }
  .large-order-1 { order: 1; }
  .large-order-2 { order: 2; }
}

/* Declared with !important because components later in the file set their own
   display (e.g. .header-cta is inline-block) and would otherwise win on
   equal specificity. */
.show-for-large { display: none !important; }
.hide-for-large { display: block !important; }

@media (min-width: 1024px) {
  .show-for-large { display: block !important; }
  .show-for-large.header-cta { display: inline-block !important; }
  .hide-for-large { display: none !important; }
}

/* --------------------------------------------------------------------------
   Site header
   -------------------------------------------------------------------------- */

/* Transparent at rest. On the homepage the white hero sits behind it; on pages
   with a banner it overlays the image, so the logo and nav reverse to white. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 20px;
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

/* Compacting shrinks the logo only — the 20px padding is constant, which is
   what takes the header from 152px at rest to 110px once scrolled. */
.site-header.is-compact {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Reversed treatment while the header floats over a banner image. */
.has-banner .site-header:not(.is-compact) .titan-header-menu > li > a,
.has-banner .site-header:not(.is-compact) .header-cta {
  color: var(--color-white);
}

.has-banner .site-header:not(.is-compact) .header-cta { border-color: var(--color-white); }

.has-banner .site-header:not(.is-compact) .header-cta:hover {
  background: var(--color-white);
  color: var(--color-text);
}

.has-banner .site-header:not(.is-compact) .site-logo img { filter: brightness(0) invert(1); }

/* The underline stays blue over a banner — only the label is reversed. */
.has-banner .site-header:not(.is-compact) .titan-header-menu > li:hover > a,
.has-banner .site-header:not(.is-compact) .titan-header-menu > li.is-open > a {
  border-bottom-color: var(--color-primary);
}

.has-banner .site-header:not(.is-compact) .hamburger-inner,
.has-banner .site-header:not(.is-compact) .hamburger-inner::before,
.has-banner .site-header:not(.is-compact) .hamburger-inner::after { background: var(--color-white); }

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* Full width by design — logo hard left, CTA hard right. */
  max-width: 100%;
  margin: 0 auto;
}

.site-logo img {
  width: 400px;
  max-width: 100%;
  height: auto;
  transition: width 300ms ease;
}

.site-header.is-compact .site-logo img { width: 250px; }

.header-right { display: flex; align-items: center; gap: 24px; }

.main-nav > ul { display: flex; align-items: center; }

.titan-header-menu > li { position: relative; }

.titan-header-menu > li > a {
  display: inline-block;
  padding: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.6px;
  line-height: 21.76px;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 2px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

.titan-header-menu > li:hover > a,
.titan-header-menu > li.is-open > a,
.titan-header-menu > li.current-menu-item > a {
  border-bottom-color: var(--color-primary);
}

/* Dropdowns */
.titan-header-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  padding: 14px 0;
  background: #EBE5D6;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  z-index: 10;
}

.titan-header-menu > li:hover > .sub-menu,
.titan-header-menu > li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items are set in the heading face, light and tracked — not the
   bold body face used by the top-level nav. */
.titan-header-menu .sub-menu a {
  display: block;
  padding: 6px 24px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 200ms ease;
}

.titan-header-menu .sub-menu a:hover { color: var(--color-primary); }

/* Client Portal button in the header */
.header-cta {
  display: inline-block;
  padding: 14px 24px;
  border: 2px solid var(--color-text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.6px;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text);
  transition: background-color 200ms ease, color 200ms ease;
}

.header-cta:hover { background: var(--color-text); color: var(--color-white); }

/* --------------------------------------------------------------------------
   Hamburger + mobile navigation
   -------------------------------------------------------------------------- */

.mobile-menu-icon {
  display: block;
  position: relative;
  width: 34px;
  height: 24px;
  padding: 0;
  cursor: pointer;
  z-index: 120;
}

.hamburger-box { position: relative; display: block; width: 34px; height: 24px; }

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  position: absolute;
  left: 0;
  width: 34px;
  height: 3px;
  background: var(--color-text);
  transition: transform 300ms ease, opacity 200ms ease, top 300ms ease;
}

.hamburger-inner { top: 10.5px; }
.hamburger-inner::before { content: ''; top: -10px; }
.hamburger-inner::after { content: ''; top: 10px; }

.mobile-menu-icon.is-active .hamburger-inner { background: transparent; }
.mobile-menu-icon.is-active .hamburger-inner::before { top: 0; transform: rotate(45deg); }
.mobile-menu-icon.is-active .hamburger-inner::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .mobile-menu-icon { display: none; }
}

.mobile-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 120px 32px 40px;
  background: var(--color-white);
  overflow-y: auto;
  z-index: 90;
  transform: translateX(-100%);
  transition: transform 350ms cubic-bezier(0.33, 1, 0.68, 1);
}

.mobile-navigation.is-open { transform: translateX(0); }

.titan-mobile-menu a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--color-text);
}

.titan-mobile-menu .sub-menu { padding-left: 20px; }
.titan-mobile-menu .sub-menu a { font-weight: 400; }

/* --------------------------------------------------------------------------
   Fixed social rail
   -------------------------------------------------------------------------- */

.social-share {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 50px;
  background: var(--color-text);
  z-index: 80;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  transition: background-color 200ms ease;
}

.social-share a:hover { background: var(--color-text); }

@media (max-width: 767px) {
  .social-share { display: none; }
}

/* --------------------------------------------------------------------------
   Hero (homepage)
   -------------------------------------------------------------------------- */

.titan-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 300px 16px 16px;
  overflow: hidden;
}

.titan-hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-white);
}

/* Not width:100% — as a flex item this shrink-wraps to the h1, which is what
   makes the sub-headline wrap at the same point as the source design. */
.overlay-text {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 16px 64px;
  text-align: center;
}

/* The hero eyebrow is tracked wider than the section eyebrows. */
.overlay-text .preheadline {
  margin-top: 32px;
  line-height: 24px;
  letter-spacing: 3px;
}

.overlay-text h1 {
  font-size: 96px;
  line-height: 86.4px;
  letter-spacing: 2px;
  color: var(--color-text);
  margin: 0;
}

.overlay-text h2 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 32px;
  line-height: 48px;
  text-transform: none;
  color: var(--color-text);
  margin: 8px 0 20px;
}

.overlay-text .line-across { margin: 16px auto; }

/* --------------------------------------------------------------------------
   Full-bleed video band
   -------------------------------------------------------------------------- */

/* Compound selector so this beats the generic .mfin-tier padding regardless of
   source order — the band must sit tight under the hero. */
.mfin-tier.hero-video-tier { padding: 0 var(--gutter) 128px; }

.hosted-video {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  overflow: hidden;
}

/* Cinematic crop of a 16:9 source, matching the design's 1376x590 band. */
.feature-video {
  display: flex;
  width: 100%;
  aspect-ratio: 1376 / 590;
  height: auto;
  object-fit: cover;
}

/* Slight scrim so the quote stays legible over a bright frame. */
.video-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

/* data-speed is read by ScrollSmoother (effects: true) to parallax the quote
   against the video as the band scrolls past. */
.video-quote {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 32px;
  text-align: center;
  color: var(--color-white);
  pointer-events: none;
}

.video-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.2;
  margin: 0 0 18px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.video-quote-author {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1023px) {
  .video-quote-text { font-size: 38px; }
  .video-quote-author { font-size: 15px; }
}

@media (max-width: 767px) {
  .mfin-tier.hero-video-tier { padding: 0 var(--gutter) 64px; }
  .feature-video { aspect-ratio: 16 / 10; }
  .video-quote-text { font-size: 24px; margin-bottom: 10px; }
  .video-quote-author { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   Interior page banner
   -------------------------------------------------------------------------- */

.entry-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 70vh;
  padding: 250px 0 40px;
  overflow: hidden;
}

.entry-header .image-background {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: 50% 50%;
}

.entry-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* Shrink-wraps and centres as a flex item, rather than filling the width. */
.entry-header .page-title {
  position: relative;
  z-index: 2;
  font-size: 80px;
  line-height: 80px;
  color: var(--color-white);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Tiers — the generic section wrapper
   -------------------------------------------------------------------------- */

.mfin-tier,
.titan-tier {
  position: relative;
  padding: 96px var(--gutter);
}

.invert-colors {
  background: var(--color-dark);
  color: var(--color-white);
}

.invert-colors .preheadline { color: var(--color-white); }

.tier-title h2 {
  font-size: 64px;
  line-height: 64px;
  margin: 0;
}

.tier-title.text-center { text-align: center; }

.tier-content { margin-top: 16px; }

/* Two-column tier: text one side, image the other. Full width by design — the
   image runs out to the gutter rather than stopping at the container cap. */
.mfin-tier-style-1 {
  padding: 128px var(--gutter);
  background: var(--color-dark);
  color: var(--color-white);
}

.mfin-tier-style-1 .wrap { max-width: 100%; }

.mfin-tier-style-1 .image-cell { position: relative; min-height: 600px; }

.mfin-tier-style-1 .image-background {
  position: absolute;
  inset: 0;
  background: var(--color-text);
  overflow: hidden;
}

.mfin-tier-style-1 .inner-image-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 50%;
}

.mfin-tier-style-1 .content-cell {
  display: flex;
  align-items: center;
}

.mfin-tier-style-1 .inner-content-cell { width: 100%; }

/* Outline button */
.button {
  display: inline-block;
  padding: 10px 30px;
  border: 2px solid currentColor;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease;
}

.button:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }

.cta-button { margin-top: 24px; }
.cta-buttons-list { display: flex; flex-wrap: wrap; gap: 16px; }

/* --------------------------------------------------------------------------
   Service cards (homepage three-up)
   -------------------------------------------------------------------------- */

.mfin-services {
  padding: 96px var(--gutter);
  background: var(--color-white);
}

.mfin-services .tier-title { margin-bottom: 48px; }

.mfin-services-style-1-grid { align-items: stretch; }

.mfin-services-item { padding: 16px; }

.inner-service-item {
  position: relative;
  height: 100%;
  padding: 16px 16px 44px;
  background: var(--color-text);
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

/* The image sits inside the card, not overhanging it. Only the icon badge
   breaks the image's lower edge. */
.service-image { position: relative; margin: 0 0 55px; }

.service-image img { width: 100%; height: auto; }

.service-icon {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-primary), #FFFFFF 20%) 0%,
    var(--color-primary) 55%,
    color-mix(in srgb, var(--color-primary), #000000 18%) 100%
  );
  color: var(--color-white);
  font-size: 32px;
  line-height: 56px;
}

.mfin-services-item h3 {
  font-size: 28.8px;
  line-height: 43.2px;
  color: var(--color-white);
  padding-bottom: 10px;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--color-primary);
}

.service-content { padding: 0 16px; color: var(--color-white); }

/* --------------------------------------------------------------------------
   Quote tier — full-bleed image with a display-serif line
   -------------------------------------------------------------------------- */

.titan-quote-tier {
  position: relative;
  padding: 288px var(--gutter);
  color: var(--color-white);
  overflow: hidden;
}

.titan-quote-tier .image-background {
  position: absolute;
  inset: -15% 0;
  background-size: cover;
  background-position: 50% 50%;
}

.titan-quote-tier .tier-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.titan-quote-tier .wrap { position: relative; z-index: 2; }

.quote-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 80px;
  line-height: 120px;
}

.quote-text p { margin: 0 0 16px; line-height: 128px; }
.quote-text em { font-style: italic; }

/* --------------------------------------------------------------------------
   Centered text tier (client portal, generic content)
   -------------------------------------------------------------------------- */

/* Centred narrow-measure tier. The 709px wrap is what keeps the copy from
   running the full container width. */
.titan-tier-style-3 { padding: 128px var(--gutter) 0; }
.titan-tier-style-3 .wrap { max-width: 709px; }
.titan-tier-style-3 .tier-content { margin-top: 24px; }

.wysiwyg-content p,
.tier-content p { line-height: 25.6px; margin-bottom: 20px; }

/* Client portal call-to-action pair: side by side on desktop, stacked below. */
.portal-actions { display: flex; max-width: var(--container-max); margin: 0 auto; }
.portal-action { flex: 1; padding-bottom: 128px; }
.portal-actions .mt-3 { margin: 48px 0 16px; text-align: center; }
.portal-actions .button { width: 300px; }

@media (max-width: 1023px) {
  .portal-actions { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Services page — list that swaps panels over an image
   -------------------------------------------------------------------------- */

.titan-tier-style-4 { padding: 96px var(--gutter); }

.ev-list { margin-top: 32px; border-top: 1px solid rgba(51, 51, 51, 0.2); }

.ev-list li { position: relative; border-bottom: 1px solid rgba(51, 51, 51, 0.2); }

/* The active item gets a blue bar, a deeper indent and heavier weight so the
   pairing with the panel on the right is unmistakable. */
.ev-list li::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 250ms var(--ease-out, ease);
}

.ev-list li.is-active::before { transform: scaleY(1); }

.ev-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 200ms ease, padding-left 250ms ease, font-weight 200ms ease;
}

.ev-list li.is-active a { padding-left: 22px; font-weight: 500; }

.ev-list a:hover { padding-left: 12px; }
.ev-list li.is-active a:hover { padding-left: 22px; }

.ev-list a span { font-size: 20px; color: var(--color-primary); transition: transform 250ms ease; }
.ev-list li.is-active a span { transform: translateX(6px); }

.ev-image-background {
  position: relative;
  min-height: 620px;
  height: 100%;
  overflow: hidden;
}

.ev-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 50%;
}

/* Gradient rather than a flat wash, so the top of the photo stays bright and
   the copy at the bottom still reads. */
.ev-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.72) 100%);
}

.ev-content-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

/* Panels are stacked and cross-faded: the incoming one slides in from the
   left, the outgoing one slides back out the same way. */
.ev-content {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 40px;
  color: var(--color-white);
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 300ms ease, transform 400ms cubic-bezier(0.33, 1, 0.68, 1);
  pointer-events: none;
}

.ev-content.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .ev-content { transition: opacity 150ms ease; transform: none; }
  .ev-content.is-active { transform: none; }
}

.ev-content .link-title {
  font-size: 32px;
  color: var(--color-white);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Process page — icon steps with connecting line
   -------------------------------------------------------------------------- */

.mfin-process,
.mfin-process_style_3 { padding: 96px var(--gutter); }

/* Narrow icon rail on the left, copy filling the rest — not a 12-column grid,
   so the circles hug the left edge of the steps area. */
.mfin-process-style-3-item {
  position: relative;
  display: flex;
  gap: 40px;
  padding-bottom: 40px;
}

.mfin-process-style-3-item .icon-cell { position: relative; flex: 0 0 54px; }
.mfin-process-style-3-item .content-cell { flex: 1 1 auto; min-width: 0; }

/* Dark outlined circle; the connecting rule between steps is the blue one. */
.process-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border: 1.5px solid var(--color-text);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 18px;
  line-height: 1;
}

/* Runs from just under one circle to just above the next. */
.line-down {
  position: absolute;
  top: 62px;
  bottom: 14px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--color-primary);
}

.process-title h4 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 12px;
  padding-left: 18px;
  border-left: 4px solid var(--color-primary);
}

/* --------------------------------------------------------------------------
   Team listing + staff detail
   -------------------------------------------------------------------------- */

.titan-team { padding: 96px var(--gutter); }

.ind-team-grid {
  margin: 15px 0;
  align-items: center;
  border: 1px solid rgba(51, 51, 51, 0.15);
}

.ind-team-grid img { width: 100%; }

.meta-cell { display: flex; align-items: center; }

.ind-team-meta h3 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.ind-team-meta h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 20px;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.team-tier { padding: 96px var(--gutter); }

.headshot-cell img { width: 100%; }

.team-meta { margin-bottom: 24px; }
.team-meta h2 { font-size: 48px; margin-bottom: 4px; }
.team-meta h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  text-transform: none;
  color: var(--color-primary);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.titan-contact-tier { padding: 96px var(--gutter); }

.contact-title h2 { font-size: 48px; }

.lmg-contact-info { font-size: 16px; line-height: 28px; }
.lmg-contact-info a { text-decoration: underline; }
.lmg-contact-info a:hover { color: var(--color-primary); }

.lmg-social-media {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.lmg-social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 16px;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.lmg-social-media a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* Scheduler and message form sit side by side on a light band, with the
   scheduler column reversed out in navy. */
/* The light band stays full-bleed while the columns inside honour the
   container cap — hence the padding rather than a max-width. */
.contact-columns {
  display: flex;
  align-items: stretch;
  padding-inline: max(var(--gutter), calc((100% - var(--container-max)) / 2));
  background: #EBE5D6;
}

.contact-columns > .calendly-tier { width: 50%; }

.calendly-tier { padding: 48px 32px; }
.calendly-tier.invert-colors { background: #3A3A3C; color: var(--color-white); }
.calendly-tier .tier-title { text-align: center; margin-bottom: 32px; }
.calendly-tier .tier-title h2 { font-size: 48px; line-height: 52px; }
.calendly-tier img { margin: 0 auto; }

@media (max-width: 1023px) {
  .contact-columns { flex-direction: column; padding: 0; }
  .contact-columns > .calendly-tier { width: 100%; }
}

/* Form */
.mfin-form { max-width: 900px; margin: 0 auto; }

.mfin-form label {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mfin-form .required { color: #B3261E; }

.mfin-form input[type='text'],
.mfin-form input[type='email'],
.mfin-form textarea {
  width: 100%;
  height: 72px;
  padding: 8px 24px;
  margin-bottom: 20px;
  font: inherit;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid rgba(58, 58, 60, 0.30);
  transition: border-color 200ms ease;
}

.mfin-form input:focus,
.mfin-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.mfin-form textarea { min-height: 160px; resize: vertical; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 128px 64px 48px;
  background: var(--color-text);
  color: var(--color-white);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Reversed to white so the dark mark reads on the dark footer. */
.footer-logo img {
  width: 300px;
  max-width: 100%;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.site-footer .disclosures { margin-top: 16px; }

.site-footer .disclosures a { text-decoration: underline; }
.site-footer .disclosures a:hover { color: var(--color-primary); }

.social-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  margin: 24px 0 10px;
}

.site-footer .lmg-social-media { display: block; margin-top: 0; line-height: 25.6px; }
.site-footer .lmg-social-media li { display: inline-flex; margin-right: 12px; }
.site-footer .lmg-social-media a { width: 32px; height: 32px; font-size: 13.6px; }

/* The nav is a plain block; the list itself is the two-column row. */
.lmg-footer-menu { display: block; }

.lmg-footer-menu .nav-menu {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  line-height: 25.6px;
}

.lmg-footer-menu .nav-menu > li { width: 50%; padding: 4px 32px; }

.lmg-footer-menu .nav-menu > li > a {
  display: block;
  padding-bottom: 4px;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 25.6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.lmg-footer-menu .sub-menu a {
  display: block;
  padding: 2px 0;
  font-size: 16px;
  transition: color 200ms ease;
}

.lmg-footer-menu .sub-menu a:hover { color: var(--color-primary); }

.member-firm { margin-top: 32px; }
.member-firm img { width: 260px; max-width: 100%; margin-left: auto; }

/* --------------------------------------------------------------------------
   Newsletter popup
   -------------------------------------------------------------------------- */

.popup-cast {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms;
  z-index: 900;
}

.popup-cast.active { opacity: 1; visibility: visible; }

.popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(800px, calc(100% - 40px));
  padding: 48px 40px;
  background: var(--color-white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, transform 300ms ease, visibility 300ms;
  z-index: 901;
}

.popup-container.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

.popup-container h2 { font-size: 40px; line-height: 1.2; }

/* Team biography modal — wider than the newsletter popup, headshot beside copy. */
.popup-bio {
  width: min(1250px, calc(100% - 40px));
  padding: 48px;
  text-align: left;
}

.popup-bio .headshot-container img { width: 100%; height: auto; }

.popup-bio .ind-team-meta h2 {
  font-size: 56px;
  line-height: 1;
  margin: 0 0 4px;
}

.popup-bio .ind-team-meta h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
}

.popup-bio .ind-team-bio p { margin-bottom: 20px; }
.popup-bio .ind-team-bio p:last-child { margin-bottom: 0; }

/* Inside the panel's top-right corner, per the design. */
.popup-bio .popup-close { top: 24px; right: 24px; }

@media (max-width: 767px) {
  .popup-bio { padding: 40px 24px; max-height: 85vh; overflow-y: auto; }
  .popup-bio .ind-team-meta h2 { font-size: 34px; }
  .popup-bio .popup-close { top: 12px; right: 12px; }
}

.popup-close {
  position: absolute;
  top: -20px;
  right: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
}

.popup-container .required { color: #B3261E; }

/* --------------------------------------------------------------------------
   GSAP ScrollSmoother wrapper
   -------------------------------------------------------------------------- */

.smooth-wrapper { overflow: hidden; }

/* Elements the entry animation moves, hidden until GSAP takes over so there is
   no flash of final-position content. The js-anim class is only set once GSAP
   has actually loaded, so with no JS everything renders at rest. */
.js-anim .overlay-text .preheadline,
.js-anim .overlay-text h1,
.js-anim .overlay-text h2,
.js-anim .entry-header .page-title { opacity: 0; }

.js-anim .overlay-text .line-across { width: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
  .overlay-text h1 { font-size: 64px; line-height: 62px; }
  .overlay-text h2 { font-size: 26px; line-height: 38px; }
  .tier-title h2 { font-size: 48px; line-height: 52px; }
  .entry-header .page-title { font-size: 56px; line-height: 58px; }
  .quote-text { font-size: 56px; line-height: 76px; }
  .mfin-tier-style-1 .image-cell { min-height: 420px; margin-bottom: 32px; }
  .titan-quote-tier { padding: 180px var(--gutter); }
  .lmg-footer-menu { justify-content: flex-start; margin-top: 40px; }
  .member-firm img { margin-left: 0; }
  .ev-image-background { min-height: 420px; margin-top: 32px; }
}

/* The design keeps its 32px gutters and most of its desktop spacing on small
   screens — only the type scales down. Values measured at 390px wide. */
@media (max-width: 767px) {
  .site-logo img { width: 263px; }

  .titan-hero { padding: 150px 16px 16px; }
  .overlay-text { padding: 0; }
  .overlay-text h1 { font-size: 38.4px; line-height: 34.56px; letter-spacing: 2px; }
  .overlay-text h2 { font-size: 20px; line-height: 30px; }

  /* No min-height on mobile — the banner is just padding plus title. */
  .entry-header { min-height: 0; padding: 250px 0 40px; }
  .entry-header .page-title { font-size: 48px; line-height: 48px; }

  .titan-tier, .titan-tier-style-3, .titan-tier-style-4, .titan-team, .team-tier,
  .titan-contact-tier, .mfin-process_style_3, .mfin-process { padding: 32px; }

  .mfin-tier-style-1, .mfin-services { padding: 96px 32px; }

  .tier-title h2 { font-size: 35.2px; line-height: 35.2px; }
  .subheadline { font-size: 28px; line-height: 42px; }

  .titan-quote-tier { padding: 32px; }
  .quote-text,
  .quote-text p { font-size: 36.08px; line-height: 54.12px; }

  .calendly-tier { padding: 32px; }

  .popup-container { padding: 32px 24px; }
  .popup-container h2 { font-size: 28px; }
  .popup-close { top: -16px; right: -8px; }

  .ev-list a { font-size: 22px; }
  .team-meta h2 { font-size: 34px; }
  .contact-title h2 { font-size: 34px; }
}


/* ==========================================================================
   2. Mezrah layer — static css/mezrah.css, verbatim. Brand tokens live in
      its :root and it overrides section 1. Put new work here or below.
   ========================================================================== */

/* ==========================================================================
   Mezrah Financial — site skin over the mfin3 template.
   Loaded AFTER css/styles.css, so it wins on equal specificity.

   PALETTE — the four brand swatches: ivory, sage, Mezrah green, dark grey.

   The hex values printed under the swatches in the brand deck are NOT used.
   Three of the four (#D6CBB6, #9BAAAD, #4B3621) are the mfin3 template's own
   placeholder literals — see the :root block in css/styles.css, which the
   template documents as "the substitution targets". They were pasted into the
   deck by mistake, and their labels do not match the swatches they sit under
   ("IVORY #384168" is a navy; "MEZRAH GREEN #D6CBB6" is a beige). The swatches
   are the brand; the deck's own notes confirm it — "ivory rather than stark
   white", "reads warmer/more established than a cold corporate palette".

   ROLES. The site reads light: ivory ground, dark grey ink, green as the one
   accent. Sage is a mid-tone that cannot carry text at AA in either direction
   (ivory on sage 2.63:1, ink on sage 3.83:1), so it is used ONLY as a
   decorative fill and as an accent on the dark grey band — never as a text
   ground, border, or bullet on ivory. Every shipped pairing is verified AA:
   body+heading ink/ivory 10.06, fine-print soft/ivory 6.00, green/ivory 5.90,
   ivory/grey 10.06, ivory/green 5.90.
   ========================================================================== */

:root {
  /* Brand swatches */
  --mz-ivory: #F5F1E7;   /* IVORY        — page ground            */
  --mz-sage:  #7BA06B;   /* SAGE         — decorative fill only   */
  --mz-green: #0A6B2D;   /* MEZRAH GREEN — accent, CTA, rules     */
  --mz-grey:  #3A3A3C;   /* DARK GREY    — ink, dark band         */

  /* Grounds */
  --mz-bg:      var(--mz-ivory);
  --mz-bg-alt:  #EBE5D6;   /* deeper ivory for alternating bands  */
  --mz-surface: #FCFAF4;   /* header, cards, tiers — a derived
                              tint, NOT a brand colour. The footer
                              takes brand --mz-ivory.                */
  --mz-band:    var(--mz-grey);  /* the one dark band             */

  /* Ink */
  --mz-ink:       var(--mz-grey);
  --mz-ink-muted: var(--mz-grey); /* body copy — full brand grey,
                                     10.06:1 on ivory, matching the
                                     Who We Are tier                  */
  --mz-ink-soft:  #5B5B5E;   /* fine print only, 6.00:1 on ivory   */

  /* Reversed out on the dark grey band / green fills */
  --mz-on-dark:       var(--mz-ivory);
  --mz-on-dark-muted: #D0CCC5;   /* 7.09:1 on grey                */
  --mz-on-green-muted:#D2DDCB;   /* 4.74:1 on green               */

  --mz-hairline:        rgba(58, 58, 60, 0.18);
  --mz-hairline-strong: rgba(58, 58, 60, 0.30);

  /* Template variable overrides */
  --color-primary: var(--mz-green);
  --color-text: var(--mz-ink);
  --color-dark: var(--mz-grey);
  --color-white: #FFFFFF;


  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;

  --header-height: 110px;
  --gutter: 32px;
  --container-max: 1500px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--mz-ink);
  background: var(--mz-bg);
  -webkit-font-smoothing: antialiased;
}

/* Headings run sentence case: every title in the site plan is written that way,
   and the brand mock-up sets them the same. Only eyebrows, nav and buttons
   keep the template's uppercase treatment. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--mz-ink);
}

p { margin: 0 0 20px; }

a { color: inherit; }

::selection { background: var(--mz-green); color: var(--mz-on-dark); }

:focus-visible {
  outline: 3px solid var(--mz-green);
  outline-offset: 3px;
}

.preheadline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--mz-green);
}

/* On the dark grey band the green accent has no contrast (1.70:1), so the
   eyebrow reverses to ivory there. */
.invert-colors .preheadline { color: var(--mz-on-dark); }

.subheadline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.3;
  text-transform: none;
  color: var(--mz-ink);
}

/* Mini headline — a lead-in above a list or a block of copy, one step below an
   h2. Type is identical to the Your Account link-list items
   (.mz-linklist-item): heading serif, 400, 24px/1.3, no transform, ink-soft.
   Only the margins differ — those items get their spacing from the list's
   row padding and hairlines. */
.mini-headline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  text-transform: none;
  color: var(--mz-ink-soft);
  margin: 0 0 24px;
}

/* Following body copy, it needs air above it to read as a new block. */
/* Collapses against the paragraph's own 20px bottom margin, so this is the
   whole gap above rather than an addition to it. */
p + .mini-headline { margin-top: 20px; }

.invert-colors .mini-headline { color: var(--mz-on-dark-muted); }

.line-across { background: var(--mz-green); }

/* --------------------------------------------------------------------------
   Header

   The template floats a transparent header over the banner and reverses the
   logo with a brightness/invert filter. The brand guide forbids any change to
   the logo, so the header is an opaque warm ivory at rest and that filter is
   switched off everywhere. Structure, spacing and the full-width
   header-container are the template's, untouched.
   -------------------------------------------------------------------------- */

.site-header { background: var(--mz-surface); }

.site-header.is-compact {
  background: var(--mz-surface);
  box-shadow: 0 2px 12px rgba(58, 58, 60, 0.10);
}

/* The logo sits directly on the ivory ground, unaltered — no recolouring,
   no plate, only the template's scale-on-scroll. Sized down from the
   template's 400px because this site's menu has six items (two of them long)
   and the template's width makes the nav wrap at 1440. */
.site-logo img { width: 320px; }
.site-header.is-compact .site-logo img { width: 240px; }

/* Kill every logo recolouring rule the template ships. */
.site-logo img,
.has-banner .site-header:not(.is-compact) .site-logo img { filter: none; }

/* Everything in the header reads against the ivory ground. */
.titan-header-menu > li > a,
.has-banner .site-header:not(.is-compact) .titan-header-menu > li > a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.2px;
  color: var(--mz-ink);
  padding: 16px 12px;
  white-space: nowrap;
}

.titan-header-menu > li:hover > a,
.titan-header-menu > li.is-open > a,
.titan-header-menu > li.current-menu-item > a,
.has-banner .site-header:not(.is-compact) .titan-header-menu > li:hover > a,
.has-banner .site-header:not(.is-compact) .titan-header-menu > li.is-open > a {
  color: var(--mz-green);
  border-bottom-color: var(--mz-green);
}

/* Dropdown panel sits on the deeper ivory band value. */
.titan-header-menu .sub-menu { background: var(--mz-bg-alt); }

.titan-header-menu .sub-menu a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.6px;
  text-transform: none;
  color: var(--mz-ink);
  padding: 9px 24px;
}

.titan-header-menu .sub-menu a:hover { color: var(--mz-green); }

/* "Your Account" — the template's outlined button, keyed to the green accent. */
.header-cta,
.has-banner .site-header:not(.is-compact) .header-cta {
  background: transparent;
  border: 2px solid var(--mz-green);
  color: var(--mz-green);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  white-space: nowrap;
}

.header-cta:hover,
.has-banner .site-header:not(.is-compact) .header-cta:hover {
  background: var(--mz-green);
  color: var(--mz-on-dark);
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after,
.has-banner .site-header:not(.is-compact) .hamburger-inner,
.has-banner .site-header:not(.is-compact) .hamburger-inner::before,
.has-banner .site-header:not(.is-compact) .hamburger-inner::after { background: var(--mz-ink); }

/* Mobile drawer matches the header, per the template. */
.mobile-navigation { background: var(--mz-surface); }
.titan-mobile-menu a { color: var(--mz-ink); font-family: var(--font-body); font-size: 15px; }
.titan-mobile-menu > li > a { border-bottom: 1px solid var(--mz-hairline); }
.titan-mobile-menu .sub-menu a { text-transform: none; }

/* No social rail anywhere — the brand deck rules out a social bar. */
.social-share { display: none !important; }

/* --------------------------------------------------------------------------
   Homepage hero
   -------------------------------------------------------------------------- */

/* The template's hero exactly: no photograph, flat ivory ground, centred text. */
.hero-overlay { background: var(--mz-bg); }

.overlay-text .preheadline {
  letter-spacing: 3px;
  margin-bottom: 24px;
  color: var(--mz-green);
}

/* Sized so the headline's two authored lines hold at the container cap
   without wrapping to a third. */
.overlay-text h1 {
  font-size: clamp(34px, 4.9vw, 74px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--mz-ink);
}

.overlay-text h2 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--mz-ink-muted);
  text-transform: none;
  max-width: 62ch;
  margin: 28px auto 0;
}

.overlay-text .line-across { background: var(--mz-green); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

/* Colour only — width and type come from the shared .button rule above. */
.hero-actions .button {
  border-color: var(--mz-green);
  color: var(--mz-green);
}

@media (max-width: 767px) {
  .hero-actions { flex-direction: column; align-items: center; }
}

.hero-actions .button:hover {
  background: var(--mz-green);
  border-color: var(--mz-green);
  color: var(--mz-on-dark);
}

.hero-actions .button.primary {
  background: var(--mz-green);
  color: var(--mz-on-dark);
}

.hero-actions .button.primary:hover {
  background: transparent;
  color: var(--mz-green);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

/* ONE button geometry for the whole site. Only the two colours change with
   the ground it sits on (green on ivory, ivory on the dark band). Every
   button shares this type, padding, border weight and minimum width so they
   line up wherever they appear. */
.button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.2;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 15px 28px;
  min-width: 240px;
  text-align: center;
  border: 2px solid var(--mz-green);
  color: var(--mz-green);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

@media (max-width: 480px) {
  .button { min-width: 0; width: 100%; }
}

.button:hover {
  background: var(--mz-green);
  border-color: var(--mz-green);
  color: var(--mz-on-dark);
}

.button.primary {
  background: var(--mz-green);
  color: var(--mz-on-dark);
}

.button.primary:hover {
  background: transparent;
  color: var(--mz-green);
}

/* Buttons sitting on the dark grey band reverse to ivory — green on grey is
   1.70:1 and unusable there. */
.invert-colors .button,
.mz-testimonial .button {
  border-color: var(--mz-on-dark);
  color: var(--mz-on-dark);
}

.invert-colors .button:hover,
.mz-testimonial .button:hover {
  background: var(--mz-on-dark);
  border-color: var(--mz-on-dark);
  color: var(--mz-grey);
}

.invert-colors .button.primary,
.mz-testimonial .button.primary {
  background: var(--mz-on-dark);
  color: var(--mz-grey);
}

.invert-colors .button.primary:hover,
.mz-testimonial .button.primary:hover {
  background: transparent;
  color: var(--mz-on-dark);
}

/* --------------------------------------------------------------------------
   Interior page banner
   -------------------------------------------------------------------------- */

/* Page title sits 60px from the left edge of the screen and 60px up from the
   bottom of the banner. .entry-header is full-bleed, so its padding is the
   distance from the viewport edge. */
.entry-header {
  min-height: 54vh;
  padding: 220px 60px 60px;
  align-items: flex-end;
  justify-content: flex-start;
}

/* The template's flat scrim, not a gradient. Deepened slightly so the ivory
   title clears AA over any photograph behind it. */
.entry-header::after { background: rgba(30, 30, 31, 0.52); }

/* Banners carrying the brand green flat instead of a photograph. There is no
   image beneath, so the scrim comes off — it would only muddy the green. The
   ivory title holds 5.90:1 on MEZRAH GREEN. */
.entry-header.is-solid-green { background: var(--mz-green); }
.entry-header.is-solid-green::after { content: none; }

/* Calculators: dusk skyline over the river, 3:2. The parallax layer runs well
   up behind the opaque site header, so the top fifth of the frame is never
   seen — the tallest tower's crown can't be kept at this banner height. Hard to
   the top shows the most sky and keeps the other crowns clear of the edge. */
.entry-header .image-background[style*='hero-calculators'] {
  background-position: 50% 0%;
}

/* Contact: centred, the top edge cut well down into the towers. A little above
   centre brings the skyline back — the spire reaches the top edge rather than
   sitting below it — while keeping the palms along the bottom, where the ivory
   title sits against them at 8:1. */
.entry-header .image-background[style*='hero-contact'] {
  background-position: 50% 25%;
}

.entry-header .page-title {
  width: auto;
  max-width: none;
  margin: 0;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.05;
  color: var(--mz-on-dark);
}

@media (max-width: 767px) {
  .entry-header { min-height: 0; padding: 170px 24px 40px; }
}


/* --------------------------------------------------------------------------
   Tiers
   -------------------------------------------------------------------------- */

.mfin-tier, .titan-tier { padding: 104px var(--gutter); }

.invert-colors { background: var(--mz-band); color: var(--mz-on-dark); }

.invert-colors h1,
.invert-colors h2,
.invert-colors h3,
.invert-colors h4,
.invert-colors .subheadline { color: var(--mz-on-dark); }

/* .tier-title p covers the split tiers, where the template drops body copy
   inside the title block rather than a .tier-content wrapper. Without it those
   paragraphs inherit full-strength ivory, which is hot for a long read. */
.invert-colors .tier-content p,
.invert-colors .tier-title p,
.invert-colors .wysiwyg-content p,
.invert-colors .mz-list li { color: var(--mz-on-dark-muted); }

/* Sage reads as an accent on the dark band (3.83:1) — decorative rules only. */
.invert-colors .line-across,
.invert-colors .mz-list li::before { background: var(--mz-sage); }

.tier-title h2 {
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.12;
  margin: 0;
}

.tier-title .preheadline + h2 { margin-top: 14px; }

.tier-content { margin-top: 24px; }

.tier-content p,
.wysiwyg-content p { line-height: 1.75; margin-bottom: 20px; color: var(--mz-ink-muted); }

.tier-content p strong { color: var(--mz-ink); }

/* A readable measure is ALWAYS centred — a narrow column left-hugging a wide
   container with dead space beside it is not shippable. */
.measure {
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

/* Full width by design — the template's own comment: "the image runs out to
   the gutter rather than stopping at the container cap". Only the two colours
   change; the 128px padding and the 100%-width wrap are the template's.
   The image panel is the one place sage carries real area: it is purely
   decorative and sits behind a photograph. */
/* The colour is not redundant: styles.css sets this tier to white text for the
   old navy palette. Interior pages are saved by the blanket .has-banner
   colours, but the homepage carries no body class, so without this its copy
   inherits white on a light ground. */
.mfin-tier-style-1 {
  background: var(--mz-bg-alt);
  color: var(--mz-ink);
  padding: 128px var(--gutter);
}
.mfin-tier-style-1 .image-background { background: var(--mz-sage); }

/* Split-tier photographs are cropped twice: once in the file, then again by
   cover, because this cell's height comes from the prose beside it and so its
   shape moves with the viewport and the copy. Centred, that second crop eats
   the top of the frame — which is where the subject is in both of these. Both
   are matched on the inline background-image, so no markup change is needed.

   Fee Only: the crescent finial on the University of Tampa minaret sits within
   three per cent of the top edge of the photograph, with no sky above it to
   spend. Anchoring to the top spends the whole of the second crop on the lawn
   along the bottom instead, so the moon is clear once the tier is in view. */
.mfin-tier-style-1 .inner-image-background[style*='layer-fee-only-planning'] {
  background-position: 50% 0;
}

/* Investment Management: a portrait file in a cell that renders close to
   square, so cover takes a third of the height, and the parallax swings the
   frame another seven per cent as you scroll past. Centred, that beheads the
   green tower and the gabled crown of 100 North Tampa — the two roofs that
   make this skyline recognisable. Anchored to the top, the whole roofline
   stays in shot and the crop is spent on the interstate along the bottom.
   Both files carry a band of extended sky above the roofs to absorb the
   parallax swing. */
.mfin-tier-style-1 .inner-image-background[style*='layer-investment-management'] {
  background-position: 50% 0;
}

/* index.html carries .invert-colors on this split block. Under the old navy
   palette it was a dark band, and it carried a .invert-colors that the ivory
   palette had to undo. It is a light tier now and says so.

   The homepage stacks hero → this → services → testimonial → footer, and no
   two adjacent grounds may repeat. Hero is --mz-bg and services is
   --mz-bg-alt, so this tier takes the one remaining light value, the warm
   near-white shared with the header and the service cards. Ink on it is
   10.87:1 and green 6.38:1. */
.mfin-tier.is-surface { background: var(--mz-surface); }

/* Bulleted lists — the plan uses them heavily on the service pages. */
.mz-list { margin: 0 0 20px; padding: 0; list-style: none; }

.mz-list li {
  position: relative;
  padding: 0 0 14px 30px;
  color: var(--mz-ink-muted);
  line-height: 1.7;
}

.mz-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--mz-green);
}

.mz-list.two-col { columns: 2; column-gap: 56px; }
.mz-list.two-col li { break-inside: avoid; }

@media (max-width: 767px) {
  .mz-list.two-col { columns: 1; }
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */

/* One treatment everywhere: deeper ivory ground, lighter cards lifted off it.
   The homepage used to run this inverted — light ground, band-value cards —
   because the Who We Are tier above it was also --mz-bg-alt and the two would
   have read as one continuous field. That tier is the dark band now, so the
   ground below it can be the deeper ivory and the homepage matches What We Do. */
.mfin-services { background: var(--mz-bg-alt); padding: 104px var(--gutter); }

.mfin-services .tier-title { margin-bottom: 56px; }

/* Five cards over a three-up grid leaves two on the last row; centring the
   wrap keeps that row balanced instead of stranding a gap on the right. */
.mfin-services-style-1-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: var(--container-max);
  margin: 0 auto;
}

.inner-service-item {
  display: flex;
  flex-direction: column;
  background: var(--mz-surface);
  border: 1px solid var(--mz-hairline);
  box-shadow: none;
  padding: 0 0 28px;
  transition: transform 250ms ease, border-color 250ms ease;
}

.mfin-services-item a.inner-service-item:hover {
  transform: translateY(-6px);
  border-color: var(--mz-green);
}

/* No overflow clipping here — the icon badge is meant to break the lower edge. */
.service-image { margin: 0 0 44px; }

.service-image img { aspect-ratio: 3 / 2; object-fit: cover; }

.service-icon {
  bottom: -28px;
  width: 56px;
  height: 56px;
  background: var(--mz-green);
  color: var(--mz-on-dark);
  font-size: 20px;
}

.mfin-services-item h3 {
  font-size: 26px;
  line-height: 1.2;
  color: var(--mz-ink);
  margin: 22px 22px 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mz-green);
}

.service-content {
  padding: 0 22px;
  color: var(--mz-ink-muted);
  flex: 1 1 auto;
}

.service-content p { font-size: 15.5px; line-height: 1.7; }

.service-more {
  display: inline-block;
  margin: 20px 22px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mz-green);
}

.mfin-services-item a.inner-service-item:hover .service-more { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Quote band
   -------------------------------------------------------------------------- */

.titan-quote-tier { padding: 220px var(--gutter); }

/* A warm ivory wash over the photograph, with the quote set in ink — the
   inverse of the template's dark scrim, and the reason the wash is taken to
   88%: it guarantees the 10:1 ink pairing regardless of the image beneath. */
.titan-quote-tier .tier-bg-overlay {
  background: color-mix(in srgb, var(--mz-bg) 88%, transparent);
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 66px);
  line-height: 1.25;
  color: var(--mz-ink);
}

.quote-text p { line-height: 1.25; }

/* --------------------------------------------------------------------------
   Accordion — plan: Life Insurance tiers 6–7, Estate Planning tiers 2–4
   -------------------------------------------------------------------------- */

.mz-accordion { border-top: 1px solid var(--mz-hairline); max-width: var(--container-max); margin: 32px auto 0; }

.mz-accordion-item { border-bottom: 1px solid var(--mz-hairline); }

.mz-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  color: var(--mz-ink);
  transition: color 200ms ease, padding-left 250ms ease;
}

.mz-accordion-trigger:hover { color: var(--mz-green); padding-left: 10px; }

.mz-accordion-trigger .mz-accordion-mark {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}

.mz-accordion-trigger .mz-accordion-mark::before,
.mz-accordion-trigger .mz-accordion-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--mz-green);
  transition: transform 250ms ease;
}

.mz-accordion-trigger .mz-accordion-mark::after { transform: rotate(90deg); }

.mz-accordion-trigger[aria-expanded='true'] .mz-accordion-mark::after { transform: rotate(0deg); }

.mz-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.33, 1, 0.68, 1);
}

.mz-accordion-panel > div { overflow: hidden; }

.mz-accordion-item.is-open .mz-accordion-panel { grid-template-rows: 1fr; }

.mz-accordion-body { padding: 4px 0 32px; max-width: 90ch; }

.mz-accordion-body p { color: var(--mz-ink-muted); }

@media (prefers-reduced-motion: reduce) {
  .mz-accordion-panel { transition: none; }
}

/* --------------------------------------------------------------------------
   Flip tiles — plan: Life Insurance tiers 2–4, Careers job tiers 2–4
   -------------------------------------------------------------------------- */

.mz-flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: var(--container-max);
  margin: 40px auto 0;
}

.mz-flip {
  position: relative;
  min-height: 340px;
  perspective: 1400px;
  background: none;
}

.mz-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  transition: transform 620ms cubic-bezier(0.33, 1, 0.68, 1);
  transform-style: preserve-3d;
}

.mz-flip:hover .mz-flip-inner,
.mz-flip:focus-within .mz-flip-inner { transform: rotateY(180deg); }

.mz-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border: 1px solid var(--mz-hairline);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow-y: auto;
}

.mz-flip-front { background: var(--mz-surface); }

.mz-flip-front h3 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
  color: var(--mz-ink);
}

.mz-flip-front .mz-flip-hint {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--mz-green);
}

.mz-flip-front .mz-flip-index {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 1;
  color: var(--mz-green);
  margin-bottom: 18px;
}

.mz-flip-back {
  background: var(--mz-green);
  color: var(--mz-on-dark);
  border-color: transparent;
  transform: rotateY(180deg);
  justify-content: flex-start;
}

.mz-flip-back h3 { color: var(--mz-on-dark); }

.mz-flip-back p,
.mz-flip-back li { color: var(--mz-on-green-muted); font-size: 15px; line-height: 1.65; }

.mz-flip-back .mz-list li::before { background: var(--mz-on-dark); }

.mz-flip-back p:last-child { margin-bottom: 0; }

/* Without JS/hover (touch), show both faces stacked rather than hiding copy. */
@media (hover: none) {
  .mz-flip { min-height: 0; perspective: none; }
  .mz-flip-inner { transform: none !important; min-height: 0; }
  .mz-flip-face { position: static; inset: auto; }
  .mz-flip-front { padding-bottom: 20px; }
  .mz-flip-front .mz-flip-hint { display: none; }
  .mz-flip-back { transform: none; border-top: 0; }
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */

.titan-team { padding: 104px var(--gutter); }

/* Three across at most. Flex rather than grid so that a short row centres
   instead of stranding cards against the left edge. Seven people would pack
   3 / 3 / 1 on their own, so .mz-team-row-break below splits them 2 / 3 / 2. */
.mz-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 32px;
  /* Row spacing comes from .mz-team-row-break below, which is its own flex
     line. A row-gap here would stack on both sides of every break and double
     the spacing. The 1023px query restores it once the breaks are dropped. */
  row-gap: 0;
  max-width: var(--container-max);
  margin: 48px auto 0;
}

/* min-width:0 overrides the automatic minimum size flex items get. Without it
   a card cannot go below its min-content width (~294px), which at some
   viewports is a hair wider than the third it is allotted — the card is clamped
   up, the row overflows, and the third card wraps away on its own. 1024px hit
   this exactly. The 0.02px is a further rounding guard for viewports where the
   basis plus gaps lands precisely on the container width. Neither is a design
   value; the visible column width is still the 1/3 and 1/2 below. */
.mz-team-grid > * { flex: 0 0 calc((100% - 64px) / 3 - 0.02px); min-width: 0; }

@media (max-width: 1023px) {
  .mz-team-grid > * { flex: 0 0 calc((100% - 32px) / 2 - 0.02px); }
}

@media (max-width: 639px) {
  .mz-team-grid > * { flex: 0 0 100%; }
}

/* Full-width flex items that force a wrap, giving the requested 2 / 3 / 2
   rows. Each one takes a flex line to itself, so its height *is* the gap
   between the card rows either side of it — hence 32px, matching column-gap.
   Specificity beats `.mz-team-grid > *` above, which also matches. */
.mz-team-grid .mz-team-row-break {
  flex: 0 0 100%;
  height: 32px;
}

/* Two-up and one-up repack on their own, and holding the breaks there would
   re-orphan cards (2 / 2 / 1 / 2). With them gone nothing is left to space the
   rows, so row-gap comes back. */
@media (max-width: 1023px) {
  .mz-team-grid { row-gap: 32px; }
  .mz-team-grid .mz-team-row-break { display: none; }
}

.mz-team-card {
  display: flex;
  flex-direction: column;
  background: var(--mz-surface);
  border: 1px solid var(--mz-hairline);
  transition: transform 250ms ease, border-color 250ms ease;
}

.mz-team-card:hover { transform: translateY(-6px); border-color: var(--mz-green); }

/* Sage sits behind the headshot as a decorative plate — no text on it. */
.mz-team-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--mz-sage); }

.mz-team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.mz-team-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  text-align: center;
}

.mz-team-body h2,
.mz-team-body h3 { font-size: 26px; line-height: 1.2; margin: 0 0 6px; }

.mz-team-role {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--mz-green);
  margin: 0 0 22px;
}

.mz-team-body .button { align-self: center; margin-top: auto; }

/* Staff detail page */
.mz-bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 64px;
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .mz-bio-grid { grid-template-columns: 1fr; gap: 32px; }
}

.mz-bio-photo img { width: 100%; height: auto; border: 1px solid var(--mz-hairline); }

.mz-bio-meta h2 { font-size: clamp(32px, 3.6vw, 52px); margin: 0 0 6px; }

.mz-bio-meta .mz-team-role {
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--mz-green);
}

.mz-bio-body p { color: var(--mz-ink-muted); }

.mz-bio-disclosure {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--mz-hairline);
  font-size: 13px;
  line-height: 1.65;
  color: var(--mz-ink-soft);
}

.mz-bio-disclosure a { text-decoration: underline; }

/* Centred footnote for a section rather than a bio column — same fine-print
   treatment as .mz-bio-disclosure above, which is the site's established
   signal for this. Ink-soft is 6.00:1 on ivory, so it still clears AA. */
.mz-disclosure {
  /* Wide for a reason: at 88ch this ran to three lines under a full-width card
     grid and read as a narrow column stranded in the middle. Two lines need at
     least ~113ch, so this sits past that with room for font metrics to differ
     between browsers. A long measure costs little here — the eye only returns
     to the left margin once. */
  max-width: 124ch;
  margin: 56px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--mz-hairline);
  font-size: 13px;
  line-height: 1.7;
  color: var(--mz-ink-soft);
  text-align: center;
}

.mz-disclosure a { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Link lists (Your Account, Calculators)
   -------------------------------------------------------------------------- */

.mz-linklist { border-top: 1px solid var(--mz-hairline); margin-top: 28px; }

.mz-linklist li { border-bottom: 1px solid var(--mz-hairline); }

.mz-linklist a,
.mz-linklist span.mz-linklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.3;
  color: var(--mz-ink);
  transition: color 200ms ease, padding-left 250ms ease;
}

.mz-linklist a:hover { color: var(--mz-green); padding-left: 12px; }

.mz-linklist a::after {
  content: '\2192';
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--mz-green);
  transition: transform 250ms ease;
}

.mz-linklist a:hover::after { transform: translateX(6px); }

.mz-linklist span.mz-linklist-item { color: var(--mz-ink-soft); }

/* --------------------------------------------------------------------------
   Feed embeds (Education Library, M Financial Group)
   -------------------------------------------------------------------------- */

.mz-feed {
  max-width: var(--container-max);
  margin: 40px auto 0;
  background: var(--mz-surface);
  border: 1px solid var(--mz-hairline);
}

/* --------------------------------------------------------------------------
   M Financial blog feed (Education Library)

   The embed accepts fonts and three colours, but its own stylesheet leaves the
   controls to the browser: the selects get no border at all and render with
   native OS chrome, and the search box is bordered #000. These rules bring the
   three controls onto the site's form styling. Everything is scoped to .mf-feed
   so it cannot reach the rest of the site, and each override is written against
   the unprefixed class the embed also emits.

   NOTE: the embed's CSS misspells its own variable as --mf-color-teriary in
   four places, and the correct --mf-color-tertiary appears nowhere in the file.
   The tertiary colour passed at mount is therefore dead, and anything meant to
   use it falls back to a hard-coded #EAEEF1 — including the rule between posts.
   Those are set explicitly below rather than through the variable.
   -------------------------------------------------------------------------- */

.mf-feed .mf-filter-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 1.6px;
  color: var(--mz-ink-soft);
}

.mf-feed .mf-filter-select,
.mf-feed .mf-search-input {
  -webkit-appearance: none;
  appearance: none;
  height: 46px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--mz-ink);
  background-color: var(--mz-surface);
  border: 1px solid var(--mz-hairline-strong);
  border-radius: 0;
}

/* Native arrow off, brand chevron on — the selects were the only controls on
   the site still showing OS chrome. */
.mf-feed .mf-filter-select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A6B2D' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.mf-feed .mf-search-input::placeholder { color: #6A6A6D; opacity: 1; }

.mf-feed .mf-filter-select:focus,
.mf-feed .mf-search-input:focus { border-color: var(--mz-green); outline: none; }

/* The rule under the controls, at the brand dark rather than a pale grey. */
.mf-feed .mf-feed-filters {
  padding-bottom: 20px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--mz-grey);
}

/* Between posts: the divider the embed intended to draw in the tertiary colour
   before the variable typo dropped it to #EAEEF1. */
.mf-feed .mf-feed-row { border-top: 1px solid var(--mz-green); }
.mf-feed .mf-feed-row:first-child { border-top: 0; }

/* --------------------------------------------------------------------------
   M Financial pom feed — the one dark band inside it

   .pom-section-3 is a photograph under a 50% black overlay and the embed sets
   color:#fff on it, which is right. Two things on our side were undoing that:
   the global h1–h6 ink colour reaches the feed's headings, and the primary
   colour we hand the embed at mount (#3A3A3C, correct on its light tiers) gets
   applied to its paragraphs here too. A direct colour on an element beats an
   inherited one, so both landed near-black on a dark ground — 2.61:1, failing
   AA for normal and large text alike.

   Text goes back to the embed's intent, and the overlay is deepened so white
   clears AA across the whole photo rather than only its darker areas: at 50%
   the band averaged #7A7873, where even pure white reaches just 4.41:1.
   -------------------------------------------------------------------------- */

.mfin-tier .pom-section-3 h1,
.mfin-tier .pom-section-3 h2,
.mfin-tier .pom-section-3 h3,
.mfin-tier .pom-section-3 h4,
.mfin-tier .pom-section-3 p { color: var(--mz-on-dark); }

.mfin-tier .pom-section-3::before { background: rgba(0, 0, 0, 0.66); }


.mz-feed iframe { display: block; width: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.titan-contact-tier { padding: 104px var(--gutter); }

.mz-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .mz-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.lmg-contact-info { font-size: 17px; line-height: 1.8; color: var(--mz-ink-muted); }
.lmg-contact-info a { color: var(--mz-ink); text-decoration: underline; }
.lmg-contact-info a:hover { color: var(--mz-green); }

.mz-contact-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mz-green);
  margin: 0 0 6px;
}

.mz-contact-block { margin-bottom: 28px; }

.mz-map {
  margin-top: 48px;
  border: 1px solid var(--mz-hairline);
  line-height: 0;
}

.mz-map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }

/* Form */
.mfin-form { max-width: 100%; }

.mfin-form label {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 1.6px;
  color: var(--mz-ink-soft);
  margin-bottom: 8px;
}

/* The margin is set here for all four, not just inherited: the template's rule
   in styles.css lists text, email and textarea but omits input[type='tel'], so
   the phone field alone contributed no gap and sat flush against the field
   below it. */
.mfin-form input[type='text'],
.mfin-form input[type='email'],
.mfin-form input[type='tel'],
.mfin-form textarea {
  height: 58px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--mz-ink);
  background: var(--mz-surface);
  border: 1px solid var(--mz-hairline-strong);
  border-radius: 0;
}

.mfin-form textarea { min-height: 170px; height: auto; }

/* Placeholder is held at 4.6:1 on the input ground — AA even though
   placeholders are commonly left below it. */
.mfin-form input::placeholder,
.mfin-form textarea::placeholder { color: #6A6A6D; opacity: 1; }

.mfin-form input:focus,
.mfin-form textarea:focus { border-color: var(--mz-green); outline: none; }

.mfin-form .required { color: var(--mz-green); }

.mz-form-note { font-size: 13px; color: var(--mz-ink-soft); margin-top: 4px; }

/* --------------------------------------------------------------------------
   Sitewide pre-footer testimonial — the site's one dark anchor
   -------------------------------------------------------------------------- */

.mz-testimonial {
  padding: 104px var(--gutter);
  background: var(--mz-band);
  text-align: center;
}

.mz-testimonial blockquote {
  max-width: 80ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.45;
  color: var(--mz-on-dark);
}

.mz-testimonial blockquote p { margin: 0; }

.mz-testimonial cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mz-on-dark-muted);
}

/* Sage as the accent rule on the dark band — 3.83:1, decorative. */
.mz-testimonial .line-across { margin: 32px auto 0; background: var(--mz-sage); }

/* --------------------------------------------------------------------------
   Pre-footer CTA band — the homepage's version of the dark anchor

   Same ground, padding and rule as the testimonial above it, so the page
   still ends on one dark band; only the contents change, from a quote to a
   headline and a single button. .invert-colors on the section carries the
   ground and the reversed button, and the responsive block already sizes
   .mz-cta-band on phones.
   -------------------------------------------------------------------------- */

.mz-cta-band { padding: 104px var(--gutter); text-align: center; }

.mz-cta-band h2 {
  max-width: 24ch;
  margin: 0 auto;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.12;
}

/* Sage rule, like the testimonial's — decorative only on this ground. */
.mz-cta-band .line-across { margin: 32px auto 0; background: var(--mz-sage); }

/* The button is a plain green block — the hero's green rather than the
   reversed ivory the dark band gives its own buttons, since the band and the
   hero overlay are both flat --mz-grey, but with the border taking the fill
   colour rather than the hero's ivory outline. The ivory label carries it at
   5.90:1.

   Hover is the header CTA's deeper green, not the outline the hero reverses
   to: with no ivory border to fall back on, a transparent fill would leave
   green-on-grey at 1.70:1 and the button would all but vanish. */
.mz-cta-band .button.primary {
  background: var(--mz-green);
  border-color: var(--mz-green);
  color: var(--mz-on-dark);
}

.mz-cta-band .button.primary:hover {
  background: #084F21;
  border-color: #084F21;
  color: var(--mz-on-dark);
}

/* --------------------------------------------------------------------------
   Footer — three-column layout adopted from the brand mock-up.

   Kept light so the M Financial and Mezrah marks sit on an ivory ground
   unaltered — the brand guide forbids recolouring either one, and reversing
   the footer would force an invert filter on both.
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--mz-ivory);
  color: var(--mz-ink-soft);
  padding: 88px 48px 40px;
}

.mz-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .mz-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 639px) {
  .mz-footer-inner { grid-template-columns: 1fr; }
  .site-footer { padding: 64px 24px 32px; }
}

/* Unaltered mark on the footer ground — no recolouring, no plate. */
.footer-logo img { width: 260px; margin: 0; filter: none; }

.mz-footer-col h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mz-ink);
  margin: 0 0 22px;
}

.mz-footer-col li { margin-bottom: 12px; }

.mz-footer-col a {
  font-size: 15px;
  color: var(--mz-ink-soft);
  transition: color 200ms ease;
}

.mz-footer-col a:hover { color: var(--mz-green); text-decoration: underline; }

.mz-footer-contact { margin-top: 26px; font-size: 15px; line-height: 1.7; color: var(--mz-ink-soft); }
.mz-footer-contact a { color: var(--mz-ink-soft); }
.mz-footer-contact a:hover { color: var(--mz-green); }

.mz-footer-bottom {
  max-width: var(--container-max);
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--mz-hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--mz-ink-soft);
}

.mz-footer-bottom .member-firm { margin: 0; }
.mz-footer-bottom .member-firm img { width: 200px; margin: 0; filter: brightness(0); opacity: 0.75; }

/* --------------------------------------------------------------------------
   Popups
   -------------------------------------------------------------------------- */

.popup-container { background: var(--mz-surface); border: 1px solid var(--mz-green); }
.popup-container h2 { font-family: var(--font-heading); color: var(--mz-ink); }
.popup-close { background: var(--mz-green); color: var(--mz-on-dark); }

/* .popup-close is a real button on the Life Insurance panels — same chrome
   reset as button.button, since the shared rule only paints it. */
button.popup-close {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

/* Detail panels behind the tier 1 cards. The close control sits inside the
   corner rather than the default overhang, and the heading clears it. */
/* The cap and overflow stay: the panel is centred with a transform, so content
   taller than the window would spill past both edges with no way to reach it,
   close button included. They are only a floor against small windows, though —
   at 85vh the tallest panel (Disability, 749px) landed within a pixel or two of
   the cap on a normal laptop and drew a scrollbar that scrolled nothing. 92vh
   plus slightly tighter padding clears it on any window over ~790px. */
.li-popup {
  width: min(880px, calc(100% - 40px));
  /* Sized off the window rather than a fraction of it, so a scrollbar can only
     appear when the panel would genuinely reach the screen edges — a vh
     fraction left a margin the content could sit inside while still being
     clamped, which is what produced a bar that scrolled nothing. */
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 36px 48px;
  text-align: left;
  /* Shortened from the shared 300ms so a prev/next swap — one panel out, then
     the next in — stays brisk. POPUP_SWAP in js/main.js must match. */
  transition-duration: 220ms;
}

.li-popup .popup-close { top: 20px; right: 20px; }

.li-popup h2 {
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 22px;
  padding-right: 44px;
}

.li-popup p { color: var(--mz-ink-muted); line-height: 1.85; margin: 0 0 20px; }
.li-popup p:last-child,
.li-popup .mz-list:last-child { margin-bottom: 0; }

/* The disclosure travels with the claims it qualifies. Two classes, because
   .li-popup p above is class-plus-element and would otherwise take back the
   spacing and colour the page version sets. Left-aligned and tighter here — it
   sits inside a narrow panel under its copy, not centred under a full tier. */
.li-popup .mz-disclosure {
  max-width: none;
  margin: 34px 0 0;
  padding-top: 20px;
  line-height: 1.7;
  color: var(--mz-ink-soft);
  text-align: left;
}

/* Prev / next between panels. The sections were written to be read in order —
   "The Questions highlight the power of the M Financial Group" assumes you
   just read them — and the cards broke that sequence, so the panels carry it
   instead. Labels are the adjacent card headings verbatim. */
.li-popup-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--mz-hairline);
}

.li-popup-nav button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  max-width: 47%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.35;
  color: var(--mz-ink-soft);
  text-align: left;
  transition: color 200ms ease;
}

.li-popup-nav button:hover { color: var(--mz-green); }

.li-popup-dir { font-family: var(--font-body); font-size: 15px; color: var(--mz-green); }

/* Reversed so the arrow trails the label and the pair hugs the right edge. */
.li-popup-next { flex-direction: row-reverse; text-align: right; }

/* On the first and last panel only one button exists; keep it on its own side. */
.li-popup-next:only-child { margin-left: auto; }

@media (max-width: 640px) {
  .li-popup-nav { flex-direction: column; gap: 16px; }
  .li-popup-nav button { max-width: 100%; }
  .li-popup-next { flex-direction: row; text-align: left; margin-left: 0; }
}

@media (max-width: 767px) {
  .li-popup { padding: 40px 24px; }
  .li-popup h2 { font-size: 27px; }
  .li-popup .popup-close { top: 12px; right: 12px; }
}

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */

.mz-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 14px 22px;
  background: var(--mz-green);
  color: var(--mz-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.mz-skip:focus { left: 16px; top: 16px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  body { font-size: 16px; }
  .mfin-tier, .titan-tier, .titan-team, .titan-contact-tier,
  .mfin-services, .mz-testimonial { padding: 64px 24px; }
  .mfin-tier-style-1 { padding: 64px 24px; }
  .titan-quote-tier { padding: 120px 24px; }
  .mz-cta-band { padding: 56px 24px; }
  .titan-hero { min-height: 0; padding: 160px 24px 80px; }
  .site-logo img { width: 200px; }
  .site-logo a { padding: 8px 12px; }
}

/* ==========================================================================
   INTERIOR PAGES

   Every interior page carries body.has-banner. The palette is now one light
   system sitewide, so these rules mostly agree with the base — they are kept
   because the template's own .has-banner selectors would otherwise reassert
   the stock colours at higher specificity.
   ========================================================================== */

.has-banner { background: var(--mz-bg); color: var(--mz-ink); }

.has-banner .mfin-tier,
.has-banner .titan-tier,
.has-banner .mfin-tier-style-1 {
  background: var(--mz-bg);
  color: var(--mz-ink);
}

/* The reset above lands on every tier of an interior page, and at two classes
   it outranks the grounds those tiers set for themselves. The two deliberate
   ones are restated here rather than given extra specificity back at their own
   rules, so the reset and its exceptions read in one place. */
.has-banner .mfin-services { background: var(--mz-bg-alt); }
.has-banner .mfin-tier.is-surface { background: var(--mz-surface); }
.has-banner .mfin-tier.mz-tier-green { background: var(--mz-green); color: var(--mz-on-green-muted); }

/* The dark band keeps its ground on interior pages too. */
.has-banner .invert-colors { background: var(--mz-band); color: var(--mz-on-dark); }

.has-banner h1,
.has-banner h2,
.has-banner h3,
.has-banner h4,
.has-banner .subheadline { color: var(--mz-ink); }

.has-banner .invert-colors h1,
.has-banner .invert-colors h2,
.has-banner .invert-colors h3,
.has-banner .invert-colors h4,
.has-banner .invert-colors .subheadline { color: var(--mz-on-dark); }

.has-banner p,
.has-banner li,
.has-banner .tier-content p,
.has-banner .wysiwyg-content p,
.has-banner .mz-list li,
.has-banner .mz-bio-body p,
.has-banner .lmg-contact-info { color: var(--mz-ink-muted); }

.has-banner .invert-colors p,
.has-banner .invert-colors li,
.has-banner .invert-colors .tier-content p,
.has-banner .invert-colors .mz-list li { color: var(--mz-on-dark-muted); }

.has-banner .preheadline { color: var(--mz-green); }
.has-banner .invert-colors .preheadline { color: var(--mz-on-dark); }

.has-banner .line-across,
.has-banner .mz-list li::before { background: var(--mz-green); }

.has-banner .invert-colors .line-across,
.has-banner .invert-colors .mz-list li::before { background: var(--mz-sage); }

.has-banner hr,
.has-banner .mz-accordion,
.has-banner .mz-accordion-item,
.has-banner .mz-linklist,
.has-banner .mz-linklist li { border-color: var(--mz-hairline); }

/* Buttons on ivory */
.has-banner .button {
  border-color: var(--mz-green);
  color: var(--mz-green);
}

.has-banner .button:hover {
  background: var(--mz-green);
  border-color: var(--mz-green);
  color: var(--mz-on-dark);
}

.has-banner .button.primary { background: var(--mz-green); color: var(--mz-on-dark); }
.has-banner .button.primary:hover { background: transparent; color: var(--mz-green); }

/* Accordion */
.has-banner .mz-accordion-trigger { color: var(--mz-ink); }
.has-banner .mz-accordion-trigger:hover { color: var(--mz-green); }
.has-banner .mz-accordion-trigger .mz-accordion-mark::before,
.has-banner .mz-accordion-trigger .mz-accordion-mark::after { background: var(--mz-green); }
.has-banner .mz-accordion-body p { color: var(--mz-ink-muted); }

/* Flip tiles — front on the card surface, back reversed out in green */
.has-banner .mz-flip-face { border-color: var(--mz-hairline); }
.has-banner .mz-flip-front { background: var(--mz-surface); }
.has-banner .mz-flip-front h3 { color: var(--mz-ink); }
.has-banner .mz-flip-back { background: var(--mz-green); border-color: transparent; color: var(--mz-on-dark); }
.has-banner .mz-flip-back h3 { color: var(--mz-on-dark); }
.has-banner .mz-flip-back p,
.has-banner .mz-flip-back li { color: var(--mz-on-green-muted); }
.has-banner .mz-flip-back .mz-list li::before { background: var(--mz-on-dark); }

/* Team cards + bio */
.has-banner .mz-team-card { background: var(--mz-surface); border-color: var(--mz-hairline); }
.has-banner .mz-team-card:hover { border-color: var(--mz-green); }
.has-banner .mz-team-photo { background: var(--mz-sage); }
.has-banner .mz-team-role { color: var(--mz-green); }
.has-banner .mz-bio-photo img { border-color: var(--mz-hairline); }
.has-banner .mz-bio-meta .mz-team-role { border-bottom-color: var(--mz-green); }
.has-banner .mz-bio-disclosure { border-top-color: var(--mz-hairline); color: var(--mz-ink-soft); }

/* Link lists */
.has-banner .mz-linklist a { color: var(--mz-ink); }
.has-banner .mz-linklist a:hover { color: var(--mz-green); }
.has-banner .mz-linklist a::after { color: var(--mz-green); }
.has-banner .mz-linklist span.mz-linklist-item { color: var(--mz-ink-soft); }

/* -- Green band tier ------------------------------------------------------
   A reversed tier on the deep green rather than the dark grey .invert-colors
   band, so a page can carry a coloured section without repeating the one
   sitewide dark anchor. Your Accounts uses it on Wealth Management: the two
   tiers above it are deeper ivory and page ivory, and a third light ground in
   a row read as one undifferentiated run.

   The tier is full-bleed — .container carries no cap, and .wrap inside holds
   the content to 1500px — so the colour runs gutter to gutter like the other
   banded tiers.

   Verified on green: ivory heading 5.90, green-muted body and links 4.74,
   ivory link hover 5.90. Sage is only 2.25 here, so the rule and the arrow
   take ivory tones, never sage.
   ------------------------------------------------------------------------ */
.mfin-tier.mz-tier-green,
.mz-tier-green { background: var(--mz-green); color: var(--mz-on-green-muted); }

.mz-tier-green .tier-title h2,
.mz-tier-green .tier-title h3 { color: var(--mz-on-dark); }

.mz-tier-green .tier-title .line-across { background: var(--mz-on-dark); }

.mz-tier-green .tier-content p,
.mz-tier-green .tier-title p,
.mz-tier-green .wysiwyg-content p { color: var(--mz-on-green-muted); }

/* Hairlines to a low-opacity ivory — the ink-based --mz-hairline is invisible
   on this ground. */
.mz-tier-green .mz-linklist,
.mz-tier-green .mz-linklist li { border-color: rgba(245, 241, 231, 0.22); }

.mz-tier-green .mz-linklist a { color: var(--mz-on-green-muted); }
.mz-tier-green .mz-linklist a:hover { color: var(--mz-on-dark); }
.mz-tier-green .mz-linklist a::after { color: var(--mz-on-green-muted); }
.mz-tier-green .mz-linklist a:hover::after { color: var(--mz-on-dark); }
.mz-tier-green .mz-linklist span.mz-linklist-item { color: var(--mz-on-green-muted); }

.mz-tier-green .mz-disclosure {
  border-top-color: rgba(245, 241, 231, 0.22);
  color: var(--mz-on-green-muted);
}

/* Contact */
.has-banner .mz-contact-label { color: var(--mz-green); }
.has-banner .lmg-contact-info a { color: var(--mz-ink); }
.has-banner .mz-map { border-color: var(--mz-hairline); }

.has-banner .mfin-form label { color: var(--mz-ink-soft); }

.has-banner .mfin-form input[type='text'],
.has-banner .mfin-form input[type='email'],
.has-banner .mfin-form input[type='tel'],
.has-banner .mfin-form textarea {
  color: var(--mz-ink);
  background: var(--mz-surface);
  border-color: var(--mz-hairline-strong);
}

.has-banner .mfin-form input::placeholder,
.has-banner .mfin-form textarea::placeholder { color: #6A6A6D; opacity: 1; }

.has-banner .mfin-form input:focus,
.has-banner .mfin-form textarea:focus { border-color: var(--mz-green); }

.has-banner .mfin-form .required { color: var(--mz-green); }

/* Feed embeds */
.has-banner .mz-feed { border-color: var(--mz-hairline); }

/* Pre-footer testimonial keeps the dark band on interior pages — it is the
   one anchor in an otherwise light page, and the blanket .has-banner text
   colours must not reach into it. */
.has-banner .mz-testimonial { background: var(--mz-band); border-top: 0; }

.has-banner .mz-testimonial blockquote,
.has-banner .mz-testimonial blockquote p { color: var(--mz-on-dark); }
.has-banner .mz-testimonial cite { color: var(--mz-on-dark-muted); }
.has-banner .mz-testimonial .line-across { background: var(--mz-sage); }

/* "Back to Team" — sits in the space between the banner and the headshot. */
.mz-back {
  max-width: var(--container-max);
  margin: 0 auto 48px;
}

/* Service cards carry one treatment sitewide (see .inner-service-item); these
   only keep the blanket .has-banner text/button colours from reaching inside. */
.has-banner .mfin-services-item h3 {
  color: var(--mz-ink);
  border-bottom-color: var(--mz-green);
}

.has-banner .service-content,
.has-banner .service-content p { color: var(--mz-ink-muted); }

.has-banner .inner-service-item .button {
  border-color: var(--mz-green);
  color: var(--mz-green);
}

.has-banner .inner-service-item .button:hover {
  background: var(--mz-green);
  border-color: var(--mz-green);
  color: var(--mz-on-dark);
}

/* Both M Financial embeds paint their own pure-white section ground
   (.__2025__pom-tier on Education Library, .__2025__pom-2-tier on M Financial
   Group). Against the ivory page that stacked up as ivory / white / ivory
   bands, reading as a stray tan bar above and below the widget. Transparent
   drops them onto the page ground instead. The colours handed to the widget
   (#3A3A3C ink, #5B5B5E soft, #0A6B2D green) are 10.06 / 6.00 / 5.90 on ivory,
   so nothing loses contrast by removing the white. !important because the
   widget ships its own stylesheet. */
#pom1-feed-root [class*='pom-tier']:not(.pom-section-3),
#pom1-feed-root [class*='pom-section']:not(.pom-section-3),
#pom3-feed-root [class*='pom-2-tier']:not(.pom-section-3),
#pom3-feed-root [class*='pom-2-section']:not(.pom-section-3) {
  background: transparent !important;
}

/* Section 3 — "Collective Strength of the M Community" — is the one section
   whose ground is a photograph, not a flat white: the widget sets
   `background: url(mf-pom/tier-3-background.jpg) center / cover` and reverses
   its type to #fff over a 50% black scrim. The shorthand above was erasing the
   image along with the white, leaving reversed type on the bare ivory page, so
   the section is excluded from the flattening and keeps the image band. */

/* One exception to the flattening above: the opening section takes the lighter
   cream, so the page reads dark hero → surface → ivory → dark band → ivory →
   footer rather than a single ivory run broken only by the band.

   Section 1 rather than 2 on two counts — it puts the brightest ground
   directly after the dark hero, the same arrival the homepage and What We Do
   give their first tier, and it steps down toward the band instead of jumping
   to it from the page's lightest ground. The widget's own value here is #fff,
   which would read cold against a warm palette even if it survived.

   !important and placed after, because the rule above is both. */
#pom1-feed-root .pom-section-1 { background: var(--mz-surface) !important; }

/* The tier's own top padding sat above that first section as a strip of the
   page ivory, so the lighter ground started partway down instead of at the
   hero. The widget's sections bring their own padding, so the tier does not
   need any of its own at the top. */
.mz-feed-tier { padding-top: 0; }

/* The M Financial feed's "A Member of M Financial Group" block (pom1, on the
   Education Library page) puts its logo left of an otherwise centred column.
   Scoped to that block's direct child only — the feed's other images sit in
   .image-left two-column rows that must stay as the feed lays them out. */
#pom1-feed-root .__2025__pom-wrap > img,
#pom3-feed-root .__2025__pom-wrap > img {
  margin-left: auto;
  margin-right: auto;
}

/* Hero CTA entrance — hidden until GSAP reveals it, exactly the way the
   template hides its hero text via .js-anim (that class is only added when
   GSAP actually loaded, so with no JS the buttons render at rest). */
.js-anim .hero-actions .button { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .hero-actions .button { opacity: 1; }
}

/* Same band for a standalone prose section (Fee Only Financial Planning,
   Tier 3). Pair with the template's own .text-center to centre the copy. */
.has-banner .mz-band { background: var(--mz-bg-alt); }

/* ==========================================================================
   Life Insurance — one tier of cards, each opening a detail panel

   Was a stack of term/definition rows across three tiers. Every section is now
   a card in a single grid, with its body in a modal, so .li-row / .li-term /
   .li-def / .li-sub / .li-band are gone along with the tiers that used them.
   ========================================================================== */

.li-tier { padding-top: 96px; padding-bottom: 96px; }

/* Centred lead-in above the card grid. */
.li-intro {
  max-width: 78ch;
  margin: 0 auto 56px;
  text-align: center;
}

.li-intro p { color: var(--mz-ink-muted); line-height: 1.85; margin: 0; }

/* Two named rows — heading, then button — that every card shares via subgrid
   below. The row gap lives here rather than on the card for the same reason:
   subgrid children inherit the parent's tracks and gaps. */
.li-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 36px 28px;
  align-items: stretch;
}

/* The same shell as the service cards on the homepage and What We Do: surface
   ground, hairline border, lift and green edge on hover. Those cards are a
   link end to end, so the state hangs off :hover alone; here only the button
   is interactive, and :focus-within gives keyboard users the same feedback.

   The card spans both parent rows and adopts them as its own, so the heading
   row is as tall as the tallest heading in the set and every rule and button
   lands on one line — the middle heading running longer no longer knocks the
   other two out of step. Where subgrid is unsupported the declaration is
   dropped and each card sizes its own rows, which is only the old ragged
   look, not a broken layout. */
.li-card {
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
  background: var(--mz-surface);
  border: 1px solid var(--mz-hairline);
  padding: 48px 32px;
  text-align: center;
  transition: transform 250ms ease, border-color 250ms ease;
}

.li-card:hover,
.li-card:focus-within { transform: translateY(-6px); border-color: var(--mz-green); }

/* Flex centres a one-line heading against the two-line ones; the rule stays
   pinned to the bottom of the shared row either way. */
.li-card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1.25;
  color: var(--mz-ink);
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mz-green);
}

.li-card .button { min-width: 0; width: 100%; }

/* The trigger has to be a real button to be reachable by keyboard, and .button
   was authored for anchors — this strips the UA's own button chrome. The type
   and colour rules in .button already cover everything else. */
button.button {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  cursor: pointer;
}

/* Stacked, each card sizes its own rows and there is nothing to line up, so
   the one gap value covers both the space inside a card and between them. */
@media (max-width: 900px) {
  .li-cards { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .li-card { padding: 40px 28px; }
}

/* Two-up list inside a detail panel — only the purchase questions use it. */
.li-cols { columns: 2; column-gap: 60px; }
.li-cols li { break-inside: avoid; }

@media (max-width: 1023px) {
  .li-cols { columns: 1; }
}

/* ==========================================================================
   Investment Management — editorial opening + indexed table (approved option 2)

   Asymmetric masthead, the six investment options as numbered full-width rows on
   a light band, then the template's own mfin-tier-style-1 split for the photo.
   ========================================================================== */

.mz-im .im-open { padding: 120px var(--gutter) 104px; }
.mz-im .im-open .wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 80px;
  align-items: start;
}
.mz-im .im-open h2 { font-size: clamp(32px, 3.2vw, 50px); line-height: 1.1; margin: 0; }
.mz-im .im-open .line-across { width: 100%; max-width: 240px; margin: 26px 0 0; }
.mz-im .im-lede {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(24px, 2.7vw, 39px);
  line-height: 1.32;
  color: var(--mz-ink);
  margin: 0;
}
@media (max-width: 1023px) {
  .mz-im .im-open .wrap { grid-template-columns: 1fr; gap: 32px; }
}

.mz-im .im-list { background: var(--mz-bg-alt); padding: 104px var(--gutter); }
.mz-im .im-lead-in {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.4;
  color: var(--mz-ink);
  margin: 0 0 44px;
}
.mz-im .im-table {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: o2;
  border-top: 1px solid var(--mz-hairline-strong);
}
.mz-im .im-table li {
  counter-increment: o2;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--mz-hairline-strong);
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.3vw, 33px);
  line-height: 1.28;
  color: var(--mz-ink);
  transition: padding-left 250ms ease;
}
.mz-im .im-table li::before {
  content: counter(o2, decimal-leading-zero);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.2px;
  color: var(--mz-green);
}
.mz-im .im-table li:hover { padding-left: 14px; }
@media (max-width: 639px) {
  .mz-im .im-table li { grid-template-columns: 56px 1fr; gap: 14px; }
}

.mz-im .im-split .content-cell .line-across { width: 90px; margin: 0 0 26px; }

/* Hidden for now: the rule is an accent under a headline, and this tier has
   no headline, so on its own it reads as an orphan. The markup is still in
   place — delete this one rule to bring it back if a headline is added. */
.mz-im .im-split .content-cell .line-across { display: none; }
.mz-im .im-split .tier-content { margin-top: 0; }
/* The margin was zeroed when this tier held a single paragraph; it holds two
   now, so the gap comes back and only the last one is flush. Set to roughly a
   full line of this copy, so the two read as separate blocks. */
.mz-im .im-split .tier-content p {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.75;
  color: var(--mz-ink-muted);
  margin: 0 0 34px;
}

.mz-im .im-split .tier-content p:last-child { margin-bottom: 0; }
.mz-im .im-split .inner-content-cell { padding-left: 32px; }
@media (max-width: 1023px) { .mz-im .im-split .inner-content-cell { padding-left: 0; } }

.mz-im .im-close { padding: 104px var(--gutter) 120px; }
.mz-im .im-close .wrap { max-width: 780px; text-align: center; }
.mz-im .im-close .line-across { width: 60px; margin: 0 auto 34px; }
.mz-im .im-close p { color: var(--mz-ink-muted); font-size: 18px; line-height: 1.85; margin: 0; }

@media (max-width: 767px) {
  .mz-im .im-open { padding: 64px 24px 48px; }
  .mz-im .im-list { padding: 56px 24px; }
  .mz-im .im-close { padding: 64px 24px 72px; }
}

/* ==========================================================================
   Estate Planning — sticky index rail with scroll-spy (approved option 4)

   320px sticky index beside numbered content panels. This page ships WITHOUT
   GSAP: position: sticky cannot survive ScrollSmoother's transform on
   .smooth-content. See build_estate_planning() in tools/gen-pages.py.
   ========================================================================== */

html { scroll-behavior: smooth; }
.ep-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}
.ep-lead h2 { font-size: clamp(34px, 4.2vw, 62px); margin: 0; }
.ep-lead .line-across { margin: 20px 0 26px; }
.ep-lead p { font-size: 18.5px; line-height: 1.8; margin: 0; }
.ep-lead figure { margin: 0; }
.ep-lead img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.ep-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 88px;
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
}
.ep-index { position: sticky; top: 150px; }
.ep-index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mz-hairline); }
.ep-index li { border-bottom: 1px solid var(--mz-hairline); transition: box-shadow 200ms ease; }
.ep-index a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 20px 0 20px 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mz-ink-soft);
  transition: color 200ms ease, padding-left 200ms ease;
}
.ep-i-num { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; font-family: var(--font-heading); font-size: 22px; line-height: 1; color: var(--mz-green); }
.ep-i-rule { display: block; width: 46px; height: 2px; background: var(--mz-hairline-strong); transform: translateY(-6px); }
.ep-index a:hover { color: var(--mz-green); padding-left: 10px; }
.ep-index li.is-active { box-shadow: inset 3px 0 0 var(--mz-green); }
.ep-index li.is-active a { color: var(--mz-green); font-weight: 600; padding-left: 16px; }
.ep-index li.is-active .ep-i-rule { background: var(--mz-green); }

.ep-panel { padding: 0 0 76px; scroll-margin-top: 150px; }
.ep-panel + .ep-panel { padding-top: 60px; border-top: 1px solid var(--mz-hairline); }
.ep-kicker {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 58px;
  line-height: 1;
  color: var(--mz-green);
  margin: 0 0 18px;
}
.ep-panel h2 { font-size: clamp(27px, 2.9vw, 42px); margin: 0 0 6px; }
.ep-panel .line-across { margin: 16px 0 28px; }
.ep-panel p { font-size: 17.5px; line-height: 1.8; }
.ep-panel .mz-list { margin-top: 26px; }
.ep-figure { margin: 40px 0 0; }
.ep-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 1023px) {
  .ep-layout { grid-template-columns: 1fr; gap: 44px; }
  .ep-index { position: static; }
  .ep-lead { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   Calculators — three centred download cards
   ========================================================================== */

.mz-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: var(--container-max);
  margin: 48px auto 0;
}

@media (max-width: 1023px) { .mz-calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px)  { .mz-calc-grid { grid-template-columns: 1fr; } }

.has-banner .mz-calc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 28px 44px;
  background: var(--mz-surface);
  border: 1px solid var(--mz-hairline);
  transition: border-color 250ms ease, transform 250ms ease;
}

.has-banner .mz-calc-card:hover { border-color: var(--mz-green); transform: translateY(-4px); }

.has-banner .mz-calc-icon {
  font-size: 46px;
  line-height: 1;
  color: var(--mz-green);
  margin-bottom: 24px;
}

.has-banner .mz-calc-card h3 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 28px;
}

.mz-calc-card .button { margin-top: auto; }

/* No file supplied yet — shown, but not pretending to be a working link.
   WCAG exempts inactive controls from contrast, but 0.35 rendered the label at
   1.9:1 and it simply could not be read; 0.7 clears 3:1 and still reads as off. */
.button.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Careers — split screen (approved option 2)
   ========================================================================== */

/* Option 2 — one split screen. Everything sits above the fold on a laptop:
   copy in the left half, the photograph edge-to-edge in the right half. */
.cr-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 76vh;
}
.cr-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 7vw, 124px) clamp(32px, 5vw, 88px);
}
.cr-inner { width: 100%; max-width: 660px; margin: 0 auto; }
.cr-inner h2 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.12; margin: 0; }
.cr-inner .line-across { margin: 24px 0 30px; }
.cr-inner > p { font-size: 18px; line-height: 1.8; color: var(--mz-ink-muted); margin: 0 0 48px; }

.cr-post {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--mz-hairline-strong);
}
.cr-post li { border-bottom: 1px solid var(--mz-hairline-strong); }
.cr-post a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 26px;
  gap: 20px;
  align-items: baseline;
  padding: 28px 0;
  transition: padding-left 250ms ease;
}
.cr-num {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-family: var(--font-heading);
  font-size: 27px;
  line-height: 1;
  color: var(--mz-green);
}
.cr-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.1vw, 33px);
  line-height: 1.25;
  color: var(--mz-ink);
}
.cr-post a::after {
  content: '\2192';
  justify-self: end;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--mz-green);
  transition: transform 250ms ease;
}
.cr-post a:hover { padding-left: 12px; }
.cr-post a:hover::after { transform: translateX(6px); }

.cr-figure {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

@media (max-width: 1023px) {
  .cr-split { grid-template-columns: 1fr; min-height: 0; }
  .cr-figure { min-height: 380px; order: 2; }
  .cr-copy { order: 1; }
}

/* ==========================================================================
   Account Manager, Client Services — staged bands (approved option 4)
   ========================================================================== */

/* Option 4 — staged bands. Each list gets its own full-bleed stage,
   alternating ivory and the deeper ivory band, marked by an oversized
   numeral. Nothing is hidden; the page is paced instead. */
/* Job Summary and Principal Duties are peers — the two halves of the job
   description. Principal Duties is the parent of the numbered stages below
   (Essential Duties, Skills, Job Requirements are all principal duties), so it
   closes this tier as their header rather than sitting over the summary. */

.am-lead {
  max-width: 80ch;
  margin: 0 auto 72px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.45;
  color: var(--mz-ink);
}

/* Heading beside its copy, with the pair centred on the tier's axis. Hanging
   the heading on the 180px rail that belongs to the numbered stages below is
   what threw this off centre — that rail starts at the container edge, so the
   block sat left of the lead and the divider. */
.am-summary {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

/* Trial divider. 1px against the 2px of .line-across, so it reads as quieter
   than the site's horizontal rules rather than competing with them. Sits in
   the middle of the gap — the offset is half of it, so both track the column
   values above. Spans the taller column, which the centred alignment then
   balances the heading against. */
.am-summary::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(210px + (48px / 2));
  width: 1px;
  background: var(--mz-green);
}

/* Smaller than the divider heading below it, which governs three whole
   sections rather than one paragraph — they are peers in the document, but
   not in how much they carry. */
/* Sized to sit with .am-duties-head rather than with the stages — the two are
   peers, the halves of the job description, even though they never appear in
   the same view. */
.am-summary h2 { font-size: clamp(26px, 2.85vw, 40px); line-height: 1.15; margin: 0; }

.am-summary p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mz-ink-muted);
  margin: 0;
}

/* Principal Duties and its three stages are one section, so they share one
   ground. They used to alternate ivory and band between every stage, which cut
   the group into four unrelated strips — the separation was doing the opposite
   of grouping. The wrapper carries the colour and the outer padding; the tiers
   inside give theirs up and are divided by hairlines instead. */
.am-duties { background: var(--mz-bg-alt); padding: 96px var(--gutter) 104px; }

/* Beats the blanket .has-banner reset, which would repaint each one ivory. */
.has-banner .am-duties .mfin-tier { background: transparent; }

.am-duties .mfin-tier { padding: 0; }

.am-duties-head { text-align: center; }
.am-duties-head h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.1; margin: 0; }
.am-duties-head .line-across { width: 70px; margin: 26px auto 0; }

/* A clear step down from the section heading to the first stage — on one
   shared ground the two ran together, which the alternating colours used to
   hide. Larger than the gap between stages, so the heading reads as a level
   above them rather than as a peer. */
.am-duties .am-stage { margin-top: 104px; }

.am-duties .am-stage + .am-stage {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--mz-hairline);
}

.am-stage .wrap {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
/* Two classes: .am-stage p below would otherwise win on specificity. */
.am-stage .am-num {
  font-family: var(--font-heading);
  font-weight: 300;
  /* Held at roughly 2.5x its heading. At 7vw it was 3.2x once the stage
     headings came down, and the numeral swamped the label beside it. */
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 0.9;
  color: var(--mz-green);
  margin: 0;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
/* A real step below .am-duties-head, which is their parent. At 2.8vw these
   landed within 7% of it and the four headings read as peers. */
.am-stage h2 { font-size: clamp(23px, 2.2vw, 31px); line-height: 1.15; margin: 0; }
.am-stage .line-across { margin: 20px 0 30px; }
.am-stage p { font-size: 17px; line-height: 1.8; }
.am-stage .mz-list li { padding-bottom: 16px; }
.am-stage .mz-list:last-child { margin-bottom: 0; }

/* Tightened around the Note label. At 72ch and 18px the paragraph ran twelve
   times the width of the 60px rule, so a small centred stack sat over a wide
   block; the gaps were sized for a full heading rather than a 24px label. */
/* 66ch breaks the note into two balanced lines; narrower drops a single word
   onto a third, wider leaves the second line short. */
.am-close .wrap { max-width: 66ch; margin: 0 auto; text-align: center; }
.am-close .mini-headline { margin-bottom: 14px; }
.am-close .line-across { width: 60px; margin: 0 auto 24px; }

/* :not() keeps this off the Note label — .mini-headline is a <p> too, and at
   one class it loses to this rule's class-plus-element, so the label was
   being set at body size and rendering smaller than the copy under it. */
.am-close p:not(.mini-headline) {
  font-size: 17px;
  line-height: 1.8;
  /* Recedes as an aside without changing face. 6.00:1 on ivory, so still AA. */
  color: var(--mz-ink-soft);
}

@media (max-width: 1023px) {
  .am-stage .wrap { grid-template-columns: 1fr; gap: 16px; }
  .am-summary { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .am-summary::before { display: none; }   /* one column — nothing to divide */
  .am-lead { margin-bottom: 48px; }
  .am-open-divider { margin-top: 64px; }
}

/* Calculators intro copy, added per the revisions document. */
.has-banner .mz-calc-intro { margin: 26px auto 0; }
.has-banner .mz-calc-intro p { color: var(--mz-ink-muted); }
.has-banner .mz-calc-intro a { color: var(--mz-green); text-decoration: underline; }


/* ==========================================================================
   MOODY THEME — homepage and What We Do only (body.mz-moody)

   A dark-leaning treatment of the same four brand swatches, for the client to
   compare against the light default. Every other page is untouched: the theme
   only takes effect under .mz-moody, and it sits last in the file so it wins
   the source-order ties against the .has-banner rules above.

   Three measurements shaped it:
     · sage on green is 2.25:1, so rules on green tiers are ivory, not sage
     · green on grey is 1.70:1, so a green-filled button on a dark ground is
       unidentifiable — it carries an ivory border to define its edge
     · grey and green are 1.70:1 apart, i.e. near-identical in luminance. They
       read as a hue shift rather than a light/dark step, so the cream service
       cards do the work of breaking the dark run up.

   Verified AA: ivory/grey 10.06, muted/grey 7.09, ivory/green 5.90,
   green-muted/green 4.74, sage/grey 3.83 (non-text), cream card on grey 10.87.

   Header and footer stay light — the logo is dark green and dark grey on
   transparent, and the brand guide forbids altering it, so it cannot sit on a
   dark ground. A reversed logo asset would unlock fully dark chrome.
   ========================================================================== */

body.mz-moody { background: var(--mz-grey); color: var(--mz-on-dark); }

/* -- Header ---------------------------------------------------------------
   Homepage only: "Your Accounts" goes from the outlined green button to a
   solid brand-green fill. Ivory on green is 5.90 — AA at the button's 12.5px.
   Hover deepens the fill rather than inverting it, so the button keeps its
   shape against the cream header instead of dropping back to an outline.
   ------------------------------------------------------------------------ */
.mz-moody:not(.has-banner) .header-cta {
  background: var(--mz-green);
  border-color: var(--mz-green);
  color: var(--mz-on-dark);
}

.mz-moody:not(.has-banner) .header-cta:hover {
  background: #084F21;
  border-color: #084F21;
  color: var(--mz-on-dark);
}

/* -- Hero ---------------------------------------------------------------- */
.mz-moody .hero-overlay { background: var(--mz-grey); }
.mz-moody .overlay-text h1 { color: var(--mz-on-dark); }
.mz-moody .overlay-text h2 { color: var(--mz-on-dark-muted); }
.mz-moody .overlay-text .line-across { background: var(--mz-sage); }

.mz-moody .hero-actions .button {
  border-color: var(--mz-on-dark);
  color: var(--mz-on-dark);
  background: transparent;
}

.mz-moody .hero-actions .button:hover {
  background: var(--mz-on-dark);
  border-color: var(--mz-on-dark);
  color: var(--mz-grey);
}

/* Primary matches the header CTA: brand deep green with an ivory label
   (5.90:1). Deep green only carries 1.70:1 against the grey overlay, so the
   ivory border keeps the button's shape readable on the dark ground. */
.mz-moody .hero-actions .button.primary {
  background: var(--mz-green);
  border-color: var(--mz-on-dark);
  color: var(--mz-on-dark);
}

.mz-moody .hero-actions .button.primary:hover {
  background: transparent;
  border-color: var(--mz-on-dark);
  color: var(--mz-on-dark);
}

/* -- Split tier — the deep green band ------------------------------------ */
.mz-moody .mfin-tier-style-1,
.mz-moody .mfin-tier-style-1.is-surface,
.mz-moody.has-banner .mfin-tier.is-surface {
  background: var(--mz-green);
  color: var(--mz-on-dark);
}

.mz-moody .mfin-tier-style-1 h1,
.mz-moody .mfin-tier-style-1 h2,
.mz-moody .mfin-tier-style-1 h3 { color: var(--mz-on-dark); }

.mz-moody .mfin-tier-style-1 p { color: var(--mz-on-green-muted); }

/* Ivory, not sage — sage is 2.25:1 here. */
.mz-moody .mfin-tier-style-1 .line-across { background: var(--mz-on-dark); }

/* -- Services tier — header cream, so the band reads as the same ground the
   navigation sits on. Homepage only; What We Do overrides it to green below.
   ------------------------------------------------------------------------ */
.mz-moody .mfin-services { background: var(--mz-surface); }

.mz-moody .mfin-services .tier-title h2 { color: var(--mz-ink); }
.mz-moody .mfin-services .tier-title .line-across { background: var(--mz-green); }

/* Cards drop to the deeper ivory so they still separate from the cream ground
   — surface on surface would erase them. Ink on --mz-bg-alt is 9.6:1, and the
   edge gains the stronger hairline since the tonal step alone is slight. */
.mz-moody .inner-service-item {
  background: var(--mz-bg-alt);
  border-color: var(--mz-hairline-strong);
}

/* Sage badges, not deep green. Sage is a mid-tone that carries nothing light —
   ivory on it is 2.60 — so the glyph takes the brand dark at 4.84. */
.mz-moody .service-icon {
  background: var(--mz-sage);
  color: #2A2A2C;
}

/* -- Testimonial and footer ----------------------------------------------
   No moody override for either: the quote band takes the brand dark and the
   footer the brand ivory on every page, so both treatments are one sitewide.
   The base rules already supply them.
   ------------------------------------------------------------------------ */

/* -- What We Do only: tier 1 cream, tier 2 green --------------------------
   The page inverts the homepage's order: the split tier takes the header's
   own cream, and the services tier below it carries the deep green band.
   Its footer is the base cream one, like every page.
   ------------------------------------------------------------------------ */
.mz-moody.has-banner .mfin-tier-style-1,
.mz-moody.has-banner .mfin-tier-style-1.is-surface,
.mz-moody.has-banner .mfin-tier.is-surface {
  background: var(--mz-surface);
  color: var(--mz-ink);
}

.mz-moody.has-banner .mfin-tier-style-1 h1,
.mz-moody.has-banner .mfin-tier-style-1 h2,
.mz-moody.has-banner .mfin-tier-style-1 h3 { color: var(--mz-ink); }

.mz-moody.has-banner .mfin-tier-style-1 p { color: var(--mz-ink-muted); }

.mz-moody.has-banner .mfin-tier-style-1 .line-across { background: var(--mz-green); }

/* Services tier to the deep green band. Ivory heading at 10.4; the rule stays
   ivory too, since sage is only 2.25 on this ground. */
.mz-moody.has-banner .mfin-services { background: var(--mz-green); }

.mz-moody.has-banner .mfin-services .tier-title h2 { color: var(--mz-on-dark); }
.mz-moody.has-banner .mfin-services .tier-title .line-across { background: var(--mz-on-dark); }

/* Cards go back to full cream here — the deeper ivory was only needed to hold
   them off the cream ground on the homepage. On green they read at 9.9. */
.mz-moody.has-banner .inner-service-item {
  background: var(--mz-surface);
  border-color: transparent;
}

/* ==========================================================================
   YOUR ACCOUNTS — the two carrier lists behind their own section titles

   Each tier's title is now the trigger for its own list of logins, so the page
   opens as two names rather than fifteen carrier links. It reuses the site
   accordion (.mz-accordion in mezrah.js) but the trigger has to keep reading
   as the tier heading, not as accordion type: the group's own hairline and
   margins come off, the button takes the h2's face, and the +/- mark sits
   directly beside the title instead of out at the column edge.
   ========================================================================== */

.mz-accounts-accordion { border-top: 0; margin: 0; max-width: none; }

.mz-accounts-accordion .mz-accordion-item { border-bottom: 0; }

.mz-accounts-accordion .mz-accordion-heading { margin: 0; }

.mz-accounts-accordion .mz-accordion-trigger {
  width: auto;
  justify-content: flex-start;
  gap: 20px;
  padding: 0;
  font: inherit;
  color: inherit;
}

/* The heading is too large to slide on hover the way the small triggers do —
   only the colour shifts. */
.mz-accounts-accordion .mz-accordion-trigger:hover {
  padding-left: 0;
  color: var(--mz-green);
}

/* Collapsed panels keep their links out of the tab order — the grid-row
   collapse alone hides them visually but leaves them focusable. Visibility
   waits out the open/close transition so the list still animates. */
.mz-accounts-accordion .mz-accordion-panel > div {
  visibility: hidden;
  transition: visibility 0s linear 320ms;
}

.mz-accounts-accordion .mz-accordion-item.is-open .mz-accordion-panel > div {
  visibility: visible;
  transition-delay: 0s;
}

/* The list brings its own top margin and hairline; the body only needs to
   clear the tier's bottom edge. */
.mz-accounts-accordion .mz-accordion-body { padding: 0 0 4px; max-width: none; }

/* On the green tier the mark and the hover colour both go ivory — green on
   green would disappear. */
.mz-tier-green .mz-accounts-accordion .mz-accordion-mark::before,
.mz-tier-green .mz-accounts-accordion .mz-accordion-mark::after {
  background: var(--mz-on-dark);
}

.mz-tier-green .mz-accounts-accordion .mz-accordion-trigger:hover {
  color: var(--mz-on-dark);
}

@media (prefers-reduced-motion: reduce) {
  .mz-accounts-accordion .mz-accordion-panel > div { transition: none; }
}

/* ==========================================================================
   M FINANCIAL GROUP — the member-firm logo on the feed's opening section

   The widget serves that logo as a JPEG with its own white ground, which the
   ivory page turns into a white block around it. Multiply drops the white into
   the ground behind it and leaves the blue mark alone.

   Multiply needs something to blend into, and the section itself is
   transparent (the flattening rule above wins over the surface colour meant
   for it — an id plus two classes to its id plus one), so the blend would
   resolve against nothing and the white would survive. The section's own
   1024px transform isolates it from the page ground below, so the colour has
   to be painted on the section: page ivory, which is exactly what shows
   through there today, so the band itself does not change. The selector
   carries three classes to clear the flattening rule.
   ========================================================================== */

#pom1-feed-root .__2025__pom-tier.pom-section-1:not(.pom-section-3) {
  background: var(--mz-bg) !important;
}

#pom1-feed-root .pom-section-1 .__2025__pom-wrap > img { mix-blend-mode: multiply; }

/* The feed ships its own button — 17px Inter at default tracking in a 12/24
   box, and on the cream ground it arrives filled with the palette's soft grey,
   a colour the site gives no button anywhere. Both of its links take the site
   button's type and geometry, then the colour their ground calls for: the one
   on cream goes green, like every other button on a cream ground; the one over
   the photograph band keeps an ivory outline, like the buttons on the dark
   band. Scoped by the feed's id, which outweighs the widget's own class rules
   without needing !important. */
#pom1-feed-root .__2025__pom-button {
  min-width: 240px;
  padding: 15px 28px;
  border: 2px solid var(--mz-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.2;
  letter-spacing: 1.6px;
  text-align: center;
  color: var(--mz-on-dark);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

#pom1-feed-root .__2025__pom-button:hover {
  background: var(--mz-on-dark);
  border-color: var(--mz-on-dark);
  color: var(--mz-grey);
}

/* Same order as the widget's own pair — the solid modifier follows, so the
   cream-ground button overrides the outline above. Green on ivory is 5.90:1
   at rest, ivory on green the same on hover. */
#pom1-feed-root .__2025__pom-button--solid {
  background: transparent;
  border-color: var(--mz-green);
  color: var(--mz-green);
}

#pom1-feed-root .__2025__pom-button--solid:hover {
  background: var(--mz-green);
  border-color: var(--mz-green);
  color: var(--mz-on-dark);
}

/* The site drops the minimum width on phones so buttons fill the column. */
@media (max-width: 480px) {
  #pom1-feed-root .__2025__pom-button { min-width: 0; width: 100%; }
}


/* ==========================================================================
   3. WordPress additions (everything above is the static CSS verbatim)
   ========================================================================== */

/* Gravity Forms contact form — the form carries the static .mfin-form class,
   so the field rules above skin it. GF's own CSS is switched off; these rules
   only rebuild the static two-column grid (.grid-x.grid-padding-x / .large-6). */
.mfin-form_wrapper .gform_heading { display: none; }

.mfin-form .gform_fields {
  display: flex;
  flex-flow: row wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.mfin-form .gfield {
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 1024px) {
  .mfin-form .gfield--width-half { width: 50%; max-width: 50%; }
}

.mfin-form .gfield_required { color: var(--mz-green); }
/* Same box as the static <sup class="required">. */
.mfin-form .gfield_required_asterisk { font-size: smaller; vertical-align: super; }

.mfin-form .gfield--type-honeypot,
.mfin-form .gform_hidden,
.mfin-form .gfield_visibility_hidden,
.gform_validation_container {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mfin-form .gfield_validation_message,
.mfin-form .validation_message {
  margin: -12px 0 20px;
  font-size: 13px;
  color: #B3261E;
}

.mfin-form_wrapper .gform_validation_errors { margin-bottom: 20px; }

.mfin-form_wrapper .gform_validation_errors h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: #B3261E;
}

/* Textareas sit on a text baseline, which leaves a gap under them. */
.mfin-form .gfield--type-textarea .validation_message { margin-top: -21px; }

/* Extra class to out-rank `.has-banner .mfin-form input[type=…]`. */
.mfin-form_wrapper .mfin-form .gfield_error input,
.mfin-form_wrapper .mfin-form .gfield_error textarea { border-color: #B3261E; }

.mfin-form .gform_ajax_spinner { width: 20px; height: 20px; margin-left: 12px; vertical-align: middle; }

.gform_confirmation_message { font-size: 17px; color: var(--mz-ink); }

/* ==========================================================================
   November 2026 revisions
   ========================================================================== */

/* Accent rules run the full width of the text block they sit in, like the
   rule under the role on the team bios — not the template's short 60–240px
   dash. The per-section widths below are repeated at their own specificity
   so they all reset. */
.line-across,
.mz-im .im-open .line-across,
.mz-im .im-close .line-across,
.am-duties-head .line-across,
.am-close .line-across {
  width: 100%;
  max-width: none;
}

/* Centred bands: the band itself is full-bleed, so the rule follows the
   heading's measure instead of the screen. */
.mz-cta-band .line-across { max-width: 640px; }
.overlay-text .line-across { max-width: 62ch; }

/* Investment Management tier 2 — a plain list, not links; the hover nudge
   made the rows read as clickable. */
.mz-im .im-table li { transition: none; cursor: default; }
.mz-im .im-table li:hover { padding-left: 0; }

/* Investment Management tier 3 — body copy at the site's body size rather
   than the larger lede size. */
.mz-im .im-split .tier-content p {
  font-size: inherit;
  line-height: 1.75;
}

/* Footer compliance disclosures. */
.mz-footer-disclosures {
  max-width: var(--container-max);
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--mz-hairline);
  font-size: 13px;
  line-height: 1.65;
  color: #000000;
}

.mz-footer-disclosures p { margin: 0 0 12px; }
.mz-footer-disclosures p:last-child { margin-bottom: 0; }
.mz-footer-disclosures a { color: inherit; text-decoration: underline; }
.mz-footer-disclosures a:hover { color: var(--mz-green); }
.mz-footer-disclosures + .mz-footer-bottom { margin-top: 28px; }

/* Header: six top-level items + logo + button don't fit until ~1280px — at
   1024 the logo was squeezed to nothing and the button ran off-screen. Keep
   the hamburger through small laptops / landscape tablets. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header .show-for-large,
  .site-header .show-for-large.header-cta { display: none !important; }
  .site-header .hide-for-large,
  .mobile-navigation.hide-for-large { display: block !important; }
}

/* ==========================================================================
   Icons — the seven Font Awesome 6 Free solid icons the site uses, as CSS
   masks (paths from @fortawesome/free-solid-svg-icons 6.4.2, CC BY 4.0,
   https://fontawesome.com/license/free). Replaces the 720 KB render-blocking
   all.css. Markup is unchanged: <i class="lmg-fa lmg-fa-briefcase"></i>.
   To add an icon, add one more .lmg-fa-NAME::before rule in this format.
   ========================================================================== */
.lmg-fa,
.lmg-fas {
  display: inline-block;
  height: 1em;
  line-height: 1;
  vertical-align: -0.125em;
}

.lmg-fa::before,
.lmg-fas::before {
  content: '';
  display: inline-block;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.lmg-fa-briefcase::before { width: 1em; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z'/%3E%3C/svg%3E"); }
.lmg-fa-calculator::before { width: 0.75em; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM96 64H288c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zm32 160a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM96 352a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM64 416c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM192 256a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm32 64a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm64-64a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm32 64a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM288 448a32 32 0 1 1 0-64 32 32 0 1 1 0 64z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM96 64H288c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zm32 160a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM96 352a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM64 416c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM192 256a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm32 64a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm64-64a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm32 64a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM288 448a32 32 0 1 1 0-64 32 32 0 1 1 0 64z'/%3E%3C/svg%3E"); }
.lmg-fa-chart-line::before { width: 1em; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z'/%3E%3C/svg%3E"); }
.lmg-fa-file-excel::before { width: 0.75em; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM155.7 250.2L192 302.1l36.3-51.9c7.6-10.9 22.6-13.5 33.4-5.9s13.5 22.6 5.9 33.4L221.3 344l46.4 66.2c7.6 10.9 5 25.8-5.9 33.4s-25.8 5-33.4-5.9L192 385.8l-36.3 51.9c-7.6 10.9-22.6 13.5-33.4 5.9s-13.5-22.6-5.9-33.4L162.7 344l-46.4-66.2c-7.6-10.9-5-25.8 5.9-33.4s25.8-5 33.4 5.9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM155.7 250.2L192 302.1l36.3-51.9c7.6-10.9 22.6-13.5 33.4-5.9s13.5 22.6 5.9 33.4L221.3 344l46.4 66.2c7.6 10.9 5 25.8-5.9 33.4s-25.8 5-33.4-5.9L192 385.8l-36.3 51.9c-7.6 10.9-22.6 13.5-33.4 5.9s-13.5-22.6-5.9-33.4L162.7 344l-46.4-66.2c-7.6-10.9-5-25.8 5.9-33.4s25.8-5 33.4 5.9z'/%3E%3C/svg%3E"); }
.lmg-fa-file-invoice-dollar::before { width: 0.75em; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 80c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16zm128 72c8.8 0 16 7.2 16 16v17.3c8.5 1.2 16.7 3.1 24.1 5.1c8.5 2.3 13.6 11 11.3 19.6s-11 13.6-19.6 11.3c-11.1-3-22-5.2-32.1-5.3c-8.4-.1-17.4 1.8-23.6 5.5c-5.7 3.4-8.1 7.3-8.1 12.8c0 3.7 1.3 6.5 7.3 10.1c6.9 4.1 16.6 7.1 29.2 10.9l.5 .1 0 0 0 0c11.3 3.4 25.3 7.6 36.3 14.6c12.1 7.6 22.4 19.7 22.7 38.2c.3 19.3-9.6 33.3-22.9 41.6c-7.7 4.8-16.4 7.6-25.1 9.1V440c0 8.8-7.2 16-16 16s-16-7.2-16-16V422.2c-11.2-2.1-21.7-5.7-30.9-8.9l0 0c-2.1-.7-4.2-1.4-6.2-2.1c-8.4-2.8-12.9-11.9-10.1-20.2s11.9-12.9 20.2-10.1c2.5 .8 4.8 1.6 7.1 2.4l0 0 0 0 0 0c13.6 4.6 24.6 8.4 36.3 8.7c9.1 .3 17.9-1.7 23.7-5.3c5.1-3.2 7.9-7.3 7.8-14c-.1-4.6-1.8-7.8-7.7-11.6c-6.8-4.3-16.5-7.4-29-11.2l-1.6-.5 0 0c-11-3.3-24.3-7.3-34.8-13.7c-12-7.2-22.6-18.9-22.7-37.3c-.1-19.4 10.8-32.8 23.8-40.5c7.5-4.4 15.8-7.2 24.1-8.7V232c0-8.8 7.2-16 16-16z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 80c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16zm128 72c8.8 0 16 7.2 16 16v17.3c8.5 1.2 16.7 3.1 24.1 5.1c8.5 2.3 13.6 11 11.3 19.6s-11 13.6-19.6 11.3c-11.1-3-22-5.2-32.1-5.3c-8.4-.1-17.4 1.8-23.6 5.5c-5.7 3.4-8.1 7.3-8.1 12.8c0 3.7 1.3 6.5 7.3 10.1c6.9 4.1 16.6 7.1 29.2 10.9l.5 .1 0 0 0 0c11.3 3.4 25.3 7.6 36.3 14.6c12.1 7.6 22.4 19.7 22.7 38.2c.3 19.3-9.6 33.3-22.9 41.6c-7.7 4.8-16.4 7.6-25.1 9.1V440c0 8.8-7.2 16-16 16s-16-7.2-16-16V422.2c-11.2-2.1-21.7-5.7-30.9-8.9l0 0c-2.1-.7-4.2-1.4-6.2-2.1c-8.4-2.8-12.9-11.9-10.1-20.2s11.9-12.9 20.2-10.1c2.5 .8 4.8 1.6 7.1 2.4l0 0 0 0 0 0c13.6 4.6 24.6 8.4 36.3 8.7c9.1 .3 17.9-1.7 23.7-5.3c5.1-3.2 7.9-7.3 7.8-14c-.1-4.6-1.8-7.8-7.7-11.6c-6.8-4.3-16.5-7.4-29-11.2l-1.6-.5 0 0c-11-3.3-24.3-7.3-34.8-13.7c-12-7.2-22.6-18.9-22.7-37.3c-.1-19.4 10.8-32.8 23.8-40.5c7.5-4.4 15.8-7.2 24.1-8.7V232c0-8.8 7.2-16 16-16z'/%3E%3C/svg%3E"); }
.lmg-fa-landmark::before { width: 1em; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M240.1 4.2c9.8-5.6 21.9-5.6 31.8 0l171.8 98.1L448 104l0 .9 47.9 27.4c12.6 7.2 18.8 22 15.1 36s-16.4 23.8-30.9 23.8H32c-14.5 0-27.2-9.8-30.9-23.8s2.5-28.8 15.1-36L64 104.9V104l4.4-1.6L240.1 4.2zM64 224h64V416h40V224h64V416h48V224h64V416h40V224h64V420.3c.6 .3 1.2 .7 1.8 1.1l48 32c11.7 7.8 17 22.4 12.9 35.9S494.1 512 480 512H32c-14.1 0-26.5-9.2-30.6-22.7s1.1-28.1 12.9-35.9l48-32c.6-.4 1.2-.7 1.8-1.1V224z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M240.1 4.2c9.8-5.6 21.9-5.6 31.8 0l171.8 98.1L448 104l0 .9 47.9 27.4c12.6 7.2 18.8 22 15.1 36s-16.4 23.8-30.9 23.8H32c-14.5 0-27.2-9.8-30.9-23.8s2.5-28.8 15.1-36L64 104.9V104l4.4-1.6L240.1 4.2zM64 224h64V416h40V224h64V416h48V224h64V416h40V224h64V420.3c.6 .3 1.2 .7 1.8 1.1l48 32c11.7 7.8 17 22.4 12.9 35.9S494.1 512 480 512H32c-14.1 0-26.5-9.2-30.6-22.7s1.1-28.1 12.9-35.9l48-32c.6-.4 1.2-.7 1.8-1.1V224z'/%3E%3C/svg%3E"); }
.lmg-fa-shield-halved::before { width: 1em; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Client feedback — Nov 2026 mobile pass
   ========================================================================== */

/* Header below 1280 (hamburger range): slimmer bar — tighter padding, smaller
   logo, and no extra padding/line box around the logo link. */
@media (max-width: 1279px) {
  .site-header { padding: 12px 20px; }
  .site-logo a { display: block; padding: 0; line-height: 0; }
  .site-logo img,
  .site-header.is-compact .site-logo img { width: 220px; }

  /* Drawer content starts below the fixed header instead of under it, and
     scrolls on its own (needed in landscape). */
  .mobile-navigation {
    padding: 100px 32px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }
}

@media (max-width: 767px) {
  .site-logo img,
  .site-header.is-compact .site-logo img { width: 180px; }
  .mobile-navigation { padding-top: 92px; }
  .titan-hero { padding-top: 136px; }
}

/* Service-card "Learn More" buttons size to their label on phones rather
   than spanning the card (homepage + What We Do). */
@media (max-width: 480px) {
  .inner-service-item .button { width: auto; min-width: 200px; }
}

/* Your Accounts: the hover nudge pushed the arrow past the accordion's
   overflow:hidden edge. Reserve room on the right so it stays visible. */
.mz-linklist a { padding-right: 12px; }

/* Contact form: invisible reCAPTCHA has no visible widget, so drop the
   field's label and spacing (Google's badge floats bottom-right). */
.gfield.mz-captcha { margin: 0; padding: 0; }
.gfield.mz-captcha .gfield_label { display: none; }

/* -- Photo-less tiers ------------------------------------------------------
   Full Financial / Fee Only planning lost their split-tier photo, and the
   Estate Planning lead lost its figure. One centred reading column instead:
   heading and rule centred, body copy and bullet lists kept left-aligned so
   the lists still scan. */
.mfin-tier-solo .content-cell { justify-content: center; }
.mfin-tier-solo .inner-content-cell { max-width: 860px; margin: 0 auto; }
.mfin-tier-solo .tier-title > h2 { text-align: center; }
.mfin-tier-solo .tier-title > .line-across { margin-left: auto; margin-right: auto; }

.ep-lead--solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; text-align: center; }
.ep-lead--solo .line-across { margin-left: auto; margin-right: auto; }
