:root {
  --red: #C1272D;
  --red-light: #D63A40;
  --red-dark: #8B0D12;
  --red-glow: rgba(193, 39, 45, 0.12);
  --black: #070707;
  --dark-1: #0D0D0D;
  --dark-2: #141414;
  --dark-3: #1C1C1C;
  --steel: #2A2A2A;
  --steel-light: #383838;
  --gray: #7A7A7A;  /* was #555555 — raised for WCAG AA contrast on small text */
  --mid: #888888;
  --light: #BBBBBB;
  --white: #F2EFE9;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark-1);
  color: var(--white);
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

/* =====================
   NAVIGATION
===================== */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 5000;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: rgba(7,7,7,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(193,39,45,0.25);
  transition: border-color 0.3s, background 0.3s;
}

#main-nav.scrolled {
  background: rgba(7,7,7,0.98);
  border-bottom-color: rgba(193,39,45,0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo .logo-mark {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  padding: 8px 18px;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px; right: 18px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.22s ease;
  transform-origin: left;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  margin-left: 8px;
  transition: background 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-light) !important; color: var(--white) !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  transition: opacity 0.2s;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: var(--black);
  border-bottom: 2px solid var(--red);
  z-index: 4999;
  padding: 20px 32px 28px;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--steel);
  transition: color 0.18s, padding-left 0.18s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--red); padding-left: 8px; }

/* =====================
   PAGE HERO (inner pages)
===================== */
.page-hero {
  padding: 152px 80px 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--steel);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--red), var(--red-dark));
}

.page-hero .ph-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-hero .ph-eyebrow::after {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--red);
}

.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9vw, 110px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
}
.page-hero h1 em { color: var(--red); font-style: normal; }

.page-hero .ph-sub {
  margin-top: 24px;
  max-width: 540px;
  color: var(--mid);
  font-size: 17px;
  line-height: 1.7;
}

.page-hero .bg-watermark {
  position: absolute;
  right: -30px;
  bottom: -60px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 260px;
  color: rgba(193,39,45,0.035);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* =====================
   SECTION BASE
===================== */
.section { padding: 96px 80px; }
.section-dark { background: var(--dark-2); }
.section-black { background: var(--black); }

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
}
.section-title em { color: var(--red); font-style: normal; }

.red-bar {
  width: 56px; height: 3px;
  background: var(--red);
  margin: 28px 0;
}

.body-text {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  max-width: 560px;
}

.body-text + .body-text { margin-top: 18px; }

/* =====================
   BUTTONS
===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); }

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover { background: var(--red); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--red-dark);
  border-color: var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); }

/* =====================
   CREDENTIAL BAR
===================== */
.cred-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  display: flex;
  align-items: stretch;
}

.cred-item {
  flex: 1;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-right: 1px solid var(--steel);
  text-align: center;
}
.cred-item:last-child { border-right: none; }

.cred-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

.cred-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
}
.cred-value.red { color: var(--red); }

