
/* ==========================================================================
   Al Moizz Trading & Contracting site stylesheet
   Palette: brand navy + orange, sampled from the Redirection Shield logo,
   over warm paper neutrals
   build: 2026-09-24
   ========================================================================== */

:root {
  color-scheme: light;
  --ink: #1c2331;
  --ink-soft: #4d566a;
  --navy: #263644;
  --navy-deep: #16202b;
  --navy-mid: #33475a;
  --paper: #faf8f5;
  --paper-alt: #f1ede6;
  --amber: #da6016;
  --amber-deep: #a8460e;
  --amber-soft: #fbede3;
  --steel: #526478;
  --line: #e2ded7;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(22, 29, 43, .06), 0 2px 8px rgba(22, 29, 43, .06);
  --shadow-md: 0 4px 12px rgba(22, 29, 43, .08), 0 12px 32px rgba(22, 29, 43, .10);

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;

  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.06; letter-spacing: .005em; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--amber-deep); }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-deep); color: #fff; padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: clamp(40px, 6vw, 68px); }
.section--paper-alt { background: var(--paper-alt); }
.section--navy { background: var(--navy-deep); color: rgba(255,255,255,.78); }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber-deep); margin: 0 0 10px;
}
.section--navy .eyebrow { color: var(--amber); }

h1, .h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 800; text-transform: uppercase; }
h2, .h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; color: var(--navy-deep); }
h3, .h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 700; color: var(--navy-deep); }
.lead { font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.75; color: var(--ink-soft); }
.section--navy .lead, .section--navy p { color: rgba(255,255,255,.76); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; max-width: 660px; margin-inline: auto; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; min-height: 48px;
  font-family: var(--body); font-size: 15px; font-weight: 700; line-height: 1;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: var(--navy-deep); border-color: var(--amber); }
.btn--amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; }
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--navy .link-arrow { color: #fff; }
.section--navy .link-arrow:hover { color: var(--amber); }

/* ---------------------------------------------------------------- top bar */
.topbar {
  background: var(--navy-deep); color: rgba(255,255,255,.82);
  font-size: 13.5px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 9px; }
.topbar ul { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar li, .topbar a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--amber); }
.topbar .wa { color: var(--amber); font-weight: 700; }
.topbar svg { width: 15px; height: 15px; flex: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 30px; }
.nav a {
  font-weight: 600; font-size: 15.5px; color: var(--ink);
  padding-block: 6px; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--navy-deep); border-bottom-color: var(--line); }
.nav a[aria-current="page"] { color: var(--navy-deep); border-bottom-color: var(--amber); }
/* the quote button lives inside .nav, so it needs to out-specify `.nav a` */
.nav a.btn--navy { color: #fff; border-bottom-color: transparent; }
.nav a.btn--navy:hover { color: #fff; border-bottom-color: transparent; }

.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy-deep);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(-1px); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; background: var(--navy); overflow: hidden; isolation: isolate; min-height: 480px; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; z-index: -2; display: flex; justify-content: center; }
.hero__media img { width: 100%; max-width: 1900px; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(22,29,43,.94) 0%, rgba(22,29,43,.78) 42%, rgba(22,29,43,.28) 100%);
}
.hero .wrap { padding-block: clamp(32px, 6vw, 56px) clamp(40px, 7vw, 72px); width: 100%; }
@media (min-width: 1900px) {
  /* beyond this width the hero image is capped at max-width, so a taller
     box shows the full frame (including the branded barriers near the
     bottom) instead of the fixed 480px crop losing the lower portion */
  .hero { min-height: 805px; }
  /* the capped image no longer spans full bleed at these widths — fade
     its edges into the navy background instead of a hard seam */
  .hero__media img {
    mask-image: linear-gradient(to right, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
  }
}
.hero__inner { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,.85); font-size: clamp(16px, 1.7vw, 18.5px); line-height: 1.7; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* page banner (interior pages) */
.pagehead { position: relative; background: var(--navy); overflow: hidden; }
.pagehead::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 56px 56px;
}
.pagehead .wrap { position: relative; padding-block: clamp(44px, 7vw, 72px); }
.pagehead h1 { color: #fff; font-size: clamp(32px, 4.6vw, 50px); }
.crumb { font-size: 14px; color: rgba(255,255,255,.62); margin-top: 12px; }
.crumb a { color: rgba(255,255,255,.62); }
.crumb a:hover { color: var(--amber); }

/* ---------------------------------------------------------------- cards */
.card {
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3cec5; }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card__media { aspect-ratio: 10 / 7; overflow: hidden; background: var(--navy); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

.icon-box {
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--paper-alt); color: var(--navy);
}
.icon-box svg { width: 27px; height: 27px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.tile-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.tile {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--line); text-align: left;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.tile:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tile__text { flex: 1; }
.tile__text strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--navy-deep); }
.tile__text span { font-size: 13px; color: var(--ink-soft); line-height: 1.5; display: block; margin-top: 2px; }
.tile > svg:last-child { width: 18px; height: 18px; stroke: var(--steel); stroke-width: 2; fill: none; flex: none; }

