/* Wazen Oil Services — Homepage
   Brand: saturated orange accent on charcoal over a cool light-grey ground.
   Archivo (a DIN-adjacent grotesque) for headings and all-caps labels,
   Source Sans 3 for body copy. See README for design provenance. */

:root {
  --orange: #f26522;
  /* #d9531a measured 4.04:1 on white — below the 4.5 AA minimum for the
     eyebrows, links and card headings that use it. #c4491a is 4.87:1. */
  --orange-dark: #c4491a;
  /* Headings sit on a slate grey rather than pure black; body copy is a
     softer grey so long paragraphs read lighter than the headings. */
  --charcoal: #1c1c1c;
  --charcoal-2: #141519;
  --ink: #1c1c1c;
  --muted: #4a5568;
  --bg: #f4f5f6;
  --bg-soft: #e8edee;
  --border: #dbe1e3;
  --border-2: #e4e9eb;
  --white: #ffffff;
  --font-head: 'Archivo', 'Arial Narrow', Helvetica, Arial, sans-serif;
  --font-body: 'Source Sans 3', Helvetica, Arial, sans-serif;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }


body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--orange-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

.rule {
  width: 64px;
  height: 3px;
  background: var(--orange);
  margin: 20px 0;
}

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-ghost-dark { border: 1.5px solid rgba(255,255,255,.55); color: var(--white); }
.btn-ghost-dark:hover { border-color: var(--orange); color: var(--orange); }
.btn-ghost-dark2 { border: 1.5px solid rgba(255,255,255,.35); color: var(--white); }
.btn-ghost-dark2:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 1; transform: none; }
[data-reveal].pre-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal].pre-reveal { opacity: 1; transform: none; transition: none; }
  /* Indefinite motion (WCAG 2.2.2): stop the map pulse and the panel fade. */
  .map-pin.is-active .dot { animation: none !important; }
  .tab-panel.is-active { animation: none !important; }
  /* Freezing the logo rail mid-scroll would leave most logos out of view, so
     let it wrap into a static grid and drop the duplicate loop set instead. */
  .marquee-mask { mask-image: none; -webkit-mask-image: none; overflow: visible; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-set { flex-wrap: wrap; justify-content: center; }
  .marquee-set[aria-hidden="true"] { display: none; }
}

@keyframes wzFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wzMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wzDash { to { stroke-dashoffset: -22; } }
@keyframes wzPing { 0% { box-shadow: 0 0 0 0 rgba(242,101,34,.4); } 100% { box-shadow: 0 0 0 18px rgba(242,101,34,0); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(15,16,20,.55), rgba(15,16,20,0));
  box-shadow: none;
  transition: background .3s, box-shadow .3s;
}
.nav.is-solid, .nav.menu-open {
  background: var(--charcoal);
  box-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.nav-brand { display: flex; align-items: center; order: 3; }
.nav-brand img { height: 58px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  font-family: var(--font-head); font-size: 14.5px; font-weight: 600;
  order: 1; margin-right: auto;
}
.nav-links a { color: rgba(255,255,255,.85); }
.nav-links a:hover { color: #fff; }
.nav-links a.current { color: #fff; }
.nav-burger {
  display: none;
  order: 1;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-burger:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 59;
  background: #1b1c20;
  box-shadow: 0 18px 32px rgba(0,0,0,.4);
  padding: 12px clamp(20px, 4vw, 56px) 26px;
  gap: 2px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,.85);
  font-family: var(--font-head);
  font-weight: 600; font-size: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a.current { color: #fff; }

@media (max-width: 1020px) {
  .nav-links { display: none !important; }
  .nav-burger { display: flex !important; }
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--charcoal-2);
  overflow: hidden;
}
.hero-fallback-img, .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity .8s; }
.hero-video.is-playing { opacity: 1; }
.hero-scrim-v {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,16,20,.6) 0%, rgba(15,16,20,.42) 40%, rgba(15,16,20,.9) 100%);
}
.hero-scrim-h {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15,16,20,.62) 0%, rgba(15,16,20,.3) 55%, rgba(15,16,20,0) 100%);
}
.hero-inner {
  position: relative;
  pointer-events: none;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  /* Bottom padding leaves room for the overlaid trust bar. */
  padding: 104px clamp(20px, 4vw, 56px) 40px;
}
.hero-inner .btn { pointer-events: auto; }
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.08;
  color: #fff;
  margin: 0;
  max-width: 15ch;
  text-wrap: balance;
  text-shadow: 0 2px 8px rgba(0,0,0,.45), 0 8px 32px rgba(0,0,0,.35);
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  max-width: 62ch;
  margin: 24px 0 36px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 860px) {
  .hero-inner { padding-top: 120px; padding-bottom: 28px; }
}

/* ---------- Trust bar (overlaid on the hero) ---------- */
.hero-trust {
  position: relative;
  width: 100%;
  margin-top: auto;
  color: #fff;
  background: linear-gradient(180deg, rgba(15,16,20,.35), rgba(15,16,20,.78));
  border-top: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(3px);
}
.trust-grid {
  padding: 26px clamp(20px, 4vw, 56px) 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px 28px;
}
.trust-item { border-left: 3px solid var(--orange); padding-left: 18px; }
.trust-item .num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(19px, 1.7vw, 25px); line-height: 1.15;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.trust-item .label {
  font-family: var(--font-head);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  line-height: 1.45; color: rgba(255,255,255,.72); margin-top: 7px;
}

/* ---------- Section shells ---------- */
.section { padding: 96px 0; }
.section-tight-top { border-top: 1px solid var(--border-2); }
.section-fade-down { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.section-fade-up { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.section h2, .section h3 { color: var(--charcoal); }
.section h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  margin: 0;
  color: var(--charcoal);
  text-wrap: balance;
}
.section .lede {
  font-size: 17.5px; line-height: 1.75; color: var(--muted); margin: 0;
}
.section-head { max-width: 720px; }

/* ---------- Capabilities grid ---------- */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
@media (max-width: 640px) { .grid-6 { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 1080px) { .grid-6 { grid-template-columns: repeat(2, 1fr); } }

.cap-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 30px;
  transition: transform .25s, box-shadow .25s;
}
.cap-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(27,28,32,.1); }
.cap-card svg { stroke: var(--orange); }
.cap-card h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 19px;
  color: var(--orange-dark); margin: 18px 0 10px;
}
.cap-card p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---------- Tabs ---------- */
.tabbar-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tabbar {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: 6px; background: var(--bg-soft); border-radius: 999px; padding: 6px;
}
.tabbar button {
  border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  padding: 11px 24px; border-radius: 999px;
  background: transparent; color: var(--muted);
  transition: background .25s, color .25s;
}
.tabbar button:hover { color: var(--orange-dark); }
.tabbar button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.tabbar button.is-active { background: var(--orange); color: #fff; }
.tabbar button.is-active:hover { color: #fff; }

.tab-panels { margin-top: 40px; }

/* Per-tab intro sits between the pill rail and the cards. */
.tab-intro { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.tab-intro h3 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(23px, 2.5vw, 32px); line-height: 1.2;
  margin: 0; color: var(--charcoal); text-wrap: balance;
}
.tab-intro p {
  font-size: 17px; line-height: 1.75; color: var(--muted);
  margin: 16px 0 0;
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: wzFadeUp .45s ease both; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }

.tab-card {
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 36px 32px; display: flex; flex-direction: column; gap: 14px;
}
.tab-card.flush { background: var(--bg); }
.tab-card .num {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--orange); letter-spacing: .06em;
}
.tab-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 21px; margin: 0; color: var(--charcoal); }
.tab-card p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0; flex: 1; }
.tab-card .link { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; }
.tab-card .meta {
  font-size: 14.5px; line-height: 1.5;
  color: var(--orange-dark); font-weight: 600;
}
.tab-card .kicker {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--orange);
}
.tab-card .feature-link {
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
  color: var(--charcoal); padding-top: 16px;
  border-top: 1px solid var(--border);
}
.tab-card .feature-link:hover { color: var(--orange-dark); }

/* ---------- Footprint / map ---------- */
/* Two columns per the edits doc's layout table: copy and the selection
   description left, filter choices and map right. Everything on the left is
   left-aligned by design — an earlier centred version also had .section .lede
   (two classes) overriding .footprint-lede's `margin: 0 auto` on specificity,
   so the block never actually centred. */
#footprint { padding: 84px 0; }
.footprint-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .footprint-grid { grid-template-columns: 1fr; } }

.footprint-copy .rule { margin: 22px 0; }
.footprint-copy .lede { font-size: 17px; }