/* =====================
   SERVICE CARDS (3-col grid)
===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--steel);
  border: 1px solid var(--steel);
}

.service-card {
  background: var(--dark-2);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--steel);
  transition: background 0.2s;
}

.service-card:hover { background: var(--dark-3); }
.service-card:hover::before { background: var(--red); }

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: rgba(193,39,45,0.1);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.service-card:hover .service-num { color: rgba(193,39,45,0.18); }

.service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.service-text {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.7;
}

/* =====================
   PROJECT CARDS
===================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.projects-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}

.project-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark-3);
  cursor: pointer;
}

.project-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-bg { transform: scale(1.04); }

/* Placeholder patterns per card */
.proj-bg-1 {
  background:
    repeating-linear-gradient(-55deg, rgba(193,39,45,0.04) 0px, rgba(193,39,45,0.04) 1px, transparent 1px, transparent 18px),
    linear-gradient(160deg, #111 0%, #1d1010 100%);
}
.proj-bg-2 {
  background:
    repeating-linear-gradient(35deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 20px),
    linear-gradient(200deg, #101011 0%, #181820 100%);
}
.proj-bg-3 {
  background:
    repeating-linear-gradient(-30deg, rgba(193,39,45,0.03) 0px, rgba(193,39,45,0.03) 1px, transparent 1px, transparent 22px),
    linear-gradient(120deg, #0f1410 0%, #141a14 100%);
}
.proj-bg-4 {
  background:
    linear-gradient(45deg, rgba(193,39,45,0.05) 0%, transparent 60%),
    linear-gradient(220deg, #131313 0%, #1a1515 100%);
}
.proj-bg-5 {
  background:
    repeating-linear-gradient(70deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 16px),
    linear-gradient(170deg, #0f0f14 0%, #14141c 100%);
}
.proj-bg-6 {
  background:
    repeating-linear-gradient(-20deg, rgba(193,39,45,0.04) 0px, rgba(193,39,45,0.04) 1px, transparent 1px, transparent 14px),
    linear-gradient(100deg, #131010 0%, #1a1a1a 100%);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,7,0.96) 0%, rgba(7,7,7,0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}

.project-card-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.project-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}

.project-card-detail {
  font-size: 12px;
  color: var(--light);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.28s;
}
.project-card:hover .project-card-detail { opacity: 1; transform: translateY(0); }

/* Corner accent on project cards */
.project-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.2s;
}
.project-card:hover::after { opacity: 1; }

/* placeholder icon inside bg */
.proj-placeholder-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: rgba(255,255,255,0.035);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* =====================
   CTA SECTION
===================== */
.cta-section {
  background: var(--red);
  padding: 88px 80px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'QMW';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 300px;
  color: rgba(0,0,0,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 6vw, 88px);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  max-width: 680px;
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  margin-top: 20px;
  font-size: 16px;
  max-width: 460px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* =====================
   VIDEO SECTION
===================== */
.video-section {
  padding: 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16/7;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.008) 0px, rgba(255,255,255,0.008) 1px, transparent 1px, transparent 24px);
}

.video-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.play-btn-large {
  width: 80px; height: 80px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  background: rgba(0,0,0,0.5);
}
.play-btn-large:hover { background: var(--red); transform: scale(1.08); }

.play-btn-large svg { margin-left: 4px; }

.video-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

.video-label-note {
  display: block;
  font-style: italic;
  color: var(--steel-light);
  margin-top: 4px;
  text-align: center;
  font-family: 'Karla', sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: none;
}

/* =====================
   ABOUT TEASER (home)
===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-img-box {
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(-45deg, rgba(193,39,45,0.04) 0px, rgba(193,39,45,0.04) 1px, transparent 1px, transparent 20px),
    linear-gradient(135deg, #111 0%, #1a1212 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--steel);
}

.about-img-placeholder-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.1em;
  text-align: center;
}

.about-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.about-stat-box {
  background: var(--dark-2);
  border: 1px solid var(--steel);
  padding: 24px 28px;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  color: var(--red);
  line-height: 1;
}
.stat-num sup { font-size: 22px; }
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* =====================
   HISTORY TIMELINE (who we are)
===================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--steel);
  margin-left: 20px;
  padding-left: 40px;
  position: relative;
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -49px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--dark-1);
}

.timeline-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 520px;
}

/* =====================
   VALUES GRID (who we are)
===================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--steel);
}

.value-card {
  background: var(--dark-2);
  padding: 36px 28px;
  position: relative;
}
.value-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}

.value-icon-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(193,39,45,0.12);
  line-height: 1;
  margin-bottom: 12px;
}

.value-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.value-text {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
}

/* =====================
   CERTIFICATIONS (who we are)
===================== */
.cert-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.cert-badge {
  background: var(--dark-2);
  border: 1px solid var(--steel);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.cert-badge-icon {
  width: 52px; height: 52px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--red);
  text-align: center;
  line-height: 1.2;
}

.cert-badge-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: center;
}

/* =====================
   FULL SERVICE CARDS (what we do)
===================== */
.full-services-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--steel);
}

.full-service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0;
  background: var(--dark-2);
  transition: background 0.2s;
  align-items: stretch;
}
.full-service-row:hover { background: var(--dark-3); }

.full-service-num {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--steel);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: rgba(193,39,45,0.2);
  transition: color 0.2s;
}
.full-service-row:hover .full-service-num { color: var(--red); }

.full-service-body {
  padding: 32px 36px;
}

.full-service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.full-service-text {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.75;
  max-width: 600px;
}

.full-service-arrow {
  display: flex;
  align-items: center;
  padding: 0 36px;
  color: var(--steel-light);
  font-size: 20px;
  transition: color 0.2s, transform 0.2s;
  border-left: 1px solid var(--steel);
}
.full-service-row:hover .full-service-arrow { color: var(--red); transform: translateX(4px); }