.value { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.value .ring { width: 66px; height: 66px; border: 2px solid var(--amber); display: grid; place-items: center; color: var(--navy); }
.value .ring svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.value p { font-size: 13.6px; color: var(--ink-soft); margin: 0; }

.step { background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 9px; border: 1px solid var(--line); }
.step__num { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--amber-deep); line-height: 1; }
.step p { margin: 0; font-size: 13.8px; color: var(--ink-soft); }

.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  padding: 6px 12px; background: var(--paper-alt); color: var(--navy-deep); text-transform: uppercase;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; }

.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex; gap: 14px; align-items: center; padding: 17px 22px;
  background: var(--navy); border: 1px solid var(--navy-mid); color: #fff; font-size: 14.5px; font-weight: 600;
}
.checklist svg { width: 22px; height: 22px; stroke: var(--amber); stroke-width: 2; fill: none; flex: none; }

/* ---------------------------------------------------------------- equipment */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter {
  font-family: var(--body); font-size: 13.5px; font-weight: 700;
  padding: 11px 20px; min-height: 44px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  cursor: pointer; transition: all .16s ease;
}
.filter:hover { border-color: var(--steel); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.equip__price { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.equip__price b { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--navy-deep); line-height: 1; }
.equip__price span { font-size: 12.5px; color: var(--ink-soft); }
.equip__price.is-quote b { font-size: 19px; }

.equip__meta { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }

.disclose {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--body); font-size: 12.8px; font-weight: 700; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
}
.disclose:hover { color: var(--amber-deep); }
.disclose svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.2; fill: none; transition: transform .2s ease; }
.disclose[aria-expanded="true"] svg { transform: rotate(90deg); }

.details {
  background: var(--paper-alt); padding: 15px 17px; font-size: 12.8px; line-height: 1.65; color: var(--ink-soft);
}
.details ul { display: flex; flex-direction: column; gap: 5px; margin: 8px 0 10px; }
.details li { display: flex; gap: 8px; }
.details li::before { content: "▸"; color: var(--amber-deep); }
.details em { display: block; color: var(--steel); font-size: 12px; }

.requested {
  margin-top: auto; display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--amber-deep);
  background: var(--amber-soft); padding: 12px 14px; border: 1px solid #f0dcbe;
}
.requested svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2.4; fill: none; flex: none; }
.card__action { margin-top: auto; }

/* ---------------------------------------------------------------- feature block */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); background: var(--white); }
.feature__media { background: var(--navy); min-height: 340px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 15px; }

.service-row {
  display: grid; grid-template-columns: 84px 1fr; gap: 30px; align-items: start;
  background: var(--white); padding: clamp(24px, 3vw, 42px); border: 1px solid var(--line); margin-bottom: -1px;
}
.service-row .icon-box { width: 66px; height: 66px; }
.service-row .icon-box svg { width: 31px; height: 31px; }

