/* ==========================================================================
   BBIT — public site
   Values transcribed from the approved design (project/BBIT Website.dc.html).
   Layout is driven by container queries against .frame, exactly as the
   prototype was: `cqi` units keep every band scaling with the site width.
   ========================================================================== */

:root {
  --ink: #13141B;
  --ink-soft: #3C4450;
  --body: #4A515C;
  --steel: #5A616E;
  --blue: #2B65A0;
  --blue-dark: #1F4E7F;
  --cyan: #5BCED7;
  --gradient: linear-gradient(90deg, #5BCED7, #377EC3);
  --line: #E3E7EB;
  --line-strong: #C6D3DF;
  --paper: #FFFFFF;
  --paper-alt: #F6F8FA;
  --paper-tint: #F1F4F7;
  --paper-deep: #EDF1F5;
  --amber: #8A5A00;
  --amber-line: #C7A15A;
  --red: #C0392B;
  --red-tint: #FBEDEB;
  /* The design's #1F8A5B measures 3.87:1 on its own tint — below AA for the
     12px "Result" chip. Darkened just enough to pass (4.93:1). */
  --green: #1A7750;
  --green-tint: #E8F5EE;

  /* Services section palette (client brief: Equinix / Cloudflare register) */
  --svc-ink: #0D0F16;
  --svc-slate: #5A6472;
  --svc-paper-alt: #F5F7FA;
  --svc-line: #E4E8EE;
  --svc-gradient: linear-gradient(45deg, #5FBFD0, #4A72C4);

  --font-display: Archivo, "Segoe UI", sans-serif;
  --font-body: Manrope, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-svc-display: "Chakra Petch", Archivo, sans-serif;
  --font-svc-body: Inter, Manrope, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: #101218; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] { --font-body: "IBM Plex Sans Arabic", Manrope, sans-serif; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
::selection { background: var(--cyan); color: var(--ink); }

img { max-width: 100%; }

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

/* Clipped rather than pushed off-canvas: an off-canvas offset would widen the
   scroll area in RTL. */
.skip-link {
  position: absolute; top: 0; inset-inline-start: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 0 0 8px 0;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { clip-path: none; color: #fff; }

/* --------------------------------------------------------------------------
   Shell
   -------------------------------------------------------------------------- */

.shell {
  min-height: 100vh;
  background: #101218;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frame {
  width: 100%;
  container-type: inline-size;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 80px rgba(0, 0, 0, .6);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 3.6cqi;
}

.band { padding-block: 7cqi; }
.band--tight { padding-block: 6cqi; }

.band--white { background: var(--paper); }
.band--alt { background: url(/assets/pattern-25.svg) repeat, var(--paper-alt); }
.band--plain-alt { background: var(--paper-alt); }
.band--line-top { border-top: 1px solid var(--line); }
.band--line-bottom { border-bottom: 1px solid var(--line); }

.rule-top {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); pointer-events: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow--lg { font-size: 13px; letter-spacing: .18em; margin-bottom: 2.4cqi; }

.h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 6cqi, 76px);
  line-height: .98;
  letter-spacing: -.04em;
}
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.2cqi, 54px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3cqi, 40px);
  letter-spacing: -.03em;
}
.lede {
  margin: 0;
  font-size: clamp(17px, 1.8cqi, 24px);
  line-height: 1.5;
  color: var(--body);
  max-width: 32em;
  text-wrap: pretty;
}
.prose { font-size: 19px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.prose p { margin: 0 0 24px; }
.prose p:last-child { margin-bottom: 0; }

.notice {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--amber-line); border-radius: 8px; padding: 12px 18px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber);
}
.pending {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; border-radius: 8px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  padding: 18px 32px; cursor: pointer; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--cyan); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: #fff; }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--outline-ink { border-color: var(--line-strong); color: var(--ink); background: transparent; font-size: 15px; padding: 14px 24px; }
.btn--outline-ink:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--cyan); }
.btn--sm { font-size: 15px; padding: 14px 24px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header--static { position: static; }

.header-row {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 3.6cqi; min-height: 76px;
  display: flex; align-items: center; justify-content: flex-start;
  gap: 12px 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; flex-shrink: 0; margin-inline-end: 10px; }
.brand img { width: 126px; display: block; }

.nav-desktop {
  flex: 1; display: flex; align-items: center; gap: 2px;
  font-size: 15px; font-weight: 500; flex-wrap: wrap; justify-content: flex-start;
}
.nav-desktop a { color: var(--ink-soft); padding: 10px 14px; border-radius: 8px; }
.nav-desktop a:hover,
.nav-desktop a.is-current { color: var(--ink); background: var(--paper-tint); }
.nav-desktop .nav-cta {
  background: var(--blue); color: #fff; padding: 10px 18px;
  font-weight: 600; border-radius: 8px; margin-inline-start: auto;
}
.nav-desktop .nav-cta:hover { background: var(--blue-dark); color: #fff; }

.header-mobile { display: none; }
.header-mobile .header-row { padding: 0 18px; min-height: 68px; justify-content: space-between; flex-wrap: nowrap; }
.header-mobile .brand img { width: 112px; }
.nav-toggle {
  width: 48px; height: 48px; background: var(--paper-tint);
  border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; flex-shrink: 0;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); display: block; }

.nav-mobile {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 12px 20px; border-top: 1px solid var(--line);
}
.nav-mobile a {
  color: var(--ink-soft); font-size: 17px; font-weight: 500;
  padding: 15px 14px; border-radius: 8px; min-height: 48px;
}
.nav-mobile a:hover, .nav-mobile a.is-current { background: var(--paper-tint); color: var(--ink); }
.nav-mobile .nav-cta {
  background: var(--blue); color: #fff; font-size: 17px; font-weight: 600;
  padding: 17px; text-align: center; border-radius: 8px; margin-top: 12px; min-height: 48px;
}
.nav-mobile[hidden] { display: none; }

.rtl-banner {
  background: #8A5A00; color: var(--ink);
  padding: 10px 4cqi; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
}

@media (max-width: 979px) {
  .header-desktop { display: none; }
  .header-mobile { display: block; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  max-height: 600px;
  background: var(--paper-alt);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: url(/assets/pattern-25.svg) repeat,
    linear-gradient(94deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.94) 40%,
                    rgba(255,255,255,.88) 70%, rgba(255,255,255,.82) 100%);
}
.hero__scrim--deep {
  background: url(/assets/pattern-25.svg) repeat,
    linear-gradient(94deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 36%,
                    rgba(255,255,255,.7) 62%, rgba(255,255,255,.46) 100%);
}
.hero__scrim--soft {
  background: url(/assets/pattern-25.svg) repeat,
    linear-gradient(94deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.94) 42%,
                    rgba(255,255,255,.86) 72%, rgba(255,255,255,.78) 100%);
}
.hero__inner {
  position: relative; max-width: 1280px; margin: 0 auto;
  padding: 52px 3.6cqi 56px;
}
.hero__title {
  margin: 0 0 22px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 4.6cqi, 56px); line-height: 1.04; letter-spacing: -.04em;
  max-width: min(100%, 560px);
}
.hero__body {
  margin: 0 0 28px; font-size: clamp(16px, 1.5cqi, 19px); line-height: 1.55;
  color: var(--body); max-width: min(100%, 540px); text-wrap: pretty;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Inner-page hero */
.page-hero {
  position: relative; overflow: hidden;
  background: url(/assets/pattern-25.svg) repeat, var(--paper-alt);
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.page-hero__bg {
  position: absolute; inset: 0; background-size: cover;
  background-position: center; pointer-events: none;
}
.page-hero__inner {
  position: relative; max-width: 1280px; margin: 0 auto;
  padding: 7cqi 3.6cqi 6cqi;
}
.page-hero__title { margin: 0 0 2.6cqi; max-width: 16em; }
.page-hero__title:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 3.4cqi;
  padding-block: 6cqi;
}
.stat { border-top: 2px solid var(--ink); padding-top: 26px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(38px, 4.6cqi, 60px);
  line-height: .9; letter-spacing: -.035em; color: var(--ink);
}
.stat__label { font-size: 15px; color: var(--steel); margin-top: 16px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.section-head {
  display: flex; align-items: flex-end; gap: 3cqi;
  margin-bottom: 4.4cqi; flex-wrap: wrap;
}
.section-head > :first-child { flex: 1; min-width: 280px; }

.grid { display: grid; gap: 20px; }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid--230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid--200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grid--split { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 5cqi; }
.grid--split-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 5cqi; }
.grid--384 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 384px), 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  min-height: 250px;
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
a.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -26px rgba(19, 20, 27, .34);
  transform: translateY(-3px);
  color: var(--ink);
}
.card__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: auto;
}
.card__numeral { font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em; color: var(--blue); }
.card__arrow { font-size: 15px; color: var(--steel); }
.card__title {
  margin: 32px 0 12px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2cqi, 26px); line-height: 1.14; letter-spacing: -.025em;
}
.card__body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); text-wrap: pretty; }

