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

:root {
  --g4-blue: #005f9e;
  --g4-blue-dark: #003f6d;
  --g4-blue-light: #1a7fc0;
  --g4-blue-glow: rgba(0,95,158,0.16);
  --g4-red: var(--g4-blue);
  --g4-red-dark: var(--g4-blue-dark);
  --g4-red-glow: var(--g4-blue-glow);
  --black: #0d0d0d;
  --near-black: #111214;
  --dark: #1a1c1f;
  --mid: #2c2f33;
  --steel: #3d4147;
  --ash: #6b7280;
  --silver: #9ca3af;
  --smoke: #d1d5db;
  --white: #f8f8f6;
  --off: #f0efe9;
  --heading: 'Bebas Neue', Impact, sans-serif;
  --condensed: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', sans-serif;
  --nav-h: 80px;
  --max: 1360px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

html { scroll-behavior: smooth; min-height: 100%; }

body {
  font-family: var(--body);
  background: var(--near-black);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
}

img, svg, iframe, video {
  max-width: 100%;
}

/* ── PAGE SYSTEM ── */
.page { min-height: 100vh; background: var(--white); animation: fadeUp 0.4s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--black);
  z-index: 1000;
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  border-bottom: 2px solid var(--g4-blue-light);
}
.nav-inner {
  width: 100%; max-width: var(--max);
  margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo { cursor: pointer; display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 48px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  font-family: var(--condensed); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--smoke); text-decoration: none; cursor: pointer;
  padding: 0.5rem 1.25rem; position: relative; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 1.25rem; right: 1.25rem;
  height: 2px; background: var(--g4-red); transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active-link { color: var(--white); }
.nav-links a.active-link::after { transform: scaleX(1); }

.nav-phone {
  font-family: var(--condensed); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--g4-red);
  white-space: nowrap; flex-shrink: 0;
}
.nav-phone a { color: inherit; text-decoration: none; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; background: var(--black);
  z-index: 999; padding: calc(var(--nav-h) + 2rem) 2rem 3rem;
  flex-direction: column; gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--heading); font-size: 2.5rem; color: var(--white);
  text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--mid);
  cursor: pointer; letter-spacing: 0.05em; transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--g4-red); }

/* ── SHARED UTILS ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.pt-nav { padding-top: var(--nav-h); }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

.eyebrow {
  display: inline-block; font-family: var(--condensed); font-size: 0.8rem;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--g4-red); margin-bottom: 1rem;
}
.eyebrow-light { color: rgba(0,95,158,0.85); }

h1, .h1 {
  font-family: var(--heading); font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 400; line-height: 0.95; letter-spacing: 0.02em; text-transform: uppercase;
}
h2, .h2 {
  font-family: var(--heading); font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 400; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase;
}
h3, .h3 {
  font-family: var(--condensed); font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.lead { font-size: clamp(1rem, 1.5vw, 1.125rem); font-weight: 300; line-height: 1.75; color: var(--steel); }
.small { font-size: 0.875rem; color: var(--ash); line-height: 1.6; }

.divider { width: 48px; height: 3px; background: var(--g4-red); margin: 1.5rem 0; }
.divider-center { margin: 1.5rem auto; }
.divider-white { background: rgba(255,255,255,0.25); }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--condensed); font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.9rem 2rem; border: none; cursor: pointer; text-decoration: none;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.08);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.btn:hover::before { transform: scaleX(1); }
.btn-red { background: var(--g4-blue); color: var(--white); }
.btn-red:hover { background: var(--g4-blue-dark); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--mid); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-red { background: transparent; color: var(--g4-red); border: 2px solid var(--g4-red); }
.btn-outline-red:hover { background: var(--g4-blue); color: var(--white); }
.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(4px); }

/* ── COVER IMAGE UTILITY ── */
.img-wrap { position: relative; overflow: hidden; background: var(--mid); }
.img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}
.img-wrap:hover img { transform: scale(1.04); }
.img-wrap .overlay { position: absolute; inset: 0; pointer-events: none; }
.overlay-dark { background: linear-gradient(to bottom, rgba(13,13,13,0.2) 0%, rgba(13,13,13,0.7) 100%); }
.overlay-mid { background: rgba(13,13,13,0.5); }
.overlay-strong { background: rgba(13,13,13,0.65); }
.overlay-red { background: linear-gradient(135deg, rgba(0,95,158,0.62) 0%, rgba(13,13,13,0.5) 100%); }

