/* =============================================================================
   parts.css: components shared by every page. Header, services mega menu, mobile sheet, links, statements, the stat grid,
   the arc ring and the world map, team / deal / news cards, quote band, footer, custom cursor, Demo notes.
   Measurements: dna/DETAILS.md and dna/MOTION.md (vw on the 2400 canvas; the switch is at 1100px).
   ========================================================================== */

/* ---------------------------------------------------------------- text link with the sliding underline (MOTION 11) */
.link { display: inline-flex; align-items: center; position: relative; overflow: hidden; min-height: 24px; vertical-align: top; }
.link .text { font-size: 1vw; font-weight: 500; line-height: 1.2; padding-bottom: .25vw; display: block; letter-spacing: -.02em; }
.link .underline { position: absolute; left: 0; bottom: .083vw; width: 100%; height: 2px; background: currentColor; }
.link.--small .text { font-size: .75vw; padding-bottom: .167vw; }
.link.--small .underline { height: 1px; }
@media (max-width: 1100px) {
  .link .text { font-size: min(3.889vw, 15.435px); padding-bottom: 3px; }
  .link.--small .text { font-size: min(3.056vw, 12.13px); }
  .link .underline { height: 1px; }
}

/* ---------------------------------------------------------------- header (DETAILS 1) */
.head {
  position: sticky; top: 0; z-index: 2000; display: flex; align-items: stretch; justify-content: space-between;
  height: var(--head-h); margin-bottom: calc(var(--head-h) * -1); border-bottom: 1px solid var(--line-hair);
  background: transparent; transition: background-color .4s var(--p2-out);
}
html.scroll .head { background: rgba(243, 245, 248, .94); }
.head__box { position: absolute; left: 0; right: 0; top: 0; bottom: -1px; background: var(--ivory); opacity: .0001; pointer-events: none; }
.brand { position: relative; display: flex; align-items: center; margin-left: 2.5vw; width: 11.5vw; z-index: 2; }
.brand img { width: 100%; height: auto; }
.nav { position: absolute; left: 50%; top: 0; height: 100%; transform: translateX(-50%); display: flex; z-index: 2; }
.nav__list { display: flex; align-items: stretch; gap: 2.083vw; height: 100%; }
.nav__item { position: relative; display: flex; align-items: center; height: 100%; }
.nav__item > a { position: relative; display: flex; align-items: center; height: 100%; font-size: 1vw; font-weight: 500; white-space: nowrap; overflow: hidden; }
/* overflow hidden (12 Nov, Cleven's stray lines): the bar slides out to the right on mouse leave; without the clip it stayed
   visible after the word and in the gaps, as on the base design the bar must vanish inside the link's own box */
