/* Edge Evolve — "Advance" design system, aligned 2026-10-13 to the Edge Evolve Group
   reference page (brand-guideline navy/gold/bronze, Montserrat + IBM Plex, square
   geometry with a cut top-right corner, the Ascent grid on navy). See DESIGN.md. */

:root {
  --navy:    #073147;
  --navy-2:  #0B3B54;
  --navy-line:#23506A;
  --midnight:#04212F;
  --gold:    #FAB325;
  --gold-d:  #946403;
  --bronze:  #A89056;
  --blue:    #4087C6;
  --slate:   #3D5666;
  --steel:   #62798A;
  --line:    #D3DCE1;
  --mist:    #E9EEF1;
  --paper:   #F6F8F9;
  --white:   #FFFFFF;
  --on-navy: #D5E0E6;
  --on-navy-2:#9FB3BF;

  /* role tokens (names kept from the previous system so every page keeps working) */
  --bg:        var(--white);
  --surface:   var(--white);
  --surface-2: var(--paper);
  --ink:       var(--navy);
  --ink-2:     var(--slate);
  --ink-3:     var(--steel);
  --accent:    var(--gold);
  --accent-2:  #F0A30A;
  --accent-ink:var(--navy);
  --accent-text: var(--gold-d);   /* gold that passes AA as text on light grounds */
  --teal:      var(--slate);      /* eyebrow colour on light grounds */
  --line-2:    #B9C7CF;

  --display: "Montserrat", Arial, sans-serif;
  --body:    "IBM Plex Sans", Arial, sans-serif;
  --mono:    "IBM Plex Mono", Consolas, monospace;

  --ascent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M14 42H42V14' fill='none' stroke='%231A4862' stroke-width='1.5'/%3E%3C/svg%3E");

  --sp-1: .5rem; --sp-2: .75rem; --sp-3: 1rem; --sp-4: 1.5rem;
  --sp-5: 2rem; --sp-6: 3rem; --sp-7: 4rem; --sp-8: clamp(4rem, 9vw, 7rem);

  --fs-h1:   clamp(2.2rem, 4.4vw, 3.6rem);
  --fs-h2:   clamp(1.75rem, 3.4vw, 2.5rem);
  --fs-h3:   1.25rem;
  --fs-lead: clamp(1.06rem, 1.6vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  --cut: 18px;
  --radius: 0px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

/* dark grounds re-point the role tokens, so inline colours in the pages stay legible */
.hero, .cta-band, .io, .site-footer {
  --accent-text: var(--gold);
  --teal: var(--gold);
  --ink: var(--white);
  --ink-2: var(--on-navy);
  --ink-3: var(--on-navy-2);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *{ transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0 0 var(--sp-3); max-width: 68ch; color: var(--ink-2); }
p.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }

.mono, .eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  line-height: 1.3;
  color: var(--teal);
}

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-6); }
.section--surface { background: var(--paper); }
.section--top { border-top: 1px solid var(--line); }
.section > .wrap > .mono:first-child, .section .wrap > p.mono, .section .wrap > h2.mono { margin-bottom: var(--sp-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: flex-start; height: 80px; gap: var(--sp-5); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 62px; width: auto; display: block; }

nav.primary-nav { display: flex; align-items: center; gap: var(--sp-5); flex: 1; }
nav.primary-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; align-items: center; width: 100%; }
nav.primary-nav ul > li.nav-utility-start { margin-inline-start: auto; }
nav.primary-nav a,
nav.primary-nav > ul > li.dropdown > button {
  font: 600 14px var(--display); text-decoration: none; color: var(--navy);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
nav.primary-nav > ul > li.dropdown > button { all: unset; cursor: pointer; font: 600 14px var(--display); color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
nav.primary-nav a:hover, nav.primary-nav a[aria-current="page"],
nav.primary-nav > ul > li.dropdown > button:hover,
nav.primary-nav > ul > li.dropdown:focus-within > button { color: var(--navy); border-color: var(--gold); }
nav.primary-nav a.btn { border-bottom: 0; padding: 13px 20px; font-size: 14px; }
nav.primary-nav a.btn:hover { border-color: transparent; }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 22px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  padding: var(--sp-2); min-width: 260px; display: grid; gap: 0;
  box-shadow: 0 18px 40px rgba(7,49,71,.12);
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .18s ease, translate .18s ease, visibility .18s;
}
.dropdown:hover > .dropdown-panel, .dropdown:focus-within > .dropdown-panel { opacity: 1; visibility: visible; translate: 0 0; }
nav.primary-nav .dropdown-panel a { display: block; padding: .6rem .75rem; font: 500 14px var(--body); border: none; color: var(--navy); }
nav.primary-nav .dropdown-panel a:hover { background: var(--paper); box-shadow: inset 3px 0 0 var(--gold); }
.dropdown-divider { border: none; border-top: 1px solid var(--line); margin: var(--sp-2) 0; }

.dropdown-panel--mega { display: flex; align-items: flex-start; gap: var(--sp-5); min-width: 480px; left: 50%; transform: translateX(-50%); }
.mega-col { display: flex; flex-direction: column; gap: 0; min-width: 220px; }
.mega-col-title {
  font: 500 11px var(--mono); text-transform: uppercase;
  letter-spacing: .12em; color: var(--steel); padding: .3rem .75rem .5rem; margin: 0;
}
.mega-col--industries { border-inline-start: 1px solid var(--line); padding-inline-start: var(--sp-4); min-width: 200px; }
@media (max-width: 960px) {
  .dropdown-panel--mega { flex-direction: column; gap: 0; min-width: 0; }
  .mega-col--industries { border-inline-start: none; padding-inline-start: 0; border-top: 1px solid var(--line); margin-top: var(--sp-2); padding-top: var(--sp-2); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--display); letter-spacing: .02em;
  padding: 16px 22px; min-height: 48px; border: 0; cursor: pointer; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  transition: filter .15s, background .15s, box-shadow .15s;
}
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); clip-path: none; }
.btn--ghost:hover { background: var(--paper); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #0E4562; }
.hero .btn--ghost, .cta-band .btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--on-navy-2); }
.hero .btn--ghost:hover, .cta-band .btn--ghost:hover { background: var(--navy-2); }
.lnk { font: 600 15px var(--display); color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--navy); color: var(--navy); padding: .5rem .75rem; font-size: 1rem; cursor: pointer; }

.nav-search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: none; border: none;
  color: var(--navy); cursor: pointer; padding: 0;
}
.nav-search-toggle:hover { color: var(--gold-d); }
/* EN | عربي switch: the current language is filled navy, the other is a link */
.lang-switch { display: inline-flex; direction: ltr; border: 1.5px solid var(--navy); }
nav.primary-nav .lang-opt {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 32px;
  padding: 0 .55rem; border: 0; font: 600 13px var(--display); line-height: 1; color: var(--navy); text-decoration: none;
}
nav.primary-nav .lang-opt:lang(ar) { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; font-size: 14px; }
nav.primary-nav .lang-opt.is-current { background: var(--navy); color: var(--white); }
nav.primary-nav a.lang-opt:hover { background: var(--paper); color: var(--navy); }
nav.primary-nav a.lang-opt:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[lang="ar"] { letter-spacing: normal; text-transform: none; }