/* ── DECORATIVE ELEMENTS ── */
.stripe-accent {
  display: inline-block; width: 4px; height: 100%; background: var(--g4-red);
  position: absolute; left: 0; top: 0;
}
.grid-texture {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════════ */

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--black); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  display: block;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.25) 0%,
    rgba(13,13,13,0.15) 40%,
    rgba(13,13,13,0.85) 80%,
    rgba(13,13,13,0.97) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 4rem) var(--gutter) 5rem;
  max-width: var(--max); margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--condensed); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--white);
  background: var(--g4-red); padding: 0.4rem 1rem; margin-bottom: 2rem;
}
.hero-title { color: var(--white); margin-bottom: 1.5rem; max-width: 900px; }
.hero-title span { color: var(--g4-red); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300;
  color: var(--smoke); max-width: 560px; margin-bottom: 2.5rem; line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-stats {
  display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2.5rem; flex-wrap: wrap;
}
.hero-stat {
  padding: 0 2.5rem 0 0; margin-right: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-stat:last-child { border-right: none; margin-right: 0; }
.hero-stat-num {
  font-family: var(--heading); font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--white); line-height: 1; letter-spacing: 0.03em;
}
.hero-stat-num span { color: var(--g4-red); }
.hero-stat-label {
  font-family: var(--condensed); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver);
  margin-top: 0.25rem;
}

/* TICKER */
.ticker-bar {
  background: var(--g4-red); padding: 0.85rem 0; overflow: hidden;
}
.ticker-track {
  display: flex; gap: 4rem; white-space: nowrap;
  animation: ticker 22s linear infinite;
}
.ticker-item {
  font-family: var(--condensed); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white);
  display: flex; align-items: center; gap: 1.5rem;
}
.ticker-sep { opacity: 0.5; font-size: 1.2rem; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HOME INTRO */
.home-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.home-intro-img { aspect-ratio: 4/5; }

/* SERVICES STRIP */
.services-strip {
  background: var(--black); padding: 5rem 0;
}
.services-strip-inner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--mid);
}
.service-block {
  background: var(--near-black); padding: 3rem 2.5rem;
  position: relative; overflow: hidden; cursor: pointer;
  transition: background 0.3s;
}
.service-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--g4-red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.service-block:hover { background: var(--dark); }
.service-block:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--heading); font-size: 4rem; color: var(--mid);
  line-height: 1; margin-bottom: 1.5rem; letter-spacing: 0.05em;
  transition: color 0.3s;
}
.service-block:hover .service-num { color: var(--g4-red); opacity: 0.4; }
.service-icon { margin-bottom: 1.25rem; }
.service-icon svg { width: 40px; height: 40px; color: var(--g4-red); }
.service-title { font-family: var(--heading); font-size: 2rem; color: var(--white); margin-bottom: 1rem; letter-spacing: 0.04em; }
.service-desc { font-size: 0.9375rem; color: var(--silver); line-height: 1.7; font-weight: 300; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--condensed); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--g4-red);
  margin-top: 1.5rem; text-decoration: none; transition: gap 0.2s;
}
.service-link:hover { gap: 0.75rem; }

/* WHY G4 */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.why-item {
  padding: 3rem 2.5rem; border: 1px solid var(--smoke);
  margin: -1px 0 0 -1px; position: relative; transition: background 0.2s;
}
.why-item:hover { background: var(--off); }
.why-icon { color: var(--g4-red); margin-bottom: 1.25rem; }
.why-title { font-family: var(--condensed); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; }

/* FEATURED PROJECT */
.featured-project {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--black);
}
.fp-img { aspect-ratio: 1; min-height: 500px; }
.fp-content {
  padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center;
}
.fp-tag {
  font-family: var(--condensed); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--g4-red);
  margin-bottom: 1rem; display: block;
}

/* CLIENTS */
.clients-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 3rem 5rem; padding: 4rem 0;
}
.client-name {
  font-family: var(--heading); font-size: 1.5rem; color: var(--smoke);
  letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6;
  transition: opacity 0.2s, color 0.2s; cursor: default;
}
.client-name:hover { opacity: 1; color: var(--g4-red); }

/* CTA BAND */
.cta-band {
  background: var(--g4-red); padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: 'G4'; position: absolute; right: -2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--heading); font-size: 20rem; color: rgba(255,255,255,0.06);
  line-height: 1; pointer-events: none; letter-spacing: 0.05em;
}
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-hero {
  background: var(--black); position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
}
.about-hero-img {
  position: absolute; inset: 0;
}
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.about-hero-content { position: relative; z-index: 2; max-width: 760px; }

