/* ==========================================================================
   PKBC Ltd corporate design system
   One stylesheet for every redesigned page. Component classes are documented
   in docs/superpowers/specs/2026-07-12-corp-components.md with HTML snippets.
   Theme: light, locked. Navy brand base + single gold accent.
   ========================================================================== */

/* ---- fonts (self-hosted, latin subsets only) ---- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/source-sans-pro-300-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/source-sans-pro-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/source-sans-pro-400-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/source-sans-pro-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Fjalla One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fjalla-one-400-latin.woff2') format('woff2');
}

/* ---- tokens ---- */
:root {
  --navy: #0c2d44;
  --navy-2: #164464;
  --navy-deep: #081f30;
  --navy-rgb: 12, 45, 68;
  --navy-deep-rgb: 8, 31, 48;
  --accent-ink: #0c2d44;
  --gold-hover: #ffcc47;
  --gold: #febd16;
  --gold-deep: #9c7500;
  --ink: #1b2833;
  --muted: #5b6b77;
  --line: #dce3e9;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --radius-card: 14px;
  --radius-input: 8px;
  --font-body: 'Source Sans Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Fjalla One', 'Arial Narrow', sans-serif;
  --font-head: var(--font-body);
  --font-head-weight: 700;
  --container: 1180px;
  --shadow-card: 0 10px 30px rgba(var(--navy-rgb), 0.08);
  --shadow-card-lg: 0 18px 44px rgba(var(--navy-rgb), 0.14);
}

/* ---- reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: var(--font-head-weight); line-height: 1.15; color: var(--navy); margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---- layout primitives ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.88); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.75); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.section--navy .eyebrow { color: var(--gold); }

/* ---- buttons: pill system. Primary=gold, secondary=navy ghost, light=white ghost ---- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--accent-ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn--sm { padding: 9px 20px; font-size: 0.92rem; }

/* ---- top utility bar ---- */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar__group { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
@media (max-width: 700px) { .topbar__group--loc { display: none; } }

/* ---- navbar ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav.is-stuck { box-shadow: 0 6px 24px rgba(var(--navy-rgb), 0.1); }
.nav .container { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__logo img { height: 56px; width: auto; }
.nav__logo b { color: var(--navy); font-size: 1.15rem; letter-spacing: 0.02em; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links > li { position: relative; }
.nav__links > li > a {
  display: inline-block;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 8px;
}
.nav__links > li > a:hover { color: var(--navy); background: var(--bg-alt); }
.nav__links > li.has-drop > a::after {
  content: '';
  display: inline-block;
  margin-left: 7px;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
.nav__drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-card-lg);
  list-style: none;
  margin: 0;
  padding: 8px;
  display: none;
}
.nav__links > li:hover > .nav__drop,
.nav__links > li:focus-within > .nav__drop,
.nav__links > li.is-open > .nav__drop { display: block; }
.nav__drop a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
  font-size: 0.97rem;
}
.nav__drop a:hover { background: var(--bg-alt); color: var(--navy); }
.nav__drop .drop-featured { font-weight: 700; color: var(--navy); }
.nav__cta { margin-left: 6px; }
.nav__burger {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav__burger span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

@media (max-width: 1080px) {
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px;
    max-height: calc(100vh - 110px);
    overflow: auto;
    box-shadow: 0 24px 40px rgba(var(--navy-rgb), 0.18);
  }
  .nav.nav--open .nav__links { display: flex; }
  .nav.nav--open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav__links > li > a { display: block; padding: 12px 8px; }
  .nav__drop {
    display: none;
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--line);
    border-radius: 0;
    margin: 0 0 6px 10px;
  }
  .nav__links > li.is-open > .nav__drop { display: block; }
  .nav__links > li:hover > .nav__drop { display: none; }
  .nav__links > li.is-open:hover > .nav__drop { display: block; }
}

/* ---- hero (home) ---- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Background video sits above the poster img; hidden for reduced-motion users. */
@media (prefers-reduced-motion: reduce) { .hero__media video { display: none; } }
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(var(--navy-deep-rgb), 0.88) 0%, rgba(var(--navy-deep-rgb), 0.62) 45%, rgba(var(--navy-rgb), 0.35) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 110px; }
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero__pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero h1 { color: #fff; max-width: 22ch; margin-bottom: 18px; font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
.hero__sub { font-size: 1.2rem; max-width: 54ch; color: rgba(255, 255, 255, 0.86); margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- trust strip: hairline-divided band, raised over the hero bottom ---- */
.strip { position: relative; z-index: 2; margin-top: -56px; }
.strip__inner {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.strip__item { padding: 26px 28px; display: flex; gap: 14px; align-items: flex-start; }
.strip__item + .strip__item { border-left: 1px solid var(--line); }
.strip__item svg { flex: 0 0 34px; width: 34px; height: 34px; color: var(--gold); margin-top: 3px; }
.strip__item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.strip__item p { font-size: 0.95rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item + .strip__item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- client logo marquee ---- */
.marquee { overflow: hidden; position: relative; }
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 116px; width: auto; }
/* Global Infrastructure is a tightly-cropped wordmark SVG; the peer PNGs carry
   large built-in padding, so match its visible height to theirs. */
.marquee__track img[src$="global-infra-logo.svg"] { height: 42px; }
.marquee__track img[src$="amey-logo.svg"] { height: 44px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track img:nth-child(n+10) { display: none; } /* second copy hidden when static */
}

/* ---- leadership quote split ---- */
.quote-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.quote-split blockquote { margin: 0 0 18px; font-size: 1.45rem; line-height: 1.45; color: var(--navy); font-weight: 300; }
.quote-split blockquote strong { font-weight: 700; }
.quote-split figcaption { color: var(--muted); font-size: 0.98rem; }
.quote-split__aside { display: grid; gap: 18px; }
.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}
.mini-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.mini-card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 10px; }
.mini-card a { font-weight: 700; font-size: 0.95rem; }
@media (max-width: 860px) { .quote-split { grid-template-columns: 1fr; gap: 30px; } }

/* ---- values grid ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px; }
.section--alt .value-card { border: 0; box-shadow: var(--shadow-card); }
.value-card svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 14px; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
@media (max-width: 960px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .values-grid { grid-template-columns: 1fr; } }

/* ---- capabilities photo cards (expanding accordion) ---- */
.caps-row {
  display: flex;
  gap: 10px;
  padding: 6px 0 8px;
}
.cap-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 400px;
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: flex-grow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.cap-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cap-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--navy-deep-rgb), 0) 24%, rgba(var(--navy-deep-rgb), 0.9) 100%);
}

