/* ============================================
   brytemove — Modern Site Design System
   Brand: #00b0f0 (electric blue) / #004969 (navy)
   Fonts: Avenir-ish system stack + Inter
   ============================================ */

:root {
  --blue: #00b0f0;
  --blue-soft: #e6f7fe;
  --navy: #004969;
  --navy-dark: #00334a;
  --ink: #1a2b36;
  --gray: #5c6b76;
  --gray-light: #eef2f5;
  --line: #e2e8ec;
  --white: #ffffff;

  --font-body: 'Inter', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Avenir Next', 'Avenir', 'Inter', 'Segoe UI', -apple-system, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,30,45,.08);
  --shadow-md: 0 8px 24px rgba(0,30,45,.10);
  --shadow-lg: 0 20px 48px rgba(0,30,45,.16);
  --radius: 14px;
  --container: 1180px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

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

/* Keep intrinsically wide content from forcing responsive layouts wider. */
.grid > *, .split > *, .hero-stats > *, .footer-grid > *,
.cap-grid > *, .program-grid > *, .portfolio-grid > * { min-width: 0; }
table { width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; }
th, td { overflow-wrap: anywhere; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; font-family: var(--font-body);
  cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0,176,240,.35); }
.btn-primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,73,105,.3); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  padding: 9px 14px; border-radius: 8px;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-soft); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2.5px; width: 24px; background: var(--navy); border-radius: 3px; transition: .3s; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 8px 18px 16px; gap: 2px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); display: none;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; }
  .nav-cta { margin: 10px 0 0; }
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.9);
  font-size: 13.5px; padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--blue); }