/* service card with imagery */
.service-card {
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3cec5; }
.service-card__media { aspect-ratio: 20 / 13; overflow: hidden; background: var(--navy); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card__body .icon-box { width: 48px; height: 48px; }
.service-card__body .icon-box svg { width: 24px; height: 24px; }

/* gallery figures */
.shot { margin: 0; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.shot img { aspect-ratio: 20 / 13; width: 100%; object-fit: cover; transition: transform .4s ease; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  padding: 15px 20px; font-size: 13.4px; font-weight: 600; color: var(--navy-deep);
  border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------- cta band */
.cta-band {
  background: var(--amber);
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  padding-block: clamp(36px, 5vw, 56px);
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; color: var(--navy-deep); }
.cta-band .actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-band a.tel { font-weight: 700; color: var(--navy-deep); font-size: 17px; }

/* ---------------------------------------------------------------- forms */
.form-grid { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy-deep); }
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: 15px; padding: 13px 15px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: border-color .16s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber-deep); }
.field .hint { font-size: 12px; color: var(--steel); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.field .error { font-size: 12.4px; color: #c0392b; display: none; }
.field.has-error .error { display: block; }

.form-panel { background: var(--white); padding: clamp(28px, 4vw, 52px); }
.contact-panel { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 30px; }
.contact-panel h2 { color: #fff; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; stroke: var(--amber); stroke-width: 1.7; fill: none; flex: none; margin-top: 2px; }
.contact-list small { display: block; font-size: 11.6px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.contact-list a, .contact-list span { color: #fff; font-size: 15.5px; }

.map-embed {
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  overflow: hidden; min-height: 220px;
}
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 220px; border: 0; }

.form-success { display: none; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 32px; }
.form-success .ring { width: 58px; height: 58px; border: 2px solid var(--amber-deep); display: grid; place-items: center; color: var(--amber-deep); }
.form-success .ring svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2.4; fill: none; }
.is-sent .form-success { display: flex; }
.is-sent .form-live { display: none; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); }
.site-footer .wrap { padding-block: clamp(44px, 6vw, 66px) 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer h3 { font-family: var(--body); font-size: 12.6px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer img { height: 42px; margin-bottom: 14px; }
.site-footer p { font-size: 13.6px; line-height: 1.7; max-width: 290px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; font-size: 13.6px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--amber); }
.footer-base { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.6px; color: rgba(255,255,255,.5); }

/* ---------------------------------------------------------------- whatsapp fab */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); transition: transform .2s ease;
}
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.wa-fab svg { width: 28px; height: 28px; stroke: #fff; stroke-width: 1.7; fill: none; }

/* ---------------------------------------------------------------- reveal */
/* Reveal-on-scroll is a progressive enhancement: without JS (or for crawlers
   and print) every element stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tile-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .topbar ul li:nth-child(3) { display: none; }
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter would make the header a containing block for the
     position:fixed drawer below, trapping it inside the header box. */
  .site-header { backdrop-filter: none; background: var(--white); }
  .brand img { height: 34px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    padding: 92px 28px 32px; box-shadow: -8px 0 32px rgba(22,29,43,.18);
    transform: translateX(102%); transition: transform .28s ease; z-index: 120;
  }
  .nav[data-open="true"] { transform: none; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--amber); }
  .nav .btn { margin-top: 20px; width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(22,29,43,.5); z-index: 105;
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
  }
  /* the drawer lives inside the sticky header, which is its own stacking
     context: lift the whole header above the scrim while the menu is open */
  body.nav-open .site-header { z-index: 130; }
  .nav-backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }

  .grid-3, .grid-2, .split, .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 220px; }
  .service-row { grid-template-columns: 1fr; gap: 18px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar ul li:nth-child(2) { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------- print */
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .topbar, .site-header, .wa-fab, .cta-band, .btn { display: none !important; }
  body { background: #fff; }
  .hero::after { display: none; }
  /* scroll-triggered entrances never fire on a printed/exported page —
     force everything to its settled, fully-visible state */
  .js .hero__inner > *,
  .js .stat-band .stat,
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .hero__media img { transform: none !important; }
  .js .division__media img, .js .shot img { clip-path: none !important; transform: none !important; }
  /* CSS Grid/flex items stretched to a row's height can render blank when a
     page break lands mid-item — keep each one whole on one page */
  .card, .tile, .team-card, .step, .value, table tr { break-inside: avoid; }
  /* the data table's screen min-width + padding overflow the printable
     page width and clip the last column — shrink it to fit */
  .table-wrap { overflow: visible; }
  table.data { min-width: 0; width: 100%; table-layout: fixed; font-size: 10px; }
  table.data th, table.data td { padding: 6px 8px; overflow-wrap: break-word; }
  table.data th:nth-child(1), table.data td:nth-child(1) { width: 20%; }
  table.data th:nth-child(2), table.data td:nth-child(2) { width: 16%; }
  table.data th:nth-child(3), table.data td:nth-child(3) { width: 11%; }
  table.data th:nth-child(4), table.data td:nth-child(4) { width: 33%; }
  table.data th:nth-child(5), table.data td:nth-child(5) { width: 20%; }
  table.data thead th { letter-spacing: .02em; }
}

.route[hidden] { display: none !important; }
html { }

/* ==========================================================================
   Additions for the company-profile build (Sept 2026)
   Real photography, six business divisions, fleet schedule, project table.
   ========================================================================== */

.hero__media img { object-position: 50% 14%; }
.hero__kicker {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.hero__kicker span { display: inline-flex; align-items: center; gap: 8px; }
.hero__kicker span::before { content: ""; width: 6px; height: 6px; background: var(--amber); }

/* ------------------------------------------------------------ stat band */
.stat-band { background: var(--navy-deep); color: #fff; }
.stat-band .wrap { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 24px; padding-block: clamp(30px, 4vw, 44px); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--amber); line-height: 1; }
.stat span { font-size: 12.4px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.66); }

/* ------------------------------------------------------------ divisions */
.division {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); background: var(--white); margin-bottom: 28px;
}
.division:nth-child(even) .division__media { order: 2; }
.division__media { background: var(--navy); min-height: 320px; }
.division__media img { width: 100%; height: 100%; object-fit: cover; }
.division__body { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.division__body h2 { font-size: clamp(22px, 2.4vw, 30px); }
.division__body .lead { margin: 0; font-size: 15.4px; }

.cap-list { columns: 2; column-gap: 30px; margin: 6px 0 0; }
.cap-list li {
  break-inside: avoid; font-size: 13.6px; line-height: 1.55; color: var(--ink-soft);
  padding-left: 16px; position: relative; margin-bottom: 7px;
}
.cap-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--amber); }
.cap-list--one { columns: 1; }
.cap-group { margin-top: 4px; }
.cap-group h3 { font-family: var(--body); font-size: 12.4px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-deep); margin-bottom: 10px; }