/* collapsed state: vertical "spine" title reading bottom-to-top */
.cap-card__spine {
  position: absolute;
  z-index: 2;
  left: 0; bottom: 22px;
  width: 100%;
  padding-left: 22px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transform-origin: center;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s ease;
}

/* expanded state: full label with heading, description and cue */
.cap-card__label {
  position: absolute;
  z-index: 1;
  bottom: 0; left: 0;
  width: 380px;
  max-width: 100%;
  padding: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.08s, transform 0.35s ease 0.08s;
}
.cap-card__label h3 { color: #fff; font-size: 1.22rem; margin: 0 0 6px; }
.cap-card__label p { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; margin: 0; }
.cap-card__more {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cap-card__more::after { content: '\2192'; margin-left: 8px; transition: transform 0.25s ease; }
.cap-card:hover .cap-card__more::after { transform: translateX(4px); }

/* feature card accent */
.cap-card--feature { outline: 3px solid var(--gold); outline-offset: -3px; }
.cap-card--feature .cap-card__spine,
.cap-card--feature .cap-card__label h3 { color: var(--gold); }

/* --- open logic: hovered/focused card expands; feature is open by default --- */
.cap-card:hover,
.cap-card:focus-within { flex-grow: 6.5; }
.cap-card:hover img,
.cap-card:focus-within img { transform: scale(1.05); }
.cap-card:hover .cap-card__spine,
.cap-card:focus-within .cap-card__spine { opacity: 0; }
.cap-card:hover .cap-card__label,
.cap-card:focus-within .cap-card__label { opacity: 1; transform: none; }

.caps-row:not(:hover):not(:focus-within) .cap-card--feature { flex-grow: 6.5; }
.caps-row:not(:hover):not(:focus-within) .cap-card--feature .cap-card__spine { opacity: 0; }
.caps-row:not(:hover):not(:focus-within) .cap-card--feature .cap-card__label { opacity: 1; transform: none; }

/* --- touch / small screens: no hover, so stack as full cards with labels shown --- */
@media (hover: none), (max-width: 760px) {
  .caps-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .cap-card, .cap-card:hover, .cap-card:focus-within { flex: none; height: 260px; }
  .cap-card__spine { display: none; }
  .cap-card__label,
  .cap-card:hover .cap-card__label { position: absolute; width: 100%; opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .caps-row { grid-template-columns: 1fr; }
  .cap-card { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .cap-card, .cap-card img, .cap-card__label, .cap-card__spine { transition: none; }
  .cap-card:hover img, .cap-card:focus-within img { transform: none; }
}

/* ---- numbered reasons ---- */
.numlist { display: grid; gap: 0; counter-reset: reasons; max-width: 760px; }
.numlist__item { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); counter-increment: reasons; }
.numlist__item:last-child { border-bottom: 1px solid var(--line); }
.numlist__item::before {
  content: counter(reasons, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
  min-width: 58px;
}
.numlist__item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.numlist__item p { color: var(--muted); margin: 0; }

/* ---- stats band ---- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.stat span { display: block; margin-top: 8px; font-size: 0.98rem; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 860px) { .stats-band { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } }

/* ---- accreditation badges ---- */
.badges-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.badge-card {
  flex: 1 1 160px;
  max-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}
.badge-card img { max-height: 74px; width: auto; object-fit: contain; }
.badge-card:has(p) { flex-direction: column; gap: 10px; text-align: center; }
.badge-card p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ---- project cards ---- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-lg); }
.proj-card img { height: 210px; width: 100%; object-fit: cover; }
.proj-card__body { padding: 22px 24px 24px; }
.proj-card__meta { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; display: block; }
.proj-card__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.proj-card__body p { color: var(--muted); font-size: 0.96rem; margin: 0; }
@media (max-width: 960px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .proj-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .proj-card, .proj-card:hover { transition: none; transform: none; } }

/* ---- pre-footer CTA banner ---- */
.cta-banner { position: relative; color: #fff; overflow: hidden; }
.cta-banner__media { position: absolute; inset: 0; }
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner__media::after { content: ''; position: absolute; inset: 0; background: rgba(var(--navy-deep-rgb), 0.82); }
.cta-banner .container { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 84px; text-align: center; }
.cta-banner h2 { color: #fff; max-width: 22ch; margin: 0 auto 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.82); max-width: 54ch; margin: 0 auto 28px; }

/* ---- footer ---- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer__brand img { height: 56px; width: auto; margin-bottom: 14px; }
.footer__brand p { margin: 0 0 10px; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__offices li { margin-bottom: 6px; line-height: 1.5; }
.footer__offices b { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---- inner page banner ---- */
.page-banner { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.page-banner__media { position: absolute; inset: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(var(--navy-deep-rgb), 0.92) 10%, rgba(var(--navy-deep-rgb), 0.55) 100%); }
.page-banner .container { position: relative; z-index: 1; padding-top: 76px; padding-bottom: 66px; }
.page-banner h1 { color: #fff; margin-bottom: 10px; max-width: 20ch; }
.page-banner p { color: rgba(255, 255, 255, 0.85); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.crumbs { font-size: 0.88rem; margin-bottom: 18px; color: rgba(255, 255, 255, 0.65); }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---- prose (long-form text pages) ---- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold-deep); }

/* ---- split section (image + text) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev > .split__media { order: -1; }
.split__media img { border-radius: var(--radius-card); box-shadow: var(--shadow-card-lg); width: 100%; object-fit: cover; }
.split h2 { margin-bottom: 14px; }
.split p { color: var(--muted); }
.split ul { padding-left: 20px; color: var(--muted); }
.split li { margin-bottom: 7px; }
.split li::marker { color: var(--gold-deep); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split--rev > .split__media { order: 0; }
}

/* ---- icon/text card grid (scope grids, office cards…) ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.icon-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.section--alt .icon-card { border: 0; box-shadow: var(--shadow-card); }
.icon-card svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 12px; }
.icon-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.icon-card p { color: var(--muted); font-size: 0.96rem; margin: 0; }
@media (max-width: 960px) { .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; } }

/* ---- fact list (case studies) ---- */
.fact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact-list > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.fact-list dt, .fact-list b { color: var(--navy); font-weight: 700; }
.fact-list dd { margin: 0; color: var(--muted); }

/* ---- gallery + lightbox ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; position: relative; }
.gallery-grid img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.35s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .gallery-grid img, .gallery-grid a:hover img { transition: none; transform: none; } }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(var(--navy-deep-rgb), 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1500px); max-height: 86vh; width: auto; height: auto; border-radius: 6px; }
.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  width: 46px; height: 46px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }

/* ---- forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { display: block; font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.form-field label .req { color: #b42318; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #b8c4cd;
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #7d8b96; }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--gold-deep); }

/* Contact form — Cloudflare Function enhancement */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 18px 0; }
.cf-form-status { margin: 0 0 16px; font-weight: 700; font-size: 0.98rem; }
.cf-form-status.is-success { color: #1a7f37; }
.cf-form-status.is-error { color: #b42318; }

/* ---- contact/office cards ---- */
.office-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.office-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.office-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 6px; }
.office-card a { font-weight: 700; }

/* ---- utility ---- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.section-cta { margin-top: 40px; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 18px;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }
