/* TDP | التضامنية — website styles
   Brand tokens from brand/tokens.css (company-profile-tdp). Barlow is the web stand-in
   for DIN Next LT Arabic. No framework: one small stylesheet, cached for a year. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.2bc763014449.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.d312d179276a.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.8074c760fbdd.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-700-normal.c3609c36a150.woff2") format("woff2"); }

:root {
  --navy: #232954;
  --midnight: #0E1F4D;
  --line-grey: #CACCD6;
  --mist: #E8E9ED;
  --mist-2: #F4F5F8;
  --royal: #3D4C8F;
  --periwinkle: #8F9AC4;
  --slate: #676C80;
  --white: #fff;
  --navy-line: #42476C;
  --ok: #1F7A4D;
  --error: #B42318;

  --font: "DIN Next LT Arabic", "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(14, 31, 77, .06), 0 8px 24px rgba(14, 31, 77, .08);
  --shadow-lg: 0 24px 60px rgba(14, 31, 77, .18);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { overflow-x: clip; margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--navy); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--royal); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.25rem); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

/* Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--mist { background: var(--mist-2); }
.section--navy { background: var(--navy); color: #fff; }
.section--midnight { background: var(--midnight); color: #fff; }
.section--navy a:not(.btn), .section--midnight a:not(.btn) { color: #fff; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--2x2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--wide-media { grid-template-columns: .85fr 1.15fr; }
  .split--top { align-items: start; }
}
.stack > * + * { margin-top: 1rem; }

/* Type helpers ----------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 2.25rem; height: 2px; background: currentColor; }
.section--navy .eyebrow, .section--midnight .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--periwinkle); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--slate); max-width: 46rem; }
.section--navy .lead, .section--midnight .lead { color: rgba(255, 255, 255, .78); }
.muted { color: var(--slate); }
.small { font-size: .9rem; }
.section-head { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: end; justify-content: space-between; }
.section-head--row > div { max-width: 46rem; }
.section-head h2:last-child, .section-head p:last-child { margin-bottom: 0; }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .7rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--royal); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); color: var(--navy); }
.btn--outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--navy .link-arrow, .section--midnight .link-arrow { color: #fff; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--mist); box-shadow: 0 6px 24px rgba(14, 31, 77, .06); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: block; flex: none; }
.brand img { height: 44px; width: auto; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 999px; border: 0; background: none; font: 500 1rem/1.2 var(--font); color: var(--navy); text-decoration: none; cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-active > .nav__link { background: var(--mist-2); color: var(--navy); }
.nav__link .chev { width: .9rem; height: .9rem; transition: transform .2s; }
.nav__item.is-open .chev { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + .5rem); left: -.5rem; min-width: 300px; padding: .6rem; background: #fff; border: 1px solid var(--mist); border-radius: var(--radius); box-shadow: var(--shadow-lg); list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1081px) {
  .nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
}
.nav__menu a { display: block; padding: .6rem .8rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--navy); font-weight: 600; line-height: 1.3; }
.nav__menu a span { display: block; font-weight: 400; font-size: .88rem; color: var(--slate); }
.nav__menu a:hover { background: var(--mist-2); }
.nav__cta { margin-inline-start: .75rem; min-height: 2.6rem; padding-inline: 1.2rem; }
.nav-toggle { display: none; margin-inline-start: auto; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: var(--mist-2); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }
.nav-toggle .icon--close { display: none; }
@media (max-width: 1080px) {
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 2rem; background: #fff; overflow-y: auto; opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; justify-content: space-between; padding: 1rem .5rem; border-radius: 0; border-bottom: 1px solid var(--mist); font-size: 1.15rem; }
  .nav__link:hover, .nav__item.is-active > .nav__link { background: none; }
  .nav__menu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 .5rem .5rem; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item.is-open .nav__menu { display: block; }
  .nav__cta { margin: 1.5rem 0 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle .icon--menu { display: none; }
  body.nav-open .nav-toggle .icon--close { display: block; }
}

/* Toned photography (brand treatment: navy duotone) ---------------------- */
.tone { position: relative; background: var(--midnight); overflow: hidden; isolation: isolate; }
.tone > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); mix-blend-mode: luminosity; opacity: .55; }
.tone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 31, 77, .92) 0%, rgba(14, 31, 77, .55) 55%, rgba(35, 41, 84, .15) 100%); pointer-events: none; }