.map-filters {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 8px; margin: 0 0 26px;
}
.map-filters button {
  border: 1px solid var(--border); cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 4px;
  background: #fff; color: var(--muted);
  transition: background .25s, color .25s, border-color .25s;
}
.map-filters button:hover { color: var(--orange-dark); border-color: var(--orange); }
.map-filters button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.map-filters button.is-active {
  background: var(--charcoal); border-color: var(--charcoal); color: #fff;
}
.map-filters button .n {
  display: inline-block; margin-left: 9px; padding: 1px 7px;
  border-radius: 999px; background: var(--bg-soft); color: var(--muted);
  font-size: 11px; letter-spacing: .04em;
}
.map-filters button.is-active .n { background: rgba(255,255,255,.18); color: #fff; }

.map-panel { position: relative; width: 100%; }
.map-panel svg { width: 100%; height: auto; display: block; }
.map-pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: none; background: transparent; cursor: pointer; padding: 0;
}
.map-pin:hover { transform: translate(-50%, -50%) scale(1.14); }
.map-pin:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; border-radius: 50%; }
.map-pin .dot {
  display: block; width: 15px; height: 15px; border-radius: 50%;
  border: 4px solid var(--orange); background: #fff; box-sizing: border-box;
  transition: background .25s;
}
.map-pin.is-active .dot { background: var(--orange); animation: wzPing 1.6s ease-out infinite; }
.map-pin .pin-name {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 600; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: var(--muted); pointer-events: none;
}
.map-pin.is-active .pin-name { color: var(--charcoal); }

/* Selection description: sits under the copy on the left. */
.map-detail {
  margin: 32px 0 0;
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  border-left: 3px solid var(--orange);
  padding: 22px 26px;
}
.map-detail .cat {
  font-family: var(--font-head); font-weight: 600; font-size: 11.5px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--orange-dark);
}
.map-detail h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 20px;
  margin: 8px 0 0; color: var(--charcoal);
}
.map-detail p {
  font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 9px 0 0;
}
@media (max-width: 620px) { .map-pin .pin-name { display: none; } }

/* ---------- People & local capability ---------- */
/* A dense photo field with the copy card sitting inside the grid as one of its
   members. An earlier version floated the card over an absolutely positioned
   mosaic and reserved a gap for it, but the gap was a percentage of the
   full-bleed mosaic while the card was a percentage of the padded .wrap, so the
   two never aligned and the section background showed through beside the card.
   As a grid member it cannot drift. Tiles are decorative. */
.people {
  background: var(--charcoal-2);
  overflow: hidden;
  border-top: 1px solid var(--border-2);
}
.people-mosaic {
  display: flex; flex-direction: column;
  gap: 6px; padding: 6px;
}
.people-mosaic img { object-fit: cover; border-radius: 2px; display: block; }
.pm-row { display: flex; gap: 6px; flex: 0 0 auto; }
.pm-row img { height: 104px; width: auto; flex: 1 1 auto; min-width: 0; }
/* The card's own height drives this row; the photo columns stretch to match. */
.pm-mid { display: flex; gap: 6px; align-items: stretch; }
.pm-col { display: flex; flex-direction: column; gap: 6px; }
.pm-col img { flex: 1 1 0; min-height: 0; }
.pm-left { flex: 0 0 96px; }
.pm-narrow { flex: 0 0 112px; }
.pm-right { flex: 0 0 112px; }
.pm-hero { flex: 1 1 auto; min-width: 0; align-self: stretch; height: auto; }

.people-card {
  flex: 0 0 clamp(400px, 42%, 620px);
  align-self: center;
  background: #fff;
  padding: clamp(32px, 3.5vw, 56px);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(20,21,25,.28);
}
.people-card h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.18; color: var(--charcoal); margin: 0; }
.people-card p { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin: 0 0 30px; }

/* Narrow screens: a dense field behind text is unreadable, so the mosaic
   collapses to one scrollable strip above the copy and the rest never load. */
@media (max-width: 860px) {
  .people { background: var(--bg); }
  .people-mosaic { display: block; padding: 0; }
  .pm-mid { display: block; }
  .pm-col, .pm-bottom { display: none; }
  /* Needs the two-class form: .people-mosaic img sets display: block. */
  .people-mosaic .pm-hero { display: none; }
  .pm-top {
    display: flex; gap: 4px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .pm-top img { height: 150px; width: auto; flex: 0 0 auto; border-radius: 3px; }
  .people-card {
    width: 100%;
    background: transparent; box-shadow: none; border-radius: 0;
    padding: 28px clamp(20px, 4vw, 56px) 44px;
  }
}

/* ---------- Clients ---------- */
.clients { background: var(--bg-soft); border-top: 1px solid var(--border-2); }
.clients-inner { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.clients h2 { font-size: clamp(24px, 2.6vw, 34px); }
.clients .lede { font-size: 16.5px; margin: 14px 0 0; }
.clients h2 { color: var(--charcoal); }
.marquee-mask {
  overflow: hidden; margin-top: 44px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 20px; width: max-content; animation: wzMarquee 48s linear infinite; }
.marquee-set { display: flex; gap: 20px; }
.client-chip {
  /* Taller than a wordmark strictly needs: several of these are circular seals
     carrying fine Arabic type, which is illegible in a short chip. */
  width: 200px; height: 104px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 14px 20px;
  transition: border-color .3s, box-shadow .3s;
}
/* Logos are supplied at assorted aspect ratios, so contain rather than crop.
   The SVGs carry a viewBox but no intrinsic size, so they take the full box. */
.client-chip img {
  max-width: 100%; max-height: 100%;
  width: 100%; height: 100%;
  object-fit: contain;
}
.marquee-set.interactive .client-chip:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 18px rgba(27,28,32,.10);
}

/* ---------- Final CTA ---------- */
.cta {
  position: relative; background: var(--charcoal-2); overflow: hidden;
}
.cta-top-rule { height: 3px; background: linear-gradient(90deg, var(--orange), rgba(242,101,34,0) 70%); }
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 480px at 12% 20%, rgba(242,101,34,.13), transparent 65%);
}
.cta-watermark {
  position: absolute; right: -120px; bottom: -80px; height: 440px; opacity: .04; pointer-events: none;
}
.cta-inner {
  position: relative; padding: 104px clamp(20px, 4vw, 56px);
  color: #fff; display: grid;
  grid-template-columns: minmax(320px, 1.5fr) minmax(280px, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }
.cta-eyebrow { font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 18px; }
.cta h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; margin: 0; max-width: 16ch; color: #fff; text-wrap: balance; }
.cta h2 span { color: var(--orange); }
.cta-lede { font-size: 17.5px; line-height: 1.65; color: rgba(255,255,255,.72); max-width: 52ch; margin: 24px 0 36px; }
.cta-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta-ctas .btn-primary { box-shadow: 0 10px 30px rgba(242,101,34,.28); }
.cta-quote { font-size: 14px; color: rgba(255,255,255,.45); margin-top: 26px; font-style: italic; }

.cta-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; padding: 34px 32px; backdrop-filter: blur(4px);
}
.cta-card-title {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 22px;
}
.cta-card-rows { display: flex; flex-direction: column; gap: 18px; }
.cta-card-row { display: flex; gap: 14px; align-items: flex-start; }
.cta-card-row .chev { color: var(--orange); font-family: var(--font-head); font-weight: 700; }
.cta-card-row .k { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 3px; }
.cta-card-row a, .cta-card-row .v { color: #fff; font-size: 16px; font-weight: 600; line-height: 1.5; }
.cta-card-row a:hover { color: var(--orange); }
.cta-card-rule { height: 1px; background: linear-gradient(90deg, rgba(242,101,34,.5), transparent); margin: 24px 0 18px; }
.cta-card-note { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-2); color: rgba(255,255,255,.72); }
.footer-grid {
  padding: 72px clamp(20px, 4vw, 56px) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 96px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 14.5px; line-height: 1.65; margin: 0; color: rgba(255,255,255,.55); max-width: 34ch; }
.footer-h { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: var(--orange); }
.footer-contact { display: flex; flex-direction: column; gap: 11px; font-size: 15px; line-height: 1.55; }
.footer-contact a { color: rgba(255,255,255,.72); }
.footer-contact a:hover { color: var(--orange); }
.footer-follow-h { margin: 26px 0 14px; }
.footer-follow { display: flex; gap: 14px; font-size: 14.5px; }
.footer-follow a { color: rgba(255,255,255,.72); }
.footer-follow a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1280px; margin: 48px auto 0; padding: 26px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.45);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: rgba(255,255,255,.45); }
.footer-legal a:hover { color: var(--orange); }

/* ---------- Under-construction stubs + shared utilities ---------- */
/* Placeholder pages for sections of the site that are not built yet. They
   reuse the brand tokens above and carry a slimmed-down header/footer rather
   than a copy of the homepage's, since they are temporary. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 12px 20px; border-radius: 0 0 4px 4px;
  transition: top .15s;
}
.skip-link:focus { top: 0; color: #fff; }

.uc-page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
}
.uc-main {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 72px) 0 88px;
}
.uc-inner { max-width: 680px; text-align: center; }
.uc-mark {
  width: 64px; height: 3px; background: var(--orange);
  margin: 0 auto 30px;
}
.uc-eyebrow {
  font-family: var(--font-head);
  font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange-dark); font-weight: 600; margin-bottom: 18px;
}
.uc-inner h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.12;
  color: var(--charcoal); margin: 0; text-wrap: balance;
}
.uc-status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 26px 0 0;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.uc-status .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
.uc-inner p {
  font-size: 17px; line-height: 1.75; color: var(--muted);
  margin: 26px auto 0; max-width: 56ch;
}
.uc-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.btn-outline {
  border: 1.5px solid var(--border); color: var(--charcoal); background: #fff;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange-dark); }

.uc-footer {
  border-top: 1px solid var(--border-2);
  background: var(--charcoal-2); color: rgba(255,255,255,.55);
}
.uc-footer-inner {
  padding: 30px clamp(20px, 4vw, 56px);
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  align-items: center; justify-content: space-between;
  font-size: 13px;
}
.uc-footer a { color: rgba(255,255,255,.72); }
.uc-footer a:hover { color: var(--orange); }

/* ======================================================================
   Company page (why-wazen.html)
   Reuses the tokens, .section/.wrap/.eyebrow/.rule, button and card idioms
   above. New CSS uses logical properties where it is cheap, so a future
   dir="rtl" toggle on <html> mirrors the layout without a rewrite.
   ====================================================================== */

