/* ============================================
   MVPT — Components (redesign-teal-homepage)
   Buttons, container, header/nav, promo, footer,
   plus homepage-specific sections: hero, stats,
   steps, cta-band.
   Loaded after styles.css + _mvpt-tokens.css.
   ============================================ */

/* ----- Layout baseline: widen main to match new 1200px container ----- */
main {
  max-width: var(--container-max);
}

/* Anchor scroll offset — clear the fixed header + promo banner so the
   #book-consultation h2 lands just below them, with the offer box
   visible in the viewport immediately. Overrides the 80px rule in
   styles.css which assumed no promo banner. */
#book-consultation { scroll-margin-top: 120px; }

/* ----- Image rounding: unified 6px across content images -----
   Keeps content media visually consistent (Studio photo, FP training
   environment, HBS1 course photo, hero). Legacy styles used 12px;
   client before/after carousels are intentionally left at their own
   radius since they live inside their own chrome. */
#studio img#studio-image,
.fp-environment-img,
.my-story-photo {
  border-radius: 6px !important;
  max-width: 100%;
  height: auto;
  display: block;
}

/* About page: side-by-side HBS1 + HBS2 photos */
.my-story-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
  align-items: start;
}
.my-story-photos figure { margin: 0; text-align: center; }
.my-story-photos .my-story-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
}
/* The HBS2 photo's subject is framed tight to the top of the frame —
   default center-crop chops the top of the head. Anchor to the top
   edge so the heads stay visible. */
.my-story-photos .my-story-photo--hbs2 { object-position: center top; }
.my-story-photos figcaption {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .my-story-photos { grid-template-columns: 1fr; gap: 16px; }
}

/* HBS2 verification badge — a prominent pill link so it reads as a
   real credential check rather than a passing hyperlink. */
.hbs2-verify-wrap {
  margin: 14px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.hbs2-verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--paper);
  border-radius: 999px;
  border: 1.6px solid var(--accent);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.hbs2-verify-badge:hover,
.hbs2-verify-badge:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-1px);
}
.hbs2-verify-badge__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.18);
  font-size: 13px;
  line-height: 1;
}
.hbs2-verify-badge__arrow { font-size: 16px; line-height: 1; }
.hbs2-verify-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Override legacy ".tab-content > section a { color: accent; underline }" */
.tab-content > section a.hbs2-verify-badge,
.tab-content > section a.hbs2-verify-badge:hover {
  color: var(--paper);
  text-decoration: none;
}
.mvpt-hero__media { border-radius: 6px; }

/* ----- Sitewide section reset -----
   The legacy `section { ... }` rule in styles.css paints every section
   as a white card with border-radius, shadow, hover lift, and a gold
   gradient bar on hover. That clashes with the new design. Strip it
   for every direct section inside any tab-content wrapper (home and
   inner pages share the same <div class="tab-content"> convention),
   and let each partial own its own spacing + container.
*/
.tab-content > section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 40px var(--container-pad);
  margin: 0 auto;
  max-width: var(--container-max);
  overflow: visible;
  transition: none;
  transform: none;
  box-sizing: border-box;
}
.tab-content > section:hover {
  box-shadow: none;
  transform: none;
}
.tab-content > section::before { content: none; }
.tab-content > section h2 {
  color: var(--ink);
  border-bottom: 0;
  padding-top: 14px;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
}
/* Teal accent bar above every section H2 — visual "this is a header" signal */
.tab-content > section > h2::before,
.tab-content > section > *:first-child + h2::before,
.tab-content > section .mvpt-section-label + h2::before { content: none; }
.tab-content > section > h2:first-child::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* First and last section spacing */
.tab-content > section:first-of-type { padding-top: 20px; }
.tab-content > section:last-of-type { padding-bottom: 48px; }

/* Consistent body copy inside reset sections — readable default */
.tab-content > section p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.tab-content > section p strong { color: var(--ink); font-weight: 600; }
.tab-content > section a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.tab-content > section a:hover { color: var(--accent-dark); }

/* Secondary / support text */
.tab-content > section figcaption,
.tab-content > section .label-description,
.tab-content > section .help-text,
.tab-content > section .results-preview-intro,
.tab-content > section .progress-caption {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  opacity: 0.85;
}
.tab-content > section figcaption {
  margin-top: 10px;
  font-style: normal;
  text-align: center;
}

/* ----- Container ----- */
.mvpt-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  box-sizing: border-box;
}

/* ----- Legacy button override -----
   styles.css paints .cta-button and button[type=submit] with a
   gold→gold gradient and teal text. After our token remap gold = teal,
   which makes text disappear against the (now also teal) pill.
   Separately, the sitewide `.tab-content > section a` rule forces
   every anchor inside a section to teal + underline — which also
   breaks anchor-styled buttons like .mvpt-btn--solid and .waitlist-button.
   Force every legacy CTA / solid button to a readable paper-on-teal pill. */
