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

:root {
  --void:    #050507;
  --ink:     #0c0c10;
  --panel:   #111116;
  --surface: #18181f;
  --border:  rgba(255,255,255,.07);
  --cyan:    #00e5c8;
  --cyan-dim: rgba(0,229,200,.12);
  --cyan-glow: rgba(0,229,200,.25);
  --white:   #ffffff;
  --off:     #e8e8ee;
  --muted:   #9ca0b0;
  --dim:     #383a47;
}

html { scroll-behavior: smooth; }

/* Paragraph / body copy — Source Sans 3 (headlines, eyebrows, nav, and UI labels keep Inter / DM Mono) */
.hero-sub,
.about p,
.svc-panel-desc,
.why-left p,
.why-feat p,
.cta p {
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  background: var(--void);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
nav.stuck {
  background: rgba(5,5,7,.92);
  border-color: var(--border);
  backdrop-filter: blur(16px);
}
.nav-wordmark {
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-wordmark .nm-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.nav-center { display: flex; gap: 40px; list-style: none; }
.nav-center a {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); text-decoration: none; transition: color .2s;
}
.nav-center a:hover { color: var(--cyan); }
.nav-end { display: flex; align-items: center; gap: 20px; }
.nav-tel {
  font-family: 'DM Mono', monospace; font-size: 12px;
  color: var(--white); text-decoration: none; transition: color .2s;
}
.nav-tel:hover { color: var(--cyan); }
.nav-btn {
  border: 1px solid var(--cyan); color: var(--cyan);
  padding: 9px 22px; font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; transition: background .2s, color .2s;
  position: relative; overflow: hidden;
}
.nav-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease; z-index: -1;
}
.nav-btn:hover { color: var(--void); }
.nav-btn:hover::before { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--white);
  flex-shrink: 0;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-backdrop {
  display: none;
}

/* ─── HERO ─── */
.hero { padding-top: 140px;
  position: relative; height: 100vh; min-height: 720px;
  display: flex; align-items: center;
  overflow: hidden;
}

/* Animated mesh background */
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,229,200,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(0,229,200,.04) 0%, transparent 50%),
    var(--void);
  animation: meshPulse 8s ease-in-out infinite alternate;
}
@keyframes meshPulse {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* Diagonal grid lines */
.hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image:
    linear-gradient(var(--cyan) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyan) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Image panel — right side */
.hero-img-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 52%;
  overflow: hidden;
}
.hero-img-panel img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.5) saturate(.7);
  transform: scale(1.04);
}
.hero-img-panel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--void) 0%, rgba(5,5,7,.6) 40%, rgba(5,5,7,.1) 100%);
}

/* Scan line effect */
.hero-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent 0px, transparent 3px,
    rgba(0,229,200,.012) 3px, rgba(0,229,200,.012) 4px
  );
}

.hero-content {
  position: relative; z-index: 3;
  padding: 0 56px; width: 60%;
}

.hero-status {
  margin-bottom: 40px;
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9);
}

.hero-h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(42px, 6.4vw, 98px);
  font-weight: 800; line-height: .88;
  letter-spacing: -.03em; color: var(--white);
  margin-bottom: 8px;
}
.hero-h1 .stroke {
  -webkit-text-stroke: 1px rgba(255,255,255,.25);
  color: transparent;
}
.hero-h1 .cyan { color: var(--cyan); text-shadow: 0 0 60px rgba(0,229,200,.4); }
/* Accent word via <em> (WYSIWYG-friendly — Quill preserves <em>, not span.class) */
.hero-h1 em { font-style: normal; color: var(--cyan); text-shadow: 0 0 60px rgba(0,229,200,.4); }

.hero-divider {
  display: flex; align-items: center; gap: 20px; margin: 36px 0;
}
.hero-divider::before, .hero-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.hero-divider span {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .2em; color: rgba(255, 255, 255, 0.9); text-transform: uppercase;
}

.hero-sub {
  font-size: 18px; line-height: 1.75; color: rgba(255, 255, 255, 0.9);
  max-width: 600px; margin-bottom: 52px; font-weight: 400;
}

.hero-actions { display: flex; align-items: center; gap: 28px; }
.btn-cyan {
  background: var(--cyan); color: var(--void);
  padding: 16px 40px; font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  box-shadow: 0 0 40px rgba(0,229,200,.3);
  transition: box-shadow .3s, transform .2s;
}
.btn-cyan:hover { box-shadow: 0 0 60px rgba(0,229,200,.5); transform: translateY(-2px); }
.btn-ghost-cyan {
  color: var(--cyan); font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(0,229,200,.3);
  padding-bottom: 2px; transition: border-color .2s;
}
.btn-ghost-cyan:hover { border-color: var(--cyan); }

