/* WM Infratechniek — Rugged Modernism */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f1;
  --bg-dark: #0a0a0a;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --rule: #e2e2dc;
  --accent: #c92a2a;
  --accent-ink: #ffffff;
  --brand-blue: #1d4ed8;
  --brand-red: #c92a2a;
  --font-impact: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ============ TYPE ============ */
.t-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.t-mono-dark { color: var(--ink); }
.t-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.t-impact {
  font-family: var(--font-impact);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-transform: uppercase;
}
.t-h2 {
  font-family: var(--font-impact);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.t-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.t-eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: currentColor;
}

/* ============ LAYOUT PRIMITIVES ============ */
.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

.section {
  padding: 120px 0;
  position: relative;
}
.section-tight { padding: 72px 0; }
@media (max-width: 720px) { .section { padding: 72px 0; } }

.hrule {
  height: 1px;
  background: var(--rule);
  width: 100%;
}

/* Grid hairlines (subtle behind sections) */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,0.04) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  pointer-events: none;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .2s ease, border-color .2s ease;
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 12px 32px;
  max-width: 1480px;
  margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  height: 42px;
}
.nav-logo img { height: 100%; width: auto; display: block; }
.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 0;
  color: rgba(255,255,255,0.82);
  position: relative;
  letter-spacing: -0.005em;
  transition: color .15s ease;
}
.nav-link:hover { color: white; }
.nav-link::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta-row {
  display: flex; align-items: center; gap: 14px;
}
.nav-phone {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 6px;
  transition: color .15s ease;
}
.nav-phone:hover { color: white; }
.nav .btn {
  background: white;
  color: var(--ink);
  border-color: white;
}
.nav .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
/* Mobile nav toggle (vanilla port replacement for missing react menu) */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: white;
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 2px; background: white;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-link { padding: 14px 32px; }
  .nav-link::after { display: none; }
  .nav-phone { display: none; }
  .nav-cta-row .btn { padding: 10px 14px; font-size: 11px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--ink);
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--accent); border-color: var(--accent); }
.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: white; }

.btn-lg { padding: 18px 28px; font-size: 13px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 76px;
  background: var(--bg-dark);
  color: white;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(0.15) brightness(0.55);
  transition: transform .6s ease;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.25) 40%, rgba(10,10,10,0.55) 100%),
    radial-gradient(circle at 30% 60%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
}
.hero-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-top .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display:inline-block; margin-right: 8px; }
.hero-title {
  align-self: end;
  font-family: var(--font-impact);
  font-size: clamp(54px, 9.5vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  max-width: 14ch;
}
.hero-title .accent-stripe {
  color: var(--accent);
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 56px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 32px;
}
.hero-sub {
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}
.hero-meta {
  display: flex; gap: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-meta b { display: block; color: white; font-family: var(--font-impact); font-size: 22px; letter-spacing: -0.01em; margin-top: 4px; }

@media (max-width: 720px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
  .hero-meta { gap: 20px; flex-wrap: wrap; }
  .hero-top { gap: 12px; flex-wrap: wrap; padding-top: 24px; }
  .hero-inner { padding: 0 20px; gap: 16px; }
  .hero-sub { font-size: 15px; }
  .hero .btn-lg { width: 100%; justify-content: center; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(34px, 10.5vw, 56px);
    letter-spacing: -0.04em;
    max-width: 100%;
    word-break: break-word;
    hyphens: auto;
  }
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: white;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee-track {
  display: flex;
  gap: 48px;
  padding: 18px 0;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: var(--font-impact);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .dot { width: 8px; height: 8px; background: var(--accent); display: inline-block; transform: rotate(45deg); }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============ BENTO ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.bento.layout-stagger {
  grid-template-columns: 1.2fr 0.8fr 1fr;
}
.bento-card {
  background: white;
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  transition: background .25s ease;
  cursor: pointer;
}
.bento-card:hover { background: var(--bg-alt); }
.bento-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  display: flex; justify-content: space-between;
  margin-bottom: 32px;
}
.bento-num .tag { color: var(--accent); }
.bento-title {
  font-family: var(--font-impact);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.bento-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 34ch;
}
.bento-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
  margin-bottom: 20px;
}
.bento-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
}
.bento-image {
  position: relative;
  width: calc(100% + 56px);
  margin-left: -28px;
  margin-right: -28px;
  margin-bottom: -28px;
  height: 220px;
  overflow: hidden;
}
.bento-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  filter: saturate(0.95);
}
.bento-card:hover .bento-image img { transform: scale(1.04); }
.bento-image::after {
  content: "→ MEER";
  position: absolute; bottom: 16px; right: 16px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  transition: transform .3s ease, background .2s ease;
  transform: translateY(0);
}
.bento-card:hover .bento-image::after { background: var(--accent); }