.card--supporting {
  background: var(--paper-deep);
  justify-content: center;
}
.card--supporting .card__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 18px;
}
.card--supporting .card__title {
  margin: 0 0 12px; font-size: clamp(18px, 1.8cqi, 23px);
  line-height: 1.16; letter-spacing: -.02em; color: var(--ink-soft);
}
.card--supporting .card__body { color: var(--steel); }

.reason { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.reason__mark { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.reason__bar { width: 30px; height: 3px; border-radius: 2px; background: var(--gradient); }
.reason__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--steel); }
.reason h3 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(19px, 1.9cqi, 24px); line-height: 1.14; letter-spacing: -.025em;
}
.reason p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); text-wrap: pretty; }

.tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(16px, 1.6cqi, 21px); letter-spacing: -.015em;
  min-height: 112px; display: flex; align-items: flex-end; color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
a.tile:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 32px -24px rgba(19, 20, 27, .3);
  color: var(--ink);
}
.tile--note {
  background: var(--paper-alt);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel); font-weight: 400;
}

.dept-tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 2.6cqi; font-family: var(--font-display); font-weight: 500;
  font-size: 19px; min-height: 96px; display: flex; align-items: center;
}
.dept-tile--alt { background: var(--paper-alt); font-size: 18px; min-height: 92px; }

