/* =========================================================================
   Service Details — modern content block
   Scoped under .service-modern so it never touches header/footer/theme CSS.
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap");

.service-modern {
  --sm-paper: #f1f3ec;
  --sm-paper-raised: #ffffff;
  --sm-ink: #16231c;
  --sm-ink-soft: #4c5a50;
  --sm-line: #dce1d3;

  --sm-forest: #1b4332;
  --sm-forest-deep: #0f2c20;
  --sm-forest-tint: #e4eee7;

  --sm-gold: #c8952e;
  --sm-gold-deep: #a87420;
  --sm-gold-tint: #fbf1dc;

  --sm-brick: #a23e2c;
  --sm-brick-tint: #f7e9e4;

  --sm-font-display: "Fraunces", "Iowan Old Style", serif;
  --sm-font-body:
    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sm-font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --sm-radius-sm: 6px;
  --sm-radius-md: 10px;
  --sm-radius-lg: 16px;
  --sm-shadow:
    0 1px 2px rgba(22, 35, 28, 0.06), 0 8px 24px -12px rgba(22, 35, 28, 0.14);
  --sm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  font-family: var(--sm-font-body);
  color: var(--sm-ink);
  background: var(--sm-paper-raised);
  border: 1px solid var(--sm-line);
  border-radius: var(--sm-radius-lg);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--sm-shadow);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .service-modern * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.service-modern *,
.service-modern *::before,
.service-modern *::after {
  box-sizing: border-box;
}
.service-modern a {
  color: var(--sm-forest);
  text-decoration: none;
}
.service-modern :focus-visible {
  outline: 3px solid var(--sm-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- kicker / title ---- */
.service-modern__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sm-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sm-gold-deep);
  margin: 0 0 10px;
}
.service-modern__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sm-gold);
}
.service-modern__title {
  font-family: var(--sm-font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--sm-forest-deep);
  line-height: 1.15;
  margin: 0 0 22px;
}

.service-modern .lede {
  font-size: 17px;
  color: var(--sm-ink-soft);
  border-left: 3px solid var(--sm-gold);
  padding-left: 18px;
  margin: 0 0 32px;
}

.service-modern h2 {
  font-family: var(--sm-font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--sm-forest-deep);
  margin: 38px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-modern h2:first-of-type {
  margin-top: 0;
}
.service-modern h2::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--sm-gold);
  flex: none;
}

.service-modern p {
  margin: 0 0 14px;
  color: var(--sm-ink);
}
.service-modern .content {
  margin: 0 0 8px;
}
.service-modern .text {
  margin: 0 0 4px;
  color: var(--sm-ink);
}

/* ---- numbered procedure trail ---- */
.service-modern .step-trail {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  position: relative;
}
.service-modern .step-trail::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background-image: linear-gradient(
    to bottom,
    var(--sm-gold-tint) 0%,
    var(--sm-line) 12%,
    var(--sm-line) 88%,
    transparent 100%
  );
}
.service-modern .step-trail__item {
  position: relative;
  padding: 0 0 26px 52px;
  min-height: 36px;
}
.service-modern .step-trail__item:last-child {
  padding-bottom: 4px;
}
.service-modern .step-trail__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sm-forest);
  color: #fff;
  font-family: var(--sm-font-mono);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--sm-paper-raised);
  transition:
    background-color 0.2s var(--sm-ease),
    transform 0.2s var(--sm-ease);
}
.service-modern .step-trail__item:hover .step-trail__num {
  background: var(--sm-gold-deep);
  transform: scale(1.06);
}
.service-modern .step-trail__body {
  padding-top: 6px;
  color: var(--sm-ink);
}
.service-modern .step-trail__body b {
  color: var(--sm-forest-deep);
}
.service-modern .step-trail__sub {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-modern .step-trail__sub li {
  font-size: 14.5px;
  color: var(--sm-ink-soft);
  padding-left: 18px;
  position: relative;
}
.service-modern .step-trail__sub li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sm-gold);
}

/* ---- info / requirement grid cards ---- */
.service-modern .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 0 0 8px;
}
.service-modern .info-card {
  border: 1px solid var(--sm-line);
  background: var(--sm-forest-tint);
  border-radius: var(--sm-radius-md);
  padding: 16px 18px;
  transition:
    transform 0.2s var(--sm-ease),
    box-shadow 0.2s var(--sm-ease);
}
.service-modern .info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sm-shadow);
}
.service-modern .info-card__label {
  font-family: var(--sm-font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sm-forest);
  margin: 0 0 6px;
}
.service-modern .info-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--sm-ink);
}