/* =====================
   CAPABILITY CALLOUT (what we do)
===================== */
.capability-bar {
  background: var(--red-dark);
  border-top: 3px solid var(--red);
  padding: 48px 80px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}

.capability-bar h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  list-style: none;
}

.capability-list li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 10px;
}
.capability-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--red-light);
  flex-shrink: 0;
}

/* =====================
   CONTACT FORM
===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--steel);
  margin-bottom: 1px;
}

.form-group {
  background: var(--dark-1);
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  padding: 14px 20px 4px;
  background: var(--dark-2);
  border-bottom: 1px solid var(--steel);
}

.form-group input,
.form-group select,
.form-group textarea {
  flex: 1;
  background: var(--dark-1);
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  padding: 14px 20px;
  width: 100%;
  transition: background 0.18s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { background: var(--dark-2); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }

.form-group-full { grid-column: 1 / -1; }

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select { cursor: pointer; }
.form-group select option { background: var(--dark-2); }

.form-submit {
  margin-top: 1px;
  background: var(--red);
  color: var(--white);
  padding: 18px 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.form-submit:hover { background: var(--red-dark); }

.contact-info-block { position: sticky; top: 100px; }

.contact-info-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.65;
}

.contact-info-value a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-info-value a:hover { color: var(--red); }

.contact-divider {
  border: none;
  border-top: 1px solid var(--steel);
  margin: 28px 0;
}

.contact-personnel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-person-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.contact-person-role {
  font-size: 12px;
  color: var(--gray);
}

.contact-person-email {
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
}
.contact-person-email:hover { color: var(--red); }

/* =====================
   FOOTER
===================== */
footer {
  background: var(--black);
  border-top: 3px solid var(--red);
  padding: 64px 80px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--steel);
}

.footer-logo-svg {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.18s;
  letter-spacing: 0.02em;
}
.footer-col ul a:hover { color: var(--white); }

.footer-contact-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.85;
}
.footer-contact-text a { color: var(--mid); text-decoration: none; transition: color 0.18s; }
.footer-contact-text a:hover { color: var(--red); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}

.footer-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-badge {
  border: 1px solid var(--gray);
  padding: 5px 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  line-height: 1.4;
}

/* =====================
   SCROLL ANIMATIONS
===================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1100px) {
  .section { padding: 80px 48px; }
  .page-hero { padding: 140px 48px 64px; }
  .cta-section { padding: 72px 48px; }
  .capability-bar { padding: 40px 48px; }
  footer { padding: 56px 48px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
}

@media (max-width: 900px) {
  #main-nav { padding: 0 28px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 28px; }
  .page-hero { padding: 120px 28px 48px; }
  .cta-section { padding: 64px 28px; }
  .capability-bar { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
  footer { padding: 48px 28px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-block { position: static; }
  .cred-bar { flex-wrap: wrap; }
  .cred-item { min-width: 50%; flex: none; border-right: none; border-bottom: 1px solid var(--steel); }
  .capability-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(64px, 14vw, 96px); }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* =====================
   ACCORDION (What We Do)
===================== */
.full-service-row { cursor: pointer; user-select: none; }
.full-service-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.full-service-row.expanded .full-service-text {
  max-height: 400px;
  opacity: 1;
  margin-top: 10px;
}
.full-service-row.expanded { background: var(--dark-3); }
.full-service-row.expanded .full-service-num { color: var(--red); }
.full-service-arrow { transition: color 0.2s, transform 0.3s; }
.full-service-row.expanded .full-service-arrow { transform: rotate(90deg); color: var(--red); }
.accordion-hint {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.accordion-hint::before { content: ''; display: block; width: 16px; height: 1px; background: var(--gray); }

/* =====================
   LIGHTBOX
===================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, background 0.28s ease;
}
.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
  background: rgba(0,0,0,0.92);
}
.lightbox-panel {
  background: var(--dark-2);
  border: 1px solid var(--steel);
  border-top: 3px solid var(--red);
  max-width: 860px;
  width: 100%;
  position: relative;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.28s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.lightbox-overlay.open .lightbox-panel { transform: scale(1) translateY(0); }
.lightbox-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--steel);
  color: var(--light);
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1;
  font-family: sans-serif;
}
.lightbox-close:hover { color: var(--white); border-color: var(--red); }
.lightbox-img { aspect-ratio: 16/9; width: 100%; display: block; position: relative; }
.lightbox-body { padding: 32px 40px 40px; }
.lightbox-tag-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.lightbox-project-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.lightbox-project-meta { font-size: 15px; color: var(--mid); line-height: 1.75; margin-bottom: 20px; }
.lightbox-photo-note {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  font-style: italic;
  border-top: 1px solid var(--steel);
  padding-top: 16px;
}
@media (max-width: 600px) {
  .lightbox-body { padding: 24px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* =====================
   ACCESSIBILITY
===================== */
/* Visible focus outline for keyboard users on interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Respect users who turn off animations at the OS level */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-headline span, .hero-eyebrow, .hero-sub, .hero-actions, .hero-video-col { opacity: 1 !important; transform: none !important; }
}