/* ─── STATS RAIL ─── */
.stats-rail {
  background: var(--panel); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.sr-item {
  padding: 36px 48px; border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background .3s;
}
.sr-item:last-child { border-right: none; }
.sr-item:hover { background: var(--cyan-dim); }
.sr-item::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.sr-item:hover::before { transform: scaleX(1); }
.sr-num {
  font-family: 'Inter', sans-serif; font-size: 50px; font-weight: 800;
  color: var(--white); line-height: 1; letter-spacing: -.03em;
}
.sr-num sup { font-size: 24px; color: var(--cyan); vertical-align: super; }
.sr-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9);
  margin-top: 8px;
}

/* ─── ABOUT ─── */
.about {
  padding: 40px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
  background: var(--ink);
}
.about-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 28px; display: flex; align-items: center; gap: 14px;
}
.about-eyebrow::before { content: '//'; opacity: .5; }
.about h2 {
  font-family: 'Inter', sans-serif; font-size: clamp(27px, 2.6vw, 44px);
  font-weight: 800; line-height: .95; letter-spacing: -.03em;
  color: var(--white); margin-bottom: 32px;
}
.about h2 em { font-style: italic; color: var(--cyan); font-family: 'Inter', sans-serif; font-weight: 200; }
.about p { font-size: 18px; color: rgba(255, 255, 255, 0.9); line-height: 1.85; margin-bottom: 14px; font-weight: 400; }
.about-certs {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px;
}
.about-cert {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan);
  border: 1px solid rgba(0,229,200,.2); padding: 8px 14px;
}
.about-visual { position: relative; }
.about-img {
  width: 100%;
  object-fit: cover;
}
.about-corner {
  position: absolute; top: -1px; right: -1px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan);
}
.about-corner-bl {
  position: absolute; bottom: -1px; left: -1px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan);
}

/* ─── SERVICES — Horizontal Cinematic Panels ─── */
.services-outer {
  background: var(--void); padding: 120px 0 0;
  overflow-x: visible;
  overflow-y: hidden;
}
.services-header {
  padding: 0 56px 64px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.services-header-left {}
.services-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 16px; display: flex; align-items: center; gap: 14px;
}
.services-eyebrow::before { content: '//'; opacity: .5; }
.services-header h2 {
  font-family: 'Inter', sans-serif; font-size: clamp(27px, 3.0vw, 45px);
  font-weight: 800; letter-spacing: -.03em; color: var(--white); line-height: .95;
}
.services-header-right {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(0,229,200,.3); padding-bottom: 3px;
}

/* Full-width services grid — use % + flex (not vw) so the last column isn’t clipped by scrollbar / overflow */
.services-track-wrap {
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

.services-track {
  display: flex; gap: 0;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  padding: 0 0 80px;
  box-sizing: border-box;
}

.svc-panel {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 520px;
  position: relative; overflow: hidden;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: flex .4s cubic-bezier(.16,1,.3,1);
}
a.svc-panel {
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
a.svc-panel:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.svc-panel:last-child { border-right: none; }
.svc-panel:hover {
  flex: 1.1 1 0;
  z-index: 1;
}

/* Large background character */
.svc-panel-char {
  position: absolute; top: -20px; right: -10px;
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: 320px; line-height: 1;
  color: rgba(255,255,255,.03); letter-spacing: -.05em;
  pointer-events: none; user-select: none;
  transition: color .4s, transform .4s;
}
.svc-panel:hover .svc-panel-char {
  color: rgba(0,229,200,.06); transform: translateY(-10px);
}

/* Background image — visible by default; darkens on hover */
.svc-panel-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  filter: brightness(0.58) saturate(0.95);
  transition: filter .45s ease, opacity .5s, transform .45s ease;
}
/* Asbestos (first panel): zoom in slightly — scale, not % background-size (avoids gaps/repeat) */
.svc-panel:first-child .svc-panel-bg {
  transform: scale(1.12);
  transform-origin: center center;
}
.svc-panel:hover .svc-panel-bg {
  filter: brightness(0.38) saturate(0.72);
}

/* Cyan gradient toward bottom — on hover only */
.svc-panel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,229,200,.22) 0%, rgba(0,229,200,.06) 35%, transparent 65%);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.svc-panel:hover .svc-panel-overlay { opacity: 1; }