.cta-button,
body button[type="submit"],
.tab-content > section a.mvpt-btn--solid,
.tab-content > section a.cta-button {
  background: var(--accent) !important;
  background-image: none !important;
  color: var(--paper) !important;
  border: 1.6px solid var(--accent) !important;
  border-radius: 24px !important;
  padding: 14px 28px !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease !important;
}
.cta-button:hover,
body button[type="submit"]:hover,
.tab-content > section a.mvpt-btn--solid:hover,
.tab-content > section a.cta-button:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: var(--paper) !important;
  transform: none !important;
  box-shadow: none !important;
}
.cta-button::before,
body button[type="submit"]::before { display: none !important; }

/* Waitlist button — matches the Google Calendar "Book a Discovery Call"
   button exactly (the scheduling script renders a small rectangular
   Google-Sans button). Mirror its dimensions so they read as a set. */
.tab-content > section a.waitlist-button,
.waitlist-button {
  display: inline-block !important;
  background: var(--accent) !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 8px 16px !important;
  font-family: "Google Sans Text", "Google Sans", Roboto, Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13.3333px !important;
  line-height: 20px !important;
  letter-spacing: 0.25px !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background .15s ease !important;
}
.tab-content > section a.waitlist-button:hover,
.waitlist-button:hover {
  background: var(--accent-dark) !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ----- Buttons ----- */
.mvpt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  border: 1.6px solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 11px 22px;
  border-radius: 24px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  transition: background .15s ease, color .15s ease, transform .05s ease;
}
.mvpt-btn:hover { background: var(--accent); color: var(--paper); }
.mvpt-btn:active { transform: translateY(1px); }
.mvpt-btn--solid { background: var(--accent); color: var(--paper); }
.mvpt-btn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--paper); }
.mvpt-btn--sm { font-size: 13px; padding: 8px 18px; border-width: 1.4px; }
.mvpt-btn--lg { font-size: 15px; padding: 14px 28px; }

/* ============================================
   Site-wide: Promo bar
   ============================================ */
.promo-bar {
  background: var(--accent-dark);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  box-sizing: border-box;
  max-width: 100vw;
}
.promo-bar:not(.enabled) { display: none; }
.promo-bar .promo-message {
  display: inline;
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s ease;
}
.promo-bar .promo-message:hover { opacity: 0.85; text-decoration: underline; text-underline-offset: 2px; }
.promo-bar .promo-message strong {
  color: var(--paper);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.promo-bar .close-promo {
  background: none;
  border: none;
  color: var(--paper);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.7;
}
.promo-bar .close-promo:hover { opacity: 1; }

/* ============================================
   Site-wide: Header / Nav
   Override the existing header styles — teal bg.
   ============================================ */
body > header {
  background: var(--accent);
  color: var(--paper);
  box-shadow: none;
  border-bottom: 0;
}
body > header .header-content-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px var(--container-pad);
  display: flex;
  align-items: center;
  gap: 24px;
  background: transparent;
}
body > header .header-logo {
  height: 40px;
  width: auto;
  max-width: none;
}
body > header #main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
  justify-content: center;
  background: transparent;
}
body > header #main-nav .tab-button,
body > header #main-nav .dropdown-toggle,
body > header #main-nav .dropdown-item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: rgba(250, 248, 244, 0.82);
  background: transparent;
  border: 0;
  padding: 4px 0;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
  transition: color .15s ease;
}
body > header #main-nav .tab-button:hover,
body > header #main-nav .dropdown-toggle:hover,
body > header #main-nav .tab-button.active,
body > header #main-nav .dropdown-toggle.active { color: var(--paper); }
/* Neutralize legacy ::after (width:0; left:50%; translateX(-50%)) on all nav buttons,
   then draw a clean centered underline on the active one. */
body > header #main-nav .tab-button::after,
body > header #main-nav .dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .15s ease;
}
body > header #main-nav .tab-button.active::after,
body > header #main-nav .dropdown-toggle.active::after {
  width: 100%;
}
body > header #main-nav .nav-dropdown {
  position: relative;
}
body > header #main-nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 4px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease;
  z-index: 20;
}
body > header #main-nav .nav-dropdown:hover .dropdown-menu,
body > header #main-nav .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
body > header #main-nav .dropdown-menu .dropdown-item {
  display: block;
  padding: 8px 16px;
  color: var(--ink-soft);
  font-size: 14px;
}
body > header #main-nav .dropdown-menu .dropdown-item:hover,
body > header #main-nav .dropdown-menu .dropdown-item.active {
  color: var(--accent);
  background: var(--paper-2);
}
body > header #main-nav .dropdown-menu .dropdown-item.active::after { display: none; }
body > header .dropdown-arrow {
  font-size: 10px;
  opacity: 0.75;
}
body > header .top-right-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  background: var(--paper);
  color: var(--accent);
  border: 1.4px solid var(--paper);
  padding: 8px 18px;
  border-radius: 24px;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
body > header .top-right-cta:hover {
  background: transparent;
  color: var(--paper);
}
body > header .burger-menu {
  display: none;
  background: none;
  border: 0;
  padding: 4px 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
body > header .burger-menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
}

/* ============================================
   Site-wide: Footer
   ============================================ */
