/* Shared blocks of the design review, pass 3 (20 November 2026). One design for each block that the site used to
   draw in several ways: the closing band (generic and named), the four steps, the offices, and the type scale.
   Every rule is scoped to .v2, as in v2.css, so a block can sit on a v1.0 page. */

/* ---------- type scale (A4, A5): one size for each heading level ----------
   Page hero h1: --ws-h1. Article, news and report h1: --ws-h1-article. Section h2: --ws-h2. Block h3: --ws-h3.
   The homepage hero keeps its own display size. */
:root {
  --ws-h1: clamp(40px, 5.4vw, 78px);
  --ws-h1-article: clamp(32px, 3.6vw, 52px);
  --ws-h2: clamp(30px, 3.6vw, 54px);
  --ws-h3: clamp(20px, 1.7vw, 24px);
}

/* the tokens applied to the headings that used their own sizes (measured on 20 November 2026: 12 h1 sizes,
   20 h2 sizes). !important where a page stylesheet sets the size with an id or an !important rule. */
.v2 .v2-h1 { font-size:var(--ws-h1); }
.v2 .v2-h { font-size:var(--ws-h2); }
.pp-page .pp-h1 { font-size:var(--ws-h1) !important; }
.pp-page .pp-h2, .pp-page .pp-cta .pp-h2, .pp-page .pp-stage .pp-h2 { font-size:var(--ws-h2) !important; }
.pp-page .pp-cs-text .pp-h2 { font-size:var(--ws-h3) !important; }
.tx-name, .sx-name { font-size:var(--ws-h1) !important; }
h2.sec-title, h2.h-lg { font-size:var(--ws-h2) !important; letter-spacing:-.03em; }
@media (max-width:760px) { .pp-page .pp-b1 .pp-h2 { font-size:var(--ws-h2) !important; } }