/* ---- callout / warning box ---- */
.service-modern .callout {
  border: 1px solid var(--sm-brick);
  border-left-width: 4px;
  background: var(--sm-brick-tint);
  border-radius: var(--sm-radius-md);
  padding: 18px 20px;
  margin: 28px 0;
  display: flex;
  gap: 14px;
}
.service-modern .callout__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sm-brick);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sm-font-display);
  font-weight: 700;
  font-size: 16px;
}
.service-modern .callout p {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: #5a2418;
}
.service-modern .callout p:last-child {
  margin-bottom: 0;
}
.service-modern .callout ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 14.5px;
  color: #5a2418;
}
.service-modern .callout ul li {
  margin-bottom: 6px;
}

/* ---- quiet note ---- */
.service-modern .note-box {
  border: 1px dashed var(--sm-line);
  background: var(--sm-paper);
  border-radius: var(--sm-radius-md);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--sm-ink-soft);
}

/* ---- contact strip ---- */
.service-modern .contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 28px 0 8px;
  padding: 20px;
  background: var(--sm-forest);
  border-radius: var(--sm-radius-md);
  color: #fff;
}
.service-modern .contact-strip__item .k {
  font-family: var(--sm-font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sm-gold);
  margin-bottom: 4px;
}
.service-modern .contact-strip__item .v {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.service-modern .contact-strip__item .v a {
  color: #fff;
  transition: color 0.2s var(--sm-ease);
}
.service-modern .contact-strip__item .v a:hover {
  color: var(--sm-gold);
}

/* ---- motion ---- */
.service-modern .reveal-up {
  opacity: 0;
  transform: translateY(14px);
  animation: smRevealUp 0.6s var(--sm-ease) forwards;
}
.service-modern .reveal-up.d1 {
  animation-delay: 0.06s;
}
.service-modern .reveal-up.d2 {
  animation-delay: 0.12s;
}
.service-modern .reveal-up.d3 {
  animation-delay: 0.18s;
}
@keyframes smRevealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-modern .scroll-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--sm-ease),
    transform 0.6s var(--sm-ease);
}
.service-modern .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- responsive ---- */
@media (max-width: 760px) {
  .service-modern {
    padding: 22px 18px;
  }
  .service-modern__title {
    font-size: 22px;
  }
  .service-modern h2 {
    font-size: 19px;
  }
  .service-modern .contact-strip {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Service sidebar — modern content block
   Scoped under .service-modern-side, independent of .service-modern so it
   can sit in its own include (services-side.php) without touching header/footer.
   ========================================================================= */

.service-modern-side {
  --smx-paper: #f1f3ec;
  --smx-paper-raised: #ffffff;
  --smx-ink: #16231c;
  --smx-ink-soft: #4c5a50;
  --smx-line: #dce1d3;

  --smx-forest: #1b4332;
  --smx-forest-deep: #0f2c20;
  --smx-forest-tint: #e4eee7;

  --smx-gold: #c8952e;
  --smx-gold-deep: #a87420;
  --smx-gold-tint: #fbf1dc;

  --smx-font-display: "Fraunces", "Iowan Old Style", serif;
  --smx-font-body:
    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --smx-font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --smx-radius-sm: 6px;
  --smx-radius-md: 10px;
  --smx-radius-lg: 16px;
  --smx-shadow:
    0 1px 2px rgba(22, 35, 28, 0.06), 0 8px 24px -12px rgba(22, 35, 28, 0.14);
  --smx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  font-family: var(--smx-font-body);
  color: var(--smx-ink);
  position: sticky;
  top: 24px;
}

.service-modern-side *,
.service-modern-side *::before,
.service-modern-side *::after {
  box-sizing: border-box;
}
.service-modern-side :focus-visible {
  outline: 3px solid var(--smx-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.service-modern-side__panel {
  background: var(--smx-paper-raised);
  border: 1px solid var(--smx-line);
  border-radius: var(--smx-radius-lg);
  box-shadow: var(--smx-shadow);
  padding: 22px;
  margin-bottom: 18px;
}

.service-modern-side__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--smx-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smx-ink-soft);
  margin: 0 0 14px;
}
.service-modern-side__eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--smx-gold);
  flex: none;
}