.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-img-tall { aspect-ratio: 3/4; }

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.principle-card {
  padding: 2.5rem 2rem; border-top: 3px solid var(--g4-red); background: var(--off);
  position: relative;
}
.principle-icon { color: var(--g4-red); margin-bottom: 1rem; }

.bee-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.bee-list li {
  display: flex; align-items: flex-start; gap: 1rem; font-size: 0.9375rem; color: var(--steel);
}
.bee-list li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px; background: var(--g4-red);
  border-radius: 50%; margin-top: 0.55rem;
}

.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.mv-block { padding: 4rem 3.5rem; }
.mv-block:first-child { background: var(--black); border-right: 1px solid var(--mid); }
.mv-block:last-child { background: var(--dark); }

/* ═══════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════ */
.services-hero {
  background: var(--black); padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative; overflow: hidden;
}
.services-hero-img { position: absolute; inset: 0; }
.services-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }

.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 0; align-items: stretch;
  border-bottom: 1px solid var(--smoke);
}
.service-detail:nth-child(even) .sd-img { order: 2; }
.service-detail:nth-child(even) .sd-content { order: 1; }
.sd-img { min-height: 420px; height: 100%; align-self: stretch; }
.sd-img img { height: 100%; min-height: 100%; }
.sd-content {
  padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center;
  background: var(--white);
}
.sd-content.dark { background: var(--black); }
.sd-num {
  font-family: var(--heading); font-size: 6rem; color: var(--smoke);
  line-height: 1; margin-bottom: 0.5rem; letter-spacing: 0.05em;
}
.sd-content.dark .sd-num { color: var(--mid); }

/* ═══════════════════════════════════════════
   PROJECTS PAGE
═══════════════════════════════════════════ */
.projects-hero {
  background: var(--black); padding: calc(var(--nav-h) + 4rem) 0 4rem;
}
.projects-hero-img { position: absolute; inset: 0; }
.projects-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }

.proj-filter { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 3.5rem; border: 1px solid var(--smoke); width: fit-content; }
.proj-filter-btn {
  font-family: var(--condensed); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.75rem 1.5rem; background: transparent; border: none;
  border-right: 1px solid var(--smoke); cursor: pointer; color: var(--ash);
  transition: all 0.2s;
}
.proj-filter-btn:last-child { border-right: none; }
.proj-filter-btn:hover, .proj-filter-btn.active { background: var(--black); color: var(--white); }

.projects-table { width: 100%; border-collapse: collapse; }
.projects-table thead th {
  font-family: var(--condensed); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash);
  text-align: left; padding: 1rem 1.25rem; border-bottom: 2px solid var(--smoke);
  background: var(--off);
}
.projects-table tbody tr {
  border-bottom: 1px solid var(--smoke); transition: background 0.15s; cursor: pointer;
}
.projects-table tbody tr:hover { background: var(--off); }
.projects-table tbody td {
  padding: 1.25rem 1.25rem; font-size: 0.9375rem; vertical-align: top;
}
.projects-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.proj-client { font-weight: 600; }
.proj-cat {
  display: inline-block; font-family: var(--condensed); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; background: var(--g4-red-glow); color: var(--g4-red);
  border: 1px solid rgba(0,95,158,0.22);
}
.proj-duration { color: var(--ash); font-size: 0.875rem; }

.proj-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--smoke); }
.proj-card { background: var(--white); cursor: pointer; }
.proj-card-img { aspect-ratio: 4/3; }
.proj-card-body { padding: 1.5rem; }
.proj-card-cat {
  font-family: var(--condensed); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--g4-red); margin-bottom: 0.5rem;
}
.proj-card-title { font-family: var(--condensed); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.35rem; }
.proj-card-loc { font-size: 0.8125rem; color: var(--ash); }

/* ═══════════════════════════════════════════
   GALLERY PAGE
═══════════════════════════════════════════ */
.gallery-hero { background: var(--black); padding: calc(var(--nav-h) + 4rem) 0 4rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 4px;
}
.gallery-item { overflow: hidden; cursor: pointer; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}
.gallery-item:hover img { transform: scale(1.06); opacity: 0.85; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95);
  z-index: 2000; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 2rem; right: 2rem;
  background: var(--g4-red); border: none; color: var(--white);
  font-size: 1.5rem; width: 48px; height: 48px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--condensed); font-weight: 700;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-hero { background: var(--black); padding: calc(var(--nav-h) + 4rem) 0 4rem; position: relative; overflow: hidden; }