/* --------------------------------------------------------------------------
   Accountability toggle
   -------------------------------------------------------------------------- */

.toggle {
  display: inline-flex; gap: 4px; margin-bottom: 3.4cqi; padding: 4px;
  background: var(--paper-tint); border: 1px solid var(--line);
  border-radius: 10px; flex-wrap: wrap;
}
.toggle button {
  background: transparent; border: none; padding: 13px 22px; border-radius: 7px;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  cursor: pointer; min-height: 48px; color: var(--ink-soft);
}
.toggle button:hover { background: #fff; color: var(--ink); }
.toggle button[aria-selected="true"] { background: #fff; color: var(--ink); }

.model-panel[hidden] { display: none; }

.split-card {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--red); border-radius: 12px; padding: 32px;
}
.split-card__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 20px;
}
.split-card h3 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 600;
  font-size: 21px; letter-spacing: -.025em;
}
.split-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }

.result {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: clamp(17px, 1.7cqi, 21px); color: var(--ink);
}
.result__chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; padding: 7px 13px; border-radius: 6px;
}
.result__chip--bad { color: var(--red); background: var(--red-tint); }
.result__chip--good { color: var(--green); background: var(--green-tint); }
.result strong { font-weight: 600; letter-spacing: -.02em; }

.one-contract {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 42px; margin-bottom: 2.6cqi;
  position: relative; overflow: hidden;
  box-shadow: 0 18px 44px -30px rgba(19, 20, 27, .3);
}
.one-contract__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3cqi; align-items: center;
}
.one-contract__badge {
  display: inline-flex; align-items: center; padding: 7px 14px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 22px;
}
.one-contract h3 {
  margin: 0 0 14px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.4cqi, 44px); letter-spacing: -.035em;
}
.one-contract p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); max-width: 26em; }