.search-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh var(--gutter) var(--sp-5); background: rgba(4,33,47,.6);
  backdrop-filter: blur(3px);
}
.search-overlay[hidden] { display: none; }
.search-box {
  position: relative; width: 100%; max-width: 640px; background: var(--white);
  border-top: 4px solid var(--navy); box-shadow: 0 24px 60px rgba(4,33,47,.3);
  padding: var(--sp-4); max-height: 70vh; display: flex; flex-direction: column; gap: var(--sp-3);
}
.search-input {
  width: 100%; font: inherit; font-size: 1.1rem; padding: .85rem 1rem;
  border: 1.5px solid var(--line-2); color: var(--navy); background: var(--white); border-radius: 0;
}
.search-input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.search-close {
  position: absolute; top: var(--sp-4); right: var(--sp-4); background: none; border: none;
  color: var(--slate); font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.search-results { display: flex; flex-direction: column; overflow-y: auto; }
.search-results a { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .9rem; text-decoration: none; color: var(--navy); border-top: 1px solid var(--line); }
.search-results a:hover, .search-results a:focus { background: var(--paper); }
.search-result-title { font: 600 15px var(--display); }
.search-result-desc { font-size: .85rem; color: var(--slate); }
.search-no-results { color: var(--slate); padding: .5rem .9rem; margin: 0; }

@media (max-width: 1060px) {
  .site-header .wrap { height: 68px; }
  .brand img { height: 46px; }
  nav.primary-nav { position: fixed; inset: 68px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; padding: var(--sp-4) var(--gutter); overflow-y: auto; translate: 0 -8px; opacity: 0; visibility: hidden; transition: opacity .2s ease, translate .2s ease, visibility .2s; }
  nav.primary-nav.is-open { translate: 0 0; opacity: 1; visibility: visible; }
  nav.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.primary-nav > ul > li > a, nav.primary-nav > ul > li.dropdown > button { display: block; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  nav.primary-nav ul > li.nav-utility-start { margin-inline-start: 0; }
  .nav-utility-start, nav.primary-nav li:has(> .lang-switch) { display: inline-flex; padding: .8rem 0; }
  .dropdown-panel { position: static; transform: none; opacity: 1; visibility: visible; translate: 0; background: none; border: none; box-shadow: none; padding: 0 0 0 var(--sp-3); display: none; }
  .dropdown.is-open .dropdown-panel { display: grid; }
  nav.primary-nav a.btn { margin-top: var(--sp-3); justify-content: center; }
  .nav-toggle { display: inline-flex; margin-inline-start: auto; }
}

/* ---------- Hero (navy ground, Ascent grid, optional faded photo) ---------- */
.hero {
  position: relative; overflow: clip; color: var(--white);
  background: var(--navy);
  padding-block: clamp(56px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(7,49,71,.6) 55%, rgba(7,49,71,0) 100%), var(--ascent);
}
.hero-media { position: absolute; inset: 0 0 0 auto; width: 58%; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(.35); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(7,49,71,.35) 60%, rgba(7,49,71,.15) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 22ch; margin: 18px 0 22px; }
.hero p.lead { color: var(--on-navy); }
.hero .eyebrow, .hero .mono { color: var(--gold); }
.hero .breadcrumb, .hero .breadcrumb a { color: var(--on-navy-2); }
.hero .breadcrumb a:hover { color: var(--gold); }
.hero .cta-row, .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero--full { min-height: 0; }
@media (max-width: 760px) { .hero-media { width: 100%; } .hero-media img { opacity: .22; } }

.hero-scroll-cue { display: none; }

/* home hero: copy + rising Step diagram */
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 48px; align-items: center; }
.hero-grid h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; }
.climb { width: 100%; max-width: 520px; justify-self: end; }
.climb text { font-family: var(--display); font-weight: 600; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .climb { justify-self: start; } }

/* ---------- Page hero (legacy, light) ---------- */
.breadcrumb { font-size: var(--fs-small); color: var(--steel); margin-bottom: var(--sp-4); }
.breadcrumb a { color: inherit; text-decoration: none; }