.svc-panel-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 22px;
  min-width: 0;
  box-sizing: border-box;
}

.svc-panel-num {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  transition: color .3s;
}
.svc-panel:hover .svc-panel-num { color: var(--cyan); }

.svc-panel-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(22px, 1.35vw, 26px);
  font-weight: 800;
  color: var(--white); line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 0;
  transition: color .3s;
}
.svc-panel:hover .svc-panel-name { color: var(--white); }

/* Expanding detail — hidden by default */
.svc-panel-detail {
  overflow: hidden; max-height: 0;
  transition: max-height .4s cubic-bezier(.16,1,.3,1), opacity .3s;
  opacity: 0;
}
.svc-panel:hover .svc-panel-detail {
  max-height: 240px; opacity: 1;
}

.svc-panel-desc {
  font-size: 18px; color: rgba(255, 255, 255, 0.9);
  line-height: 1.75; font-weight: 400; margin-top: 16px;
  overflow-wrap: break-word;
}
.svc-panel-scope {
  margin-top: 16px; display: flex; flex-direction: column; gap: 6px;
}
.svc-panel-scope span {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); display: flex; align-items: center; gap: 8px;
}
.svc-panel-scope span::before { content: '↳'; opacity: .6; }
.svc-panel-arrow {
  position: absolute; top: 24px; right: 22px;
  width: 36px; height: 36px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: rgba(255, 255, 255, 0.9);
  transition: border-color .3s, color .3s, background .3s;
}
.svc-panel:hover .svc-panel-arrow {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(0,229,200,.08);
}

/* ─── PROJECTS ─── */
.projects {
  background: var(--panel); padding: 80px 56px;
}
.projects-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 16px; display: flex; align-items: center; gap: 14px;
}
.projects-eyebrow::before { content: '//'; opacity: .5; }
.projects-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.projects-top h2 {
  font-family: 'Inter', sans-serif; font-size: clamp(27px, 2.6vw, 42px);
  font-weight: 800; letter-spacing: -.03em; color: var(--white); line-height: .95;
}
.projects-top a {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan); text-decoration: none;
}

.proj-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 320px 220px;
  gap: 3px;
}
.proj-cell { position: relative; overflow: hidden; cursor: pointer; }
.proj-cell:first-child { grid-row: 1 / 3; }
.proj-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(.55) saturate(.6) grayscale(30%);
  transition: filter .5s, transform .6s;
}
.proj-cell:hover img { filter: brightness(.75) saturate(.9) grayscale(0%); transform: scale(1.05); }
.proj-label {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 24px 28px;
  background: linear-gradient(to top, rgba(5,5,7,.95) 0%, transparent 55%);
}
.proj-label-type {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px;
}
.proj-label-name {
  font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--white); letter-spacing: -.01em; line-height: 1.1;
}
.proj-cell:first-child .proj-label-name { font-size: 26px; }

/* ─── CLIENTS ─── */
.clients-band {
  background: var(--surface); padding: 64px 56px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.clients-label {
  font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.9); margin-bottom: 36px;
}
.clients-row {
  display: flex; flex-wrap: nowrap; gap: 0;
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  padding-bottom: 12px; scrollbar-width: thin; cursor: grab;
}
.clients-row::-webkit-scrollbar { height: 5px; }
.clients-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
.clients-row:active { cursor: grabbing; }
.client-block {
  flex: 0 0 auto; min-width: 200px; padding: 20px 28px;
  border-right: 1px solid var(--border);
}
.client-n { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.9); }
.client-t { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); margin-top: 4px; }

/* ─── WHY ─── */
.why { background: var(--ink); padding: 80px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.why-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 24px; display: flex; align-items: center; gap: 14px;
}
.why-eyebrow::before { content: '//'; opacity: .5; }
.why-left h2 {
  font-family: 'Inter', sans-serif; font-size: clamp(30px, 3.0vw, 48px);
  font-weight: 800; letter-spacing: -.03em; color: var(--white); line-height: 1.15;
  margin-bottom: 28px;
}
.why-left h2 em { font-style: italic; color: var(--cyan); font-family: 'Inter', sans-serif; font-weight: 200; }
.why-left p { font-size: 18px; color: rgba(255, 255, 255, 0.9); line-height: 1.85; margin-bottom: 40px; font-weight: 400; }
.why-right { display: flex; flex-direction: column; gap: 0; padding-top: 12px; }
.why-feat {
  padding: 28px 0; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 32px 1fr; gap: 20px; align-items: start;
}
.why-feat-num {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .1em; color: var(--cyan); padding-top: 4px;
}
.why-feat h4 {
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--white); margin-bottom: 8px; letter-spacing: -.01em;
}
.why-feat p { font-size: 18px; color: rgba(255, 255, 255, 0.9); line-height: 1.75; font-weight: 400; }