/* Nav: the active page gets an orange underline on both pages. */
.nav-links a.current { position: relative; }
.nav-links a.current::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -8px;
  height: 2px; background: var(--orange); border-radius: 2px;
}

/* ---------- Image placeholders ---------- */
/* Every image on this page is a labelled empty slot until the client's files
   arrive: light grey, dashed orange border, the expected file name centred. */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border: 2px dashed var(--orange); border-radius: 6px;
  color: var(--muted); text-align: center; overflow: hidden;
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  letter-spacing: .06em; padding: 12px;
}
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(242,101,34,.06) 14px 15px);
}
.ph > span { position: relative; max-width: 90%; line-height: 1.4; word-break: break-word; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3  { aspect-ratio: 4 / 3; }
.ph--3x2  { aspect-ratio: 3 / 2; }
.ph--1x1  { aspect-ratio: 1 / 1; }
.ph--21x9 { aspect-ratio: 21 / 9; }
.ph--dark { background: #2a2c33; border-color: rgba(242,101,34,.7); color: rgba(255,255,255,.7); }

/* ---------- 1. Company hero ---------- */
.co-hero {
  position: relative; min-height: 80vh; overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--charcoal-2); color: #fff;
}
.co-hero-bg {
  position: absolute; inset: -12% 0; /* headroom for the parallax travel */
  will-change: transform;
}
.co-hero-bg .ph { position: absolute; inset: 0; border-radius: 0; border-width: 0 0 2px; }
.co-hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,16,20,.55) 0%, rgba(15,16,20,.25) 40%, rgba(15,16,20,.92) 100%),
    linear-gradient(90deg, rgba(15,16,20,.55) 0%, rgba(15,16,20,0) 60%);
}
.co-hero-inner {
  position: relative; width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 56px) 72px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px; align-items: end;
}
.co-hero h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(36px, 5vw, 66px); line-height: 1.08;
  margin: 0; text-wrap: balance; text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.co-hero h1 .em { color: var(--orange); }
.co-hero-fg { justify-self: end; width: min(100%, 420px); }
.co-hero-fg .ph { background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); border-color: rgba(242,101,34,.8); }
/* Real images, once the client's files replace the placeholders. */
.co-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.co-hero-fg img { display: block; width: 100%; height: auto; }
/* A cut-out figure: stand it on the hero's bottom edge instead of floating
   above the inner padding. */
.cap-hero .co-hero-fg { margin-bottom: -72px; }
/* The Company cut-out is two figures side by side, so it gets a wider slot. */
.co-hero--company .co-hero-fg { width: min(100%, 600px); margin-bottom: -72px; }
@media (max-width: 860px) {
  .co-hero { min-height: 60vh; }
  .co-hero-inner { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 48px; }
  .co-hero-fg { width: min(100%, 260px); justify-self: start; }
  .co-hero-bg { inset: 0; transform: none !important; } /* parallax off */
  .cap-hero .co-hero-fg { margin-bottom: -48px; justify-self: end; }
  .co-hero--company .co-hero-fg { width: min(100%, 360px); margin-bottom: -48px; justify-self: end; }
}

/* Section header pattern used throughout this page. */
.co-head { max-width: 760px; }
.co-head h2 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15;
  margin: 0; color: var(--charcoal); text-wrap: balance;
}
.co-head .lede { font-size: 17.5px; line-height: 1.75; color: var(--muted); margin: 0; }

/* ---------- 2. Timeline ---------- */
.tl { background: #fff; }
.tl-grid {
  display: grid; grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); margin-top: 52px; align-items: start;
}
.tl-rail { position: relative; display: flex; flex-direction: column; gap: 6px; padding-inline-start: 22px; }
.tl-line {
  position: absolute; inset-inline-start: 6px; top: 10px; bottom: 10px; width: 2px;
  background: var(--bg-soft); border-radius: 2px;
}
.tl-line-fill {
  position: absolute; top: 0; inset-inline: 0; height: 0;
  background: var(--orange); border-radius: 2px; transition: height .45s ease;
}
.tl-year {
  position: relative; border: none; background: transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  text-align: start; padding: 6px 4px; color: #b9b0a9; /* muted peach */
  transition: color .25s;
}
.tl-year::before {
  content: ""; position: absolute; inset-inline-start: -20px; top: 50%;
  width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%);
  background: var(--bg-soft); transition: background .25s, box-shadow .25s;
}
.tl-year:hover { color: var(--orange-dark); }
.tl-year:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
.tl-year[aria-selected="true"] { color: var(--orange-dark); font-weight: 700; font-size: 17px; }
.tl-year[aria-selected="true"]::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(242,101,34,.18); }
.tl-panels { display: contents; }
.tl-panel { display: none; grid-column: 2 / span 2; }
.tl-panel[data-active] {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  animation: wzFadeUp .45s ease both;
}
.tl-panel .ph { border-radius: 24px; }
.tl-copy .tl-kicker {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .24em; color: var(--orange); margin-bottom: 14px;
}
.tl-copy h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin: 0 0 16px; color: var(--charcoal);
}
.tl-copy p { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .tl-grid { grid-template-columns: 1fr; gap: 28px; }
  .tl-rail {
    flex-direction: row; overflow-x: auto; gap: 8px; padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .tl-line { display: none; }
  .tl-year { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: var(--bg); font-size: 14px; }
  .tl-year::before { display: none; }
  .tl-year[aria-selected="true"] { background: var(--orange); color: #fff; font-size: 14px; }
  .tl-panel { grid-column: auto; }
  .tl-panel[data-active] { grid-template-columns: 1fr; }
}

/* ---------- 3. HSE ---------- */
.hse-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.hse-card {
  position: relative; min-height: 320px; border-radius: 6px; overflow: hidden;
  display: flex; align-items: flex-end; color: #fff;
}
.hse-card .ph { position: absolute; inset: 0; border-radius: 6px; }
.hse-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hse-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,16,20,.15) 0%, rgba(15,16,20,.85) 100%);
}
.hse-stat { position: relative; z-index: 1; padding: 34px 36px; }
.hse-stat .big {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(36px, 4.2vw, 56px); line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.hse-stat .big .em { color: var(--orange); }
.hse-stat .label {
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-top: 10px;
}
@media (max-width: 860px) { .hse-cards { grid-template-columns: 1fr; } .hse-card { min-height: 260px; } }

/* ---------- 4. Local advantage ---------- */
.la { background: var(--bg); border-top: 1px solid var(--border-2); }
.la-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.la-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.la-collage .ph { border-radius: 6px; }
.la-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 42%; aspect-ratio: 1 / 1;
  border-radius: 6px; box-shadow: 0 18px 44px rgba(20,21,25,.28);
  outline: 4px solid var(--orange); outline-offset: 4px; background: #fff;
}
.la-center .ph { position: absolute; inset: 0; border-radius: 6px; }
/* The client supplied the collage as one finished composition. */
.la-collage--image { display: block; }
.la-collage--image img { display: block; width: 100%; height: auto; border-radius: 6px; }
.la-copy h2 { font-size: clamp(26px, 2.6vw, 36px); }
.la-copy p { font-size: 17px; line-height: 1.75; color: var(--muted); margin: 0 0 18px; }
@media (max-width: 900px) { .la-grid { grid-template-columns: 1fr; } }

/* ---------- 5. ESG ---------- */
.esg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.esg-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.esg-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(27,28,32,.1); }
.esg-card .ph { border-radius: 0; border-width: 0 0 2px; }
.esg-card > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.esg-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; }
.esg-body .num { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--orange); letter-spacing: .06em; }
.esg-body h3 { font-family: var(--font-head); font-weight: 600; font-size: 21px; margin: 0; color: var(--charcoal); }
.esg-body h3 small { font-weight: 600; color: var(--orange-dark); font-size: .8em; margin-inline-start: 6px; }
.esg-body p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .esg-grid { grid-template-columns: 1fr; } }

/* ---------- 6. Latest news ---------- */
.news { background: #fff; border-top: 1px solid var(--border-2); }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.news-head .link { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(27,28,32,.1); }
.news-card .ph { border-radius: 0; border-width: 0 0 2px; }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date {
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange-dark);
}
.news-body h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.35;
  margin: 0; color: var(--charcoal); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-body .link { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; }
