/* =============================================================
   FEN & MARSH EV — specialist-niche family
   Electric specialists. Light, clean, spec-deep, expert.
   Green accent, pale surfaces, Manrope display. Real-world
   numbers front and centre — range, charge time, battery health.
   ============================================================= */
:root {
  --bg: #f8faf7; --card: #ffffff; --surface: #eef4ec; --surface-2: #e4ede1;
  --ink: #12211a; --ink-dim: #4f6157; --ink-faint: #85978c;
  --line: #dfe8dc; --line-strong: #c6d4c1;
  --accent: #1f7a4d; --accent-ink: #ffffff; --accent-wash: #e4f2e9;
  --good: #1f7a4d; --warn: #b7791f;
  --radius: 14px; --radius-sm: 9px;
  --gutter: clamp(1rem, 0.4rem + 3.4vw, 3rem);
  --section: clamp(3.25rem, 2rem + 5.5vw, 6rem);
  --shadow: 0 1px 2px rgba(18,33,26,.05), 0 10px 26px rgba(18,33,26,.07);
  --shadow-lg: 0 4px 14px rgba(18,33,26,.08), 0 28px 56px rgba(18,33,26,.12);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
}
:root[data-theme] { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.16; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--accent); margin: 0 0 .8rem; }
.index-tag { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 700; color: var(--ink-faint); margin: 0 0 .7rem; }
.lede { font-size: 1.1rem; color: var(--ink-dim); max-width: 58ch; }
.textlink { color: var(--accent); font-weight: 600; }
.textlink:hover { text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.5rem;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: inherit;
  font-weight: 600; cursor: pointer; transition: background .12s, border-color .12s, transform .1s; }
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: #196340; border-color: #196340; color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 0 1rem; font-size: .86rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1.4rem;
  padding: .85rem var(--gutter); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__mark { font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; color: var(--ink); }
.brand__mark span { color: var(--accent); }
.brand__sub { font-size: .56rem; letter-spacing: .16em; color: var(--ink-faint); margin-top: .3rem; text-transform: uppercase; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav__links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav__link { font-size: .88rem; font-weight: 600; color: var(--ink-dim); padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
.nav__tools { display: flex; align-items: center; gap: .4rem; }
.layout-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.layout-toggle button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: transparent; color: var(--ink-faint); cursor: pointer; }
.layout-toggle button svg { width: 13px; height: 13px; fill: currentColor; }
.layout-toggle button[aria-pressed="true"] { background: var(--accent-wash); color: var(--accent); }
.icon-btn { display: inline-flex; align-items: center; gap: .4rem; height: 32px; padding: 0 .7rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; color: var(--ink-dim); cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600; }
.icon-btn__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.hamburger { display: none; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; cursor: pointer; position: relative; }
.hamburger span, .hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); border-radius: 2px; }
.hamburger span { top: 50%; } .hamburger span::before { top: -6px; } .hamburger span::after { top: 6px; }