.nav__item .bar { position: absolute; left: 0; right: 0; bottom: 1.667vw; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; }
.nav__item > a[aria-current="page"] .bar { transform: scaleX(1); }
.nav__chev { display: flex; align-items: center; justify-content: center; width: 1.2vw; min-width: 24px; height: 100%; margin-left: .25vw; }
.nav__chev svg { width: .833vw; height: .833vw; min-width: 10px; min-height: 10px; transition: transform .4s var(--p2-out); }
.nav__chev[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__next, .nav__extra, .sheet { display: none; }
.burger { display: none; }
.head__right { position: relative; z-index: 2; display: flex; align-items: stretch; }
.lang { display: flex; align-items: center; min-width: 5.833vw; padding: 0 2.5vw; font-size: .75vw; font-weight: 500; text-transform: uppercase; border-left: 1px solid var(--line-hair); transition: background-color .6s var(--p2-out); }
.head__cta { display: flex; align-items: center; justify-content: center; min-width: 13vw; padding: 0 .833vw; font-size: .917vw; font-weight: 500; background: var(--accent-deep); color: #fff; transition: background-color .8s var(--expo-out); }
.head__cta:hover { background: var(--navy); }

/* mega menu (DETAILS 2): 100vw panel under the header, the page dimmed, five cards */
.mega { position: absolute; left: 0; top: 100%; width: 100vw; display: flex; gap: .375vw; padding: .375vw; background: var(--ivory); border-top: 1px solid var(--line-hair);
  opacity: .0001; visibility: hidden; pointer-events: none; z-index: 1; }
.mega.is-open { visibility: visible; pointer-events: auto; }
.mega__card { position: relative; flex: 1 1 0; height: 19.167vw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .833vw;
  background: var(--stone); border-radius: var(--radius); overflow: hidden; opacity: 1; }
.mega__card::before { content: ""; position: absolute; inset: 0; background: var(--tex) center / cover no-repeat; opacity: .0001; transform: scale(1.1);
  transition: opacity .6s var(--p2-out), transform 4s var(--expo-out); }
.mega__card:hover::before, .mega__card:focus-visible::before { opacity: 1; transform: scale(1); }
.mega__mark { position: relative; width: 6.667vw; color: var(--navy); }
.mega__mark svg { width: 100%; height: auto; }
.mega__name { position: relative; font-size: 1.25vw; line-height: 1.25; text-align: center; }
.mega-mask { position: fixed; left: 0; top: var(--head-h); width: 100vw; height: 100vh; background: var(--navy-deep); opacity: .0001; visibility: hidden; pointer-events: none; z-index: 1900; }
.mega-mask.is-open { visibility: visible; pointer-events: auto; }


@media (max-width: 1100px) {
  .head { position: fixed; left: 0; right: 0; top: 0; border-bottom: 0; }
  /* no transparent override once the page is scrolled: the header comes back over body text on a scroll up, and a see-through bar let
     headings run under the logo, the info button and the menu button (seen at 390 over the team quote and a news title); the bar takes
     the same ivory as the desktop one (html.scroll .head above) */
  .head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-hair); transition: opacity .4s; }
  .head::before { content: ""; position: absolute; right: var(--head-h); top: 0; bottom: 0; width: 1px; background: var(--line-hair); z-index: 3; transition: opacity .4s; }
  .head:has(.nav.is-open)::after, .head:has(.nav.is-open)::before { opacity: 0; }
  .brand { margin-left: var(--pad-x); width: min(40vw, 160px); }
  .burger { position: absolute; right: 0; top: 0; z-index: 4; display: block; width: var(--head-h); height: var(--head-h); }
  .burger__lines { position: absolute; left: 50%; top: 50%; width: min(5.6vw, 22px); height: min(2.8vw, 11px); margin: calc(min(2.8vw, 11px) / -2) 0 0 calc(min(5.6vw, 22px) / -2); display: block; }
  .burger__lines span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--navy); transition: transform .8s var(--expo-out); }
  .burger__lines span:nth-child(1) { top: 0; }
  .burger__lines span:nth-child(2) { bottom: 0; }
  .burger[aria-expanded="true"] .burger__lines span:nth-child(1) { transform: translateY(calc(min(2.8vw, 11px) / 2 - 1px)) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__lines span:nth-child(2) { transform: translateY(calc(min(2.8vw, 11px) / -2 + 1px)) rotate(-45deg); }
  .head__right, .mega, .mega-mask { display: none; }
  .nav { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100dvh; transform: translateY(-120%); visibility: hidden; flex-direction: column;
    background: var(--ivory); padding: calc(var(--head-h) + min(12vw, 47px)) var(--pad-x) var(--pad-x); overflow-y: auto; z-index: 3;
    transition: transform .8s var(--expo-out), visibility 0s linear .8s; }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: min(5vw, 19.5px); height: auto; }
  .nav__item { height: auto; opacity: .0001; transform: translateY(20px); transition: opacity .4s var(--p2-out), transform .4s var(--p2-out); }
  .nav.is-open .nav__item { opacity: 1; transform: none; }
  .nav.is-open .nav__item:nth-child(1) { transition-delay: .15s; } .nav.is-open .nav__item:nth-child(2) { transition-delay: .2s; }
  .nav.is-open .nav__item:nth-child(3) { transition-delay: .25s; } .nav.is-open .nav__item:nth-child(4) { transition-delay: .3s; }
  .nav.is-open .nav__item:nth-child(5) { transition-delay: .35s; } .nav.is-open .nav__item:nth-child(6) { transition-delay: .4s; }
  .nav.is-open .nav__item:nth-child(7) { transition-delay: .45s; }
  .nav__item > a { font-size: min(8.889vw, 35.28px); line-height: .8; padding: min(2vw, 8px) 0; height: auto; }
  .nav__item .bar, .nav__chev { display: none; }
  .nav__next { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: min(3vw, 12px); }
  .nav__next svg { width: 16px; height: 16px; transform: rotate(-90deg); }
  .nav__extra { display: flex; flex-direction: column; gap: min(5vw, 20px); margin-top: auto; padding-top: min(10vw, 40px); opacity: .0001; transition: opacity .4s var(--p2-out) .45s; }
  .nav.is-open .nav__extra { opacity: 1; }
  .nav__cta { display: flex; align-items: center; justify-content: center; height: min(11.111vw, 44.1px); background: var(--accent-deep); color: #fff; font-size: min(3.889vw, 15.435px); font-weight: 500; }
  .nav__extra .lang { border: 0; padding: 0; min-width: 0; font-size: min(3.056vw, 12.13px); }
  .sheet { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--stone); padding: calc(var(--head-h) + min(8vw, 31px)) var(--pad-x) var(--pad-x);
    transform: translateX(100%); transition: transform 1s var(--expo-in-out); overflow-y: auto; z-index: 2; }
  .sheet:not([hidden]) { display: block; }
  .sheet.is-open { transform: none; }
  .sheet__back { display: flex; align-items: center; min-height: 44px; font-size: min(3.889vw, 15.435px); font-weight: 500; margin-bottom: min(5vw, 20px); }
  .sheet__cards { display: grid; grid-template-columns: repeat(2, minmax(0, min(41.111vw, 163px))); gap: min(5vw, 19.8px) min(7.5vw, 29.8px); }
  .sheet__card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: min(2.5vw, 10px); aspect-ratio: 1 / 1.1; background: var(--ivory); border-radius: var(--radius); padding: 8px; }
  .sheet__card .mega__mark { width: 40%; }
  .sheet__card .mega__name { font-size: min(3.889vw, 15.435px); }
}