.kv { display: flex; flex-direction: column; }
.kv__row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px;
}
.kv__row span:first-child { color: var(--steel); }
.kv__row span:last-child { font-family: var(--font-mono); color: var(--blue); }

/* Definition rows (Contact office, Investors ownership) */
.deflist { border-top: 1px solid var(--line); }
.deflist__row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px;
}
.deflist__row dt { color: var(--steel); margin: 0; }
.deflist__row dd { margin: 0; font-family: var(--font-mono); }
.deflist__row dd.is-pending { color: var(--amber); }

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */

.closing {
  position: relative; background: var(--paper-alt); color: var(--ink);
  overflow: hidden; border-bottom: 1px solid var(--line);
}
.closing__inner {
  max-width: 1280px; margin: 0 auto; padding: 7cqi 3.6cqi;
  display: flex; align-items: center; gap: 4cqi; flex-wrap: wrap;
}
.closing__copy { flex: 1; min-width: 290px; }
.closing__copy h2 {
  margin: 0 0 2.2cqi; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 4.4cqi, 58px); line-height: 1.02; letter-spacing: -.04em;
  max-width: 16em;
}
.closing__copy p {
  margin: 0; font-size: clamp(16px, 1.7cqi, 21px); line-height: 1.6;
  color: var(--body); max-width: 30em; text-wrap: pretty;
}

.strip {
  background: var(--paper-alt); padding: 4cqi;
  display: flex; align-items: center; gap: 3cqi; flex-wrap: wrap;
}
.strip h3 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2.4cqi, 30px); letter-spacing: -.025em;
  flex: 1; min-width: 260px; max-width: 22em;
}
.strip--deep { background: var(--paper-deep); border: 1px solid var(--line); border-radius: 12px; }

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */

.svc-intro { background: var(--paper); }
.svc-intro__inner { max-width: 1280px; margin: 0 auto; padding: 7cqi 3.6cqi 4cqi; }
.svc-intro__mark { display: flex; align-items: center; gap: 20px; margin-bottom: 2.6cqi; }
.svc-intro__mark span {
  font-family: var(--font-svc-body); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: #4A72C4;
}
.svc-intro h1 {
  margin: 0 0 2.4cqi; font-family: var(--font-svc-display); font-weight: 700;
  font-size: clamp(32px, 5.4cqi, 68px); line-height: 1; letter-spacing: -.04em;
  color: var(--svc-ink); max-width: 20ch;
}
.svc-intro p {
  margin: 0; font-family: var(--font-svc-body);
  font-size: clamp(16px, 1.7cqi, 20px); line-height: 1.65;
  color: var(--svc-slate); max-width: 65ch; text-wrap: pretty;
}

