/* ==========================================================
   Firmus Workwear — main stylesheet
   ========================================================== */
:root {
  --red: #be1622;
  --red-dark: #9c111b;
  --ink: #1d1d1b;
  --black: #141413;
  --char: #232321;
  --steel: #3a3a37;
  --mute: #6d6d68;
  --line: #dcdbd5;
  --paper: #f3f2ee;
  --white: #ffffff;
  --hivis: #ffaa00;

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  font-stretch: 110%;
  border: 2px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn::after { content: "→"; font-weight: 400; transition: transform .25s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: #fff; color: var(--black); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--black); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.eyebrow--light { color: #fff; }

.section { padding: var(--sec) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--row { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section__title {
  font-weight: 800; font-stretch: 118%;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: .98; letter-spacing: -.015em; text-transform: uppercase;
}
.section__lead { margin-top: 24px; color: var(--mute); font-size: clamp(17px, 1.4vw, 19px); max-width: 620px; }
.section__head--row .section__lead { margin-top: 0; }

/* ---------- Utility bar ---------- */
.utility { background: var(--black); color: rgba(255,255,255,.72); font-size: 13px; }
.utility__in { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.utility p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lang { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; }
.lang span { opacity: .4; }
.lang__btn { opacity: .55; padding: 4px 2px; transition: opacity .2s, color .2s; }
.lang__btn:hover { opacity: 1; }
.lang__btn[aria-pressed="true"] { opacity: 1; color: #fff; font-weight: 500; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 6px 30px rgba(0,0,0,.05); }
.header__in { display: flex; align-items: center; height: 80px; gap: 32px; }
.header__logo img { width: 186px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav > a {
  position: relative; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-stretch: 108%;
  padding: 6px 0;
}
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red);
  transition: right .3s var(--ease);
}
.nav > a:hover::after, .nav > a.is-active::after { right: 0; }
.nav__lang { display: none; }
.header__cta { height: 46px; padding: 0 22px; font-size: 13px; }
.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s 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; background: var(--black); color: #fff; overflow: hidden; }
.hero__in {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px);
  align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px);
}
.hero__title {
  font-weight: 900; font-stretch: 112%;
  font-size: clamp(40px, 5.1vw, 80px);
  line-height: .94; letter-spacing: -.02em; text-transform: uppercase;
}
.hero__title span { color: var(--red); display: inline; }
.hero__lead { margin-top: 30px; max-width: 540px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.72); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  height: clamp(420px, 46vw, 640px);
}
.hero__img { margin: 0; overflow: hidden; position: relative; background: var(--char); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__img:hover img { transform: scale(1.04); }
.hero__img--a { grid-row: 1 / 3; }
.hero__img--a img { object-position: 50% 30%; }
.hero__img--b img { object-position: 50% 20%; }
.hero__img--c img { object-position: 50% 25%; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
}
.hero__tag {
  position: absolute; left: -24px; bottom: 34px; z-index: 2;
  background: var(--red); color: #fff; padding: 16px 22px 16px 20px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.hero__tag .mono { opacity: .8; font-size: 11px; }
.hero__tag strong { font-stretch: 115%; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 17px; }

/* Ticker */
.ticker { border-top: 1px solid rgba(255,255,255,.1); overflow: hidden; background: var(--black); }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 36px; padding: 22px 36px 22px 0;
  font-weight: 800; font-stretch: 125%; font-size: clamp(18px, 2vw, 26px);
  text-transform: uppercase; letter-spacing: .02em; color: rgba(255,255,255,.88); white-space: nowrap;
}
.ticker__track span::after { content: ""; width: 12px; height: 12px; background: var(--red); transform: rotate(45deg); }
.ticker__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(32px, 4vw, 52px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { font-weight: 900; font-stretch: 120%; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.02em; }
.stat .plus { font-weight: 900; font-size: clamp(30px, 3vw, 44px); color: var(--red); margin-left: 2px; vertical-align: top; }
.stat p { margin-top: 12px; color: var(--mute); font-size: 15px; max-width: 220px; line-height: 1.45; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ind {
  position: relative; background: #fff; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; min-height: 470px;
  transition: background .35s var(--ease), color .35s var(--ease);
  overflow: hidden;
}
.ind::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--red);
  transition: width .5s var(--ease);
}
.ind:hover { background: var(--black); color: #fff; }
.ind:hover::before { width: 100%; }
.ind__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 34px; }
.ind__no { font-family: var(--f-mono); font-size: 13px; color: var(--mute); letter-spacing: .1em; }
.ind:hover .ind__no { color: rgba(255,255,255,.55); }
.ind__icon { width: 52px; height: 52px; color: var(--red); }
.ind__icon svg { width: 100%; height: 100%; }
.ind h3 { font-weight: 800; font-stretch: 116%; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.005em; }
.ind__sub { margin-top: 12px; color: var(--mute); font-size: 15px; }
.ind:hover .ind__sub { color: rgba(255,255,255,.6); }
.ind__label { margin-top: 26px; margin-bottom: 10px; color: var(--mute); }
.ind:hover .ind__label { color: rgba(255,255,255,.5); }
.ind__products { display: flex; flex-wrap: wrap; gap: 6px; }
.ind__products li {
  font-size: 13px; line-height: 1.3; padding: 6px 10px; border: 1px solid var(--line);
  transition: border-color .35s;
}
.ind:hover .ind__products li { border-color: rgba(255,255,255,.18); }
.ind__palette { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 12px; }
.ind__swatches { display: flex; }
.ind__swatches i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ind__swatches i:first-child { margin-left: 0; }
.ind:hover .ind__swatches i { border-color: var(--black); }
.ind__palette span { color: var(--mute); font-size: 11px; }
.ind:hover .ind__palette span { color: rgba(255,255,255,.5); }

/* ---------- Why ---------- */
.why { background: var(--red); color: #fff; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why__item { padding: clamp(40px, 5vw, 64px) clamp(18px, 2vw, 32px); border-left: 1px solid rgba(255,255,255,.22); }
.why__item:first-child { border-left: 0; padding-left: 0; }
.why__no { opacity: .7; }
.why__item h3 { margin-top: 16px; font-weight: 800; font-stretch: 115%; font-size: 21px; text-transform: uppercase; line-height: 1.1; }
.why__item p { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.82); }

/* ---------- Project ---------- */
.project { background: var(--paper); }
.project__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.project__intro > p { font-size: clamp(17px, 1.4vw, 19px); color: var(--steel); }
.specs { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--mute); padding-top: 3px; }
.specs dd { margin: 0; font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  height: 42px; padding: 0 18px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-stretch: 108%;
  transition: background .2s, color .2s, border-color .2s;
}
.filter sup { font-family: var(--f-mono); font-size: 10px; margin-left: 4px; opacity: .55; }
.filter:hover { border-color: var(--ink); }
.filter[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shot {
  position: relative; margin: 0; overflow: hidden; background: var(--char); aspect-ratio: 4 / 5; cursor: zoom-in;
  animation: fadeIn .5s var(--ease) both;
}
.shot.is-wide { grid-column: span 2; aspect-ratio: auto; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .9s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  display: flex; flex-direction: column; gap: 2px;
}
.shot figcaption .mono { font-size: 10.5px; opacity: .7; }
.shot figcaption strong { font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: 15px; letter-spacing: .02em; }
.shot[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Process ---------- */
.process { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.process::before {
  /* reflective tape motif */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--hivis) 0 60px, #c7c7c2 60px 80px);
  opacity: .9;
}
.section__head--light .section__title { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); counter-reset: s; }
.step { background: var(--black); padding: clamp(28px, 3vw, 44px); transition: background .3s; }
.step:hover { background: var(--char); }
.step__no { display: block; font-weight: 900; font-stretch: 125%; font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 26px; }
.step h3 { font-weight: 800; font-stretch: 114%; font-size: 21px; text-transform: uppercase; line-height: 1.12; }
.step p { margin-top: 12px; color: rgba(255,255,255,.62); font-size: 15px; }

/* ---------- References ---------- */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li {
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  aspect-ratio: 3 / 2; padding: 18px;
  transition: background .3s;
}
.logos img { max-width: 100%; object-fit: contain; opacity: .62; transition: opacity .3s, transform .3s var(--ease); }
.logos li:hover { background: var(--paper); }
.logos li:hover img { opacity: 1; transform: scale(1.04); }

/* ---------- CTA ---------- */
.cta { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 360px; height: 500px; transform: translateY(-50%);
  background: url("../brand/firmus-monogram-white.svg") no-repeat center / contain; opacity: .14;
}
.cta__in { position: relative; z-index: 1; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: center; }
.cta h2 { font-weight: 900; font-stretch: 122%; font-size: clamp(34px, 4.4vw, 62px); line-height: .96; text-transform: uppercase; letter-spacing: -.015em; }
.cta p { color: rgba(255,255,255,.85); font-size: 18px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact__list .mono { color: var(--mute); }
.contact__list a { font-weight: 600; border-bottom: 1px solid transparent; justify-self: start; }
.contact__list a:hover { border-color: var(--red); color: var(--red); }

.form { background: var(--paper); padding: clamp(24px, 4vw, 48px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; }
.form label > span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(190,22,34,.12); }
.form .is-invalid { border-color: var(--red); }
.form__note { font-size: 14px; color: var(--steel); min-height: 1.4em; }
.form__note.is-ok { color: #1f7a3a; }
.form__note.is-err { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.7); padding-top: clamp(56px, 7vw, 96px); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { width: 200px; height: auto; }
.footer__brand p { margin-top: 22px; max-width: 340px; }
.footer h4 { color: #fff; margin-bottom: 18px; font-weight: 500; }
.footer ul li { margin-bottom: 10px; }
.footer ul a:hover { color: #fff; }
.lang--footer { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
.lang--footer .lang__btn { padding: 0; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,9,.94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(90vw, 980px); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: #fff; margin-top: 14px; text-align: center; font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; }
.lightbox__close { position: absolute; top: 14px; right: 20px; color: #fff; font-size: 40px; line-height: 1; width: 48px; height: 48px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 54px; width: 56px; height: 72px; opacity: .7; }
.lightbox__nav:hover, .lightbox__close:hover { opacity: 1; color: var(--red); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

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

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav { gap: 24px; }
  .header__cta { display: none; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cta__in { grid-template-columns: 1fr; gap: 22px; }
  .cta__in .btn { justify-self: start; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; top: var(--nav-top, 118px); left: 0; right: 0; bottom: 0; z-index: 49;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; padding: 12px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav > a { width: 100%; padding: 20px 0; font-size: 22px; font-stretch: 118%; font-weight: 800; border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav__lang { display: inline-flex; margin-top: 28px; font-size: 15px; }
  .nav__lang .lang__btn[aria-pressed="true"] { color: var(--red); }
  .nav__lang .lang__btn { opacity: .7; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__media { height: clamp(380px, 90vw, 560px); }
  .hero__tag { left: 12px; bottom: 12px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); }
  .project__head, .section__head--row, .contact__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .utility p { display: none; }
  .utility__in { justify-content: flex-end; }
  .header__in { height: 68px; }
  .header__logo img { width: 150px; }
  .hero__media { grid-template-columns: 1fr 1fr; height: 420px; gap: 8px; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind { min-height: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .shot figcaption { padding: 28px 12px 10px; }
  .shot figcaption strong { font-size: 13px; }
  .stat p { font-size: 13.5px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { border-left: 0 !important; padding-left: 0 !important; }
  .why__item + .why__item { border-top: 1px solid rgba(255,255,255,.22); }
  .steps { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos li { padding: 12px; }
  .form__row { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__nav { display: none; }
}

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