body > footer {
  background: var(--accent);
  color: var(--paper);
  padding: 44px var(--container-pad) 36px;
  border-top: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body > footer .footer-logo {
  height: 38px;
  width: auto;
  margin: 0 auto 18px;
  display: block;
  opacity: 1;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}
body > footer p {
  margin: 4px 0;
  color: rgba(250, 248, 244, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  max-width: none;
}
body > footer .footer-copyright,
body > footer .footer-address { color: var(--paper); }
body > footer .footer-social a {
  color: var(--paper);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-transform: none;
  letter-spacing: 0.04em;
  opacity: 0.9;
}
body > footer .footer-social a:hover { opacity: 1; }
body > footer .footer-disclaimer {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(250, 248, 244, 0.65);
  line-height: 1.55;
}

/* ============================================
   Homepage: Hero
   ============================================ */
.mvpt-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.mvpt-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 20px;
  color: var(--ink);
}
.mvpt-hero__sublocation {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.mvpt-hero__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 48ch;
}
.mvpt-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.mvpt-hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mvpt-hero__marks li::before {
  content: '✓  ';
  color: var(--accent);
  font-weight: 600;
}
.mvpt-hero__media {
  border: 1px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 5 / 4;
  position: relative;
}
.mvpt-hero__media video,
.mvpt-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.08) contrast(1.02);
}

/* ============================================
   Homepage: Stats bar
   ============================================ */
.mvpt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.mvpt-stat {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(26, 26, 26, 0.12);
}
.mvpt-stat:last-child { border-right: none; }
.mvpt-stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--accent);
}
.mvpt-stat__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ============================================
   Homepage: Steps
   ============================================ */
.mvpt-steps__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 32px;
  max-width: 22ch;
}
.mvpt-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mvpt-step {
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 4px;
  padding: 26px 24px;
  background: var(--paper);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .15s ease;
}
.mvpt-step:hover { border-color: var(--accent); }
.mvpt-step__num {
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 105, 120, 0.32), 0 0 0 4px rgba(0, 105, 120, 0.10);
}
.mvpt-step__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 4px 0 8px;
}
.mvpt-step__body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.mvpt-step__body .mvpt-step__note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(26, 26, 26, 0.14);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--accent);
}

/* ============================================
   Homepage: CTA band
   ============================================ */
.mvpt-cta-band {
  border: 1.2px solid var(--accent);
  border-radius: 4px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: var(--paper);
}
.mvpt-cta-band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 6px;
}
.mvpt-cta-band__sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================
   Restyle of existing homepage sections
   (kept content, new visual system)
   ============================================ */

/* Hero video section: hide the legacy full-bleed video hero on the
   homepage — we replace it with .mvpt-hero. */
#hero-video-section { display: none; }

#training-home h2 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
}
#training-home p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
#training-home p strong { color: var(--ink); font-weight: 600; }

#results-preview h2 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
#results-preview .results-preview-intro {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
#results-preview .rc-card {
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
#results-preview .rc-overlay {
  background: rgba(0, 105, 120, 0.92);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#results-preview .rc-label,
#results-preview .rc-tag { font-family: var(--font-mono); }
#results-preview .results-preview-cta { margin-top: 28px; }
#results-preview .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  background: var(--accent);
  color: var(--paper);
  border: 1.6px solid var(--accent);
  padding: 14px 28px;
  border-radius: 24px;
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  transition: background .15s ease, color .15s ease;
}
#results-preview .cta-button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--paper);
}

/* styles.css nukes the section padding to 0 (#testimonials-home { padding: 0 }),
   which puts the H2 flush against the viewport edge — misaligned vs. every other
   section. Restore the container padding to match the sitewide section reset. */
#testimonials-home {
  padding: 40px var(--container-pad);
}
#testimonials-home h2 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  /* Kill the legacy white card shell around the heading (rounded top, border,
     white bg) from styles.css — it clashes with the new paper-bg section reset. */
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
/* Kill the legacy white card wrapper around the testimonial slider — it clashes
   with the new section reset. Carousel sits directly on the paper bg. */
#testimonials-home .testimonial-carousel-container {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
#testimonials-home .testimonial-slider li {
  background: var(--paper) !important;
  border: 1px solid rgba(26, 26, 26, 0.14) !important;
  border-radius: 4px !important;
}
#testimonials-home .testimonial-text {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
}
#testimonials-home .name-age {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#testimonials-home .star-rating { color: var(--accent); }
#testimonials-home .carousel-button {
  background: var(--paper);
  color: var(--accent);
  border: 1.4px solid var(--accent);
}
#testimonials-home .carousel-button:hover {
  background: var(--accent);
  color: var(--paper);
}

#faq h2 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
#faq .faq-item {
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 4px;
  background: var(--paper);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .15s ease;
}
#faq .faq-item:hover { border-color: var(--accent); }
#faq .faq-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}
#faq .faq-icon { color: var(--accent); font-size: 20px; line-height: 1; }
#faq .faq-answer { padding: 0 22px; }
#faq .faq-answer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

#my-progress h2 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
#my-progress .video-wrapper {
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
#my-progress .rc-overlay {
  background: rgba(0, 105, 120, 0.92);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#my-progress .progress-caption {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 24px;
}