/* Home hero --------------------------------------------------------------- */
.hero { position: relative; color: #fff; min-height: min(88vh, 860px); display: flex; align-items: center; padding-block: clamp(6rem, 12vw, 9rem) clamp(9rem, 14vw, 11rem); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero { isolation: isolate; overflow: hidden; }
.hero__media > img { height: 100%; }
.hero__lines { position: absolute; right: -2%; bottom: 0; width: min(48vw, 640px); opacity: .5; pointer-events: none; z-index: -1; }
.hero h1 { max-width: 15ch; margin-bottom: .45em; }
.hero h1 span { color: var(--periwinkle); display: block; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 38rem; margin-bottom: 2.25rem; }
@media (max-width: 600px) { .hero .eyebrow { font-size: .72rem; letter-spacing: .1em; } .hero { min-height: 0; } }
.hero__ar { font-family: "Tajawal", var(--font); font-size: 1.1rem; color: rgba(255, 255, 255, .6); margin-bottom: 1.5rem; }

.stats-bar { position: relative; z-index: 2; margin-top: calc(-1 * clamp(5rem, 9vw, 6.5rem)); }
.stats-bar__inner { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: clamp(1.4rem, 3vw, 2.2rem); border-inline-start: 1px solid var(--mist); }
.stat:first-child { border-inline-start: 0; }
.stat__value { display: block; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--navy); margin-bottom: .45rem; }
.stat__label { display: block; font-weight: 600; line-height: 1.3; }
.stat__note { display: block; font-size: .88rem; color: var(--slate); margin-top: .2rem; }
@media (max-width: 860px) {
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--mist); }
}

/* Inner page hero ---------------------------------------------------------- */
.page-hero { position: relative; color: #fff; padding-block: clamp(4rem, 9vw, 7rem) clamp(3.5rem, 7vw, 5.5rem); isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media > img { height: 100%; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { color: rgba(255, 255, 255, .82); }
.page-hero--plain { background: var(--midnight); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.75rem; font-size: .9rem; color: rgba(255, 255, 255, .65); }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: .5rem; opacity: .6; }
.breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--mist); }
.subnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: .6rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: .45rem .9rem; border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 500; white-space: nowrap; }
.subnav a:hover, .subnav a[aria-current="true"] { background: var(--mist-2); }