/* ---------- accent phrase ---------- */
.v2 .ws-em { color:var(--t-k); background-image:var(--t-grad); background-repeat:no-repeat; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ---------- generic closing band ---------- */
.v2.ws-close-wrap { display:block; }
.v2 .ws-close .v2-head { margin:0 auto; text-align:center; }
.v2 .ws-close .v2-h { margin:0 auto; font-size:var(--ws-h2); }
.v2 .ws-close .v2-actions { display:flex; justify-content:center; margin-top:clamp(24px, 3.4vh, 36px); }

/* ---------- named contact card ---------- */
.v2 .ws-lead-close .v2-h { font-size:var(--ws-h2); }
.v2 .ws-lead { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:14px 18px; padding:24px; border-radius:12px; background:var(--t-card); border:1px solid var(--t-cb); }
.v2 .ws-lead img { width:64px; height:64px; border-radius:50%; object-fit:cover; }
.v2 .ws-lead b { display:block; font-size:17px; font-weight:650; color:var(--t-h); }
.v2 .ws-lead span { display:block; margin-top:2px; font-size:14.5px; color:var(--t-b); }
.v2 .ws-lead .v2-btn { grid-column:1 / -1; justify-self:start; }

/* ---------- the four steps (the Solutions design, on Solutions, Technology and XShield) ---------- */
.v2 .ws-steps { --ws-gap:clamp(28px, 3.4vw, 52px); margin-top:clamp(30px, 4.5vh, 48px); }
.v2 .ws-steps .cx-fl-row { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:0 var(--ws-gap); }
.v2 .ws-steps .cx-fl-step { position:relative; padding-top:22px; border-top:2px solid var(--t-h); }
.v2 .ws-steps .cx-fl-step::after { content:""; position:absolute; top:-7px; right:calc(var(--ws-gap) * -1 + 6px); width:calc(var(--ws-gap) - 12px); height:12px;
  background:linear-gradient(var(--t-h), var(--t-h)) 0 50% / calc(100% - 8px) 2px no-repeat, conic-gradient(from 240deg at 100% 50%, var(--t-h) 60deg, transparent 0) 100% 50% / 10px 12px no-repeat; }
.v2 .ws-steps .cx-fl-step:last-child::after { content:none; }
.v2 .ws-steps .cx-n { display:block; font-size:15px; line-height:1; font-weight:700; letter-spacing:-.02em; color:var(--t-k); font-variant-numeric:tabular-nums; }
.v2 .ws-steps .cx-md-name { margin:6px 0 0; font-size:clamp(24px, 2.2vw, 32px); line-height:1.08; letter-spacing:-.028em; font-weight:700; color:var(--t-h); }
.v2 .ws-steps .cx-md-sub { margin:8px 0 0; font-size:17px; line-height:1.35; font-weight:600; color:var(--t-link); }
.v2 .ws-steps .v2-p { margin-top:10px; font-size:15.5px; }
.v2 .ws-steps .cx-fl-uses { margin:16px 0 0; padding-top:12px; border-top:1px solid var(--t-r); font-size:14.5px; line-height:1.5; color:var(--t-b); }
.v2 .ws-steps .cx-fl-uses b { display:block; margin-bottom:4px; font-size:13.5px; font-weight:600; color:var(--t-b); }
.v2 .ws-steps .cx-fl-uses a { color:var(--t-link); }
.v2 .ws-steps .cx-fl-uses a:hover, .v2 .ws-steps .cx-fl-uses a:focus-visible { text-decoration:underline; text-underline-offset:4px; }
.v2 .ws-steps .cx-fl-back { position:relative; margin:clamp(26px, 3.6vh, 40px) 12.5% 0; height:44px; border:2px solid var(--t-h); border-top:0; border-radius:0 0 14px 14px; }
.v2 .ws-steps .cx-fl-back::before { content:""; position:absolute; left:-7px; top:-10px; width:12px; height:10px; background:var(--t-h); clip-path:polygon(50% 0, 100% 100%, 0 100%); }
.v2 .ws-steps .cx-fl-back span { position:absolute; left:50%; bottom:-.72em; transform:translateX(-50%); padding:0 16px; background:var(--ws-steps-bg, #FDFDFD); white-space:nowrap;
  font-size:clamp(16px, 1.3vw, 18.5px); line-height:1.3; font-weight:600; color:var(--t-h); }
.v2 .v2-ice .ws-steps { --ws-steps-bg:#E9F5FA; }
.v2 .v2-gray .ws-steps { --ws-steps-bg:#F2F5F7; }
@media (max-width:900px) {
  .v2 .ws-steps .cx-fl-row { grid-template-columns:1fr; gap:0; }
  .v2 .ws-steps .cx-fl-step { padding:20px 0 34px; }
  .v2 .ws-steps .cx-fl-step::after { top:auto; right:auto; left:8px; bottom:6px; width:12px; height:22px;
    background:linear-gradient(var(--t-h), var(--t-h)) 50% 0 / 2px calc(100% - 8px) no-repeat, conic-gradient(from -30deg at 50% 100%, var(--t-h) 60deg, transparent 0) 50% 100% / 12px 10px no-repeat; }
  .v2 .ws-steps .cx-fl-step:last-child::after { content:none; }
  .v2 .ws-steps .cx-fl-back { margin:0 0 0 8px; height:auto; border:0; }
  .v2 .ws-steps .cx-fl-back::before { content:none; }
  .v2 .ws-steps .cx-fl-back span { position:static; transform:none; padding:0; white-space:normal; background:none; }
}

/* ---------- offices: one card from contacts.yaml, on Home (over the map) and on Contact ----------
   The thumbnail card of the homepage (19 November 2026). Not scoped to .v2: the homepage band is a v1.0 section. */
.ws-offices { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; margin-top:clamp(24px, 3.4vh, 36px); }
.ws-office { display:grid; grid-template-columns:76px minmax(0, 1fr); gap:16px; align-items:center; padding:16px; border:1px solid #DCE5EA; border-radius:12px; background:#ffffff; box-shadow:0 10px 30px rgba(2,24,37,.08);
  font-family:"Inter", -apple-system, BlinkMacSystemFont, sans-serif; }
.ws-office img { display:block; width:76px; height:76px; border-radius:10px; object-fit:cover; }
.ws-office .ws-office-bd { min-width:0; }
.ws-office b { display:block; font-size:18px; line-height:1.2; font-weight:650; color:#0E2433; }
.ws-office p { margin:5px 0 0; font-size:14px; line-height:1.4; color:#4C6372; }
.ws-office a { display:inline-block; margin-top:5px; font-size:14px; color:#216393; text-decoration:none; }
.ws-office a:hover, .ws-office a:focus-visible { text-decoration:underline; text-underline-offset:3px; }
@media (max-width:1000px) { .ws-offices { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:760px) { .ws-offices { grid-template-columns:1fr; gap:10px; } }

/* the four steps inside a product tab of the Technology page: the tab sits under the navy bar, so it inherits the
   tokens of a dark band; the tab body is light, so the steps take the light tokens */
.v2 .tx-body .ws-steps { --t-h:#0E2433; --t-b:#4C6372; --t-m:#7C8E9A; --t-k:#216393; --t-r:#DCE5EA; --t-link:#216393; --ws-steps-bg:#ffffff; }
.v2 .tx-body .tx-alt .ws-steps { --ws-steps-bg:#F7FAFB; }

/* ---------- rail buttons (Insights news row): previous and next, one card at a time (v2.js, [data-v2-rail]) ---------- */
.ws-rail-nav { display:flex; gap:10px; align-self:end; }
.ws-rail-btn { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:1px solid #DCE5EA; border-radius:7px;
  background:#ffffff; color:#0E2433; font:600 18px/1 "Inter", sans-serif; cursor:pointer; transition:border-color .2s, color .2s; }
.ws-rail-btn:hover, .ws-rail-btn:focus-visible { border-color:#216393; color:#216393; }
.ws-rail-btn:focus-visible { outline:2px solid #216393; outline-offset:2px; }
.ws-rail-btn:disabled { opacity:.35; cursor:default; }

/* ---------- capabilities on Solutions (20 November 2026): one ruled row for each family of techniques ---------- */
.v2 .cap-list { list-style:none; margin:clamp(28px, 4vh, 44px) 0 0; padding:0; border-top:2px solid var(--t-h); }
.v2 .cap-row { display:grid; grid-template-columns:minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, .9fr); gap:clamp(20px, 3vw, 48px);
  padding:clamp(22px, 3.2vh, 32px) 0; border-bottom:1px solid var(--t-r); scroll-margin-top:110px; }
.v2 .cap-name { margin:0; font-size:var(--ws-h3); line-height:1.2; letter-spacing:-.02em; font-weight:700; color:var(--t-h); }
.v2 .cap-line { margin:8px 0 0; font-size:16px; line-height:1.55; color:var(--t-b); }
.v2 .cap-proof { margin:10px 0 0; font-size:15px; line-height:1.5; font-weight:600; color:var(--t-k); }
.v2 .cap-b { margin:0; display:grid; grid-template-columns:auto 1fr; gap:8px 16px; font-size:15px; line-height:1.5; }
.v2 .cap-b dt { font-weight:600; color:var(--t-h); }
.v2 .cap-b dd { margin:0; color:var(--t-b); }
.v2 .cap-k { margin:0 0 6px; font-size:15px; font-weight:600; color:var(--t-h); }
.v2 .cap-c ul { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.v2 .cap-c a { font-size:15px; line-height:1.4; color:var(--t-link); }
.v2 .cap-c a:hover, .v2 .cap-c a:focus-visible { text-decoration:underline; text-underline-offset:4px; }
@media (max-width:900px) { .v2 .cap-row { grid-template-columns:1fr; gap:14px; } }
