/* ============================================================
   EED — European Engineering & Development
   Design system + section styles
   Brand: White · Forest Green · Charcoal · Near-Black
   Type:  Barlow Condensed (display) · DM Sans (body)
   ============================================================ */

:root {
  /* Brand */
  --white:    #FFFFFF;
  --green:    #3A8C2F;
  --green-d:  #2E7026;
  --green-deep: #153521;
  --charcoal: #4A4A4A;
  --ink:      #1A1A1A;

  /* Tonal neutrals (warm-cool neutral, low chroma) */
  --paper:    #FAFAF8;
  --line:     #E6E6E2;
  --line-2:   #D8D8D3;
  --mute:     #6E6E6A;

  /* Type */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body:    "DM Sans", system-ui, -apple-system, sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 76px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 0.98; letter-spacing: -0.01em; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 148px); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--green); display: inline-block;
}
.eyebrow--light { color: var(--white); }
.eyebrow--light::before { background: var(--white); }

/* Decorative diagonal "slash" accents */
.slash {
  position: absolute;
  width: 2px;
  height: 220px;
  background: var(--green);
  transform: rotate(24deg);
  transform-origin: center;
  opacity: 0.18;
  pointer-events: none;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo__mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
  display: inline-flex;
}
.logo__mark .e, .logo__mark .d { display: inline-block; }
.logo__mark .d { color: var(--green); }
.logo__tag {
  display: inline-flex;
  flex-direction: column;
  border-left: 1.5px solid var(--line-2);
  padding-left: 14px;
  line-height: 1.25;
}
.logo__tag .eu {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green);
}
.logo__tag .ed {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.logo--ondark .logo__mark { color: var(--white); }
.logo--ondark .logo__mark .d { color: #7ED36E; }
.logo--ondark .logo__tag { border-color: rgba(255,255,255,0.28); }
.logo--ondark .logo__tag .eu { color: #7ED36E; }
.logo--ondark .logo__tag .ed { color: rgba(255,255,255,0.7); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header .logo { justify-self: start; }
.site-header .nav { justify-self: center; }
.nav__cta--desktop { justify-self: end; }
.site-header .logo__mark { font-size: 32px; }
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(0,0,0,0.4);
}
/* On dark hero (before scroll) logo is light; after scroll it flips dark */
.site-header.scrolled .logo--ondark .logo__mark { color: var(--ink); }
.site-header.scrolled .logo--ondark .logo__mark .d { color: var(--green); }
.site-header.scrolled .logo--ondark .logo__tag { border-color: var(--line-2); }
.site-header.scrolled .logo--ondark .logo__tag .eu { color: var(--green); }
.site-header.scrolled .logo--ondark .logo__tag .ed { color: var(--mute); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  position: relative;
  transition: color .2s var(--ease);
}
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); }
.site-header.scrolled .nav a { color: var(--charcoal); }
.site-header.scrolled .nav a:hover { color: var(--ink); }

.nav__cta {
  padding: 11px 22px;
  background: var(--green);
  color: var(--white) !important;
  border-radius: 2px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--green-d); transform: translateY(-1px); }
.nav__cta--mobile { display: none; }

/* Mobile toggle */
.nav__toggle { display: none; width: 40px; height: 40px; position: relative; z-index: 110; }
.nav__toggle span {
  position: absolute; left: 8px; right: 8px; height: 2px; background: var(--white);
  transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 13px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 25px; }
.site-header.scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 26px;
  background: var(--green);
  color: var(--white);
  border-radius: 2px;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--green-d); transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(58,140,47,0.9); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: #F0F0EC; box-shadow: 0 14px 26px -18px rgba(0,0,0,0.5); }

