/* ============ Fonts (self-hosted) ============ */
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/archivo-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/archivo-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url(fonts/archivo-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); }

/* ============ Tokens ============ */
:root {
  --ink: #15191c;          /* graphite */
  --ink-2: #1e2428;
  --ink-3: #2a3136;
  --steel: #5b666e;
  --muted: #6b7378;
  --concrete: #f4f2ee;     /* warm concrete white */
  --stone: #e8e4dc;
  --line: #ddd8ce;
  --white: #ffffff;
  --accent: #f4a51c;       /* safety amber */
  --accent-2: #ffb938;
  --accent-ink: #1b1400;

  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--concrete); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }

/* ============ Buttons ============ */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: var(--radius);
  font: 600 15px/1 var(--f-body); letter-spacing: .01em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============ Type helpers ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}
.eyebrow .num { font-family: var(--f-head); font-weight: 800; color: var(--ink); letter-spacing: 0; padding-right: 12px; border-right: 1.5px solid var(--accent); }
.eyebrow--light { color: rgba(255,255,255,.72); }
.eyebrow--light .num { color: var(--accent); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(244,165,28,.25); }

.h2 { font-weight: 800; font-size: clamp(32px, 4.4vw, 54px); text-wrap: balance; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); margin-top: 22px; max-width: 56ch; }
.lead--light { color: rgba(255,255,255,.72); }

.section { padding-block: clamp(80px, 11vw, 140px); }
.section__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.section__intro { color: var(--muted); font-size: 17px; max-width: 46ch; justify-self: end; }

/* ============ Header ============ */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--white);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.header.is-solid { background: rgba(21,25,28,.94); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header__row { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand__mark { width: 30px; height: 30px; fill: var(--accent); }
.brand__name { font: 800 22px/1 var(--f-head); letter-spacing: .06em; display: inline-flex; align-items: flex-start; gap: 5px; }
.brand__bv { font-size: 10px; letter-spacing: .1em; font-weight: 700; opacity: .65; margin-top: 2px; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; opacity: .85; position: relative; padding: 6px 0; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header__phone svg { width: 18px; height: 18px; fill: var(--accent); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column;
  color: var(--white); background: var(--ink); isolation: isolate; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { /* legibility overlay */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,18,20,.92) 0%, rgba(15,18,20,.72) 42%, rgba(15,18,20,.25) 100%),
    linear-gradient(0deg, rgba(15,18,20,.9) 0%, rgba(15,18,20,0) 40%);
}
.hero__grid { /* blueprint grid, also the fallback when the photo can't load */
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; }
.hero__title { font-weight: 800; font-size: clamp(42px, 7.2vw, 96px); line-height: .98; letter-spacing: -0.035em; max-width: 13ch; text-wrap: balance; }
.hero__lead { margin-top: 28px; max-width: 52ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.78); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__bar { border-top: 1px solid rgba(255,255,255,.12); background: rgba(15,18,20,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__bar-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.scope { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-left: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.scope:first-child { border-left: 0; padding-left: 0; }
.scope__k { font: 700 18px/1.1 var(--f-head); }
.scope__v { font-size: 14px; color: rgba(255,255,255,.62); }
.scope--call { position: relative; background: var(--accent); color: var(--accent-ink); transition: background .2s; }
.scope--call::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 50vw; background: inherit; }
.scope--call .scope__v { color: rgba(27,20,0,.75); font-weight: 600; font-size: 16px; }
.scope--call:hover { background: var(--accent-2); }

/* ============ Photos ============ */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); aspect-ratio: 3 / 2; }
.photo::before { /* fallback pattern if an image fails */
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #2a3136, #15191c);
}
.photo img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo--tall { aspect-ratio: 4 / 5; }

/* ============ About ============ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.checks { margin: 32px 0 36px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 4px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4a51c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.about__media { position: relative; margin: 0; }
.about__badge {
  position: absolute; left: -28px; bottom: 36px; background: var(--accent); color: var(--accent-ink);
  padding: 20px 24px; border-radius: var(--radius); display: grid; gap: 4px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.45);
}
.about__badge strong { font: 800 18px/1.15 var(--f-head); }
.about__badge span { font-size: 14px; opacity: .8; }

/* ============ Services ============ */
.services { background: var(--ink); color: var(--white); position: relative; }
.services .section__intro { color: rgba(255,255,255,.65); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--ink); padding: 34px 28px 30px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: background .3s var(--ease); }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { background: var(--ink-2); }
.card:hover::after { transform: scaleX(1); }
.card__icon { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; background: rgba(244,165,28,.12); margin-bottom: 10px; }
.card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.card__tag { font-weight: 500; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.5; }
.card__text { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.tags li { font-size: 12px; font-weight: 500; letter-spacing: .02em; padding: 5px 10px; border-radius: 99px; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7); }
.card--cta { background: var(--accent); color: var(--accent-ink); justify-content: space-between; }
.card--cta:hover { background: var(--accent-2); }
.card--cta::after { display: none; }
.card--cta .card__title { font-size: 24px; line-height: 1.15; }
.card--cta .card__text { color: rgba(27,20,0,.78); }
.card--cta .btn { align-self: flex-start; margin-top: 18px; }

/* ============ Process ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 26px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step__n { display: block; font: 800 48px/1 var(--f-head); color: transparent; -webkit-text-stroke: 1.5px var(--ink); letter-spacing: -0.02em; margin-bottom: 26px; }
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step::after { /* connector */
  content: ""; position: absolute; top: 56px; right: -21px; width: 22px; height: 2px; background: var(--accent);
}
.step:last-child::after { display: none; }

