:root {
  --ink: #17232b;
  --charcoal: #24343d;
  --navy: #07314a;
  --deep: #091923;
  --paper: #f7f4ee;
  --white: #ffffff;
  --muted: #687782;
  --line: rgba(23, 35, 43, .14);
  --orange: #f35a1b;
  --gold: #c4a36d;
  --fnblue: #053a59;
  --shadow: 0 22px 60px rgba(9, 25, 35, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(9,25,35,.92);
  color: var(--white);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand-stack {
  display: grid;
  grid-template-columns: repeat(3, 34px);
  gap: 6px;
  align-items: center;
}
.brand-stack img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a, .drop-button {
  border: 0;
  color: rgba(255,255,255,.86);
  background: transparent;
  padding: 11px 13px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-links a:hover, .drop-button:hover, .nav-links a.active { background: rgba(255,255,255,.1); color: white; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  right: 0;
  top: 54px;
  width: 370px;
  display: none;
  padding: 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(243,90,27,.12), transparent 32%),
    linear-gradient(315deg, rgba(196,163,109,.16), transparent 40%),
    #101f28;
  color: white;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 26px 70px rgba(0,0,0,.34);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: grid; }
.company-menu-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 10px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  color: white;
  background: rgba(255,255,255,.08);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.company-menu-item + .company-menu-item { margin-top: 8px; }
.company-menu-item:hover {
  transform: translateX(3px);
  background: rgba(255,255,255,.14);
}
.company-menu-item img {
  width: 82px;
  height: 56px;
  object-fit: contain;
}
.company-menu-item b {
  display: block;
  line-height: 1.18;
}
.company-menu-item em {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.7);
  font-style: normal;
  font-size: .9rem;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: transparent;
  color: white;
}

.section {
  padding: 86px 0;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.intro-section .container,
#companies .container,
.capability-section .container,
.technology-section .container,
.team-section .container,
.home-cta .container {
  width: min(1440px, calc(100% - 48px));
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.section-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  padding: 72px 0 42px;
  color: white;
  background:
    linear-gradient(90deg, rgba(9,25,35,.96) 0%, rgba(9,25,35,.78) 45%, rgba(9,25,35,.24) 100%),
    var(--hero-image) center/cover no-repeat;
}
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  background:
    linear-gradient(90deg, rgba(7,19,27,.82) 0%, rgba(7,19,27,.58) 48%, rgba(7,19,27,.22) 100%),
    url("/assets/projects/homepage-background.png") center right / cover no-repeat,
    #081720;
}
.home-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px, auto, auto;
  mask-image: linear-gradient(90deg, black, rgba(0,0,0,.6) 56%, transparent 100%);
}
.home-hero:after {
  content: "";
  position: absolute;
  right: 3vw;
  bottom: 8vh;
  width: min(520px, 42vw);
  height: min(520px, 42vw);
  border: 1px solid rgba(196,163,109,.35);
  border-left-color: rgba(243,90,27,.36);
  transform: rotate(32deg);
  box-shadow: inset 0 0 0 22px rgba(255,255,255,.018);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .72fr);
  gap: 48px;
  align-items: end;
}
.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .94;
  letter-spacing: 0;
}
.hero p {
  max-width: 700px;
  color: rgba(255,255,255,.78);
  font-size: 1.16rem;
}
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.btn.primary { background: var(--orange); color: white; }
.btn.dark { background: var(--deep); color: white; }
.btn.gold { background: var(--gold); color: var(--deep); }
.btn.ghost { border-color: rgba(255,255,255,.34); color: white; background: rgba(255,255,255,.08); }
.btn.light { background: white; color: var(--deep); }