/* =====================
   FIVE-CARD SERVICES GRID (3 over 2)
===================== */
.services-grid.five { grid-template-columns: repeat(6, 1fr); }
.services-grid.five .service-card { grid-column: span 2; }
.services-grid.five .service-card:nth-child(4),
.services-grid.five .service-card:nth-child(5) { grid-column: span 3; }
@media (max-width: 900px) {
  .services-grid.five { grid-template-columns: 1fr; }
  .services-grid.five .service-card,
  .services-grid.five .service-card:nth-child(4),
  .services-grid.five .service-card:nth-child(5) { grid-column: auto; }
}

/* =====================
   REAL PHOTOS
===================== */
img.work-card-bg, img.project-card-bg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-img-box { overflow: hidden; }
.about-img-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-box img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.portrait-box::before { z-index: 1; }

/* =====================
   PROJECT FILTER (Our Work)
===================== */
.work-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 28px 80px; background: var(--dark-2);
  border-bottom: 1px solid var(--steel);
}
.work-filter button {
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--light); background: transparent;
  border: 1px solid var(--steel-light); padding: 10px 18px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.work-filter button:hover { color: var(--white); border-color: var(--light); }
.work-filter button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.work-card.is-hidden { display: none; }
@media (max-width: 900px) { .work-filter { padding: 20px 28px; } }

/* =====================
   LIGHTBOX GALLERY
===================== */
.lightbox-img { background: #000; overflow: hidden; }
#lightbox-photo { width: 100%; height: 100%; object-fit: contain; display: block; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 1px solid var(--steel-light);
  background: rgba(0,0,0,0.6); color: var(--white);
  font-size: 28px; line-height: 1; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-nav:hover { background: var(--red); border-color: var(--red); }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
.lightbox-nav[hidden] { display: none; }
.lightbox-count {
  position: absolute; bottom: 12px; right: 14px; z-index: 2;
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; color: var(--white);
  background: rgba(0,0,0,0.6); padding: 4px 10px;
}
.lightbox-count:empty { display: none; }

/* Photo cards: readable labels over busy photos */
.work-card-overlay, .project-card-overlay {
  background: linear-gradient(to top, rgba(7,7,7,0.97) 0%, rgba(7,7,7,0.75) 32%, rgba(7,7,7,0.15) 70%, transparent 100%);
}
.work-card .work-card-tag, .project-card .project-card-tag {
  align-self: flex-start; background: var(--red); color: var(--white);
  padding: 4px 9px; margin-bottom: 10px;
}

/* =====================
   VIMEO VIDEO (home)
===================== */
.video-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; display: block;
}
/* hero frame: muted looping preview, cropped to fill the 16:11 frame */
.video-frame .vimeo-bg {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  height: 100%; width: 122.3%; border: 0; z-index: 0;
  opacity: 0; transition: opacity 0.8s ease; pointer-events: none;
}
.video-frame .vimeo-bg.loaded { opacity: 1; }
.video-frame .video-frame-bg { z-index: 1; background-color: rgba(0,0,0,0.35); }
.video-frame.is-playing .video-frame-bg { background-color: rgba(0,0,0,0.12); }
a.video-frame-inner { z-index: 2; text-decoration: none; cursor: pointer; }
.video-frame.is-playing .play-circle { transform: scale(0.85); }
.video-frame .play-label { color: var(--white); text-shadow: 0 1px 6px rgba(0,0,0,0.8); }

/* full-width section: poster until clicked, then a 16:9 player */
.video-wrap { transition: aspect-ratio 0.3s ease; }
.video-wrap::before { z-index: 1; background-color: rgba(0,0,0,0.45); }
button.video-inner {
  background: none; border: none; cursor: pointer; color: inherit; font: inherit;
  z-index: 2; padding: 24px;
}
button.video-inner .video-label { color: var(--white); }
button.video-inner .video-label-note { color: var(--light); }
button.video-inner:hover .play-btn-large { background: var(--red); transform: scale(1.08); }
.video-wrap.playing { aspect-ratio: 16 / 9; }
.video-wrap.playing::before { display: none; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-alt-link {
  position: absolute; right: 20px; bottom: 16px; z-index: 2;
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--light); text-decoration: none;
}
.video-alt-link:hover { color: var(--white); }
.video-wrap.playing .video-alt-link { display: none; }

