/* ============================================================
   James Bros Excavating — design system
   Palette: JBE logo red, black, warm cream, restrained safety gold
   Type:   Array (display, condensed) + Satoshi (body) via Fontshare
   ============================================================ */

:root {
  /* Surfaces */
  --bg:        #151515;     /* logo black */
  --bg-2:      #1f1d1a;     /* warm black card / band */
  --bg-3:      #2a2722;     /* hover surfaces */
  --line:      #34302a;     /* subtle border on dark */
  --line-2:    #484137;
  --paper:     #f2eadc;     /* logo-inspired warm cream */
  --paper-2:   #e6dcc9;     /* slightly deeper cream */
  --paper-3:   #d4c6ad;

  /* Brand */
  --clay:      #a01822;     /* JBE logo red */
  --clay-2:    #7d1219;
  --amber:     #d8a22a;     /* restrained safety gold */
  --amber-2:   #b98418;
  --orange:    #c65f27;     /* earth/safety secondary accent */

  /* Text */
  --ink:       #14140f;
  --ink-2:     #2a2a22;
  --mute:      #6f6c64;
  --mute-light:#a09b90;
  --on-dark:   #ece5d6;
  --on-dark-mute:#9d978a;

  /* Type */
  --f-display: "Barlow Condensed", "Khand", "Arial Narrow", system-ui, sans-serif;
  --f-body:    "Satoshi", "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gut:  clamp(20px, 4vw, 56px);
  --rad:  4px;
  --rad-lg: 10px;
}

/* ===================== reset / base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
button { font: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ===================== type ===================== */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
  text-transform: uppercase;
}
.section-eyebrow {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content:"";
  width: 22px; height: 2px; background: var(--clay);
  display: inline-block;
}
.section-head { max-width: 880px; margin-bottom: 56px; }
.section-title {
  font-size: clamp(38px, 5.6vw, 72px);
  letter-spacing: 0.005em;
}
.section-title--sm { font-size: clamp(28px, 3.6vw, 40px); }
.section-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 18px 0 0;
  max-width: 720px;
}
.muted { color: var(--mute); }

/* ===================== buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--rad);
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm { padding: 10px 16px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--clay);
  color: #fff;
  border-color: var(--clay);
}
.btn--primary:hover { background: var(--clay-2); border-color: var(--clay-2); transform: translateY(-1px); }
.btn--accent {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.btn--accent:hover { background: var(--amber-2); border-color: var(--amber-2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20,20,15,0.55);
}
.btn--ghost-dark:hover {
  background: rgba(20,20,15,0.08);
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* ===================== nav ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,20,15,0.92);
  color: var(--on-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gut);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--on-dark); }
.brand__mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(242,234,220,0.25);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand__tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-top: 4px;
}
.nav__links { display: flex; gap: 30px; justify-content: center; }
.nav__links a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--on-dark);
  position: relative;
  padding: 8px 0;
}
.nav__links a:hover { color: var(--amber); }
.nav__links a::after {
  content:""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 12px 18px; font-size: 12px; }
.nav__menu {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--rad);
  padding: 0;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav__menu span { display: block; width: 20px; height: 2px; background: var(--on-dark); }

/* ===================== hero ===================== */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 880px);
  color: var(--on-dark);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  filter: saturate(0.95) contrast(1.05);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,15,0.55) 0%, rgba(20,20,15,0.25) 35%, rgba(20,20,15,0.85) 100%),
    linear-gradient(90deg, rgba(20,20,15,0.78) 0%, rgba(20,20,15,0.30) 60%, rgba(20,20,15,0.0) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) var(--gut) clamp(80px, 12vh, 140px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.4);
  color: var(--amber);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow__dot { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 4px rgba(245,197,24,0.18); }

.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.88;
  letter-spacing: 0.005em;
  margin: 0 0 28px;
  max-width: 16ch;
  text-transform: uppercase;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--amber); }

.hero__sub {
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--on-dark);
  opacity: 0.92;
  margin: 0 0 36px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__corner {
  position: absolute;
  z-index: 2;
  right: var(--gut);
  bottom: 32px;
  text-align: right;
  color: var(--on-dark);
  border-right: 3px solid var(--clay);
  padding-right: 18px;
}
.hero__corner-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.85;
  letter-spacing: 0.005em;
  color: var(--amber);
}
.hero__corner-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-top: 8px;
}