@media (max-width: 1080px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* Faint oversized brand mark behind dark sections (homepage motif). */
.co-watermark {
  position: absolute; inset-inline-end: -120px; bottom: -80px; height: 440px;
  opacity: .05; pointer-events: none;
}

/* ======================================================================
   Capabilities page
   ====================================================================== */
.cap-hero h1 { font-size: clamp(32px, 4.2vw, 56px); max-width: 18ch; }

/* The console: a sticky index on the left (25%), six editorial blocks on
   the right (75%). Logical properties so the index flips under RTL. */
.cap-console { padding-top: 72px; }
.cap-grid {
  display: grid; grid-template-columns: minmax(220px, 1fr) 3fr;
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.cap-index { position: sticky; top: 96px; }
.cap-index .eyebrow { margin-bottom: 18px; }
.cap-index-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.cap-index-list a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 14px; border-inline-start: 3px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.3;
  color: var(--muted); transition: color .25s, border-color .25s, background .25s;
}
.cap-index-list a:hover { color: var(--charcoal); background: rgba(242,101,34,.05); }
.cap-index-list a[aria-current="true"] { color: var(--orange-dark); border-color: var(--orange); }

.cap-blocks { display: flex; flex-direction: column; }
.cap-block {
  padding: 56px 0 72px; border-top: 1px solid var(--border-2);
  scroll-margin-top: 96px;
}
.cap-block:first-child { border-top: 0; padding-top: 8px; }
.cap-head {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px; align-items: center; margin-bottom: 28px;
}
.cap-head .cap-intro:last-child { margin-bottom: 0; }
/* The client's photos are vignettes cropped to their subject; their soft
   white edges melt into the section background. */
.cap-media img {
  display: block; width: 100%; height: auto; max-height: 300px;
  object-fit: contain; mix-blend-mode: multiply;
}
.cap-block h3 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15;
  margin: 0 0 18px; color: var(--charcoal); text-wrap: balance;
  padding-bottom: 16px; position: relative;
}
.cap-block h3::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 56px; height: 3px; background: var(--orange); }
.cap-intro { font-size: 17px; line-height: 1.75; color: var(--muted); margin: 0 0 18px; }
.cap-lead  { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0 0 14px; }
.cap-sub   { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--charcoal); margin: 6px 0 12px; }
.cap-cols  { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 6px; }
.cap-cols > .cap-intro { margin-bottom: 0; }

.cap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cap-list li {
  position: relative; padding-inline-start: 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; line-height: 1.45; color: var(--charcoal);
}
.cap-list li::before {
  content: "\203A"; position: absolute; inset-inline-start: 0; top: -1px;
  color: var(--orange); font-weight: 700; font-size: 20px; line-height: 1;
}
.cap-list--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }

.cap-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cap-tags li {
  padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid var(--orange); color: var(--orange-dark);
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .04em;
}
.cap-cta { margin-top: 28px; }
.cap-cta .btn-outline { border-color: var(--orange); color: var(--orange-dark); }
.cap-cta .btn-outline:hover { background: var(--orange); color: #fff; }

/* Copy flagged in the brief as a paste error: kept verbatim, visibly tagged. */
.cap-flagged { outline: 2px dashed var(--orange); outline-offset: 10px; border-radius: 2px; }
.cap-flag {
  display: inline-block; margin-bottom: 12px; padding: 5px 10px;
  background: var(--orange); color: #fff; border-radius: 3px;
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .08em;
}

@media (max-width: 960px) {
  .cap-console { padding-top: 40px; }
  .cap-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cap-index { min-width: 0; }
  /* The index becomes a sticky chip bar that scrolls sideways. */
  .cap-index {
    top: 76px; z-index: 5; margin: 0 calc(-1 * clamp(20px, 4vw, 56px)); padding: 12px clamp(20px, 4vw, 56px);
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-2);
  }
  .cap-index .eyebrow { margin-bottom: 8px; }
  .cap-index-list {
    flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
  }
  .cap-index-list::-webkit-scrollbar { display: none; }
  .cap-index-list li { flex: 0 0 auto; scroll-snap-align: start; }
  .cap-index-list a {
    white-space: nowrap; padding: 8px 14px; border: 1.5px solid var(--border-2); border-radius: 999px;
    font-size: 13.5px; border-inline-start-width: 1.5px;
  }
  .cap-index-list a[aria-current="true"] { border-color: var(--orange); color: var(--orange-dark); background: rgba(242,101,34,.08); }
  .cap-block { scroll-margin-top: 176px; padding: 40px 0 48px; }
  .cap-cols { grid-template-columns: 1fr; }
  /* Photo above the title instead of beside it. */
  .cap-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cap-media { order: -1; }
  .cap-media img { max-height: 220px; }
}
@media (max-width: 640px) {
  .cap-list--2col { grid-template-columns: 1fr; }
}

/* ======================================================================
   Global Partnerships page
   ====================================================================== */
/* Partner trust bar: the homepage marquee, kept deliberately narrow. */
.gp-trust .clients-inner { padding-top: 44px; padding-bottom: 40px; }
.gp-trust .eyebrow { margin-bottom: 10px; }
.gp-trust-h { font-size: clamp(17px, 1.6vw, 20px) !important; font-weight: 500; color: var(--muted) !important; max-width: 60ch; margin: 0 auto; line-height: 1.5; }
.gp-trust .marquee-mask { margin-top: 28px; }
.gp-trust .client-chip { height: 72px; width: 170px; }
.ph-chip {
  border: 1.5px dashed var(--orange) !important; background: var(--bg) !important;
  font-family: var(--font-head); font-weight: 600; font-size: 11.5px; letter-spacing: .06em; color: var(--muted);
}

.gp-section h2 { font-size: clamp(28px, 3.2vw, 42px); }
.gp-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.gp-head--flip .gp-head-copy { order: 2; }
.gp-head-copy .lede { margin: 22px 0 0; }
.gp-head-copy .lede + .lede { margin-top: 14px; }
.gp-head > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

.gp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.gp-col {
  display: flex; flex-direction: column; padding: 30px 30px 32px;
  background: #fff; border: 1px solid var(--border-2); border-top: 3px solid var(--orange); border-radius: 6px;
  transition: transform .3s, box-shadow .3s;
}
.gp-col:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(27,28,32,.1); }
.gp-col h3 { font-family: var(--font-head); font-weight: 600; font-size: 21px; margin: 0 0 12px; color: var(--charcoal); }
.gp-col p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.gp-col-foot { margin-top: auto; padding-top: 24px; }
.gp-col-foot .btn-outline { border-color: var(--orange); color: var(--orange-dark); }
.gp-col-foot .btn-outline:hover { background: var(--orange); color: #fff; }
.gp-badges { display: flex; gap: 10px; }
.gp-badges .ph { width: 84px; font-size: 10.5px; padding: 6px; }
/* The badge files sit on white; multiply drops it into the card. */
.gp-badges img { display: block; width: 84px; height: auto; mix-blend-mode: multiply; }

/* Project brief card */
.gp-brief {
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 48px);
  margin-top: 48px; padding: 32px; background: #fff; border: 1px solid var(--border-2); border-radius: 6px;
  border-inline-start: 4px solid var(--orange);
}
.gp-brief-logo { align-self: center; }
.gp-brief-logo img { display: block; width: 100%; height: auto; max-height: 160px; object-fit: contain; }
.gp-brief-body { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.gp-brief-body dt { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.gp-brief-body dd { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--charcoal); }

@media (max-width: 960px) {
  .gp-head { grid-template-columns: 1fr; }
  .gp-head--flip .gp-head-copy { order: 0; }
  .gp-head .ph, .gp-head > img { max-width: 560px; }
  .gp-cols { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .gp-brief { grid-template-columns: 1fr; padding: 24px; }
  .gp-brief-logo { max-width: 260px; }
}

/* ======================================================================
   Cross-page polish from the desktop / mobile audit
   ====================================================================== */
/* Keyboard focus is visible on every interactive element, not just the
   controls that had their own rule. */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px;
}
/* Anchored sections clear the sticky nav. */
[id] { scroll-margin-top: 90px; }

@media (max-width: 860px) {
  /* The overview tabs become one scrollable row of pills instead of a
     stacked column inside a single grey capsule. */
  .tabbar-wrap { align-items: stretch; }
  .tabbar {
    display: flex; flex-wrap: nowrap; justify-content: flex-start;
    background: none; padding: 0 0 6px; border-radius: 0; gap: 8px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * clamp(20px, 4vw, 56px)); padding-inline: clamp(20px, 4vw, 56px);
  }
  .tabbar::-webkit-scrollbar { display: none; }
  .tabbar button { flex: 0 0 auto; white-space: nowrap; background: var(--bg-soft); }
  /* Hero trust bar: two columns instead of four stacked rows. */
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-top: 20px; padding-bottom: 22px; }
  .trust-item { padding-left: 12px; }
  .trust-item .label { font-size: 10.5px; letter-spacing: .14em; }
  /* The background-slot caption only adds noise behind the foreground slot. */
  .co-hero-bg .ph > span { display: none; }
  /* Footer "Explore" list in two columns to shorten the page. */
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 16px; }
}
@media (max-width: 640px) {
  /* Paired call-to-action buttons: equal width, full row, easy to tap. */
  .hero-ctas, .cta-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn, .cta-ctas .btn, .cap-cta .btn, .gp-col-foot .btn, .uc-ctas .btn { width: 100%; text-align: center; }
  .uc-ctas { flex-direction: column; }
}