#enquiry-form h2 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
#enquiry-form .enquiry-form {
  background: var(--paper);
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 4px;
  padding: 28px;
}
#enquiry-form label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
#enquiry-form input,
#enquiry-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--gray-2);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}
#enquiry-form input:focus,
#enquiry-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
#enquiry-form button[type="submit"] {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  background: var(--accent);
  color: var(--paper);
  border: 1.6px solid var(--accent);
  padding: 14px 28px;
  border-radius: 24px;
  cursor: pointer;
  transition: background .15s ease;
}
#enquiry-form button[type="submit"]:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* ============================================
   Training-services: services-steps wrapper
   (uses homepage .mvpt-steps__grid / .mvpt-step)
   ============================================ */
.mvpt-services-steps { padding-top: 28px; padding-bottom: 8px; }

/* ============================================
   Training-services: what's-included list
   Icon + label + short description, 2-col grid.
   ============================================ */
.mvpt-service-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.tab-content > section .mvpt-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 4px;
  background: var(--paper);
  margin: 0;
  transition: border-color .15s ease;
}
.tab-content > section .mvpt-service-list li:hover { border-color: var(--accent); }
.mvpt-service-list__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(0, 105, 120, 0.08);
  border-radius: 6px;
}
.tab-content > section .mvpt-service-list li > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.tab-content > section .mvpt-service-list li strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.tab-content > section .mvpt-service-list li span {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ============================================
   Training-services: prominent offer panel
   Full teal card so the discount is impossible
   to miss, with a mono "limited time" eyebrow,
   display-font headline, and a strike-through
   price line below.
   ============================================ */
.tab-content > section .offer-box {
  background: var(--accent) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 22px 26px !important;
  margin: 20px 0 28px !important;
  text-align: left !important;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 22px rgba(0, 105, 120, 0.18);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
/* Subtle corner flash to give the panel a bit more energy */
.tab-content > section .offer-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 0%, rgba(250, 248, 244, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.tab-content > section .offer-box > * { position: relative; }
.tab-content > section .offer-box p {
  margin: 0 !important;
  font-family: var(--font-body) !important;
  line-height: 1.5 !important;
  max-width: none !important;
}
.tab-content > section .offer-box .offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(250, 248, 244, 0.78) !important;
  margin: 0 0 8px !important;
}
.tab-content > section .offer-box .offer-box__headline {
  font-family: var(--font-display) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
  color: var(--paper) !important;
  margin: 0 !important;
}
.tab-content > section .offer-box .offer-box__price {
  font-size: 15px !important;
  color: rgba(250, 248, 244, 0.9) !important;
  margin: 10px 0 0 !important;
}
.tab-content > section .offer-box del {
  color: rgba(250, 248, 244, 0.55) !important;
  font-size: 14px !important;
  margin-right: 8px !important;
}
.tab-content > section .offer-box .sale-price {
  color: var(--paper) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
}
.tab-content > section .offer-box strong { color: var(--paper) !important; }

/* ============================================
   Training-services: under-25 support band
   Subtle paper-2 panel with teal left accent.
   ============================================ */
.tab-content > section.mvpt-note-band {
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 32px 36px;
  margin: 16px auto 0;
}
.tab-content > section.mvpt-note-band > h2:first-child::before,
.tab-content > section.mvpt-note-band h2::before { content: none !important; }
.tab-content > section.mvpt-note-band .mvpt-note-band__inner {
  max-width: 640px;
}
.tab-content > section.mvpt-note-band h2 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
  padding-top: 0;
}
.tab-content > section.mvpt-note-band p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px !important;
}
.tab-content > section.mvpt-note-band .mvpt-btn--solid {
  text-decoration: none !important;
}

/* ============================================
   Client-results: restore teal panels after the
   sitewide section reset stripped their bg.
   ============================================ */