.service-modern-side__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.service-modern-side__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--smx-radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--smx-ink-soft);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition:
    background-color 0.18s var(--smx-ease),
    color 0.18s var(--smx-ease),
    border-color 0.18s var(--smx-ease),
    padding-left 0.18s var(--smx-ease);
}
.service-modern-side__list a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--smx-line);
  transition:
    background-color 0.18s var(--smx-ease),
    transform 0.18s var(--smx-ease);
}
.service-modern-side__list a:hover {
  background: var(--smx-forest-tint);
  color: var(--smx-forest-deep);
  padding-left: 18px;
}
.service-modern-side__list a:hover::before {
  background: var(--smx-forest);
}
.service-modern-side__list a.is-active {
  background: var(--smx-gold-tint);
  color: var(--smx-gold-deep);
  border-left-color: var(--smx-gold);
}
.service-modern-side__list a.is-active::before {
  background: var(--smx-gold);
  transform: scale(1.3);
}

.service-modern-side__help {
  background: var(--smx-forest);
  border-radius: var(--smx-radius-lg);
  padding: 22px;
  color: #fff;
}
.service-modern-side__help h4 {
  font-family: var(--smx-font-display);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
  color: #fff;
}
.service-modern-side__help p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 16px;
  line-height: 1.55;
}
.service-modern-side__help a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--smx-gold);
  text-decoration: none;
  transition:
    gap 0.2s var(--smx-ease),
    color 0.2s var(--smx-ease);
}
.service-modern-side__help a:hover {
  gap: 12px;
  color: #fff;
}

@media (max-width: 980px) {
  .service-modern-side {
    position: static;
  }
}
@media (max-width: 760px) {
  .service-modern-side__panel,
  .service-modern-side__help {
    padding: 18px;
  }
}

/* =========================================================================
   Sidebar — modern services list
   Scoped under .service-side-modern, independent of .service-modern above
   so it can be dropped into services-side.php on its own.
   ========================================================================= */

.service-side-modern {
  --sm-paper: #f1f3ec;
  --sm-paper-raised: #ffffff;
  --sm-ink: #16231c;
  --sm-ink-soft: #4c5a50;
  --sm-line: #dce1d3;

  --sm-forest: #1b4332;
  --sm-forest-deep: #0f2c20;
  --sm-forest-tint: #e4eee7;

  --sm-gold: #c8952e;
  --sm-gold-deep: #a87420;
  --sm-gold-tint: #fbf1dc;

  --sm-font-display: "Fraunces", "Iowan Old Style", serif;
  --sm-font-body:
    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sm-font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --sm-radius-md: 10px;
  --sm-radius-lg: 16px;
  --sm-shadow:
    0 1px 2px rgba(22, 35, 28, 0.06), 0 8px 24px -12px rgba(22, 35, 28, 0.14);
  --sm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  font-family: var(--sm-font-body);
}

.service-side-modern *,
.service-side-modern *::before,
.service-side-modern *::after {
  box-sizing: border-box;
}
.service-side-modern :focus-visible {
  outline: 3px solid var(--sm-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (min-width: 992px) {
  .service-side-modern {
    position: sticky;
    top: 24px;
  }
}

.service-side-modern__card {
  background: var(--sm-paper-raised);
  border: 1px solid var(--sm-line);
  border-radius: var(--sm-radius-lg);
  padding: 22px;
  box-shadow: var(--sm-shadow);
}

.service-side-modern__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sm-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sm-ink-soft);
  margin: 0 0 6px;
}
.service-side-modern__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sm-gold);
}
.service-side-modern__title {
  font-family: var(--sm-font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--sm-forest-deep);
  margin: 0 0 16px;
}

.service-side-modern__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.service-side-modern__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--sm-ink-soft);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition:
    background-color 0.18s var(--sm-ease),
    color 0.18s var(--sm-ease),
    border-color 0.18s var(--sm-ease),
    padding-left 0.18s var(--sm-ease);
}
.service-side-modern__list a::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sm-line);
  transition: background-color 0.18s var(--sm-ease);
}
.service-side-modern__list a:hover {
  background: var(--sm-forest-tint);
  color: var(--sm-forest-deep);
  padding-left: 16px;
}
.service-side-modern__list a:hover::before {
  background: var(--sm-forest);
}

.service-side-modern__list a.is-active {
  background: var(--sm-gold-tint);
  color: var(--sm-gold-deep);
  border-left-color: var(--sm-gold);
}
.service-side-modern__list a.is-active::before {
  background: var(--sm-gold);
}

.service-side-modern__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--sm-line);
  font-size: 13px;
  color: var(--sm-ink-soft);
}
.service-side-modern__foot a {
  color: var(--sm-forest);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s var(--sm-ease);
}
.service-side-modern__foot a:hover {
  color: var(--sm-gold-deep);
}