/* ---------------------------------------------------------------- statement (DETAILS 4) */
.statement { padding: 10vw 0 13.333vw; position: relative; }
.statement__box { width: 60vw; margin: 0 auto; text-align: center; }
.statement .label { margin-bottom: 2.5vw; }
@media (max-width: 1100px) {
  .statement { padding: min(20vw, 79px) 0 min(30vw, 119px); }
  .statement__box { width: min(75vw, 297.675px); }
  .statement .label { margin-bottom: min(10vw, 39.69px); }
}

/* ---------------------------------------------------------------- stat grid (DETAILS 6, MOTION 6) */
.stats { padding: 10vw 0 3.333vw; }
.stats__grid { display: grid; grid-template-columns: 20vw 1fr; align-items: start; }
.stats__text { position: sticky; top: 11.667vw; display: flex; flex-direction: column; gap: 1.667vw; align-items: flex-start; }
.stats__cols { display: flex; justify-content: center; }
.stats__col { display: flex; flex-direction: column; }
.stats__col--1 { margin-top: 10vw; margin-left: -1px; }
.cell { width: 20vw; height: 25vw; padding: 1.667vw; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--hair); border-right: 1px solid var(--hair); }
.cell + .cell { border-top: 1px solid var(--hair); }
.cell:last-child { border-bottom: 1px solid var(--hair); }
.cell:first-child { border-top: 1px solid var(--hair); }
.cell__num { color: var(--navy); }
.cell__cap { width: 80%; }
@media (max-width: 1100px) {
  .stats { padding: min(20vw, 79px) 0 min(8vw, 31px); }
  .stats__grid { grid-template-columns: 1fr; gap: min(10vw, 39px); }
  .stats__text { position: static; gap: min(5vw, 19px); }
  .stats__cols { display: grid; grid-template-columns: 1fr 1fr; }
  .stats__col--1 { margin-top: 0; }
  .cell { width: 100%; height: min(60vw, 238px); padding: min(5vw, 19.8px); }
  .cell__cap { width: 100%; }
}

/* ---------------------------------------------------------------- arc ring (DETAILS 8, MOTION 8) */
.arc { position: relative; width: 100vw; height: 39.583vw; padding-top: 12.5vw; overflow: hidden; }
.circle { position: relative; width: var(--cw); height: var(--cw); margin: 0 auto; will-change: transform; }
.circle-item { position: absolute; left: 50%; top: 50%; width: var(--iw); height: var(--iw); margin: calc(var(--iw) / -2) 0 0 calc(var(--iw) / -2);
  transform: rotate(var(--a)) translate(calc(var(--cw) / 2 + var(--iw) / 2)) rotate(96deg); }
.circle-item .image { width: 100%; height: 100%; overflow: hidden; background: var(--stone); }
.circle-item .image img { width: 100%; height: 100%; object-fit: cover; }
.circle-item .name { position: absolute; left: 0; right: 0; top: 100%; margin-top: 1.667vw; white-space: nowrap; text-align: center; color: var(--quiet); font-weight: 500; }
.arc__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 22vw; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, var(--ivory) 14%, rgba(243, 245, 248, 0) 100%); }
.arc__text { position: absolute; left: 50%; top: 28vw; transform: translateX(-50%); width: 35vw; text-align: center; z-index: 3; }
@media (max-width: 1100px) {
  .arc { height: min(118vw, 468px); padding-top: min(36vw, 143px); }
  .arc__fade { height: 38vw; }
  .arc__text { top: auto; bottom: min(5vw, 20px); width: 70vw; }
  .circle-item .name { margin-top: min(4vw, 16px); }
}

/* ---------------------------------------------------------------- world map (DETAILS 8) */
.worldmap-wrap { position: relative; width: 100vw; overflow: hidden; }
.worldmap { position: relative; width: 100vw; aspect-ratio: 1710 / 750; }
.worldmap__dots { position: absolute; inset: 0; background: rgba(11, 35, 64, .34);
  -webkit-mask: url("/assets/img/map.svg") center / 100% 100% no-repeat; mask: url("/assets/img/map.svg") center / 100% 100% no-repeat; }