.scrim { position: fixed; inset: 0; background: rgba(18,33,26,.42); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.scrim[data-show="true"] { opacity: 1; pointer-events: auto; }
.theme-panel { position: fixed; top: 58px; right: var(--gutter); width: 260px; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem; z-index: 50; }
.theme-panel__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7rem; }
.theme-panel__head h4 { margin: 0; font-family: var(--font-body); font-size: .78rem; font-weight: 700; }
.theme-panel__head span { font-size: .7rem; color: var(--ink-faint); }
.swatch-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.swatch-grid--bg { grid-template-columns: repeat(5, 1fr); }
.swatch { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent; background: var(--sw); cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.theme-panel__name { margin: .7rem 0 0; font-size: .78rem; color: var(--ink-dim); }
@media (max-width: 960px) { .theme-panel { left: var(--gutter); right: var(--gutter); width: auto; } }

/* vertical rail */
body[data-nav="vertical"] .site-header { position: fixed; inset: 0 auto 0 0; width: 236px; height: 100vh; height: 100dvh;
  flex-direction: column; align-items: stretch; gap: 0; padding: 1.6rem 1.3rem; border-bottom: 0; border-right: 1px solid var(--line); background: var(--card); overflow-y: auto; }
body[data-nav="vertical"] .nav { flex-direction: column; align-items: stretch; margin: 1.8rem 0 0; gap: 0; width: 100%; }
body[data-nav="vertical"] .nav__links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
body[data-nav="vertical"] .nav__link { padding: .8rem .1rem; border-bottom: 1px solid var(--line); }
body[data-nav="vertical"] .nav__tools { flex-direction: column; align-items: stretch; gap: .5rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
body[data-nav="vertical"] .site-main, body[data-nav="vertical"] .site-footer { margin-inline-start: 236px; }
@media (max-width: 900px) {
  body[data-nav="vertical"] .site-header { position: sticky; inset: 0 0 auto 0; width: auto; height: auto; flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); }
  body[data-nav="vertical"] .site-main, body[data-nav="vertical"] .site-footer { margin-inline-start: 0; }
  .hamburger { display: block; }
  .nav { position: fixed; inset: 52px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--card); border-bottom: 1px solid var(--line); padding: .8rem var(--gutter) 1.2rem; transform: translateY(-135%); transition: transform .25s; margin: 0; }
  [data-menu-open="true"] .nav { transform: none; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__link { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav__tools { padding-top: .8rem; }
}

/* ---- hero ---- */
.fm-hero { padding: var(--section) 0; background: linear-gradient(180deg, var(--accent-wash), var(--bg)); }
.fm-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.6rem; align-items: center; }
.fm-hero h1 { margin-bottom: .25em; }
.fm-hero .lede { margin-bottom: 1.6rem; }
.fm-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.fm-spec-card { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; }
.fm-spec-card h3 { margin: 0 0 1rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); }
.fm-spec-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; }
.fm-spec-card dt { font-size: .72rem; color: var(--ink-faint); }
.fm-spec-card dd { margin: .2rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.fm-spec-card p { margin: 1rem 0 0; font-size: .8rem; color: var(--ink-dim); }
@media (max-width: 880px) { .fm-hero__grid { grid-template-columns: 1fr; } }

/* ---- why band ---- */
.fm-why { background: var(--ink); color: #dfece4; }
.fm-why .wrap { padding: var(--section) var(--gutter); }
.fm-why h2 { color: #fff; }
.fm-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; margin-top: 1.6rem; }
.fm-why__grid div { background: var(--ink); padding: 1.5rem; }
.fm-why__grid strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.fm-why__grid span { font-size: .82rem; color: rgba(223,236,228,.7); }
@media (max-width: 820px) { .fm-why__grid { grid-template-columns: 1fr 1fr; } }

/* ---- sections ---- */
.fm-sec { padding: var(--section) 0; }
.fm-sec--surface { background: var(--surface); }
.fm-sec__head { max-width: 60ch; margin-bottom: 1.8rem; }
.fm-sec__head h2 { margin: 0; }
.fm-sec__head p { margin: .7rem 0 0; color: var(--ink-dim); }

/* subcategory chips */
.fm-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.fm-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink-dim); background: var(--card); cursor: pointer; }
.fm-chip:hover, .fm-chip[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-wash); }

/* collection grid */
.fm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.fm-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .12s, transform .12s; }
.fm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.fm-card__link { position: absolute; inset: 0; z-index: 3; }
.fm-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.fm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.fm-card__cat { position: absolute; top: .6rem; left: .6rem; background: rgba(18,33,26,.82); color: #fff; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .28rem .6rem; border-radius: 999px; }
.fm-card__health { position: absolute; top: .6rem; right: .6rem; background: var(--accent); color: #fff; font-size: .64rem; font-weight: 700; padding: .28rem .55rem; border-radius: 999px; }
.fm-card__body { padding: 1rem 1.1rem 1.2rem; }
.fm-card__name { font-size: 1.02rem; margin: 0 0 .5rem; line-height: 1.3; }
.fm-card__range { display: flex; align-items: baseline; gap: .4rem; margin: 0 0 .2rem; }
.fm-card__range strong { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--accent); }
.fm-card__range span { font-size: .78rem; color: var(--ink-faint); }
.fm-card__meta { font-size: .8rem; color: var(--ink-dim); margin: .4rem 0 .8rem; }
.fm-card__foot { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .7rem; }
.fm-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.fm-card__mo { font-size: .78rem; color: var(--ink-faint); }

/* story columns */
.fm-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.fm-story article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.fm-story article h3 { margin: .4rem 0 .5rem; }
.fm-story article p { margin: 0; color: var(--ink-dim); font-size: .92rem; }
.fm-story__ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
@media (max-width: 820px) { .fm-story { grid-template-columns: 1fr; } }

/* charging */
.fm-charge { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; }
.fm-charge__list { list-style: none; margin: 1rem 0 0; padding: 0; }
.fm-charge__list li { position: relative; padding: .5rem 0 .5rem 1.6rem; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-dim); }
.fm-charge__list li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.fm-charge__card { background: var(--accent-wash); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.8rem; }
@media (max-width: 820px) { .fm-charge { grid-template-columns: 1fr; } }