/* ------------------------------------------------------------ team */
.team-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.team-card__photo { aspect-ratio: 1 / 1; background: var(--paper-alt); }
.team-card__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: grayscale(.25) saturate(.9) contrast(1.04);
}
.team-card__body { padding: 20px 22px; }
.team-card__body strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--navy-deep); line-height: 1.15; }
.team-card__body span { display: block; font-size: 13px; color: var(--amber-deep); font-weight: 700; margin-top: 3px; }
.team-card__body small { display: block; font-size: 12.6px; color: var(--steel); margin-top: 8px; }

/* ------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th {
  background: var(--navy-deep); color: #fff; font-family: var(--body);
  font-size: 11.6px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:nth-child(even) { background: var(--paper); }
table.data td strong { color: var(--navy-deep); }
.pill { display: inline-block; font-size: 11.4px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; }
.pill--live { background: var(--amber-soft); color: var(--amber-deep); border: 1px solid #f0dcbe; }
.pill--done { background: #eaf1ea; color: #3f6b46; border: 1px solid #d4e3d6; }

/* ------------------------------------------------------------ notices */
.notice {
  border-left: 3px solid var(--amber); background: var(--amber-soft);
  padding: 18px 22px; font-size: 14px; line-height: 1.65; color: var(--ink-soft);
}
.notice strong { color: var(--navy-deep); }
.section--navy .notice { background: rgba(255,255,255,.06); border-left-color: var(--amber); color: rgba(255,255,255,.78); }
.section--navy .notice strong { color: #fff; }
.muted-note { font-size: 13px; color: var(--steel); line-height: 1.6; }

/* ------------------------------------------------------------ equipment */
.equip__avail { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.equip__qty {
  font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--navy-deep); line-height: 1;
}
.equip__qty small { font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-left: 5px; letter-spacing: .04em; }
.equip__rate {
  font-size: 12.2px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--steel); border: 1px dashed var(--line); padding: 6px 10px;
}
.card__media--contain { background: var(--paper-alt); }
.card__media--contain img { object-fit: cover; }

/* ------------------------------------------------------------ misc */
.arabic { font-size: 19px; direction: rtl; color: var(--ink-soft); }
.fact-list { display: grid; gap: 0; border: 1px solid var(--line); background: var(--white); }
.fact-list div { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 14.4px; }
.fact-list div:last-child { border-bottom: none; }
.fact-list dt { font-weight: 700; color: var(--navy-deep); margin: 0; }
.fact-list dd { margin: 0; color: var(--ink-soft); }

.logo-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-strip span {
  font-size: 13px; font-weight: 600; color: var(--navy-deep);
  background: var(--white); border: 1px solid var(--line); padding: 10px 16px;
}