/* ======================================================================
   2.0 refresh (Oct 2026)
   Moves the site off the template look: one condensed DIN-style face,
   square corners, no drop shadows or hover lifts, no gradient washes or
   glow, photo-led cards and underline tabs. Overrides only - the rules
   above stay as the base so this block can be read on its own.
   ====================================================================== */
:root {
  --orange: #d9541e;
  --orange-dark: #c2410c;      /* 5.2:1 on white */
  --orange-light: #f2a65a;     /* accents on dark grounds only */
  --charcoal: #1a1a1a;
  --charcoal-2: #111418;
  --font-head: 'Barlow Semi Condensed', 'Arial Narrow', Helvetica, Arial, sans-serif;
}

/* Type */
.section h2, .co-head h2, .cta h2, .people-card h2, .clients h2,
.gp-section h2, .la-copy h2, .cap-block h3, .tab-intro h3 {
  font-weight: 700; letter-spacing: -.005em;
}
.section h2, .co-head h2, .gp-section h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; }
.hero h1, .co-hero h1, .cap-hero h1 {
  font-weight: 700; letter-spacing: -.01em; line-height: 1.02; text-shadow: none;
}
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); max-width: 16ch; }
.hero h1 span, .co-hero h1 .em { color: var(--orange-light); }
.hero p { text-shadow: none; }
.eyebrow, .uc-eyebrow, .cta-eyebrow { font-size: 14px; letter-spacing: .22em; }
.co-hero .eyebrow, .hero .eyebrow, .cta-eyebrow { color: var(--orange-light); }

/* The short orange bar under every heading is a template tell. */
.rule, .uc-mark, .cap-block h3::after, .cta-top-rule, .cta-glow,
.cta-watermark, .co-watermark { display: none !important; }
.cap-block h3 { padding-bottom: 0; }

/* Square corners, no shadows, no lift-on-hover */
.btn, .cap-card, .tab-card, .map-filters button, .map-detail, .people-card,
.client-chip, .cta-card, .hse-card, .hse-card .ph, .la-collage img, .esg-card,
.news-card, .gp-col, .gp-brief, .gp-head > img, .tl-panel .ph, .ph, .skip-link,
.uc-status, .cap-tags li, .cap-index-list a, .tabbar, .tabbar button {
  border-radius: 0 !important;
}
.cap-card:hover, .esg-card:hover, .news-card:hover, .gp-col:hover,
.marquee-set.interactive .client-chip:hover {
  transform: none; box-shadow: none;
}
.people-card, .cta-ctas .btn-primary, .nav.is-solid, .nav.menu-open { box-shadow: none; }

/* Buttons: uppercase, condensed, generous touch target */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.btn-outline { border: 1.5px solid var(--charcoal); background: transparent; color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.cap-cta .btn-outline, .gp-col-foot .btn-outline { border-color: var(--charcoal); color: var(--charcoal); }
.cap-cta .btn-outline:hover, .gp-col-foot .btn-outline:hover { background: var(--charcoal); color: #fff; }

/* Flat grounds instead of gradient washes */
.section-fade-down, .section-fade-up { background: var(--bg); }
.hero-trust { background: rgba(14,16,19,.62); backdrop-filter: none; }
.trust-item { border-left: 1px solid rgba(255,255,255,.18); padding-left: 24px; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .num { font-size: clamp(22px, 2vw, 30px); text-shadow: none; }
.trust-item .label { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; text-transform: none; }

/* Nav */
.nav-links { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a.current::after { border-radius: 0; height: 2px; bottom: -6px; }
.nav-brand img { height: 48px; }

/* ---------- Home: photo-led capability cards ---------- */
.cap-card { padding: 0; border: 0; display: flex; flex-direction: column; overflow: hidden; color: var(--muted); }
.cap-card .cap-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.cap-card .cap-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cap-card:hover .cap-photo img { transform: scale(1.04); }
.cap-card .cap-body { padding: 26px 28px 30px; }
.cap-card h3 { color: var(--charcoal); font-size: 24px; font-weight: 700; margin: 0 0 10px; }
.cap-card:hover h3 { color: var(--orange-dark); }
.cap-card p { font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .cap-card .cap-photo img { transition: none; } }

/* Section heads sit left, not centred */
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.text-link {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--charcoal); border-bottom: 2px solid var(--orange); padding-bottom: 4px;
}
.text-link:hover { color: var(--orange-dark); }

/* ---------- Home: tabs on a dark band, underline style ---------- */
#company.section { background: #1a1d21 !important; border-top: 0; }
#company .tabbar-wrap { align-items: stretch; text-align: left; }
#company .tabbar {
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0 32px;
  background: none; padding: 0; border-bottom: 1px solid rgba(255,255,255,.16);
}
#company .tabbar button {
  background: none; padding: 18px 0; margin-bottom: -1px; border-bottom: 3px solid transparent;
  font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.62);
}
#company .tabbar button:hover { color: #fff; }
#company .tabbar button.is-active { background: none; color: #fff; border-bottom-color: var(--orange); }
#company .tab-intro { text-align: left; margin: 0 0 48px; }
#company .tab-intro h3 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
#company .tab-intro p { color: rgba(255,255,255,.75); font-size: 18px; }
#company .tab-card, #company .tab-card.flush {
  background: none; border: 0; border-top: 2px solid var(--orange); padding: 28px 0 0;
}
#company .tab-card h3 { color: #fff; font-size: 26px; font-weight: 700; }
#company .tab-card p { color: rgba(255,255,255,.75); font-size: 16px; }
#company .tab-card .num, #company .tab-card .kicker, #company .tab-card .meta { color: var(--orange-light); }
#company .tab-card .link { color: #fff; text-transform: uppercase; letter-spacing: .08em; }
#company .tab-card .link:hover { color: var(--orange-light); }
#company .tab-card .feature-link { color: #fff; border-top-color: rgba(255,255,255,.16); }
#company .tab-card .feature-link:hover { color: var(--orange-light); }
@media (max-width: 860px) {
  #company .tabbar { flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 0; gap: 0 24px; }
  #company .tabbar button { background: none; font-size: 15px; }
}