/* ============ Projects ============ */
.projects { background: var(--stone); }
.projects__grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.project { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.project .photo { border-radius: 0; }
.project--lg { grid-row: span 2; }
.project--lg .photo { aspect-ratio: auto; flex: 1; min-height: 380px; }
.project:hover .photo img { transform: scale(1.04); }
.project__body { padding: 24px 26px 26px; }
.project__meta { display: flex; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.project__meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; margin-right: 14px; vertical-align: middle; }
.project__title { font-size: 26px; font-weight: 700; }
.project__text { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 52ch; }

/* ============ Why ============ */
.why { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(270deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(270deg, #000, transparent 60%); }
.why__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.why__head .btn { margin-top: 36px; }
.why__list { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.why__list li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.why__n { font: 800 22px/1.2 var(--f-head); color: var(--accent); }
.why__list h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.why__list p { color: rgba(255,255,255,.65); }

/* ============ Contact ============ */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__call { display: flex; align-items: center; gap: 18px; margin-top: 36px; text-decoration: none; padding: 20px 22px; border-radius: var(--radius); background: var(--ink); color: var(--white); transition: background .2s; }
.contact__call:hover { background: var(--ink-3); }
.contact__call-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.contact__call-icon svg { width: 22px; height: 22px; fill: var(--accent-ink); }
.contact__call small { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.contact__call strong { font: 700 24px/1.1 var(--f-head); }
.contact__list { margin: 28px 0 0; display: grid; gap: 0; }
.contact__list div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { color: var(--muted); }
.contact__list dd { margin: 0; font-weight: 600; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(21,25,28,.35); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 600; }
.field i { color: #c26a00; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink);
  background: var(--concrete); border: 1.5px solid transparent; border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315191c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c0392b; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.consent.is-invalid { color: #c0392b; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__status { font-size: 15px; font-weight: 500; min-height: 1.5em; }
.form__status.is-ok { color: #1e7b45; }
.form__status.is-err { color: #c0392b; }

/* ============ Footer ============ */
.footer { background: #0f1214; color: rgba(255,255,255,.7); padding-top: 80px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__brand p { margin-top: 18px; max-width: 34ch; }
.brand--light { color: var(--white); }
.footer h4 { font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer nav, .footer__grid > div:last-child { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer a:not(.btn):not(.brand) { text-decoration: none; transition: color .2s; }
.footer a:not(.btn):not(.brand):hover { color: var(--accent); }
.footer .btn { margin-top: 8px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.5); }
.footer__legal { display: flex; gap: 24px; }

/* ============ Mobile action bar ============ */
.mbar { display: none; }

/* ============ Reveal ============ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .header__phone { display: none; }
  .nav { gap: 24px; }
}
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0; flex-direction: column; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 28px; border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font: 700 26px/1 var(--f-head); padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 1; }
  .nav a::after { display: none; }
  .header.menu-open { background: var(--ink); }

  .section__head { grid-template-columns: 1fr; }
  .section__intro { justify-self: start; }
  .hero__bar-row { grid-template-columns: 1fr 1fr; }
  .scope { padding: 20px 16px; }
  .scope:nth-child(3) { border-left: 0; padding-left: 0; }
  .scope:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }

  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__badge { left: 16px; bottom: 16px; }
  .photo--tall { aspect-ratio: 4 / 3; }
  .projects__grid { grid-template-columns: 1fr; }
  .project--lg { grid-row: auto; }
  .project--lg .photo { aspect-ratio: 3 / 2; min-height: 0; }

  .mbar {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(15,18,20,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius); font-weight: 600; font-size: 15px; text-decoration: none; }
  .mbar__call { color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
  .mbar__call svg { width: 18px; height: 18px; fill: var(--accent); }
  .mbar__quote { background: var(--accent); color: var(--accent-ink); }
  .footer { padding-bottom: 72px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__inner { padding-top: calc(var(--header-h) + 32px); }
  .why__list li { grid-template-columns: 48px 1fr; gap: 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 20px; }
  .eyebrow { letter-spacing: .1em; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