.contact-hero-img { position: absolute; inset: 0; }
.contact-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border: 1px solid var(--smoke); }
.contact-info-panel { padding: 4rem 3.5rem; background: var(--black); }
.contact-form-panel { padding: 4rem 3.5rem; background: var(--white); }

.contact-info-item { margin-bottom: 2.5rem; }
.contact-label {
  font-family: var(--condensed); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--g4-red); margin-bottom: 0.5rem;
}
.contact-val { font-size: 1rem; color: var(--smoke); line-height: 1.6; }
.contact-val a { color: inherit; text-decoration: none; }
.contact-val a:hover { color: var(--white); }

.form-group { margin-bottom: 1.75rem; }
.form-label {
  display: block; font-family: var(--condensed); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); margin-bottom: 0.6rem;
}
.form-control {
  width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--smoke);
  background: var(--off); font-family: var(--body); font-size: 0.9375rem;
  color: var(--black); transition: border-color 0.2s; outline: none;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--g4-red); background: var(--white); }
textarea.form-control { min-height: 130px; resize: vertical; }

.map-embed { width: 100%; height: 400px; border: none; filter: grayscale(80%) contrast(1.1); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer { background: var(--near-black); color: var(--white); padding: 5rem 0 0; margin: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--mid); margin-bottom: 2.5rem; }
.footer-brand img { height: 52px; width: auto; object-fit: contain; margin-bottom: 1.5rem; }
.footer-tagline { font-size: 0.9rem; color: var(--silver); line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem; }
.footer-col-title {
  font-family: var(--condensed); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--g4-red); margin-bottom: 1.5rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.9rem; color: var(--silver); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { font-size: 0.9rem; color: var(--silver); margin-bottom: 0.75rem; line-height: 1.5; }
.footer-contact-item a { color: inherit; text-decoration: none; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  padding: 1.75rem 0; border-top: 1px solid var(--mid);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.8125rem; color: var(--ash); }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { font-size: 0.8125rem; color: var(--ash); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-strip-inner { grid-template-columns: 1fr; }
  .home-intro { grid-template-columns: 1fr; }
  .home-intro-img { display: none; }
  .featured-project { grid-template-columns: 1fr; }
  .fp-img { min-height: 360px; }
  .fp-content { padding: 3.5rem 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .mission-vision { grid-template-columns: 1fr; }
  .mv-block:first-child { border-right: none; border-bottom: 1px solid var(--mid); }
  .about-cols { grid-template-columns: 1fr; }
  .about-img-tall { display: none; }
  .service-detail { grid-template-columns: 1fr; }
  .sd-img { min-height: 300px; aspect-ratio: 16/9; }
  .service-detail:nth-child(even) .sd-img { order: 0; }
  .service-detail:nth-child(even) .sd-content { order: 0; }
  .sd-content { padding: 3.5rem 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-panel { border-bottom: 1px solid var(--mid); }
  .proj-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .about-transform-grid,
  .capabilities-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .service-scope-grid,
  .ee-stats-grid { grid-template-columns: 1fr !important; }
  .vision-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  h1, .h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  h2, .h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .section { padding: 4rem 0; }
  .section-sm { padding: 3rem 0; }
  .container { padding: 0 clamp(1rem, 5vw, 1.5rem); }
  nav { height: 72px; }
  .nav-logo img { max-width: 150px; height: 42px; }
  .mobile-nav { padding-top: calc(72px + 1.5rem); }
  .mobile-nav a { font-size: clamp(2rem, 11vw, 2.5rem); }
  .hero { min-height: auto; }
  .hero-content { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 3.5rem; }
  .hero-cta,
  .cta-band-inner > div:last-child { width: 100%; }
  .hero-cta .btn,
  .cta-band-inner .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.5rem; flex-direction: column; }
  .hero-stat { border-right: none; padding: 0; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .services-strip,
  .cta-band,
  footer { padding-top: 4rem; }
  .service-block { padding: 2.5rem 1.75rem; }
  .why-item,
  .principle-card { padding: 2rem 1.5rem; }
  .mv-block,
  .fp-content { padding: 3rem 1.5rem; }
  .proj-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom,
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .contact-form-panel, .contact-info-panel { padding: 2.5rem 1.75rem; }
  .contact-info-panel a[href^="tel"] { overflow-wrap: anywhere; }
  .sd-content { padding: 2.5rem 1.75rem; }
  .projects-table-wrap { overflow-x: visible; }
  .projects-table,
  .projects-table thead,
  .projects-table tbody,
  .projects-table tr,
  .projects-table th,
  .projects-table td { display: block; width: 100%; }
  .projects-table thead { display: none; }
  .projects-table tbody tr {
    background: var(--white);
    border: 1px solid var(--smoke);
    margin-bottom: 1rem;
    cursor: default;
  }
  .projects-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--smoke);
  }
  .projects-table tbody td:last-child { border-bottom: none; }
  .projects-table tbody td::before {
    display: block;
    font-family: var(--condensed);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash);
    margin-bottom: 0.25rem;
  }
  .projects-table tbody td:nth-child(1)::before { content: "Client"; }
  .projects-table tbody td:nth-child(2)::before { content: "Contract"; }
  .projects-table tbody td:nth-child(3)::before { content: "Location"; }
  .projects-table tbody td:nth-child(4)::before { content: "Consultant"; }
  .projects-table tbody td:nth-child(5)::before { content: "Duration"; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .hero-badge { font-size: 0.68rem; letter-spacing: 0.14em; }
  .clients-row { gap: 1.5rem 2rem; }
  .client-name { font-size: 1.25rem; }
  .vision-stats-grid { grid-template-columns: 1fr !important; }
  .footer-legal { gap: 0.5rem; }
}