.worldmap__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route { fill: none; stroke: var(--navy); stroke-width: 3.2; stroke-linecap: round; }
.location { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.location__btn { position: absolute; left: 0; top: 0; width: max(2.5vw, 24px); height: max(2.5vw, 24px); margin: calc(max(2.5vw, 24px) / -2) 0 0 calc(max(2.5vw, 24px) / -2); border-radius: 50%; z-index: 2; }
.location__dot { position: absolute; left: 0; top: 0; width: .833vw; height: .833vw; min-width: 6px; min-height: 6px; margin: calc(max(.833vw, 6px) / -2) 0 0 calc(max(.833vw, 6px) / -2); border-radius: 50%; background: var(--accent); transition: opacity .6s var(--p2-out); pointer-events: none; }
.location.is-off .location__dot, .location.is-off .location__pulse { opacity: .0001 !important; animation: none !important; }
.location__pulse { position: absolute; left: 0; top: 0; width: 2.5vw; height: 2.5vw; min-width: 16px; min-height: 16px; margin: calc(max(2.5vw, 16px) / -2) 0 0 calc(max(2.5vw, 16px) / -2); border-radius: 50%; background: var(--accent); opacity: .0001; transform: scale(0); pointer-events: none; }
.location .location__pulse { animation: pulse 2s infinite; }
.location--sz .location__dot { background: transparent; box-shadow: 0 0 0 1.5px var(--accent); width: 1.3vw; height: 1.3vw; min-width: 10px; min-height: 10px; margin: calc(max(1.3vw, 10px) / -2) 0 0 calc(max(1.3vw, 10px) / -2); }
.location.is-hover .location__pulse { animation-duration: 0s; }
@keyframes pulse { from { transform: scale(0); opacity: 1; } to { transform: scale(1); opacity: .0001; } }
.location__tip { position: absolute; bottom: 2vw; left: 50%; width: 13.333vw; min-width: 150px; transform: translate(-50%, 10%); padding: 1.667vw; background: var(--ivory); border: 1px solid var(--hair); border-radius: var(--radius);
  box-shadow: 0 2.208vw .833vw -1.667vw rgba(11, 35, 64, .06); opacity: .0001; visibility: hidden; text-align: left; z-index: 3;
  transition: opacity .6s var(--p2-out), transform .6s var(--p2-out), visibility 0s linear .6s; pointer-events: none; }
.location--left .location__tip { left: 0; transform: translate(-12%, 10%); }
.location--right .location__tip { left: auto; right: 0; transform: translate(12%, 10%); }
.location.is-hover .location__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.location--left.is-hover .location__tip { transform: translate(-12%, 0); }
.location--right.is-hover .location__tip { transform: translate(12%, 0); }
.location__tip .text + .text { margin-top: .5vw; color: var(--quiet); }
.map__cfaw { text-align: center; padding: 1.667vw var(--pad-x) 10vw; color: var(--quiet); }

/* the offices map (12 Nov, Cleven: the base look). The land and the country tints are pre-rendered
   images (tools/worldmap_img.py); the route is a small SVG; nothing animates until the map is on screen (.is-live). */
.amap { position: relative; width: min(84vw, 1320px); margin: 3vw auto 0; }
.amap__stage { position: relative; width: 100%; aspect-ratio: var(--amap-ar, 1.45); }
.amap__land { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.amap__hl { position: absolute; display: block; opacity: 0; pointer-events: none; transition: opacity .6s var(--expo-out); }
.amap__hl.is-on { opacity: 1; }
.amap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.amap-arc { fill: none; stroke: var(--navy); stroke-opacity: .42; stroke-width: 1.4; stroke-dasharray: 5 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.amap.is-live .amap-arc { animation: amap-march 1.6s linear infinite; }
@keyframes amap-march { to { stroke-dashoffset: -24; } }
.amap-run { fill: var(--accent); }
.amap-run--b { fill: var(--navy); }
.amap__site { position: absolute; width: 0; height: 0; z-index: 2; }
.amap__dot { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.amap__dot::before, .amap__dot::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); }
.amap__dot::after { width: 14px; height: 14px; }
.amap__dot::before { width: 14px; height: 14px; opacity: .28; }
.amap.is-live .amap__dot::before { animation: amap-pulse 2.6s var(--p2-out) infinite; animation-delay: var(--d, 0s); }
@keyframes amap-pulse { 0% { width: 14px; height: 14px; opacity: .38; } 70%, 100% { width: 46px; height: 46px; opacity: 0; } }
.amap__site.is-open .amap__dot::before { animation: none; width: 40px; height: 40px; opacity: .22; }
.amap__dot:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.amap__name { position: absolute; top: 0; transform: translateY(-50%); left: 20px; white-space: nowrap; font-size: max(.833vw, 12px); font-weight: 500; line-height: 1.2; color: var(--navy); pointer-events: none; }
.amap__site--l .amap__name { left: auto; right: 20px; }
.amap__card { position: absolute; top: 0; right: 30px; transform: translate(0, -50%) translateY(8px); width: max(17vw, 220px); padding: 1.5vw 1.667vw;
  background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--p2-out), transform .35s var(--p2-out), visibility 0s .35s; z-index: 3; }
.amap__site--cr .amap__card { right: auto; left: 30px; }
.amap__site--t .amap__name { left: 0; top: -22px; transform: translate(-50%, -50%); }
.amap__panel { display: none; }
.amap__site.is-open .amap__card { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.amap__site.is-open .amap__name { opacity: 0; }
.amap__cc { margin: 0; font-size: max(1.5vw, 18px); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.amap__ca { margin: .5vw 0 0; font-size: max(.917vw, 13px); line-height: 1.4; color: var(--navy); }
.amap__ca + .amap__cc { margin-top: 1.2vw; }
@media (max-width: 1100px) {
  .amap { width: calc(100% - var(--pad-x) * 2); margin-top: min(8vw, 32px); }
  .amap__name { font-size: 11px; }
  .amap__site--r .amap__name { left: 14px; } .amap__site--l .amap__name { right: 14px; }
  .amap__card { display: none; }
  .amap__panel { display: block; margin: 14px 0 0; padding: 16px 18px; background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); }
  .amap__panel:empty { display: none; }
  .amap__ca { margin-top: 6px; } .amap__ca + .amap__cc { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .amap.is-live .amap-arc, .amap.is-live .amap__dot::before { animation: none; }
  .amap-run { display: none; }
}
@media (max-width: 1100px) {
  .worldmap { width: 170vw; margin-left: -70vw; }
  .worldmap__dots { background: rgba(11, 35, 64, .5); -webkit-mask-image: url("/assets/img/map-sm.svg"); mask-image: url("/assets/img/map-sm.svg"); }
  .location__tip { width: min(50vw, 195px); padding: min(4vw, 16px); bottom: 24px; }
  .location__tip .text + .text { margin-top: 4px; }
  .map__cfaw { padding: min(5vw, 20px) var(--pad-x) min(25vw, 99px); }
}

/* ---------------------------------------------------------------- team cards (DETAILS 9, MOTION 9) */
.team { padding-bottom: 8vw; }
.team__viewport { position: relative; overflow: hidden; padding: 0 0 1px; }
.team__track { display: flex; gap: .9vw; padding: 0 1.667vw; width: max-content; will-change: transform; }
.card-team { position: relative; flex: none; display: block; width: 23vw; height: 38.917vw; overflow: hidden; background: linear-gradient(-90deg, #e3e8ef, #e8ecf2); }
.card-team::before { content: ""; position: absolute; inset: 0; background: linear-gradient(-90deg, #d6dce6, #eef1f6); opacity: 0; transition: opacity .4s var(--p2-out); }
.card-team:hover::before, .card-team:focus-visible::before { opacity: 1; }
.card-team__img { position: absolute; left: 0; bottom: 0; width: 100%; height: 25vw; object-fit: contain; object-position: center bottom; filter: grayscale(1); }
.card-team__cap { position: absolute; left: 0; right: 0; top: 0; padding: 2.5vw; text-align: center; display: flex; flex-direction: column; gap: .4vw; opacity: .0001; transition: opacity 1.2s var(--expo-out); }
.card-team__cap .name { position: relative; top: 10%; font-size: 1.25vw; font-weight: 500; line-height: 1.25; transition: top 1.2s var(--expo-out); }
.card-team__cap .role { font-size: 1vw; color: var(--quiet); line-height: 1.2; }
.card-team:hover .card-team__cap, .card-team:focus-visible .card-team__cap { opacity: 1; }
.card-team:hover .card-team__cap .name, .card-team:focus-visible .card-team__cap .name { top: 0; }
.team__link { padding: 3vw var(--pad-x) 0; text-align: center; }
@media (max-width: 1100px) {
  .team { padding-bottom: min(20vw, 79px); }
  .team__track { gap: min(3.4vw, 13px); padding: 0 min(5vw, 19.8px); }
  .card-team { width: min(77.5vw, 307.6px); height: min(111.111vw, 441px); }
  .card-team__img { height: min(80vw, 317.5px); }
  .card-team__cap { opacity: 1; padding: min(12.5vw, 49px) min(4.722vw, 18.74px); }
  .card-team__cap .name { top: 0; font-size: min(4.722vw, 18.74px); }
  .card-team__cap .role { font-size: min(3.889vw, 15.435px); }
  .team__link { padding-top: min(8vw, 31px); }
}

/* ---------------------------------------------------------------- deal tombstones */
.deals { padding: 0 0 8vw; }
.deals__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .833vw; }
.deal { display: flex; flex-direction: column; justify-content: space-between; min-height: 26vw; padding: 1.667vw; background: var(--stone); border: 1px solid var(--hair); border-radius: var(--radius); }
.deal__kind { color: var(--quiet); min-height: 1.2em; }
.deal__logos { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25vw; flex: 1; padding: 1.667vw 0; }
.deal__logos img { max-width: 84%; max-height: 5.5vw; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.deal__verb { color: var(--quiet); text-align: center; }
.deal__foot { display: flex; flex-direction: column; gap: .3vw; border-top: 1px solid var(--hair); padding-top: 1.25vw; }
.deal__foot .text + .text { color: var(--quiet); }
.deals__link { padding: 3vw 0 0; display: flex; justify-content: center; }
@media (max-width: 1100px) {
  .deals { padding-bottom: min(20vw, 79px); }
  .deals__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: min(3.4vw, 13px); padding: 0 0 6px; margin: 0; scrollbar-width: none; }  /* 12 Nov: no bleed past the screen edge */
  .deal { flex: none; width: min(72vw, 285px); min-height: min(92vw, 365px); padding: min(5vw, 19.8px); scroll-snap-align: start; }
  .deal__logos { gap: min(4vw, 16px); }
  .deal__logos img { max-height: min(15vw, 59px); }
  .deals__link { padding-top: min(8vw, 31px); }
}

/* ---------------------------------------------------------------- quote band */
.quotes { padding: 0 0 8vw; }
.quote { width: 70vw; margin: 0 auto; text-align: center; padding: 3.333vw 0; }
.quote + .quote { margin-top: 5vw; }      /* fix wave 2 (m1): space between the two quotes instead of a hairline */
.quote__who { margin-top: 2.083vw; display: flex; flex-direction: column; gap: .3vw; }
.quote__who .role { color: var(--quiet); }
@media (max-width: 1100px) {
  .quotes { padding-bottom: min(20vw, 79px); }
  .quote { width: calc(100% - min(10vw, 39.69px)); padding: min(8vw, 31px) 0; }
  .quote + .quote { margin-top: min(8vw, 31px); }
  .quote__who { margin-top: min(5vw, 20px); }
}

/* ---------------------------------------------------------------- news text cards */
.news { padding: 0 0 10vw; }
.news__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 2.5vw; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .833vw; }
.card-news { display: flex; flex-direction: column; justify-content: space-between; gap: 5vw; min-height: 16vw; padding: 1.667vw 1.667vw 2.083vw 0; border-bottom: 1px solid var(--hair); transition: opacity .4s var(--p2-out); }
.card-news + .card-news { padding-left: 1.667vw; border-left: 1px solid var(--hair); }
.news__grid:hover .card-news:not(:hover) { opacity: .6; }
.card-news .date { color: var(--quiet); }
@media (max-width: 1100px) {
  .news { padding-bottom: min(25vw, 99px); }
  .news__head { padding-bottom: min(8vw, 31px); }
  .news__grid { grid-template-columns: 1fr; }
  .card-news, .card-news + .card-news { min-height: 0; gap: min(10vw, 39px); padding: min(6vw, 24px) 0; border-left: 0; }
}
/* the home band (m1): tinted cards of one height (the grid stretches them), the token radius, no border; /news/ keeps its own (news.css) */
.news__grid .card-news, .news__grid .card-news + .card-news { background: var(--stone); border: 0; border-radius: var(--radius); padding: 1.667vw; }
@media (max-width: 1100px) {
  .news__grid { gap: min(3.4vw, 13px); }
  .news__grid .card-news, .news__grid .card-news + .card-news { padding: min(5vw, 20px); gap: min(8vw, 31px); }
}

/* ---------------------------------------------------------------- footer (DETAILS 11) */
.foot { background: var(--stone); position: relative; overflow: hidden; }
.foot__top { padding-top: 10vw; }
.foot__top .statement__box { width: 50vw; display: flex; flex-direction: column; align-items: center; gap: 1.667vw; }
.foot__line { color: var(--quiet); max-width: 35vw; }
.foot__marquee { position: relative; height: 13vw; margin-top: 7.5vw; overflow: hidden; }
.carousel { position: absolute; left: 0; top: 0; display: flex; gap: 15vw; will-change: transform; }
.carousel__item { flex: none; width: 10vw; position: relative; }
.carousel__img { width: 10vw; height: 10vw; overflow: hidden; background: var(--hair); }
.carousel__img img { width: 100%; height: 100%; object-fit: cover; }      /* fix wave 2 (Q1): no CSS greyscale, the photos carry their own grade */
.carousel__name { display: block; margin-top: .9vw; font-size: .75vw; font-weight: 500; color: var(--quiet); text-align: center; }
/* the newsletter sign-up (fix wave 2, Q3): their own words, a demo form that sends nothing (site.js binds .contact-form) */
.foot__news { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: end; width: 80vw; margin: 7.5vw auto 0; }
.foot__newsh { margin: 0 0 1vw; }
.foot__newstext { color: var(--quiet); max-width: 32vw; }
.foot__form { display: grid; grid-template-columns: 1fr auto; gap: 1.667vw; align-items: end; }
.foot__field { display: flex; flex-direction: column; gap: .3vw; }
.foot__field label { font-size: max(.917vw, 13px); font-weight: 500; line-height: 1.2; }
.foot__field input { width: 100%; font: inherit; font-size: 1.25vw; line-height: 1.3; color: var(--navy); background: transparent; border: 0; border-bottom: 1px solid var(--quiet); border-radius: 0; padding: .6vw 0; min-height: max(2.917vw, 44px); }
.foot__field input::placeholder { color: var(--quiet); opacity: 1; }
.foot__field input:focus { border-bottom-color: var(--navy); }
.foot__field input[aria-invalid="true"] { border-bottom-color: var(--err); }
.foot__form .field__err { margin: 0; font-size: max(.917vw, 14px); line-height: 1.3; color: var(--err); }
.foot__btn { display: inline-flex; align-items: center; justify-content: center; min-height: max(3.333vw, 48px); padding: 0 2.5vw; border: 0; border-radius: 0; background: var(--navy); color: var(--ivory); font: inherit; font-size: max(.917vw, 14px); font-weight: 500; letter-spacing: -.01em; cursor: pointer; transition: background-color .8s var(--expo-out), opacity .4s; }
.foot__btn:hover { background: rgba(11, 35, 64, .94); }
.foot__btn[disabled] { opacity: .55; cursor: not-allowed; }
.foot__form .form-note { grid-column: 1 / -1; margin: 0; color: var(--quiet); }
.foot__form .form-noscript { grid-column: 1 / -1; margin: 0; }
.foot__offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; width: 96.667vw; margin: 5vw auto 0; }
.foot__city { display: block; font-size: 1vw; font-weight: 500; margin-bottom: .6vw; }
.foot__addr { font-style: normal; font-size: .917vw; line-height: 1.35; color: var(--quiet); }
.foot__addr a { display: inline-block; min-height: 24px; color: var(--navy); }
/* the footer links: five labelled columns on the offices grid (12 Nov, Cleven: no link left alone on a line) */
.foot__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; width: 96.667vw; margin: 5vw auto 0; padding-top: 2.5vw; border-top: 1px solid var(--hair); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: .25vw; }
.foot__h { margin: 0 0 .6vw; font-size: .75vw; font-weight: 500; line-height: 1.2; color: var(--quiet); }
.foot__nav a { display: inline-flex; align-items: center; min-height: 24px; font-size: .917vw; font-weight: 500; line-height: 1.2; transition: opacity .4s var(--p2-out); }
.foot__nav a:hover { opacity: .5; }
.foot__social { display: flex; justify-content: flex-start; gap: .833vw; margin-top: .833vw; }
/* the two squares sit inside the nav now: keep them square and keep their own hover (the link rules above would stretch them) */
.foot__nav .square { width: 2.5vw; height: 2.5vw; min-width: 36px; min-height: 36px; opacity: 1;
  transition: background-color .4s var(--expo-out), border-color .4s var(--expo-out); }
.foot__nav .square:hover { opacity: 1; }
.square { display: flex; align-items: center; justify-content: center; width: 2.5vw; height: 2.5vw; min-width: 36px; min-height: 36px; border: 1px solid var(--hair); transition: background-color .4s var(--expo-out), border-color .4s var(--expo-out); }
.square svg { width: .833vw; height: .833vw; min-width: 14px; min-height: 14px; }
.square:hover { background: rgba(11, 35, 64, .04); border-color: transparent; }
.foot__rule { border: 0; border-top: 1px solid var(--hair); margin: 7.5vw 0 0; }
.foot__bar { display: flex; justify-content: space-between; align-items: center; padding: 0 5vw; min-height: 5vw; }
.foot__legal { display: flex; gap: 3.333vw; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 24px; font-size: .75vw; font-weight: 500; line-height: 1.2; transition: opacity .4s var(--p2-out); }
.foot__legal a:hover { opacity: .5; }
.foot__copy { color: var(--quiet); }
.foot__credit { margin-left: 1.25vw; }
.foot__credit a { display: inline-flex; align-items: center; min-height: 24px; color: var(--quiet); }
@media (max-width: 1100px) {
  .foot__top { padding-top: min(25vw, 99px); }
  .foot__top .statement__box { width: min(75vw, 297.675px); gap: min(5vw, 19.8px); }
  .foot__line { max-width: none; }
  .foot__marquee { height: min(40vw, 159px); margin-top: min(18vw, 71px); }
  .carousel { gap: min(30vw, 119px); }
  .carousel__item, .carousel__img { width: min(25vw, 99px); }
  .carousel__img { height: min(25vw, 99px); }
  .carousel__name { font-size: min(3.056vw, 12.13px); margin-top: min(2.5vw, 10px); }
  .foot__news { grid-template-columns: 1fr; gap: min(8vw, 31px); width: calc(100% - min(10vw, 39.69px)); margin-top: min(16vw, 63px); }
  .foot__newsh { margin-bottom: min(3vw, 12px); }
  .foot__newstext { max-width: none; }
  .foot__form { grid-template-columns: 1fr; gap: min(5vw, 20px); }
  .foot__field { gap: min(1.5vw, 6px); }
  .foot__field label { font-size: min(3.889vw, 15.435px); }
  .foot__field input { font-size: min(4.444vw, 17.64px); padding: min(2vw, 8px) 0; }
  .foot__btn { justify-self: start; font-size: min(3.889vw, 15.435px); padding: 0 min(8vw, 31px); }
  .foot__offices { grid-template-columns: 1fr; gap: min(6vw, 24px); width: calc(100% - min(10vw, 39.69px)); margin-top: min(16vw, 63px); }
  .foot__city { font-size: min(3.889vw, 15.435px); margin-bottom: 4px; }
  .foot__addr { font-size: min(3.889vw, 15.435px); }
  .foot__nav { grid-template-columns: 1fr 1fr; width: calc(100% - min(10vw, 39.69px)); margin-top: min(12vw, 47px); padding-top: min(8vw, 31px); gap: min(8vw, 31px) min(6vw, 24px); }
  .foot__col { gap: 0; }
  .foot__h { font-size: min(3.056vw, 12.13px); margin-bottom: min(1.5vw, 6px); }
  .foot__nav a { min-height: 44px; font-size: min(3.889vw, 15.435px); }
  .foot__social { gap: min(4vw, 16px); margin-top: min(2vw, 8px); }
  .foot__nav .square { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .foot__rule { margin-top: min(16vw, 63px); }
  .foot__bar { flex-direction: column; align-items: flex-start; gap: 6px; padding: min(5vw, 19.8px) var(--pad-x); }
  .foot__legal { gap: min(8vw, 31px); }
  .foot__legal a { font-size: min(3.056vw, 12.13px); }
  .foot__credit { margin-left: min(3vw, 12px); }
}

/* ---------------------------------------------------------------- custom cursor (DETAILS 13, MOTION 12) */
.cursor { display: none; }
@media (hover: hover) and (min-width: 1024px) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 3000; mix-blend-mode: darken; overflow: hidden; }
  .cursor__dot { position: absolute; left: 0; top: 0; width: .417vw; height: .417vw; margin: -.208vw 0 0 -.208vw; border-radius: .417vw; background: var(--accent); opacity: 0; }
  .cursor__disc { position: absolute; left: 0; top: 0; width: 5.375vw; height: 5.375vw; margin: -2.688vw 0 0 -2.688vw; border-radius: 50%; background: var(--accent); transform: scale(0); display: flex; align-items: center; justify-content: center; }
  .cursor__disc span { font-size: .75vw; font-weight: 700; text-transform: uppercase; color: var(--ivory); opacity: 0; }
}

/* ---------------------------------------------------------------- Demo notes (the honest-samples device, restyled) */
.smp { display: inline-block; margin-left: 2px; font-size: .9em; font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: none; vertical-align: .22em; }
.demo { position: fixed; left: 12px; bottom: 12px; z-index: 2500; }
.demo__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--ivory); color: var(--navy);
  box-shadow: var(--shadow-chip); font: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; cursor: pointer; transition: background .18s ease; }