/* Results hero — teal panel, light text */
.tab-content > section.results-hero {
  background: var(--accent);
  color: var(--paper);
  border-radius: 6px;
  padding: 40px var(--container-pad);
  overflow: hidden;
}
.tab-content > section.results-hero > h2:first-child::before,
.tab-content > section.results-hero h2::before { content: none !important; }
.tab-content > section.results-hero h2 {
  color: var(--paper) !important;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-align: center;
}
.tab-content > section.results-hero p {
  color: rgba(250, 248, 244, 0.78) !important;
  max-width: 560px;
  margin: 0 auto 22px !important;
  text-align: center;
}
.tab-content > section.results-hero p strong { color: var(--paper) !important; }
.tab-content > section.results-hero .results-hero-tag {
  display: inline-block;
  background: rgba(250, 248, 244, 0.08);
  border: 1px solid rgba(250, 248, 244, 0.2);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.tab-content > section.results-hero .results-hero-inner {
  text-align: center;
  padding: 0;
}
.tab-content > section.results-hero .stat-number {
  color: var(--paper) !important;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.tab-content > section.results-hero .stat-label {
  color: rgba(250, 248, 244, 0.6) !important;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.tab-content > section.results-hero .stat-divider {
  background: rgba(250, 248, 244, 0.2);
}

/* Instagram showcase — teal panel, readable light text */
.tab-content > section.ig-showcase {
  background: var(--accent);
  color: var(--paper);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
}
.tab-content > section.ig-showcase .ig-showcase-inner {
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 36px;
  justify-content: center;
}
.tab-content > section.ig-showcase .ig-showcase-content { flex: 1; min-width: 0; max-width: 440px; }
.tab-content > section.ig-showcase .ig-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 248, 244, 0.08);
  border: 1px solid rgba(250, 248, 244, 0.2);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  text-decoration: none;
  transition: background .15s ease;
}
.tab-content > section.ig-showcase .ig-showcase-badge:hover {
  background: rgba(250, 248, 244, 0.14);
  color: var(--paper);
}
.tab-content > section.ig-showcase h3 {
  color: var(--paper) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 10px;
}
.tab-content > section.ig-showcase p {
  color: rgba(250, 248, 244, 0.78) !important;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px !important;
  max-width: 360px;
}
.tab-content > section.ig-showcase .ig-showcase-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--paper);
  border: 1.6px solid var(--paper);
  border-radius: 24px;
  color: var(--accent) !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
  letter-spacing: 0;
}
.tab-content > section.ig-showcase .ig-showcase-follow:hover {
  background: var(--accent-dark);
  color: var(--paper) !important;
  border-color: var(--accent-dark);
  transform: none;
  box-shadow: none;
}
.tab-content > section.ig-showcase .ig-showcase-video {
  flex-shrink: 0;
  width: 260px;
}
.tab-content > section.ig-showcase .ig-showcase-video video {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.tab-content > section.ig-showcase .ig-showcase-video-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.7) !important;
  text-decoration: none !important;
}
.tab-content > section.ig-showcase .ig-showcase-video-link:hover {
  color: var(--paper) !important;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  body > header .header-content-wrapper { padding: 14px var(--container-pad); }
  body > header .header-logo { height: 44px; }
  body > header .top-right-cta { display: none; }
  body > header .burger-menu { display: flex; margin-left: auto; }

  /* Mobile nav panel — overrides legacy bordered-boxed pill look */
  body > header nav#main-nav.mobile-active {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--accent);
    border-top: 1px solid rgba(250, 248, 244, 0.12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 4px 0 12px !important;
    gap: 0 !important;
    z-index: 10;
  }
  body > header nav#main-nav.mobile-active .tab-button,
  body > header nav#main-nav.mobile-active .dropdown-toggle,
  body > header nav#main-nav.mobile-active .nav-dropdown > .tab-button,
  body > header nav#main-nav.mobile-active .nav-dropdown > .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px var(--container-pad) !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: rgba(250, 248, 244, 0.88) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(250, 248, 244, 0.08) !important;
    text-align: left !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-sizing: border-box !important;
  }
  body > header nav#main-nav.mobile-active .tab-button::after { display: none !important; }
  body > header nav#main-nav.mobile-active .tab-button:hover,
  body > header nav#main-nav.mobile-active .tab-button.active,
  body > header nav#main-nav.mobile-active .dropdown-toggle:hover,
  body > header nav#main-nav.mobile-active .dropdown-toggle.active {
    background: var(--accent-dark) !important;
    color: var(--paper) !important;
    border-color: rgba(250, 248, 244, 0.08) !important;
  }
  body > header nav#main-nav.mobile-active .dropdown-arrow {
    font-size: 10px;
    opacity: 0.75;
    transition: transform .15s ease;
  }
  body > header nav#main-nav.mobile-active .dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
  }
  body > header nav#main-nav.mobile-active .nav-dropdown {
    width: 100%;
    margin: 0 !important;
  }
  body > header nav#main-nav.mobile-active .dropdown-menu {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    background: rgba(0, 0, 0, 0.12) !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
  }
  body > header nav#main-nav.mobile-active .dropdown-menu.show {
    display: block !important;
  }
  body > header nav#main-nav.mobile-active .dropdown-menu .dropdown-item {
    display: block;
    padding: 12px calc(var(--container-pad) + 16px);
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(250, 248, 244, 0.78);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(250, 248, 244, 0.06);
    text-transform: none;
    letter-spacing: 0;
  }
  body > header nav#main-nav.mobile-active .dropdown-menu .dropdown-item:last-child {
    border-bottom: 0;
  }
  body > header nav#main-nav.mobile-active .dropdown-menu .dropdown-item.active,
  body > header nav#main-nav.mobile-active .dropdown-menu .dropdown-item:hover {
    color: var(--paper);
    background: var(--accent-dark);
  }
  /* Disable desktop hover reveal on touch (tap triggers :hover and
     would otherwise fight the JS-controlled .show class). */
  body > header .nav-dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
  }
  body > header .nav-dropdown .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* Burger X state */
  body > header .burger-menu.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body > header .burger-menu.open span:nth-child(2) { opacity: 0; }
  body > header .burger-menu.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body > header .burger-menu span { transition: transform .15s ease, opacity .15s ease; }

  .mvpt-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .mvpt-hero__title { font-size: 40px; }
  .mvpt-hero__lede { font-size: 16px; }
  .mvpt-hero__media { aspect-ratio: 5 / 4; }

  .mvpt-stats { grid-template-columns: repeat(2, 1fr); }
  .mvpt-stat { padding: 20px; }
  .mvpt-stat:nth-child(2n) { border-right: none; }
  .mvpt-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(26, 26, 26, 0.12); }

  .mvpt-steps { padding-bottom: 64px; }
  .mvpt-steps__grid { grid-template-columns: 1fr; gap: 14px; }
  .mvpt-steps__title { font-size: 28px; margin-bottom: 24px; }
  .mvpt-step { padding: 22px 20px; }

  .mvpt-cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
  }
  .mvpt-cta-band .mvpt-btn {
    width: auto;
    align-self: flex-start;
  }

  /* Training-services: service list stacks on tablet+mobile */
  .mvpt-service-list { grid-template-columns: 1fr; gap: 10px; }

  /* Client-results panels — stack */
  .tab-content > section.ig-showcase .ig-showcase-inner {
    flex-direction: column;
    padding: 28px 24px;
    gap: 24px;
    text-align: center;
  }
  .tab-content > section.ig-showcase .ig-showcase-content { max-width: 100%; }
  .tab-content > section.ig-showcase p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .tab-content > section.ig-showcase .ig-showcase-video { width: 220px; }
  .tab-content > section.results-hero {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 32px 24px;
    border-radius: 0;
  }
  .tab-content > section.results-hero h2 { font-size: 26px; }
  .tab-content > section.results-hero .results-hero-stats { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 640px) {
  :root { --container-pad: 20px; }
  .promo-bar { font-size: 10.5px; padding: 8px 16px; letter-spacing: 0.06em; }
  body > header .header-logo { height: 38px; }
  body > header .header-content-wrapper { padding: 10px var(--container-pad); }

  /* First section padding-top on mobile. script.js sizes main's
     padding-top to the exact fixed-chrome height, so this value is the
     real breathing room below the header. */
  .tab-content > section:first-of-type { padding-top: 8px; }

  /* Booking iframe: Google Calendar content stacks vertically on narrow
     viewports, so give it room to breathe instead of a 700px inner scroll. */
  .booking-iframe { height: 1200px; }

  .mvpt-hero { padding: 8px 0 40px; gap: 28px; }
  .mvpt-hero__title { font-size: 32px; letter-spacing: -0.02em; line-height: 1.08; }
  .mvpt-hero__lede { font-size: 15px; margin-bottom: 22px; }
  .mvpt-hero__actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .mvpt-hero__actions .mvpt-btn { width: 100%; flex: none; justify-content: center; }
  .mvpt-hero__marks { flex-direction: column; gap: 8px; font-size: 12px; }

  .mvpt-stats-wrap { padding: 8px 0 48px; }
  .mvpt-stat { padding: 18px 16px; }
  .mvpt-stat__num { font-size: 26px; }
  .mvpt-stat__label { font-size: 10px; }

  .mvpt-steps__title { font-size: 24px; }
  .mvpt-step { padding: 20px; gap: 14px; }
  .mvpt-step__num { width: 52px; height: 52px; font-size: 24px; }
  .mvpt-step__body h3 { font-size: 16px; }
  .mvpt-step__body p { font-size: 13.5px; }

  .mvpt-cta-band { padding: 22px 20px; gap: 16px; }
  .mvpt-cta-band__title { font-size: 20px; }
  .mvpt-cta-band .mvpt-btn {
    width: 100%;
    align-self: stretch;
    justify-content: center;
  }
}