/* ─── CTA ─── */
.cta {
  background: var(--void); padding: 80px 56px;
  position: relative; overflow: hidden; text-align: center;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0,229,200,.06) 0%, transparent 70%);
}
.cta-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 28px; display: flex; align-items: center; justify-content: center; gap: 14px;
}
.cta-eyebrow::before { content: '//'; opacity: .5; }
.cta h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5.2vw, 81px);
  font-weight: 800; letter-spacing: -.04em; color: var(--white); line-height: .88;
  margin-bottom: 32px; position: relative; z-index: 1;
}
.cta h2 em {
  font-style: normal;
  font-weight: 800;
  color: var(--cyan);
  -webkit-text-stroke: 0;
}
.cta p { font-size: 18px; color: rgba(255, 255, 255, 0.9); max-width: 500px; margin: 0 auto 52px; font-weight: 400; line-height: 1.75; position: relative; z-index: 1; }
.cta-btns { display: flex; justify-content: center; gap: 20px; position: relative; z-index: 1; }
.cta-contact { margin-top: 64px; display: flex; justify-content: center; gap: 64px; position: relative; z-index: 1; }
.cta-contact a {
  font-family: 'DM Mono', monospace; font-size: 12px;
  color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: color .2s;
}
.cta-contact a:hover { color: var(--cyan); }
.cta-contact strong { display: block; font-size: 18px; color: rgba(255, 255, 255, 0.9); font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 2px; }