.logo-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
}
.logo-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
}
.logo-row img {
  width: 86px;
  height: 58px;
  object-fit: contain;
}
.logo-row b { display: block; }
.logo-row span { color: rgba(255,255,255,.72); font-size: .9rem; }
.presence-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(7,19,27,.62);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.presence-panel > span {
  color: rgba(255,255,255,.66);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.presence-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 12px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  transition: transform .18s ease, background .18s ease;
}
.presence-row:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,.16);
}
.presence-row img {
  width: 110px;
  max-height: 62px;
  object-fit: contain;
}
.presence-row b { display: block; color: white; }
.presence-row em { color: rgba(255,255,255,.72); font-style: normal; font-size: .92rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(9,25,35,.06);
  overflow: hidden;
}
.company-card { padding: 24px; position: relative; min-height: 360px; }
.company-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--accent);
}
.company-logo {
  width: 150px;
  height: 78px;
  object-fit: contain;
  margin-bottom: 22px;
}
.country { color: var(--muted); font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(9,25,35,.06);
  color: #32444f;
  font-size: .8rem;
  font-weight: 700;
}
.dark-band {
  background: var(--deep);
  color: white;
}
.dark-band .section-copy, .dark-band .muted { color: rgba(255,255,255,.72); }
.intro-section {
  background:
    linear-gradient(90deg, rgba(243,90,27,.08), transparent 38%),
    white;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(560px, 1.1fr);
  gap: 48px;
  align-items: center;
}
.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 180px));
  gap: 12px;
  margin-top: 20px;
}
.identity-card {
  min-height: 64px;
  display: grid;
  align-content: center;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--deep);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(9,25,35,.08);
  border-bottom: 4px solid var(--identity-accent);
  position: relative;
  overflow: hidden;
}
.identity-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--identity-accent-soft), transparent 56%);
  pointer-events: none;
}
.identity-card b {
  position: relative;
  z-index: 1;
}
.identity-card b {
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.identity-jmb {
  --identity-accent: var(--orange);
  --identity-accent-soft: rgba(243,90,27,.3);
  background: #091923;
}
.identity-sci {
  --identity-accent: #d4bd8a;
  --identity-accent-soft: rgba(212,189,138,.28);
  background: #20323b;
}
.identity-fn {
  --identity-accent: #b8873a;
  --identity-accent-soft: rgba(184,135,58,.3);
  background: #062d47;
}
.team-section {
  background:
    linear-gradient(135deg, rgba(243,90,27,.08), transparent 34%),
    linear-gradient(315deg, rgba(196,163,109,.1), transparent 42%),
    #f7f4ee;
}
.team-heading {
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(560px, 1.1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, white, #faf8f3);
  border: 1px solid rgba(9,25,35,.12);
  box-shadow: 0 18px 45px rgba(9,25,35,.1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.team-card:before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(9,25,35,.16);
}
.team-photo {
  height: 310px;
  background:
    linear-gradient(135deg, rgba(9,25,35,.06), transparent),
    #f1f1ef;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
@media (min-width: 881px) {
  .team-photo img {
    object-fit: contain;
    object-position: center top;
  }
}
.team-info {
  min-height: 300px;
  padding: 22px;
  background: white;
  color: var(--ink);
}
.team-info p {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #102733;
  color: white;
  font-weight: 800;
  font-size: .82rem;
}
.team-info h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.12;
  color: var(--deep);
}
.team-info ul {
  margin: 0;
  padding-left: 18px;
}
.team-info li {
  margin: 7px 0;
  color: #4f6470;
}
.capability-card { padding: 22px; }
.capability-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(243,90,27,.12);
  color: var(--orange);
  font-weight: 900;
  margin-bottom: 16px;
}
.company-stack {
  display: grid;
  gap: 28px;
  margin-top: 30px;
}
.company-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
  color: white;
  box-shadow: var(--shadow);
}
.company-band-copy {
  position: relative;
  z-index: 1;
  padding: clamp(26px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.company-band-copy:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--accent);
}
.company-band .country {
  color: rgba(255,255,255,.7);
}
.band-logo {
  width: min(240px, 74vw);
  max-height: 110px;
  object-fit: contain;
  align-self: flex-start;
  margin-bottom: 26px;
}
.company-band h3 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}
.company-band p {
  color: rgba(255,255,255,.78);
  max-width: 680px;
}
.company-band .supporting {
  color: rgba(255,255,255,.9);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.company-band-media {
  min-height: 360px;
  position: relative;
}
.company-band-media:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,25,35,.58), transparent 42%),
    linear-gradient(135deg, rgba(196,163,109,.2), transparent 48%);
  z-index: 1;
}
.company-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-jmb {
  background:
    linear-gradient(135deg, rgba(243,90,27,.28), transparent 46%),
    #121f27;
}
.company-sci, .company-fn {
  background:
    linear-gradient(135deg, rgba(196,163,109,.22), transparent 48%),
    #17272f;
}
.company-sci {
  background:
    linear-gradient(135deg, rgba(212,189,138,.26), transparent 48%),
    linear-gradient(180deg, #20323b, #111f26);
}
.company-sci .company-band-copy:after {
  content: "";
  position: absolute;
  right: 24px;
  top: 24px;
  width: 96px;
  height: 96px;
  border-top: 1px solid rgba(212,189,138,.5);
  border-right: 1px solid rgba(212,189,138,.5);
}
.company-fn {
  background:
    linear-gradient(135deg, rgba(184,135,58,.24), transparent 42%),
    linear-gradient(180deg, #062d47, #051925);
}
.company-fn .company-band-copy:after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 110px;
  height: 48px;
  border-bottom: 4px solid rgba(184,135,58,.8);
  border-right: 1px solid rgba(184,135,58,.55);
}
.capability-section {
  background:
    linear-gradient(135deg, rgba(196,163,109,.08), transparent 40%),
    var(--deep);
  color: white;
}
.capability-section .section-copy {
  color: rgba(255,255,255,.72);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.capability-tile {
  min-height: 245px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    rgba(255,255,255,.04);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.capability-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(196,163,109,.65);
  background:
    linear-gradient(180deg, rgba(196,163,109,.16), rgba(255,255,255,.04)),
    rgba(255,255,255,.06);
}
.capability-tile h3 {
  margin: 16px 0 8px;
  color: white;
}
.capability-tile p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.tech-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(196,163,109,.16), transparent 48%),
    #102733;
  color: white;
}
.technology-section {
  background:
    linear-gradient(90deg, #f7f4ee, #ffffff);
}
.technology-section .section-copy {
  color: rgba(255,255,255,.78);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.benefit-grid div {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  font-weight: 800;
}
.bim-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(9,25,35,.14);
  box-shadow: 0 18px 45px rgba(9,25,35,.18);
}
.bim-visual img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}
.wireframe {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 66% 36%, rgba(196,163,109,.26), transparent 32%),
    #0a1b25;
  background-size: 36px 36px, 36px 36px, auto, auto;
}
.wireframe:before {
  box-shadow:
    34px 34px 0 rgba(196,163,109,.14),
    68px 68px 0 rgba(255,255,255,.06);
}
.wireframe:before, .wireframe:after {
  content: "";
  position: absolute;
  border: 2px solid rgba(196,163,109,.75);
  transform: skewY(-18deg) rotate(-8deg);
}
.wireframe:before { width: 220px; height: 130px; left: 80px; top: 70px; }
.wireframe:after { width: 150px; height: 230px; right: 70px; bottom: 54px; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d8d8d8;
}
.project-body { padding: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.project-body h3, .company-card h3 { margin: 12px 0 8px; font-size: 1.28rem; line-height: 1.18; }
.meta { color: var(--muted); font-size: .92rem; font-weight: 700; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 32px;
}
.filter {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  min-height: 40px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
}
.filter.active { background: var(--deep); color: white; border-color: var(--deep); }

.profile-hero {
  position: relative;
  overflow: hidden;
  min-height: 64vh;
  display: grid;
  align-items: end;
  padding: 70px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(9,25,35,.95), rgba(9,25,35,.5)),
    var(--hero-image) center/cover no-repeat;
}
.profile-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,19,27,.92), rgba(7,19,27,.62)),
    linear-gradient(135deg, var(--accent), transparent 34%);
  opacity: .76;
}
.profile-hero .container {
  position: relative;
  z-index: 1;
}
.company-profile-page .container {
  width: min(1440px, calc(100% - 48px));
}
.profile-hero-content {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .42fr);
  gap: 42px;
  align-items: end;
}
.profile-logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(340px, 80vw);
  margin-bottom: 24px;
}
.profile-hero-card {
  padding: 24px;
  border-radius: 8px;
  border-left: 5px solid var(--accent);
  background: rgba(8, 23, 32, .58);
  color: white;
  box-shadow: 0 20px 54px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}
