/* ==========================================================================
   Plexus Systems — V4 "Prestige corporate" (refined)
   Full-screen film, confident navy and white, large photography, a measured
   orange accent. Content from V1 (root site).
   ========================================================================== */

:root {
  --navy: #0d2a66;
  --navy-2: #1a43a3;
  --ink: #0d1424;
  --text: #39414f;
  --muted: #6b7280;
  --line: #e3e5ea;
  --soft: #f6f9fc;
  --white: #fff;
  --accent: #f5771a;
  --accent-deep: #d4600b;

  --head: "Manrope", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.material-symbols-outlined { display: inline-block; width: 1em; height: 1em; overflow: hidden; white-space: nowrap; font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24; font-size: 1.2em; line-height: 1; vertical-align: middle; }
html.icon-wait .material-symbols-outlined { visibility: hidden; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--navy); color: #fff; transition: top .2s; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(80px, 10vw, 150px); }
.sec-s { padding-block: clamp(56px, 7vw, 96px); }
.soft { background: var(--soft); }
.dark { background: var(--navy); color: rgba(255, 255, 255, .8); }
.dark h2, .dark h3 { color: #fff; }

/* ---------- Type ---------- */
.over { display: inline-flex; align-items: center; gap: 14px; font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); }
.over::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.dark .over, .on-photo .over { color: #ffac5c; }
.t-hero { font-size: clamp(44px, 6.4vw, 96px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.t-xl { font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -.032em; line-height: 1.06; }
.t-lg { font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -.028em; }
.t-md { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.018em; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--text); }
.dark .lead { color: rgba(255, 255, 255, .78); }
.muted { color: var(--muted); }
.head { display: grid; gap: 22px; max-width: 780px; margin-bottom: clamp(44px, 6vw, 80px); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(44px, 6vw, 80px); }
.head-row .head { margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 30px; font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .02em; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.btn .material-symbols-outlined { font-size: 20px; transition: transform .4s var(--ease); }
.btn:hover .material-symbols-outlined { transform: translateX(5px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-white-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn-white-line:hover { background: #fff; color: var(--navy); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--navy); }
.more .material-symbols-outlined { font-size: 20px; color: var(--accent); transition: transform .4s var(--ease); }
.more:hover .material-symbols-outlined { transform: translateX(5px); }
.dark .more, .on-photo .more { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.site-header .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .4s var(--ease); }
.brand { position: relative; width: 132px; height: 48px; transition: width .4s var(--ease), height .4s var(--ease); }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left; transition: opacity .4s; }
.brand .on-photo-logo { opacity: 0; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; padding: 10px 14px; font-family: var(--head); font-weight: 600; font-size: 15px; transition: padding .4s var(--ease), font-size .4s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: none; }
.hdr-cta .btn { height: 46px; padding: 0 22px; font-size: 14px; transition: height .4s var(--ease), padding .4s var(--ease), font-size .4s var(--ease), background .3s; }
/* Mini header: past 400px the bar shrinks instead of hiding, so the nav is always one click away. */
.site-header.is-mini { box-shadow: 0 6px 24px -14px rgba(13, 42, 102, .28); }
.site-header.is-mini .wrap { height: 56px; }
.site-header.is-mini .brand { width: 106px; height: 38px; }
.site-header.is-mini .nav a { padding: 8px 12px; font-size: 14px; }
.site-header.is-mini .nav a::after { left: 12px; right: 12px; bottom: 1px; }
.site-header.is-mini .hdr-cta .btn { height: 36px; padding: 0 18px; font-size: 13.5px; }
.site-header.is-mini .menu-toggle { width: 44px; height: 44px; }
.menu-open .site-header .wrap { height: 84px; }
.menu-open .site-header .brand { width: 132px; height: 48px; }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .4s var(--ease), background .3s; }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { transform: translateY(-7px); }
.menu-toggle span::after { transform: translateY(7px); }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: rotate(45deg); }
.menu-open .menu-toggle span::after { transform: rotate(-45deg); }
/* Transparent over the hero film / photo */
.over-media .site-header:not(.is-scrolled) { background: transparent; border-color: rgba(255, 255, 255, .18); color: #fff; }
.over-media .site-header:not(.is-scrolled) .brand .on-photo-logo { opacity: 1; }
.over-media .site-header:not(.is-scrolled) .brand .on-white-logo { opacity: 0; }
.menu-open .site-header { background: var(--navy) !important; color: #fff !important; border-color: rgba(255, 255, 255, .12) !important; transform: none; }
.menu-open .site-header .brand .on-photo-logo { opacity: 1 !important; }
.menu-open .site-header .brand .on-white-logo { opacity: 0 !important; }
@media (max-width: 980px) { .nav, .hdr-cta .btn { display: none; } .menu-toggle { display: inline-flex; } }
.mobile-menu { position: fixed; inset: 0; z-index: 99; padding: 108px var(--gutter) 36px; background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-family: var(--head); font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.mobile-menu nav a[aria-current="page"] { color: #ffac5c; }
.mobile-menu > * { flex-shrink: 0; }
.mobile-menu .btn { justify-content: center; }
/* Short phones: tighten the list so the button and contact details stay in view. */
@media (max-height: 820px) {
  .mobile-menu { padding-top: 92px; padding-bottom: 24px; gap: 18px; }
  .mobile-menu nav a { padding: 12px 0; font-size: 22px; }
}
@media (max-height: 620px) { .mobile-menu nav a { padding: 8px 0; font-size: 19px; } }
.menu-foot { margin-top: auto; display: grid; gap: 6px; color: rgba(255, 255, 255, .7); }

/* ---------- Film hero ---------- */
.film { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.film video, .film .poster { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.film::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 42, 102, .55) 0%, rgba(13, 42, 102, .12) 32%, rgba(13, 42, 102, .25) 55%, rgba(13, 42, 102, .88) 100%); }
.film h1 { color: #fff; max-width: 14ch; }
.film h1 .acc { color: #ffac5c; }
.film-copy { display: grid; gap: 28px; padding-bottom: clamp(40px, 6vh, 64px); }
.film .lead { color: rgba(255, 255, 255, .86); max-width: 58ch; }
.film-bar { border-top: 1px solid rgba(255, 255, 255, .22); background: rgba(13, 42, 102, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.film-bar .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center; }
.film-bar .stat { padding: 22px 24px 22px 0; display: grid; gap: 2px; }
.film-bar .stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.film-bar strong { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); white-space: nowrap; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.film-bar span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.film-ctrl { display: inline-flex; align-items: center; gap: 10px; padding-left: 24px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.film-ctrl .material-symbols-outlined { width: 40px; height: 40px; display: grid; place-items: center; font-size: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.film-ctrl:hover .material-symbols-outlined { background: rgba(255, 255, 255, .15); }
.rise { opacity: 0; transform: translateY(26px); will-change: transform, opacity; animation: rise 1.2s var(--ease) forwards; animation-delay: var(--d, .2s); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .film-bar .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-bar .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .film-bar .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  .film-ctrl { display: none; }
  .film-bar .stat { padding-right: 12px; }
  .film-bar .stat + .stat { padding-left: 16px; }
  .film-bar .stat:nth-child(3) { padding-left: 0; }
  .film-bar .stat > span { font-size: 12.5px; white-space: nowrap; gap: 5px; }
  .film-bar .stat > span .material-symbols-outlined { font-size: 15px; }
}
@media (max-width: 359px) { .film-bar .stat > span { white-space: normal; } }

/* ---------- Page hero (inner) ---------- */
.ph { position: relative; min-height: 64svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; padding: 160px 0 clamp(48px, 7vw, 88px); }
.ph img.bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: none; } }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 42, 102, .9) 0%, rgba(13, 42, 102, .65) 45%, rgba(13, 42, 102, .2) 100%), linear-gradient(0deg, rgba(13, 42, 102, .5), transparent 40%); }
.ph h1 { color: #fff; max-width: 18ch; }
.ph .lead { color: rgba(255, 255, 255, .85); max-width: 60ch; margin-top: 24px; }
.ph .crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 24px; }
.ph .crumbs a:hover { color: #fff; text-decoration: underline; }
.ph .btns { margin-top: 32px; }

/* ---------- Intro statement ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: end; }
.intro .t-xl em { font-style: normal; color: #ff8f3a; }
.intro aside { display: grid; gap: 26px; }
@media (max-width: 900px) { .intro { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Capability mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; overflow: hidden; isolation: isolate; color: #fff; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 2.6vw, 36px); }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 42, 102, .3) 0%, rgba(13, 42, 102, 0) 30%, rgba(13, 42, 102, 0) 38%, rgba(13, 42, 102, .9)); transition: background .5s; }
.tile:hover img { transform: scale(1.05); }
.tile:hover::before { background: linear-gradient(180deg, rgba(13, 42, 102, .2) 0%, rgba(13, 42, 102, .94)); }
.tile .n { position: absolute; top: clamp(24px, 2.6vw, 36px); left: clamp(24px, 2.6vw, 36px); font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: rgba(255, 255, 255, .8); }
.tile .badge { position: absolute; top: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); padding: 6px 12px; background: var(--accent); font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.tile h3 { color: #fff; font-size: clamp(22px, 2.1vw, 30px); }
.tile p { margin-top: 10px; font-size: 15.5px; color: rgba(255, 255, 255, .82); max-width: 46ch; }
.tile .more { margin-top: 18px; color: #fff; }
.t7 { grid-column: span 7; } .t5 { grid-column: span 5; } .t4 { grid-column: span 4; } .t8 { grid-column: span 8; } .t6 { grid-column: span 6; }
@media (max-width: 960px) { .mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .t7, .t5, .t4, .t8, .t6 { grid-column: span 1; } .mosaic .tile:first-child { grid-column: 1 / -1; } .tile { min-height: 360px; } }
@media (max-width: 600px) { .mosaic { grid-template-columns: minmax(0, 1fr); } .tile { min-height: 320px; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split .photo .cap { position: absolute; left: 0; bottom: 0; padding: 22px 26px; background: var(--navy); color: #fff; display: grid; gap: 2px; max-width: 80%; }
.split .photo .cap small { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #ffac5c; font-weight: 700; font-family: var(--head); }
.split .photo .cap b { font-family: var(--head); font-weight: 700; font-size: 20px; }
.split .copy { display: grid; gap: 26px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } .split .photo { aspect-ratio: 4 / 3; } }

.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos a { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 18% 16%; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .3s; }
.logos img { max-height: 38px; width: auto; max-width: 100%; object-fit: contain; filter: saturate(.75); opacity: .92; transition: filter .4s, opacity .4s; }
.logos a:hover { background: var(--soft); }
.logos a:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .2); }
.approach li { padding: 36px 28px 0 0; display: grid; gap: 14px; align-content: start; }
.approach li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.approach .n { font-family: var(--head); font-weight: 700; font-size: 14px; color: #ffac5c; letter-spacing: .1em; }
.approach h3 { font-size: 26px; }
.approach p { font-size: 15.5px; color: rgba(255, 255, 255, .72); }
.approach ul { display: grid; gap: 6px; margin-top: 4px; }
.approach ul li { padding: 0; border: 0; font-size: 14px; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 6px; }
.approach ul li::before { content: "check"; font-family: "Material Symbols Outlined"; font-size: 16px; line-height: 1; width: 1em; overflow: hidden; color: var(--accent); }
html.icon-wait .approach ul li::before { visibility: hidden; }
@media (max-width: 900px) { .approach { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 40px; } .approach > li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .approach { grid-template-columns: minmax(0, 1fr); } .approach > li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); } }

/* ---------- Industries ---------- */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ind { display: grid; gap: 18px; align-content: start; }
.ind .ph-img { aspect-ratio: 4 / 3; overflow: hidden; }
.ind .ph-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ind:hover .ph-img img { transform: scale(1.05); }
.ind h3 { font-size: 22px; }
.ind p { font-size: 15.5px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tag { font-size: 13px; font-weight: 600; color: var(--navy-2); }
.tag::before { content: "• "; color: var(--accent); }
@media (max-width: 900px) { .inds { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .inds { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Clients ---------- */
/* Clients: one panel per sector, a tag on the top edge, dividers between logos.
   Government spans the full width; the other sectors share the row below, each as wide as its logo count (--n).
   Logos wrap in rows of --c and an incomplete last row is centered. */
.sectors { display: grid; grid-template-columns: repeat(var(--sum), minmax(0, 1fr)); gap: 40px 24px; }
.sector { --c: var(--n); grid-column: span var(--n); position: relative; padding: 34px 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(13, 42, 102, .04), 0 10px 30px -18px rgba(13, 42, 102, .18); }
.sector.wide { --c: 6; grid-column: 1 / -1; }
.sector-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 22px; border-radius: 8px; background: var(--navy); color: #fff; font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.sector-grid { display: flex; flex-wrap: wrap; justify-content: center; overflow: hidden; }
.sector figure { flex: 0 0 calc(100% / var(--c)); min-width: 0; position: relative; margin: 0; padding: 14px 12px 16px; display: grid; grid-template-rows: 104px auto; justify-items: center; align-content: start; gap: 12px; text-align: center; }
.sector figure::before { content: ""; position: absolute; left: -1px; top: 14%; bottom: 14%; width: 1px; background: var(--line); }
.sector figure::after { content: ""; position: absolute; top: -1px; left: 6%; right: 6%; height: 1px; background: var(--line); }
.sector img { align-self: center; max-height: 104px; max-width: min(100%, 190px); width: auto; object-fit: contain; transition: transform .4s var(--ease); }
.sector figure:hover img { transform: scale(1.06); }
/* No divider before the first logo of a row (rows are centered, so it would hang in empty space) */
.sector figure:first-child::before, .sector.wide figure:nth-child(6n + 1)::before { display: none; }
/* Labelled groups inside a panel: each as wide as its logo count, a full-height divider between them */
/* Groups wrap on narrow screens; each draws its divider on its left and top edge, and the container clips
   the ones on the outer edge, so dividers only ever appear between groups. */
.sector-subs { display: flex; flex-wrap: wrap; overflow: hidden; }
.sector-sub { flex: var(--c) 1 0; min-width: 0; position: relative; display: grid; align-content: start; }
.sector-sub::before { content: ""; position: absolute; left: -1px; top: 4px; bottom: 8%; width: 1px; background: var(--line); }
.sector-sub::after { content: ""; position: absolute; top: -1px; left: 4%; right: 4%; height: 1px; background: var(--line); }
.sub-label { justify-self: center; margin: 2px 8px 4px; padding: 3px 12px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--navy-2); font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; text-align: center; }
.sector figcaption { font-family: var(--head); font-size: 12.5px; font-weight: 700; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); text-wrap: balance; }
@media (max-width: 1000px) {
  /* Small sectors side by side, the last (largest) one on its own row */
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector { --c: min(var(--n), 3); grid-column: auto; }
  .sector.wide, .sector:last-child { grid-column: 1 / -1; }
  .sector.wide { --c: 4; }
  .sector.wide figure:nth-child(n)::before { display: block; }
  .sector.wide figure:nth-child(4n + 1)::before { display: none; }
  .sector figure { grid-template-rows: 80px auto; padding-inline: 8px; }
  .sector img { max-height: 80px; }
}
@media (max-width: 760px) {
  .sectors { gap: 36px 14px; }
  .sector.wide { --c: 2; }
  .sector.wide figure:nth-child(n)::before { display: block; }
  .sector.wide figure:nth-child(2n + 1)::before { display: none; }
  .sector { padding-inline: 8px; }
  .sector-tag { padding: 5px 12px; font-size: 11px; }
  .sector figure { grid-template-rows: 60px auto; padding: 10px 6px 12px; gap: 10px; }
  .sector img { max-height: 60px; }
  .sector figcaption { font-size: 11px; }
  /* Groups wrap two to a row: one unbroken line between rows, room above each label,
     and dividers between groups that match the ones between logos */
  .sector-subs { margin-top: -14px; }
  .sector-sub { flex: var(--c) 1 calc(var(--c) * 30%); padding-top: 16px; }
  .sector-sub::before { top: 16px; bottom: 16px; }
  .sector-sub::after { left: 0; right: 0; }
  .sector-sub img { max-width: min(100%, 120px); }
}

/* ---------- Closing CTA ---------- */
.closing { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(110px, 14vw, 190px); }
.closing img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 42, 102, .92), rgba(13, 42, 102, .6) 60%, rgba(13, 42, 102, .35)); }
.closing h2 { color: #fff; max-width: 16ch; }
.closing .lead { color: rgba(255, 255, 255, .85); max-width: 52ch; margin: 26px 0 36px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1f4d; color: rgba(255, 255, 255, .7); padding-top: clamp(64px, 8vw, 100px); }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 56px; }
.f-grid h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.f-grid ul { display: grid; gap: 10px; font-size: 15px; }
.f-grid a:hover { color: #fff; }
.f-brand img { width: 160px; margin-bottom: 20px; }
.f-brand p { font-size: 15px; max-width: 34ch; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .f-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner content ---------- */
.rows { display: grid; gap: clamp(64px, 8vw, 120px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; scroll-margin-top: 100px; }
.row:nth-child(even) .row-photo { order: 2; }
.row-photo { aspect-ratio: 4 / 3.3; overflow: hidden; }
.row-photo img { width: 100%; height: 100%; object-fit: cover; }
.row-copy { display: grid; gap: 22px; align-content: start; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.checks li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink); display: flex; gap: 10px; }
.checks li::before { content: "check_circle"; flex-shrink: 0; font-family: "Material Symbols Outlined"; font-size: 20px; width: 1em; overflow: hidden; line-height: 1.35; color: var(--accent); font-variation-settings: "FILL" 1, "wght" 400; }
html.icon-wait .checks li::before { visibility: hidden; }
@media (max-width: 900px) { .row { grid-template-columns: minmax(0, 1fr); } .row:nth-child(even) .row-photo { order: 0; } }
@media (max-width: 560px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.jump { padding-block: 18px; border-bottom: 1px solid var(--line); position: sticky; top: 84px; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); }
.jump .wrap { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 10px 24px; }
.jump a { display: flex; align-items: flex-start; gap: 7px; font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--muted); transition: color .25s; }
.jump a .material-symbols-outlined { flex-shrink: 0; font-size: 18px; margin-top: 1px; color: var(--accent); }
@media (max-width: 1080px) { .jump .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .jump .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; } .jump a { font-size: 13px; } }
.jump a:hover { color: var(--navy); }
@media (max-width: 760px) { .jump { position: static; } }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: clamp(26px, 2.8vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; background: #fff; }
.card > .material-symbols-outlined { font-size: 34px; color: var(--accent); }
.card h3 { font-size: 21px; }
.card p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 1000px) { .cards, .cards.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards.c4, .cards.c2 { grid-template-columns: minmax(0, 1fr); } }
.prose { display: grid; gap: 18px; font-size: 18px; }
.prose strong { color: var(--ink); }
.quote { font-family: var(--head); font-weight: 500; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.015em; color: #fff; }
.tl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.tl > div { position: relative; padding: 30px 22px 0 0; display: grid; gap: 10px; align-content: start; }
.tl > div::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--accent); }
.tl b { font-family: var(--head); font-weight: 700; font-size: 34px; letter-spacing: -.03em; color: var(--navy); line-height: 1; }
.tl h4 { font-size: 17px; }
.tl p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .tl { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--navy); } .tl > div { padding: 0 0 30px 28px; } .tl > div::before { top: 6px; left: -7px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn { height: 42px; padding: 0 18px; font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: all .25s; }
.filter-btn sup { color: var(--muted); margin-left: 4px; }
.filter-btn:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.filter-btn[aria-pressed="true"] sup { color: rgba(255, 255, 255, .7); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }
.product-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; min-height: 320px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.product-card[hidden] { display: none; }
.product-card:hover { background: var(--soft); }
.product-card .logo-box { height: 56px; display: flex; align-items: center; }
.product-card .logo-box img { max-height: 36px; max-width: 64%; width: auto; filter: saturate(.75); opacity: .92; transition: filter .4s, opacity .4s; }
.product-card:hover .logo-box img { filter: none; opacity: 1; }
.product-card .cat { font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.product-card h3 { font-size: 22px; }
.product-card p { font-size: 15px; color: var(--muted); }
.product-card .more { margin-top: auto; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpis > div { padding: 28px 24px 28px 0; display: grid; gap: 6px; }
.kpis > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.kpis strong { font-family: var(--head); font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.03em; line-height: 1; color: var(--navy); }
.kpis span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis > div:nth-child(3) { padding-left: 0; border-left: 0; } .kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.vendor-logo { display: inline-grid; place-items: center; height: 70px; padding: 0 26px; background: #fff; width: fit-content; }
.vendor-logo img { max-height: 36px; width: auto; max-width: 200px; }
.spec h3 { padding-bottom: 14px; border-bottom: 2px solid var(--navy); font-size: 20px; }
.spec dl { margin: 0; }
.spec dl div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- Forms (behaviour from ../js/site.js) ---------- */
.form-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .form-split { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.field label .req { color: var(--accent-deep); }
.input, .select, .textarea { width: 100%; padding: 15px 16px; border: 1px solid #cdd1d9; border-radius: 0; background: #fff; font-size: 16px; color: var(--ink); appearance: none; -webkit-appearance: none; transition: border-color .25s, box-shadow .25s; }
.input::placeholder, .textarea::placeholder { color: #9ca3af; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13, 42, 102, .1); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a66' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.textarea { min-height: 150px; resize: vertical; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #c0392b; }
.field-error { display: none; font-size: 13px; color: #c0392b; }
.field.invalid .field-error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border: 1px solid #9ca3af; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--navy); border-color: var(--navy); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check.invalid input { border-color: #c0392b; }
.chip-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-choices label { position: relative; }
.chip-choices input { position: absolute; opacity: 0; }
.chip-choices span { display: inline-flex; padding: 10px 16px; box-shadow: inset 0 0 0 1px #cdd1d9; font-size: 14.5px; cursor: pointer; transition: all .25s; }
.chip-choices input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.chip-choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fsec { display: grid; gap: 22px; padding-top: 30px; border-top: 1px solid var(--line); }
.fsec:first-child { border-top: 0; padding-top: 0; }
.fsec h3 { font-size: 22px; }
.fsec h3 span { color: var(--accent-deep); margin-right: 10px; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form-foot small { color: var(--muted); font-size: 14px; }
.form-status { display: none; padding: 16px 18px; gap: 10px; align-items: flex-start; font-size: 15px; }
.form-status.show { display: flex; }
.form-status.ok { background: #e9f5ee; color: #17603a; }
.form-status.err { background: #fbeceb; color: #9a2a1d; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.aside { display: grid; gap: 0; position: sticky; top: 110px; border-top: 2px solid var(--navy); }
.aside > div { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.aside small { font-family: var(--head); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.aside b, .aside a { font-size: 17px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.aside a:hover { color: var(--accent-deep); }
/* "Opening soon" label next to an office name (footer and contact page) */
.soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--head); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; vertical-align: 1px; }
.aside p { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .aside { position: static; } }
.map { aspect-ratio: 21 / 8; overflow: hidden; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Reveal (site.js adds .in) ---------- */
/* v4.js gives each element an effect (data-fx), the side it enters from (--sx: -1 left, 1 right,
   0 none) and the scroll direction (--dir: 1 from below, -1 from above). Elements reset once they
   leave the screen, so they animate again in either scroll direction. */
.js [data-reveal] { transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal]:not(.in) { opacity: 0; transform: translate3d(0, calc(var(--dir, 1) * 34px), 0); }
.js [data-reveal]:not(.in)[data-fx="lift"] { transform: translate3d(0, calc(var(--dir, 1) * 56px), 0) skewY(calc(var(--dir, 1) * 3deg)); transform-origin: 0 0; }
.js [data-reveal]:not(.in)[data-fx="slide"] { transform: translate3d(calc(var(--sx, 0) * 80px), 0, 0); }
/* Wipe clips the image, not the frame: a fully clipped element never counts as on screen. */
.js [data-reveal][data-fx="wipe"] { transition: opacity .6s var(--ease); }
.js [data-reveal]:not(.in)[data-fx="wipe"] { opacity: 0; transform: none; }
.js [data-reveal][data-fx="wipe"] img { clip-path: inset(0); transition: clip-path 1.3s var(--ease), transform 1.7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal]:not(.in)[data-fx="wipe"] img { transform: scale(1.18); clip-path: inset(0 calc(50% - var(--sx, 0) * 50%) 0 calc(50% + var(--sx, 0) * 50%)); }
.js [data-reveal]:not(.in)[data-fx="wipe"].fx-v img { clip-path: inset(calc(50% - var(--dir, 1) * 50%) 0 calc(50% + var(--dir, 1) * 50%) 0); }
.js [data-reveal]:not(.in)[data-fx="tilt"] { transform: perspective(900px) translate3d(0, calc(var(--dir, 1) * 60px), 0) rotateX(calc(var(--dir, 1) * 16deg)) scale(.96); transform-origin: 50% 100%; }
.js [data-reveal]:not(.in)[data-fx="flip"] { transform: perspective(1000px) rotateY(calc(var(--sx, 1) * -28deg)) translate3d(0, calc(var(--dir, 1) * 24px), 0); }
.js [data-reveal][data-fx="pop"] { transition-timing-function: var(--ease), cubic-bezier(.34, 1.56, .64, 1); }
.js [data-reveal]:not(.in)[data-fx="pop"] { transform: translate3d(0, calc(var(--dir, 1) * 28px), 0) scale(.82); }
.js [data-reveal]:not(.in)[data-fx="zoom"] { transform: scale(.9); }
.js [data-reveal].fx-reset, .js [data-reveal].fx-reset img { transition: none; }
/* ---------- Hero entrance ---------- */
/* Headline words slide up from behind a mask one after another;
   the rest of the copy, the buttons and the stats rise in after. */
.on-photo .over.rise::before { transform: scaleX(0); transform-origin: left; animation: draw .8s var(--ease) forwards; animation-delay: calc(var(--d, .2s) + .2s); }
@keyframes draw { to { transform: none; } }
/* Each word is clipped at its own bottom edge (padded below the descenders) while it rises; the
   clip opens fully at the end so the text shadow is not cut off. */
.words .w { display: inline-block; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; clip-path: inset(-1em -1em 0 -1em); animation: unmask 0s linear forwards; animation-delay: calc(var(--w0, .3s) + var(--i) * .07s + 1.2s); }
@keyframes unmask { to { clip-path: none; } }
.words .w > span { display: inline-block; transform: translateY(115%); will-change: transform; animation: word-up 1.2s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--w0, .3s) + var(--i) * .07s); }
.film .words { --w0: .45s; }
@keyframes word-up { to { transform: none; } }
.pop-in > * { opacity: 0; transform: translateY(20px); will-change: transform, opacity; animation: pop-in 1s var(--ease) forwards; animation-delay: calc(var(--d, 0s) + var(--k, 0) * .1s); }
.pop-in > :nth-child(2) { --k: 1; }
@keyframes pop-in { to { opacity: 1; transform: none; } }
.film-bar .stat { opacity: 0; transform: translateY(20px); will-change: transform, opacity; animation: pop-in 1s var(--ease) forwards; animation-delay: calc(1.3s + var(--k, 0) * .1s); }
.film-bar .stat:nth-child(2) { --k: 1; } .film-bar .stat:nth-child(3) { --k: 2; } .film-bar .stat:nth-child(4) { --k: 3; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .rise, .words .w > span, .pop-in > *, .film-bar .stat { opacity: 1; transform: none; }
  .on-photo .over.rise::before { transform: none; }
  .words .w { clip-path: none; }
}
@media (max-width: 760px) {
  .film { height: auto; min-height: 100svh; padding-top: 120px; }
  .film .t-hero { font-size: clamp(38px, 11vw, 56px); }
  .film .lead { font-size: 16.5px; }
}

/* CRT phosphor overlay on the hero film: a fine dot mask (darkened gaps between
   "phosphors"), faint RGB triad stripes, soft scanlines and a vignette. Hides
   the softness of the 720p footage. Sits under the gradient (.film::before). */
.film .crt { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .3;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0) 0 .9px, rgba(4, 10, 26, .42) 1.6px) 0 0 / 3px 3px,
    repeating-linear-gradient(0deg, rgba(4, 10, 26, .22) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(4, 10, 26, .45) 100%);
}
.film .crt::before { content: ""; position: absolute; inset: 0; opacity: .9;
  background: repeating-linear-gradient(90deg, rgba(255, 50, 50, .07) 0 1px, rgba(60, 255, 120, .07) 1px 2px, rgba(70, 120, 255, .08) 2px 3px);
}
.film .crt::after { content: ""; position: absolute; inset: 0; background: rgba(140, 180, 255, .03); animation: crt-flicker 6s steps(60) infinite; }
@keyframes crt-flicker { 0%, 100% { opacity: .5; } 47% { opacity: .9; } 48% { opacity: .3; } 49% { opacity: .8; } }
.film video, .film .poster { z-index: -3; transform: translateZ(0); }
@media (prefers-reduced-motion: reduce) { .film .crt::after { animation: none; } }
@media (max-width: 760px) { .film .crt { opacity: .14; } }

/* ---------- Icons & sticky category bar ---------- */
.jump-scope { position: relative; }
.site-header.is-mini ~ main .jump { top: 56px; }
.jump { transition: top .5s var(--ease); }
.ic { display: inline-grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; background: var(--accent); color: #fff; }
.ic .material-symbols-outlined { font-size: 26px; }
.tile .n { display: flex; align-items: center; gap: 14px; }
.tile .n .ic { width: 46px; height: 46px; }
.row-head { display: flex; align-items: center; gap: 16px; }
.row-head .ic { width: 48px; height: 48px; background: var(--navy); }
.row-head .ic .material-symbols-outlined { color: var(--accent); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.approach .ic { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: var(--accent); }
.ind .ph-img { position: relative; }
.ind .ph-img .ic { position: absolute; left: 0; bottom: 0; }
.film-bar .stat > span { display: flex; align-items: flex-start; gap: 7px; line-height: 1.45; }
.film-bar .stat > span .material-symbols-outlined { flex-shrink: 0; font-size: 17px; margin-top: 1px; color: var(--accent); }
.aside small { display: flex; align-items: center; gap: 8px; }
.aside small .material-symbols-outlined { font-size: 18px; color: var(--accent); }
.tag { display: inline-flex; align-items: center; gap: 3px; }
.tag::before { content: "check"; font-family: "Material Symbols Outlined"; font-size: 16px; line-height: 1; width: 1em; overflow: hidden; }
html.icon-wait .tag::before { visibility: hidden; }

/* Touch screens have no hover, so show partner and client logos in full color */
@media (hover: none), (max-width: 760px) {
  .logos img, .product-card .logo-box img { filter: none; opacity: 1; }
}


/* ---------- Brand light behind section copy ----------
   One soft, blurred blue–orange shape sits behind each section heading or copy
   block and slowly changes shape, so text-only areas never feel empty.
   Sections clip it (overflow: clip keeps sticky children working). */
.sec, .sec-s { overflow: clip; }
.head, .intro > div:first-child, .split .copy, .row-copy { position: relative; isolation: isolate; }
.head::before, .intro > div:first-child::before, .split .copy::before, .row-copy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(280px, 34vw, 520px); aspect-ratio: 1.2; left: -14%; top: -30%;
  background: linear-gradient(135deg, rgba(26, 67, 163, .16) 10%, rgba(120, 140, 255, .1) 45%, rgba(245, 119, 26, .14) 90%);
  filter: blur(70px); border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  animation: brand-light 26s ease-in-out infinite alternate;
}
.split .copy::before, .row-copy::before { left: auto; right: -12%; top: 6%; animation-duration: 32s; animation-direction: alternate-reverse; }
.dark .head::before, .dark .split .copy::before { background: linear-gradient(135deg, rgba(70, 130, 255, .32) 10%, rgba(120, 100, 255, .14) 50%, rgba(245, 119, 26, .2) 90%); }
@keyframes brand-light {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; }
  50%  { transform: translate3d(6%, 8%, 0) rotate(14deg); border-radius: 58% 42% 38% 62% / 55% 62% 38% 45%; }
  100% { transform: translate3d(-4%, 4%, 0) rotate(-10deg); border-radius: 48% 52% 55% 45% / 38% 52% 48% 62%; }
}
@media (prefers-reduced-motion: reduce) { .head::before, .intro > div:first-child::before, .split .copy::before, .row-copy::before { animation: none; } }
/* On white and grey the blur reads as a smudge, so keep it to navy sections only */
:is(.sec, .sec-s):not(.dark) :is(.head, .intro > div:first-child, .split .copy, .row-copy)::before { content: none; }

/* ---------- White sections, Stripe-inspired ----------
   Dashed column guides aligned to the content grid, a cool off-white for
   alternate sections, layered soft shadows on media, and a slanted
   blue–orange gradient ribbon that opens the first white section. */
:is(.sec, .sec-s):not(.dark) { position: relative; isolation: isolate; }
:is(.sec, .sec-s):not(.dark)::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: 0; bottom: 0; left: 50%;
  width: calc(min(var(--max), 100%) - 2 * var(--gutter)); transform: translateX(-50%);
  background-image: linear-gradient(rgba(13, 42, 102, .055) 50%, transparent 50%), linear-gradient(rgba(13, 42, 102, .055) 50%, transparent 50%), linear-gradient(rgba(13, 42, 102, .055) 50%, transparent 50%), linear-gradient(rgba(13, 42, 102, .055) 50%, transparent 50%), linear-gradient(rgba(13, 42, 102, .055) 50%, transparent 50%);
  background-size: 1px 8px; background-repeat: repeat-y; background-position: 0 0, 25% 0, 50% 0, 75% 0, 100% 0;
}
/* On sharp screens (most phones and many laptops) the guides can be thinner than one CSS pixel. */
@media (min-resolution: 1.5dppx) { :is(.sec, .sec-s):not(.dark)::before { background-size: .5px 8px; } }
/* Phones: pull the guides out toward the screen edges, clear of the text, and drop the center one. */
@media (max-width: 760px) { :is(.sec, .sec-s):not(.dark)::before { width: calc(100% - 16px); background-position: 0 0, 0 0, 0 0, 100% 0, 100% 0; } }

/* Layered shadows (Stripe style) on photos and cards */
.split .photo, .tile, .ind .ph-img, .row-photo { box-shadow: 0 30px 60px -12px rgba(50, 50, 93, .22), 0 18px 36px -18px rgba(0, 0, 0, .28); }
.tile, .ind .ph-img { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover, .ind:hover .ph-img { transform: translateY(-4px); box-shadow: 0 50px 100px -20px rgba(50, 50, 93, .26), 0 30px 60px -30px rgba(0, 0, 0, .3); }
.logos { background: #fff; box-shadow: 0 13px 27px -5px rgba(50, 50, 93, .12), 0 8px 16px -8px rgba(0, 0, 0, .1); }

/* Slanted gradient ribbon opening the first white section after the film */
:is(.film, .ph) + :is(.sec, .sec-s), .ph + .jump-scope > .sec { overflow: clip; }
:is(.film, .ph) + :is(.sec, .sec-s)::after, .ph + .jump-scope > .sec::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: 0; right: 0; top: 0; height: clamp(56px, 7vw, 110px);
  clip-path: polygon(0 0, 100% 0, 100% 34%, 0 100%);
  background: linear-gradient(100deg, #0d2a66 0%, #1a43a3 22%, #2f6bff 46%, #5a8cff 66%, #8fb2ff 84%, #c4d6ff 100%);
  background: linear-gradient(100deg in oklab, #0d2a66 0%, #1a43a3 22%, #2f6bff 46%, #5a8cff 66%, #8fb2ff 84%, #c4d6ff 100%);
  background-size: 125% 100%; animation: ribbon 18s ease-in-out infinite alternate;
}
@keyframes ribbon { to { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { :is(.film, .ph) + :is(.sec, .sec-s)::after, .ph + .jump-scope > .sec::after { animation: none; } }
.ph + .sec-s { padding-top: clamp(100px, 11vw, 150px); }

/* Home: the film's stats bar and the ribbon below read as one blue piece.
   One vertical gradient is split across the two: the bar carries the dark top
   half and the ribbon the lighter bottom half, so it brightens downward. */
.film-bar { background: linear-gradient(180deg, #0d2a66 0%, #12327c 50%, #183f9c 100%); animation: none; }
.film + .sec::after { background: linear-gradient(180deg, #183f9c 0%, #1f4cbd 50%, #2457d6 100%); animation: none; }
.film-bar { backdrop-filter: none; -webkit-backdrop-filter: none; border-top-color: rgba(255, 255, 255, .14); }
@media (prefers-reduced-motion: reduce) { .film-bar { animation: none; } }

/* Darker veil over the film so the hero copy stays readable over the brightest sky */
.film::before { background: linear-gradient(180deg, rgba(8, 24, 60, .62) 0%, rgba(8, 24, 60, .32) 32%, rgba(8, 24, 60, .42) 55%, rgba(8, 24, 60, .9) 100%); }
.film-copy { text-shadow: 0 2px 24px rgba(4, 10, 26, .35); }

/* Category bar sits inside its section, just below the slanted ribbon */
.jump-scope > .jump { border-top: 1px solid var(--line); }
.jump-scope > .jump + .wrap { margin-top: clamp(56px, 7vw, 96px); }

/* Phones: fit the copy and the stats bar into one screen so the bar sits at the bottom edge. */
@media (max-width: 760px) {
  .film { min-height: 100vh; min-height: 100svh; padding-top: 92px; }
  .film-copy { flex: 1 0 auto; align-content: center; gap: 18px; padding-block: 20px; }
  .film .over { font-size: 11.5px; letter-spacing: .12em; }
  .film .over::before { display: none; }
  .film .t-hero { font-size: clamp(32px, 9.4vw, 44px); }
  .film .lead { font-size: 15px; line-height: 1.55; }
  .film .btns { flex-wrap: nowrap; gap: 10px; }
  .film .btns .btn { flex: 1 1 auto; justify-content: center; height: 48px; padding: 0 14px; font-size: 14px; gap: 8px; }
  .film .btns .btn .material-symbols-outlined { font-size: 18px; }
  .film-bar .stat { padding-block: 13px; }
  .film-bar strong { font-size: 21px; }
}
@media (max-width: 359px) { .film .btns { flex-wrap: wrap; } }
@media (max-width: 760px) and (max-height: 640px) {
  .film { padding-top: 80px; }
  .film-copy { gap: 14px; padding-block: 14px; }
  .film .t-hero { font-size: clamp(30px, 8.6vw, 38px); }
  .film .lead { font-size: 14px; line-height: 1.5; }
  .film-bar .stat { padding-block: 10px; }
}

/* Laptops and desktops: the copy scales with the screen height as well as the width and stays
   centered between the header and the stats bar, so short screens keep their breathing space. */
@media (min-width: 761px) {
  .film { height: auto; min-height: 100vh; min-height: 100svh; padding-top: 84px; }
  .film-copy { flex: 1 0 auto; align-content: center; gap: clamp(14px, 2.8vh, 28px); padding-block: clamp(20px, 5vh, 64px); }
  .film h1 { max-width: none; }
  .film h1 .acc { display: block; }
  .film .t-hero { font-size: clamp(38px, min(6.4vw, 11.5vh), 96px); }
  .film .lead { font-size: clamp(15px, 2.3vh, 19px); }
}
@media (min-width: 761px) and (max-height: 620px) {
  .film .t-hero { font-size: clamp(38px, 10vh, 96px); }
  .film .btns .btn { height: 46px; padding: 0 22px; font-size: 14px; }
  .film-bar .stat { padding-block: 12px; }
}

/* Navy sections with a photo behind them, matching the closing box. The tint stays stronger
   than the closing's on the right because the content here runs the full width. */
.has-bg { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); }
.has-bg .sec-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 42, 102, .94), rgba(13, 42, 102, .84) 60%, rgba(13, 42, 102, .7)); }

/* Address card over the contact map, styled after Google's place card (markup from mapCard() in
   src/layout.js, buttons wired in js/site.js). Same look in every version. */
.map { position: relative; }
/* Office tabs above the contact map */
.map-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.map-tab { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-family: var(--head); font-size: 14px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.map-tab .material-symbols-outlined { font-size: 19px; color: var(--accent); transition: color .25s; }
.map-tab:hover { border-color: var(--navy); }
.map-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.map-tab[aria-selected="true"] .material-symbols-outlined { color: #ffac5c; }
.map-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.map-card { position: absolute; top: 10px; left: 10px; z-index: 2; width: min(300px, calc(100% - 20px)); padding: 12px 14px 14px; border-radius: 8px; background: #fff; box-shadow: 0 1px 4px -1px rgba(0, 0, 0, .3); font-family: Roboto, Arial, sans-serif; text-align: left; }
.map-card-name { display: block; font-family: inherit; font-weight: 500; font-size: 16px; line-height: 1.35; letter-spacing: 0; color: #202124; }
.map-card-addr { margin: 4px 0 0; font-family: inherit; font-size: 13px; line-height: 1.45; letter-spacing: 0; color: #5f6368; }
.map-card-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.map-card button { -webkit-appearance: none; appearance: none; margin: 0; border: 0; cursor: pointer; font: inherit; }
.map-card-open { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 18px 0 14px; border-radius: 18px; background: #1a73e8; color: #fff; font-weight: 500 !important; font-size: 14px !important; letter-spacing: .01em; white-space: nowrap; transition: background .2s, box-shadow .2s; }
.map-card-open:hover { background: #1b66c9; box-shadow: 0 1px 3px rgba(60, 64, 67, .3); }
.map-card-dir { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f1f3f4; color: #1a73e8; flex-shrink: 0; transition: background .2s; }
.map-card-dir:hover { background: #e3e6e8; }
.map-card svg { width: 18px; height: 18px; fill: currentColor; }
.map-card-dir svg { width: 22px; height: 22px; }
.map-card button:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }
/* Phones: the map is too small to share, so the card sits below it instead of covering the pin. */
@media (max-width: 480px) {
  .map { aspect-ratio: auto; }
  .map iframe { display: block; height: 260px; }
  .map-card { position: static; width: auto; padding: 14px 16px 16px; border-radius: 0; box-shadow: none; }
}