/* Map */
.map-filters { flex-direction: row; flex-wrap: wrap; }
.map-filters button { min-height: 44px; }
.map-filters button .n { border-radius: 0; }
.map-detail { border: 0; border-top: 2px solid var(--orange); background: #fff; }

/* ---------- Home: people section (replaces the photo mosaic) ---------- */
.people { background: var(--charcoal-2); border-top: 0; }
.people-split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px); align-items: end; min-height: 560px;
}
.people-split .people-copy { align-self: center; padding: 96px 0; color: rgba(255,255,255,.75); }
.people-split .people-copy h2 {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05; color: #fff; margin: 0 0 22px;
}
.people-split .people-copy p { font-size: 18px; line-height: 1.7; margin: 0 0 32px; }
.people-split .people-photo { display: flex; justify-content: flex-end; }
.people-split .people-photo img { width: 100%; max-width: 560px; height: auto; }
@media (max-width: 860px) {
  .people-split { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .people-split .people-copy { padding: 72px 0 24px; }
  .people-split .people-photo img { max-width: 360px; }
}

/* Clients */
.clients { background: var(--bg); }
.clients-inner { text-align: left; }
.client-chip { border-color: var(--border-2); }

/* ---------- CTA: solid orange band ---------- */
.cta { background: var(--orange-dark); }
.cta h2 span { color: #fff; }
.cta-eyebrow { color: rgba(255,255,255,.85); }
.cta-lede { color: rgba(255,255,255,.92); }
.cta-quote { color: rgba(255,255,255,.75); }
.cta .btn-primary { background: #fff; color: var(--charcoal); }
.cta .btn-primary:hover { background: var(--charcoal); color: #fff; }
.cta .btn-ghost-dark2 { border-color: rgba(255,255,255,.7); }
.cta .btn-ghost-dark2:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.cta-card { background: rgba(0,0,0,.14); border-color: rgba(255,255,255,.22); backdrop-filter: none; }
.cta-card-title { color: #fff; }
.cta-card-row .chev { color: #fff; }
.cta-card-row .k, .cta-card-note { color: rgba(255,255,255,.75); }
.cta-card-row a:hover { color: var(--charcoal); }
.cta-card-rule { background: rgba(255,255,255,.22); }

/* Footer */
.footer-h { color: #fff; }
.footer-brand img { height: 72px; }
.site-footer a:hover, .footer-links a:hover, .footer-contact a:hover, .footer-follow a:hover, .footer-legal a:hover { color: var(--orange-light); }

/* ---------- Inner-page heroes ---------- */
.co-hero-scrim {
  background:
    linear-gradient(90deg, rgba(14,16,19,.9) 0%, rgba(14,16,19,.55) 55%, rgba(14,16,19,.2) 100%),
    linear-gradient(180deg, rgba(14,16,19,.35) 0%, rgba(14,16,19,0) 30%, rgba(14,16,19,.55) 100%);
}

/* Timeline */
.tl-year { color: #8a929c; }
.tl-year[aria-selected="true"]::before { box-shadow: none; }
@media (max-width: 960px) { .tl-year { border-radius: 0; } }

/* HSE / ESG / news */
.hse-card::after { background: linear-gradient(180deg, rgba(14,16,19,0) 35%, rgba(14,16,19,.88) 100%); }
.hse-stat .big { text-shadow: none; }
.hse-stat .label { font-family: var(--font-body); font-size: 16px; letter-spacing: 0; text-transform: none; }
.esg-card { border: 0; }
.news-card { border-color: var(--border-2); }

/* Local advantage: three real photos replace the 30-image collage */
.la-photos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px; aspect-ratio: 1 / 1;
}
.la-photos img { width: 100%; height: 100%; object-fit: cover; }
.la-photos img:first-child { grid-row: span 2; }

/* Capabilities: the photos are now full-frame, not vignettes */
.cap-media img { object-fit: cover; aspect-ratio: 3 / 2; max-height: none; mix-blend-mode: normal; }
.cap-index-list a { font-size: 18px; font-weight: 700; padding: 12px 16px; }
.cap-index-list a[aria-current="true"] { color: var(--charcoal); }
.cap-list li { font-family: var(--font-body); font-weight: 600; font-size: 16px; }
.cap-tags li { border-color: var(--charcoal); color: var(--charcoal); }
@media (max-width: 960px) {
  .cap-index-list a { border-radius: 0; font-size: 14px; }
  .cap-media img { max-height: none; }
}

/* Partnerships */
.gp-col { border: 0; border-top: 2px solid var(--orange); background: none; padding: 28px 0 0; }
.gp-brief { border-inline-start-width: 1px; border-top: 2px solid var(--orange); }
.gp-brief-body dt { color: var(--orange-dark); }

/* ---------- New inner pages: Track Record, Careers, Contact ---------- */
.page-hero {
  position: relative; min-height: 560px; display: flex; align-items: flex-end;
  background: var(--charcoal-2); color: #fff; overflow: hidden;
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.page-hero .co-hero-scrim { position: absolute; inset: 0; }
.page-hero-inner { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 160px clamp(20px, 4vw, 56px) 88px; }
.page-hero h1 {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02; margin: 0; max-width: 18ch; color: #fff;
}
.page-hero p { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: rgba(255,255,255,.82); max-width: 60ch; margin: 22px 0 0; }
.page-hero--plain { min-height: 0; }
.page-hero--plain .page-hero-inner { padding-top: calc(var(--nav-h) + 72px); }

.pill-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-filters button {
  appearance: none; cursor: pointer; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--border); background: #fff; color: var(--charcoal);
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.pill-filters button:hover { border-color: var(--charcoal); }
.pill-filters button[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.project-card { display: flex; flex-direction: column; background: var(--bg); color: var(--muted); }
.project-card[hidden] { display: none; }
.project-card .ph-img, .project-card > img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.project-card .ph-img {
  display: flex; align-items: center; justify-content: center; background: var(--bg-soft);
  color: var(--muted); font-size: 14px;
}
.project-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-cat { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .18em; color: var(--orange-dark); }
.project-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 25px; line-height: 1.15; margin: 0; color: var(--charcoal); }
.project-meta { font-size: 15px; color: #5b6573; }
.project-card p { margin: 0; font-size: 16px; line-height: 1.6; flex: 1; }
@media (max-width: 960px) { .project-grid { grid-template-columns: minmax(0, 1fr); } }

.stat-band { background: #1a1d21; color: rgba(255,255,255,.72); padding: 88px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid > div { padding: 8px 32px; border-left: 1px solid rgba(255,255,255,.16); }
.stat-grid > div:first-child { border-left: 0; padding-left: 0; }
.stat-grid .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 4.4vw, 56px); line-height: 1; color: #fff; }
.stat-grid .label { font-size: 16px; margin-top: 8px; }
@media (max-width: 860px) {
  .stat-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stat-grid > div { border-left: 0; padding: 0; }
}

.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 52px; }
.three-col > div { border-top: 2px solid var(--orange); padding-top: 28px; }
.three-col h3 { font-family: var(--font-head); font-weight: 700; font-size: 26px; margin: 0 0 12px; color: var(--charcoal); }
.three-col p { margin: 0; font-size: 16px; line-height: 1.65; }
.split-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-2 > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-2 p { font-size: 18px; line-height: 1.65; margin: 0 0 18px; }
@media (max-width: 900px) { .three-col, .split-2 { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.role-list { border-top: 1px solid var(--border-2); margin-top: 32px; }
.role-row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) auto;
  gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--border-2);
}
.role-row .t { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--charcoal); }
.role-row a { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) { .role-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.cv-band {
  margin-top: 40px; background: #1a1d21; padding: 40px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 24px; color: rgba(255,255,255,.75);
}
.cv-band h3 { font-family: var(--font-head); font-weight: 700; font-size: 28px; color: #fff; margin: 0 0 6px; }
.cv-band .btn { background: #fff; color: var(--charcoal); }
.cv-band .btn:hover { background: var(--orange); color: #fff; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--charcoal); background: #fff;
  border: 1px solid #c9ced4; border-radius: 0; padding: 14px 16px; min-height: 52px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .btn { align-self: flex-start; }
.contact-list { border-top: 1px solid var(--border-2); }
.contact-list > div { padding: 26px 0; border-bottom: 1px solid var(--border-2); display: flex; flex-direction: column; gap: 6px; }
.contact-list .eyebrow { margin: 0; font-size: 13px; }
.contact-list .v { font-size: 18px; line-height: 1.5; color: var(--charcoal); }
.contact-list .v-big { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--charcoal); }
.form-note { font-size: 14px; color: #5b6573; margin: 0; }
@media (max-width: 900px) { .contact-grid, .form-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
/* Spacing the removed .rule used to provide */
.section h2 + .lede, .section h2 + p, .co-head h2 + .lede, .co-head h2 + p,
.footprint-copy h2 + .lede, .la-copy h2 + p, .gp-head-copy h2 + .lede { margin-top: 20px; }

/* ---------- Home: People section ----------
   A compact photo field: one thin strip of tiles above and below, the feature
   photo and the copy card between them. The card sets the height of the middle
   band; photos never do (contain: size removes their intrinsic height), so the
   section stays near 650px on desktop instead of growing with the images. */
.people { background: var(--charcoal-2); }
.people-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 104px repeat(3, minmax(108px, auto)) 104px;
  gap: 6px; padding: 6px;
}
.people-grid img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  display: block; contain: size;
}
.pg-top, .pg-bottom { grid-column: span 2; }
.pg-top { grid-row: 1; }
.pg-bottom { grid-row: 5; }
.pg-feature { grid-column: 1 / 6; grid-row: 2 / 5; }
.pg-mid-a { grid-column: 6 / 8; grid-row: 2 / 4; }
.pg-mid-b { grid-column: 6 / 8; grid-row: 4 / 5; }
.pg-card {
  grid-column: 8 / 13; grid-row: 2 / 5; background: #fff;
  padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center;
}
.pg-card h2 {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.05; color: var(--charcoal); margin: 0 0 14px;
}
.pg-card p { font-size: 16.5px; line-height: 1.65; color: var(--muted); margin: 0 0 24px; }
.pg-card .btn { align-self: flex-start; }
/* Tablet: one strip of six tiles, then photo and card side by side. */
@media (max-width: 1100px) {
  .people-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 96px auto; }
  .pg-top { grid-column: span 1; grid-row: 1; }
  .pg-bottom, .pg-mid-a, .pg-mid-b { display: none; }
  .pg-feature { grid-column: 1 / 4; grid-row: 2; }
  .pg-card { grid-column: 4 / 7; grid-row: 2; }
}
/* Phone: the feature photo, then the copy. The tile strips are dropped. */
@media (max-width: 760px) {
  .people-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 0; padding: 0; }
  .pg-top { display: none; }
  .pg-feature { grid-column: 1; grid-row: auto; aspect-ratio: 16 / 10; }
  .pg-card { grid-column: 1; grid-row: auto; padding: 30px clamp(20px, 4vw, 56px) 36px; }
  .pg-card h2 { font-size: 30px; }
  .pg-card p { font-size: 16px; }
}
@media (max-width: 640px) { .pg-card .btn { align-self: stretch; } }
/* Phone: trust bar 2x2 without a stray indent on the second row */
@media (max-width: 860px) {
  .trust-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(even) { padding-left: 16px; }
}
/* Tablet/phone footprint: copy, then filters and map, then the selected location */
@media (max-width: 900px) {
  .footprint-copy { display: contents; }
  .footprint-copy > * { order: 1; }
  .footprint-map { order: 2; }
  .footprint-copy .map-detail { order: 3; margin-top: 8px; }
  .map-filters { gap: 8px; }
  .map-filters button { flex: 1 1 auto; justify-content: center; }
}

/* ======================================================================
   2.1 homepage pass (Nov 2026) - client copy handover v1.2 + design notes
   ====================================================================== */

/* Smooth in-page scrolling only for visitors who have not asked for less motion. */
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Page-to-page navigation cross-fades where the browser supports it. */
  @view-transition { navigation: auto; }
}

/* Section labels: plain sentence-case text, not tracked-out capitals. */
.eyebrow, .uc-eyebrow, .cta-eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 17px;
  letter-spacing: .01em; text-transform: none; margin-bottom: 10px;
}

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; }
/* One colour for the whole headline. */
.hero h1 { color: #fff; max-width: 18ch; }
.hero p { max-width: 58ch; }
/* The page's one entrance: headline, copy, buttons, then the proof bar. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-inner > p, .hero-ctas, .hero-trust {
    animation: wzRise .8s cubic-bezier(.22,.61,.36,1) both;
  }
  .hero-inner > p { animation-delay: .1s; }
  .hero-ctas { animation-delay: .2s; }
  .hero-trust { animation-delay: .35s; }
}
@keyframes wzRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Motion: quieter reveals, eased ---------- */
[data-reveal].pre-reveal {
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
.tab-panel.is-active { animation: wzPanel .35s cubic-bezier(.22,.61,.36,1) both; }
@keyframes wzPanel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }

/* Mobile menu slides in rather than snapping. */
@media (max-width: 1020px) {
  .mobile-menu {
    display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; transform: none; }
}

/* ---------- Tabs: text links are underlined, no glyph tacked on ---------- */
#company .tab-card { gap: 12px; }
#company .tab-card .link, #company .tab-card .feature-link { align-self: flex-start; }
#company .tab-card .link {
  border-bottom: 2px solid var(--orange); padding-bottom: 3px; margin-top: 6px;
  transition: color .2s ease, border-color .2s ease;
}
#company .tab-card .link:hover { border-bottom-color: var(--orange-light); }
#company .tab-card .feature-link { align-self: stretch; }

/* ---------- Clients: one slim centred strip ---------- */
.home .clients { background: #fff; border-top: 1px solid var(--border-2); }
.home .clients-inner { padding-top: 36px; padding-bottom: 40px; text-align: center; }
.home .clients h2 {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.25; letter-spacing: 0; margin: 0; color: var(--charcoal);
}
.home .clients .marquee-mask { margin-top: 22px; }
.home .clients .marquee-track, .clients .marquee-set { gap: 12px; }
.home .clients .client-chip { width: 148px; height: 68px; padding: 8px 16px; border: 0; background: none; }
.home .marquee-mask:hover .marquee-track { animation-play-state: paused; }

/* ---------- Closing CTA ---------- */
.cta h2 { max-width: 18ch; }
.cta-inner { padding-top: 88px; padding-bottom: 88px; }
.footprint-copy .lede + .lede { margin-top: 14px; }

/* ======================================================================
   2.2 inner pages (Nov 2026) - Company, Capabilities, Projects, Careers,
   Contact, from the client handover docs
   ====================================================================== */

/* ---------- Company / Capabilities hero: slimmer band, larger figures ---------- */
.co-hero { min-height: 560px; align-items: stretch; }
.co-hero-inner {
  display: flex; align-items: center; min-height: 560px;
  padding: calc(var(--nav-h) + 48px) clamp(20px, 4vw, 56px) 56px;
}
.co-hero-text { position: relative; z-index: 1; max-width: min(42%, 520px); }
.co-hero h1 { font-size: clamp(34px, 4vw, 56px); max-width: 15ch; }
.cap-hero h1 { font-size: clamp(32px, 3.7vw, 52px); max-width: 19ch; position: relative; z-index: 1; }
.co-hero-intro { font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.86); margin: 20px 0 0; }
.co-hero .co-hero-fg {
  position: absolute; right: 0; bottom: 0; margin: 0;
  width: min(60%, 800px);
}
.cap-hero .co-hero-fg { right: clamp(20px, 4vw, 56px); width: min(36%, 450px); }
@media (max-width: 860px) {
  .co-hero, .co-hero-inner { min-height: 0; }
  .co-hero-inner { flex-direction: column; align-items: flex-start; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 0; }
  .co-hero-text { max-width: none; }
  .co-hero .co-hero-fg { position: static; width: 100%; margin-top: 28px; }
  .cap-hero .co-hero-fg { width: 62%; align-self: flex-end; }
}

/* ---------- Company: history. Every period is on the page; the year rail
   stays in view and follows the scroll (same tracking as the capabilities
   index), so nothing has to be clicked to read it. ---------- */
.hist-grid { margin-top: 48px; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); }
.hist-rail .cap-index-list a { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hist-entry { max-width: 74ch; }
.hist-entry.cap-block { padding: 40px 0 44px; }
.hist-entry.cap-block:first-child { padding-top: 0; }
.hist-years { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--orange-dark); margin-bottom: 8px; }
.hist-entry h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.hist-entry p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 14px; }
.hist-entry p:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
  .hist-grid { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .hist-entry.cap-block, .hist-entry.cap-block:first-child { padding: 32px 0 36px; }
}

/* ---------- Footprint map: larger map, filters on one line ---------- */
.footprint-grid { grid-template-columns: minmax(260px, 4fr) minmax(0, 7fr); }
.map-filters { flex-wrap: nowrap; }
.map-filters button { white-space: nowrap; letter-spacing: .1em; padding-inline: 14px; }
@media (max-width: 1180px) { .map-filters { flex-wrap: wrap; } }
@media (max-width: 900px) { .footprint-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page heroes ---------- */
.page-hero h1 { max-width: 20ch; }
/* Photo on the right half, solid ground under the headline. */
.page-hero--split > img { left: auto; right: 0; width: 60%; opacity: 1; object-position: right center; }
.page-hero--split .co-hero-scrim {
  background: linear-gradient(90deg, var(--charcoal-2) 0%, var(--charcoal-2) 40%, rgba(17,20,24,.6) 58%, rgba(17,20,24,.1) 100%);
}
@media (max-width: 760px) {
  .page-hero { min-height: 420px; }
  .page-hero-inner { padding-top: 132px; padding-bottom: 56px; }
  .page-hero--split > img { width: 100%; opacity: .5; }
  .page-hero--split .co-hero-scrim { background: linear-gradient(180deg, rgba(17,20,24,.45), rgba(17,20,24,.85)); }
}

/* ---------- Projects ---------- */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--border-2); }
.subnav-inner { display: flex; gap: 0 36px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 18px 0 15px; border-bottom: 3px solid transparent; white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.subnav a:hover { color: var(--charcoal); }
.subnav a[aria-current="true"] { color: var(--charcoal); border-bottom-color: var(--orange); }
.proj-section { background: #fff; scroll-margin-top: 132px; }
.proj-section--alt { background: var(--bg); }
/* Cards share row tracks so titles, facts and copy line up across a row. */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 48px; }
.case { display: grid; grid-template-rows: subgrid; grid-row: span 4; border-top: 2px solid var(--orange); padding-top: 24px; }
.case h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--charcoal); margin: 0 0 6px; }
.case-meta { font-size: 15px; line-height: 1.45; color: #5b6573; }
/* The key fact is the loudest thing on the card. */
.case-fact {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 2.9vw, 42px);
  line-height: 1.04; letter-spacing: -.005em; color: var(--charcoal); margin: 22px 0 16px; text-wrap: balance;
}
.case p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .case-grid { grid-template-columns: minmax(0, 1fr); gap: 36px 0; }
  .case { display: block; }
}

