/* ------------------------------------------------------------------
   Metro Legal Solutions. Plain CSS, no framework.
   Version 2, classic format: the company's earlier orange-and-navy page
   is the base, in its dark variant only. Navy blocks (n1, n2, slate) on a
   near-black page, one orange for every action, Roboto in bold uppercase
   for titles with Kaushan Script for small handwritten subtitles, square
   corners, and navy gradients under a fine dot texture. Our own layer on
   top: an off-white top band, frosted navy glass (bar, dropdowns, card
   labels, quote and value cards, contact tiles, slider controls) over two
   slow ambient glows, and softer motion. Tokens and rules are documented
   in DESIGN.md.
   ------------------------------------------------------------------ */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../static/fonts/roboto-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Kaushan Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../static/fonts/kaushan-script-latin-400.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #171922;
  --alt: #1d202b;
  --card: #232734;
  --ink: #eceef2;
  --body: #d0d2dc;
  --soft: #a9acb8;
  --line: #343848;
  --orange: #ef5423;
  --orange-hi: #ff6a3d;
  --n1: #2a2e45;
  --n2: #363c55;
  --slate: #4a4f65;
  --dark: #111214;
  --darker: #0b0c0e;
  --f: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc: "Kaushan Script", "Brush Script MT", cursive;
  --e: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* the dot texture laid over every navy gradient */
  --dots: radial-gradient(rgba(0, 0, 0, 0.35) 1px, transparent 1.2px) 0 0 / 4px 4px;
  --wrap: 1140px;
  --offwhite: #f4f2ee;
  --offwhite-line: #e3e0d9;
  --offwhite-ink: #23262f;
  --offwhite-soft: #5d616d;
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  /* frosted glass: navy for structure, charcoal for cards */
  --glass-navy: rgba(46, 51, 76, 0.72);
  --glass-card: rgba(35, 39, 52, 0.58);
  --glass-edge: rgba(255, 255, 255, 0.09);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --blur: blur(18px) saturate(155%);
}

/* ---- base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 16px/1.7 var(--f); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; color: var(--orange); }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.top :focus-visible { outline-color: var(--orange); }

/* Two slow glows behind the page, so the glass has something to frost. */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient::before, .ambient::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.ambient::before { width: 60vw; height: 60vw; top: -18vw; right: -16vw; background: radial-gradient(closest-side, rgba(239, 84, 35, 0.16), transparent); animation: drift-a 30s var(--spring) infinite alternate; }
.ambient::after { width: 56vw; height: 56vw; bottom: -22vw; left: -18vw; background: radial-gradient(closest-side, rgba(96, 110, 168, 0.2), transparent); animation: drift-b 36s var(--spring) infinite alternate; }
@keyframes drift-a { to { transform: translate3d(-8vw, 10vh, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(7vw, -8vh, 0) scale(1.1); } }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 559px) { .wrap { padding-inline: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { width: 22px; height: 22px; fill: currentColor; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 13px; height: 13px; }
.script { display: block; font: 400 1.0625rem var(--sc); color: var(--orange); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100; padding: 0.75rem 1rem;
  background: var(--orange); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8125rem;
}
.skip-link:focus { top: 1rem; }

/* scroll progress along the very top */
.spbar { position: fixed; top: 0; left: 0; right: 0; z-index: 99; height: 3px; background: var(--orange); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---- buttons: the orange block with a darker arrow segment ------------ */
.cta {
  position: relative; overflow: hidden; display: inline-flex; align-items: stretch;
  background: var(--orange); color: #fff; font: 700 0.78125rem var(--f); letter-spacing: 0.09em; text-transform: uppercase;
  white-space: nowrap; transition: transform 0.25s, box-shadow 0.25s;
}
.cta > span { padding: 1.0625rem 1.625rem; }
.cta > i { display: flex; align-items: center; padding: 0 1.1875rem; background: rgba(0, 0, 0, 0.16); font: 400 1.375rem/1 var(--f); font-style: normal; transition: background 0.25s, padding 0.25s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(239, 84, 35, 0.4); }
.cta:hover > i { background: rgba(0, 0, 0, 0.3); padding: 0 1.4375rem; }
.cta::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-20deg); transition: left 0.8s;
}
.cta:hover::after { left: 130%; }
.cta--ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
.cta--ghost > i { background: rgba(255, 255, 255, 0.08); }
.cta--ghost:hover { box-shadow: inset 0 0 0 2px #fff, 0 10px 22px rgba(0, 0, 0, 0.3); }
.actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2rem; }
.actions--center { justify-content: center; }
@media (max-width: 559px) { .cta { white-space: normal; } .cta > span { padding-inline: 1.25rem; } }

/* ---- reveal (IntersectionObserver adds .in; no JS means visible) ------ */
html.js .reveal {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity 1s var(--spring), transform 1.1s var(--spring), filter 0.9s var(--spring);
  transition-delay: calc(var(--i, 0) * 90ms);
}
/* filter must end as none: a filtered ancestor would stop the glass inside
   it from seeing the page behind */
html.js .reveal.in { opacity: 1; transform: none; filter: none; }
/* photos in clipping frames zoom out as they appear; photos whose frame
   carries a badge outside it wipe in from the left instead */
html.js :where(.reveal:not(.in)) :where(.pcard__pic, .vp, .sector__pic) img { transform: scale(1.14); }
:where(.pcard__pic, .vp, .sector__pic) img { transition: transform 1.6s var(--spring); }
html.js :where(.reveal:not(.in)):where(.row__media, .lead-in__media, .why__media) img { clip-path: inset(0 100% 0 0); }
html.js :where(.row__media, .lead-in__media, .why__media) img { transition: clip-path 1.3s var(--spring) 0.1s; }
html.js .reveal h2::after { width: 0; transition: width 0.9s var(--spring) 0.35s; }
html.js .reveal.in h2::after { width: 56px; }
html.js .tile.reveal { opacity: 1; transform: none; filter: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--spring); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .tile.reveal.in { clip-path: inset(0); }

/* ---- top band: logo and the three ways in ----------------------------- */
.top { position: relative; z-index: 41; background: var(--offwhite); border-bottom: 1px solid var(--offwhite-line); animation: top-in 0.9s var(--spring) both; }
@keyframes top-in { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 92px; padding-block: 0.625rem; }
.top__logo img { width: auto; height: 60px; }
.info { display: flex; gap: 2rem; }
.info a { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; line-height: 1.35; color: var(--offwhite-soft); }
.info .icon { width: 32px; height: 32px; color: var(--orange); }
.info b { display: block; font-size: 0.96875rem; font-weight: 700; color: var(--offwhite-ink); transition: color 0.2s; }
.info a:hover b { color: var(--orange); }
@media (max-width: 1099px) { .info li:nth-child(n+2) { display: none; } }
@media (max-width: 639px) { .info { display: none; } .top__inner { min-height: 76px; justify-content: center; } .top__logo img { height: 50px; } }

/* ---- navy bar (sticky) ------------------------------------------------ */
.nav-sentinel { height: 0; }
.bar { position: sticky; top: 0; z-index: 40; isolation: isolate; transition: box-shadow 0.4s var(--spring); }
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--n2);
  border-bottom: 1px solid transparent; transition: background-color 0.4s var(--spring), border-color 0.4s;
}
.bar.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.bar.is-scrolled::before {
  background: var(--glass-navy); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-color: var(--glass-edge);
}
.bar__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
/* a small logo appears in the bar once the top band has scrolled away */
.bar__logo { display: none; }
.bar.is-scrolled .bar__logo { display: block; }
.bar__logo img { width: auto; height: 38px; }
@media (max-width: 1099px) { .bar__logo img { height: 34px; } }
.bar__cta > span { padding: 0.75rem 1.375rem; }
.bar__cta > i { padding: 0 0.9375rem; }
@media (max-width: 559px) { .bar__cta { display: none; } }