/* ---------- Section head ---------- */
.shead { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); max-width: 760px; }
.shead > * { margin: 0; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(24px, 4vw, 48px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 860px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid--4 { grid-template-columns: 1fr; } }

/* entrance motion: up-right, from a visible resting state (content never hidden) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translate(-8px, 10px); transition: transform .4s ease-out; }
  .reveal.is-visible { transform: none; }
  .rise { animation: rise .4s ease-out both; }
  .rise.d2 { animation-delay: .16s; }
  @keyframes rise { from { transform: translate(-8px, 10px); } to { transform: none; } }
}

.diff-item { padding-block: var(--sp-4); border-top: 1px dashed var(--line); display: grid; grid-template-columns: 72px 1fr; gap: var(--sp-4); align-items: start; }
.diff-item:first-of-type { border-top: none; }
.diff-num { font: 600 2.4rem/1 var(--display); letter-spacing: -.02em; color: var(--steel); font-variant-numeric: tabular-nums; }
.diff-item h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.diff-item p { margin: 0; font-size: .95rem; }

.usecase { border-top: 1px solid var(--line); padding-block: var(--sp-5); display: flex; gap: var(--sp-4); align-items: flex-start; flex-wrap: wrap; }
.usecase .sector { color: var(--accent-text); }
.usecase h3 { margin-top: .35rem; margin-bottom: .5rem; }
.usecase .field { margin-bottom: .5rem; }
.usecase .field b { color: var(--navy); font-weight: 600; display: inline; }
.usecase-body { flex: 1 1 320px; min-width: 0; padding-inline-start: 14px; border-inline-start: 3px solid var(--gold); }
.usecase-logo {
  flex: none; width: 96px; height: 96px; background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: .6rem; order: 2;
}
.usecase-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 640px) { .usecase-logo { order: -1; } }

.practice-card {
  display: grid; gap: 10px; align-content: start; text-decoration: none; padding: 24px 22px 22px;
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
  transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s;
}
.practice-card:hover { transform: translate(2px, -2px); box-shadow: -4px 4px 0 var(--gold); border-color: var(--navy); }
.practice-card .mono { color: var(--steel); font-size: 10.5px; letter-spacing: .1em; }
.practice-card h3, .practice-card h2 { margin: 0; font-size: 1.1rem; }
.practice-card p { font-size: .92rem; margin: 0; }

.logo-wall { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-chip { font: 600 14px var(--display); border: 1px solid var(--line); padding: 9px 14px; background: var(--white); color: var(--navy); text-decoration: none; }
a.logo-chip:hover { border-color: var(--navy); box-shadow: -3px 3px 0 var(--gold); }

.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-card {
  background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  height: 96px; display: flex; align-items: center; justify-content: center; padding: var(--sp-3);
}
.logo-card img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.pillar {
  background: var(--white); border: 1px solid var(--line); padding: 26px 24px 24px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.section--surface .pillar { background: var(--white); }
.pillar .mono { color: var(--accent-text); }
.pillar h3, .pillar h2 { margin-bottom: var(--sp-2); font-size: 1.1rem; }
.pillar p:last-child { margin-bottom: 0; }
.pillar p { font-size: .95rem; }

.figure { overflow: hidden; border: 1px solid var(--line); border-radius: 0 !important; }
.figure img { width: 100%; }
img.figure { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); border: 0; }
.figure figcaption { margin: 0; padding: var(--sp-2) var(--sp-3); font-size: .78rem; color: var(--steel); background: var(--paper); }

.callout { padding: 16px 18px; background: var(--paper); border-left: 3px solid var(--gold); font-size: 1.05rem; color: var(--navy); }

/* ---------- CTA band (navy, Ascent grid) ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 104px); background: var(--navy); color: var(--white); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--navy) 0%, rgba(7,49,71,.6) 55%, rgba(7,49,71,0) 100%), var(--ascent); }
.cta-band .wrap { position: relative; }
.cta-band h2 { max-width: 26ch; margin-top: 14px; }
.cta-band p { color: var(--on-navy); }

/* ---------- Footer (midnight, brand stripe) ---------- */
footer.site-footer {
  background: linear-gradient(90deg, var(--navy) 0 70%, var(--bronze) 70% 85%, var(--gold) 85%) top / 100% 6px no-repeat, var(--midnight);
  color: var(--on-navy-2); font-size: 14px;
  padding-block: calc(56px + 6px) 0;
}
.footer-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2, .footer-grid h4, .footer-grid h6 { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--on-navy-2); margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-grid a { text-decoration: none; color: var(--on-navy); font-size: 14px; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-grid p { color: var(--on-navy-2); font-size: 14px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.plate {
  background: var(--white); display: inline-block; padding: 14px 16px; width: 230px; --cut: 14px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.plate img { width: 100%; height: auto; }
.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 1px solid var(--navy-line); color: var(--on-navy);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  margin-top: 40px; padding-block: 20px 28px; background: linear-gradient(var(--navy-line), var(--navy-line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--on-navy-2);
}
.footer-bottom a { color: var(--on-navy-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-links { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

.skip-link { position: absolute; inset-inline-start: var(--sp-3); top: -4rem; background: var(--gold); color: var(--navy); padding: .8rem 1.2rem; z-index: 100; transition: top .15s ease; font-weight: 600; }
.skip-link:focus { top: 0; }

::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* =====================================================================
   Home page components (from the Edge Evolve Group reference)
   ===================================================================== */

/* proof bar */
.proof { border-bottom: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.proof .wrap > div { padding: 28px 20px 26px; border-left: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.proof .wrap > div:first-child { border-left: 0; padding-left: 0; }
.proof b { font: 600 clamp(32px, 3.6vw, 44px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--navy); }
.proof span { font-size: 14px; color: var(--slate); }
@media (max-width: 760px) {
  .proof .wrap { grid-template-columns: 1fr 1fr; }
  .proof .wrap > div { padding: 22px 16px; }
  .proof .wrap > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* the joins */
.joins { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.join { background: var(--white); border: 1px solid var(--line); padding: 22px 18px 20px; display: grid; gap: 14px; align-content: start; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.join .gap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 600 15px var(--display); color: var(--navy); }
.join .gap i { flex: none; width: 34px; height: 2px; background: var(--navy); position: relative; }
.join .gap i::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); transform: rotate(45deg); }
.join p { color: var(--slate); font-size: 15px; margin: 0; }
.join .by { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); border-top: 1px dashed var(--line); padding-top: 12px; }
.join .by a { text-decoration: none; }
.join .by a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }
.join .jst { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); display: flex; gap: 8px; align-items: baseline; }
.join .jst b { font-weight: 500; color: var(--slate); }
@media (max-width: 1060px) { .joins { grid-template-columns: repeat(6, minmax(0,1fr)); } .join { grid-column: span 2; } .join:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 860px) { .joins { grid-template-columns: 1fr; } .join, .join:nth-child(n+4) { grid-column: auto; } }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: 48px; border-top: 2px solid var(--navy); }
.pillars div { padding: 20px 20px 0 0; display: grid; gap: 6px; align-content: start; }
.pillars h3 { font-size: 16px; margin: 0; }
.pillars p { font-size: 14.5px; color: var(--slate); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr 1fr; gap: 8px 16px; } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* practice map */
.mapwrap { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; }
.map { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) minmax(0,.9fr); column-gap: 22px; row-gap: 0; }
.map svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.stage { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); padding-bottom: 12px; display: flex; gap: 8px; align-items: baseline; grid-row: 1; }
.stage b { font-weight: 500; color: var(--slate); }
.node { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--line); padding: 16px 14px 14px; text-align: left; font: inherit; color: var(--navy); cursor: pointer; display: grid; gap: 8px; align-content: start; min-height: 132px; text-decoration: none; transition: transform .2s ease-out, box-shadow .2s ease-out, opacity .2s, border-color .2s; }
.node:hover, .jstep:is(:hover, :focus-visible) { transform: translate(2px, -2px); box-shadow: -4px 4px 0 var(--gold); }
.node svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linejoin: miter; stroke-linecap: square; }
.node .nm { font: 600 15px/1.25 var(--display); }
.node .fam { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.node.r1 { grid-row: 2; margin-bottom: 56px; }
.node.r2 { grid-row: 3; }
.node.sel, .jstep:is(:hover, :focus-visible) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.node.sel svg { stroke: var(--white); }
.node.sel .fam { color: var(--on-navy-2); }
/* dim the unrelated tiles without fading their text below AA: slate text, faded icon */
.map.active .node:not(.sel):not(.lk) { color: var(--slate); }
.map.active .node:not(.sel):not(.lk) svg { opacity: .4; }
.node.lk, .jstep.lk { border-color: var(--navy); }
.node.ai { grid-column: 5; grid-row: 2 / span 2; align-self: stretch; border: 1.5px solid var(--navy); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); align-content: center; }
.node.ai svg .af { fill: var(--gold); stroke: none; }
.wires path { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: miter; }
.wires rect { fill: var(--navy); }
.jwires path { stroke: var(--line-2); transition: stroke .2s; }
.jwires rect { fill: var(--line-2); transition: fill .2s; }
.jwires path.on { stroke: var(--navy); stroke-width: 2; }
.jwires rect.on { fill: var(--navy); }
.jwires rect.jdot { fill: var(--gold); stroke: var(--navy); stroke-width: 1.5; opacity: 0; transition: opacity .2s; }
.jwires rect.jdot.on { opacity: 1; }
.wires .dot { fill: var(--gold); stroke: var(--navy); stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) { .wires:not(.jwires) path, .jwires path.on { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .4s ease-out forwards; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 760px) {
  .map { grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 12px; }
  .map svg.wires, .stage { display: none; }
  .node, .node.r1, .node.r2, .node.ai { grid-column: auto !important; grid-row: auto; margin: 0; min-height: 0; }
  .node.ai { grid-column: 1 / -1 !important; }
}
.panel { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 28px clamp(18px, 3vw, 32px); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr); gap: 20px 40px; min-width: 0; }
.panel:empty { display: none; }
.panel .ph { display: grid; gap: 18px; align-content: start; }
.panel .ph p { margin: 0; }
@media (max-width: 1060px) { .panel { grid-template-columns: 1fr 1fr; } .panel .ph { grid-column: 1 / -1; } }
@media (max-width: 640px) { .panel { grid-template-columns: 1fr; } }
.panel .fam { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.panel h3 { font-size: 24px; margin: 4px 0 0; }
.panel .out { font-size: 17px; line-height: 1.5; border-left: 3px solid var(--gold); padding-left: 14px; color: var(--navy); }
.panel h4 { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin: 0 0 8px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.svc li { padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14.5px; }
.svc li:first-child { border-top: 0; padding-top: 0; }
.links li { border-top: 1px solid var(--line); }
.links button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; width: 100%; padding: 10px 0; cursor: pointer; }
.links button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.links b { font: 600 14px var(--display); grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
/* \FE0E = text style: without it iPhones draw ↗ as a blue emoji */
.links b::after { content: "\2197\FE0E"; font-family: var(--body); color: var(--gold-d); }
.links span { grid-column: 1 / -1; font-size: 14px; color: var(--slate); }
.links button:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hint { font-size: 13px; color: var(--slate); margin-top: 16px; }

/* Intelligent Organisation band */
.io { margin-top: 28px; background: var(--navy); color: var(--white); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 28px 40px; padding: clamp(24px, 3.5vw, 40px); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.io-h { display: grid; gap: 12px; align-content: start; }
.io-h > * { margin: 0; }
.io-h h3 { font-size: clamp(22px, 2.4vw, 28px); color: var(--white); }
.io-h p { color: var(--on-navy); font-size: 15px; }
.io-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--navy-line); border-left: 1px solid var(--navy-line); }
.io-areas li { border-right: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); padding: 14px 12px; display: grid; gap: 4px; align-content: start; }
.io-areas b { font: 600 14px var(--display); }
.io-areas span { font-size: 12.5px; color: var(--on-navy-2); line-height: 1.45; }
.io-areas li.one { background: var(--navy-2); }
.io-areas li.one b { color: var(--gold); }
.io-ways { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.io-ways div { border-top: 2px solid var(--navy-line); padding-top: 12px; display: grid; gap: 2px; align-content: start; }
.io-ways em { font: 500 10.5px var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
.io-ways b { font: 600 15px var(--display); }
.io-ways span { font-size: 13.5px; color: var(--on-navy); }
@media (max-width: 960px) { .io { grid-template-columns: 1fr; } .io-areas { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .io-ways { grid-template-columns: 1fr; } }

/* delivery journey */
.journey { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.jmap { position: relative; }
.jmap svg.jwires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.jstep { background: var(--white); border: 1px solid var(--line); padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s, background-color .2s, color .2s; }
.jstep > * { margin: 0; }
@media (min-width: 1061px) {
  /* Staircase with equal card heights: each step's top + bottom offsets add up to 128px, and the row stretches. */
  .jstep:nth-child(1) { margin-top: 128px; } .jstep:nth-child(2) { margin: 96px 0 32px; } .jstep:nth-child(3) { margin: 64px 0 64px; } .jstep:nth-child(4) { margin: 32px 0 96px; } .jstep:nth-child(5) { margin-bottom: 128px; }
}
.jstep .n { font: 600 40px/1 var(--display); color: var(--steel); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.jstep h3 { font-size: 18px; }
.jstep p { font-size: 14.5px; color: var(--slate); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 11px/1.2 var(--mono); letter-spacing: .04em; background: var(--mist); color: var(--navy); padding: 5px 8px; }
.jstep .ho { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 10px; font-size: 13.5px; color: var(--navy); }
.jstep:is(:hover, :focus-visible) h3 { color: var(--white); }
.jstep:is(:hover, :focus-visible) .n { color: var(--gold); }
.jstep:is(:hover, :focus-visible) p, .jstep:is(:hover, :focus-visible) .ho { color: var(--on-navy); }
.jstep:is(:hover, :focus-visible) .chip { background: var(--navy-2); color: var(--white); }
.jstep:is(:hover, :focus-visible) .ho { border-color: var(--navy-line); }
.jstep:is(:hover, :focus-visible) .ho em { color: var(--on-navy-2); }
.jstep h3, .jstep .n, .jstep p, .jstep .chip, .jstep .ho, .jstep .ho em { transition: color .2s, background-color .2s, border-color .2s; }
.jstep:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* "Hands over" stays hidden until the step is hovered/focused; its space is kept so the staircase never jumps. Touch screens always show it. */
@media (hover: hover) {
  .jstep .ho { opacity: 0; transform: translateY(6px); transition: opacity .25s ease-out, transform .25s ease-out, color .2s, border-color .2s; }
  .jstep:is(:hover, :focus-visible) .ho { opacity: 1; transform: none; }
}
.jstep .ho em { display: block; font: 500 10.5px var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 2px; }
@media (max-width: 1060px) { .journey { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 1fr; } .jstep.last { grid-column: 1 / -1; } .jmap svg.jwires { display: none; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }
.note { font-size: 13px; color: var(--slate); margin-top: 20px; max-width: 70ch; }
.loop { display: block; margin-top: 28px; padding: 16px 18px; background: var(--paper); border-left: 3px solid var(--gold); font-size: 15px; max-width: 780px; color: var(--navy); }

/* clients by industry */
.inds { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 18px; display: grid; gap: 10px; align-content: start; }
.ind h3 { font-size: 15px; margin: 0; }
.ind h3 a { text-decoration: none; }
.ind h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ind ul { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--slate); display: grid; gap: 3px; }
@media (max-width: 960px) { .inds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .inds { grid-template-columns: 1fr; } }
.partners { margin-top: 48px; display: grid; gap: 14px; }
.partners p { margin: 0; }

/* contact band */
.cta-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
.mails { display: grid; gap: 12px; }
.mail { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; border: 1px solid var(--navy-line); padding: 16px 18px; background: var(--navy-2); }
.mail small { grid-column: 1 / -1; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
.mail a { font: 500 17px var(--display); color: var(--white); text-decoration: none; word-break: break-all; }
.mail a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.mail button { font: 600 13px var(--display); background: transparent; color: var(--white); border: 1.5px solid var(--on-navy-2); padding: 9px 14px; cursor: pointer; min-width: 84px; }
.mail button:hover { background: var(--navy); }

/* labels keep their gold on dark grounds even where a paragraph rule is more specific */
.hero .eyebrow, .io .eyebrow, .cta-band .eyebrow, .cta-band .mono, .io .mono { color: var(--gold); }
.eyebrow { max-width: none; }
.join h3.gap { margin: 0; }

/* =====================================================================
   Visual system for inner pages (2026-10-13). Same grammar as the home page:
   navy panels on the Ascent grid, 1.5px strokes, 0°/90° connectors ending in
   small squares, one gold "outcome" element per graphic, mono labels.
   ===================================================================== */

/* hero with a page-specific graphic on the right */
.hero--art .wrap { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero--art .hero-media { display: none; }
.hero-art { margin: 0; position: relative; justify-self: end; width: 100%; max-width: 540px; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-art .photo {
  position: absolute; inset: 0 0 auto auto; width: 62%; aspect-ratio: 4 / 3; overflow: hidden; z-index: 0;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.hero-art .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05); opacity: .55; }
.hero-art .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(7,49,71,.1), rgba(7,49,71,.75)); }
.hero-art svg { position: relative; z-index: 1; }
.hero-art figcaption { position: relative; z-index: 1; margin-top: 10px; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
@media (max-width: 860px) {
  .hero--art .wrap { grid-template-columns: 1fr; }
  .hero-art { justify-self: start; max-width: 480px; }
}

/* svg type + shape vocabulary (shared by hero and section graphics) */
.g-t   { font-family: var(--display); font-weight: 600; }
.g-m   { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; }
.g-b   { font-family: var(--body); }

/* section-level graphic panel */
.graphic { margin: clamp(28px, 4vw, 44px) 0 0; position: relative; }
.graphic--navy { background: var(--navy); padding: clamp(20px, 3.5vw, 40px); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); color: var(--white); }
.graphic--navy::before { content: ""; position: absolute; inset: 0; background: var(--ascent); opacity: .7; pointer-events: none; }
.graphic--navy > * { position: relative; }
.graphic--line { border: 1px solid var(--line); background: var(--white); padding: clamp(20px, 3.5vw, 36px); }
.graphic svg { width: 100%; height: auto; display: block; }
.graphic figcaption, .graphic .cap { font-size: 13px; color: var(--slate); margin-top: 14px; }
.graphic--navy figcaption { color: var(--on-navy-2); }

/* responsive process flow (HTML, stacks on mobile) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0,1fr)); gap: 0; counter-reset: fl; }
.flow > li { position: relative; padding: 0 22px 0 0; display: grid; gap: 8px; align-content: start; }
.flow > li .k { display: flex; align-items: center; gap: 0; margin-bottom: 6px; }
.flow > li .k b { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--navy); background: var(--white); font: 600 14px var(--mono); color: var(--navy); }
.flow > li .k i { flex: 1; height: 1.5px; background: var(--navy); position: relative; }
.flow > li .k i::after { content: ""; position: absolute; right: 0; top: -3.25px; width: 8px; height: 8px; background: var(--navy); }
.flow > li:last-child .k i { display: none; }
.flow > li.out .k b { background: var(--gold); border-color: var(--navy); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.flow h3 { font-size: 16px; margin: 0; }
.flow p { font-size: 14px; color: var(--slate); margin: 0; }
.flow .tag { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.graphic--navy .flow > li .k b { background: var(--navy-2); border-color: #4E7790; color: var(--white); }
.graphic--navy .flow > li .k i, .graphic--navy .flow > li .k i::after { background: #4E7790; }
.graphic--navy .flow > li.out .k b { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.graphic--navy .flow h3 { color: var(--white); }
.graphic--navy .flow p { color: var(--on-navy); }
.graphic--navy .flow .tag { color: var(--on-navy-2); }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow > li { padding: 0 0 22px 60px; }
  .flow > li .k { position: absolute; left: 0; top: 0; bottom: 0; flex-direction: column; margin: 0; }
  .flow > li .k i { width: 1.5px; height: auto; flex: 1; }
  .flow > li .k i::after { right: auto; left: -3.25px; top: auto; bottom: 0; }
  .flow > li:last-child .k i { display: none; }
  .flow > li > :nth-child(2) { margin-top: 10px; }
}

/* layered stack diagram (HTML rows) */
.stack { display: grid; gap: 8px; }
.stack .layer { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); background: var(--white); padding: 14px 18px; position: relative; }
.stack .layer:nth-child(2) { margin-inline: 14px; } .stack .layer:nth-child(3) { margin-inline: 28px; } .stack .layer:nth-child(4) { margin-inline: 42px; }
.stack .layer b { font: 600 15px var(--display); }
.stack .layer span { font-size: 14px; color: var(--slate); }
.stack .layer.top { background: var(--navy); border-color: var(--navy); color: var(--white); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.stack .layer.top span { color: var(--on-navy); }
.stack .layer.top b { color: var(--gold); }
@media (max-width: 640px) { .stack .layer { grid-template-columns: 1fr; gap: 4px; margin-inline: 0 !important; } }

/* responsibility / comparison matrix */
.matrix { width: 100%; border-collapse: collapse; font-size: 14px; }
.matrix th, .matrix td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: middle; }
.matrix thead th { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); background: var(--paper); }
.matrix tbody th { font: 600 15px var(--display); color: var(--navy); width: 22%; }
.matrix .own { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.matrix .own::before { content: ""; width: 12px; height: 12px; flex: none; }
.matrix .own.edge::before { background: var(--navy); }
.matrix .own.you::before { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--navy); }
.matrix .own.both::before { background: linear-gradient(135deg, var(--navy) 50%, var(--gold) 50%); }
.matrix-wrap { overflow-x: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 13px; color: var(--slate); }

/* "Works with" handover diagram */
.handover { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 0; align-items: center; }
.ho-core { background: var(--navy); color: var(--white); padding: 26px 24px; display: grid; gap: 10px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); position: relative; z-index: 1; }
.ho-core svg { width: 32px; height: 32px; fill: none; stroke: var(--white); stroke-width: 1.75; stroke-linecap: square; }
.ho-core svg .af { fill: var(--gold); stroke: none; }
.ho-core b { font: 600 20px/1.2 var(--display); }
.ho-core .fam { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-2); }
.ho-core p { color: var(--on-navy); font-size: 15px; margin: 0; border-left: 3px solid var(--gold); padding-left: 12px; }
.ho-links { list-style: none; margin: 0 0 0 40px; padding: 0 0 0 28px; display: grid; gap: 10px; position: relative; }
.ho-links::before { content: ""; position: absolute; left: -42px; top: 50%; width: 40px; height: 1.5px; background: var(--navy); }
.ho-links li { position: relative; }
.ho-links li::before { content: ""; position: absolute; left: -28px; top: -5px; bottom: -5px; width: 22px;
  background: linear-gradient(var(--navy), var(--navy)) 0 50% / 100% 1.5px no-repeat, linear-gradient(var(--navy), var(--navy)) 0 0 / 1.5px 100% no-repeat; }
.ho-links li:first-child::before { background: linear-gradient(var(--navy), var(--navy)) 0 50% / 100% 1.5px no-repeat, linear-gradient(to bottom, transparent 50%, var(--navy) 50%) 0 0 / 1.5px 100% no-repeat; }
.ho-links li:last-child::before { background: linear-gradient(var(--navy), var(--navy)) 0 50% / 100% 1.5px no-repeat, linear-gradient(to bottom, var(--navy) 50%, transparent 50%) 0 0 / 1.5px 100% no-repeat; }
.ho-links li:only-child::before { background: linear-gradient(var(--navy), var(--navy)) 0 50% / 100% 1.5px no-repeat; }
.ho-links li::after { content: ""; position: absolute; left: -8px; top: calc(50% - 3.25px); width: 8px; height: 8px; background: var(--navy); }
.ho-links a { display: grid; grid-template-columns: 26px 1fr; gap: 2px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--navy); transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s; }
.ho-links a:hover { transform: translate(2px, -2px); box-shadow: -4px 4px 0 var(--gold); border-color: var(--navy); }
.ho-links a svg { grid-row: span 2; width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: square; }
.ho-links a svg .af { fill: var(--gold); stroke: none; }
.ho-links a b { font: 600 14.5px var(--display); }
.ho-links a b::after { content: " →"; color: var(--gold-d); font-family: var(--body); }
.ho-links a span { font-size: 13.5px; color: var(--slate); }
@media (max-width: 860px) {
  .handover { grid-template-columns: 1fr; }
  .ho-links { margin: 0 0 0 24px; padding-top: 22px; }
  .ho-links::before { left: 0; top: -1px; width: 1.5px; height: 22px; }
  .ho-links li:first-child::before { top: -23px; background: linear-gradient(var(--navy), var(--navy)) 0 calc(50% + 9px) / 100% 1.5px no-repeat, linear-gradient(var(--navy), var(--navy)) 0 0 / 1.5px 100% no-repeat; }
}

/* photo + text composition */
.media-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.media-split .ph { position: relative; }
.media-split .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.media-split .ph::before { content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 46%; background: var(--ascent), var(--navy); z-index: -1; }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; } }