/* ===================== trust band ===================== */
.trust {
  background: var(--ink);
  color: var(--on-dark);
  border-top: 4px solid var(--clay);
}
.trust__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px var(--gut);
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
}
.trust__item { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--amber); padding-left: 16px; }
.trust__k {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.trust__v {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  font-weight: 500;
}

/* ===================== generic section spacing ===================== */
section { padding: clamp(80px, 10vw, 130px) 0; }
.trust, .hero, .editorial, .careers, .foot { padding: 0; }
.editorial { padding: 0; }

/* ===================== pillars ===================== */
.pillars { background: var(--paper); }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pillar {
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-top: 4px solid var(--clay);
  padding: 34px 28px 30px;
  border-radius: var(--rad);
  display: flex; flex-direction: column;
  position: relative;
}
.pillar__num {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--clay);
  margin-bottom: 14px;
}
.pillar__title {
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.pillar__lead {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 20px;
  line-height: 1.5;
}
.pillar__list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--paper-3);
}
.pillar__list li {
  font-size: 14.5px;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--paper-3);
  position: relative;
  color: var(--ink-2);
  line-height: 1.45;
}
.pillar__list li::before {
  content:"";
  position: absolute;
  left: 0; top: 18px;
  width: 12px; height: 2px;
  background: var(--clay);
}

/* ===================== editorial image break ===================== */
.editorial__fig { margin: 0; position: relative; }
.editorial__fig img {
  width: 100%; height: clamp(280px, 50vw, 540px); object-fit: cover;
}
.editorial__fig figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: var(--on-dark);
  padding: 16px 24px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  border-right: 4px solid var(--amber);
}

/* ===================== services ===================== */
.services {
  background: var(--bg);
  color: var(--on-dark);
}
.services .section-eyebrow { color: var(--amber); }
.services .section-eyebrow::before { background: var(--amber); }
.services .section-title { color: var(--on-dark); }
.services .section-title .muted { color: var(--on-dark-mute); }
.services .section-lead { color: var(--on-dark-mute); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.service {
  background: var(--bg-2);
  padding: 36px 30px 32px;
  display: flex; flex-direction: column;
  transition: background .2s ease;
}
.service:hover { background: var(--bg-3); }
.service__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.service__num {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.22em;
}
.service__title {
  font-size: 26px;
  color: var(--on-dark);
}
.service__desc {
  font-size: 15.5px;
  color: var(--on-dark-mute);
  line-height: 1.55;
  margin: 0 0 20px;
}
.service__list {
  list-style: none;
  padding: 0; margin: auto 0 0;
  border-top: 1px solid var(--line-2);
}
.service__list li {
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--on-dark);
  position: relative;
  line-height: 1.4;
}
.service__list li::before {
  content:"";
  position: absolute; left: 0; top: 16px;
  width: 10px; height: 2px; background: var(--amber);
}
.service--cta {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #2a1a14 0%, var(--clay-2) 100%);
  align-items: flex-start;
  justify-content: center;
}
.service--cta .service__title { color: var(--on-dark); margin-bottom: 8px; }
.service--cta .service__desc { color: rgba(255,255,255,0.85); }

/* ===================== process ===================== */
.process { background: var(--paper-2); }
.process__list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--paper-3);
  border: 1px solid var(--paper-3);
}
.process__step {
  background: var(--paper);
  padding: 34px 26px 32px;
  position: relative;
}
.process__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 72px;
  letter-spacing: 0.005em;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 14px;
}
.process__title {
  font-size: 22px;
  margin-bottom: 10px;
}
.process__step p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}

/* ===================== gallery ===================== */
.gallery { background: var(--paper); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.g {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  grid-column: span 2;
  grid-row: span 1;
}
.g--wide { grid-column: span 3; }
.g--tall { grid-row: span 2; grid-column: span 2; }
.g img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.g:hover img { transform: scale(1.04); }
.g figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  color: var(--on-dark);
  background: linear-gradient(180deg, rgba(20,20,15,0) 0%, rgba(20,20,15,0.85) 100%);
  font-size: 14px;
  font-weight: 600;
  display: flex; flex-direction: column; gap: 2px;
}
.g figcaption span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}