/* ============================================
   Blog — index + article
   ============================================ */

/* Override legacy .tab-content > section a { color, text-decoration } */
.tab-content > section a.mvpt-blog-feature,
.tab-content > section a.mvpt-blog-feature:hover,
.tab-content > section a.mvpt-blog-card,
.tab-content > section a.mvpt-blog-card:hover,
.tab-content > section a.mvpt-article-hero__back,
.tab-content > section a.mvpt-article-hero__back:hover,
.tab-content > section a.mvpt-article-cta__link,
.tab-content > section a.mvpt-article-cta__link:hover {
  text-decoration: none;
  color: inherit;
}

/* Override legacy .tab-content > section { background, padding } leaks
   into our custom section blocks (hero, pattern chapters, CTA band). */
.tab-content > section.mvpt-article-hero { padding: 0; background: var(--ink); }
.tab-content > section.mvpt-article-hero p.mvpt-article-hero__subtitle {
  color: var(--paper);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.tab-content > section.mvpt-article-cta { padding: 0; background: var(--ink); }
/* .mvpt-pattern and .mvpt-article__closer live inside <article>, so
   ".tab-content > section" doesn't match — legacy "section { card look }"
   applies and we just tweak the inner padding on the classes directly. */

/* Kill legacy "section h2 { border-bottom: teal; padding-bottom: 0.8rem }"
   on our custom titles. Use h2.class to beat legacy specificity. */
h2.mvpt-pattern__title,
h2.mvpt-article-hero__title,
h2.mvpt-article-cta__title,
.mvpt-article__closer h2,
.mvpt-article-cta h2 {
  border-bottom: none;
  padding-bottom: 0;
}

/* Intro */
.mvpt-blog-intro { padding: 72px 32px 24px; text-align: center; }
.mvpt-blog-intro .mvpt-section-label { display: inline-block; }
.mvpt-blog-intro__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 auto 18px;
  max-width: 22ch;
}
.mvpt-blog-intro__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}