/* small sector / topic chips row under hero copy */
.draws { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; align-items: center; }
.draws .tag { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); margin-right: 6px; }
.draws a { font: 500 11.5px/1.2 var(--mono); letter-spacing: .04em; background: var(--navy-2); color: var(--white); padding: 6px 9px; text-decoration: none; border: 1px solid var(--navy-line); }
.draws a:hover { border-color: var(--gold); }
.hero-copy { min-width: 0; }

/* ---- forkA (2026-10-13): Strategic / Professional / Training / Sustainability graphics ---- */
/* PMO hierarchy rendered with .stack: headings + paragraphs inside layers */
.stack .layer h3 { font: 600 15px var(--display); margin: 0; color: var(--navy); }
.stack .layer h3 small { display: block; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-top: 4px; }
.stack .layer p { margin: 0; font-size: 14px; color: var(--slate); max-width: none; }
.stack .layer.top h3 { color: var(--gold); }
.stack .layer.top h3 small { color: var(--on-navy-2); }
.stack .layer.top p { color: var(--on-navy); }
/* engagement spectrum: who owns the service */
.g-spectrum { margin-top: var(--sp-3); }
.g-spectrum-axis { display: flex; justify-content: space-between; gap: 12px; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.g-spectrum-bar { position: relative; height: 10px; background: linear-gradient(90deg, var(--navy) 0%, var(--navy-line) 50%, var(--mist) 100%); margin: 0 0 22px; }
.g-spectrum-bar i { position: absolute; top: 50%; width: 16px; height: 16px; translate: -50% -50%; background: var(--gold); box-shadow: 0 0 0 2px var(--white); }
.g-spectrum-bar i:nth-child(1) { left: 16.66%; } .g-spectrum-bar i:nth-child(2) { left: 50%; } .g-spectrum-bar i:nth-child(3) { left: 83.33%; }
.g-spectrum ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.g-spectrum li { border-top: 2px solid var(--navy); padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.g-spectrum li h3 { font-size: 16px; margin: 0; }
.g-spectrum li p { font-size: 14.5px; margin: 0; }
.g-own { display: flex; height: 8px; border: 1px solid var(--navy); width: 120px; }
.g-own b { background: var(--navy); }
.g-own-l { display: flex; gap: 14px; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
@media (max-width: 760px) { .g-spectrum-axis, .g-spectrum-bar { display: none; } .g-spectrum ol { grid-template-columns: 1fr; } }
/* certification clusters around a gold hub */
.g-certs { display: grid; gap: 0; }
.g-hub { justify-self: start; background: var(--gold); color: var(--navy); font: 600 15px var(--display); padding: 12px 18px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.g-certs-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 22px; margin-top: 26px; border-top: 1.5px solid #4E7790; position: relative; }
.g-certs-cols::before { content: ""; position: absolute; left: 30px; top: -27px; width: 1.5px; height: 26px; background: #4E7790; }
.g-cluster { position: relative; padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.g-cluster::before { content: ""; position: absolute; left: 0; top: 0; width: 1.5px; height: 16px; background: #4E7790; }
.g-cluster::after { content: ""; position: absolute; left: -3.25px; top: 12px; width: 8px; height: 8px; background: #9FB3BF; }
.g-cluster h3 { color: var(--white); font-size: 17px; margin: 0; }
.g-cluster .tag { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); margin: 0; }
.g-cluster ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.g-cluster li { font: 500 12px/1.25 var(--mono); color: var(--white); background: var(--navy-2); border: 1px solid #4E7790; padding: 7px 9px; }
.g-cluster p { color: var(--on-navy); font-size: 14px; margin: 0; }
@media (max-width: 860px) {
  .g-certs-cols { grid-template-columns: 1fr; border-top: 0; border-left: 1.5px solid #4E7790; margin: 0 0 0 30px; gap: 22px; padding-top: 4px; }
  .g-certs-cols::before { top: -26px; left: -1.5px; }
  .g-cluster { padding: 0 0 0 22px; }
  .g-cluster::before { left: 0; top: 14px; width: 16px; height: 1.5px; }
  .g-cluster::after { left: 12px; top: 10.75px; }
}

/* ---- forkD visuals: about / contact / technology partners / insights / edgeway (2026-10-13) ---- */
.g-ic { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linejoin: miter; stroke-linecap: square; display: block; margin-bottom: 14px; }
/* about: footprint = white map plate + navy legend panel */
.g-foot { margin: var(--sp-5) 0 0; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: stretch; }
.g-foot-map { background: var(--white); border: 1px solid var(--line); padding: clamp(10px, 2vw, 24px); display: flex; align-items: center; }
.g-foot-map img { width: 100%; height: auto; display: block; }
.g-foot-list { position: relative; background: var(--navy); color: var(--white); padding: clamp(22px, 3vw, 36px); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.g-foot-list::before { content: ""; position: absolute; inset: 0; background: var(--ascent); opacity: .7; pointer-events: none; }
.g-foot-list > * { position: relative; }
.g-key { display: flex; align-items: center; gap: 10px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); margin: 0 0 10px; max-width: none; }
.g-key b { font: 600 24px/1 var(--display); color: var(--white); letter-spacing: -.01em; margin-left: auto; }
.g-sw { width: 12px; height: 12px; flex: none; }
.g-sw--office { background: var(--gold); }
.g-sw--reach { background: #A7BABE; box-shadow: inset 0 0 0 1px #0e4a67; }
.g-places { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 16px; border-top: 1px solid var(--navy-line); }
.g-places li { padding: 7px 0; border-bottom: 1px solid var(--navy-line); font-size: 13.5px; color: var(--on-navy); }
.g-places--office li { font: 600 14px var(--display); color: var(--white); }
.g-places--reach { grid-template-columns: repeat(3, minmax(0,1fr)); margin-bottom: 0; }
@media (max-width: 860px) { .g-foot { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .g-places--reach { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* contact: enquiry cards as the conversion block */
.g-enquiry { gap: 20px; }
.g-enquiry .pillar { padding: clamp(26px, 3.5vw, 40px); position: relative; }
.g-enquiry .pillar h3, .g-enquiry .pillar h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.g-enquiry .g-sales { background: var(--navy); border-color: var(--navy); --accent-text: var(--gold); --ink: var(--white); --ink-2: var(--on-navy); }
.g-enquiry .g-sales::before { content: ""; position: absolute; inset: 0; background: var(--ascent); opacity: .6; pointer-events: none; }
.g-enquiry .g-sales > * { position: relative; }
.g-enquiry .g-sales .g-ic { stroke: var(--white); }
.g-enquiry .g-general { box-shadow: inset 0 3px 0 var(--navy); }
.g-hq { box-shadow: inset 0 3px 0 var(--gold); }
/* technology partners: 10 logos in two clean rows */
.logo-grid.g-logos5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
@media (max-width: 640px) { .logo-grid.g-logos5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.logo-grid.g-logos4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-logos4 .logo-card { height: 112px; }
.g-logos4 .logo-card img { max-height: 52px; }
@media (max-width: 640px) { .logo-grid.g-logos4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g-logos4 .logo-card { height: 96px; } .g-logos4 .logo-card img { max-height: 40px; } }
.logo-grid.g-units { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-units .logo-card { height: 132px; padding: var(--sp-3) var(--sp-4); }
.g-units .logo-card img { max-height: 76px; height: auto; }
.g-units .unit-name { font: 600 16px/1.3 var(--display); color: var(--navy); text-align: center; }
@media (max-width: 640px) { .logo-grid.g-units { grid-template-columns: repeat(2, minmax(0,1fr)); } .g-units .logo-card { height: 104px; padding: var(--sp-2); } .g-units .logo-card img { max-height: 56px; } .g-units .unit-name { font-size: 14px; } }
/* edgeway: copy + portal graphic */
.g-split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.g-split .graphic { margin: 0; }
@media (max-width: 860px) { .g-split { grid-template-columns: 1fr; } }

/* ---- forkB 2026-10-13: technology practice + AI CoE graphics (DT, Managed Cloud, Cyber, AI) ---- */
.g-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack .layer .g-lh { font: 600 15px/1.3 var(--display); margin: 0; color: var(--navy); }
.stack .layer.top .g-lh { color: var(--gold); }
.g-stackfig .stack .layer { padding-block: 18px; }
.legend .own, .g-na { display: inline-flex; align-items: center; gap: 8px; }
.legend .own::before { content: ""; width: 12px; height: 12px; flex: none; }
.legend .own.edge::before { background: var(--navy); }
.legend .own.you::before { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--navy); }
.legend .own.both::before { background: linear-gradient(135deg, var(--navy) 50%, var(--gold) 50%); }
.g-na { color: var(--steel); font-style: italic; }
.g-matrixfig { margin-bottom: clamp(24px, 3vw, 36px); }
.g-matrixfig .matrix td { background: var(--white); }
.g-runs-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.g-runs-cols li { position: relative; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; background: var(--white); }
.g-runs-cols li::after { content: ""; position: absolute; left: 50%; bottom: -27px; width: 1.5px; height: 26px; background: var(--navy); }
.g-runs-cols svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: square; }
.g-runs-cols b { font: 600 15px/1.3 var(--display); color: var(--navy); }
.g-runs-tag { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.g-runs-rail { margin-top: 26px; padding-top: 18px; border-top: 1.5px solid var(--navy); display: grid; gap: 10px; position: relative; }
.g-runs-rail::before { content: ""; position: absolute; top: -5px; left: calc(50% - 4px); width: 8px; height: 8px; background: var(--gold); }
@media (max-width: 760px) {
  .g-runs-cols { grid-template-columns: 1fr; gap: 10px; }
  .g-runs-cols li::after { display: none; }
  .g-runs-rail::before { display: none; }
  .matrix th, .matrix td { padding: 10px; font-size: 13px; }
  .matrix tbody th { font-size: 14px; }
}
/* ---- end forkB ---- */

/* --- industries pages (visual pass 2026-10-13): sector icons + step strips --- */
.g-ico { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: square; display: block; }
.practice-card .g-ico { margin-bottom: 4px; }
.practice-card:hover .g-ico { stroke: var(--gold-d); }
.g-sector { display: flex; align-items: center; gap: 10px; flex-basis: 100%; }
.g-sector .g-ico { width: 24px; height: 24px; flex: none; }
.g-steps .flow h3 { font-size: 13.5px; line-height: 1.3; }
.g-steps .flow > li { padding-right: 10px; }
@media (min-width: 861px) { .g-steps .flow[style*="--n:9"] > li .k b { width: 36px; height: 36px; font-size: 12px; } }
@media (max-width: 860px) { .g-steps .flow > li { padding-bottom: 14px; } .g-steps .flow > li > :nth-child(2) { margin-top: 12px; } }
/* forkA: mobile breathing room for certification clusters */
@media (max-width: 860px) { .g-cluster { padding-left: 30px; } }
@media (max-width: 520px) { .g-split .graphic--line { padding: 10px; } }
/* ---- forkB: SOC matrix becomes stacked cards on phones ---- */
@media (max-width: 640px) {
  .g-matrixfig .matrix, .g-matrixfig .matrix tbody, .g-matrixfig .matrix tr, .g-matrixfig .matrix th, .g-matrixfig .matrix td { display: block; width: 100%; }
  .g-matrixfig .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .g-matrixfig .matrix tr { border: 1px solid var(--line); border-top: 3px solid var(--navy); margin-bottom: 10px; background: var(--white); }
  .g-matrixfig .matrix th, .g-matrixfig .matrix td { border: 0; border-top: 1px dashed var(--line); }
  .g-matrixfig .matrix tbody th { border-top: 0; }
  .g-matrixfig .matrix td::before { content: attr(data-label); display: block; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
}
@media (min-width: 861px) { .g-steps .flow[style*="--n:9"] h3 { font-size: 12px; hyphens: auto; } }
.g-sector { max-width: none; margin-bottom: 0; }
.usecase > .logo-grid { flex-basis: 100%; }
.hero--art h1 { hyphens: auto; overflow-wrap: break-word; }

/* phones: hero graphics run edge to edge for legibility; the faded photo layer is
   dropped so the diagram reads cleanly (parent pass, 2026-10-13) */
@media (max-width: 560px) {
  .hero-art { width: calc(100% + 2 * var(--gutter)); max-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: 6px; }
  .hero-art .photo { display: none; }
  .hero-art figcaption { padding-inline: calc(var(--gutter) - 6px); }
}

/* inner-page hero headings sit in a half-width column: size them to that column so long
   words ("Telecommunications") never break mid-word (parent pass, overrides the
   hyphenation rule above) */
.hero--art h1 { hyphens: manual; overflow-wrap: normal; font-size: clamp(2rem, 3.7vw, 3.35rem); }
@media (max-width: 860px) { .hero--art h1 { font-size: clamp(1.9rem, 8.4vw, 2.8rem); } }
@media (max-width: 380px) { .hero--art h1 { overflow-wrap: break-word; } }

/* ---------- Book a Briefing form (assets/briefing.js) ---------- */
.bf { --bf-err: #B42318; display: grid; gap: var(--sp-4); }
.bf-head { display: grid; gap: 10px; }
.bf-head > * { margin: 0; }
.bf-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.bf-intro { color: var(--slate); max-width: 60ch; }
.bf-form { display: grid; gap: var(--sp-4); }
.bf-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 20px; }
.bf-wide { grid-column: 1 / -1; }
.bf-field { display: grid; gap: 6px; align-content: start; }
.bf-field label { font: 600 14px var(--display); color: var(--navy); display: flex; gap: 8px; align-items: baseline; }
.bf-opt { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.bf-hint { font-size: 13px; color: var(--steel); }
.bf-field input, .bf-field select, .bf-field textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--navy); background: var(--white);
  border: 1.5px solid var(--line-2); border-radius: 0; padding: .72rem .85rem; min-height: 48px;
}
.bf-field textarea { resize: vertical; min-height: 110px; }
.bf-field select { appearance: none; padding-inline-end: 2.4rem; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.bf-field input:focus, .bf-field select:focus, .bf-field textarea:focus, .bf-consent input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--navy); }
.bf-err { margin: 0; font-size: 13.5px; color: var(--bf-err); font-weight: 500; }
.bf-err:empty { display: none; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--bf-err); }
.bf-banner { margin: 0; padding: 12px 14px; border-inline-start: 3px solid var(--bf-err); background: #FDF1F0; color: var(--bf-err); font-size: 14.5px; font-weight: 500; }
.bf-banner:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.bf-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bf-consent { display: grid; gap: 6px; border-top: 1px dashed var(--line); padding-top: var(--sp-3); }
.bf-consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--slate); cursor: pointer; }
.bf-consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); }
.bf-consent a { color: var(--navy); text-decoration-color: var(--gold); }
.bf-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.bf-submit { min-width: 220px; justify-content: center; }
.bf-small { margin: 0; font-size: 13px; color: var(--steel); }
.bf-send { display: grid; gap: 14px; justify-items: start; padding: var(--sp-3) 0; }
.bf-send[hidden] { display: none; }
.bf-send:focus { outline: none; }
.bf-send h3, .bf-send p { margin: 0; }
.bf-send > p:not(.bf-small) { color: var(--slate); max-width: 56ch; }
.bf-apps { display: flex; flex-wrap: wrap; gap: 12px; }
.bf-apps .btn { min-width: 150px; justify-content: center; }
.bf-copied:empty { display: none; }
.bf-link { padding: 0; border: 0; background: none; font: inherit; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; cursor: pointer; min-height: 24px; }
.bf-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bf-form[hidden] { display: none; }

.bf-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: clamp(24px, 4vw, 40px); border: 0; border-top: 4px solid var(--navy); background: var(--white); color: var(--navy); box-shadow: 0 24px 60px rgba(4,33,47,.3); overflow-y: auto; overscroll-behavior: contain; }
.bf-dialog::backdrop { background: rgba(4,33,47,.6); backdrop-filter: blur(3px); }
.bf-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; background: none; border: 0; color: var(--slate); font-size: 1.1rem; cursor: pointer; }
.bf-close:hover { color: var(--navy); }
.bf-close:focus-visible { outline: 2px solid var(--blue); }
html.bf-lock { overflow: hidden; }
.bf-page { max-width: 820px; }
.bf-left .bf { max-width: 820px; }

@media (max-width: 640px) {
  .bf-grid { grid-template-columns: 1fr; }
  .bf-dialog { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; padding: 56px 16px 24px; }
  .bf-submit { width: 100%; }
  .bf-apps, .bf-apps .btn { width: 100%; }
}

/* ---------- Leadership cards (about) ---------- */
.pillar.leader { padding: 0 0 20px; }
.leader-photo { display: block; width: 100%; height: auto; aspect-ratio: 480 / 452; object-fit: cover; margin-bottom: 18px; background: var(--navy); }
.leader h3, .leader p { padding-inline: 20px; }
.leader-ph { display: grid; place-items: center; background: var(--navy) url("img/leadership/placeholder-bg.webp") center / cover no-repeat; font: 600 clamp(30px, 3.4vw, 46px) var(--display); color: var(--gold); letter-spacing: .06em; }

/* Heading-level fix 2026-11-09: labels and card titles promoted to h2 so no page skips a
   level (WCAG 1.3.1). These keep the h3 metrics the h2 base rule would otherwise change. */
.practice-card h2, .pillar h2 { line-height: 1.3; letter-spacing: -.005em; }
.pillar address { font-style: normal; font-size: .95rem; margin: 0 0 var(--sp-3); max-width: 68ch; color: var(--ink-2); }
.pillar address:last-child { margin-bottom: 0; }
:where(h2.mono) { max-width: 68ch; } /* zero specificity: never beats a component rule */
