/* ==========================================================================
   TARGET — General Contracting, Supplies & Engineering Consultancy
   Minimalist / modern design system — brand red + ink + concrete palette
   ========================================================================== */

:root {
  /* Brand */
  --red: #E2231A;
  --red-dark: #B81C14;
  --red-light: #FDEAE8;
  --ink: #14161A;
  --ink-soft: #3A3D42;
  --steel: #6B7280;
  --steel-light: #9CA0A6;
  --line: #E7E4DF;
  --bg: #FFFFFF;
  --bg-alt: #F6F5F2;
  --bg-dark: #101114;
  --white: #FFFFFF;

  /* Type */
  --f-head: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;

  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 700; letter-spacing: 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: 0.02em; }

p { margin: 0 0 16px; color: var(--ink-soft); }

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

section { position: relative; }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 12px 22px; font-size: 0.76rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
/* backdrop-filter on an ancestor creates a new containing block for
   position:fixed descendants — that would trap the full-screen mobile
   nav inside the 84px header bar instead of the viewport, so it must
   be switched off whenever the mobile menu is open. */
.site-header.is-open {
  backdrop-filter: none;
  background: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; object-fit: contain; }
.brand-word {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}
.brand-word span { color: var(--red); }
.brand-tagline {
  display: block;
  font-family: var(--f-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}
.is-hero-light .site-header:not(.is-scrolled):not(.is-open) .brand-word { color: #fff; }
.is-hero-light .site-header:not(.is-scrolled):not(.is-open) .brand-tagline { color: rgba(255,255,255,.7); }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-family: var(--f-head);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.is-hero-light .site-header:not(.is-scrolled):not(.is-open) .main-nav a { color: #fff; }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .25s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--red); }
.is-hero-light .site-header:not(.is-scrolled):not(.is-open) .main-nav a.active { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.is-hero-light .site-header:not(.is-scrolled):not(.is-open) .header-phone { color: #fff; }
.header-phone svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: none;
  background: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 600;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: all .3s var(--ease);
}
.is-hero-light .site-header:not(.is-scrolled):not(.is-open) .nav-toggle span { background: #fff; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header.is-open .nav-toggle span { background: var(--ink) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  padding-top: 130px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.35) 35%, rgba(10,11,13,.92) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  z-index: 1;
  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: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
  pointer-events: none;
}
.hero-reticle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
}
.hero-reticle svg { width: 100%; height: 100%; }
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) 90px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-head);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.hero-eyebrow::before { content:''; width: 36px; height: 2px; background: var(--red); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 22px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.78);
  max-width: 52ch;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(24px, 5vw, 64px);
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 28px;
}
.hero-stat-num {
  font-family: var(--f-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-stat-num .plus { color: var(--red); }
.hero-stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.65);
  font-family: var(--f-head);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue .line { width: 1px; height: 46px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: '';
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--red);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  padding: 190px var(--gutter) 90px;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.page-header .hero-media { z-index: 0; }
.page-header .hero-media::after { background: linear-gradient(180deg, rgba(10,11,13,.72), rgba(10,11,13,.86)); }
.page-header-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 18px; font-family: var(--f-head);
}
.breadcrumb .sep { color: var(--red); }
.page-header h1 { color: #fff; margin-bottom: 14px; }
.page-header-sub { color: rgba(255,255,255,.7); max-width: 60ch; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p { color: rgba(255,255,255,.65); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .lead { max-width: 56ch; font-size: 1.05rem; }
.section-head-center { text-align: center; max-width: 640px; margin: 0 auto 56px; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 38px 30px;
  transition: all .3s var(--ease);
  position: relative;
}
.card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(20,22,26,.07); }
.card-num {
  font-family: var(--f-head);
  font-size: 0.78rem;
  color: var(--steel-light);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.card-icon { width: 46px; height: 46px; color: var(--red); margin-bottom: 22px; }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 0.95rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; font-family: var(--f-head);
  font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red);
  opacity: 0; transform: translateX(-6px);
  transition: all .25s var(--ease);
}
.card:hover .card-link { opacity: 1; transform: translateX(0); }

/* ---------- Branches (about) ---------- */
.branch {
  border-left: 2px solid var(--line);
  padding: 8px 0 8px 28px;
  transition: border-color .25s var(--ease);
}
.branch:hover { border-color: var(--red); }
.branch-num { font-family: var(--f-head); color: var(--red); font-size: 0.85rem; letter-spacing: 0.1em; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-num { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; }
.stat-num .plus { color: var(--red); }
.stat-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 8px; }
.stats-grid .divider { border-left: 1px solid rgba(255,255,255,.14); }

/* ---------- Clients / trust strip ---------- */
.trust-strip { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-label {
  font-family: var(--f-head); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 26px; text-align: center;
}
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust-item {
  font-family: var(--f-head); font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
  color: var(--ink-soft); opacity: .68; transition: opacity .2s var(--ease);
}
.trust-item:hover { opacity: 1; color: var(--red); }

/* ---------- Image + text split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split-media-frame {
  position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 2px solid var(--red); z-index: -1;
}
.split-media-wrap { position: relative; }

/* ---------- Timeline (about) ---------- */
.tqm-box { background: var(--bg-alt); border-left: 3px solid var(--red); padding: 34px 36px; margin-top: 30px; }
.tqm-box h3 { margin-bottom: 8px; }
.tqm-box p { margin: 0; font-style: italic; color: var(--ink-soft); }

/* ---------- Projects gallery ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  font-family: var(--f-head); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 20px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--ink);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,11,13,.88) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-tag {
  align-self: flex-start;
  background: var(--red); color: #fff;
  font-family: var(--f-head); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; margin-bottom: 10px;
}
.gallery-title { color: #fff; font-family: var(--f-head); font-size: 1rem; letter-spacing: 0.02em; text-transform: none; margin: 0; }
.gallery-item.hide { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,11,13,.96);
  display: none;
  align-items: center; justify-content: center;
  padding: 50px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--red); border-color: var(--red); }
.lightbox-close { top: 30px; right: 30px; }
.lightbox-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-family: var(--f-head); letter-spacing: .04em; font-size: .85rem; text-transform: uppercase; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 26px; position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 24px; right: -0px; width: 100%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  display: none;
}
.step-num {
  font-family: var(--f-head); font-size: 2.6rem; font-weight: 700; color: var(--line);
  -webkit-text-stroke: 1px var(--steel-light);
  margin-bottom: 14px;
}

/* ---------- Job listings ---------- */
.job-card {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 32px 34px; border: 1px solid var(--line); margin-bottom: 18px;
  transition: all .25s var(--ease); flex-wrap: wrap;
}
.job-card:hover { border-color: var(--red); background: var(--bg-alt); }
.job-main h3 { margin-bottom: 8px; }
.job-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.job-meta span {
  font-size: 0.8rem; color: var(--steel); display: flex; align-items: center; gap: 6px;
}
.job-meta svg { width: 14px; height: 14px; color: var(--red); }
.job-reqs { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.job-reqs li {
  font-size: 0.76rem; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--line);
  padding: 5px 12px; letter-spacing: 0.02em;
}
.job-card:hover .job-reqs li { background: #fff; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-head); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel);
}
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 0.98rem; padding: 14px 16px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--steel); margin-top: -8px; }
.form-feedback {
  display: none; align-items: flex-start; gap: 14px; background: var(--bg-alt);
  border-left: 3px solid var(--red); padding: 22px 26px; margin-top: 18px;
}
.form-feedback.show { display: flex; }
.form-feedback svg { width: 24px; height: 24px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.form-feedback.error { border-left-color: var(--ink-soft); }
.form-feedback.error svg { color: var(--ink-soft); }
.form-feedback p { margin: 0; }
.btn[disabled] { opacity: .6; pointer-events: none; }
/* Honeypot — kept in normal flow (not display:none) so basic bots that
   skip display:none/hidden fields still fall for it, but invisible and
   unreachable for real visitors and screen readers. */
.hp-field {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}

/* ---------- Contact info cards ---------- */
.contact-info { display: grid; gap: 26px; }
.info-row { display: flex; gap: 20px; align-items: flex-start; }
.info-icon {
  width: 46px; height: 46px; flex-shrink: 0; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.info-icon svg { width: 20px; height: 20px; }
.info-row h4 { font-family: var(--f-head); text-transform: uppercase; font-size: .95rem; margin: 0 0 6px; letter-spacing: .04em; }
.info-row p { margin: 0; font-size: .95rem; }
.info-row a:hover { color: var(--red); }

.map-wrap { position: relative; border: 1px solid var(--line); aspect-ratio: 16/11; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .3s var(--ease); }
.map-wrap:hover iframe { filter: grayscale(0); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: rgba(255,255,255,.65); margin: 0; max-width: 46ch; }
.cta-reticle { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 420px; height: 420px; opacity: .08; }

/* ---------- Footer ---------- */
.site-footer { background: #0C0D0F; color: rgba(255,255,255,.6); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { margin-top: 18px; font-size: .9rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--f-head); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: .9rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--red); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: .8rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--red); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  width: 48px; height: 48px; background: var(--ink); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all .25s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--red); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Misc ---------- */
.wall-number {
  position: absolute; top: 40px; right: var(--gutter); font-family: var(--f-head);
  font-size: 10rem; font-weight: 700; color: var(--bg-alt); z-index: 0; line-height: 1; user-select: none;
}
.section-dark .wall-number { color: rgba(255,255,255,.035); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 0; top: 0; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 0; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
  .site-header.is-open .main-nav { opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 28px; }
  .main-nav a { font-size: 1.3rem; color: var(--ink) !important; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid .divider { border-left: none; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero { min-height: auto; padding-top: 118px; }
  .hero-content { padding-bottom: 56px; }
}

@media (max-width: 680px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .wall-number { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; max-width: none; }
  .hero-sub { font-size: 1rem; }
  .hero-eyebrow { font-size: 0.68rem; margin-bottom: 16px; }
  .hero { padding-top: 108px; }
  .page-header { padding: 150px var(--gutter) 60px; }
}