/* Cards --------------------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mist); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); }
.card__title { margin: 0; font-size: 1.3rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--slate); margin: 0; }
.card__meta { margin-top: auto; padding-top: .75rem; font-size: .88rem; color: var(--slate); display: flex; gap: 1rem; flex-wrap: wrap; }
.card .link-arrow { margin-top: auto; padding-top: .75rem; }

/* Business-line tiles (home) */
.lines { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.line-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: 1.75rem; border-radius: var(--radius); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.line-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.line-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 31, 77, .05) 20%, rgba(14, 31, 77, .92) 100%); transition: background .3s; }
.line-tile:hover > img { transform: scale(1.05); }
.line-tile:hover { color: #fff; }
.line-tile:hover::before { background: linear-gradient(180deg, rgba(35, 41, 84, .35) 0%, rgba(14, 31, 77, .95) 100%); }
.line-tile__num { font-size: .85rem; font-weight: 600; letter-spacing: .14em; color: #fff; opacity: .7; }
.line-tile h3 { font-size: 1.6rem; margin: .35rem 0 .5rem; }
.line-tile p { margin: 0 0 1rem; color: rgba(255, 255, 255, .8); font-size: .98rem; }
.line-tile ul { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .93rem; color: rgba(255, 255, 255, .85); }
.line-tile li { padding: .3rem 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.line-tile .link-arrow { color: #fff; }

/* Feature panels ------------------------------------------------------------ */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--square { aspect-ratio: 1; }
.media-caption { font-size: .85rem; color: var(--slate); margin-top: .6rem; }
.mosaic { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.mosaic > :first-child { grid-row: span 2; }
.mosaic .media-frame { height: 100%; min-height: 180px; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery figure { margin: 0; }
.gallery .media-frame { aspect-ratio: 4 / 3; }

.figures { display: grid; gap: 0 1.5rem; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--mist); }
.figures--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .figures { grid-template-columns: 1fr 1fr; } }
.figure { padding: 1.75rem 1rem 1.75rem 0; border-bottom: 1px solid var(--mist); }
.figure__value { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1; margin-bottom: .5rem; }
.figure__label { color: var(--slate); line-height: 1.35; display: block; }
.section--navy .figures, .section--midnight .figures, .section--navy .figure, .section--midnight .figure { border-color: var(--navy-line); }
.section--navy .figure__label, .section--midnight .figure__label { color: rgba(255, 255, 255, .72); }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.feature-list li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--mist); }
.feature-list .icon { color: var(--royal); margin-top: .2rem; }
.section--navy .feature-list li, .section--midnight .feature-list li { border-color: var(--navy-line); }
.section--navy .feature-list .icon, .section--midnight .feature-list .icon { color: var(--periwinkle); }
.feature-list--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); column-gap: 2rem; }

.service { padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--mist); height: 100%; }
.service__icon { width: 3.25rem; height: 3.25rem; border-radius: 12px; display: grid; place-items: center; background: var(--mist-2); color: var(--navy); margin-bottom: 1.25rem; }
.service__icon .icon { width: 1.6rem; height: 1.6rem; }
.service h3 { margin-bottom: .5rem; }
.service p { color: var(--slate); margin: 0; }
.section--mist .service { border-color: transparent; }