/* ─── FOOTER ─── */
footer { background: var(--panel); border-top: 1px solid var(--border); padding: 80px 56px 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }
.footer-brand-word {
  font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 800;
  letter-spacing: .04em; color: var(--white); text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.footer-brand-word .fd { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
footer .f-tag { font-size: 18px; color: rgba(255, 255, 255, 0.9); line-height: 1.7; max-width: 220px; font-weight: 400; }
.f-wbe { margin-top: 20px; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(0,229,200,.2); display: inline-block; padding: 6px 12px; text-decoration: none; transition: border-color .2s, background .2s; }
.f-wbe:hover { border-color: rgba(0,229,200,.45); background: rgba(0,229,200,.08); }
footer h5 { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); margin-bottom: 20px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
footer ul a { font-size: 13px; color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: color .2s; }
footer ul a:hover { color: var(--cyan); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; }
.footer-bottom p { font-family: 'DM Mono', monospace; font-size: 10px; color: rgba(255, 255, 255, 0.9); letter-spacing: .08em; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.hero-status { animation: fadeUp .6s .1s ease both; }
.hero-h1     { animation: fadeUp .7s .25s ease both; }
.hero-divider{ animation: fadeUp .6s .38s ease both; }
.hero-sub    { animation: fadeUp .6s .45s ease both; }
.hero-actions{ animation: fadeUp .6s .55s ease both; }

  /* Services: stack before narrow mobile (five panels in a row need room) */
  @media (max-width: 1200px) {
    .services-track {
      flex-direction: column;
      padding: 0 0 48px;
    }
    .svc-panel {
      flex: none;
      width: 100%;
      min-height: 360px;
      height: auto;
      border-right: none;
      border-bottom: 1px solid var(--border);
    }
    .svc-panel:hover { flex: none; }
    .svc-panel-char { font-size: 140px; top: 10px; right: 0; }
    .svc-panel-detail {
      max-height: 280px;
      opacity: 1;
    }
    .svc-panel-bg { filter: brightness(0.45) saturate(0.85); }
    .svc-panel-overlay { opacity: 0.35; }
  }

  /* ─── MOBILE / TABLET (desktop defaults above unchanged) ─── */
  @media (max-width: 768px) {

    nav {
      padding: 0 20px;
      min-height: 64px;
      height: auto;
      padding-top: 10px;
      padding-bottom: 10px;
      flex-wrap: nowrap;
      align-items: center;
    }
    .nav-wordmark {
      order: 1;
      z-index: 202;
      position: relative;
      font-size: 12px;
      gap: 8px;
    }
    .nav-end {
      order: 2;
      margin-left: auto;
      z-index: 202;
      position: relative;
      gap: 10px;
    }
    .nav-tel { font-size: 11px; }
    .nav-btn { padding: 8px 14px; font-size: 10px; }
    .nav-toggle {
      display: flex;
      order: 3;
      margin-left: 6px;
      z-index: 202;
      position: relative;
    }
    .nav-center {
      position: fixed;
      left: 0;
      right: 0;
      top: 72px;
      bottom: 0;
      z-index: 199;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 0;
      margin: 0;
      padding: 8px 0 32px;
      list-style: none;
      background: rgba(17, 17, 22, 0.98);
      border-top: 1px solid var(--border);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      transform: translateX(100%);
      visibility: hidden;
      transition: transform 0.3s ease, visibility 0.3s;
    }
    nav.nav-open .nav-center {
      transform: translateX(0);
      visibility: visible;
    }
    .nav-center li {
      border-bottom: 1px solid var(--border);
    }
    .nav-center li:last-child { border-bottom: none; }
    .nav-center a {
      display: block;
      padding: 16px 24px;
      font-size: 12px;
      letter-spacing: 0.12em;
    }
    nav.nav-open .nav-backdrop {
      display: block;
      position: fixed;
      inset: 0;
      z-index: 198;
      background: rgba(0, 0, 0, 0.55);
      cursor: pointer;
    }
    nav.nav-open > .nav-wordmark,
    nav.nav-open > .nav-end,
    nav.nav-open > .nav-toggle {
      z-index: 203;
    }
    nav.nav-open .nav-toggle-bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    nav.nav-open .nav-toggle-bar:nth-child(2) {
      opacity: 0;
    }
    nav.nav-open .nav-toggle-bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
    body.nav-menu-open {
      overflow: hidden;
      touch-action: none;
    }

    .hero {
      min-height: 0;
      min-height: 75vh;
      height: auto;
      padding-top: 80px;
      padding-bottom: 40px;
      align-items: flex-start;
    }
    .hero-img-panel {
      width: 100%;
      height: 26vh;
      min-height: 140px;
      left: 0;
      right: 0;
      top: 0;
    }
    .hero-content {
      width: 100%;
      padding: 16px 24px 40px;
      margin-top: max(132px, 24vh);
    }
    .hero-status { margin-bottom: 16px; }
    .hero-h1 { font-size: clamp(36px, 12vw, 64px); margin-bottom: 4px; }
    .hero-divider { margin: 22px 0; }
    .hero-sub { font-size: 18px; margin-bottom: 28px; }
    .hero-actions {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }

    .stats-rail { grid-template-columns: repeat(2, 1fr); }
    .sr-item {
      padding: 24px 20px;
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .sr-item:nth-child(2n) { border-right: none; }
    .sr-item:nth-child(3),
    .sr-item:nth-child(4) { border-bottom: none; }
    .sr-num { font-size: 40px; }

    .about {
      padding: 72px 24px;
      grid-template-columns: 1fr;
      gap: 48px;
    }

    .services-header {
      padding: 0 24px 40px;
      flex-direction: column;
      align-items: flex-start;
      gap: 18px;
    }

    .projects { padding: 72px 24px; }
    .projects-top {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 40px;
    }
    .proj-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      height: auto;
      gap: 3px;
    }
    .proj-cell:first-child { grid-row: auto; }
    .proj-cell { min-height: 220px; }
    .proj-cell:first-child .proj-label-name { font-size: 20px; }

    .clients-band { padding: 48px 24px; }

    .why {
      padding: 72px 24px;
      grid-template-columns: 1fr;
      gap: 48px;
    }

    .cta { padding: 80px 24px; }
    .cta-btns {
      flex-direction: column;
      align-items: center;
    }
    .cta-contact {
      flex-direction: column;
      gap: 28px;
      margin-top: 48px;
    }

    footer { padding: 56px 24px 0; }
    .footer-inner {
      grid-template-columns: 1fr;
      gap: 36px;
      padding-bottom: 44px;
    }
    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  }

  @media (max-width: 480px) {
    .nav-wordmark { font-size: 11px; }
    .nav-tel { font-size: 10px; }
    .nav-center { top: 68px; }

    .hero { padding-top: 76px; }
    .hero-img-panel { min-height: 120px; height: 22vh; }
    .hero-content { padding: 12px 16px 32px; margin-top: max(112px, 20vh); }
    .about { padding: 56px 16px; }
    .services-header { padding: 0 16px 32px; }
    .projects { padding: 56px 16px; }
    .clients-band { padding: 40px 16px; }
    .why { padding: 56px 16px; }
    .cta { padding: 64px 16px; }
    footer { padding: 44px 16px 0; }
  }