.topbar .tb-sep { opacity: .4; margin: 0 8px; }
@media (max-width: 700px) { .topbar-inner { justify-content: center; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(720px, calc(100svh - 72px), 900px);
  padding: 96px 0 0;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,24,43,.72) 0%, rgba(0,31,54,.67) 42%, rgba(0,38,65,.44) 72%, rgba(0,28,49,.27) 100%),
    linear-gradient(0deg, rgba(0,24,43,.59) 0%, transparent 42%);
  pointer-events: none;
}
.hero-slides, .hero-slide, .hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides { z-index: 0; }
.hero-slide { margin: 0; }
.hero-media { display: block; }
.hero-media img { display: block; object-fit: cover; object-position: 54% 54%; }
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 clamp(28px, 5vw, 80px) 68px;
}
.hero-copy {
  max-width: 920px;
  text-shadow: 0 2px 18px rgba(0,18,32,.34);
}
.hero h1 { color: #fff; font-size: clamp(38px, 5.5vw, 64px); max-width: 15em; }
.hero .kick {
  display: inline-block; color: var(--blue); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; font-size: 13.5px; margin-bottom: 18px;
}
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.86); max-width: 760px; margin: 22px 0 14px; }
.hero p.hero-support { color: rgba(255,255,255,.76); max-width: 900px; margin: 0 0 34px; font-size: 15.5px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats-wrap {
  position: relative; z-index: 2;
  width: 100%;
  height: 104px;
  margin-top: auto;
  background: rgba(0,24,43,.92);
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  width: 100%; height: 100%; align-items: center;
  padding: 12px clamp(28px, 5vw, 80px) 14px;
}
.stat .num { font-family: var(--font-head); font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.05; color: #fff; }
.stat .lbl { color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.3; margin-top: 4px; }
@media (max-width: 760px) {
  .hero { min-height: 760px; }
  .hero-content { padding-top: 4px; padding-bottom: 48px; }
  .hero-media img { object-position: 57% 50%; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(0,24,43,.82) 0%, rgba(0,31,54,.72) 72%, rgba(0,28,49,.55) 100%),
      linear-gradient(0deg, rgba(0,24,43,.74) 0%, rgba(0,24,43,.14) 58%);
  }
  .hero-stats-wrap { height: 164px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
  .hero-stats .num { font-size: 26px; }
  .hero-stats .lbl { font-size: 12.5px; line-height: 1.2; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--gray-light); }
.section--dark { background: var(--navy-dark); color: rgba(255,255,255,.88); }
.section--dark h2 { color: #fff; }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 10px 0 16px; }
.sec-head p { color: var(--gray); font-size: 17px; }
.section--dark .sec-head p { color: rgba(255,255,255,.7); }
.kicker {
  display: inline-block; color: var(--blue); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: 13px;
}
.section--dark .kicker { color: var(--blue); }

/* ---------- Two-column feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .art {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.split .art img { width: 100%; height: 420px; object-fit: cover; }
.split .art--field-team img { object-fit: contain; object-position: center center; background: #eef3f5; }
.split ul.feat-list { list-style: none; margin: 18px 0 0; }
.split ul.feat-list li { padding: 9px 0 9px 32px; position: relative; }
.split ul.feat-list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  color: var(--blue); font-weight: 700;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.card .ico {
  width: 54px; height: 54px; border-radius: 12px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.card ul { list-style: none; }
.card ul li { padding: 5px 0 5px 22px; position: relative; font-size: 15px; color: var(--ink); }
.card ul li::before { content: "·"; position: absolute; left: 4px; color: var(--blue); font-weight: 700; font-size: 20px; top: -2px; }

/* ---------- Firsts (timeline) ---------- */
.firsts { list-style: none; }
.firsts li {
  display: flex; gap: 20px; padding: 22px 26px; border-left: 3px solid var(--blue);
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.firsts .year { flex-shrink:0; color: var(--blue); font-weight: 700; font-family: var(--font-head); font-size: 15px; min-width: 40px; }
.firsts p { color: var(--ink); font-weight: 500; }
.firsts a { font-weight: 400; }
.firsts .firsts-featured { border-left-width: 6px; border-color: #e82127; box-shadow: 0 12px 30px rgba(0,24,43,.12); }
.firsts .firsts-featured .year { color: #e82127; }
.tesla-feature {
  display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); overflow: hidden;
  margin-top: 34px; border-radius: 18px; background: var(--navy-dark); box-shadow: var(--shadow-lg);
}
.tesla-feature + .firsts { margin-top: 34px; }
.tesla-feature-media { position: relative; min-height: 340px; padding: 0; border: 0; overflow: hidden; background: #00182b; cursor: pointer; }
.tesla-feature-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.tesla-feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 52%, rgba(0,24,43,.5)); }
.tesla-feature-media:hover img, .tesla-feature-media:focus-visible img { transform: scale(1.035); filter: brightness(.86); }
.tesla-feature-media:focus-visible { outline: 4px solid var(--blue); outline-offset: -4px; }
.tesla-play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #e82127; box-shadow: 0 12px 35px rgba(0,0,0,.34); transition: transform .2s ease; }
.tesla-play span { margin-left: 6px; width: 0; height: 0; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 21px solid #fff; }
.tesla-feature-media:hover .tesla-play { transform: scale(1.1); }
.tesla-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 42px 38px; color: #fff; }
.tesla-feature-copy h3 { margin: 10px 0 14px; color: #fff; font-size: clamp(25px,3vw,36px); line-height: 1.12; }
.tesla-feature-copy p { color: rgba(255,255,255,.76); margin-bottom: 24px; }
.tesla-feature-copy .btn { border: 0; cursor: pointer; }
@media (max-width: 760px) {
  .tesla-feature { grid-template-columns: 1fr; }
  .tesla-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
  .tesla-feature-copy { padding: 30px 24px 34px; }
}
@media (max-width: 560px) { .firsts li { flex-direction: column; gap: 6px; padding: 18px 20px; } }

/* ---------- Process step cards ---------- */
.stepnum {
  font-family: var(--font-head); font-size: 42px; font-weight: 800;
  color: var(--blue); opacity: .35; line-height: 1; margin-bottom: 12px;
}

/* ---------- Team ---------- */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 20px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 4px solid var(--blue-soft); }
.team-card h3 { font-size: 20px; }
.team-card .role { color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; margin-top: 2px; }
.leadership-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  max-width: 980px; margin: 0 auto;
}
.leadership-grid .team-card { padding: 28px 14px; }
.leadership-grid .team-card img { width: 132px; height: 132px; }
.leadership-grid .team-card .role { line-height: 1.35; margin-top: 7px; }
@media (max-width: 980px) { .leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 600px; } }
@media (max-width: 620px) { .leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 390px) { .leadership-grid { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.value-pill {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 20px; text-align: center; font-weight: 600; font-family: var(--font-head);
  box-shadow: var(--shadow-sm); transition: .2s;
}
.value-pill:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.section--dark .value-pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.value-pill small { display: block; color: var(--gray); font-weight: 400; font-family: var(--font-body); font-size: 13px; margin-top: 4px; }
.section--dark .value-pill small { color: rgba(255,255,255,.6); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: #fff; border-radius: 20px; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::after { content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(0,176,240,.35), transparent 60%); }
.cta-band h2 { color: #fff; font-size: clamp(26px,3vw,38px); max-width: 560px; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 10px; max-width: 540px; }
.cta-band .btn { position: relative; z-index: 2; }

/* ---------- Contact cards ---------- */
.contact-card { display:flex; flex-direction:column; gap:8px; }
.contact-card .ico { background: var(--blue-soft); }
.contact-card a { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 72px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr); gap: 64px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: rgba(255,255,255,.75); font-size: 15px; }
.footer-grid ul a:hover { color: var(--blue); }
.footer-grid ul a.active { color: var(--blue); }
.footer-logo { display: block; width: min(230px, 100%); height: auto; margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 8px; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px;
  font-size: 13.5px; color: rgba(255,255,255,.55);
}
.footer-bottom .inner { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: var(--blue); }
.licenses { margin-top: 14px; display: block; max-width: 1000px; line-height: 1.7; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-logo { width: min(200px, 70vw); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: #fff; padding: 90px 0 70px; position: relative; overflow: hidden;
}
.page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% 30%, rgba(0,176,240,.22), transparent 50%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .kick {
  display: inline-block; color: var(--blue); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; font-size: 13.5px; margin-bottom: 18px;
}
.page-hero h1 { color:#fff; font-size: clamp(34px,5vw,54px); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin-top: 16px; font-size: 17.5px; }

/* ---------- Forms ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:600; font-size:14px; margin-bottom:7px; color:var(--ink); }
.field input, .field select, .field textarea {
  width:100%; padding: 12px 14px; border:1.5px solid var(--line); border-radius:10px;
  font-family:inherit; font-size:15px; color:var(--ink); background:#fbfdfe; transition:border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:var(--blue); background:#fff; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 22px; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--gray); margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 22px; }
.legal h3 { font-size: 18px; margin: 20px 0 8px; }

/* ============================================
   SOQ / Infrastructure Execution sections
   Added from Brytemove Energy SOQ 2026
   ============================================ */

/* Execution capabilities (dark band) */
.capabilities {
  background: var(--navy-dark); position: relative; overflow: hidden;
}
.capabilities-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.capabilities::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,24,43,.64) 0%, rgba(0,31,54,.52) 43%, rgba(0,38,65,.23) 76%, rgba(0,28,49,.08) 100%);
  pointer-events: none;
}
.capabilities .container { position: relative; z-index: 2; }
.capabilities .cap-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.cap-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: 28px 24px; backdrop-filter: blur(4px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.cap-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); border-color: var(--blue); }
.cap-card .cap-ico {
  width: 50px; height: 50px; border-radius: 11px; background: rgba(0,176,240,.18);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  font-size: 24px;
}
.cap-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.cap-card p { color: rgba(255,255,255,.72); font-size: 14.5px; }
@media (max-width: 900px) { .capabilities .cap-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .capabilities .cap-grid { grid-template-columns: 1fr; } }

/* Core market verticals */
.vert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 860px) { .vert-grid { grid-template-columns: 1fr; } }
/* handled by .card fallback */

/* Program experience cards */
.program-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
@media (max-width: 820px) { .program-grid { grid-template-columns: 1fr; } }

.program-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.program-card .pc-top {
  padding: 26px 28px 20px; border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f7fbfd, #eef6fb);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.program-card .pc-name { font-size: 20px; font-weight: 700; line-height: 1.2; }
.program-card .pc-sub { color: var(--gray); font-size: 13.5px; margin-top: 6px; }
.program-card .pc-body { padding: 22px 28px 26px; }
.program-card .pc-body ul { list-style: none; }
.program-card .pc-body ul li {
  padding: 7px 0 7px 26px; position: relative; color: var(--ink); font-size: 15px;
}
.program-card .pc-body ul li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; color: var(--blue); font-weight: 700;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase;
}
.badge-complete { background: #e3f5ec; color: #0a7a3d; }
.badge-ongoing { background: var(--blue-soft); color: var(--navy); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.program-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.program-meta .tag {
  background: var(--gray-light); color: var(--navy); border-radius: 8px;
  padding: 5px 11px; font-size: 12.5px; font-weight: 600;
}

/* Featured projects */
.project-footprint-section { padding: 64px 0 0; overflow-x: clip; }
.project-footprint { margin: 0; max-width: 100%; }
.project-footprint img {
  display: block; width: 100%; max-width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.pc-img img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}
.project-card .pc-top { min-height: 126px; }
.project-card .pc-body { display: flex; flex-direction: column; flex: 1; }
.project-card .project-description { color: var(--gray); font-size: 15px; margin-bottom: 18px; }
.project-facts { list-style: none; margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.project-facts li {
  display: grid; grid-template-columns: 150px 1fr; gap: 14px;
  padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line);
}
.project-facts li:last-child { border-bottom: 0; }
.project-facts strong { color: var(--navy); }
.portfolio-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.portfolio-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 26px 22px; transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.portfolio-card:hover { transform: translateY(-5px); border-color: var(--blue); background: rgba(255,255,255,.11); }
.portfolio-card h3 { color: #fff; font-size: 18px; margin: 14px 0 12px; }
.portfolio-card p { color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-facts li { grid-template-columns: 1fr; gap: 0; }
}

/* Small-phone hardening (360–430px and similarly narrow screens). */
@media (max-width: 560px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .hero { min-height: 780px; padding: 68px 0 0; }
  .page-hero { padding: 64px 0 52px; }
  .section { padding: 68px 0; }
  .sec-head { margin-bottom: 36px; }

  .hero h1 { font-size: 36px; }
  .hero p.lead { margin-bottom: 20px; }
  .hero p.hero-support { color: rgba(255,255,255,.88); font-size: 14.5px; line-height: 1.55; margin-bottom: 28px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; margin-top: 0; padding-top: 26px; padding-bottom: 30px; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .card, .cap-card, .portfolio-card { padding: 24px 20px; }
  .program-card .pc-top { min-height: 0; padding: 22px 20px 18px; flex-wrap: wrap; }
  .program-card .pc-body { padding: 20px; }
  .pc-img img { height: clamp(170px, 55vw, 220px); }
  .project-facts li, .cap-card p, .portfolio-card p, .footer-grid p { font-size: 15px !important; }
  .form-card { padding: 26px 20px; }
  .cta-band { padding: 38px 22px; border-radius: 16px; }

  .footer-grid { gap: 30px; }
  .footer-grid ul a { display: flex; align-items: center; min-height: 44px; }
  .footer-grid ul li { margin-bottom: 0; }
  .footer-contact li { min-width: 0; overflow-wrap: anywhere; }

  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  th, td { min-width: 0; padding-left: 8px; padding-right: 8px; }
}

/* Credentials / qualifications strip */
.creds-strip {
  background: var(--navy-dark); color: #fff;
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 46px 0;
}
.creds-strip .creds-head { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.creds-strip .creds-head h2 { color: #fff; font-size: clamp(26px,3vw,34px); }
.creds-strip .creds-head p { color: rgba(255,255,255,.7); margin-top: 10px; }
.creds-wrap {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto;
}
.cred-pill {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 12px 22px; font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 9px; transition: .2s;
}
.cred-pill:hover { border-color: var(--blue); background: rgba(255,255,255,.13); }
.cred-pill .c-ico { color: var(--blue); }
.creds-note {
  text-align: center; color: rgba(255,255,255,.55); font-size: 14px; margin-top: 26px;
  max-width: 760px; margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* Tagline band */
.tagline-band {
  text-align: center; padding: 34px 0;
}
.tagline-band .tagline {
  font-family: var(--font-head); font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600; color: var(--navy); letter-spacing: .01em;
}
.tagline-band .tagline em { color: var(--blue); font-style: normal; }

/* ---------- 2026 homepage carousel ---------- */
.hero { padding: 0; min-height: clamp(720px, calc(100svh - var(--nav-h)), 900px); }
.hero::before { display: none; }
.hero-slides { z-index: 0; }
.hero-slide {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s ease, visibility .7s ease;
}
.hero-slide--active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.hero-slide--story::after {
  background: linear-gradient(90deg, rgba(0,24,43,.64) 0%, rgba(0,31,54,.52) 43%, rgba(0,38,65,.23) 76%, rgba(0,28,49,.08) 100%);
}
.hero-slide--projects::after {
  background: linear-gradient(90deg, rgba(255,255,255,.58) 0%, rgba(255,255,255,.44) 22%, rgba(255,255,255,.18) 34%, rgba(255,255,255,0) 44%);
}
.hero-slide--execution::after {
  background: linear-gradient(20deg, rgba(0,24,43,.76) 0%, rgba(0,24,43,.36) 42%, transparent 70%);
}
.hero-slide .hero-content {
  height: calc(100% - 104px); display: flex; align-items: center;
  padding-top: 62px; padding-bottom: 54px;
}
.hero-slide .hero-copy { position: relative; z-index: 2; }
.hero-slide--projects .hero-content { align-items: flex-start; justify-content: flex-start; }
.hero-slide--projects .hero-copy { max-width: 590px; text-shadow: none; }
.hero-slide--projects h1 { color: var(--ink); }
.hero-slide--projects .lead { color: var(--ink) !important; }
.hero-slide--projects .hero-support { color: #41525e !important; }
.hero-slide--execution .hero-content { align-items: center; }
.hero-slide--execution .hero-copy { max-width: 680px; }
.hero-slide--projects .hero-media img,
.hero-slide--execution .hero-media img { object-position: center center; }
.hero-slide--story .hero-media { bottom: 104px; height: auto; }
.hero-slide--story .hero-media img { object-position: right bottom; }
.hero-controls {
  position: absolute; z-index: 4; right: clamp(28px, 5vw, 80px); bottom: 151px;
  display: flex; gap: 10px; align-items: center;
}
.hero-dot {
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
  cursor: pointer; position: relative;
}
.hero-dot::before {
  content: ""; position: absolute; left: 7px; right: 7px; top: 20px;
  height: 3px; border-radius: 4px; background: rgba(255,255,255,.52);
  transition: background .2s ease, transform .2s ease;
}
.hero-dot:hover::before, .hero-dot:focus-visible::before, .hero-dot.is-active::before {
  background: var(--blue); transform: scaleX(1.12);
}
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

/* ---------- Imagery-led delivery cards ---------- */
.deliver-card { padding: 0; overflow: hidden; }
.deliver-card-image { width: 100%; height: 230px; object-fit: cover; }
.deliver-card-body { padding: 26px 28px 28px; }
.deliver-card:hover { transform: scale(1.025) translateY(-5px); }
.diversity-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; max-width: 1100px; margin: 0 auto; }
.team-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: var(--radius); object-fit: cover; object-position: center; box-shadow: var(--shadow); }
@media (max-width: 760px) { .diversity-layout { grid-template-columns: 1fr; } }
.reveal-sequence {
  opacity: 0; transform: translateX(-42px) rotate(-1deg);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.reveal-sequence.visible { opacity: 1; transform: none; }
.reveal-sequence:nth-child(2) { transition-delay: .14s; }
.reveal-sequence:nth-child(3) { transition-delay: .28s; }
.reveal-sequence:nth-child(4) { transition-delay: .42s; }

/* ---------- Project gallery + modal ---------- */
.wide-container { width: min(1600px, calc(100% - 48px)); margin-inline: auto; }
.project-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.project-gallery-card {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 0; padding: 0;
  overflow: hidden; border: 0; border-radius: 14px; background: var(--navy-dark);
  cursor: pointer; text-align: left; box-shadow: var(--shadow-md);
}
.project-gallery-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .5s ease; }
.project-gallery-overlay {
  position: absolute; inset: auto 0 0; min-height: 112px; padding: 36px 18px 16px;
  color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  background: linear-gradient(transparent, rgba(0,25,43,.94));
}
.project-gallery-overlay strong { display: block; font: 700 20px/1.15 var(--font-head); }
.project-gallery-overlay small { display: block; margin-top: 7px; color: rgba(255,255,255,.76); font-size: 14px; }
.view-project { white-space: nowrap; font-size: 13px; font-weight: 600; opacity: .82; }
.view-project b { display: inline-block; margin-left: 4px; font-size: 18px; transition: transform .2s ease; }
.project-gallery-card:hover, .project-gallery-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; box-shadow: var(--shadow-lg); }
.project-gallery-card:hover img, .project-gallery-card:focus-visible img { transform: scale(1.055); }
.project-gallery-card:hover .view-project b { transform: translate(3px,-3px); }
.section-anchor { scroll-margin-top: var(--nav-h); }
.project-modal {
  width: min(1080px, calc(100% - 36px)); max-height: min(760px, calc(100dvh - 36px));
  padding: 0; border: 0; border-radius: 18px; overflow: auto; box-shadow: 0 30px 90px rgba(0,20,35,.4);
  position: fixed; inset: 0; margin: auto;
}
.project-modal::backdrop { background: rgba(0,20,35,.72); backdrop-filter: blur(5px); }
.project-modal-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); min-height: 600px; }
.project-modal-image { width: 100%; height: 100%; min-height: 600px; object-fit: cover; }
.project-modal-content { padding: 54px 44px 42px; }
.project-modal-content h2 { font-size: clamp(28px,4vw,42px); margin: 10px 0 26px; }
.project-modal-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.project-modal-meta small { display: block; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.project-modal-meta strong { display: block; margin-top: 5px; color: var(--navy); line-height: 1.3; }
.project-modal-details { margin-top: 24px; color: var(--gray); }
.project-modal-details ul { list-style: none; margin-top: 22px; }
.project-modal-details li { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.project-modal-details li strong { color: var(--navy); }
.project-modal-close {
  position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(0,24,43,.86); color: #fff; font-size: 28px; cursor: pointer;
}

/* ---------- Featured project video ---------- */
.video-modal { width: min(1120px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--navy-dark); color: #fff; box-shadow: 0 30px 90px rgba(0,20,35,.55); }
.video-modal::backdrop { background: rgba(0,20,35,.82); backdrop-filter: blur(6px); }
.video-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; }
.video-modal-bar h2 { color: #fff; font-size: clamp(20px,3vw,30px); margin-top: 4px; }
.video-modal-close { flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 28px; cursor: pointer; }
.video-modal-frame { aspect-ratio: 16 / 9; background: #000; }
.video-modal-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Company values backdrop ---------- */
.company-drivers {
  position: relative;
  overflow: hidden;
  padding-bottom: 96px;
  background: var(--offwhite);
}
.company-drivers-visual {
  min-height: 500px;
  position: relative;
  isolation: isolate;
  padding-top: 82px;
  background: url('../assets/photos/company-team-banner.jpg') center center / cover no-repeat;
}
.company-drivers-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(0,24,43,.62), rgba(0,49,79,.35));
}
.company-drivers .sec-head h2 { color: #fff; }
.company-driver-cards { position: relative; z-index: 1; margin-top: -120px; }
.company-drivers .card { background: #fff; }

/* ---------- Contact page + footer mark ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-grid { grid-template-columns: 1fr; gap: 18px; }
.form-card h2 { font-size: 28px; }
.form-intro { color: var(--gray); margin: 8px 0 24px; }
.field label span { color: var(--gray); font-weight: 400; }
.form-submit { width: 100%; justify-content: center; }
.form-status { margin-top: 14px; color: #087844; font-weight: 600; }
.footer-logo { object-fit: contain; background: transparent; }
.cred-pill small { color: rgba(255,255,255,.58); font-size: 11px; font-weight: 500; }

@media (max-width: 1050px) {
  .project-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .hero { min-height: 860px; }
  .hero-slide .hero-content { height: calc(100% - 164px); align-items: center; padding: 70px 22px 34px; }
  .hero-slide--projects .hero-content { justify-content: flex-start; align-items: flex-start; padding-top: 90px; }
  .hero-slide--projects::after { background: linear-gradient(90deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.62) 54%, rgba(255,255,255,.18) 100%); }
  .hero-slide--execution .hero-content { align-items: center; }
  .hero-slide--story .hero-media { bottom: 164px; }
  .hero-controls { bottom: 169px; right: 18px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(33px,10vw,46px); }
  .hero p.hero-support { max-width: 100%; }
  .project-modal-grid { grid-template-columns: 1fr; }
  .project-modal-image { min-height: 260px; height: 290px; }
  .project-modal-content { padding: 34px 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .company-drivers-visual { min-height: 430px; background-position: center 58%; }
  .company-driver-cards { margin-top: -72px; }
}
@media (max-width: 560px) {
  .wide-container { width: calc(100% - 36px); }
  .project-gallery { grid-template-columns: 1fr; }
  .deliver-card-image { height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .project-gallery-card img, .reveal-sequence { transition: none; }
  .reveal-sequence { opacity: 1; transform: none; }
  .capabilities-video { display: none; }
}