.cat-nav {
  position: sticky; top: 76px; z-index: 30;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--svc-line); border-bottom: 1px solid var(--svc-line);
}
.cat-nav__scroll { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.cat-nav__scroll::-webkit-scrollbar { display: none; }
.cat-nav a {
  flex: 0 0 auto; background: transparent; border: none;
  border-bottom: 2px solid transparent; padding: 14px 4px;
  font-family: var(--font-svc-body); font-size: 14px; font-weight: 500;
  color: var(--svc-slate); cursor: pointer; white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.cat-nav a:hover, .cat-nav a.is-active { color: var(--svc-ink); border-bottom-color: #4A72C4; }
@media (max-width: 979px) { .cat-nav { top: 69px; } }

.svc-band { background: var(--paper); border-top: 1px solid var(--svc-line); scroll-margin-top: 130px; }
.svc-band--alt { background: var(--svc-paper-alt); }
.svc-band__inner {
  max-width: 1280px; margin: 0 auto; padding: 6cqi 3.6cqi;
  display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 4cqi; align-items: start;
}
/* The left column is shorter than the service list in every category that runs
   to five or six services, which left a tall void beside the list. Pinning it
   keeps the number, title and photograph beside whichever service you are
   reading. `align-self: start` is required — a stretched grid item is full
   height and sticky has nothing to travel against. The offset clears the site
   header (76) plus the category bar (52). */
.svc-band__inner > :first-child {
  position: sticky;
  top: 152px;
  align-self: start;
}

@media (max-width: 979px) { .svc-band__inner > :first-child { top: 145px; } }

@media (max-width: 767px) {
  .svc-band__inner { grid-template-columns: 1fr; }
  /* Single column: the two stack, so there is nothing to pin against. */
  .svc-band__inner > :first-child { position: static; }
}

.svc-band__head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.svc-band__num {
  font-family: var(--font-svc-display); font-weight: 700;
  font-size: clamp(40px, 4.6cqi, 64px); line-height: .9; letter-spacing: -.04em;
  background: linear-gradient(45deg, #3E93A5 0%, #4A72C4 62%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.svc-band h2 {
  margin: 0 0 16px; font-family: var(--font-svc-display); font-weight: 600;
  font-size: clamp(23px, 2.4cqi, 32px); line-height: 1.12; letter-spacing: -.025em;
  color: var(--svc-ink);
}
.svc-band__summary {
  margin: 0 0 3cqi; font-family: var(--font-svc-body); font-size: 16px;
  line-height: 1.7; color: var(--svc-slate); max-width: 65ch; text-wrap: pretty;
}
.svc-figure { margin: 0; }
.svc-figure__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 4px; background: #E9EDF2;
}
.svc-figure__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.svc-figure figcaption {
  margin-top: 12px; font-family: var(--font-svc-body); font-size: 13px;
  line-height: 1.5; color: var(--svc-slate);
}

.svc-list { border-bottom: 1px solid var(--svc-line); }
.svc-item {
  padding: 26px 24px;
  background-image: var(--svc-gradient);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 2px;
  border-top: 1px solid var(--svc-line);
  transition: background-size .28s ease, background-color .28s ease;
}
[dir="rtl"] .svc-item { background-position: right bottom; }
.svc-item:hover { background-size: 100% 2px; background-color: var(--paper); }
.svc-item__name {
  font-family: var(--font-svc-display); font-weight: 600; font-size: 18px;
  line-height: 1.3; letter-spacing: -.01em; color: var(--svc-ink); margin-bottom: 8px;
}
.svc-item p {
  margin: 0; font-family: var(--font-svc-body); font-size: 15.5px;
  line-height: 1.68; color: var(--svc-slate); max-width: 65ch; text-wrap: pretty;
}

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .28s ease, transform .28s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Service detail
   -------------------------------------------------------------------------- */

.breadcrumb {
  display: flex; align-items: center; gap: 14px; margin-bottom: 2.4cqi;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue);
}
.breadcrumb span { color: var(--steel); }
.breadcrumb a:hover { color: var(--ink); }

.deliver-list { border-top: 1px solid var(--line); }
.deliver-list li {
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; list-style: none;
}
.deliver-list { margin: 0; padding-inline-start: 0; }

.baseline { background: var(--paper-alt); padding: 3.4cqi; }
.baseline__label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 2cqi;
}
.baseline__rows { display: flex; flex-direction: column; gap: 14px; font-size: 17px; color: var(--body); }
.baseline__rows > div { display: flex; gap: 14px; }
.baseline__rows .n { color: var(--blue); font-family: var(--font-mono); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.ceo { display: flex; flex-wrap: wrap; gap: 4cqi; align-items: flex-start; }
.ceo__portrait { flex: 0 1 300px; min-width: 0; }
.ceo__frame {
  position: relative; height: 380px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-deep);
}
.ceo__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ceo__name { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.ceo__role { font-size: 16px; color: var(--steel); margin-top: 4px; }
.ceo__message { flex: 1 1 420px; min-width: 0; }
.ceo__draft {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--amber-line);
  border-radius: 8px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 2.4cqi;
}
.ceo__lede {
  margin: 0 0 22px; font-size: clamp(18px, 1.8cqi, 22px); line-height: 1.6;
  color: var(--ink); font-weight: 500; text-wrap: pretty;
}
.ceo__message p:not(.ceo__lede) {
  margin: 0 0 20px; font-size: 18px; line-height: 1.7; color: var(--body); text-wrap: pretty;
}
.ceo__message p:last-child { margin-bottom: 0; }

.panel { background: var(--paper); border: 1px solid var(--line); padding: 3.4cqi; }
.panel__numeral {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.panel h2 {
  margin: 0 0 16px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2cqi, 26px); line-height: 1.14; letter-spacing: -.025em; color: var(--ink);
}
.panel p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }

.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3cqi 2.6cqi; margin-top: 3cqi;
}
@media (max-width: 767px) { .values-grid { grid-template-columns: 1fr; } }
.value__label {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -.015em; color: var(--ink); margin-bottom: 10px;
}
.value p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }

.figure-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 3.4cqi;
}
.figure-card__bar { height: 3px; width: 44px; background: var(--gradient); margin-bottom: 2.4cqi; }
.figure-card__value { font-family: var(--font-mono); font-size: clamp(34px, 4cqi, 54px); line-height: .9; }
.figure-card__label { font-size: 16px; color: var(--steel); margin-top: 16px; line-height: 1.45; }

.media-box { position: relative; min-height: 220px; overflow: hidden; border-radius: 12px; background: var(--paper-deep); }
.media-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-box__empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
  border: 1px dashed var(--line-strong); border-radius: 12px;
}

/* --------------------------------------------------------------------------
   Sectors / cases / news / careers / corporate
   -------------------------------------------------------------------------- */

.sector-block { border-top: 2px solid var(--ink); padding-top: 2.6cqi; }
.sector-block__num {
  font-family: var(--font-mono); font-size: 14px; color: var(--blue);
  letter-spacing: .14em; margin-bottom: 18px;
}
.sector-block h2 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2.1cqi, 28px); letter-spacing: -.025em;
}
.sector-block p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--steel); }

.case-card { border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-card__media { position: relative; height: 240px; overflow: hidden; background: var(--paper-deep); }
.case-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-card__body { padding: 3.4cqi; }
.case-card__meta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.case-card h2 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2.1cqi, 28px); letter-spacing: -.025em;
}
.case-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--steel); }
.is-placeholder h2, .is-placeholder h3 { color: var(--steel); }

.news-row {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 3.4cqi; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.4cqi; align-items: baseline;
}
.news-row__meta {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
}
.news-row__body { grid-column: span 2; }
.news-row h2 {
  margin: 0 0 10px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(19px, 2cqi, 26px); letter-spacing: -.02em;
}
.news-row p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--steel); }

.stack { display: flex; flex-direction: column; gap: 16px; }

.role-row {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 3cqi; display: flex; gap: 2.4cqi; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
}
.role-row h3 {
  margin: 0 0 8px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(18px, 1.9cqi, 24px); letter-spacing: -.02em;
}
.role-row__meta { font-size: 15px; color: var(--steel); }
.role-row__status {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber); border: 1px solid var(--line);
  padding: 12px 18px;
}