.primary { display: none; }
@media (min-width: 1100px) { .primary { display: block; } }
.primary__list { display: flex; align-items: center; }
.primary__item { position: relative; display: flex; align-items: center; }
.primary__item + .primary__item::before { content: "\2605"; margin: 0 1.125rem; color: var(--orange); font-size: 0.625rem; }
.primary__link {
  position: relative; display: block; padding: 1.25rem 0; color: #fff;
  font-size: 0.90625rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap;
}
.primary__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.primary__link:hover::after, .primary__link[aria-current="page"]::after, .primary__item.is-open > .primary__link::after { transform: scaleX(1); }
.primary__caret { display: grid; place-items: center; width: 24px; height: 32px; margin-left: 0.125rem; color: #c8cad4; transition: color 0.2s; }
.primary__caret .icon { transition: transform 0.25s var(--e); }
.primary__caret:hover, .primary__item.is-open .primary__caret { color: var(--orange); }
.primary__item.is-open .primary__caret .icon { transform: rotate(180deg); }

/* dropdowns: navy panels, square, orange top edge */
.dd, .fly {
  position: absolute; z-index: 50; border: 1px solid var(--glass-edge); border-top: 3px solid var(--orange);
  background: rgba(42, 46, 69, 0.86); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--glass-hi), 0 22px 48px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transition: opacity 0.22s var(--spring), transform 0.35s var(--spring), visibility 0.35s;
}
.dd { top: 100%; left: -1rem; width: 22rem; padding: 0.5rem; transform: translateY(10px) scale(0.98); transform-origin: top left; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dd.is-open > .dd { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .has-dd:hover > .dd, html:not(.js) .has-dd:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.dd__list { display: grid; }
.dd__list > li + li { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.dd__item { position: relative; display: flex; align-items: stretch; }
.dd__link { display: flex; flex: 1; align-items: flex-start; gap: 0.875rem; padding: 0.75rem; transition: background-color 0.2s; }
.dd__link:hover, .dd__item.is-open > .dd__link { background: rgba(255, 255, 255, 0.06); }
.dd__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; }
.dd__text { display: grid; gap: 0.125rem; }
.dd__title { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.dd__desc { font-size: 0.8125rem; line-height: 1.4; color: #b9bcc8; }
.dd__caret { display: grid; place-items: center; width: 36px; color: #b9bcc8; transition: color 0.2s, background-color 0.2s; }
.dd__caret:hover, .dd__item.is-open > .dd__caret { color: var(--orange); background: rgba(255, 255, 255, 0.06); }
.dd--services { width: 24rem; }
.fly { top: -3px; left: 100%; width: 19rem; padding: 0.75rem; transform: translateX(-6px); }
.fly::before { content: ""; position: absolute; top: 0; bottom: 0; left: -0.75rem; width: 0.75rem; }
.dd__item.is-open > .fly { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .dd__item:hover > .fly, html:not(.js) .dd__item:focus-within > .fly { opacity: 1; visibility: visible; transform: none; }
.fly__head { padding: 0.25rem 0.75rem 0.5rem; font: 400 1.0625rem var(--sc); color: var(--orange); }
.fly__link { display: block; padding: 0.5rem 0.75rem; font-size: 0.875rem; color: #d9dbe3; transition: background-color 0.2s, color 0.2s, padding-left 0.2s; }
.fly__link:hover { background: rgba(255, 255, 255, 0.06); color: #fff; padding-left: 1rem; }
.fly__all, .dd__foot {
  display: flex; align-items: center; gap: 0.375rem; margin-top: 0.5rem; padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange);
}
.fly__all:hover, .dd__foot:hover { color: var(--orange-hi); }
.dd--industries { width: 34rem; padding: 0.75rem; }
.dd__grid { display: grid; grid-template-columns: 1fr 1fr; }
.dd__chip { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.75rem; font-size: 0.875rem; color: #d9dbe3; transition: background-color 0.2s, color 0.2s; }
.dd__chip .icon { color: var(--orange); }
.dd__chip:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

/* the menu sheet below 1100px: nested accordions built on <details> */
.nav__toggle { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0; color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.nav__toggle .icon { color: var(--orange); }
.nav__toggle-close, .nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: block; }
@media (min-width: 1100px) { .nav__toggle, .menu { display: none !important; } }
.menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 45; padding-inline: 24px; }
@media (max-width: 559px) { .menu { padding-inline: 0; } }
@media (min-width: 640px) { .menu { left: auto; width: 26rem; } }
.menu__panel {
  max-height: calc(100svh - 80px); overflow-y: auto; overscroll-behavior: contain; padding: 0.75rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom)); border-top: 3px solid var(--orange);
  background: rgba(42, 46, 69, 0.9); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-hi), 0 22px 48px rgba(0, 0, 0, 0.5);
}
.mnav > li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mnav__top { display: flex; align-items: center; justify-content: space-between; padding: 0.875rem 0.75rem; color: #fff; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; list-style: none; }
.mnav summary { list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details > summary::after {
  content: ""; width: 8px; height: 8px; margin-left: auto; margin-right: 0.25rem; flex: none;
  border-right: 2px solid #b9bcc8; border-bottom: 2px solid #b9bcc8; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s var(--e);
}
.mnav details[open] > summary::after { transform: rotate(-135deg) translateY(-2px); border-color: var(--orange); }
.mnav details ul { padding: 0 0 0.625rem 0.75rem; }
.mnav details li a { display: block; padding: 0.5625rem 0.75rem; font-size: 0.9375rem; color: #d9dbe3; }
.mnav details li a:hover { background: var(--n2); color: #fff; }
.mnav__nest > li > details > summary { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.75rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; cursor: pointer; }
.mnav__nest > li > details > summary .icon { color: var(--orange); }
.mnav__nest details ul { margin-left: 1.25rem; padding-left: 0.5rem; border-left: 1px solid var(--slate); }
.menu__cta { display: flex; width: 100%; margin-top: 0.75rem; }
.menu__cta > span { flex: 1; text-align: center; }
.menu__call { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; padding: 0.75rem; color: #fff; font-weight: 500; }
.menu__call .icon { color: var(--orange); }

/* ---- navy gradient blocks: hero, banners ------------------------------ */
.hero, .banner {
  position: relative; overflow: hidden; color: #fff; text-align: center; isolation: isolate;
  background: linear-gradient(180deg, #1c1f30, #3a3f58 70%, #4a4f65);
}
.hero::after, .banner::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--dots); pointer-events: none; }
.sky { position: absolute; left: 0; bottom: 0; z-index: 0; width: 100%; height: 78%; animation: kb 22s ease-in-out infinite alternate; }
@keyframes kb { from { scale: 1; } to { scale: 1.1; } }

.hero { padding: 8rem 0 9.5rem; min-height: 600px; }
@media (max-width: 979px) { .hero { padding: 5.625rem 0 9rem; min-height: 0; } }
.slides { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 0 70px; }
@media (max-width: 979px) { .slides { padding: 0 52px; } }
.pre { margin: 0 0 0.25rem; font: 700 clamp(1.375rem, 3vw, 2rem)/1.2 var(--f); }
.big { margin: 0 0 1.125rem; padding: 0 0.04em 0.12em; overflow: hidden; font: 900 clamp(2.875rem, 9vw, 6.75rem)/1.04 var(--f); letter-spacing: -0.01em; white-space: nowrap; }
.tag { margin: 0 0 2.125rem; font-size: 0.78125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: opacity 0.4s var(--e); }
.tag.is-leaving { opacity: 0; }
/* letters rise out of a mask when a discipline comes in, and lift away
   when it leaves */
.ch { display: inline-block; white-space: pre; animation: ch-in 0.9s var(--e) both; animation-delay: calc(var(--c) * 40ms); }
.big.is-static .ch { animation: none; }
.big.is-leaving .ch { animation: ch-out 0.35s var(--e) both; animation-delay: calc(var(--c) * 15ms); }
@keyframes ch-in { from { transform: translateY(112%); } to { transform: none; } }
@keyframes ch-out { to { transform: translateY(-112%); } }
.prog { position: absolute; left: 0; bottom: 0; z-index: 3; width: 100%; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.prog.is-running { animation: pg var(--turn, 5.5s) linear forwards; }
.hero.is-held .prog { animation-play-state: paused; }
@keyframes pg { to { transform: scaleX(1); } }
.arr {
  position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--glass-hi); transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--spring);
}
.arr:hover { background: var(--orange); border-color: var(--orange); }
.arr:active { transform: translateY(-50%) scale(0.94); }
.arr--l { left: 1.5rem; }
.arr--l .icon { transform: rotate(180deg); }
.arr--r { right: 1.5rem; }
@media (max-width: 559px) { .arr { top: auto; bottom: 1.5rem; width: 44px; height: 44px; transform: none; } .arr:active { transform: scale(0.94); } .arr--l { left: 1rem; } .arr--r { right: 1rem; } }
.pills { position: absolute; z-index: 3; left: 50%; bottom: 2.25rem; display: flex; gap: 0.5rem; transform: translateX(-50%); }
@media (max-width: 559px) { .pills { left: 4.25rem; right: 4.25rem; bottom: 1.5rem; flex-wrap: wrap; justify-content: center; transform: none; } }
.pill {
  position: relative; overflow: hidden; isolation: isolate; padding: 0.625rem 1.125rem; border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14); color: #c8cad4; white-space: nowrap;
  font-size: 0.71875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--glass-hi); transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
@media (max-width: 559px) { .pill { padding: 0.5rem 0.75rem; font-size: 0.625rem; } }
.pill:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.pill[aria-pressed="true"] { color: #fff; border-color: rgba(239, 84, 35, 0.7); }
.pill__fill { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(239, 84, 35, 0.55), rgba(239, 84, 35, 0.3)); transform: scaleX(0); transform-origin: left; }
.pill[aria-pressed="true"] .pill__fill { transform: none; }
.pills.is-running .pill[aria-pressed="true"] .pill__fill { animation: pill-fill var(--turn, 5.5s) linear both; }
.hero.is-held .pill__fill { animation-play-state: paused !important; }
@keyframes pill-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.banner { padding: 5.5rem 0 5rem; }
.banner--tall { padding: 7rem 0 7rem; }
.banner__inner { position: relative; z-index: 2; }
.banner h1 { margin-top: 0.75rem; font: 900 clamp(2.5rem, 6vw, 4.5rem)/1.05 var(--f); color: #fff; }
.banner__tag { margin-top: 1rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #e4e6ee; }
.banner__lead { max-width: 52ch; margin: 1.25rem auto 0; font-size: 1.0625rem; color: #e4e6ee; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; font-size: 0.78125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #c8cad4; }
.crumbs li + li::before { content: "\2605"; margin-right: 0.5rem; color: var(--orange); font-size: 0.5625rem; vertical-align: middle; }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current] { color: #fff; }

/* ---- the six-icon strip under the hero -------------------------------- */
.strip { background: var(--n1); color: #fff; }
.strip__list { display: grid; grid-template-columns: repeat(6, 1fr); }
.strip li { border-right: 1px solid var(--slate); }
.strip li:last-child { border-right: 0; }
.strip a { display: block; padding: 2.375rem 0.5rem 2.125rem; text-align: center; transition: background 0.3s; }
.strip .icon { width: 50px; height: 50px; margin: 0 auto 1rem; transition: transform 0.35s, color 0.35s; }
.strip b { font-size: 0.90625rem; font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; }
.strip a:hover { background: var(--n2); }
.strip a:hover .icon { color: var(--orange); transform: translateY(-6px) scale(1.08); }
@media (max-width: 979px) {
  .strip__list { grid-template-columns: repeat(3, 1fr); }
  .strip li:nth-child(3n) { border-right: 0; }
  .strip li:nth-child(-n+3) { border-bottom: 1px solid var(--slate); }
}
@media (max-width: 559px) {
  .strip__list { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .strip li:nth-child(3n) { border-right: 1px solid var(--slate); }
  .strip li:nth-child(2n) { border-right: 0; }
  .strip li:nth-child(-n+4) { border-bottom: 1px solid var(--slate); }
  .strip a { padding-block: 1.75rem; }
}

/* ---- sections and the heading format ---------------------------------- */
.section { padding: 5.75rem 0; }
@media (max-width: 979px) { .section { padding: 4rem 0; } }
.alt { background: rgba(29, 32, 43, 0.72); }
.qb, .vgrid li, .philosophy li, .mission, .row .checks {
  background: var(--glass-card); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge); box-shadow: var(--glass-hi);
}
.ctile, .counts, .pledge li, .sector__body, .vc {
  background: var(--glass-navy); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--glass-hi);
}
.head { text-align: center; }
.head h2 { font: 700 clamp(1.75rem, 4vw, 2.625rem)/1.15 var(--f); }
.head h2::after { content: ""; display: block; width: 56px; height: 3px; margin: 1rem auto 0; background: var(--orange); }
.head .sub { max-width: 60ch; margin: 0.875rem auto 4rem; font-size: 1.0625rem; color: var(--soft); }
@media (max-width: 979px) { .head .sub { margin-bottom: 2.75rem; } }

/* ---- service cards: photo, orange badge, navy label ------------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.375rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 979px) { .cards, .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .cards, .cards--3 { grid-template-columns: 1fr; } }
.pcard { position: relative; display: flex; flex-direction: column; padding-top: 25px; transition: transform 0.5s var(--spring); }
.pcard__badge {
  position: absolute; z-index: 2; top: 0; left: 50%; display: grid; place-items: center; width: 50px; height: 50px;
  border-radius: 50%; background: var(--orange); color: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--bg);
}
.alt .pcard__badge { box-shadow: 0 0 0 4px var(--alt); }
.pcard__pic { position: relative; display: block; height: 210px; overflow: hidden; background: linear-gradient(135deg, #5b6075, var(--n1)); }
.pcard__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 46, 69, 0.2), rgba(42, 46, 69, 0.55)), var(--dots); }
.pcard__pic img { width: 100%; height: 100%; object-fit: cover; }
.lab {
  position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; margin: -52px 10px 0; padding: 1.25rem 1.125rem 1.375rem;
  color: #fff; text-align: center; border: 1px solid var(--glass-edge); border-bottom: 3px solid var(--orange);
  background: var(--glass-navy); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-hi), 0 16px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.5s var(--spring), background-color 0.4s;
}
.lab h3 { font: 700 1.1875rem/1.2 var(--f); text-transform: uppercase; color: #fff; }
.lab .script { margin: 0.25rem 0 0.625rem; color: #d9dbe3; }
.lab p { font-size: 0.875rem; line-height: 1.55; color: #c3c6d1; }
.lab__list { display: grid; gap: 0.375rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: left; font-size: 0.84375rem; color: #e4e6ee; }
.lab__list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.lab__list .icon { margin-top: 0.3rem; color: var(--orange); }
.lab__more { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; margin-top: auto; padding-top: 1.125rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.lab__more:hover { color: var(--orange-hi); }
.pcard:hover { transform: translateY(-6px); }
.pcard:hover .lab { background: rgba(42, 46, 69, 0.88); transform: translateY(-8px); }
.pcard:hover .pcard__pic img { transform: scale(1.08); }

/* ---- approach: dots and steps beside the shader panel ----------------- */
.split { position: relative; overflow: hidden; background: var(--slate); color: #fff; }
.sp { display: grid; grid-template-columns: 34px 1fr; gap: 1.75rem; align-items: center; min-height: 460px; padding-block: 4.375rem; }
.dots { display: flex; flex-direction: column; gap: 0.875rem; }
.dots button { width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: background 0.25s, transform 0.25s; }
.dots button:hover { transform: scale(1.25); }
.dots button[aria-pressed="true"] { background: var(--orange); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45); }
html:not(.js) .dots { display: none; }
.stext { max-width: 500px; }
.stext__label { margin-bottom: 0.625rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #d0d2dc; }
html.js .st:not(.is-on) { display: none; }
.st.is-on { animation: rise 0.6s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html:not(.js) .st + .st { margin-top: 1.5rem; }
.st__no { font: 400 1.125rem var(--sc); color: var(--orange); }
.st h3 { margin: 0.25rem 0 1rem; font: 700 clamp(1.875rem, 4vw, 2.75rem)/1.1 var(--f); color: #fff; }
.st p:last-child { margin-bottom: 1.75rem; font-size: 1.0625rem; color: #e4e6ee; }
/* Lady Justice: the live shader in the curved panel */
.sart {
  position: absolute; top: 0; right: 0; bottom: 0; width: 46%; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, #1e2133, #41475f); clip-path: ellipse(100% 100% at 100% 50%);
}
.sart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 979px) {
  .sp { min-height: 0; }
  .sart { position: relative; width: 100%; height: 320px; clip-path: none; }
}
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(125, 63, 43, 0.9), transparent 70%),
    radial-gradient(50% 70% at 75% 25%, rgba(245, 196, 173, 0.55), transparent 70%),
    radial-gradient(70% 60% at 60% 85%, rgba(43, 44, 54, 0.95), transparent 70%),
    linear-gradient(135deg, #2b2c36, #15161c);
}
.hero-mesh__mark { position: absolute; left: 50%; top: 50%; width: 72%; height: 64%; object-fit: contain; transform: translate(-50%, -50%); opacity: 0.25; }
.has-gl .hero-mesh { display: none; }
.hero__pause {
  position: absolute; right: 1rem; top: 1rem; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(0, 0, 0, 0.45); color: #fff; transition: background 0.25s;
}
.hero__pause:hover { background: var(--orange); }
.hero__pause-off, .hero__pause[aria-pressed="true"] .hero__pause-on { display: none; }
.hero__pause[aria-pressed="true"] .hero__pause-off { display: block; }

/* ---- about: vision card beside quote rows ----------------------------- */
.qwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.625rem; align-items: stretch; }
@media (max-width: 979px) { .qwrap { grid-template-columns: 1fr; } }
.vid { display: flex; flex-direction: column; overflow: hidden; color: #fff; }
.vp { position: relative; min-height: 230px; flex: 1; overflow: hidden; background: linear-gradient(135deg, #6a6f84, var(--n1)); }
.vp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(42, 46, 69, 0.6)), var(--dots); }
.vp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.vid:hover .vp img { transform: scale(1.05); }
.vc { padding: 1.375rem 1.625rem 1.625rem; border-bottom: 3px solid var(--orange); }
.vc h3 { margin-bottom: 0.375rem; font: 700 1.1875rem var(--f); text-transform: uppercase; color: #fff; }
.vc p { color: #d9dbe3; }
.vc p + p { margin-top: 0.75rem; font-size: 0.9375rem; color: #b9bcc8; }
.qs { display: flex; flex-direction: column; gap: 0.875rem; }
.q { display: flex; align-items: center; transition: transform 0.5s var(--spring); }
.av {
  position: relative; z-index: 1; display: grid; place-items: center; width: 92px; height: 92px; flex: none; margin-right: -14px;
  border-radius: 50%; border: 4px solid var(--bg); background: var(--orange); color: #fff; transition: transform 0.4s;
}
.alt .av { border-color: var(--alt); }
.av .icon { width: 38px; height: 38px; }
.av--sm { width: 56px; height: 56px; margin-right: 0; border-width: 0; }
.av--sm .icon { width: 26px; height: 26px; }
.qb { flex: 1; padding: 1rem 1.375rem 1rem 2.125rem; font-size: 0.9375rem; color: var(--soft); }
.qb p { margin-bottom: 0.5rem; }
.qb p:last-child { margin-bottom: 0; }
.qb b { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; color: var(--ink); }
.qb h3 { margin-bottom: 0.25rem; font: 700 1rem var(--f); text-transform: uppercase; letter-spacing: 0.02em; }
.q:hover { transform: translateX(6px); }
.q:hover .av { transform: rotate(-10deg) scale(1.06); }
@media (max-width: 559px) { .av { width: 72px; height: 72px; } .av .icon { width: 30px; height: 30px; } }
.counts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; border: 1px solid var(--glass-edge); }
.counts > div { padding: 1.75rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.counts > div:last-child { border-right: 0; }
.counts dt { font: 900 2.5rem/1 var(--f); color: var(--orange); font-variant-numeric: tabular-nums; }
.counts dd { margin-top: 0.5rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #d9dbe3; }
@media (max-width: 559px) { .counts { grid-template-columns: 1fr 1fr; } .counts > div:nth-child(2) { border-right: 0; } .counts > div:nth-child(-n+2) { border-bottom: 1px solid var(--slate); } }

/* ---- industries mosaic ------------------------------------------------ */
.mosaic-wrap { padding-top: 5.75rem; }
@media (max-width: 979px) { .mosaic-wrap { padding-top: 4rem; } }
.mos { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 979px) { .mos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .mos { grid-template-columns: 1fr; } }
.tile a { position: relative; display: flex; align-items: flex-end; height: 330px; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(160deg, #6a6f84, #262a3d); }
@media (max-width: 559px) { .tile a { height: 260px; } }
.tile__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.tile a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(42, 46, 69, 0.35), rgba(21, 24, 42, 0.8)), var(--dots); }
.tile__icon { position: absolute; left: 50%; top: 36%; width: 110px; height: 110px; transform: translate(-50%, -50%); opacity: 0.25; transition: transform 0.6s, opacity 0.4s, color 0.4s; }
.tile__body { display: grid; gap: 0.375rem; width: 100%; padding: 1.375rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); border-bottom: 4px solid transparent; transition: padding-bottom 0.3s, border-color 0.3s; }
.tile__title { font: 700 1.125rem/1.25 var(--f); text-transform: uppercase; }
.tile__desc { font-size: 0.84375rem; line-height: 1.5; color: #d9dbe3; }
.tile a:hover .tile__photo { transform: scale(1.06); }
.tile a:hover .tile__icon { opacity: 0.6; color: var(--orange); transform: translate(-50%, -50%) scale(1.15); }
.tile a:hover .tile__body { padding-bottom: 2.25rem; border-color: var(--orange); }
.band { padding: 2.125rem 0; background: var(--n2); color: #fff; text-align: center; font-size: 1.0625rem; }
.band__label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.band__text { max-width: 44ch; margin: 0.75rem auto 0; font: 700 clamp(1.25rem, 2.6vw, 1.75rem)/1.35 var(--f); color: #fff; }
.band--promise { padding: 3.5rem 0; background: linear-gradient(135deg, var(--n1), var(--slate)); }
.band--promise .script { font-size: 1.375rem; }

/* ---- why choose us ---------------------------------------------------- */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem; align-items: start; }
@media (max-width: 979px) { .why { grid-template-columns: 1fr; } }
.why__media { position: sticky; top: 90px; }
.why__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-bottom: 4px solid var(--orange); }
@media (max-width: 979px) { .why__media { position: static; } .why__media img { aspect-ratio: 16 / 9; } }
.why__list { display: grid; gap: 0.875rem; }

/* ---- values grid ------------------------------------------------------ */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.375rem; }
@media (max-width: 979px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .vgrid { grid-template-columns: 1fr; } }
.vgrid li { padding: 1.75rem 1.5rem; text-align: center; border-bottom: 3px solid var(--orange) !important; transition: transform 0.5s var(--spring), background-color 0.4s; }
.vgrid .av { margin-inline: auto; }
.vgrid h3 { margin-top: 1.125rem; font: 700 1rem var(--f); letter-spacing: 0.04em; text-transform: uppercase; }
.vgrid p { margin-top: 0.5rem; font-size: 0.90625rem; color: var(--soft); }
.vgrid li:hover { transform: translateY(-6px); background: rgba(42, 46, 69, 0.8); }

/* ---- contact tiles and the quick note --------------------------------- */
.ctiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.375rem; }
@media (max-width: 979px) { .ctiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .ctiles { grid-template-columns: 1fr; } }
.ctile { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 2rem 1.25rem 1.75rem; text-align: center; border: 1px solid var(--glass-edge); border-bottom: 3px solid var(--orange); transition: transform 0.5s var(--spring), background-color 0.4s; }
.ctile__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--orange); color: #fff; transition: transform 0.4s; }
.ctile__icon .icon { width: 28px; height: 28px; }
.ctile__label { margin-top: 1.125rem; font-size: 0.78125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #c8cad4; }
.ctile__value { margin-top: 0.25rem; font-size: 1rem; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.ctile:hover { transform: translateY(-6px); background: rgba(42, 46, 69, 0.9); }
.ctile:hover .ctile__icon { transform: rotate(-10deg) scale(1.06); }
.note { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem; margin-top: 1.375rem; padding: 2.25rem; background: var(--dark); border-top: 4px solid var(--orange); }
@media (max-width: 979px) { .note { grid-template-columns: 1fr; padding: 1.75rem; } }
.note__intro h3 { font: 700 1.25rem var(--f); text-transform: uppercase; color: #fff; }
.note__intro p { margin-top: 0.875rem; color: #b9bcc6; }
.note__address { display: flex; gap: 0.625rem; padding-top: 1.25rem; border-top: 1px solid #2b2d33; font-size: 0.9375rem; }
.note__address .icon { margin-top: 0.25rem; color: var(--orange); }
.field { display: grid; gap: 0.375rem; }
.field + .field { margin-top: 0.875rem; }
.field__label { font-size: 0.78125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.field__input { width: 100%; padding: 0.75rem 0.875rem; border: 1px solid #3a3d44; border-radius: 0; background: #2f3136; color: #fff; font: 400 0.9375rem var(--f); }
.field__input::placeholder { color: #8d909a; }
.field__input:focus-visible { outline: 0; border-color: var(--orange); }
.field__input--area { min-height: 7rem; resize: vertical; }
.note__send { margin-top: 1.125rem; }

/* ---- inner pages ------------------------------------------------------ */
.lead-in__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: center; }
.lead-in__grid--flip { grid-template-columns: 5fr 7fr; }
@media (max-width: 979px) { .lead-in__grid, .lead-in__grid--flip { grid-template-columns: 1fr; gap: 2.5rem; } }
.lead-in__body, .lead-in__media, .row__body, .row__media { min-width: 0; }
.lead-in__body h2 { margin-top: 0.25rem; font: 700 clamp(1.75rem, 3.6vw, 2.5rem)/1.15 var(--f); }
.lead-in__body h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 1rem; background: var(--orange); }
.lead-in__body > p { margin-top: 1.125rem; color: var(--soft); }
.lead-in__body > p:first-of-type, .lead-in__body .lead { font-size: 1.125rem; color: var(--body); }
.lead-in__body .checks { margin-top: 1.5rem; }
.lead-in__media { position: relative; }
.lead-in__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: 4px solid var(--orange); }
@media (max-width: 979px) { .lead-in__media img { aspect-ratio: 16 / 10; } }
.lead-in__badge {
  position: absolute; left: -22px; top: 2rem; display: grid; place-items: center; width: 76px; height: 76px;
  border-radius: 50%; border: 4px solid var(--bg); background: var(--orange); color: #fff;
}
.alt .lead-in__badge { border-color: var(--alt); }
.lead-in__badge .icon { width: 32px; height: 32px; }
@media (max-width: 559px) { .lead-in__badge { left: 0.75rem; top: 0.75rem; width: 60px; height: 60px; } }
.glance { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.glance > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.glance dt { font-size: 0.78125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); padding-top: 0.125rem; }
.glance dd { min-width: 0; color: var(--ink); overflow-wrap: anywhere; }
.glance a:hover { color: var(--orange); }

.checks { display: grid; gap: 0.625rem; }
.checks li { display: flex; align-items: flex-start; gap: 0.625rem; color: var(--body); }
.checks .icon { width: 20px; height: 20px; flex: none; margin-top: 0.1875rem; padding: 4px; border-radius: 50%; background: var(--orange); color: #fff; }
@media (min-width: 640px) { .checks--cols { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }

/* in-page links to each sub-section, sticky under the bar */
.jump { position: sticky; top: 60px; z-index: 20; background: var(--n1); border-bottom: 1px solid var(--slate); }
.jump__list { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); padding-right: 3rem; }
.jump__list::-webkit-scrollbar { display: none; }
.jump__list li + li::before { content: "\2605"; align-self: center; margin: 0 0.25rem; color: var(--orange); font-size: 0.5rem; }
.jump__list li { display: flex; }
.jump__link { position: relative; display: block; padding: 1rem 0.75rem; white-space: nowrap; font-size: 0.78125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #d0d2dc; transition: color 0.2s; }
.jump__link::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.jump__link:hover, .jump__link.is-current { color: #fff; }
.jump__link:hover::after, .jump__link.is-current::after { transform: scaleX(1); }

.rows { display: grid; gap: 5rem; padding-block: 5.75rem; }
@media (max-width: 979px) { .rows { gap: 3.5rem; padding-block: 4rem; } }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; scroll-margin-top: 3.5rem; }
.row--flip .row__media { order: 2; }
@media (max-width: 979px) { .row { grid-template-columns: 1fr; gap: 2rem; } .row--flip .row__media { order: 0; } }
.row__media { position: relative; }
.row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 4px solid var(--orange); }
.row__icon { position: absolute; right: 1.25rem; bottom: -24px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 4px solid var(--bg); background: var(--orange); color: #fff; }
.row h2 { font: 700 clamp(1.5rem, 3vw, 2.125rem)/1.2 var(--f); text-transform: uppercase; }
.row h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 0.875rem; background: var(--orange); }
.row__text { margin-top: 1.125rem; font-size: 1.0625rem; color: var(--soft); }
.row .checks { margin-top: 1.5rem; padding: 1.5rem; }

.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.375rem; }
@media (max-width: 767px) { .sectors { grid-template-columns: 1fr; } }
.sector { position: relative; display: flex; flex-direction: column; padding-top: 25px; scroll-margin-top: 1rem; }
.sector__pic { position: relative; height: 260px; overflow: hidden; }
.sector__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(42, 46, 69, 0.5)), var(--dots); }
.sector__pic img { width: 100%; height: 100%; object-fit: cover; }
.sector__body { flex: 1; margin: -52px 14px 0; position: relative; padding: 1.5rem 1.5rem 1.625rem; border: 1px solid var(--glass-edge); border-bottom: 3px solid var(--orange); text-align: center; }
.sector h2 { font: 700 1.25rem/1.25 var(--f); text-transform: uppercase; color: #fff; }
.sector__body > p { margin-top: 0.625rem; color: #c3c6d1; }
.sector__body .sector__label { margin-top: 1.25rem; font: 400 1.0625rem var(--sc); color: var(--orange); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; }
.tags--center { margin-top: 2.5rem; }
.tagl { display: inline-block; padding: 0.4375rem 0.9375rem; border: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; transition: background 0.25s, border-color 0.25s; }
.tagl:hover { background: var(--orange); border-color: var(--orange); }

.mission { display: flex; flex-direction: column; padding: 1.75rem; border-bottom: 3px solid var(--orange) !important; }
.mission h3 { display: flex; align-items: center; gap: 1rem; font: 700 1.1875rem var(--f); text-transform: uppercase; }
.mission > p { margin-top: 1rem; color: var(--body); }
.mission__sub { margin: 1.25rem 0 0.75rem; font-weight: 700; color: var(--ink); }
.lead-in__body .mission__sub { margin-top: 1.5rem; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--slate); }
@media (max-width: 979px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding: 1.75rem 1.5rem; background: var(--n1); }
.steps__no { font: 900 2.25rem/1 var(--f); color: var(--orange); }
.steps h3 { margin-top: 0.875rem; font: 700 1.0625rem var(--f); text-transform: uppercase; color: #fff; }
.steps p { margin-top: 0.5rem; font-size: 0.9375rem; color: #c3c6d1; }
.philosophy { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.375rem; margin-top: 3rem; }
@media (max-width: 979px) { .philosophy { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .philosophy { grid-template-columns: 1fr; } }
.philosophy li { padding: 1.5rem; border-top: 3px solid var(--orange) !important; }
.philosophy .icon { color: var(--orange); width: 28px; height: 28px; }
.philosophy h3 { margin-top: 0.875rem; font: 700 1rem var(--f); text-transform: uppercase; }
.philosophy p { margin-top: 0.375rem; font-size: 0.90625rem; color: var(--soft); }
.pledge { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.375rem; }
@media (max-width: 979px) { .pledge { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .pledge { grid-template-columns: 1fr; } }
.pledge li { padding: 1.5rem; border: 1px solid var(--glass-edge); border-bottom: 3px solid var(--orange); }
.pledge h3 { font: 700 1rem var(--f); text-transform: uppercase; color: #fff; }
.pledge p { margin-top: 0.5rem; font-size: 0.90625rem; color: #c3c6d1; }

/* closing band on a photograph */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: 4.5rem 0; color: #fff; }
.cta-band__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 33, 51, 0.97), rgba(54, 60, 85, 0.88) 60%, rgba(74, 79, 101, 0.75)), var(--dots); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
@media (max-width: 979px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } }
.cta-band__body { max-width: 40rem; }
.cta-band .script { font-size: 1.375rem; }
.cta-band h2 { margin-top: 0.25rem; font: 700 clamp(1.75rem, 3.6vw, 2.5rem)/1.15 var(--f); color: #fff; }
.cta-band__body > p:last-child { margin-top: 1rem; color: #d9dbe3; }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.875rem; flex: none; }
@media (max-width: 559px) { .cta-band__actions .cta { white-space: normal; } }

/* ---- footer ----------------------------------------------------------- */
.footer { background: var(--dark); color: #b9bcc6; border-top: 4px solid var(--orange); font-size: 0.9375rem; }
.fg { display: grid; grid-template-columns: 1.3fr 1.2fr 0.9fr 0.9fr; padding-block: 3.75rem; }
.fcol { padding: 0 1.75rem; border-left: 1px solid #2b2d33; }
.fcol:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 979px) { .fg { grid-template-columns: 1fr 1fr; gap: 2.25rem 0; } .fcol:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 559px) { .fg { grid-template-columns: 1fr; } .fcol { padding: 0; border-left: 0; } }
.flogo { width: auto; height: 60px; margin-bottom: 1.25rem; }
.fcol p { margin-bottom: 0.75rem; }
.fmotto { font: 400 1.125rem var(--sc); color: var(--orange); }
.fhead { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1.25rem; font: 700 1.0625rem var(--f); text-transform: uppercase; color: #fff; }
.fhead .icon { color: var(--orange); }
.ct li { display: flex; gap: 0.625rem; padding: 0.4375rem 0; }
.ct .icon { margin-top: 0.25rem; color: var(--orange); }
.ct a:hover, .fmap:hover { color: var(--orange); }
.fmap { display: inline-block; margin-top: 0.5rem; color: var(--orange); font-weight: 500; }
.fl a { display: block; padding: 0.4375rem 0; color: #fff; font-size: 0.875rem; font-weight: 500; text-transform: uppercase; transition: color 0.25s, padding-left 0.25s; }
.fl a:hover { color: var(--orange); padding-left: 0.5rem; }
.fb { background: var(--darker); padding: 1.25rem 0; font-size: 0.84375rem; }
.fb__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.fb ul { display: flex; flex-wrap: wrap; }
.fb li + li::before { content: "\2605"; margin: 0 1rem; color: var(--orange); font-size: 0.5625rem; vertical-align: middle; }
.fb ul a { color: #fff; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.fb ul a:hover { color: var(--orange); }
.fb p { flex: 1 1 22rem; }
.fb__credit { flex: 0 0 auto !important; }
.fb__credit a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* back to top: the round orange-ringed button */
.to-top {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange);
  background: rgba(35, 39, 52, 0.6); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s, background 0.25s, color 0.25s;
}
.to-top .icon { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); color: #fff; }

/* ---- reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .sky, .ch, .big.is-leaving .ch, .st.is-on, .top, .ambient::before, .ambient::after { animation: none; }
  html.js .reveal { filter: none; }
  html.js .tile.reveal { clip-path: none; }
  html.js :where(.row__media, .lead-in__media, .why__media) img { clip-path: none; }
  html.js .reveal h2::after { width: 56px; }
  .pills.is-running .pill[aria-pressed="true"] .pill__fill { animation: none; }
  .prog { display: none; }
  .cta::after { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---- reduced transparency: the glass turns solid ----------------------- */
@media (prefers-reduced-transparency: reduce) {
  .bar.is-scrolled::before, .dd, .fly, .menu__panel, .lab, .ctile, .counts, .pledge li, .sector__body, .vc, .to-top, .arr, .pill { background: var(--n1); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .qb, .vgrid li, .philosophy li, .mission, .row .checks { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