@media (max-width: 1024px) {
  .stat-band .wrap { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .division { grid-template-columns: 1fr; }
  .division:nth-child(even) .division__media { order: 0; }
  .division__media { min-height: 220px; }
  .cap-list { columns: 1; }
  .fact-list div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .stat-band .wrap { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* The width/height attributes on <img> act as presentation hints and win over
   `aspect-ratio`, so gallery figures need height back to auto for the ratio
   to take effect and the row to line up. */
.shot img { height: auto; }

/* the footer lockup must scale on height alone; a fixed width attribute
   letterboxes the SVG and pushes the mark off the column edge */
.site-footer img { width: auto; }

/* ==========================================================================
   Image sizing fix
   The width/height attributes on <img> are presentation hints that beat
   `aspect-ratio` and stretch the picture when CSS sets only the width.
   Height goes back to auto globally; the media blocks that genuinely need
   height:100% set it themselves and are more specific.
   ========================================================================== */
img { height: auto; }

.framed { display: block; overflow: hidden; background: var(--navy-deep); }
.framed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.framed--wide { aspect-ratio: 16 / 9; }
.framed--photo { aspect-ratio: 3 / 2; }

/* ==========================================================================
   Slideshow
   ========================================================================== */
.slideshow { position: relative; }
.slideshow__frame {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--navy-deep); border: 1px solid var(--line);
}
.slideshow__track { position: absolute; inset: 0; }

.slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  transform: scale(1.03);
  transition: opacity .62s ease, transform 1.4s ease, visibility 0s linear .62s;
}
.slide.is-active {
  opacity: 1; visibility: visible; transform: scale(1);
  transition: opacity .62s ease, transform 6s ease, visibility 0s;
}
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 54px 26px 22px;
  background: linear-gradient(to top, rgba(15,20,32,.9) 12%, rgba(15,20,32,0));
  color: #fff; font-size: 15px; line-height: 1.5; font-weight: 500;
}
.slide figcaption b {
  display: block; font-family: var(--display); font-size: 20px; font-weight: 700;
  letter-spacing: .01em; margin-bottom: 3px;
}