.profile-hero-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.62);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.profile-hero-card b {
  display: block;
  font-size: 1.22rem;
  line-height: 1.2;
}
.profile-hero-card p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.74);
}
.profile-hero .eyebrow {
  color: var(--accent);
}
.profile-jmb-hero {
  background-color: #151f27;
}
.profile-sci-hero {
  background-color: #20323b;
}
.profile-fn-hero {
  background-color: #062d47;
}
.profile-jmb-hero .profile-logo,
.profile-sci-hero .profile-logo,
.profile-fn-hero .profile-logo {
  border: 0;
  box-shadow: none;
}
.profile-logo {
  width: min(280px, 70vw);
  max-height: 116px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 44px;
}
.refined-profile-layout {
  align-items: start;
}
.profile-main-copy {
  max-width: 920px;
}
.profile-main-copy p:not(.eyebrow) {
  color: #50636d;
  font-size: 1.03rem;
  margin: 14px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.profile-facts {
  grid-template-columns: 1fr;
  align-self: stretch;
}
.stat {
  padding: 18px;
  border-radius: 8px;
  background: rgba(9,25,35,.05);
}
.profile-facts .stat {
  background:
    linear-gradient(135deg, rgba(243,90,27,.08), transparent 60%),
    white;
  border: 1px solid rgba(9,25,35,.11);
  box-shadow: 0 12px 28px rgba(9,25,35,.06);
}
.stat b { display: block; font-size: 1.6rem; }

.company-approach-section {
  background:
    linear-gradient(135deg, rgba(9,25,35,.04), transparent 34%),
    #f7f4ee;
}
.approach-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: 34px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 8px;
  background: #0d202b;
  color: white;
  box-shadow: var(--shadow);
}
.approach-copy {
  padding: clamp(26px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.approach-copy p:not(.eyebrow) {
  color: rgba(255,255,255,.75);
  font-size: 1.04rem;
}
.approach-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.approach-points span {
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  font-weight: 800;
  font-size: .86rem;
}
.approach-media {
  margin: 0;
  min-height: 420px;
  position: relative;
}
.approach-media:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,32,43,.55), transparent 46%);
  z-index: 1;
}
.approach-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-sci-page .approach-panel,
.profile-sci-page .profile-facts .stat {
  background:
    linear-gradient(135deg, rgba(212,189,138,.13), transparent 56%),
    #17272f;
}
.profile-fn-page .approach-panel,
.profile-fn-page .profile-facts .stat {
  background:
    linear-gradient(135deg, rgba(184,135,58,.13), transparent 56%),
    #062d47;
}
.profile-jmb-page .approach-panel {
  background:
    linear-gradient(135deg, rgba(243,90,27,.18), transparent 50%),
    #101f28;
}
.profile-sci-page .profile-facts .stat,
.profile-fn-page .profile-facts .stat {
  color: white;
  border-color: rgba(255,255,255,.12);
}
.profile-sci-page .profile-facts .stat span,
.profile-fn-page .profile-facts .stat span {
  color: rgba(255,255,255,.72);
}