.service-side-modern__contact {
  margin-top: 14px;
  background: var(--sm-forest);
  border-radius: var(--sm-radius-md);
  padding: 16px 18px;
  color: #fff;
}
.service-side-modern__contact .k {
  font-family: var(--sm-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sm-gold);
  margin: 0 0 4px;
}
.service-side-modern__contact .v {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
}
.service-side-modern__contact .v:last-child {
  margin-bottom: 0;
}
.service-side-modern__contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.18s var(--sm-ease);
}
.service-side-modern__contact a:hover {
  color: var(--sm-gold);
}

@media (max-width: 991px) {
  .service-side-modern {
    margin-bottom: 28px;
  }
}

/* =========================================================================
   PAGE BANNER — breadcrumb + heading
   Scope this block by wrapping your markup in class="lead-modern"
   (or rename .lead-modern below to whatever wrapper you're using).
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700;800&display=swap");

.lead-modern {
  /* colours used by the hero */
  --lm-forest: #1b4332;
  --lm-forest-deep: #0f2c20;
  --lm-gold: #c8952e;

  /* fonts used by the hero */
  --lm-font-display: "Fraunces", "Iowan Old Style", serif;
  --lm-font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --lm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .lead-modern * {
    animation-duration: 0.001ms !important;
  }
}

/* ---- hero banner ---- */
.lead-modern__hero {
  position: relative;
  background: linear-gradient(
    155deg,
    var(--lm-forest-deep) 0%,
    var(--lm-forest) 62%,
    #245842 100%
  );
  color: #fff;
  padding: 56px 0 44px;
  overflow: hidden;
}
.lead-modern__hero::before {
  /* subtle diagonal-line texture, purely decorative */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(200, 149, 46, 0.1) 0 2px,
    transparent 2px 34px
  );
  pointer-events: none;
}
.lead-modern__hero h1 {
  font-family: var(--lm-font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.12;
  margin: 0;
}

/* ---- breadcrumb ---- */
.lead-modern__breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  font-family: var(--lm-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.lead-modern__breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--lm-ease);
}
.lead-modern__breadcrumb a:hover {
  color: var(--lm-gold);
}
.lead-modern__breadcrumb .is-current {
  color: #fff;
  font-weight: 600;
}
.lead-modern__breadcrumb .sep {
  opacity: 0.5;
}

/* ---- entrance animation (used by class="reveal-up" / "reveal-up d1") ---- */
.lead-modern .reveal-up {
  opacity: 0;
  transform: translateY(14px);
  animation: leadRevealUp 0.6s var(--lm-ease) forwards;
}
.lead-modern .reveal-up.d1 {
  animation-delay: 0.08s;
}
@keyframes leadRevealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================================
   PAGE HEADER — .mfda-pageheader
   Self-contained: works even if this is the only block you add.
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap");

.mfda-pageheader {
  --mph-forest: #1b4332;
  --mph-forest-deep: #0f2c20;
  --mph-gold: #c8952e;
  --mph-font-display: "Fraunces", "Iowan Old Style", serif;
  --mph-font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --mph-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  position: relative;
  background-color: var(--mph-forest-deep); /* solid green fallback */
  background: linear-gradient(
    155deg,
    var(--mph-forest-deep) 0%,
    var(--mph-forest) 62%,
    #245842 100%
  );
  color: #fff;
  padding: 56px 0 44px;
  overflow: hidden;
}

/* subtle decorative diagonal-line texture */
.mfda-pageheader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(200, 149, 46, 0.1) 0 2px,
    transparent 2px 34px
  );
  pointer-events: none;
}

.mfda-pageheader-inner {
  position: relative;
  z-index: 1;
}

.mfda-pageheader h1 {
  font-family: var(--mph-font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.12;
  margin: 0;
  color: #fff;
}

/* ---- breadcrumb ---- */
.mfda-breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  font-family: var(--mph-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.mfda-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mfda-breadcrumb a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--mph-ease);
}
.mfda-breadcrumb a:hover {
  color: var(--mph-gold);
}
.mfda-breadcrumb .is-current {
  color: #fff;
  font-weight: 600;
}
.mfda-crumb-sep {
  opacity: 0.5;
  font-size: 10px;
}

/* ---- entrance animation (the "mfda-reveal" class on the <header>) ---- */
.mfda-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: mfdaRevealUp 0.6s var(--mph-ease) forwards;
}
@keyframes mfdaRevealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mfda-reveal {
    animation-duration: 0.001ms !important;
  }
}

/* ---- responsive ---- */
@media (max-width: 640px) {
  .mfda-pageheader {
    padding: 40px 0 30px;
  }
}