/* Separate-page navigation polish */
.nav-logo { text-decoration: none; }
.service-block { color: inherit; text-decoration: none; display: block; }
.footer-brand img, .contact-info-panel img { background: transparent; padding: 0; }
.icon-mark {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  color: var(--g4-red);
  margin-bottom: 1rem;
}
.icon-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile fixes for About + Services pages */
@media (max-width: 768px) {
  html,
  body,
  .page {
    max-width: 100%;
    overflow-x: hidden;
  }

  .about-hero,
  .services-hero {
    padding: calc(var(--nav-h) + 3rem) 0 3.5rem;
  }

  .about-hero-content,
  .services-hero .container {
    width: 100%;
    max-width: 100%;
  }

  .about-hero-content p,
  .services-hero p,
  .lead,
  .small {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .about-cols,
  .principles-grid,
  .about-transform-grid,
  .mission-vision,
  .capabilities-grid,
  .service-scope-grid,
  .ee-stats-grid,
  .vision-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100%;
  }

  .principle-card,
  .mv-block,
  .sd-content,
  .capabilities-grid > div {
    min-width: 0;
  }

  .mv-block {
    padding: 2.75rem 1.5rem;
  }

  .service-detail {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .service-detail:nth-child(even) .sd-img,
  .service-detail:nth-child(even) .sd-content,
  .service-detail .sd-img,
  .service-detail .sd-content {
    order: initial;
  }

  .sd-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    align-self: auto;
  }

  .sd-img img,
  .sd-img .overlay {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .sd-num {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .sd-content > div[style*="display:flex"] {
    width: 100%;
  }

  .btn {
    max-width: 100%;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .about-hero,
  .services-hero {
    padding: calc(var(--nav-h) + 2.5rem) 0 3rem;
  }

  .sd-content {
    padding: 2.25rem 1.25rem;
  }

  .principle-card,
  .capabilities-grid > div {
    padding: 1.75rem 1.25rem !important;
  }
}

/* Hard mobile overrides for inline desktop grids */
@media (max-width: 900px) {
  .page [style*="grid-template-columns:1fr 1fr"],
  .page [style*="grid-template-columns: 1fr 1fr"],
  .page [style*="grid-template-columns:repeat(3,1fr)"],
  .page [style*="grid-template-columns: repeat(3,1fr)"],
  .page [style*="grid-template-columns:repeat(3, 1fr)"],
  .page [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-transform-grid,
  .capabilities-grid,
  .service-scope-grid,
  .ee-stats-grid,
  .vision-stats-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-transform-grid > *,
  .capabilities-grid > *,
  .service-scope-grid > *,
  .ee-stats-grid > *,
  .vision-stats-grid > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .capabilities-grid {
    gap: 1px !important;
  }

  .capabilities-grid > div {
    border-left: 0 !important;
    border-right: 0 !important;
  }
}