.slideshow__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  color: var(--navy-deep); transition: background .18s ease, transform .18s ease;
  z-index: 2;
}
.slideshow__nav:hover { background: var(--amber); color: #fff; }
.slideshow__nav:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.slideshow__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slideshow__nav--prev { left: 14px; }
.slideshow__nav--next { right: 14px; }

.slideshow__count {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(15,20,32,.72); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 12px;
}

.slideshow__dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.slideshow__dot {
  width: 34px; height: 4px; border: none; padding: 0; cursor: pointer;
  background: var(--line); transition: background .2s ease;
}
.slideshow__dot[aria-selected="true"] { background: var(--amber); }
.slideshow__dot:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.section--navy .slideshow__frame { border-color: var(--navy-mid); }
.section--navy .slideshow__dot { background: rgba(255,255,255,.22); }
.section--navy .slideshow__dot[aria-selected="true"] { background: var(--amber); }

@media (max-width: 640px) {
  .slideshow__frame { aspect-ratio: 4 / 3; }
  .slideshow__nav { width: 38px; height: 38px; }
  .slideshow__nav--prev { left: 8px; }
  .slideshow__nav--next { right: 8px; }
  .slide figcaption { padding: 44px 16px 16px; font-size: 13.6px; }
  .slide figcaption b { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: opacity .2s linear; transform: none; }
}


/* ---------------------------------------------------------------- motion */
/* Scroll and entrance choreography. Everything here is a progressive
   enhancement layered on the .js hook: with JS off, or with reduced motion
   requested, the page renders complete and static. Transform/opacity only,
   so nothing triggers layout during scroll. */

/* -- sticky header, condensed once the page scrolls -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-stuck {
  background: rgba(250, 248, 245, .93);
  backdrop-filter: saturate(1.4) blur(8px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(22, 29, 43, .10);
}
.site-header .brand img { transition: width .3s ease, height .3s ease; }
.js .site-header.is-stuck .brand img { width: 268px; height: auto; }

/* -- hero: staged entrance, image settling out of a slow push-in -- */
.js .hero__inner > * { opacity: 0; transform: translateY(34px) scale(.985); }
.js .hero.is-in .hero__inner > * {
  opacity: 1; transform: none;
  transition: opacity .85s cubic-bezier(.16,.84,.32,1),
              transform .95s cubic-bezier(.16,.84,.32,1);
}
.js .hero.is-in .hero__inner > *:nth-child(1) { transition-delay: .08s; }
.js .hero.is-in .hero__inner > *:nth-child(2) { transition-delay: .22s; }
.js .hero.is-in .hero__inner > *:nth-child(3) { transition-delay: .36s; }
.js .hero.is-in .hero__inner > *:nth-child(4) { transition-delay: .50s; }
.js .hero.is-in .hero__inner > *:nth-child(5) { transition-delay: .64s; }

.js .hero__media img {
  transform: scale(1.07);
  transition: transform 1.6s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.js .hero.is-in .hero__media img { transform: scale(1); }
/* once the entrance has settled, the parallax handler drives the transform */
.js .hero.is-parallax .hero__media img { transition: none; }

/* -- reveal: softer curve, slight scale so it reads as arriving, not sliding -- */
.js .reveal {
  opacity: 0; transform: translateY(36px) scale(.985);
  transition: opacity .7s cubic-bezier(.16,.84,.32,1),
              transform .85s cubic-bezier(.16,.84,.32,1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* -- amber rule that wipes in under each section heading -- */
.js .section-head h2::after {
  content: ""; display: block; height: 3px; width: 0;
  background: var(--amber); margin-top: 14px;
  transition: width .8s cubic-bezier(.16,.84,.32,1) .2s;
}
.js .section-head h2.is-visible::after,
.js .section-head .is-visible h2::after { width: 88px; }

/* -- cards and tiles lift on hover, media pushes in behind them -- */
.card, .tile {
  transition: transform .28s cubic-bezier(.22,.61,.36,1),
              box-shadow .28s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-9px);
  box-shadow: 0 8px 20px rgba(22,29,43,.10), 0 22px 48px rgba(22,29,43,.16);
  border-color: var(--amber);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card:hover .icon-box, .tile:hover .icon-box {
  background: var(--amber); border-color: var(--amber);
}
.card .icon-box, .tile .icon-box { transition: background .22s ease, border-color .22s ease; }
.card__media { overflow: hidden; }
.card__media img { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.card:hover .card__media img { transform: scale(1.06); }

/* -- primary buttons fill from the left on hover -- */
.btn--navy, .btn--amber { position: relative; overflow: hidden; z-index: 0; }
.btn--navy::before, .btn--amber::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--amber-deep);
  transform: translateX(-101%);
  transition: transform .36s cubic-bezier(.22,.61,.36,1);
}
.btn--navy:hover::before, .btn--amber:hover::before { transform: translateX(0); }

/* -- division and gallery imagery rises into frame as the block reveals --
   Transform only, never clip-path: a fully clipped <img loading="lazy"> is
   treated as off-screen by the browser and never downloads at all. */
.js .division__media, .js .shot { overflow: hidden; }
.js .division__media img, .js .shot img {
  transform: translateY(5%) scale(1.12);
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1) .08s;
}
.js .division.is-visible .division__media img,
.js .division__media.is-visible img,
.js .shot.is-visible img { transform: none; }

/* -- the band's figures rise into place while they count up -- */
.stat b { font-variant-numeric: tabular-nums; }
.js .stat-band .stat { opacity: 0; transform: translateY(22px); }
.js .stat-band.is-shown .stat {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.16,.84,.32,1),
              transform .8s cubic-bezier(.16,.84,.32,1);
}
.js .stat-band.is-shown .stat:nth-child(1) { transition-delay: .00s; }
.js .stat-band.is-shown .stat:nth-child(2) { transition-delay: .12s; }
.js .stat-band.is-shown .stat:nth-child(3) { transition-delay: .24s; }
.js .stat-band.is-shown .stat:nth-child(4) { transition-delay: .36s; }
.js .stat-band.is-shown .stat:nth-child(5) { transition-delay: .48s; }

/* -- WhatsApp button asks for attention once, quietly -- */
@keyframes wa-pulse {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(218, 96, 22, .45); }
  50%      { box-shadow: var(--shadow-md), 0 0 0 15px rgba(218, 96, 22, 0); }
}
.wa-fab.is-nudging { animation: wa-pulse 2.3s ease-out 2; }

/* -- respect the visitor's setting: no entrances, no parallax, no pulse -- */
@media (prefers-reduced-motion: reduce) {
  .js .hero__inner > *,
  .js .stat-band .stat,
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .hero__media img { transform: none !important; }
  .js .division__media img, .js .shot img { clip-path: none !important; transform: none !important; }
  .js .section-head h2::after { width: 64px !important; transition: none !important; }
  .wa-fab.is-nudging { animation: none !important; }
  .card:hover, .tile:hover { transform: none !important; }
}

