/*
Theme Name: Mauritania Fixer
Theme URI: https://mauritaniafixer.com/
Author: Ely Cheikh Mohamed Vadel
Description: A bilingual editorial production theme for Mauritania Fixer.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mauritania-fixer
*/

:root {
  --ink: #0b211f;
  --ink-2: #173532;
  --paper: #f7f4ed;
  --sand: #e9ddc6;
  --sand-2: #d9c8a8;
  --rust: #d66c3a;
  --rust-dark: #a84421;
  --teal: #1e6b61;
  --teal-light: #bfe2da;
  --white: #fffdf9;
  --muted: #62716e;
  --line: rgba(11, 33, 31, 0.15);
  --shadow: 0 26px 70px rgba(11, 33, 31, 0.13);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-h: 82px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

img, svg { display: block; max-width: 100%; }

button, input, textarea, select { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

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

::selection { color: var(--white); background: var(--teal); }

.mf-container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.mf-skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.mf-skip-link:focus { transform: none; }

.mf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  color: var(--white);
  background: rgba(7, 29, 27, 0.91);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.mf-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.mf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--white);
  text-decoration: none;
}

.mf-brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -0.04em;
}

.mf-brand__text { display: grid; line-height: 1.1; }
.mf-brand__name { font-weight: 760; letter-spacing: -0.02em; }
.mf-brand__role { margin-top: 5px; color: rgba(255,255,255,.63); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.mf-nav { display: flex; align-items: center; gap: 25px; }
.mf-nav a { position: relative; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 650; text-decoration: none; }
.mf-nav a:not(.mf-button)::after { content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 1px; background: var(--rust); transform: scaleX(0); transition: transform .22s ease; }
.mf-nav a:hover, .mf-nav a:focus-visible, .mf-nav a[aria-current="page"] { color: var(--white); }
.mf-nav a:hover::after, .mf-nav a:focus-visible::after, .mf-nav a[aria-current="page"]::after { transform: scaleX(1); }

.mf-language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
}

.mf-language::after { display: none !important; }

.mf-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  cursor: pointer;
}

.mf-menu-toggle span,
.mf-menu-toggle::before,
.mf-menu-toggle::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.mf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(214, 108, 58, .18);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.mf-button:hover, .mf-button:focus-visible { color: var(--white); background: var(--rust-dark); border-color: var(--rust-dark); transform: translateY(-2px); }
.mf-button--ghost { color: var(--white); background: transparent; border-color: rgba(255,255,255,.38); box-shadow: none; }
.mf-button--ghost:hover, .mf-button--ghost:focus-visible { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.mf-button--dark { color: var(--white); background: var(--ink); border-color: var(--ink); box-shadow: none; }
.mf-button--dark:hover, .mf-button--dark:focus-visible { background: var(--teal); border-color: var(--teal); }
.mf-button svg { width: 18px; height: 18px; }

.mf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mf-eyebrow::before { width: 26px; height: 1px; content: ""; background: currentColor; }

.mf-hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #071d1b;
}

.mf-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to right, transparent, #000 42%, #000);
}

.mf-hero::after {
  position: absolute;
  width: min(68vw, 900px);
  aspect-ratio: 1;
  inset-inline-end: -18vw;
  inset-block-start: -20%;
  content: "";
  background: radial-gradient(circle, rgba(30,107,97,.62), rgba(30,107,97,0) 68%);
  pointer-events: none;
}

.mf-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: center;
  padding-block: 86px 72px;
}

.mf-hero h1, .mf-page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7.5vw, 112px);
  font-weight: 500;
  letter-spacing: -.058em;
  line-height: .92;
}