.cta {
  padding: 62px 0;
  background: var(--charcoal);
  color: white;
}
.home-cta {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(243,90,27,.22), transparent 34%),
    linear-gradient(315deg, rgba(196,163,109,.18), transparent 36%),
    var(--charcoal);
}
.cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.home-cta .actions { margin-top: 0; justify-content: flex-end; }
.footer {
  padding: 44px 0;
  background: #07131b;
  color: rgba(255,255,255,.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}
.footer b { color: white; }

.contact-hero {
  min-height: 52vh;
}
.contact-section {
  background:
    linear-gradient(135deg, rgba(9,25,35,.06), transparent 38%),
    linear-gradient(315deg, rgba(196,163,109,.13), transparent 44%),
    #f7f4ee;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .62fr);
  gap: 28px;
  align-items: start;
}
.contact-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, white, #fbfaf6);
  border: 1px solid rgba(9,25,35,.12);
  box-shadow: 0 24px 70px rgba(9,25,35,.12);
}
.contact-form-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--gold), #b8873a);
}
.contact-form-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
  color: var(--deep);
}
.contact-form-card > p {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 720px;
}
.contact-company-stack {
  display: grid;
  gap: 14px;
}
.contact-company-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 164px;
  padding: 22px;
  border-radius: 8px;
  color: white;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(9,25,35,.18);
}
.contact-company-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
}
.contact-company-card img {
  width: 150px;
  max-height: 86px;
  object-fit: contain;
  justify-self: start;
}
.contact-company-card p {
  margin: 0 0 8px;
  color: rgba(255,255,255,.7);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
}
.contact-company-card h3 {
  margin: 0 0 9px;
  font-size: 1.2rem;
  line-height: 1.15;
}
.contact-company-card span {
  color: rgba(255,255,255,.78);
  line-height: 1.55;
}
.contact-company-jmb {
  background:
    linear-gradient(135deg, rgba(243,90,27,.28), transparent 44%),
    #101f28;
}
.contact-company-sci {
  background:
    linear-gradient(135deg, rgba(212,189,138,.24), transparent 45%),
    #20323b;
}
.contact-company-fn {
  background:
    linear-gradient(135deg, rgba(184,135,58,.3), transparent 45%),
    #062d47;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: white;
}
.field textarea { min-height: 150px; resize: vertical; }
.success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(20,129,90,.1);
  color: #0f6f4d;
  font-weight: 800;
}
.success.show { display: block; }
.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(176,45,45,.1);
  border: 1px solid rgba(176,45,45,.22);
  color: #8a2525;
}
.form-error.show { display: block; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
  background: rgba(3,10,14,.86);
  padding: 22px;
}
.modal.open { display: grid; place-items: center; }
.modal-panel {
  width: min(1080px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 8px;
  background: white;
}
.modal-media { position: relative; background: #07131b; }
.modal-media img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
}
.modal-close, .modal-next, .modal-prev {
  position: absolute;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  color: var(--deep);
  cursor: pointer;
  font-weight: 900;
}
.modal-close { top: 14px; right: 14px; width: 42px; height: 42px; }
.modal-prev, .modal-next { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; }
.modal-prev { left: 14px; }
.modal-next { right: 14px; }
.modal-content { padding: 24px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.thumbs button.active { border-color: var(--orange); }
.thumbs img { width: 74px; height: 54px; object-fit: cover; }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    inset: 78px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 16px 20px;
    background: rgba(9,25,35,.98);
  }
  .nav-links.open { display: flex; }
  .dropdown-menu { position: static; display: grid; width: 100%; margin: 4px 0 10px; box-shadow: none; }
  .hero-grid, .grid-3, .grid-2, .project-grid, .tech-panel, .profile-layout, .footer-grid, .form-grid, .intro-grid, .company-band, .profile-hero-content, .approach-panel, .contact-layout {
    grid-template-columns: 1fr;
  }
  .company-profile-page .container { width: min(100% - 32px, 100%); }
  .profile-logo-panel { min-width: 0; }
  .approach-media { min-height: 320px; }
  .capability-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .identity-grid, .benefit-grid { grid-template-columns: 1fr 1fr; }
  .team-heading { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 92px 0 38px; }
  .logo-panel, .presence-panel { margin-top: 20px; }
  .section { padding: 60px 0; }
  .cta .container { display: grid; }
  .home-cta .actions { justify-content: flex-start; }
  .stat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .brand span { display: none; }
  .hero h1 { font-size: 3rem; }
  .hero-actions .btn, .actions .btn { width: 100%; }
  .presence-row { grid-template-columns: 86px 1fr; }
  .presence-row img { width: 86px; }
  .identity-grid, .capability-grid, .benefit-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-photo { height: 340px; }
  .team-info { min-height: auto; }
  .approach-media { min-height: 250px; }
  .profile-hero-card { padding: 18px; }
  .company-band { min-height: auto; }
  .company-band-media { min-height: 250px; }
  .band-logo { max-height: 92px; }
  .project-body h3 { font-size: 1.1rem; }
  .contact-company-card { grid-template-columns: 1fr; }
  .contact-company-card img { width: min(170px, 70vw); }
  .modal { padding: 10px; }
}