.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--header-h) var(--gutter) 64px;
  overflow: hidden;
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media image-slot { width: 100%; height: 100%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,22,20,0.55) 0%, rgba(20,22,20,0.30) 38%, rgba(20,22,20,0.72) 100%),
    linear-gradient(90deg, rgba(20,22,20,0.55) 0%, rgba(20,22,20,0) 60%);
}
.hero__slash { top: 8%; right: 16%; height: 360px; opacity: 0.5; background: #7ED36E; }
.hero__slash--thin { top: 30%; right: 13%; height: 200px; opacity: 0.3; background: var(--white); }

.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin-inline: auto; }
.hero__logo { margin-bottom: 30px; }
.hero__logo .logo__mark { font-size: 34px; }
.hero h1 {
  font-size: clamp(50px, 9.2vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 16ch;
}
.hero h1 .accent { color: #7ED36E; }
.hero__sub {
  margin-top: 26px;
  max-width: 50ch;
  font-size: clamp(17px, 1.5vw, 21px);
  color: rgba(255,255,255,0.9);
}
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero__scrolldown {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2;
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scrolldown .bar {
  width: 1.5px; height: 46px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden;
}
.hero__scrolldown .bar::after {
  content: ""; position: absolute; inset: 0; background: var(--white);
  animation: scrolldown 2.1s var(--ease) infinite;
}
@keyframes scrolldown {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ============================================================
   SECTION HEADINGS (shared)
   ============================================================ */
.section h2 {
  font-size: clamp(34px, 5vw, 64px);
  text-transform: uppercase;
  color: var(--ink);
}
.section p { color: var(--charcoal); font-size: 17px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--paper); }
.about__slash { top: -40px; left: 9%; opacity: 0.14; }
.about__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.stats { display: flex; flex-direction: column; gap: 36px; }
.stat { border-top: 2px solid var(--ink); padding-top: 16px; }
.stat__num {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(62px, 8vw, 96px); line-height: 0.85; color: var(--ink);
}
.stat__num .u { color: var(--green); }
.stat__label {
  display: block; margin-top: 12px;
  font-family: var(--display); font-weight: 500; font-size: 17px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--charcoal); line-height: 1.2;
}
.about__story h2 { margin-bottom: 26px; }
.about__story p { margin-bottom: 20px; max-width: 56ch; text-wrap: pretty; }
.about__sign {
  margin-top: 30px;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--green);
  display: inline-flex; align-items: center; gap: 12px;
}
.about__sign::before { content: ""; width: 34px; height: 2px; background: var(--green); }

/* ============================================================
   WHAT WE BUILD — cards
   ============================================================ */
.build__head { margin-bottom: 60px; }
.build__head h2 { margin-top: 6px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative;
  padding: 38px 32px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(0,0,0,0.4); border-color: var(--line-2); }
.card:hover::before { transform: scaleX(1); }
.card__num {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.1em; color: var(--line-2);
}
.card__icon { width: 46px; height: 46px; margin: 22px 0 24px; color: var(--green); }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 27px; text-transform: uppercase; margin-bottom: 14px; color: var(--ink); }
.card p { font-size: 16px; color: var(--charcoal); text-wrap: pretty; }

/* ============================================================
   PROCESS — timeline
   ============================================================ */