/* Hero: text-only layout (video frame removed) */
.hero .hero-inner { grid-template-columns: 1fr; max-width: 980px; }

/* =====================
   QUOTE PANEL (Contact, replaces form)
===================== */
.quote-panel { background: var(--dark-2); border: 1px solid var(--steel); border-top: 3px solid var(--red); padding: 40px; }
.quote-lead { font-size: 17px; color: var(--light); line-height: 1.7; margin-bottom: 32px; max-width: 560px; }
.quote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.quote-btn {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  border: 1px solid var(--steel-light); color: var(--white); text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.quote-btn:hover { border-color: var(--white); }
.quote-btn-primary { background: var(--red); border-color: var(--red); }
.quote-btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.quote-btn svg { flex-shrink: 0; }
.quote-btn-label { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.quote-btn-sub { display: block; font-size: 14px; opacity: 0.85; margin-top: 2px; }
.quote-include-title { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.quote-include ul { list-style: none; }
.quote-include li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--steel); font-size: 15px; color: var(--mid); line-height: 1.6; }
.quote-include li::before { content: ''; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--red); }
.quote-include li strong { color: var(--white); font-weight: 600; }
@media (max-width: 600px) { .quote-panel { padding: 28px 22px; } .quote-actions { grid-template-columns: 1fr; } }

/* =====================
   HERO PHOTO
===================== */
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  filter: saturate(0.9) brightness(0.82) contrast(1.05);
  animation: heroPhotoIn 1.4s ease 0.1s both;
}
/* fade into the black on the left and bottom so the headline stays readable */
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--black) 0%, rgba(7,7,7,0.75) 22%, rgba(7,7,7,0.2) 55%, rgba(7,7,7,0.05) 100%),
    linear-gradient(to top, var(--black) 0%, rgba(7,7,7,0) 28%);
}
@keyframes heroPhotoIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
.hero .hero-bg-shape { z-index: 0; }
@media (max-width: 900px) {
  .hero-photo { width: 100%; }
  .hero-photo::after { background: linear-gradient(to bottom, rgba(7,7,7,0.72) 0%, rgba(7,7,7,0.82) 55%, var(--black) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }


/* =====================
   AUDIT FIXES: readability, tap targets
===================== */
/* tiny 10px labels up to 11px for readability */
html body .cred-label, html body .contact-info-label, html body .footer-col h4,
html body .personnel-header, html body .project-card-tag, html body .work-card-tag { font-size: 11px; }
/* comfortable tap targets (44px) */
.hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.lightbox-close { width: 44px; height: 44px; }
.lightbox-nav { width: 48px; height: 48px; }
.video-alt-link { padding: 12px 4px; }
@media (max-width: 900px) {
  .work-filter button { min-height: 44px; }
  .mobile-menu a { min-height: 44px; display: flex; align-items: center; }
}

/* =====================
   MOBILE LAYOUT FIXES
===================== */
.referral-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) {
  .referral-grid { grid-template-columns: 1fr; gap: 8px; }
  /* stats bar: clean 2-column grid; an odd last item spans the full row */
  html body .cred-bar { display: grid; grid-template-columns: 1fr 1fr; }
  html body .cred-item { min-width: 0; border-right: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
  html body .cred-item:nth-child(2n) { border-right: none; }
  html body .cred-item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
}
@media (max-width: 600px) {
  /* service accordion: give the titles room */
  html body .full-service-row { grid-template-columns: 52px 1fr auto; }
  html body .full-service-num { font-size: 24px; }
  html body .full-service-body { padding: 22px 18px; }
  html body .full-service-title { font-size: 18px; }
  html body .full-service-arrow { padding: 0 16px; }
}
@media (max-width: 400px) {
  html body .cred-value { font-size: 24px; }
  html body .cred-item { padding: 22px 12px; }
}

/* Official logo (SVG image) */
.nav-logo .logo-mark { height: 46px; width: auto; }
.footer-logo-svg { height: 120px; width: auto; }
@media (max-width: 400px) { .nav-logo .logo-mark { height: 40px; } }