/* ==========================================================================
   Leadership list with hover portraits, implementation teams, site gallery
   (Oct 2026)
   ========================================================================== */

/* -- leadership: names are the interface, the portrait pops up on hover -- */
.people__hint { margin: 0 0 20px; font-size: 13px; letter-spacing: .02em; color: var(--steel); }
.people__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.person { position: relative; border-bottom: 1px solid var(--line); }
.person__row {
  appearance: none; background: none; border: 0; margin: 0; font: inherit; color: inherit; text-align: left;
  width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 28px; align-items: center; gap: 18px;
  padding: clamp(20px, 2.6vw, 30px) 4px; position: relative; cursor: pointer;
}
.person__row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.person__row:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 2px; }
.person__idx { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .06em; color: var(--amber-deep); }
.person__name {
  font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.05;
  color: var(--navy-deep); transition: transform .45s cubic-bezier(.22,.61,.36,1), color .25s ease;
}
.person__role { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); text-align: right; }
.person__arrow {
  width: 22px; height: 22px; stroke: var(--amber-deep); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: translateX(-10px); transition: opacity .3s ease, transform .4s cubic-bezier(.22,.61,.36,1);
}
.person.is-open .person__name, .person__row:focus-visible .person__name { transform: translateX(14px); color: var(--amber-deep); }
.person.is-open .person__row::after, .person__row:focus-visible::after { transform: scaleX(1); }
.person.is-open .person__arrow, .person__row:focus-visible .person__arrow { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .person:hover .person__name { transform: translateX(14px); color: var(--amber-deep); }
  .person:hover .person__row::after { transform: scaleX(1); }
  .person:hover .person__arrow { opacity: 1; transform: none; }
}

/* the pop-up portrait: follows the cursor, springs in with a slight tilt */
.person__pop {
  margin: 0; position: absolute; left: 0; top: 0; z-index: 6; width: clamp(190px, 17vw, 236px);
  padding: 8px 8px 0; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-md), 0 26px 50px rgba(22, 29, 43, .2);
  pointer-events: none; opacity: 0; scale: .78; rotate: -6deg; transform-origin: 18% 85%;
  translate: calc(var(--x, 58%) + 34px) calc(var(--y, 50%) - 58%);
  transition: opacity .2s ease, scale .35s ease, rotate .35s ease;
}
.person__pop::before { content: ""; position: absolute; left: -1px; top: -1px; width: 38px; height: 4px; background: var(--amber); z-index: 1; }
.person__pop img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; background: var(--paper-alt); }
.person__pop figcaption { display: flex; flex-direction: column; gap: 2px; padding: 11px 6px 13px; }
.person__pop strong { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--navy-deep); line-height: 1.1; }
.person__pop span { font-size: 10.8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.person:focus-within .person__pop, .person.is-open .person__pop {
  opacity: 1; scale: 1; rotate: 2.5deg;
  transition: opacity .22s ease, scale .55s cubic-bezier(.34,1.56,.64,1), rotate .55s cubic-bezier(.34,1.56,.64,1), translate .3s cubic-bezier(.22,.61,.36,1);
}
@media (hover: hover) and (pointer: fine) {
  .person:hover .person__pop {
    opacity: 1; scale: 1; rotate: 2.5deg;
    transition: opacity .22s ease, scale .55s cubic-bezier(.34,1.56,.64,1), rotate .55s cubic-bezier(.34,1.56,.64,1), translate .3s cubic-bezier(.22,.61,.36,1);
  }
}

/* touch and narrow screens: no hover, so tapping a name opens the portrait inline */
@media (hover: none), (pointer: coarse), (max-width: 720px) {
  .person__row { grid-template-columns: 38px minmax(0, 1fr) 24px; gap: 12px; }
  .person__role { grid-column: 2; grid-row: 2; text-align: left; margin-top: -4px; }
  .person__arrow { grid-column: 3; grid-row: 1 / span 2; opacity: .7; transform: none; }
  .person.is-open .person__arrow { transform: rotate(90deg); opacity: 1; }
  .person__name { font-size: clamp(26px, 8vw, 38px); }
  .person__pop {
    display: none; position: static; translate: none; rotate: none; scale: 1; opacity: 1; width: min(250px, 72%);
    margin: 0 0 22px 50px; transition: none; box-shadow: var(--shadow-sm);
  }
  .person.is-open .person__pop { display: block; rotate: none; animation: person-in .5s cubic-bezier(.34,1.56,.64,1) both; }
}
@keyframes person-in { from { opacity: 0; transform: translateY(-12px) scale(.94); } to { opacity: 1; transform: none; } }

/* delivery teams: same rhythm as the leadership list, but no portraits */
.people__sub { margin: 46px 0 14px; }
.person--team .person__row { cursor: default; padding-block: clamp(14px, 1.8vw, 20px); }
.person--team .person__name { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--navy); }
.person--team .person__idx { color: var(--steel); }
.person--team .person__row::after { display: none; }