.process__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  margin-bottom: 64px;
}
.process__head h2 { margin-top: 6px; }
.process__head p { max-width: 44ch; }
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px;
  background: var(--line); z-index: 0;
}
.step { position: relative; padding-top: 64px; z-index: 1; }
.step__num {
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.step:hover .step__num { background: var(--green); border-color: var(--green); color: var(--white); }
.step h3 { font-size: 25px; text-transform: uppercase; margin-bottom: 12px; color: var(--ink); }
.step p { font-size: 16px; color: var(--charcoal); text-wrap: pretty; }

/* ============================================================
   WHY EUROPEAN STANDARDS — dark
   ============================================================ */
.why { background: var(--ink); color: var(--white); overflow: hidden; }
.why h2, .why .card h3 { color: var(--white); }
.why .why__head h2 { color: var(--white); }
.why__head { max-width: 60ch; margin-bottom: 64px; }
.why__head h2 { font-size: clamp(34px, 5vw, 64px); text-transform: uppercase; margin-bottom: 22px; }
.why__head p { color: rgba(255,255,255,0.72); font-size: 18px; }
.why__slash { top: 12%; right: 8%; height: 340px; background: #7ED36E; opacity: 0.4; }
.why__slash--2 { top: 40%; right: 5%; height: 200px; background: rgba(255,255,255,0.5); opacity: 0.25; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12); }
.feature {
  background: var(--ink); padding: 40px 34px;
  transition: background .35s var(--ease);
}
.feature:hover { background: #232323; }
.feature__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.feature__icon { width: 22px; height: 22px; color: #7ED36E; flex: none; }
.feature__k {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.14em; color: rgba(126,211,110,0.8);
}
.feature h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 14px; }
.feature p { color: rgba(255,255,255,0.72); font-size: 16px; text-wrap: pretty; }

/* ============================================================
   METRICS / MEASURABLE CASE — deep green
   ============================================================ */
.metrics { background: var(--green-deep); color: var(--white); overflow: hidden; }
.metrics__slash { top: 14%; right: 7%; height: 320px; background: #7ED36E; opacity: 0.3; }
.metrics__head { max-width: 62ch; margin-bottom: 60px; position: relative; z-index: 1; }
.metrics__eyebrow { color: rgba(255,255,255,0.55); letter-spacing: 0.24em; }
.metrics__eyebrow::before { background: rgba(255,255,255,0.4); }
.metrics h2 { color: var(--white); font-size: clamp(34px, 5vw, 62px); text-transform: uppercase; margin-bottom: 22px; }
.metrics__head p { color: rgba(255,255,255,0.66); font-size: 18px; text-wrap: pretty; }
.metrics__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.13);
  position: relative; z-index: 1;
}
.metric { background: var(--green-deep); padding: 42px 36px 40px; transition: background .35s var(--ease); }
.metric:hover { background: #1A4029; }
.metric__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(58px, 7vw, 86px); line-height: 0.82; color: var(--white);
}
.metric__num .u { font-size: 0.38em; color: rgba(126,211,110,0.85); margin-left: 5px; font-weight: 600; }
.metric__line {
  display: block; height: 2px; margin: 24px 0;
  background: linear-gradient(90deg, rgba(126,211,110,0.85) 0%, rgba(126,211,110,0.85) 52%, rgba(255,255,255,0.13) 52%);
}
.metric h3 { font-size: 22px; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.metric p { font-size: 15px; color: rgba(255,255,255,0.6); text-wrap: pretty; }

/* ============================================================
   GALLERY — bento grid
   ============================================================ */
.gallery__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.gallery__head h2 { margin-top: 6px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(200px, 30vh));
  gap: 18px;
}
.gallery__grid image-slot {
  width: 100%; height: 100%;
  background: var(--paper);
}
.g-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.g-b { grid-column: 3 / 4; grid-row: 1 / 2; }
.g-c { grid-column: 4 / 5; grid-row: 1 / 2; }
.g-d { grid-column: 3 / 4; grid-row: 2 / 3; }
.g-e { grid-column: 4 / 5; grid-row: 2 / 3; }

/* ============================================================
   CONTACT CTA — green
   ============================================================ */
.cta { background: var(--green); color: var(--white); overflow: hidden; }
.cta__slash { top: -30px; left: 12%; background: var(--white); opacity: 0.2; height: 280px; }
.cta__slash--2 { bottom: -30px; right: 14%; top: auto; background: var(--white); opacity: 0.16; height: 240px; }
.cta__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.cta h2 { color: var(--white); font-size: clamp(36px, 5.2vw, 68px); text-transform: uppercase; margin-bottom: 22px; }
.cta p { color: rgba(255,255,255,0.9); font-size: 18px; max-width: 46ch; }
.cta__form { width: 100%; }
.cta__row {
  display: flex; gap: 12px; background: var(--white); padding: 10px; border-radius: 3px;
  box-shadow: 0 24px 50px -30px rgba(0,0,0,0.5);
}
.cta__row input {
  flex: 1; min-width: 0; border: none; background: transparent;
  padding: 14px 16px; font-size: 16px; color: var(--ink);
}
.cta__row input::placeholder { color: var(--mute); }
.cta__row input:focus { outline: none; }
.cta__row .btn { white-space: nowrap; }
.cta__note { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.82); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--white); padding-block: 72px 30px; }
.footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__blurb { margin-top: 22px; max-width: 42ch; color: rgba(255,255,255,0.62); font-size: 15px; }
.footer__col h4 {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.footer__col a {
  display: block; padding: 7px 0; color: rgba(255,255,255,0.82); font-size: 16px;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer__col a:hover { color: #7ED36E; padding-left: 6px; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px;
  font-family: var(--display); font-weight: 500; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.45);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scrolldown .bar::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .stats { flex-direction: row; flex-wrap: wrap; gap: 28px 40px; }
  .stat { flex: 1 1 160px; }
  .cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .timeline::before { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { grid-template-columns: 1fr; }
}

@media (max-width: 1250px) {
  .site-header { display: flex; justify-content: space-between; }
  .nav__toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    background: var(--white); padding: 80px 36px 40px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,0.4);
  }
  .nav.open { transform: none; }
  .nav a { color: var(--ink); font-size: 22px; width: 100%; padding: 8px 0; }
  .site-header.scrolled .nav a { color: var(--ink); }
  .nav__cta--desktop { display: none; }
  .nav__cta--mobile { display: flex; }
  .nav__cta { margin-top: 14px; width: 100%; text-align: center; justify-content: center; padding: 14px 22px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }

  .process__head { grid-template-columns: 1fr; gap: 18px; }
  .timeline { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: 1fr; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 30vh);
  }
  .g-a { grid-column: 1 / 3; grid-row: 1 / 2; }
  .g-b { grid-column: 1 / 2; grid-row: 2 / 3; }
  .g-c { grid-column: 2 / 3; grid-row: 2 / 3; }
  .g-d { grid-column: 1 / 2; grid-row: 3 / 4; }
  .g-e { grid-column: 2 / 3; grid-row: 3 / 4; }
  .cta__row { flex-direction: column; }
  .cta__row .btn { justify-content: center; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