.mf-hero h1 em { color: var(--sand-2); font-weight: 400; }
.mf-hero__lead { max-width: 660px; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.mf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.mf-hero-card {
  position: relative;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  overflow: hidden;
  background: #d8c7a8 url("assets/img/field-map.svg") center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.mf-hero-card::before { position: absolute; inset: 0; content: ""; background: linear-gradient(to top, rgba(7,29,27,.94), rgba(7,29,27,.05) 74%); }
.mf-hero-card__content { position: relative; z-index: 2; }
.mf-hero-card__label { color: rgba(255,255,255,.62); font-size: 11px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.mf-hero-card h2 { max-width: 330px; margin: 10px 0 0; font-family: Georgia, serif; font-size: 31px; font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.mf-coordinate { position: absolute; z-index: 2; inset-block-start: 26px; inset-inline-start: 28px; padding: 8px 12px; color: var(--ink); background: rgba(255,253,249,.82); border-radius: 999px; font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }

.mf-proof-strip { background: var(--sand); border-bottom: 1px solid var(--line); }
.mf-proof-strip__inner { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); }
.mf-proof { min-height: 132px; display: flex; flex-direction: column; justify-content: center; padding: 25px 32px; border-inline-end: 1px solid var(--line); }
.mf-proof:first-child { padding-inline-start: 0; }
.mf-proof:last-child { border-inline-end: 0; }
.mf-proof strong { display: block; font: 500 clamp(22px, 2.3vw, 32px)/1.1 Georgia, serif; letter-spacing: -.025em; }
.mf-proof span { margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }

.mf-section { padding-block: clamp(84px, 10vw, 142px); }
.mf-section--tight { padding-block: 72px; }
.mf-section--white { background: var(--white); }
.mf-section--dark { color: var(--white); background: var(--ink); }
.mf-section--sand { background: var(--sand); }
.mf-section__head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: end; margin-bottom: 58px; }
.mf-section__head h2, .mf-split h2, .mf-cta h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1.03; }
.mf-section__head p { max-width: 680px; margin: 0; color: var(--muted); font-size: 18px; }
.mf-section--dark .mf-section__head p { color: rgba(255,255,255,.63); }

.mf-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mf-service-card { min-height: 330px; display: flex; flex-direction: column; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.mf-service-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(11,33,31,.09); border-color: rgba(30,107,97,.35); }
.mf-service-card__num { width: 44px; height: 44px; display: grid; place-items: center; color: var(--teal); background: rgba(191,226,218,.46); border-radius: 50%; font: 750 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mf-service-card h3 { margin: auto 0 12px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.mf-service-card p { margin: 0; color: var(--muted); font-size: 15px; }

.mf-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.mf-split__copy > p { color: var(--muted); font-size: 18px; }
.mf-profile {
  position: relative;
  min-height: 560px;
  padding: 38px;
  overflow: hidden;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--radius-lg);
}
.mf-profile::before, .mf-profile::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.mf-profile::before { width: 420px; height: 420px; inset: -130px -120px auto auto; }
.mf-profile::after { width: 230px; height: 230px; inset: auto auto -80px -60px; }
.mf-profile__monogram { width: 140px; height: 140px; display: grid; place-items: center; margin-bottom: 82px; color: var(--ink); background: var(--sand); border-radius: 50%; font: 500 54px/1 Georgia, serif; letter-spacing: -.08em; }
.mf-profile h3 { position: relative; z-index: 2; max-width: 430px; margin: 0; font: 500 clamp(31px, 4vw, 50px)/1.03 Georgia, serif; letter-spacing: -.04em; }
.mf-profile p { position: relative; z-index: 2; max-width: 470px; margin: 20px 0 0; color: rgba(255,255,255,.76); }

.mf-checks { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.mf-check { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding-block: 17px; border-bottom: 1px solid var(--line); }
.mf-check svg { width: 20px; margin-top: 3px; color: var(--rust); }
.mf-check strong { display: block; font-size: 15px; }
.mf-check span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

.mf-work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mf-work-card { min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; color: var(--white); background: var(--ink-2); border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius); }
.mf-work-card:nth-child(2) { background: #315c56; }
.mf-work-card:nth-child(3) { color: var(--ink); background: var(--sand-2); }
.mf-work-card:nth-child(4) { background: #7d4028; }
.mf-work-card__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: auto; }
.mf-tag { display: inline-flex; padding: 7px 10px; color: inherit; background: rgba(255,255,255,.1); border: 1px solid currentColor; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .09em; line-height: 1; opacity: .75; text-transform: uppercase; }
.mf-work-card:nth-child(3) .mf-tag { background: rgba(11,33,31,.05); }
.mf-work-card h3 { margin: 0; font: 500 clamp(31px, 3vw, 45px)/1.04 Georgia, serif; letter-spacing: -.035em; }
.mf-work-card p { max-width: 540px; margin: 16px 0 0; color: rgba(255,255,255,.69); font-size: 15px; }
.mf-work-card:nth-child(3) p { color: rgba(11,33,31,.7); }

.mf-collaborators { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.mf-collaborators span { padding: 13px 17px; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-family: Georgia, serif; font-size: 17px; }
.mf-caption { margin-top: 18px; color: var(--muted); font-size: 12px; text-align: center; }

.mf-process { counter-reset: process; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.mf-process__step { min-height: 260px; padding: 28px; border-inline-end: 1px solid rgba(255,255,255,.18); }
.mf-process__step:last-child { border-inline-end: 0; }
.mf-process__step::before { counter-increment: process; content: "0" counter(process); color: var(--rust); font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mf-process__step h3 { margin: 75px 0 12px; font: 500 26px/1.1 Georgia, serif; }
.mf-process__step p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; }

.mf-cta { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: end; padding: clamp(42px, 6vw, 74px); overflow: hidden; color: var(--white); background: var(--teal); border-radius: var(--radius-lg); }
.mf-cta::after { position: absolute; width: 300px; height: 300px; inset-block-start: -160px; inset-inline-end: -100px; content: ""; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.mf-cta p { max-width: 620px; margin: 20px 0 0; color: rgba(255,255,255,.72); }
.mf-cta__action { position: relative; z-index: 2; display: flex; justify-content: flex-end; }

.mf-page-hero { position: relative; overflow: hidden; padding-block: clamp(90px, 11vw, 156px); color: var(--white); background: var(--ink); }
.mf-page-hero::after { position: absolute; width: 550px; height: 550px; inset-block-start: -300px; inset-inline-end: -200px; content: ""; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018); }
.mf-page-hero h1 { max-width: 980px; font-size: clamp(55px, 8vw, 104px); }
.mf-page-hero p { max-width: 760px; margin: 30px 0 0; color: rgba(255,255,255,.68); font-size: 20px; }

.mf-detail-list { display: grid; gap: 18px; }
.mf-detail { display: grid; grid-template-columns: 80px 1fr; gap: 25px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.mf-detail__icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--teal); background: rgba(191,226,218,.45); border-radius: 50%; font: 750 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mf-detail h2, .mf-detail h3 { margin: 0; font: 500 30px/1.1 Georgia, serif; letter-spacing: -.025em; }
.mf-detail p { max-width: 720px; margin: 10px 0 0; color: var(--muted); }
.mf-detail ul { margin: 17px 0 0; padding-inline-start: 20px; color: var(--muted); font-size: 15px; }

.mf-permit-layout, .mf-contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(42px, 7vw, 90px); align-items: start; }
.mf-sticky { position: sticky; top: 120px; }
.mf-note { padding: 22px; color: var(--ink); background: var(--sand); border-inline-start: 3px solid var(--rust); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14px; }
[dir="rtl"] .mf-note { border-inline-start: 3px solid var(--rust); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }

.mf-document-list { display: grid; gap: 10px; margin: 32px 0; padding: 0; list-style: none; }
.mf-document-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.mf-document-list b { color: var(--rust); font: 750 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }

.mf-form { padding: clamp(27px, 4vw, 46px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(11,33,31,.07); }
.mf-form__head { margin-bottom: 30px; }
.mf-form__head h2 { margin: 0; font: 500 clamp(31px, 4vw, 45px)/1.08 Georgia, serif; letter-spacing: -.035em; }
.mf-form__head p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.mf-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mf-field { display: grid; gap: 8px; }
.mf-field--full { grid-column: 1 / -1; }
.mf-field label, .mf-field > span { font-size: 13px; font-weight: 750; }
.mf-field input, .mf-field textarea, .mf-field select { width: 100%; padding: 14px 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; outline: none; }
.mf-field input:focus, .mf-field textarea:focus, .mf-field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,107,97,.13); }
.mf-field textarea { min-height: 150px; resize: vertical; }
.mf-form__footer { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.mf-privacy { max-width: 470px; margin: 0; color: var(--muted); font-size: 11px; }
.mf-honeypot { position: absolute !important; inset-inline-start: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.mf-alert { margin-bottom: 24px; padding: 15px 18px; border-radius: 10px; font-size: 14px; font-weight: 650; }
.mf-alert--success { color: #0c5547; background: #d9eee9; border: 1px solid #a8d3c9; }
.mf-alert--error { color: #7d2e1b; background: #f7e2d8; border: 1px solid #edbea7; }

.mf-contact-card { padding: 30px; color: var(--white); background: var(--ink); border-radius: var(--radius); }
.mf-contact-card h2 { margin: 0; font: 500 35px/1.1 Georgia, serif; }
.mf-contact-card p { color: rgba(255,255,255,.62); }
.mf-contact-card dl { display: grid; gap: 0; margin: 28px 0 0; }
.mf-contact-card dl div { padding-block: 17px; border-top: 1px solid rgba(255,255,255,.15); }
.mf-contact-card dt { color: rgba(255,255,255,.48); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mf-contact-card dd { margin: 5px 0 0; font-size: 15px; }

.mf-faq { display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
.mf-faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mf-faq summary { padding: 19px 22px; font-weight: 750; cursor: pointer; list-style: none; }
.mf-faq summary::-webkit-details-marker { display: none; }
.mf-faq summary::after { float: inline-end; content: "+"; color: var(--rust); font-size: 22px; line-height: 1; }
.mf-faq details[open] summary::after { content: "−"; }
.mf-faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 15px; }

.mf-footer { padding-block: 68px 28px; color: var(--white); background: #061715; }
.mf-footer__grid { display: grid; grid-template-columns: 1.6fr .6fr .8fr; gap: 70px; padding-bottom: 60px; }
.mf-footer__intro { max-width: 460px; }
.mf-footer__intro p { margin: 22px 0 0; color: rgba(255,255,255,.55); }
.mf-footer h2 { margin: 0 0 17px; color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.mf-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.mf-footer a { color: rgba(255,255,255,.76); font-size: 14px; text-decoration: none; }
.mf-footer a:hover, .mf-footer a:focus-visible { color: var(--white); }
.mf-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }

.mf-prose { max-width: 800px; margin-inline: auto; }
.mf-prose h1 { font-family: Georgia, serif; font-size: 52px; line-height: 1; }
.mf-prose h2 { margin-top: 45px; font-family: Georgia, serif; font-size: 32px; }
.mf-prose p, .mf-prose li { color: var(--muted); }
.mf-empty { padding-block: 120px; text-align: center; }

@media (max-width: 1020px) {
  .mf-nav { position: fixed; inset: var(--header-h) 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 25px 20px 34px; color: var(--white); background: rgba(7,29,27,.98); border-top: 1px solid rgba(255,255,255,.1); }
  .mf-nav.is-open { display: flex; }
  .mf-nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .mf-nav .mf-language { width: max-content; margin-top: 18px; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.25); }
  .mf-nav .mf-button { margin-top: 12px; border-bottom: 0; }
  .mf-menu-toggle { display: block; }
  .nav-open .mf-menu-toggle span { opacity: 0; }
  .nav-open .mf-menu-toggle::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .mf-menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }
  .mf-hero__inner { grid-template-columns: 1fr; }
  .mf-hero-card { min-height: 460px; }
  .mf-service-grid { grid-template-columns: repeat(2, 1fr); }
  .mf-process { grid-template-columns: repeat(2, 1fr); }
  .mf-process__step:nth-child(2) { border-inline-end: 0; }
  .mf-process__step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .mf-container { width: min(calc(100% - 30px), var(--container)); }
  .mf-brand__role { display: none; }
  .mf-hero { min-height: auto; }
  .mf-hero__inner { padding-block: 64px 56px; }
  .mf-hero h1, .mf-page-hero h1 { font-size: clamp(49px, 15vw, 70px); }
  .mf-hero__lead { font-size: 17px; }
  .mf-hero__actions .mf-button { width: 100%; }
  .mf-hero-card { min-height: 380px; padding: 25px; }
  .mf-proof-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .mf-proof { min-height: 115px; padding: 20px; border-bottom: 1px solid var(--line); }
  .mf-proof:nth-child(2) { border-inline-end: 0; }
  .mf-proof:nth-child(3) { padding-inline-start: 0; border-bottom: 0; }
  .mf-proof:nth-child(4) { border-inline-end: 0; border-bottom: 0; }
  .mf-section__head, .mf-split, .mf-cta, .mf-permit-layout, .mf-contact-layout, .mf-footer__grid { grid-template-columns: 1fr; }
  .mf-section__head { gap: 20px; margin-bottom: 38px; }
  .mf-section__head h2, .mf-split h2, .mf-cta h2 { font-size: 43px; }
  .mf-service-grid, .mf-work-grid { grid-template-columns: 1fr; }
  .mf-service-card { min-height: 285px; }
  .mf-profile { min-height: 480px; padding: 28px; }
  .mf-profile__monogram { width: 110px; height: 110px; margin-bottom: 70px; font-size: 43px; }
  .mf-work-card { min-height: 340px; padding: 27px; }
  .mf-process { grid-template-columns: 1fr; }
  .mf-process__step, .mf-process__step:nth-child(2) { min-height: auto; padding: 28px 0; border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .mf-process__step h3 { margin-top: 35px; }
  .mf-process__step:last-child { border-bottom: 0; }
  .mf-cta { padding: 34px 26px; }
  .mf-cta__action { justify-content: flex-start; }
  .mf-page-hero { padding-block: 72px 90px; }
  .mf-page-hero p { font-size: 17px; }
  .mf-detail { grid-template-columns: 1fr; gap: 18px; }
  .mf-sticky { position: static; }
  .mf-field-grid { grid-template-columns: 1fr; }
  .mf-form { padding: 25px 20px; }
  .mf-footer__grid { gap: 38px; }
  .mf-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