.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pill-list li, .pill { padding: .4rem .9rem; border-radius: 999px; background: var(--mist-2); font-size: .92rem; font-weight: 500; }
.section--mist .pill-list li, .section--mist .pill { background: #fff; }
.section--navy .pill-list li { background: rgba(255, 255, 255, .08); }

/* Tables -------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--mist); border-radius: var(--radius); background: #fff; }
.data-table { font-size: .97rem; min-width: 560px; }
.data-table th, .data-table td { text-align: start; padding: .95rem 1.25rem; border-bottom: 1px solid var(--mist); vertical-align: top; }
.data-table thead th { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); background: var(--mist-2); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #FAFAFC; }
.data-table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table .project-name { font-weight: 600; }
.status { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.status--ongoing { background: #E7ECFA; color: var(--royal); }
.status--completed { background: #E3F2EA; color: var(--ok); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters a { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-grey); text-decoration: none; color: var(--navy); font-weight: 500; font-size: .95rem; }
.filters a:hover { border-color: var(--navy); }
.filters a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Bars (simple charts in CSS) ---------------------------------------------- */
.bars { display: grid; gap: .9rem; }
.bar { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr 3.5rem; gap: 1rem; align-items: center; font-size: .95rem; }
.bar__track { display: block; height: .65rem; border-radius: 999px; background: var(--mist); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: inherit; background: var(--royal); }
.bar__value { text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.section--navy .bar__track { background: rgba(255, 255, 255, .12); }
.section--navy .bar__fill { background: var(--periwinkle); }
.w-5{width:5%}.w-10{width:10%}.w-15{width:15%}.w-20{width:20%}.w-25{width:25%}.w-30{width:30%}.w-35{width:35%}.w-40{width:40%}.w-45{width:45%}.w-50{width:50%}.w-55{width:55%}.w-60{width:60%}.w-65{width:65%}.w-70{width:70%}.w-75{width:75%}.w-80{width:80%}.w-85{width:85%}.w-90{width:90%}.w-95{width:95%}.w-100{width:100%}

.columns-chart { display: flex; align-items: flex-end; gap: clamp(.4rem, 1.5vw, 1rem); height: 240px; padding-top: 1.5rem; }
.columns-chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .4rem; font-size: .85rem; }
.columns-chart__col b { font-size: .95rem; }
.columns-chart__bar { display: block; width: 100%; max-width: 64px; border-radius: 8px 8px 2px 2px; background: var(--periwinkle); }
.columns-chart__col:last-child .columns-chart__bar { background: #fff; }
.h-20{height:20%}.h-30{height:30%}.h-45{height:45%}.h-55{height:55%}.h-75{height:75%}.h-80{height:80%}.h-100{height:100%}

/* Timeline -------------------------------------------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0; border-top: 2px solid var(--navy-line); }
.timeline li { position: relative; padding: 2rem 1.5rem 1.5rem 0; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--periwinkle); box-shadow: 0 0 0 4px var(--navy); }
.timeline b { display: block; font-size: 2rem; font-weight: 600; line-height: 1; margin-bottom: .6rem; }
.timeline span { color: rgba(255, 255, 255, .78); }

/* Logos ------------------------------------------------------------------------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.logo-wall li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1.25rem; background: #fff; border: 1px solid var(--mist); border-radius: var(--radius-sm); transition: box-shadow .2s, border-color .2s; }
.logo-wall li:hover { box-shadow: var(--shadow); border-color: transparent; }
.logo-wall img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-wall li:hover img { filter: none; opacity: 1; }
.logo-wall--labelled li { aspect-ratio: auto; gap: .75rem; padding: 1.5rem 1rem; text-align: center; }
.logo-wall--labelled span { font-size: .85rem; color: var(--slate); line-height: 1.3; }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 50s linear infinite; padding-block: .5rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 56px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Certificates ------------------------------------------------------------------ */
.cert { margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--mist); overflow: hidden; display: flex; flex-direction: column; }
.cert__img { aspect-ratio: 3 / 4; background: var(--mist-2); padding: 1rem; }
.cert__img img { width: 100%; height: 100%; object-fit: contain; }
.cert figcaption { padding: 1.1rem 1.25rem 1.3rem; font-size: .95rem; }
.cert figcaption b { display: block; font-size: 1.05rem; }

/* Quote ---------------------------------------------------------------------------- */
.quote { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; font-weight: 500; margin: 0 0 1.5rem; }
.person { display: flex; align-items: center; gap: 1rem; }
.person b { display: block; }

/* CTA band ------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.5); padding: clamp(2.5rem, 6vw, 4.5rem); background: var(--navy); color: #fff; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: min(55%, 520px); aspect-ratio: 838 / 654; background: url("../img/line-progress-white.cf0248f328c5.svg") no-repeat right bottom / contain; opacity: .14; z-index: -1; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 40rem; }

/* Article ---------------------------------------------------------------------------- */
.article-header { padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.article-header h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 24ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--slate); font-size: .95rem; }
.article-cover { margin: 0 0 clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; }
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose h2 { font-size: 1.75rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; }
.prose img { border-radius: var(--radius-sm); margin-block: 1.5rem; }
.prose blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-inline-start: 3px solid var(--royal); font-size: 1.25rem; color: var(--navy); }
.prose table { margin: 1.5rem 0; font-size: 1rem; }
.prose th, .prose td { border-bottom: 1px solid var(--mist); padding: .6rem .75rem; text-align: start; }
.prose code { background: var(--mist-2); padding: .1rem .35rem; border-radius: 4px; font-size: .92em; }
.prose li { margin-bottom: .4rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.preview-banner { background: #FFF4E5; color: #7A4A00; padding: .8rem 0; font-weight: 600; text-align: center; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 3rem; }

/* Jobs --------------------------------------------------------------------------------- */
.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.job { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.5rem 1.75rem; background: #fff; border: 1px solid var(--mist); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.job:hover { box-shadow: var(--shadow); border-color: transparent; }
.job h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
.job h3 a { color: inherit; text-decoration: none; }
.job h3 a::after { content: ""; position: absolute; inset: 0; }
.job__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--slate); font-size: .92rem; }
.job__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.job__meta .icon { width: 1rem; height: 1rem; }
.job .icon--go { width: 1.5rem; height: 1.5rem; color: var(--royal); }
.empty { padding: 2.5rem; border: 1px dashed var(--line-grey); border-radius: var(--radius); text-align: center; background: #fff; }
.sidebar-card { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.75rem; border-radius: var(--radius); background: var(--mist-2); }
.sidebar-card dl { margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.sidebar-card dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); font-weight: 600; }
.sidebar-card dd { margin: 0; font-weight: 600; }
.layout-aside { display: grid; gap: 3rem; }
@media (min-width: 960px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; } }