/* implementation teams (homepage feature) */
.impl { margin: 2px 0 4px; }
.impl__label { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.impl__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.impl__list li { padding: 10px 12px; background: var(--paper-alt); border-left: 3px solid var(--amber); font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--navy-deep); }
@media (max-width: 720px) { .impl__list { grid-template-columns: 1fr; } }

/* site gallery: natural proportions in columns, click for the full photo */
.masonry { columns: 3 280px; column-gap: 14px; margin-top: 10px; }
.masonry__item {
  display: block; position: relative; margin: 0 0 14px; break-inside: avoid; overflow: hidden;
  background: var(--navy); border: 1px solid var(--line); cursor: zoom-in;
}
.masonry__item img { display: block; width: 100%; height: auto; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.masonry__item::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px;
  background: rgba(22, 29, 43, .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.masonry__item:hover img, .masonry__item:focus-visible img { transform: scale(1.045); }
.masonry__item:hover::after, .masonry__item:focus-visible::after { opacity: 1; transform: none; }
.masonry__item:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 2px; }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; background: rgba(12, 17, 26, .95); }
.lightbox.is-open { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: lb-in .25s ease both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
body.lb-open { overflow: hidden; }
.lightbox__stage { display: grid; place-items: center; padding: 56px 76px 8px; min-height: 0; }
.lightbox__img {
  display: block; max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55); transition: opacity .25s ease;
}
.lightbox__img.is-loading { opacity: 0; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 28px 22px; color: rgba(255,255,255,.82); font-size: 13.5px; }
.lightbox__cap { margin: 0; max-width: 70ch; }
.lightbox__count { flex: none; font-weight: 700; letter-spacing: .08em; color: var(--amber); }
.lightbox__btn {
  position: absolute; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; transition: background .2s ease;
}
.lightbox__btn:hover { background: var(--amber); border-color: var(--amber); }
.lightbox__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox__btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__btn--close { top: 14px; right: 16px; }
.lightbox__btn--prev { left: 16px; top: 50%; margin-top: -40px; }
.lightbox__btn--next { right: 16px; top: 50%; margin-top: -40px; }
@media (max-width: 720px) {
  .lightbox__stage { padding: 62px 10px 4px; }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 62px; margin-top: 0; }
  .lightbox__bar { padding: 10px 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .person__pop, .person__name, .person__arrow, .person__row::after, .masonry__item img, .lightbox__img { transition: none !important; }
  .person__pop { scale: 1 !important; rotate: none !important; }
  .person.is-open .person__pop { animation: none !important; }
  .lightbox.is-open { animation: none; }
}
@media print {
  .person__pop, .lightbox, .person__arrow { display: none !important; }
  .person__row { break-inside: avoid; }
  .masonry { columns: 2; }
}

/* agency credit in the footer base line */
.footer-base a { color: rgba(255,255,255,.72); text-decoration: underline; text-decoration-color: rgba(255,255,255,.28); text-underline-offset: 3px; }
.footer-base a:hover { color: var(--amber); text-decoration-color: var(--amber); }

/* Division 05: two photographs side by side */
.division__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.division__media--duo img { height: 100%; min-height: 0; }
@media (max-width: 720px) {
  .division__media--duo { min-height: 0; }
  .division__media--duo img { aspect-ratio: 3 / 4; height: auto; }
}

/* project photo library: one card per project, photos open in the viewer */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard { background: var(--white); border: 1px solid var(--line); }
.pcard .masonry__item { margin: 0; border: 0; }
.pcard__cover { aspect-ratio: 3 / 2; }
.pcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.pcard__count {
  position: absolute; left: 12px; top: 12px; padding: 5px 10px; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(22, 29, 43, .82);
}
.pcard__title { margin: 0; padding: 16px 18px 18px; font-size: 1.05rem; }
@media (max-width: 960px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }
.pcard .masonry__item[hidden] { display: none; }