.demo__btn[hidden], .nav__demo[hidden] { display: none; }
.demo__btn:hover, .demo__btn[aria-expanded="true"] { background: var(--stone); }
.demo__btn svg { width: 18px; height: 18px; flex: none; }
.demo__btn:focus-visible, .nav__demo:focus-visible, .demo__x:focus-visible { border-radius: var(--r-pill); }
.demo.is-compact .demo__btn { gap: 0; padding: 0; width: 44px; justify-content: center; }
.demo.is-compact .demo__btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.demo.is-compact .demo__btn:hover, .demo.is-compact .demo__btn:focus-visible, .demo.is-compact .demo__btn[aria-expanded="true"] { gap: 8px; width: auto; padding: 0 16px 0 12px; }
.demo.is-compact .demo__btn:hover > span, .demo.is-compact .demo__btn:focus-visible > span, .demo.is-compact .demo__btn[aria-expanded="true"] > span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.demo__panel { position: absolute; left: 0; bottom: calc(100% + 10px); width: min(380px, calc(100vw - 24px)); max-height: min(72svh, 560px); overflow-y: auto; overscroll-behavior: contain;
  padding: 20px 22px 8px; background: var(--ivory); color: var(--navy); border: 1px solid var(--hair); border-radius: var(--r-card); box-shadow: var(--shadow-float); }