/* Forms ------------------------------------------------------------------------------ */
.form { display: grid; gap: 1.25rem; }
.form-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.field .req { color: var(--royal); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; font: 400 1rem/1.4 var(--font); color: var(--navy); background: #fff; border: 1.5px solid var(--line-grey); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(61, 76, 143, .15); }
.field input[type=file] { width: 100%; padding: 1rem; border: 1.5px dashed var(--line-grey); border-radius: var(--radius-sm); background: var(--mist-2); font: inherit; }
.field--check { display: flex; gap: .75rem; align-items: flex-start; }
.field--check input { margin-top: .3rem; width: 1.15rem; height: 1.15rem; accent-color: var(--navy); flex: none; }
.field--check label { font-weight: 400; margin: 0; }
.field .help { font-size: .85rem; color: var(--slate); margin-top: .35rem; }
.field .errorlist, .form-errors { list-style: none; padding: 0; margin: .4rem 0 0; color: var(--error); font-size: .9rem; font-weight: 500; }
.form-errors { padding: 1rem 1.25rem; background: #FEF3F2; border-radius: var(--radius-sm); margin: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-weight: 500; }
.alert--success { background: #E3F2EA; color: var(--ok); }
.contact-card { padding: 2rem; border-radius: var(--radius); background: var(--navy); color: #fff; }
.contact-card a { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list .icon { color: var(--periwinkle); margin-top: .25rem; }
.contact-list small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* Footer --------------------------------------------------------------------------------- */
.site-footer { background: var(--midnight); color: rgba(255, 255, 255, .75); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; font-size: .97rem; }
.site-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 24rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--navy-line); font-size: .88rem; }
.footer-bottom img { height: 44px; width: auto; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--navy-line); }
.social a:hover { background: #fff; color: var(--navy); }

/* Motion ----------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Utilities -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; } .center .section-head, .section-head.center { margin-inline: auto; }
.center .eyebrow::before { display: none; }
.max-40 { max-width: 40rem; }
.text-white { color: #fff; }

@media print {
  .site-header, .site-footer, .subnav, .cta-band, .nav-toggle { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tone::after { display: none; }
}
.person span { display: block; }
.center .btn-row { justify-content: center; }
.center-img { margin-inline: auto; }
.article-header .eyebrow a { color: inherit; text-decoration: none; }
.article-body { padding-bottom: clamp(3rem, 7vw, 5rem); }
.card--product .card__media { background: #fff; padding: 1.25rem; border-bottom: 1px solid var(--mist); }
.card--product .card__media img { object-fit: contain; }
.card--product:hover .card__media img { transform: scale(1.03); }
.card--product .card__title { font-size: 1.1rem; }
