/* Shared styles for every page. Colour values live in assets/site-config.js. */
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', system-ui, -apple-system, sans-serif; font-size: 1.0625rem; color: #2a3140; background: #f3f5f9; }

/* On dark grounds the blue accent has no contrast, so accents switch to brass. */
:is(.bg-navy, .bg-hero-gradient, .bg-command-mid, footer) :is(.text-shield, .hover\:text-shield:hover) { color: #c6a04a; }
:is(.bg-navy, .bg-hero-gradient, .bg-command-mid, footer) .text-shield\/80 { color: rgb(198 160 74 / 0.8); }
:is(.bg-navy, .bg-hero-gradient, .bg-command-mid, footer) :is(.bg-shield) { background-color: #c6a04a; }
:is(.bg-navy, .bg-hero-gradient, .bg-command-mid, footer) :is(.border-shield) { border-color: #c6a04a; }

/* Photo grading: every real photo gets the same cool night-blue grade so pictures from
   different sites read as one set. Applies only once a photo exists (placeholders are untouched). */
.photo-slot:has(> img) > img { filter: saturate(0.85) contrast(1.04); }
.photo-slot:has(> img)::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(31,59,112,0.18), rgba(14,27,51,0.32)); mix-blend-mode: multiply; }

/* Section openings: headings break into balanced lines and stay within ~30 characters;
   the supporting sentence keeps a readable measure. */
section h2 { text-wrap: balance; }
section h2:not([class*="max-w"]):not(.text-center) { max-width: 30ch; }
section h2 + p:not([class*="max-w"]) { max-width: 60ch; }

/* Photo placeholders: a finished-looking tonal panel with a quiet caption until the named file
   exists in assets/photos/, then the photo covers it. */
.photo-slot { position:relative; width:100%; height:100%; display:flex; align-items:flex-end; justify-content:flex-start;
  overflow:hidden; background: radial-gradient(120% 90% at 85% 10%, #e9edf4 0%, #d3dbe7 55%, #c2ccdb 100%); }
.photo-slot::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.35; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .35 0 0 0 0 .45 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.photo-slot > img { position:absolute; inset:0; z-index:1; }
.photo-slot-label { position:relative; max-width:24rem; margin:0 1.25rem 1.125rem; padding-left:.75rem; border-left:2px solid #c6a04a;
  text-align:left; font-size:.75rem; line-height:1.5; color:#475569; }
.photo-slot-label strong { display:block; color:#0e1b33; font-size:.8125rem; font-weight:600; margin-bottom:.125rem; }
.photo-slot-label em { display:block; margin-top:.25rem; font-style:normal; font-size:.6875rem; color:#64748b; letter-spacing:.01em; }
.photo-slot-dark { background: radial-gradient(120% 90% at 85% 10%, #22406f 0%, #172e55 50%, #0f1f3c 100%); }
.photo-slot-dark::before { mix-blend-mode:screen; opacity:.18; }
.photo-slot-dark .photo-slot-label { color:rgba(255,255,255,.62); }
.photo-slot-dark .photo-slot-label strong { color:#fff; }
.photo-slot-dark .photo-slot-label em { color:rgba(255,255,255,.45); }
.photo-slot-label-sm { max-width: 16rem; margin:0 .875rem .75rem; padding-left:.625rem; font-size:.6875rem; }
.photo-slot-label-sm strong { font-size: .75rem; margin-bottom: 0; }
.photo-slot-label-sm em { margin-top: .125rem; }

/* Text placeholders: same idea as photo slots, for copy that is still to come. */
.content-slot { padding: .875rem 1.125rem; border-left: 2px solid #c6a04a; border-radius: 0 .5rem .5rem 0; background: rgba(14,27,51,.045);
  font-size: .875rem; line-height: 1.55; color: #475569; }
.content-slot strong { display: block; color: #0e1b33; font-size: .9375rem; margin-bottom: .25rem; }

/* Display face: every page and section heading, plus the large set numerals. */
h1, h2 { font-family: 'IBM Plex Serif', Georgia, serif !important; font-weight: 500 !important; letter-spacing: -0.015em !important; }

/* Site-wide reveal: sections fade up gently as they come into view (added by assets/reveal.js). */
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* Linked photo cards: the photo eases in slightly on hover. */
.zoom-card .photo-slot img { transition: transform 700ms ease; }
.zoom-card:hover .photo-slot img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .zoom-card:hover .photo-slot img { transform: none; } }

/* Header menus: About and Services open a wide panel under the header (assets/nav.js). */
.site-nav .nav-item { display: flex; }
.nav-link { position: relative; display: flex; align-items: center; gap: .3rem; font-size: .9375rem; font-weight: 500; color: #4a5263; transition: color 200ms; }
.nav-link:hover, .nav-item.is-open > .nav-link { color: #0e1b33; }
.nav-link.is-current { color: #0e1b33; font-weight: 600; }
.nav-link.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #c6a04a; }
.nav-chev { transition: transform 200ms; }
.nav-item.is-open .nav-chev { transform: rotate(180deg); }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 2px solid #c6a04a; border-bottom: 1px solid #d8e0eb;
             box-shadow: 0 28px 44px -30px rgba(14,27,51,.35); opacity: 0; visibility: hidden; transform: translateY(-6px);
             transition: opacity 180ms, transform 180ms, visibility 0s 180ms; }
.nav-item.is-open .nav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms, transform 180ms; }
.nav-card { display: grid; padding: .875rem 1rem; border-radius: 10px; transition: background-color 200ms; }
.nav-card:hover, .nav-card:focus-visible { background: #f3f5f9; }
.nav-card-no { grid-row: span 2; color: #c6a04a; font-size: .75rem; font-weight: 700; padding-top: .2rem; font-variant-numeric: tabular-nums; }
.nav-card-title { color: #0e1b33; font-weight: 600; font-size: .9375rem; line-height: 1.35; transition: color 200ms; }
.nav-card:hover .nav-card-title { color: #2c4f8c; }
.nav-card-desc { color: #4a5263; font-size: .8125rem; line-height: 1.5; margin-top: .25rem; }
.nav-card[aria-current="page"] { background: #f3f5f9; }
.nav-card[aria-current="page"] .nav-card-title { box-shadow: inset 0 -2px 0 #c6a04a; justify-self: start; }
.nav-more { display: inline-block; color: #0e1b33; font-size: .875rem; font-weight: 600; border-bottom: 2px solid #c6a04a; transition: color 200ms; }
.nav-more:hover { color: #2c4f8c; }
/* phone menu */
.mnav-link { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid #d8e0eb; color: #0e1b33; font-weight: 600; cursor: pointer; list-style: none; }
.mnav-link::-webkit-details-marker { display: none; }
.mnav-group[open] .nav-chev { transform: rotate(180deg); }
.mnav-group[open] > .mnav-link { border-bottom-color: transparent; }
.mnav-group > div { border-bottom: 1px solid #d8e0eb; }
.mnav-sub { display: block; padding: .55rem 0 .55rem 1rem; border-left: 2px solid #d8e0eb; color: #4a5263; font-size: .9375rem; }
.mnav-sub[aria-current="page"] { color: #0e1b33; font-weight: 600; border-left-color: #c6a04a; }
a.mnav-link[aria-current="page"] { box-shadow: inset 3px 0 0 #c6a04a; padding-left: .75rem; }
@media (prefers-reduced-motion: reduce) { .nav-panel, .nav-chev { transition: none; } }

/* Phones: card rows that swipe sideways, with the next card peeking in (Home stories and testimonials) */
@media (max-width: 767px) {
  .m-rail { display: flex !important; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
            margin-right: calc(50% - 50vw); padding-right: 1rem; }
  .m-rail::-webkit-scrollbar { display: none; }
  .m-rail > * { flex: 0 0 auto; width: min(82vw, 22rem); scroll-snap-align: start; }
  /* number rows with an odd count: the last item takes the full row instead of sitting alone in a column */
  .odd-last > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .odd-last-sm > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* the two floating buttons: smaller and tucked into the corner so they cover less text */
  #hiring-widget { right: 1rem !important; bottom: 4.25rem !important; }
  #hiring-fab-btn.fab-collapsed { padding: .75rem !important; }
  footer { padding-bottom: 4.5rem; }
}
/* while the phone menu is open, nothing floats over it */
/* tablets: in a two-column list with an odd count, the last item takes the full row */
@media (min-width: 640px) and (max-width: 1023px) {
  .odd-last-tab > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* keyboard users: a way past the menu, and a highlight in the brand colours */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #0e1b33; color: #fff;
             padding: .75rem 1.25rem; border-radius: .25rem; font-weight: 600; font-size: .875rem; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid #c6a04a; outline-offset: 3px; }
.bg-navy :focus-visible, .bg-command-mid :focus-visible, footer :focus-visible { outline-color: #e2c682; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

/* after a form is filled in: send it on WhatsApp or by email */
.send-panel { border-top: 1px solid rgba(14,27,51,.15); padding-top: 1.5rem; }

/* ---- Group AG: motion and rhythm ---- */
/* body text: a size and spacing that read easily in long runs */
main :is(p, li, dd).text-sm, main :is(ul, ol).text-sm { font-size: .9375rem; line-height: 1.65; }

/* the opening: headline words rise line by line, then the rest; the intro rule draws down */
.h-rise .hw { display: inline-block; animation: hw-rise .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hw-rise { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
.lead-in { animation: lead-in .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes lead-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rule-down { position: relative; border-left-color: transparent !important; }
.rule-down::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: #c6a04a;
                     transform-origin: top; animation: rule-down .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: inherit; }
@keyframes rule-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* items fade up in turn; the rule above an item draws from the left; short brass rules grow */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.rd { position: relative; border-top-color: transparent !important; }
.rv.rd::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--rd-w)); height: var(--rd-w);
                 background: var(--rd-c); transform: scaleX(0); transform-origin: left;
                 transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: inherit; }
.rv.rd.in::before { transform: scaleX(1); }
.rv .h-px { transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1) .25s; }
.rv.in .h-px { transform: scaleX(1); }
.rv .num-draw { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.2,.7,.2,1) .15s; }
.rv.in .num-draw { clip-path: inset(0 0 0 0); }

/* hover: ruled items with a link take a brass rule; arrows nudge */
main [class*="border-t"]:has(a):not(section):not(ul):not(ol), main a[class*="border-t"] { transition: border-color .3s ease; }
main [class*="border-t"]:has(a):not(section):not(ul):not(ol):hover, main a[class*="border-t"]:hover { border-top-color: #c6a04a; }
.nudge { display: inline-block; transition: transform .25s ease; }
a:hover .nudge, a:focus-visible .nudge { transform: translateX(4px); }

/* Process: the phase line fills as you read */
[data-scroll-fill] { position: relative; border-top-color: transparent !important; }
[data-scroll-fill]::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: #c6a04a;
                             transform-origin: left; transform: scaleX(var(--fill, 1)); }
[data-scroll-fill].border-dashed::before { background: repeating-linear-gradient(90deg, rgba(198,160,74,.75) 0 7px, transparent 7px 13px); }

/* switcher (Industries, Social Impact): one item at a time; without JS everything shows */
[data-switch]:not(.is-switch) [role="tablist"] { display: none; }
.sw-panel[hidden] { display: none !important; }
[data-switch]:not(.is-switch) .sw-panel + .sw-panel { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(14,27,51,.15); }
.sw-list { display: flex; flex-direction: column; border-top: 1px solid rgba(14,27,51,.15); }
.sw-tab { display: flex; gap: 1rem; align-items: baseline; text-align: left; padding: .85rem .75rem .85rem 1rem; color: #4a5263;
          font-weight: 600; border-bottom: 1px solid rgba(14,27,51,.15); border-left: 2px solid transparent;
          transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.sw-tab:hover { color: #0e1b33; }
.sw-tab[aria-selected="true"] { color: #0e1b33; border-left-color: #c6a04a; background: rgba(198,160,74,.08); }
.sw-num { font-size: .8125rem; color: #86691f; font-variant-numeric: tabular-nums; }
.sw-row { flex-direction: row; border-top: 0; }
.sw-row .sw-tab { flex: 1 1 0; flex-direction: column; gap: .35rem; padding: 1rem 1rem 1rem 0; border: 0;
                  border-top: 2px solid rgba(14,27,51,.15); background: none; }
.sw-row .sw-tab[aria-selected="true"] { border-top-color: #c6a04a; background: none; }
.sw-panel.sw-in { animation: lead-in .45s ease both; }
@media (max-width: 1023px) {
  .sw-list, .sw-row { flex-direction: row; gap: .5rem; overflow-x: auto; border-top: 0; padding-bottom: .25rem;
                      scrollbar-width: none; margin-right: calc(50% - 50vw); padding-right: 1rem; }
  .sw-list::-webkit-scrollbar { display: none; }
  .sw-tab, .sw-row .sw-tab { flex: 0 0 auto; flex-direction: row; gap: .5rem; white-space: nowrap; padding: .5rem 1rem;
                             border: 1px solid rgba(14,27,51,.2); border-radius: 999px; }
  .sw-tab[aria-selected="true"], .sw-row .sw-tab[aria-selected="true"] { background: #0e1b33; color: #fff; border-color: #0e1b33; }
  .sw-tab[aria-selected="true"] .sw-num { color: #e2c682; }
}
@media (prefers-reduced-motion: reduce) {
  .h-rise .hw, .lead-in, .rule-down::before, .sw-panel.sw-in { animation: none; }
  .rv, .rv .h-px, .rv .num-draw, .rv.rd::before { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* ---- Group AH: anime.js scenes ---- */
/* Statutory: certificate seals */
.seal .seal-tick, .seal .seal-text { transform-box: fill-box; transform-origin: center; }
a[data-cert][hidden] { display: none !important; }

/* corners: every card, panel and photo frame is rounded the same; smaller boxes inside them a little less.
   Buttons, form fields and pills keep their own shapes. */
:root { --r-card: 16px; --r-inner: 12px; }

/* ---- Group AI ---- */
/* Services: one client site, four services. Hovering or picking a service lights its part of the site. */
.sv-wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .sv-wrap { grid-template-columns: minmax(0,4fr) minmax(0,8fr); gap: 56px; } }
.sv-row { display: grid; gap: 12px; }
@media (min-width: 640px) and (max-width: 1023px) { .sv-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.sv { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 16px; align-items: start; padding: 16px 18px; cursor: pointer; outline: none;
      background: #fff; border: 1px solid rgba(14,27,51,.08); border-radius: var(--r-card); transition: border-color .3s, box-shadow .5s; }
.sv:focus-visible { box-shadow: 0 0 0 2px #2c4f8c; }
.sv-ic { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(14,27,51,.25); color: #0e1b33;
         display: flex; align-items: center; justify-content: center; transition: background-color .3s, border-color .3s; }
.sv-ic svg { width: 20px; height: 20px; }
.sv-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.1875rem; line-height: 1.3; color: #0e1b33; }
.sv-d { font-size: .875rem; line-height: 1.6; color: #4a5263; margin-top: 2px; }
.sv-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s cubic-bezier(.22,.61,.36,1), opacity .25s; }
.sv-more > div { min-height: 0; overflow: hidden; }
.sv-subs { font-size: .8125rem; line-height: 1.6; color: #0e1b33; font-weight: 600; padding-top: 10px; }
.sv-subs span { color: rgba(14,27,51,.3); }
.sv-subs a:hover, .sv-go:hover { color: #2c4f8c; }
.sv-go { display: flex; width: max-content; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: #0e1b33; padding: 10px 0 2px; }
.sv-arr { width: 28px; height: 28px; border-radius: 999px; background: #c6a04a; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.sv-arr svg { width: 13px; height: 13px; }
.sv-go:hover .sv-arr { transform: translateX(3px); }
.sv.on { border-color: rgba(198,160,74,.55); box-shadow: 0 22px 40px -28px rgba(14,27,51,.45); }
.sv.on .sv-ic { background: #c6a04a; border-color: #c6a04a; }
.sv.on .sv-more { grid-template-rows: 1fr; opacity: 1; transition-delay: 0s, .12s; }
.sv-fig { margin: 0 -16px; overflow-x: auto; scrollbar-width: none; }
.sv-fig::-webkit-scrollbar { display: none; }
@media (max-width: 1023px) { .sv-wrap > .sv-side { display: contents; } .sv-fig { order: 1; } .sv-row { order: 2; }
  .sv-fig .iso-site { width: 100%; max-width: 100%; } }
@media (min-width: 1024px) { .sv-fig { margin: 0; padding: 12px 0; } }
.iso-site { width: 100%; height: auto; display: block; }
.iso-site .L > *, .iso-site .zone > *, .iso-site .hot { transition: filter .35s ease, opacity .35s ease; }
/* the rest of the site washes toward white; faint shadows and the lobby glass are left alone */
.iso-site.focus .L > :not(.zone):not(.area):not(.glass-lo):not([opacity]):not([fill-opacity]),
.iso-site.focus .zone:not(.lit) > :not([opacity]):not([fill-opacity]),
.iso-site.focus .hot:not(.lit) { filter: contrast(.42) brightness(1.34) saturate(.5); }
.iso-site.focus .zone:not(.lit) > [opacity], .iso-site.focus .zone:not(.lit) > [fill-opacity] { opacity: .3; }
/* the picked service: its ground lights up, its people and kit glow, its label shows */
.iso-site .area { opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.iso-site.focus .area.lit { opacity: 1; }
.iso-site.focus .zone.lit > :not([opacity]):not([fill-opacity]) { filter: drop-shadow(0 0 2.5px rgba(198,160,74,.95)) drop-shadow(0 0 1px rgba(198,160,74,.9)); }
.iso-site.focus .zone.lit > [fill-opacity] { fill-opacity: .34; }
.iso-site .tag { opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.iso-site .hot { cursor: pointer; }
.iso-site .hot.lit .tag { opacity: 1; }
.iso-site .hot-ring { transition: r .25s ease, fill .25s ease; }
.iso-site .hot.lit .hot-ring { r: 15; fill: #0e1b33; }
.iso-site .hot.lit text { fill: #e2c682; }
/* the guard's patrol route: dots that keep walking the boundary */
.iso-site .patrol { animation: sv-patrol 1.4s linear infinite; }
@keyframes sv-patrol { to { stroke-dashoffset: -6; } }
/* layers the site is built from on first view (scenes.js), then the ambient motion: traffic, the barrier, a guard on his round */
.iso-site .L-tree, .iso-site .L-car, .iso-site .L-ppl, .iso-site .L-cam { transform-box: fill-box; transform-origin: 50% 100%; }
.iso-site .boom-arm { transform-box: view-box; }
.iso-site.alive .drive-a { animation: sv-drive-a 15s linear infinite; }
/* the grey car comes in along the road, turns right into the gate and stops at the boom, then the loop starts again */
.iso-site.alive .drive-b { animation: sv-drive-b 20s linear infinite; }
.iso-site .drive-c { opacity: 0; }
.iso-site.alive .drive-c { animation: sv-drive-c 20s linear infinite; }
.iso-site.alive .boom-arm { animation: sv-boom 10s ease-in-out 1.5s infinite; }
.iso-site.alive .walker { animation: sv-walk 18s ease-in-out infinite; }
@keyframes sv-drive-a { from { transform: translate(-362px, -209px); } to { transform: translate(238px, 137.5px); } }
@keyframes sv-drive-b { 0% { transform: translate(528.7px, 305.3px); opacity: 1; animation-timing-function: cubic-bezier(.3,0,.55,1); }
  58% { transform: translate(79.5px, 45.9px); opacity: 1; } 58.01%, 100% { transform: translate(79.5px, 45.9px); opacity: 0; } }
@keyframes sv-drive-c { 0%, 57.99% { transform: translate(-17.5px, 10.1px); opacity: 0; }
  58% { transform: translate(-17.5px, 10.1px); opacity: 1; animation-timing-function: cubic-bezier(.2,.6,.4,1); }
  66%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes sv-boom { 0%, 45% { transform: rotate(0); } 55%, 80% { transform: rotate(58deg); } 90%, 100% { transform: rotate(0); } }
@keyframes sv-walk { 0%, 6% { transform: translate(0, 0); } 46%, 54% { transform: translate(-85.7px, 49.5px); } 94%, 100% { transform: translate(0, 0); } }

/* Process: the personnel file. Scrolling (desktop) or the tabs turn the pages; each page is ticked off, then stamped. */
.pf-sec { overflow-x: clip; }
.pf-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .pf-wrap { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; } }
.pf-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid rgba(14,27,51,.12); padding-top: 18px; margin-bottom: 18px; }
.pf-sum b { display: block; font: 600 2.125rem/1 "IBM Plex Serif", Georgia, serif; color: #0e1b33; margin-bottom: 6px; }
.pf-sum span { font-size: .8125rem; line-height: 1.45; font-weight: 500; color: #4a5263; }
.pf-hint { font-size: .75rem; font-weight: 600; color: #86691f; }
.pf-scroll:not(.is-live) .pf-hint { display: none; }
.pf-folder { position: relative; padding-top: 34px; }
.pf-folder::before { content: ""; position: absolute; inset: 34px -10px -14px -10px; background: #dcc79a; border-radius: 14px;
                     box-shadow: 0 30px 50px -30px rgba(14,27,51,.45); }
.pf-tabs { position: absolute; top: 0; left: 0; right: 0; display: flex; gap: 4px; padding: 0 6px; overflow-x: auto; scrollbar-width: none; }
.pf-tabs::-webkit-scrollbar { display: none; }
.pf-tab { flex: 1 1 0; min-width: max-content; height: 40px; padding: 0 12px 6px; border-radius: 6px 6px 0 0; background: #e8d7b0;
          border: 1px solid rgba(110,84,30,.18); border-bottom: 0; font-size: .75rem; font-weight: 700; color: #6e5420; text-align: left; white-space: nowrap;
          transform: translateY(4px); transition: background-color .3s, transform .3s; }
.pf-tab span { color: #a3833f; margin-right: 6px; }
/* the countdown to the next page: pauses while the pointer is on the file */
.pf-timer { position: absolute; left: 0; right: 0; top: 33px; height: 2px; background: #c6a04a; transform-origin: left; transform: scaleX(0); z-index: 3; pointer-events: none; }
.run .pf-timer.go { animation: pf-count 3.3s linear forwards; }
.pf-folder:hover .pf-timer, .pf-folder:has(:focus-visible) .pf-timer { animation-play-state: paused; }
@keyframes pf-count { to { transform: scaleX(1); } }
.is-live .pf-pages { cursor: pointer; }
.pf-tab:hover { transform: translateY(0); }
.pf-tab.on { background: #fbf8f1; color: #0e1b33; transform: translateY(0); position: relative; z-index: 2; }
.pf-tab.done:not(.on) { background: #efe3c6; }
.pf-scroll:not(.is-live) .pf-tabs, .pf-scroll:not(.is-live) .pf-timer { display: none; }
.pf-scroll:not(.is-live) .pf-folder { padding-top: 0; }
.pf-scroll:not(.is-live) .pf-folder::before { top: 0; }
.pf-pages { position: relative; display: grid; gap: 16px; }
.is-live .pf-pages { gap: 0; }
.is-live .pf-pages::before, .is-live .pf-pages::after { content: ""; position: absolute; left: 6px; right: 6px; height: 100%; background: #f4efe3;
  border: 1px solid rgba(110,84,30,.15); border-radius: 10px; }
.is-live .pf-pages::before { top: 6px; }
.is-live .pf-pages::after { top: 12px; left: 12px; right: 12px; background: #eee7d6; z-index: -1; }
.pf-pg { position: relative; z-index: 1; background: #fbf8f1; border: 1px solid rgba(110,84,30,.18); border-radius: 10px; padding: 28px 30px 34px;
         background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(44,79,140,.09) 35px 36px); background-position: 0 150px;
         background-repeat: no-repeat; background-size: 100% calc(100% - 170px); }
.is-live .pf-pg { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(14px) rotate(-.6deg);
                  transition: opacity .45s, transform .55s cubic-bezier(.22,.61,.36,1), visibility 0s .55s; }
.is-live .pf-pg.on { visibility: visible; opacity: 1; transform: none; transition: opacity .45s, transform .55s cubic-bezier(.22,.61,.36,1), visibility 0s; }
.is-live .pf-pg.out { transform: translateY(-18px) rotate(.8deg); }
.pf-h { display: grid; grid-template-columns: minmax(0,1fr) 84px; gap: 20px; padding-bottom: 18px; border-bottom: 2px solid #0e1b33; margin-bottom: 14px; }
.pf-org { font: 700 .65625rem "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: #6e5420; margin-bottom: 14px; }
.pf-k { font: 600 .75rem "IBM Plex Mono", ui-monospace, monospace; color: #86691f; margin-bottom: 4px; }
.pf-pg h3 { font: 600 1.875rem/1.15 "IBM Plex Serif", Georgia, serif; color: #0e1b33; letter-spacing: -.015em; margin-bottom: 8px; }
.pf-d { font: 500 .875rem "IBM Plex Mono", ui-monospace, monospace; color: #0e1b33; }
.pf-d span { color: #6b7280; margin-right: 10px; text-transform: uppercase; font-size: .6875rem; letter-spacing: .1em; }
.pf-ph { position: relative; height: 100px; border: 1px solid rgba(14,27,51,.2); background: #eef1f5; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.pf-ph svg { width: 60px; }
.pf-ph span:last-child { position: absolute; bottom: 4px; font: 600 .5625rem "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: #6b7280; }
.pf-clip { position: absolute; top: -10px; left: 14px; width: 12px; height: 34px; border: 2px solid #9aa3b2; border-radius: 6px; border-bottom-color: transparent; }
.pf-l li { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 10px; align-items: center; min-height: 36px; font: 500 .90625rem/1.4 "IBM Plex Mono", ui-monospace, monospace; color: #1d2b4a; }
.pf-bx { width: 18px; height: 18px; border: 1.5px solid #0e1b33; border-radius: 2px; position: relative; }
.pf-bx svg { position: absolute; left: -2px; top: -6px; width: 24px; height: 24px; fill: none; stroke: #2c4f8c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.is-live .pf-bx path { stroke-dasharray: 16; stroke-dashoffset: 16; }
.is-live .pf-pg.on .pf-bx path { transition: stroke-dashoffset .3s ease; transition-delay: calc(.2s + var(--d) * .12s); stroke-dashoffset: 0; }
.is-live .pf-ln { opacity: .35; transition: opacity .3s; }
.is-live .pf-pg.on .pf-ln { opacity: 1; transition-delay: calc(.15s + var(--d) * .12s); }
.pf-stamp { position: absolute; right: 26px; bottom: 26px; display: flex; flex-direction: column; align-items: center; padding: 8px 16px 9px;
            border: 3px double #2c4f8c; border-radius: 6px; color: #2c4f8c; filter: url(#pf-ink); opacity: .86; transform: rotate(-9deg); pointer-events: none; }
.is-live .pf-stamp { opacity: 0; transform: rotate(-9deg) scale(1.7); }
.is-live .pf-pg.on .pf-stamp { opacity: .86; transform: rotate(-9deg) scale(1); transition: opacity .12s 1.05s, transform .28s cubic-bezier(.5,0,.3,1.3) 1s; }
.pf-stamp span { font-size: .53125rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.pf-stamp b { font-size: 1.5625rem; line-height: 1.1; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 639px) {
  .pf-pg { padding: 22px 18px 90px; } .pf-pg h3 { font-size: 1.5rem; } .pf-l li { font-size: .8125rem; padding: 6px 0; }
  .pf-h { grid-template-columns: minmax(0,1fr) 64px; } .pf-ph { height: 78px; } .pf-stamp { right: 16px; bottom: 16px; } }

/* Service pages: 'What's included' opens as tiles rather than a ruled list */
.svc-more ul { display: grid; gap: 10px; padding-bottom: 1rem; }
@media (min-width: 1024px) { .svc-more ul { grid-template-columns: repeat(2, minmax(0,1fr)); } .svc-more li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.svc-more li { display: block; padding: 16px 18px 15px; background: #fff; border: 1px solid rgba(14,27,51,.09) !important; border-radius: var(--r-inner);
               transition: border-color .25s, transform .25s, box-shadow .25s; }
.svc-more li:hover { border-color: rgba(198,160,74,.6) !important; transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(14,27,51,.4); }
.svc-more li > span:first-child { display: block; width: 1.5rem; height: 2px; margin: 0 0 .75rem; }
.svc-more li > div > p:first-child { font-size: .9375rem; }
@media (prefers-reduced-motion: reduce) {
  .sv, .sv-more, .iso-site *, .pf-pg, .pf-pg *, .pf-stamp, .svc-more li { transition: none !important; }
  .pf-timer { display: none; }
  .iso-site .patrol, .iso-site .drive, .iso-site .boom-arm, .iso-site .walker { animation: none !important; }
  .iso-site .drive-c { opacity: 1; }
}


/* ---- Group AJ: service pages ---- */
/* Hero: the client site from the Services page, with this service's part lit */
.svh { margin: 0; }
.svh-fig { background: #f3f5f9; border-radius: var(--r-card); padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.svh-fig::-webkit-scrollbar { display: none; }
.svh-fig .iso-site { max-width: 840px; margin: 0 auto; }
@media (max-width: 767px) { .svh-fig .iso-site { width: 100%; max-width: 100%; } }
.svh-cap { margin-top: 14px; font-size: .875rem; line-height: 1.6; color: rgba(255,255,255,.65); max-width: 46rem; }
.svh-cap a { color: #fff; font-weight: 600; border-bottom: 2px solid #c6a04a; white-space: nowrap; }
.svh-cap a:hover { color: #c6a04a; }
/* How every site is run: three points with an icon each */
.oc-row { display: grid; gap: 12px; }
@media (min-width: 768px) { .oc-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; } }
.oc { padding: 24px 22px 26px; background: #f3f5f9; border-radius: var(--r-card); }
.oc .sv-ic { margin-bottom: 18px; }
.oc-n { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: #c6a04a; margin-bottom: 6px; }
.oc-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: #0e1b33; }
.oc-d { font-size: .9375rem; line-height: 1.6; color: #4a5263; margin-top: 6px; }
/* The services on each page: white cards, photo on top */
.sl-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .sl-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; } }
.sl { background: #fff; border: 1px solid rgba(14,27,51,.08); border-radius: var(--r-card); overflow: hidden; transition: border-color .3s, box-shadow .5s; }
.sl:hover, .sl:focus-within, .sl:target { border-color: rgba(198,160,74,.55); box-shadow: 0 22px 40px -28px rgba(14,27,51,.45); }
.sl-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.sl-body { padding: 22px 22px 6px; }
@media (min-width: 640px) { .sl-body { padding: 26px 28px 8px; } }
.sl-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.015em; color: #0e1b33; }
.sl-d { color: #4a5263; line-height: 1.65; margin-top: 10px; }
.sl-k { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0e1b33; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { font-size: .8125rem; line-height: 1.3; color: #0e1b33; background: #f3f5f9; border-radius: 999px; padding: 5px 11px; }
.sl .svc-more { margin-top: 20px; border-top: 1px solid rgba(14,27,51,.1); }
.sl .svc-more li { background: #f3f5f9; border-color: transparent !important; }
.sl .svc-more li:hover { background: #fff; border-color: rgba(198,160,74,.6) !important; }
/* side by side, the cards line up: photo, title, intro, 'Ideal for', chips and 'What's included' each share a row across the pair,
   so every card is the same height and the 'What's included' lines sit level */
@media (min-width: 900px) {
  @supports (grid-template-rows: subgrid) {
    .sl-grid { align-items: stretch; row-gap: 0; }
    .sl { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 24px; }
    .sl-body { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .sl-body > .chips { align-self: start; }
    .sl-body > .svc-more { align-self: start; }
    /* while a card's list is open, its pair goes back to natural heights so the closed neighbour isn't stretched into an empty card */
    .sl:not(.sl-wide):nth-child(odd):has(details[open]), .sl:nth-child(odd):has(details[open]) + .sl,
    .sl:nth-child(even):has(details[open]), .sl:nth-child(odd):has(+ .sl details[open]) { display: block; align-self: start; } }
  .sl-wide { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); grid-template-rows: none; }
  .sl-wide .sl-body { display: block; }
  .sl-wide .sl-photo { aspect-ratio: auto; min-height: 18rem; }
  .sl-wide .sl-body { padding: 32px 36px 12px; align-self: center; } }
/* Other service lines: icon cards */
.ol-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .ol-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; } }
.ol { display: flex; flex-direction: column; padding: 22px 22px 20px; background: #fff; border: 1px solid rgba(14,27,51,.08); border-radius: var(--r-card);
      transition: border-color .3s, box-shadow .5s; }
.ol .sv-ic { margin-bottom: 18px; }
.ol-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.1875rem; line-height: 1.3; color: #0e1b33; }
.ol-d { font-size: .875rem; line-height: 1.6; color: #4a5263; margin: 6px 0 14px; }
.ol-go { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: #0e1b33; }
.ol:hover { border-color: rgba(198,160,74,.55); box-shadow: 0 22px 40px -28px rgba(14,27,51,.45); }
.ol:hover .sv-ic { background: #c6a04a; border-color: #c6a04a; }
.ol:hover .sv-arr { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .sl, .ol, .ol * { transition: none !important; } }

/* ---- Group AK: Industries, pick a sector ---- */
/* Icon buttons for the 11 sectors beside one large photo and card. Moves on every 2 s on its own (the brass line along the
   top of the photo counts down); pointing at a sector shows it and holds it, and so does pointing at the photo or card. */
.sc { display: grid; gap: 24px; }
@media (min-width: 1024px) { .sc { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 40px; align-items: stretch; } }
.sc-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; align-content: start; }
.sc-b { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; background: #fff; border: 1px solid rgba(14,27,51,.1);
        border-radius: var(--r-inner); font-size: .875rem; font-weight: 600; color: #0e1b33; line-height: 1.3; cursor: pointer; transition: border-color .3s, box-shadow .4s; }
.sc-b .sv-ic { width: 36px; height: 36px; flex: 0 0 36px; }
.sc-b .sv-ic svg { width: 18px; height: 18px; }
.sc-b:hover { border-color: rgba(198,160,74,.55); }
.sc-b:focus-visible { outline: 2px solid #2c4f8c; outline-offset: 2px; }
.sc-b[aria-selected="true"] { border-color: rgba(198,160,74,.7); box-shadow: 0 18px 34px -26px rgba(14,27,51,.5); }
.sc-b[aria-selected="true"] .sv-ic { background: #c6a04a; border-color: #c6a04a; }
.sc-more { background: #0e1b33; color: #fff; border-color: #0e1b33; justify-content: space-between; font-weight: 500; }
.sc-more:hover { border-color: #c6a04a; }
.sc-panels { position: relative; display: grid; border-radius: var(--r-card); overflow: hidden; }
/* crossfade: the new sector fades in on top; the old one stays underneath until it is covered, then goes */
.sc-p { grid-area: 1 / 1; position: relative; min-height: 34rem; opacity: 0; visibility: hidden; z-index: 0;
        transition: opacity .4s ease 1.4s, visibility 0s linear 1.8s; }
.sc-p.on { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.4s ease, visibility 0s; }
.sc-ph img { transform: scale(1.04); transition: transform 7s ease-out; }
.sc-p.on .sc-ph img { transform: none; }
.sc-ph { position: absolute; inset: 0; }
.sc-ph .photo-slot { align-items: flex-start; }
.sc-ph .photo-slot-label { margin-top: 1.5rem; }
.sc-card { position: absolute; left: 20px; right: 20px; bottom: 20px; max-width: 30rem; background: #fff; border-radius: var(--r-inner); padding: 24px 26px 22px;
           box-shadow: 0 24px 50px -30px rgba(14,27,51,.55); transform: translateY(14px); transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.sc-p.on .sc-card { transform: none; }
.sc-k { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: #86691f; }
.sc-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.625rem; line-height: 1.2; color: #0e1b33; margin-top: 4px; }
.sc-d { color: #4a5263; line-height: 1.6; margin-top: 8px; font-size: .9375rem; }
.sc-l { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0e1b33; margin-top: 18px; }
.sc .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sc .chips li { font-size: .8125rem; line-height: 1.3; color: #0e1b33; background: #f3f5f9; border-radius: 999px; padding: 5px 11px; }
.sc-go { display: flex; width: max-content; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: #0e1b33; margin-top: 16px; }
.sc-go:hover { color: #2c4f8c; }
.sc-go:hover .sv-arr, .sc-more:hover .sv-arr { transform: translateX(3px); }
.sc-timer { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #c6a04a; transform-origin: left; transform: scaleX(0); z-index: 3; }
.sc.run .sc-timer.go { animation: sc-count 6s linear forwards; }
.sc.hold .sc-timer { animation-play-state: paused; }
@keyframes sc-count { to { transform: scaleX(1); } }
/* no script: every sector is shown, one under another */
.sc:not(.is-live) .sc-panels { gap: 16px; overflow: visible; }
.sc:not(.is-live) .sc-p { grid-area: auto; opacity: 1; visibility: visible; border-radius: var(--r-card); overflow: hidden; }
.sc:not(.is-live) .sc-card { transform: none; }
.sc:not(.is-live) .sc-timer { display: none; }
@media (max-width: 1023px) {
  .sc-list { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
  .sc-list::-webkit-scrollbar { display: none; }
  .sc-b { flex: 0 0 auto; }
  .sc-p { min-height: 31rem; }
  .sc-ph .photo-slot-label { display: none; }
  .sc-card { left: 12px; right: 12px; bottom: 12px; padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .sc-p, .sc-card, .sc-b { transition: none !important; } .sc-timer { display: none; } }

/* ---- Group AL: Home, why NECESSA ---- */
/* A tall team portrait beside the heading and six commitments with icons, then the credentials a procurement officer checks first */
.wt { display: grid; gap: 40px; }
@media (min-width: 1024px) { .wt { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; align-items: center; } }
.wt-ph { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; }
@media (max-width: 1023px) { .wt-ph { aspect-ratio: 4 / 3; order: 2; } }
.wt-g { display: grid; gap: 26px 32px; margin-top: 32px; }
@media (min-width: 640px) { .wt-g { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.wt-c { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 16px; }
.wt-h { font-weight: 700; color: #0e1b33; padding-top: 9px; line-height: 1.35; }
.wt-d { font-size: .875rem; line-height: 1.6; color: #4a5263; margin-top: 3px; }
.wt-go { display: flex; width: max-content; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: #0e1b33; margin-top: 32px; }
.wt-go:hover { color: #2c4f8c; } .wt-go:hover .sv-arr { transform: translateX(3px); }
.wt-creds { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); margin-top: 56px; border-top: 1px solid rgba(14,27,51,.12); border-bottom: 1px solid rgba(14,27,51,.12); }
.wt-cr { padding: 20px 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.wt-cr + .wt-cr { border-left: 1px solid rgba(14,27,51,.12); }
.wt-cr b { font-family: "IBM Plex Serif", Georgia, serif; font-size: 1.25rem; font-weight: 600; color: #0e1b33; }
.wt-cr span { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #86691f; }
@media (max-width: 767px) { .wt-creds { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 40px; }
  .wt-cr { border-left: 0 !important; } .wt-cr:nth-child(-n+3) { border-bottom: 1px solid rgba(14,27,51,.12); }
  .wt-cr:not(:nth-child(3n+1)) { border-left: 1px solid rgba(14,27,51,.12) !important; } .wt-cr { padding: 16px 6px; } .wt-cr b { font-size: 1rem; white-space: nowrap; } .wt-cr span { font-size: .6875rem; } }
/* on navy, after the white sectors section */
.wt-dark .sv-ic { border-color: rgba(198,160,74,.55); color: #c6a04a; }
.wt-dark .wt-h { color: #fff; } .wt-dark .wt-d { color: rgba(255,255,255,.62); }
.wt-dark .wt-go { color: #fff; } .wt-dark .wt-go:hover { color: #c6a04a; }
.wt-dark .wt-creds, .wt-dark .wt-cr { border-color: rgba(255,255,255,.14) !important; }
.wt-dark .wt-cr b { color: #fff; } .wt-dark .wt-cr span { color: #c6a04a; }

/* ---- Group AL: Home, sectors ---- */
/* Six photos of staff at work, rounded, with the name and one line under each; a sideways row on phones and tablets */
.sp-all { display: flex; width: max-content; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: #0e1b33; margin-top: 14px; }
.sp-all:hover { color: #2c4f8c; } .sp-all:hover .sv-arr { transform: translateX(3px); }
.sp-row { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.sp { display: block; }
.sp-ph { aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s; }
.sp-ph .photo-slot-label { display: none; }
.sp:hover .sp-ph, .sp:focus-visible .sp-ph { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(14,27,51,.55); }
.sp-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; color: #0e1b33; margin-top: 14px; transition: color .25s; }
.sp-d { font-size: .8125rem; line-height: 1.55; color: #4a5263; margin-top: 4px; }
.sp:hover .sp-h { color: #2c4f8c; }
@media (max-width: 1023px) {
  .sp-row { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 8px; scroll-snap-type: x mandatory; scroll-padding-left: 16px; }
  .sp-row::-webkit-scrollbar { display: none; }
  .sp { flex: 0 0 62vw; max-width: 15rem; scroll-snap-align: start; } }
@media (prefers-reduced-motion: reduce) { .sp-ph, .sp-h { transition: none !important; } }
.wt-certs { display: block; width: max-content; margin: 18px auto 0; font-size: .875rem; font-weight: 600; color: #c6a04a; transition: color .2s; }
.wt-certs:hover { color: #fff; }

/* ---- Group AL: Home, client stories ---- */
/* One story at a time: a photo of the staff on site beside the story, the client's words and three figures. Without
   script all three stories show, one under another. */
.fs-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.fs-pg { display: none; align-items: center; gap: 14px; flex-shrink: 0; }
.fs-top:has(~ .fs.is-live) .fs-pg { display: flex; }
.fs-c { font-size: .875rem; color: #4a5263; font-variant-numeric: tabular-nums; } .fs-c b { color: #0e1b33; }
.fs-b { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(14,27,51,.25); color: #0e1b33; display: flex; align-items: center; justify-content: center;
        transition: background-color .25s, border-color .25s; }
.fs-b svg { width: 16px; height: 16px; }
.fs-b:hover { background: #c6a04a; border-color: #c6a04a; }
.fs-b:focus-visible { outline: 2px solid #2c4f8c; outline-offset: 2px; }
.fs { display: grid; gap: 20px; }
.fs-s { display: grid; background: #fff; border-radius: var(--r-card); overflow: hidden; }
.fs.is-live .fs-s { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.fs.is-live .fs-s.on { opacity: 1; visibility: visible; }
@media (min-width: 900px) { .fs-s { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.fs-ph { min-height: 24rem; }
.fs-t { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.fs-k { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #86691f; }
.fs-dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 18px; padding-top: 24px; border-top: 1px solid rgba(14,27,51,.1); }
.fs-dl dd { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 2rem; line-height: 1; color: #0e1b33; }
.fs-dl dt { font-size: .75rem; font-weight: 600; color: #4a5263; margin-top: 6px; }
@media (max-width: 899px) { .fs-ph { min-height: 14rem; } .fs-t { padding: 24px 22px; } .fs-dl dd { font-size: 1.5rem; } }
@media (max-width: 479px) { .fs-top { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .fs.is-live .fs-s { transition: none; } }

/* ---- Group AM: Careers ---- */
/* Written for the applicant: day-one facts, role cards, the path to supervisor, the selection stages and a short form. */
/* careers hero */
.cr-h { display: grid; gap: 40px; }
@media (min-width: 1024px) { .cr-h { grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 64px; align-items: center; } }
.cr-hph { aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; }
@media (max-width: 1023px) { .cr-hph { aspect-ratio: 4 / 3; } }
.cr-wa { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.4); color: #fff; font-weight: 600; padding: 11px 20px; border-radius: 4px; }
.cr-wa:hover { border-color: #25D366; } .cr-wa svg { width: 18px; height: 18px; color: #25D366; }
.cr-d1s { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 44px; }
@media (max-width: 767px) { .cr-d1s { grid-template-columns: 1fr 1fr; } }
.cr-d1 { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-radius: var(--r-inner); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.cr-d1i { color: #c6a04a; } .cr-d1i svg { width: 24px; height: 24px; }
.cr-d1 b { display: block; color: #fff; font-weight: 700; font-size: .9375rem; } .cr-d1 span:last-child { color: rgba(255,255,255,.6); font-size: .8125rem; line-height: 1.45; }

/* roles */
.cr-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 40px; flex-wrap: wrap; }
.cr-rg { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 1023px) { .cr-rg { grid-template-columns: 1fr 1fr; } } @media (max-width: 639px) { .cr-rg { grid-template-columns: 1fr; } }
.cr-r { display: flex; flex-direction: column; border: 1px solid rgba(14,27,51,.08); border-radius: var(--r-card); overflow: hidden; background: #fff; transition: box-shadow .5s, transform .5s; }
.cr-r:hover { box-shadow: 0 22px 40px -30px rgba(14,27,51,.5); transform: translateY(-3px); }
.cr-rph { position: relative; aspect-ratio: 16 / 10; }
.cr-rk { position: absolute; top: 14px; left: 14px; z-index: 3; background: #fff; color: #0e1b33; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.cr-rb { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cr-rh { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.25rem; color: #0e1b33; line-height: 1.3; }
.cr-rd { font-size: .875rem; line-height: 1.6; color: #4a5263; margin-top: 6px; }
.cr-ro { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: #1e6b45; margin-top: 16px; }
.cr-dot { width: 8px; height: 8px; border-radius: 999px; background: #2f9e62; box-shadow: 0 0 0 4px rgba(47,158,98,.15); }
.cr-ra { display: flex; gap: 10px; margin-top: auto; padding-top: 20px; }
.cr-btn { flex: 1; text-align: center; background: #0e1b33; color: #fff; font-weight: 600; font-size: .875rem; padding: 11px 16px; border-radius: 4px; transition: background-color .25s; }
.cr-btn:hover { background: #2c4f8c; }
.cr-wa2 { width: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(14,27,51,.15); border-radius: 4px; color: #25D366; }
.cr-wa2 svg { width: 20px; height: 20px; } .cr-wa2:hover { border-color: #25D366; }
.cr-rx { background: #0e1b33; border: 0; } .cr-rx .sv-ic { border-color: rgba(198,160,74,.6); color: #c6a04a; }
.cr-rx .cr-btn { background: #c6a04a; color: #0e1b33; } .cr-rx .cr-btn:hover { background: #d8b663; }

/* growth: one path with four stops, no boxes; the staff quote as a slim pull quote */
.gp { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
.gp::before { content: ""; position: absolute; left: 22px; right: 12%; top: 21px; height: 2px; background: linear-gradient(90deg, rgba(198,160,74,.35), #c6a04a); }
.gp-s { position: relative; }
.gp-n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 999px; background: #0e1b33; color: #c6a04a; display: flex; align-items: center; justify-content: center;
        font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: .9375rem; box-shadow: 0 0 0 6px #f3f5f9; }
.gp-s:last-child .gp-n { background: #c6a04a; color: #0e1b33; }
.gp-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.25rem; color: #0e1b33; margin-top: 20px; }
.gp-d { font-size: .9375rem; line-height: 1.6; color: #4a5263; margin-top: 6px; max-width: 16rem; }
@media (max-width: 767px) {
  .gp { grid-template-columns: 1fr; gap: 26px; }
  .gp::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(198,160,74,.35), #c6a04a); }
  .gp-s { display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 18px; } .gp-n { grid-row: span 2; }
  .gp-h { margin-top: 8px; } }
.gp-q { display: flex; gap: 20px; align-items: center; margin-top: 56px; max-width: 46rem; }
.gp-qph { position: relative; width: 72px; height: 72px; flex-shrink: 0; border-radius: 999px; overflow: hidden; background: rgba(14,27,51,.1); display: flex; align-items: center; justify-content: center; }
.gp-qph span { font-size: 10px; font-weight: 600; text-transform: uppercase; color: rgba(14,27,51,.4); }
.gp-qph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 539px) { .gp-q { align-items: flex-start; } .gp-qph { width: 56px; height: 56px; } }

/* selection */
.cr-sel { display: grid; gap: 20px; }
@media (min-width: 1024px) { .cr-sel { grid-template-columns: minmax(0,8fr) minmax(0,4fr); } }
.cr-phs { display: grid; grid-template-columns: 2fr 4fr 3fr; gap: 12px; }
@media (max-width: 767px) { .cr-phs { grid-template-columns: 1fr; } }
.cr-ph { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); padding: 22px 20px; }
.cr-phn { color: #c6a04a; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cr-ph li { display: flex; gap: 12px; align-items: baseline; color: #fff; font-weight: 600; font-size: .9375rem; padding: 9px 0; }
.cr-ph li span { font-family: "IBM Plex Serif", Georgia, serif; color: rgba(255,255,255,.45); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.cr-br { background: #fff; border-radius: var(--r-card); padding: 24px 22px; }
.cr-brh { font-weight: 700; color: #0e1b33; margin-bottom: 12px; }
.cr-br li { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: #4a5263; padding: 6px 0; }
.cr-br li svg { width: 18px; height: 18px; color: #86691f; flex-shrink: 0; margin-top: 1px; }

/* apply */
.cr-ap { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; }
@media (min-width: 1024px) { .cr-ap { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; align-items: start; } }
.cr-alt { display: grid; gap: 10px; margin-top: 28px; max-width: 24rem; }
.cr-alt-a { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--r-inner); padding: 14px 16px; transition: box-shadow .3s; }
.cr-alt-a:hover { box-shadow: 0 14px 30px -22px rgba(14,27,51,.5); }
.cr-alt-a b { display: block; color: #0e1b33; font-size: .9375rem; } .cr-alt-a span:last-child { font-size: .8125rem; color: #4a5263; }
.cr-alt-i { width: 40px; height: 40px; border-radius: 999px; background: #0e1b33; color: #c6a04a; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cr-alt-i svg { width: 19px; height: 19px; } .cr-alt-wa { background: #25D366; color: #fff; }
.cr-f { background: #fff; border-radius: var(--r-card); padding: 32px; box-shadow: 0 30px 60px -48px rgba(14,27,51,.6); }
@media (max-width: 639px) { .cr-f { padding: 24px 18px; } }
@media (max-width: 639px) { .cr-f { padding: 22px 18px; } }
.cr-fg { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 639px) { .cr-fg { grid-template-columns: 1fr; } }
.cr-wide { grid-column: 1 / -1; }
.cr-l { display: flex; flex-direction: column; gap: 6px; font-size: .75rem; font-weight: 700; color: #4a5263; }
.cr-l input, .cr-l select, .cr-l textarea { font: inherit; font-size: .9375rem; font-weight: 400; color: #0e1b33; border: 1px solid rgba(14,27,51,.18); border-radius: 4px; padding: 10px 12px; background: #fff; }
.cr-l input:focus, .cr-l select:focus, .cr-l textarea:focus { outline: none; border-color: #2c4f8c; box-shadow: 0 0 0 3px rgba(44,79,140,.15); }
.cr-opt { font-weight: 500; color: #7a8292; }
.cr-sub { margin-top: 24px; width: 100%; background: #c6a04a; color: #0e1b33; font-weight: 700; padding: 14px; border-radius: 4px; transition: background-color .25s; }
.cr-sub:hover { background: #d8b663; }

.cr-l label { font-size: .75rem; font-weight: 700; color: #4a5263; }
.cr-alt-a, .cr-btn, .cr-wa2 { transition: box-shadow .3s, background-color .25s, border-color .25s; }
.cr-r { scroll-margin-top: 100px; } #apply { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) { .cr-r, .cr-alt-a { transition: none !important; } .cr-r:hover { transform: none; } }

/* ---- Group AP: lists without dashes or hairlines ---- */
/* Chosen per section from what sits around it: icon tiles, register cards, policy cards, a document card, soft icon cards,
   cards over a photo, numbered cards, statement / badge / person cards, pill tiles, check items and chevrons. Boxes only where the
   content needs a container; values, stages, commitments, statements, team and certifications stay open. */
.ck { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 20px; margin-top: 4px; padding: 20px; border-radius: var(--r-inner); background: #fff; }
.ck-1 { grid-template-columns: 1fr; }
@media (max-width: 639px) { .ck { grid-template-columns: 1fr; } }
.ck li { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; line-height: 1.45; color: #0e1b33; font-weight: 500; }
.ck-i { width: 20px; height: 20px; border-radius: 999px; background: rgba(198,160,74,.2); color: #86691f; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: -1px; }
.ck-i svg { width: 12px; height: 12px; }

/* icon tiles */
.tl-g { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; align-self: start; }
.tl-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1023px) { .tl-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 539px) { .tl-g, .tl-3 { grid-template-columns: 1fr; } }
.tl { display: flex; align-items: center; gap: 14px; background: #f3f5f9; border-radius: var(--r-inner); padding: 14px 16px; font-size: .9375rem; font-weight: 600; color: #0e1b33; line-height: 1.35;
      transition: background-color .3s, transform .3s, box-shadow .3s; }
.tl .sv-ic { background: #fff; border-color: transparent; flex-shrink: 0; }
.bg-cream .tl { background: #fff; } .bg-cream .tl .sv-ic { background: #f3f5f9; }
.tl:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -22px rgba(14,27,51,.45); }

/* register cards */
.rg-g { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (max-width: 767px) { .rg-g { grid-template-columns: 1fr; } }
.rg { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 16px; background: #f3f5f9; border-radius: var(--r-card); padding: 20px 22px; }
.rg .sv-ic { background: #fff; border-color: transparent; }
.rg-t { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rg-h { font-weight: 700; color: #0e1b33; }
.rg-ok { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: #15803d; background: rgba(21,128,61,.1); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.rg-ok::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #15803d; }
.rg-d { font-size: .875rem; line-height: 1.6; color: #4a5263; margin-top: 4px; }

/* policy / training cards */
.pc { background: #f3f5f9; border-radius: var(--r-card); padding: 28px; }
.bg-cream .pc { background: #fff; } .bg-cream .pc .ck { background: #f3f5f9; }
@media (max-width: 639px) { .pc { padding: 22px 18px; } }
.pc-ic { width: 46px; height: 46px; border-radius: 999px; background: #0e1b33; color: #c6a04a; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pc-ic svg { width: 21px; height: 21px; }

/* document card */
.dc { background: #f3f5f9; border-radius: var(--r-card); overflow: hidden; }
.dc-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #0e1b33; padding: 20px 24px; }
.dc-k { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c6a04a; }
.dc-h { color: #fff; font-weight: 600; margin-top: 2px; }
.dc-n { font-size: .75rem; font-weight: 700; color: #0e1b33; background: #c6a04a; border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.dc-l { padding: 10px 24px 16px; }
.dc-l li { display: flex; gap: 12px; align-items: center; padding: 8px 0; font-size: .875rem; color: #0e1b33; line-height: 1.45; }
.dc-i { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: #86691f; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dc-i svg { width: 17px; height: 17px; }
@media (max-width: 539px) { .dc-top { flex-direction: column; align-items: flex-start; } .dc-top, .dc-l { padding-left: 18px; padding-right: 18px; } }

/* open icon columns (values, reliability): an icon above each point, no box */
.ir-g { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 40px 32px; }
@media (max-width: 1023px) { .ir-g { grid-template-columns: repeat(2, minmax(0,1fr)); } } @media (max-width: 539px) { .ir-g { grid-template-columns: 1fr; gap: 28px; } }
.ir .sv-ic { margin-bottom: 16px; }
.ir-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.125rem; line-height: 1.3; color: #0e1b33; }
.ir-d { font-size: .875rem; line-height: 1.6; color: #4a5263; margin-top: 6px; }

/* quality assurance: cards over the lower edge of the photo */
.qa-g { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; position: relative; z-index: 2; margin: -72px 24px 0; }
.qa-ph img { object-position: 50% 24%; }
.qa-ph .photo-slot { align-items: flex-start; } .qa-ph .photo-slot-label { margin-top: 1.125rem; }
.qa-c { background: #fff; border-radius: var(--r-card); padding: 22px 22px 24px; box-shadow: 0 24px 48px -32px rgba(14,27,51,.5), 0 2px 6px rgba(14,27,51,.05); }
@media (max-width: 1023px) { .qa-g { grid-template-columns: repeat(2, minmax(0,1fr)); margin: -56px 16px 0; } }
@media (max-width: 539px) { .qa-g { grid-template-columns: 1fr; margin: 16px 0 0; } .qa-c { background: #f3f5f9; box-shadow: none; } }

/* contract stages: a navy number disc above each stage, no box */
.stg > p:first-child { width: 36px; height: 36px; border-radius: 999px; background: #0e1b33; color: #c6a04a !important; display: flex; align-items: center; justify-content: center; font-size: .8125rem; margin-bottom: 16px !important; }

/* CSR commitments: the large numbers carry the order; space between, no rules, no boxes */
.cm-l { display: grid; gap: 32px; }

/* About: statements (a brass bar beside each, no box), regions, team, certifications */
.vm { border-left: 3px solid #c6a04a; padding-left: 24px; }
.regions .region { background: #fff; border-radius: var(--r-inner); padding: 10px 12px; transition: box-shadow .3s; }
.regions .region:hover, .regions .region.on { box-shadow: 0 10px 22px -16px rgba(14,27,51,.5); }

/* bullets and links */
.svc-more li > span.ck-i { display: flex; width: 22px; height: 22px; margin: 0 0 .75rem; background: rgba(198,160,74,.2); }
.svc-links { padding-top: .25rem; }
.svc-chev { width: 12px; height: 12px; color: #c6a04a; flex-shrink: 0; transition: transform .25s; }
.svc-sub:hover .svc-chev { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .tl, .svc-chev, .regions .region { transition: none !important; } .tl:hover { transform: none; } }

/* Group AQ: policies as open statement rows; training as a numbered line */
.pl { display: grid; gap: 64px; }
.pl-r { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 56px; align-items: start; }
.pl-k { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #86691f; margin-bottom: 12px; }
.pl-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.75rem; line-height: 1.2; color: #0e1b33; margin-bottom: 14px; }
.pl-d { color: #4a5263; line-height: 1.65; max-width: 26rem; }
.pl-l { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 32px; padding-top: 6px; }
.pl-l li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; line-height: 1.5; color: #0e1b33; }
.pl-l .ck-i { margin-top: 1px; }
@media (max-width: 1023px) { .pl-r { grid-template-columns: 1fr; gap: 24px; } .pl { gap: 48px; } }
@media (max-width: 539px) { .pl-l { grid-template-columns: 1fr; gap: 14px; } .pl-h { font-size: 1.5rem; } }
.tr-l { margin-top: 10px; display: grid; gap: 6px; }
.tr-l li { font-size: .9375rem; line-height: 1.5; color: #4a5263; }

/* ---- Group AR (final design pass): Statutory fact sheet, compliance, GeM halves; Process training by role ---- */
/* registrations: fact sheet (the page's one feature) */
.vf { display: grid; gap: 40px; }
@media (min-width: 1024px) { .vf { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; align-items: start; } .vf-a { position: sticky; top: 120px; } }
.vf-b { display: inline-flex; width: max-content; max-width: 100%; white-space: nowrap; margin-top: 28px; background: #c6a04a; color: #0e1b33; font-weight: 700; padding: 13px 24px; border-radius: 4px; transition: background-color .2s; }
.vf-b:hover { background: #d8b663; }
.vf-s { font-size: .8125rem; color: #6b7385; margin-top: 10px; }
.sh { background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: 0 1px 3px rgba(14,27,51,.08), 0 34px 70px -34px rgba(14,27,51,.35); }
.sh-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #0e1b33; padding: 20px 26px; }
.sh-k { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #c6a04a; }
.sh-h { color: #fff; font-weight: 600; margin-top: 3px; font-size: .9375rem; }
.sh-c { font-size: .75rem; font-weight: 700; color: #0e1b33; background: #c6a04a; border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.sh-head, .sh-r { display: grid; grid-template-columns: minmax(0,1fr) 7.5rem 5.5rem; gap: 16px; align-items: center; padding: 0 26px; }
.sh-head { padding-top: 16px; padding-bottom: 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a91a1; }
.sh-r { padding-top: 12px; padding-bottom: 12px; }
.sh-r:nth-child(odd) { background: #f6f7fa; }
.sh-n { font-size: .9375rem; font-weight: 600; color: #0e1b33; line-height: 1.3; }
.sh-n small { display: block; font-size: .8125rem; font-weight: 400; color: #6b7385; margin-top: 2px; }
.sh-v { font-size: .8125rem; color: #8a91a1; font-style: italic; }
.sh-ok { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: #1f7a4d; }
.sh-ok::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: #2e9e66; box-shadow: 0 0 0 3px rgba(46,158,102,.15); }
.sh-f { padding: 18px 26px 22px; font-size: .875rem; line-height: 1.6; color: #4a5263; }
.sh-f b { color: #0e1b33; }
@media (max-width: 639px) { .sh-head { display: none; } .sh-r { grid-template-columns: minmax(0,1fr) auto; padding-left: 18px; padding-right: 18px; } .sh-v { display: none; }
  .sh-top, .sh-f { padding-left: 18px; padding-right: 18px; } .sh-top { flex-direction: column; align-items: flex-start; } }

/* compliance: simple grouped ticks on navy */
.cb-g { display: grid; gap: 36px; margin-top: 48px; }
@media (min-width: 768px) { .cb-g { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; } }
.cb-k { display: flex; align-items: center; gap: 12px; font-family: "IBM Plex Serif", Georgia, serif; font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 18px; }
.cb-i { width: 40px; height: 40px; border-radius: 99px; background: rgba(198,160,74,.16); color: #c6a04a; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cb-i svg { width: 20px; height: 20px; }
.cb-l { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-l span { font-size: .875rem; line-height: 1.3; color: rgba(255,255,255,.88); background: rgba(255,255,255,.08); border-radius: 99px; padding: 8px 14px; }
.ps-g { display: grid; gap: 32px; margin-top: 56px; padding-top: 0; }
@media (min-width: 768px) { .ps-g { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ps-q { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 500; font-size: 1.625rem; line-height: 1.25; color: #fff; }
@media (min-width: 1024px) { .ps-q { font-size: 1.875rem; } }
.ps-m { font-size: .8125rem; color: #c6a04a; font-weight: 600; margin-top: 10px; }
.ps-d { margin-top: 12px; }
.ps-d summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: .875rem; font-weight: 600; }
.ps-d summary::-webkit-details-marker { display: none; }
.ps-d summary::after { content: "+"; width: 22px; height: 22px; border-radius: 99px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; }
.ps-d[open] summary::after { content: "\2212"; }
.ps-d p { margin-top: 12px; color: rgba(255,255,255,.62); font-size: .9375rem; line-height: 1.7; max-width: 34rem; }

/* GeM: two halves, static */
.aw { display: grid; border-radius: var(--r-card); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(14,27,51,.35); }
@media (min-width: 768px) { .aw { grid-template-columns: 1fr 1fr; } }
.aw-h { padding: 40px 40px 44px; text-align: center; }
.aw-1 { background: #fff; } .aw-2 { background: #0e1b33; }
@media (max-width: 639px) { .aw-h { padding: 28px 22px 30px; } }
.aw-k { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #86691f; }
.aw-2 .aw-k { color: #c6a04a; }
.aw-t { font-family: "IBM Plex Serif", Georgia, serif; font-size: 1.375rem; font-weight: 600; line-height: 1.25; color: #0e1b33; margin: 6px 0 22px; }
.aw-2 .aw-t { color: #fff; }
.aw ul { display: grid; gap: 14px; justify-items: center; }
.aw li { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: .9375rem; color: #0e1b33; }
.aw-2 li { color: rgba(255,255,255,.86); }
.aw li svg { width: 22px; height: 22px; color: #86691f; flex-shrink: 0; }
.aw-2 li svg { color: #c6a04a; }

/* technology: one still screen + icon list */
.tc { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .tc { grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 72px; } }
.tc-l { display: grid; gap: 14px 32px; margin-top: 32px; }
@media (min-width: 640px) { .tc-l { grid-template-columns: 1fr 1fr; } }
.tc-l li { display: flex; align-items: center; gap: 14px; color: #0e1b33; font-size: .9375rem; line-height: 1.4; }
.tc-i { width: 40px; height: 40px; border-radius: 99px; background: #fff; color: #86691f; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tc-i svg { width: 19px; height: 19px; }
.tc-ph { justify-self: center; width: min(270px, 74vw); }
.tc-ph figcaption { text-align: center; font-size: .75rem; color: #8a91a1; margin-top: 14px; }
.tc-scr { position: relative; height: 470px; border-radius: 42px; background: #0e1b33; padding: 10px; box-shadow: 0 46px 80px -40px rgba(14,27,51,.55); transform: rotate(-2deg); }
.tc-scr::before { content: ""; position: absolute; inset: 10px; border-radius: 32px; background: #f7f5ef; }
.ui-top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 13px 20px 0; font: 700 11px Manrope, sans-serif; color: #0e1b33; }
.ui-isl { width: 66px; height: 19px; border-radius: 99px; background: #0e1b33; }
.ui { position: relative; padding: 16px 16px; }
.ui-k { font: 700 10px Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #86691f; margin-bottom: 12px; }
.ui-big { display: flex; align-items: center; gap: 14px; background: #0e1b33; color: #fff; border-radius: 14px; padding: 14px; margin-bottom: 8px; }
.ui-big b { font: 600 28px "IBM Plex Serif", Georgia, serif; } .ui-big small { font-size: 15px; color: rgba(255,255,255,.55); } .ui-big span { display: block; font-size: 11px; color: rgba(255,255,255,.6); }
.ui-ring { width: 54px; height: 54px; transform: rotate(-90deg); } .ui-ring circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 7; }
.ui-ring .v { stroke: #c6a04a; stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 7.4; }
.ui-r { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #fff; margin-top: 6px; font-size: 12px; color: #0e1b33; }
.ui-r b { color: #1f7a4d; } .ui-r.warn b { color: #a66a00; }

/* training: grouped topic tags */
.tn-g { display: grid; gap: 32px 40px; }
@media (min-width: 640px) { .tn-g { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tn-g { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.tn-h { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.25rem; color: #0e1b33; margin-bottom: 14px; }
.tn-h em { font: 700 .6875rem Manrope, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #86691f; background: rgba(198,160,74,.18); border-radius: 99px; padding: 4px 10px; font-style: normal; }
.tn-c { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-c span { font-size: .875rem; color: #0e1b33; background: #f3f5f9; border-radius: 99px; padding: 7px 14px; }
.tn-ref .tn-c span { background: rgba(198,160,74,.16); }

/* training: a common start, then by role, then ongoing */
.trs { display: flex; gap: 18px; align-items: flex-start; max-width: 52rem; }
.trs-i { width: 48px; height: 48px; border-radius: 99px; background: #0e1b33; color: #c6a04a; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trs-i svg { width: 22px; height: 22px; }
.trs-k { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #86691f; margin-bottom: 6px; }
.trs-t { color: #4a5263; line-height: 1.65; font-size: 1rem; }
.trs-t b { color: #0e1b33; font-weight: 700; }
.trr-k { margin: 44px 0 16px; }
.trr-g { display: grid; gap: 28px; }
@media (min-width: 768px) { .trr-g { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; } }
.trr-ph { aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; }
.trr-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.25rem; color: #0e1b33; margin-top: 16px; }
.trr-d { color: #4a5263; line-height: 1.6; margin-top: 6px; font-size: .9375rem; }
.trs-end { max-width: none; margin-top: 48px; align-items: center; }
.trs-end > div:nth-child(2) { flex: 1; max-width: 46rem; }
.trs-n { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 700; color: #0e1b33; background: #fff; border-radius: 99px; padding: 8px 16px 8px 8px; white-space: nowrap; }
.trs-n span { width: 30px; height: 30px; border-radius: 99px; background: rgba(198,160,74,.2); color: #86691f; display: flex; align-items: center; justify-content: center; }
.trs-n svg { width: 16px; height: 16px; }
@media (max-width: 767px) { .trs-end { flex-wrap: wrap; } .trs-n { margin-left: 66px; } }

/* compliance: editorial, with a photo */
.cbx { display: grid; gap: 40px; align-items: stretch; }
@media (min-width: 1024px) { .cbx { grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 72px; } }
.cg-l { display: grid; gap: 26px; margin-top: 36px; }
.cg { display: flex; gap: 18px; align-items: flex-start; }
.cg-i { width: 46px; height: 46px; border-radius: 99px; background: rgba(198,160,74,.14); color: #c6a04a; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cg-i svg { width: 21px; height: 21px; }
.cg-h { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 600; font-size: 1.25rem; color: #fff; }
.cg-d { color: rgba(255,255,255,.7); line-height: 1.6; margin-top: 4px; max-width: 34rem; }
.cg-p { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: .875rem; color: #fff; background: rgba(255,255,255,.06); border-radius: 12px; padding: 14px 18px; max-width: 34rem; }
.cg-p svg { width: 20px; height: 20px; color: #c6a04a; flex-shrink: 0; }
.cb .ps-g { margin-top: 64px; }

/* Opening sections: the page photo fills the section, the text sits on a navy fade along the bottom */
.ph-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 34rem; }
@media (min-width: 768px) { .ph-hero { min-height: 38rem; } }
@media (min-width: 1024px) { .ph-hero { min-height: 40rem; } }
.ph-hero-img { position: absolute; inset: 0; }
.ph-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(14,27,51,.97) 0%, rgba(14,27,51,.9) 26%, rgba(14,27,51,.5) 56%, rgba(14,27,51,.12) 82%, rgba(14,27,51,.05) 100%); }
@media (max-width: 767px) {
  /* phones: the photo is a band across the top that fades into the navy text area */
  .ph-hero { min-height: 0; }
  .ph-hero-img { bottom: auto; height: 20rem; }
  .ph-hero::after { background: linear-gradient(180deg, rgba(14,27,51,.05) 0, rgba(14,27,51,.25) 11rem, #0e1b33 20rem); }
}
.ph-hero-in { position: relative; z-index: 2; width: 100%; }
.svh-cap-light { margin-top: 0; color: #4a5568; font-size: 1rem; }
/* Careers: the guard portrait fills the right side; the text keeps a solid navy field on the left */
@media (min-width: 1024px) {
  .ph-hero--split .ph-hero-img { left: 40%; }
  .ph-hero--split::after { background: linear-gradient(90deg, #0e1b33 0%, #0e1b33 40%, rgba(14,27,51,.55) 50%, rgba(14,27,51,0) 66%),
                                       linear-gradient(0deg, rgba(14,27,51,.55) 0%, rgba(14,27,51,0) 35%); }
}
.svh-cap-light a { color: #0e1b33; }
.svh-cap-light a:hover { color: #2c4f8c; }

/* Frame matched to Tenon: section spacing 46px (phone) to 78px (wide), 14px card corners, 1px light card borders, 26px card padding */
.sec-y { padding-top: clamp(2.875rem, 5.4vw, 4.875rem); padding-bottom: clamp(2.875rem, 5.4vw, 4.875rem); }
:root { --r-card: 14px; }
.oc, .rg, .pc, .dc, .cr-br, .fs-s { border: 1px solid #e3e7ef; }
.oc, .pc, .cr-br { padding: 26px; }
.rg { padding: 22px 26px; }

/* Service pages, "How every site is run": the three checks stacked beside a smaller site illustration (illustration first on phones) */
.svh-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.svh-split > * { min-width: 0; }
.svh-split .svh { order: -1; }
@media (min-width: 1024px) {
  .svh-split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: center; }
  .svh-split .svh { order: 0; }
  .svh-split .oc-row { grid-template-columns: 1fr; gap: 14px; }
  .svh-split .oc { padding: 20px 24px; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 18px; align-content: start; }
  .svh-split .oc > .sv-ic { grid-row: 1 / span 3; margin: 0; }
  .svh-split .oc > :not(.sv-ic) { grid-column: 2; }
  .svh-split .svh-fig .iso-site { max-width: 680px; }
}