/* ---------- Careers ---------- */
.careers-why { background: var(--bg); }
.gp-head > img.careers-collage { aspect-ratio: auto; object-fit: contain; }
.jobs-panel {
  margin-top: 40px; background: #1a1d21; color: rgba(255,255,255,.78); padding: 40px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.jobs-panel h3 { font-family: var(--font-head); font-weight: 700; font-size: 28px; color: #fff; margin: 0 0 6px; }
.jobs-panel p { margin: 0; font-size: 17px; max-width: 56ch; }
.jobs-panel .btn { background: #fff; color: var(--charcoal); }
.jobs-panel .btn:hover { background: var(--orange); color: #fff; }
.jobs-frame { display: block; width: 100%; height: 900px; margin-top: 40px; border: 1px solid var(--border-2); background: #fff; }
@media (max-width: 640px) { .jobs-panel { padding: 28px 22px; } .jobs-panel .btn { width: 100%; } }

/* ---------- Contact ---------- */
.contact-band { background: var(--orange-dark); color: #fff; }
.contact-band-inner {
  display: grid; grid-template-columns: minmax(280px, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 88px; padding-bottom: 88px;
}
.contact-box { background: #fff; color: var(--muted); padding: clamp(26px, 3.4vw, 48px); }
.contact-box h2 {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08; color: var(--charcoal); margin: 0 0 14px; text-wrap: balance;
}
.contact-box > p { font-size: 17px; line-height: 1.65; margin: 0 0 28px; }
.contact-box .field label { text-transform: none; letter-spacing: 0; font-size: 16px; }
.form-error { color: #b42318; font-size: 15px; margin: 0; }
@media (max-width: 900px) {
  .contact-band-inner { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 56px; }
  .contact-box { order: -1; }
}
.case-fact { font-size: clamp(28px, 2.6vw, 38px); }
.case-fact span { white-space: nowrap; }

/* ======================================================================
   2.3 client media (Nov 2026): page heroes, history and project photos
   ====================================================================== */

/* ---------- Projects / Careers / Contact heroes: background photo that
   drifts on scroll, with a cut-out figure standing on the bottom edge ---------- */
.co-hero .co-hero-fg img { display: block; width: 100%; height: auto; }
.co-hero--page .co-hero-text { max-width: min(54%, 660px); }
.co-hero--page h1 { font-size: clamp(36px, 4.6vw, 64px); max-width: 17ch; }
.co-hero--projects .co-hero-fg, .co-hero--contact .co-hero-fg {
  width: auto; height: min(84%, 470px); right: clamp(20px, 6vw, 96px);
}
.co-hero--projects .co-hero-fg img, .co-hero--contact .co-hero-fg img { height: 100%; width: auto; }
.co-hero--careers .co-hero-fg { width: min(58%, 780px); right: clamp(0px, 2vw, 24px); }
@media (max-width: 860px) {
  .co-hero--projects .co-hero-fg, .co-hero--contact .co-hero-fg { width: auto; height: 260px; align-self: flex-end; margin-top: 12px; }
  .co-hero--careers .co-hero-fg { width: 100%; }
}

/* ---------- History: photo beside each period ---------- */
.hist-entry { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 330px); gap: 0 44px; align-items: start; }
.hist-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 4px; }
@media (max-width: 760px) {
  .hist-entry { display: block; }
  .hist-img { margin-top: 22px; }
}

/* ---------- Project cards: photo on top; the second photo fades in on hover ---------- */
.case { border-top: 0; padding-top: 0; grid-row: span 5; }
.case-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; background: var(--border-2); }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.case-media img + img { opacity: 0; }
@media (hover: hover) { .case:hover .case-media img + img { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .case-media img { transition: none; } }
/* Careers: keep the headline clear of the team photo. */
.co-hero--careers .co-hero-text { max-width: min(44%, 540px); }
@media (min-width: 861px) { .co-hero--careers .co-hero-fg { width: min(52%, 700px); } }
@media (max-width: 860px) { .co-hero--careers .co-hero-text { max-width: none; } }

/* ======================================================================
   2.4 smoothness pass (Nov 2026): image fade-in, staggered grids, touch
   ====================================================================== */
html { -webkit-text-size-adjust: 100%; }
a, button, [role="tab"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { background-color: rgba(127, 127, 127, .08); }
img[src$=".svg"], .client-chip img, .co-hero-fg img, .nav-brand img { background-color: transparent; }

/* Lazy images fade up from the placeholder tone once loaded (JS only, so the
   page never hides images when scripts fail). */
.js img[loading="lazy"]:not(.is-loaded) { opacity: 0; }
.js img[loading="lazy"] { transition: opacity .5s ease; }

/* Grids reveal card by card rather than as one slab. */
@media (prefers-reduced-motion: no-preference) {
  .case-grid[data-reveal].pre-reveal, .gp-cols[data-reveal].pre-reveal, .hse-cards[data-reveal].pre-reveal,
  .esg-grid[data-reveal].pre-reveal, .grid-6[data-reveal].pre-reveal, .news-grid[data-reveal].pre-reveal {
    opacity: 1; transform: none;
  }
  .case-grid.pre-reveal > *, .gp-cols.pre-reveal > *, .hse-cards.pre-reveal > *,
  .esg-grid.pre-reveal > *, .grid-6.pre-reveal > *, .news-grid.pre-reveal > * {
    opacity: 0; transform: translateY(16px);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  }
  .pre-reveal.in-view > * { opacity: 1; transform: none; }
  .pre-reveal.in-view > :nth-child(2) { transition-delay: .08s; }
  .pre-reveal.in-view > :nth-child(3) { transition-delay: .16s; }
  .pre-reveal.in-view > :nth-child(4) { transition-delay: .24s; }
  .pre-reveal.in-view > :nth-child(5) { transition-delay: .32s; }
  .pre-reveal.in-view > :nth-child(6) { transition-delay: .4s; }
  /* On phones grids stack, so each card reveals on its own and a stagger
     would only add waiting. */
  @media (max-width: 760px) { .pre-reveal.in-view > * { transition-delay: 0s !important; } }

  /* Buttons give a small press response on touch. */
  .btn:active { transform: scale(.98); }
  .btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease; }
}

/* Keep in-page jumps under the sticky bars. */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.proj-section { scroll-margin-top: calc(var(--nav-h) + 72px); }

/* ======================================================================
   2.5 inner-page heroes, one shared layout (Nov 2026)
   Every inner page (Why Wazen, Capabilities, Global Partnerships, Projects,
   Careers, Contact) uses the same banner: same height, same headline size,
   text aligned to the page content edge, and the cut-out figure standing on
   the bottom edge inside the same content width (not the screen edge).
   Earlier per-page hero rules are superseded by these.
   ====================================================================== */
header.co-hero { display: block; position: relative; min-height: 620px; overflow: hidden; }
header.co-hero .co-hero-inner {
  position: relative; display: flex; align-items: center;
  max-width: 1280px; min-height: 620px; margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 4vw, 56px) 56px;
}
header.co-hero .co-hero-text { position: relative; z-index: 2; width: 46%; max-width: 600px; }
header.co-hero h1 {
  font-size: clamp(38px, 4.1vw, 58px); line-height: 1.04; letter-spacing: -.005em;
  max-width: 15ch; margin: 0; color: #fff; text-wrap: balance;
}
header.co-hero h1 .em { color: inherit; }
header.co-hero .co-hero-intro { max-width: 54ch; margin-top: 20px; font-size: 16.5px; }

/* Figure: a box on the right half of the content width, bottom-aligned.
   Tall cut-outs are limited by the box height, wide ones by its width. */
header.co-hero .co-hero-fg {
  position: absolute; z-index: 1; margin: 0; pointer-events: none;
  top: calc(var(--nav-h) + 28px); bottom: 0; right: clamp(20px, 4vw, 56px);
  width: 48%; height: auto; display: flex; align-items: flex-end; justify-content: flex-end;
}
header.co-hero .co-hero-fg img {
  width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: right bottom;
}
header.co-hero .co-hero-fg--wide { width: 52%; }
/* Careers: the team photo is a wide strip, so it runs along the bottom under
   a top-aligned headline instead of squeezing into the right half. */
header.co-hero--careers .co-hero-inner { align-items: flex-start; }
header.co-hero--careers .co-hero-text { width: 60%; }
header.co-hero--careers .co-hero-fg { width: auto; left: clamp(20px, 4vw, 56px); top: calc(var(--nav-h) + 220px); justify-content: center; }

@media (max-width: 1100px) {
  header.co-hero, header.co-hero .co-hero-inner { min-height: 540px; }
  header.co-hero--careers .co-hero-fg { top: calc(var(--nav-h) + 190px); }
}

/* Phones and small tablets: headline first, then the figure on the bottom edge. */
@media (max-width: 860px) {
  header.co-hero, header.co-hero .co-hero-inner { min-height: 0; }
  header.co-hero .co-hero-inner {
    flex-direction: column; align-items: stretch;
    padding: calc(var(--nav-h) + 32px) clamp(20px, 4vw, 56px) 0;
  }
  header.co-hero .co-hero-text, header.co-hero--careers .co-hero-text { width: auto; max-width: none; }
  header.co-hero h1 { font-size: clamp(32px, 8.2vw, 46px); max-width: 16ch; }
  header.co-hero .co-hero-intro { font-size: 15.5px; }
  header.co-hero .co-hero-fg, header.co-hero--careers .co-hero-fg {
    position: relative; inset: auto; width: 100%; height: 260px; margin-top: 24px;
    justify-content: flex-end; align-items: flex-end;
  }
  header.co-hero .co-hero-fg--wide { height: auto; justify-content: center; }
  header.co-hero .co-hero-fg--wide img { width: 100%; max-height: none; }
}
@media (max-width: 400px) { header.co-hero .co-hero-fg:not(.co-hero-fg--wide) { height: 220px; } }
header.co-hero h1 { max-width: 18ch; }
@media (max-width: 860px) { header.co-hero h1 { max-width: 20ch; } }
/* Project sections: land with the section label just under the sticky bars
   (the section's own 96px top padding would otherwise add a large gap). */
.proj-section { scroll-margin-top: calc(var(--nav-h) + 4px); }

/* Touch comfort: text links in the homepage tab cards get a 44px tap area,
   and map filter labels are a little larger on phones. */
@media (hover: none), (max-width: 860px) {
  #company .tab-card .link { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; }
  .map-filters button { font-size: 13.5px; min-height: 44px; }
}