/* Featured card (first / only post) */
.mvpt-blog-feature-wrap { padding: 40px 32px 24px; }
.mvpt-blog-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 6px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  max-width: 1120px;
  margin: 0 auto;
}
.mvpt-blog-feature:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 105, 120, 0.14);
}
.mvpt-blog-feature__media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--paper-2);
}
.mvpt-blog-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.mvpt-blog-feature:hover .mvpt-blog-feature__media img { transform: scale(1.03); }
.mvpt-blog-feature__body {
  padding: 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.mvpt-blog-feature__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
  color: var(--ink);
}
.mvpt-blog-feature__subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
}
.mvpt-blog-feature__excerpt {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.mvpt-blog-feature__cta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Regular cards (subsequent posts) */
.mvpt-blog-list { padding: 32px 32px 72px; }
.mvpt-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.mvpt-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 6px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mvpt-blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(0, 105, 120, 0.12);
}
.mvpt-blog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
}
.mvpt-blog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.mvpt-blog-card:hover .mvpt-blog-card__media img { transform: scale(1.04); }
.mvpt-blog-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.mvpt-blog-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mvpt-blog-card__tag {
  color: var(--accent);
  background: rgba(0, 105, 120, 0.09);
  padding: 3px 8px;
  border-radius: 3px;
}
.mvpt-blog-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 2px 0 0;
  color: var(--ink);
}
.mvpt-blog-card__excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.mvpt-blog-card__cta {
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ----- Article page ----- */

/* Hero */
.mvpt-article-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: var(--ink);
}
.mvpt-article-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mvpt-article-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mvpt-article-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.75) 100%);
}
.mvpt-article-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 32px 56px;
}
.mvpt-article-hero__back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  margin-bottom: 28px;
  opacity: 0.82;
  transition: opacity .15s ease;
}
.mvpt-article-hero__back:hover { opacity: 1; color: var(--paper); }
.mvpt-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.82);
  margin-bottom: 18px;
}
.mvpt-article-hero__meta > span { display: inline-flex; align-items: center; }
.mvpt-article-hero__meta > span + span::before {
  content: '·';
  margin-right: 14px;
  color: rgba(250, 248, 244, 0.5);
}
.mvpt-article-hero__tag {
  background: rgba(250, 248, 244, 0.14);
  padding: 4px 10px;
  border-radius: 3px;
  color: var(--paper) !important;
}
.mvpt-article-hero__meta > span.mvpt-article-hero__tag + span::before { display: none; }
.mvpt-article-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0 0 16px;
  max-width: 18ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.mvpt-article-hero__subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--paper);
  margin: 0;
  max-width: 48ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* Article body */
.mvpt-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 32px 24px;
}
.mvpt-article__lede-block {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 24px;
}
.mvpt-article__lede-block p { margin: 0 0 18px; }
.mvpt-article__lede-block .mvpt-article__lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 22px;
}
.mvpt-article__lede-block strong { font-weight: 600; color: var(--ink); }

/* Pattern sections — legacy "section { card look }" gives us the
   rounded box + border. We only need to set proper inner padding. */
.mvpt-pattern {
  margin: 32px 0;
  padding: 36px 40px 32px;
  border-top: none;
}
.mvpt-pattern__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.mvpt-pattern__num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 105, 120, 0.28), 0 0 0 4px rgba(0, 105, 120, 0.10);
}
.mvpt-pattern__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.mvpt-pattern__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.mvpt-pattern__lede {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 22px;
}
.mvpt-pattern__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mvpt-pattern__col {
  padding: 22px 22px;
  background: var(--paper-2);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.mvpt-pattern__col-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.mvpt-pattern__col p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}
.mvpt-pattern__col p strong { font-weight: 600; }
.mvpt-pattern__col p em { color: var(--ink-soft); font-style: italic; }

/* Article closer */
.mvpt-article__closer {
  margin: 40px 0 0;
  padding: 36px 40px 32px;
  border-top: none;
}
.mvpt-article__closer h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 24ch;
}
.mvpt-article__closer p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
}
.mvpt-article__closer strong { font-weight: 600; }

/* Article CTA band */
.mvpt-article-cta {
  margin-top: 72px;
  background: var(--ink);
  color: var(--paper);
}
.mvpt-article-cta__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
/* Boost specificity to beat ".tab-content > section h2/p { color: ink }" */
.tab-content > section.mvpt-article-cta .mvpt-section-label { color: var(--accent-soft); }
.tab-content > section.mvpt-article-cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 12px;
  max-width: 22ch;
}
.tab-content > section.mvpt-article-cta p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(250, 248, 244, 0.82);
  margin: 0;
  max-width: 52ch;
}
.mvpt-article-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.mvpt-article-cta__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.72);
  text-decoration: none;
}
.mvpt-article-cta__link:hover { color: var(--paper); }