.tab-row { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.tab-row a { color: var(--body); border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px 18px; }
.tab-row a:hover { border-color: var(--blue); color: var(--blue); }
.tab-row a.is-active { color: #fff; background: var(--blue); border-color: var(--blue); font-weight: 600; }

.cert-card { border: 1px solid var(--line); border-radius: 12px; padding: 3.4cqi; }
.cert-card__status {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 2cqi;
}
.cert-card h3 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -.02em;
}
.cert-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--steel); }

.claim-panel {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  border-radius: 12px; padding: 4cqi; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 3cqi;
}
.claim__bar { height: 3px; width: 44px; background: var(--gradient); margin-bottom: 2.4cqi; }
.claim h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.claim p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }

.partner-cell {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  min-height: 140px; display: flex; align-items: center; justify-content: center;
  padding: 20px; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}
.partner-cell img { max-height: 84px; width: auto; object-fit: contain; }

.doc-row {
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; font-size: 17px; color: var(--steel);
}

.csr-block { border-top: 2px solid var(--ink); padding-top: 2.6cqi; }
.csr-block--accent { border-top: 4px solid; border-image: var(--gradient) 1; }
.csr-block h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.csr-block p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--steel); }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel);
}
.field input, .field textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: 16px;
  font-family: var(--font-body); font-size: 17px; color: var(--ink);
  min-height: 48px; background: var(--paper); width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--blue); outline: 2px solid var(--cyan); outline-offset: 0;
}
.field--error input, .field--error textarea { border-color: var(--red); }
.field__error { font-size: 14px; color: var(--red); }
.form button[type="submit"] { align-self: flex-start; border: none; }
/* Clipped, not offset — an off-canvas offset widens the RTL scroll area. */
.form__honey {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); pointer-events: none;
}

.form-message {
  background: var(--paper-alt); border-inline-start: 4px solid var(--green);
  padding: 3cqi; margin-bottom: 3cqi;
}
.form-message__label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.form-message p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--body); }
.form-message--error { border-inline-start-color: var(--red); }
.form-message--error .form-message__label { color: var(--red); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--paper-tint); color: var(--ink); border-top: 1px solid var(--line); }
.footer-cols {
  max-width: 1280px; margin: 0 auto; padding: 6cqi 3.6cqi 3cqi;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 4cqi;
}
.footer-cols img { width: 150px; display: block; margin-bottom: 2.4cqi; }
.footer-blurb { margin: 0 0 2.4cqi; font-size: 15px; line-height: 1.6; color: var(--steel); max-width: 24em; }
.footer-address { font-size: 15px; line-height: 1.7; color: var(--steel); }
.footer-heading {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 2cqi;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-links a { color: var(--body); }
.footer-links a:hover { color: var(--blue); }

.footer-base {
  max-width: 1280px; margin: 0 auto; padding: 2.4cqi 4cqi 4cqi;
  border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel);
}
.footer-base__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px 18px; flex-wrap: wrap;
}
/* Icon tiles carry the site's own card language — hairline border, 10px
   radius — and resolve to the brand gradient on hover, with ink on cyan, the
   pairing the brand guideline approves (9.8:1). */
.social { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.social__label {
  letter-spacing: .14em; color: var(--steel); margin-inline-end: 4px;
}
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--steel);
  border: 1px solid var(--line); border-radius: 10px; background: transparent;
  transition: color 180ms ease, border-color 180ms ease,
              background-color 180ms ease, transform 180ms ease,
              box-shadow 180ms ease;
}
.social a:hover {
  color: var(--ink);
  border-color: transparent;
  background-image: var(--gradient);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -14px rgba(19, 20, 27, .45);
}
.social a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .social a { transition: none; }
  .social a:hover { transform: none; }
}

.lang { display: flex; align-items: center; gap: 10px; }
.lang > span { letter-spacing: .14em; }
.lang a {
  background: transparent; border: 1px solid var(--line-strong); border-radius: 8px;
  color: var(--blue); padding: 11px 18px; font: inherit; letter-spacing: .14em;
  text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center;
}
.lang a:hover { border-color: var(--blue); background: rgba(91, 206, 215, .1); }