/* faq */
.fm-faq details { border-bottom: 1px solid var(--line-strong); padding: 1.1rem 0; }
.fm-faq summary { font-family: var(--font-display); font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.fm-faq summary::-webkit-details-marker { display: none; }
.fm-faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.fm-faq details[open] summary::after { content: "\2212"; }
.fm-faq p { margin: .8rem 0 0; color: var(--ink-dim); font-size: .94rem; }

/* end CTA */
.fm-cta { background: var(--accent-wash); text-align: center; padding: var(--section) 0; }
.fm-cta p { color: var(--ink-dim); max-width: 46ch; margin: 1rem auto 2rem; }

/* showroom */
.fm-filter { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) auto; gap: .6rem; padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.fm-filter input, .fm-filter select { min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 .7rem; font: inherit; background: var(--card); color: var(--ink); }
.fm-filter input:focus, .fm-filter select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.fm-results-bar { display: flex; justify-content: space-between; align-items: baseline; margin: 1.4rem 0 1rem; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.fm-noresults { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
@media (max-width: 1000px) { .fm-filter { grid-template-columns: 1fr 1fr; } }

/* vehicle detail */
.vd-crumb { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.vd-top { display: grid; grid-template-columns: 1.5fr .9fr; gap: 1.8rem; padding: 1.8rem 0; }
.vd-gallery { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.vd-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vd-buy { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.5rem; background: var(--card); box-shadow: var(--shadow); align-self: start; position: sticky; top: 62px; }
.vd-buy__name { font-size: 1.35rem; margin: 0 0 .2rem; }
.vd-buy__meta { font-size: .84rem; color: var(--ink-dim); margin: 0 0 1rem; }
.vd-buy__range { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .3rem; }
.vd-buy__range strong { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--accent); }
.vd-buy__range span { font-size: .8rem; color: var(--ink-faint); }
.vd-buy__health { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--accent); background: var(--accent-wash); border-radius: 999px; padding: .3rem .7rem; margin-bottom: 1rem; }
.vd-buy__price { display: flex; align-items: baseline; gap: .6rem; margin-bottom: 1rem; }
.vd-buy__price strong { font-family: var(--font-display); font-size: 1.5rem; }
.vd-buy__price span { font-size: .82rem; color: var(--ink-faint); }
.vd-buy__actions { display: grid; gap: .5rem; }
.vd-buy__run { margin: 1rem 0 0; padding: .9rem 1rem; background: var(--surface); border-radius: var(--radius-sm); font-size: .84rem; }
.vd-section { padding: 1.7rem 0; border-top: 1px solid var(--line); }
.vd-section h2 { font-size: 1.2rem; }
.vd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vd-facts div { background: var(--card); padding: .8rem 1rem; }
.vd-facts dt { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.vd-facts dd { margin: .2rem 0 0; font-weight: 700; font-family: var(--font-display); }
.vd-prose { color: var(--ink-dim); max-width: 66ch; }
@media (max-width: 900px) { .vd-top { grid-template-columns: 1fr; } .vd-buy { position: static; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.2rem; }
.form-row { margin-bottom: 1rem; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: .3rem; }
.req { color: var(--accent); }
.input, .textarea, .select-native { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .55rem .75rem; font: inherit; background: var(--card); color: var(--ink); }
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .textarea:focus, .select-native:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
[aria-invalid="true"] { border-color: #c0392b; }
.field-error { display: block; color: #c0392b; font-size: .78rem; margin-top: .25rem; }
.radio-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.check { display: flex; align-items: flex-start; gap: .5rem; font-size: .86rem; cursor: pointer; margin-bottom: .45rem; }
.check input { position: absolute; opacity: 0; }
.check__box { width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 4px; flex: none; margin-top: 1px; display: grid; place-items: center; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box::after { content: ""; width: 5px; height: 9px; border: 2px solid #fff; border-top: 0; border-left: 0; transform: rotate(45deg) translateY(-1px); }
.check input[type="radio"] + .check__box { border-radius: 50%; }
.consent { margin: .9rem 0; padding: .9rem; background: var(--surface); border-radius: var(--radius-sm); }
.form-note { font-size: .78rem; color: var(--ink-faint); margin-top: .5rem; }
.form-status { margin-top: 1rem; padding: 1rem; background: var(--accent-wash); border: 1px solid var(--accent); border-radius: var(--radius-sm); font-size: .88rem; }
.accent-text { color: var(--accent); font-weight: 700; }
.info-block { margin-bottom: 1.2rem; }
.info-block h3 { font-size: 1rem; margin: 0 0 .3rem; }
.info-block p { font-size: .88rem; color: var(--ink-dim); margin: 0; }
.hours-list div { display: flex; justify-content: space-between; font-size: .86rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } .form-row--split { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--ink); color: rgba(223,236,228,.7); padding: var(--section) var(--gutter) 1.6rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 1.8rem; max-width: 1180px; margin: 0 auto 1.8rem; }
.footer-brand .brand__mark { color: #7fd0a4; }
.footer-brand .brand__mark span { color: #fff; }
.footer-brand p { font-size: .86rem; margin-top: .7rem; max-width: 40ch; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .7rem; }
.footer-col a { display: block; font-size: .86rem; padding: .22rem 0; color: rgba(223,236,228,.7); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ---- hero photography ---- */
.fm-hero { position: relative; isolation: isolate; }
.fm-hero > * { position: relative; z-index: 1; }
.fm-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(248,250,247,.84), rgba(248,250,247,.72) 44%, rgba(248,250,247,.96)),
    url("/site/specialist-niche/img/hero.webp") center 42% / cover no-repeat; }