/* Card-style CTA variant: paper background + teal border, matching the
   homepage .mvpt-cta-band look. Keeps the article-cta grid/actions intact. */
.mvpt-article-cta--card { background: transparent; margin-top: 56px; }
.mvpt-article-cta--card .mvpt-article-cta__inner {
  background: var(--paper);
  border: 1.2px solid var(--accent);
  border-radius: 4px;
  padding: 40px 44px;
}
.tab-content > section.mvpt-article-cta--card { background: transparent; }
.tab-content > section.mvpt-article-cta--card .mvpt-section-label { color: var(--accent); }
.tab-content > section.mvpt-article-cta--card h2 { color: var(--ink); }
.tab-content > section.mvpt-article-cta--card p { color: var(--ink-soft); }
.mvpt-article-cta--card .mvpt-article-cta__link { color: var(--ink-soft); }
.mvpt-article-cta--card .mvpt-article-cta__link:hover { color: var(--accent); }

/* Article credit / acknowledgement aside */
.mvpt-article__credit {
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 24px 40px 8px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}
.mvpt-article__credit .mvpt-section-label { color: var(--accent); margin-bottom: 12px; }
.mvpt-article__credit p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.mvpt-article__credit p strong { color: var(--ink); font-weight: 600; }
.mvpt-article__credit a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.mvpt-article__credit a:hover { color: var(--accent-dark); }

/* Responsive */
@media (max-width: 960px) {
  .mvpt-blog-feature { grid-template-columns: 1fr; }
  .mvpt-blog-feature__media { min-height: 260px; aspect-ratio: 16/9; }
  .mvpt-blog-feature__body { padding: 32px 28px; }
  .mvpt-blog-feature__title { font-size: 28px; }
  .mvpt-blog-grid { grid-template-columns: repeat(2, 1fr); }

  .mvpt-article-hero { min-height: 400px; }
  .mvpt-article-hero__title { font-size: 42px; }
  .mvpt-article-hero__subtitle { font-size: 18px; }

  .mvpt-article-cta__inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .mvpt-blog-intro { padding: 48px 20px 12px; }
  .mvpt-blog-intro__title { font-size: 32px; }
  .mvpt-blog-intro__lede { font-size: 15.5px; }

  .mvpt-blog-feature-wrap { padding: 24px 20px 16px; }
  .mvpt-blog-feature__body { padding: 26px 22px; gap: 10px; }
  .mvpt-blog-feature__title { font-size: 24px; }
  .mvpt-blog-feature__subtitle { font-size: 16px; }
  .mvpt-blog-feature__excerpt { font-size: 14.5px; }

  .mvpt-blog-list { padding: 16px 20px 56px; }
  .mvpt-blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .mvpt-blog-card__body { padding: 18px 20px 22px; }
  .mvpt-blog-card__title { font-size: 18px; }

  .mvpt-article-hero { min-height: 360px; }
  .mvpt-article-hero__inner { padding: 48px 20px 40px; }
  .mvpt-article-hero__title { font-size: 32px; letter-spacing: -0.02em; }
  .mvpt-article-hero__subtitle { font-size: 15.5px; }
  .mvpt-article-hero__meta { font-size: 10.5px; gap: 10px; }

  .mvpt-article { padding: 40px 20px 16px; }
  .mvpt-article__lede-block .mvpt-article__lede { font-size: 18px; }
  .mvpt-article__lede-block { font-size: 15.5px; }

  .mvpt-pattern { margin: 24px 0; padding: 28px 22px 24px; }
  .mvpt-pattern__head { gap: 14px; }
  .mvpt-pattern__num { width: 52px; height: 52px; font-size: 24px; }
  .mvpt-pattern__title { font-size: 26px; }
  .mvpt-pattern__lede { font-size: 15.5px; }
  .mvpt-pattern__split { grid-template-columns: 1fr; gap: 12px; }
  .mvpt-pattern__col { padding: 18px; }
  .mvpt-pattern__col p { font-size: 14.5px; }

  .mvpt-article__closer { padding: 28px 22px 24px; margin: 32px 0 0; }
  .mvpt-article__closer h2 { font-size: 24px; }
  .mvpt-article__closer p { font-size: 15.5px; }

  .mvpt-article-cta { margin-top: 48px; }
  .mvpt-article-cta__inner { padding: 40px 20px; }
  .mvpt-article-cta h2 { font-size: 26px; }
  .mvpt-article-cta p { font-size: 15px; }
  .mvpt-article-cta__actions { width: 100%; }
  .mvpt-article-cta__actions .mvpt-btn { width: 100%; justify-content: center; text-align: center; }

  .mvpt-article-cta--card { margin-top: 32px; padding: 0 20px; }
  .mvpt-article-cta--card .mvpt-article-cta__inner { padding: 28px 22px; }

  .mvpt-article__credit { padding: 20px 22px 4px; margin-top: 24px; }
  .mvpt-article__credit p { font-size: 14px; }
}