.demo__panel[hidden] { display: none; }
.demo__panel:focus, .demo__panel:focus-visible { outline: none; box-shadow: var(--shadow-float); }
.demo__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo__title { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.2; }
.demo__x { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin: -6px -8px -6px 0; padding: 0; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--navy); cursor: pointer; }
.demo__x:hover { background: var(--stone); }
.demo__x svg { width: 14px; height: 14px; }
.demo__lead { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--quiet); }
.demo__list { list-style: none; margin: 14px 0 0; padding: 0; }
.demo__list li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--hair); }
.demo__k { font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--quiet); }
.demo__v { font-size: 16px; line-height: 1.35; font-weight: 500; color: var(--navy); }
.demo__n { font-size: 14px; line-height: 1.45; color: var(--quiet); }
.demo-noscript { margin: 0 12px 12px; text-align: center; font-size: 14px; color: var(--quiet); }
.nav__demo { display: none; }
@media (max-width: 1100px) {
  .nav__demo { position: absolute; right: var(--head-h); top: 0; z-index: 4; display: inline-grid; place-items: center; width: 44px; height: var(--head-h); padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
  .nav__demo[hidden] { display: none; }
  .nav__demo svg { width: 22px; height: 22px; }
  .demo { left: 12px; right: 12px; top: var(--demo-top); bottom: auto; height: 0; }
  .demo .demo__btn { display: none; }
  .demo .demo__panel { top: 0; bottom: auto; width: min(380px, 100%); max-height: calc(100svh - var(--demo-top) - 12px); }
}