@media (max-width: 1100px) {
  .bento, .bento.layout-stagger {
    grid-template-columns: 1fr;
  }
  .bento-card { min-height: auto; }
}
@media (max-width: 540px) {
  .bento-card { padding: 24px 20px 20px; }
  .bento-num {
    font-size: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .bento-title {
    font-size: clamp(32px, 9vw, 44px);
    word-break: break-word;
  }
  .bento-desc { font-size: 14px; margin-bottom: 20px; }
  .bento-tags { gap: 6px; margin-bottom: 16px; }
  .bento-tags span {
    font-size: 11px;
    padding: 7px 10px;
    letter-spacing: 0.08em;
  }
  .bento-image {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    height: 180px;
  }
  .bento-image::after { font-size: 10px; padding: 6px 10px; bottom: 12px; right: 12px; }
}

/* ============ BEFORE / AFTER SLIDER ============ */
.ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  background: #000;
  cursor: ew-resize;
  border: 1px solid var(--rule);
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-clip {
  position: absolute; inset: 0;
  overflow: hidden;
  width: 50%;
}
.ba-clip .ba-img {
  width: var(--ba-w, 100vw);
  max-width: none;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.ba-handle-knob {
  position: absolute; top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: var(--accent);
  display: grid; place-items: center;
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.ba-label {
  position: absolute; top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: white;
  padding: 6px 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 3;
}
.ba-label-before { left: 24px; }
.ba-label-after { right: 24px; }

@media (max-width: 720px) {
  .ba-stage { aspect-ratio: 4/5; }
  .ba-handle-knob { width: 44px; height: 44px; font-size: 9px; }
  .ba-label { top: 12px; font-size: 10px; padding: 5px 9px; letter-spacing: 0.14em; }
  .ba-label-before { left: 12px; }
  .ba-label-after { right: 12px; }
  #ba-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap !important; -webkit-overflow-scrolling: touch; }
  #ba-tabs button { flex: 0 0 auto; padding: 10px 12px !important; font-size: 10px !important; }
}

/* ============ NUMBERS ============ */
.numbers {
  background: var(--ink);
  color: white;
  padding: 100px 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.numbers-grid > div {
  padding: 32px 28px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.numbers-grid > div:first-child { border-left: 0; padding-left: 0; }
.num-value {
  font-family: var(--font-impact);
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  display: flex; align-items: baseline; gap: 4px;
}
.num-value sup {
  font-size: 0.35em;
  color: var(--accent);
  align-self: flex-start;
  margin-top: 0.4em;
}
.num-label {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 800px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid > div { border-left: 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .numbers-grid > div:nth-child(2) { border-top: 0; }
}

/* ============ PROJECT GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery > a {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  display: block;
}
.gallery > a img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease, filter .4s ease;
  filter: saturate(0.95);
}
.gallery > a:hover img { transform: scale(1.04); filter: saturate(1.1); }
.gallery > a .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  display: flex; justify-content: space-between; align-items: end;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gallery > a .meta b { font-family: var(--font-impact); font-size: 16px; letter-spacing: -0.01em; text-transform: uppercase; }

.gallery .g-1 { grid-column: span 7; aspect-ratio: 16/10; }
.gallery .g-2 { grid-column: span 5; aspect-ratio: 16/10; }
.gallery .g-3 { grid-column: span 4; aspect-ratio: 4/5; }
.gallery .g-4 { grid-column: span 4; aspect-ratio: 4/5; }
.gallery .g-5 { grid-column: span 4; aspect-ratio: 4/5; }
@media (max-width: 800px) {
  .gallery > a { grid-column: span 12 !important; aspect-ratio: 4/3 !important; }
}

/* ============ CTA BLOCK ============ */
.cta-block {
  background: var(--bg-alt);
  color: var(--ink);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-block::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 6px;
  background: var(--accent);
}
.cta-block-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.cta-title {
  font-family: var(--font-impact);
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.cta-action { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; min-width: 280px; }
.btn-on-accent {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.btn-on-accent:hover { background: var(--accent); border-color: var(--accent); color: white; }
@media (max-width: 800px) {
  .cta-block-inner { grid-template-columns: 1fr; }
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
.contact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.contact-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-row .v {
  font-family: var(--font-impact);
  font-size: 20px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.contact-row .v.small { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; text-transform: none; line-height: 1.5; }

.form {
  background: var(--bg-alt);
  padding: 32px;
  border: 1px solid var(--rule);
}
.form-stepper {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.form-stepper > div {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid var(--rule);
  background: white;
  color: var(--ink-faint);
  display: flex; gap: 8px; align-items: center;
}
.form-stepper > div.active {
  border-color: var(--ink);
  color: var(--ink);
  background: white;
}
.form-stepper > div.done {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: white;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--accent); }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.form-choices button {
  padding: 14px;
  border: 1px solid var(--rule);
  background: white;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  transition: all .15s ease;
}
.form-choices button.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.form-back {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-back:disabled { opacity: 0.3; cursor: not-allowed; }

.form-success {
  text-align: center;
  padding: 40px 0;
}
.form-success .check {
  width: 56px; height: 56px;
  background: var(--ink);
  color: white;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  font-size: 28px;
  font-family: var(--font-impact);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand h3 {
  font-family: var(--font-impact);
  font-size: 48px;
  letter-spacing: -0.025em;
  color: white;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 16px;
  margin-top: 16px;
}
.footer-brand p { max-width: 36ch; font-size: 14px; line-height: 1.6; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: white;
  font-size: 14px;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@media (max-width: 800px) {
  .footer { padding: 60px 0 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-brand { grid-column: span 2; }
  .footer-brand h3 { font-size: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-bottom > div:last-child { flex-wrap: wrap; gap: 14px 20px !important; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-brand h3 { font-size: 30px; }
  .footer-brand p { max-width: none; }
  .footer-col h5 { margin-bottom: 12px; }
}

/* ============ MISC ============ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head-right { color: var(--ink-soft); max-width: 50ch; font-size: 15px; line-height: 1.6; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
}

.scroll-cue {
  position: absolute;
  left: 32px;
  bottom: 32px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex; align-items: center; gap: 16px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* ============ ABOUT TEASER (home) ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-body {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}
.about-ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.about-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.about-stat {
  padding: 20px 16px 0 0;
  border-right: 1px solid var(--rule);
}
.about-stat:last-child { border-right: 0; }
.about-stat-k { margin-bottom: 6px; }
.about-stat-v {
  font-family: var(--font-impact);
  font-size: 20px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-images img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}
.about-image-offset { margin-top: 40px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .about-stats { grid-template-columns: 1fr; }
  .about-stat {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .about-stat:last-child { border-bottom: 0; }
  .about-images { gap: 12px; }
  .about-image-offset { margin-top: 24px; }
  .about-ctas .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============ HERO VARIANTS ============ */
/* Variant: split */
.hero.variant-split { background: white; color: var(--ink); }
.hero.variant-split .hero-bg { display: none; }
.hero.variant-split .hero-top { color: var(--ink-soft); }
.hero.variant-split .hero-bottom { color: var(--ink); border-top-color: var(--rule); }
.hero.variant-split .hero-sub { color: var(--ink-soft); }
.hero.variant-split .hero-meta { color: var(--ink-soft); }
.hero.variant-split .hero-meta b { color: var(--ink); }
.hero.variant-split .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: stretch;
}
.hero.variant-split .hero-left {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 32px;
}
.hero.variant-split .hero-img {
  position: relative;
  margin-top: 32px; margin-bottom: 32px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1);
}
.hero.variant-split .hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.0) 50%, rgba(234,88,12,0.0) 100%);
}
.hero.variant-split .hero-title { font-size: clamp(48px, 7.5vw, 132px); }

/* Variant: monolith */
.hero.variant-monolith { background: var(--ink); }
.hero.variant-monolith .hero-bg { opacity: 0.18; filter: grayscale(1) brightness(0.5); }
.hero.variant-monolith .hero-bg::after { background: linear-gradient(180deg, rgba(15,23,42,0.4), rgba(15,23,42,0.85)); }
.hero.variant-monolith .hero-title { color: white; -webkit-text-stroke: 0; }
.hero.variant-monolith .hero-title .accent-stripe { color: var(--accent); }
.hero.variant-monolith .hero-title-outline { -webkit-text-stroke: 2px white; color: transparent; }

/* ============ BENTO VARIANTS ============ */
.bento.variant-overlap {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.bento.variant-overlap .bento-card:nth-child(2) {
  background: var(--ink);
  color: white;
}
.bento.variant-overlap .bento-card:nth-child(2) .bento-num { color: rgba(255,255,255,0.6); }
.bento.variant-overlap .bento-card:nth-child(2) .bento-desc { color: rgba(255,255,255,0.7); }
.bento.variant-overlap .bento-card:nth-child(2) .bento-tags span { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.bento.variant-overlap .bento-card:nth-child(2):hover { background: #050505; }

@media (max-width: 1100px) {
  .bento.variant-overlap { grid-template-columns: 1fr; }
}

.bento.variant-image-led .bento-card {
  padding: 0;
  min-height: 540px;
  background: var(--ink);
  color: white;
}
.bento.variant-image-led .bento-card-inner {
  position: absolute; inset: 0;
  z-index: 2;
  padding: 28px;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
}
.bento.variant-image-led .bento-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
  z-index: 1;
}
.bento.variant-image-led .bento-card:hover .bento-bg { transform: scale(1.06); }
.bento.variant-image-led .bento-num { color: rgba(255,255,255,0.8); margin-bottom: 0; }
.bento.variant-image-led .bento-num .tag { color: var(--accent); }
.bento.variant-image-led .bento-title { margin-top: auto; margin-bottom: 12px; color: white; }
.bento.variant-image-led .bento-desc { color: rgba(255,255,255,0.85); }
.bento.variant-image-led .bento-tags span { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }
.bento.variant-image-led .bento-image { display: none; }
.bento.variant-image-led .bento-card:hover { background: var(--ink); }

/* ============ BA VARIANTS ============ */
.ba-stage.variant-diagonal .ba-clip {
  clip-path: polygon(0 0, var(--ba-pct, 50%) 0, calc(var(--ba-pct, 50%) - 8%) 100%, 0 100%);
  width: 100%;
}
.ba-stage.variant-diagonal .ba-handle {
  transform: translateX(-50%) skewX(-6deg);
}
.ba-stage.variant-corner .ba-clip {
  clip-path: polygon(0 0, var(--ba-pct, 50%) 0, var(--ba-pct, 50%) var(--ba-pct, 50%), 0 var(--ba-pct, 50%));
  width: 100%;
}
.ba-stage.variant-corner .ba-handle { display: none; }
.ba-stage.variant-corner .ba-handle-knob-corner {
  position: absolute;
  width: 56px; height: 56px;
  left: var(--ba-pct, 50%);
  top: var(--ba-pct, 50%);
  transform: translate(-50%, -50%);
  background: var(--accent);
  display: grid; place-items: center;
  color: white;
  font-family: var(--font-mono);
  font-size: 18px;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ============ TWEAKS PANEL TWEAK ============ */
[data-tweaks-root] { z-index: 60; }

/* selection */
::selection { background: var(--accent); color: white; }
/* ============ SUBPAGE STYLES ============ */

/* Sub-hero (smaller than home hero) */
.subhero {
  position: relative;
  background: var(--bg-dark);
  color: white;
  padding-top: 76px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.subhero-bg {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(0.2) brightness(0.4);
}
.subhero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.4), rgba(10,10,10,0.85));
}
.subhero-inner {
  position: relative; z-index: 2;
  max-width: 1480px; margin: 0 auto;
  padding: 80px 32px 64px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  min-height: 560px;
}
.subhero-crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex; gap: 8px; align-items: center;
}
.subhero-crumbs a { color: rgba(255,255,255,0.7); }
.subhero-crumbs a:hover { color: white; }
.subhero-crumbs .sep { color: rgba(255,255,255,0.35); }
.subhero-title {
  align-self: end;
  font-family: var(--font-impact);
  font-size: clamp(56px, 9vw, 152px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-top: 80px;
}
.subhero-title .accent { color: var(--accent); }
.subhero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.subhero-lead {
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}
.subhero-meta {
  display: flex; gap: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.subhero-meta b { display: block; color: white; font-family: var(--font-impact); font-size: 22px; letter-spacing: -0.01em; margin-top: 4px; }

@media (max-width: 720px) {
  .subhero-bottom { grid-template-columns: 1fr; }
  .subhero-meta { gap: 20px; flex-wrap: wrap; }
}

/* Two-column intro */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

.lead-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}
.lead-body p { margin-bottom: 1.1em; }
.lead-body p:last-child { margin-bottom: 0; }

/* Sub-services grid */
.subservices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.subservices.cols-3 { grid-template-columns: repeat(3, 1fr); }
.subservices-card {
  background: white;
  padding: 28px 28px 32px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 240px;
  transition: background .2s ease;
}
.subservices-card:hover { background: var(--bg-alt); }
.subservices-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  margin-bottom: 24px;
}
.subservices-title {
  font-family: var(--font-impact);
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1;
}
.subservices-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .subservices, .subservices.cols-3 { grid-template-columns: 1fr; }
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.process-step {
  padding: 32px 24px;
  border-left: 1px solid var(--rule);
  position: relative;
}
.process-step:first-child { border-left: 0; }
.process-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 32px;
}
.process-title {
  font-family: var(--font-impact);
  font-size: 22px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.05;
}
.process-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process-step { border-left: 0; border-top: 1px solid var(--rule); padding: 24px 0; }
  .process-step:nth-child(odd) { border-left: 0; padding-right: 16px; }
  .process-step:nth-child(even) { border-left: 1px solid var(--rule); padding-left: 24px; }
  .process-step:first-child, .process-step:nth-child(2) { border-top: 0; }
}
@media (max-width: 540px) {
  .process { grid-template-columns: 1fr; }
  .process-step { border-left: 0 !important; border-top: 1px solid var(--rule); padding: 24px 0 !important; }
  .process-step:first-child { border-top: 0; }
}

/* Spec / facts list */
.specs {
  border-top: 2px solid var(--ink);
}
.specs-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.specs-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.specs-row .v {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.specs-row .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .specs-row { grid-template-columns: 1fr; gap: 6px; }
}

/* Quote */
.quote {
  background: var(--bg-alt);
  padding: 80px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quote-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: start;
}
.quote-mark {
  font-family: var(--font-impact);
  font-size: 96px;
  line-height: 0.7;
  color: var(--accent);
}
.quote-body {
  font-family: var(--font-impact);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.quote-cite {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .quote-inner { grid-template-columns: 1fr; gap: 16px; }
  .quote-mark { font-size: 64px; }
}

/* Big image strip */
.image-strip {
  width: 100%;
  height: clamp(360px, 50vw, 640px);
  background-size: cover;
  background-position: center;
}

/* Two image collage */
.collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
.collage img {
  width: 100%;
  object-fit: cover;
}
.collage img:nth-child(1) { aspect-ratio: 4/3; }
.collage img:nth-child(2) { aspect-ratio: 3/4; margin-top: 48px; }
@media (max-width: 720px) {
  .collage { grid-template-columns: 1fr; }
  .collage img:nth-child(2) { margin-top: 0; }
}

/* Filter chips for projects page */
.filter-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 32px;
}
.filter-chips button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid var(--rule);
  background: white;
  color: var(--ink-soft);
  transition: all .15s ease;
}
.filter-chips button:hover { color: var(--ink); border-color: var(--ink); }
.filter-chips button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* Projects full grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.projects-grid > a {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  display: block;
}
.projects-grid > a img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.projects-grid > a:hover img { transform: scale(1.04); }
.projects-grid > a .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  display: flex; justify-content: space-between; align-items: end;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.projects-grid > a .meta b { font-family: var(--font-impact); font-size: 16px; letter-spacing: -0.01em; text-transform: uppercase; }
.projects-grid > a .meta .badge {
  background: var(--accent); color: white; padding: 4px 8px; font-size: 9px;
}
.projects-grid .span-3 { grid-column: span 3; aspect-ratio: 4/5; }
.projects-grid .span-4 { grid-column: span 4; aspect-ratio: 4/5; }
.projects-grid .span-6 { grid-column: span 6; aspect-ratio: 4/3; }
.projects-grid .span-8 { grid-column: span 8; aspect-ratio: 16/9; }
@media (max-width: 800px) {
  .projects-grid > a { grid-column: span 12 !important; aspect-ratio: 4/3 !important; }
}

/* About page additions */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.values-card {
  background: white;
  padding: 40px 32px;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.values-num {
  font-family: var(--font-impact);
  font-size: 72px;
  line-height: 0.8;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.values-title {
  font-family: var(--font-impact);
  font-size: 24px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.values-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: auto;
}
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

/* Region map for contact */
.region-map {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

/* contact page */
.contact-side {
  position: sticky; top: 100px;
}
@media (max-width: 900px) { .contact-side { position: static; } }

/* Inline page hero ribbon (alternative for less heavy pages) */
.section-hero {
  background: var(--ink);
  color: white;
  padding-top: 76px;
}
.section-hero .container {
  padding-top: 64px; padding-bottom: 48px;
}
.section-hero .subhero-crumbs { margin-bottom: 32px; }
.section-hero .subhero-title { margin-top: 0; margin-bottom: 24px; }
.section-hero p.lead {
  max-width: 60ch;
  color: rgba(255,255,255,0.85);
  font-size: 17px; line-height: 1.55;
}