/* ===================== about ===================== */
.about { background: var(--ink); color: var(--on-dark); }
.about__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.about .section-eyebrow { color: var(--amber); }
.about .section-eyebrow::before { background: var(--amber); }
.about__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--on-dark);
  margin: 0 0 18px;
}
.about__copy p {
  color: var(--on-dark-mute);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.about__stats {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.stat {
  background: var(--bg-2);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 4px;
  border-left: 4px solid var(--clay);
}
.stat:nth-child(2) { border-left-color: var(--amber); }
.stat:nth-child(3) { border-left-color: var(--orange); }
.stat__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 64px;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--on-dark);
}
.stat__lab {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  font-weight: 700;
}

/* ===================== careers strip ===================== */
.careers {
  background: var(--amber);
  color: var(--ink);
  padding: 56px 0;
}
.careers__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.careers .section-eyebrow { color: var(--clay-2); }
.careers .section-eyebrow::before { background: var(--clay-2); }
.careers .section-title { color: var(--ink); }
.careers__copy p { color: var(--ink-2); margin: 12px 0 0; max-width: 720px; }
.careers__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===================== contact ===================== */
.contact { background: var(--paper-2); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}
.contact__lead { font-size: 18px; color: var(--ink-2); margin: 18px 0 28px; }
.contact__details {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--paper-3);
}
.contact__details li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-3);
  align-items: center;
  font-size: 15.5px;
}
.contact__k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--clay);
}
.contact__details a:hover { color: var(--clay); text-decoration: underline; }

/* form */
.quote {
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-top: 4px solid var(--clay);
  padding: 32px 28px;
  border-radius: var(--rad);
  display: flex; flex-direction: column; gap: 16px;
}
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > legend {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-2);
  padding: 0;
}
.field input,
.field textarea {
  font: inherit;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-radius: var(--rad);
  padding: 12px 14px;
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--clay);
  background: #fff;
}
.field--check { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.field--check label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
}
.field--check > legend { margin-bottom: 4px; }
.field--check > div { display: flex; flex-wrap: wrap; gap: 14px; }
.field--check input { width: 16px; height: 16px; accent-color: var(--clay); }
.quote__note {
  font-size: 12.5px;
  color: var(--mute);
  margin: 0;
}
.quote__note a { color: var(--clay); text-decoration: underline; }

/* arrange checkbox group horizontally */
.field--check {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}
.field--check legend {
  flex-basis: 100%;
}

/* ===================== footer ===================== */
.foot {
  background: var(--bg);
  color: var(--on-dark);
  padding: 48px 0 36px;
  border-top: 4px solid var(--clay);
}
.foot__inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 40px;
  align-items: start;
}
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(242,234,220,0.2);
}
.foot__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.foot__tag {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-top: 4px;
}
.foot__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__nav a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--on-dark);
}
.foot__nav a:hover { color: var(--amber); }
.foot__legal {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  flex-wrap: wrap;
}

/* ===================== responsive ===================== */
@media (max-width: 1024px) {
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillars__grid > :last-child { grid-column: 1 / -1; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service--cta { grid-column: 1 / -1; }
  .process__list { grid-template-columns: 1fr 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
  .g { grid-column: span 2; }
  .g--wide { grid-column: span 4; }
  .g--tall { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand { gap: 10px; }
  .brand__mark { width: 46px; height: 46px; }
  .brand__name { font-size: 19px; }
  .brand__tag { font-size: 9px; letter-spacing: 0.11em; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 14px var(--gut);
    gap: 4px;
  }
  .nav.is-open .nav__links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__inner { grid-template-columns: 1fr auto; }

  .hero__corner { display: none; }
  .hero__title { font-size: clamp(40px, 11vw, 64px); }
  .hero__content { padding: 110px var(--gut) 90px; }

  .trust__inner { grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 24px var(--gut); }

  .pillars__grid { grid-template-columns: 1fr; }
  .pillars__grid > :last-child { grid-column: auto; }

  .services__grid { grid-template-columns: 1fr; }
  .service--cta { grid-column: auto; }
  .process__list { grid-template-columns: 1fr; }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 8px;
  }
  .g, .g--wide, .g--tall { grid-column: span 2; grid-row: auto; }
  .g--tall { grid-row: span 2; }

  .quote__row { grid-template-columns: 1fr; }
  .contact__details li { grid-template-columns: 110px 1fr; gap: 8px; }

  .careers__inner { grid-template-columns: 1fr; }
  .careers__actions { justify-content: flex-start; }

  .foot__inner { grid-template-columns: 1fr; }
  .foot__legal { flex-direction: column; gap: 8px; }

  section { padding: 70px 0; }
}

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

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