/* ============================================================
   WEBLYSOFT PUBLIC DESIGN SYSTEM — "Blueprint Editorial"
   Scope: body.public-site only (added by main.js on public pages).
   The admin app never loads this file or main.js.
   Brand: navy #184684 · blue #1B5DAA · deep #0B1628
   Type:  Inter Variable (local) — one family, editorial scale
   ============================================================ */

body.public-site {
  /* tokens */
  --ws-ink: #0B1628;          /* deep brand */
  --ws-ink-2: #12233D;
  --ws-navy: #184684;         /* primary brand */
  --ws-blue: #1B5DAA;         /* secondary brand */
  --ws-signal: #3E7FE0;       /* accent: brand blue raised for emphasis */
  --ws-ice: #E3ECF8;          /* brand-tinted alternate surface */
  --ws-paper: #F5F3EF;        /* warm reading surface */
  --ws-card: #FBFAF7;
  --ws-text: #142034;
  --ws-text-2: #3C4A5E;
  --ws-muted: #66738A;
  --ws-line: #D9DEE6;
  --ws-line-dark: rgba(227,236,248,.14);
  --ws-on-dark: #EDF2FA;
  --ws-on-dark-2: rgba(237,242,250,.68);
  --ws-focus: #3E7FE0;
  --ws-ok: #1F7A55;
  --ws-err: #B83A2E;
  --ws-radius: 6px;
  --ws-radius-lg: 14px;
  --ws-wrap: 1320px;
  --ws-gutter: clamp(20px, 4.5vw, 64px);
  --ws-sec: clamp(72px, 9vw, 140px);
  --ws-ease: cubic-bezier(.2,.7,.1,1);
  --ws-header: 72px;

  /* re-point legacy tokens so every older page inherits the new system */
  --font-serif: 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --c-navy: #0B1628;
  --c-navy-mid: #184684;
  --c-navy-2: #1B5DAA;
  --c-navy-light: #3E7FE0;
  --c-off-white: #F5F3EF;
  --c-gray-50: #FBFAF7;
  --c-dark: #142034;
  --c-gray-700: #3C4A5E;
  --c-gray-500: #66738A;
  --c-gray-200: #D9DEE6;
  --header-h: 72px;

  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: "ss01" 1, "cv11" 1;
  font-weight: 400;
  color: var(--ws-text);
  background: var(--ws-paper);
  padding-top: var(--ws-header);
}

/* Unify every legacy heading onto the sans editorial scale */
body.public-site h1, body.public-site h2, body.public-site h3,
body.public-site [class*="-h1"], body.public-site [class*="-h2"], body.public-site [class*="heading"] {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 620;
  letter-spacing: -0.028em;
}
body.public-site h1 em, body.public-site h2 em, body.public-site h3 em { font-style: normal; color: var(--ws-blue); }
body.public-site main p, body.public-site section p { font-weight: 400; }
body.public-site ::selection { background: var(--ws-ice); color: var(--ws-ink); }
body.public-site :focus-visible { outline: 2.5px solid var(--ws-focus); outline-offset: 3px; border-radius: 3px; }

/* Hide legacy chrome if a page still contains it */
body.public-site > .site-header, body.public-site > .nav-overlay, body.public-site > .site-footer { display: none !important; }

/* ---------- skip link ---------- */
.ws-skip {
  position: fixed; left: 16px; top: 12px; z-index: 2000;
  background: var(--ws-ink); color: #fff; padding: 10px 16px; border-radius: var(--ws-radius);
  font-size: 14px; font-weight: 600; transform: translateY(-160%); transition: transform .2s var(--ws-ease);
}
.ws-skip:focus { transform: none; }

/* ---------- header ---------- */
.ws-header {
  position: fixed; inset: 0 0 auto 0; z-index: 950; height: var(--ws-header);
  background: rgba(245,243,239,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.ws-header.is-scrolled { border-color: var(--ws-line); background: rgba(245,243,239,.96); }
.ws-header-in { max-width: calc(var(--ws-wrap) + var(--ws-gutter)*2); margin: 0 auto; padding: 0 var(--ws-gutter); height: 100%; display: flex; align-items: center; gap: 28px; }
.ws-logo img { height: 40px; width: auto; display: block; }
.ws-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.ws-nav-item { position: relative; }
.ws-nav-btn, .ws-nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--ws-radius);
  font: 500 14.5px/1 'Inter', sans-serif; color: var(--ws-text); background: none; border: 0; cursor: pointer;
  transition: background .2s, color .2s;
}
.ws-nav-btn:hover, .ws-nav-link:hover, .ws-nav-item.is-open > .ws-nav-btn { background: var(--ws-ice); color: var(--ws-navy); }
.ws-nav-link[aria-current="page"], .ws-nav-btn.is-current { color: var(--ws-navy); box-shadow: inset 0 -2px 0 var(--ws-navy); border-radius: 0; }
.ws-chev { width: 10px; height: 10px; transition: transform .25s var(--ws-ease); }
.ws-nav-item.is-open .ws-chev { transform: rotate(180deg); }
.ws-drop {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; padding: 10px;
  background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg);
  box-shadow: 0 24px 60px -24px rgba(11,22,40,.35);
  opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .2s, transform .25s var(--ws-ease), visibility 0s .25s;
}
.ws-drop.is-wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ws-nav-item.is-open .ws-drop { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.ws-drop a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--ws-text); transition: background .15s; }
.ws-drop a:hover, .ws-drop a:focus-visible { background: var(--ws-ice); }
.ws-drop b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.ws-drop small { display: block; font-size: 12.5px; color: var(--ws-muted); margin-top: 2px; line-height: 1.4; }
.ws-drop-label { grid-column: 1 / -1; padding: 8px 14px 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-muted); }
.ws-actions { display: flex; align-items: center; gap: 10px; }
.ws-lang { font: 600 12px/1 'Inter', sans-serif; letter-spacing: .08em; padding: 9px 11px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: transparent; color: var(--ws-text-2); cursor: pointer; }
.ws-lang:hover { border-color: var(--ws-navy); color: var(--ws-navy); }
.ws-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: transparent; cursor: pointer; position: relative; }
.ws-burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ws-ink); transition: transform .3s var(--ws-ease), opacity .2s; }
.ws-burger span:nth-child(1) { top: 16px; } .ws-burger span:nth-child(2) { top: 21px; } .ws-burger span:nth-child(3) { top: 26px; }
.ws-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.ws-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ws-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile panel */
.ws-mpanel { position: fixed; inset: var(--ws-header) 0 0 0; z-index: 940; background: var(--ws-paper); overflow-y: auto; padding: 12px var(--ws-gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ws-ease), visibility 0s .35s; }
.ws-mpanel.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.ws-mgroup { border-bottom: 1px solid var(--ws-line); }
.ws-mgroup > button, .ws-mlink { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 58px; font: 600 19px/1.2 'Inter', sans-serif; letter-spacing: -.015em; color: var(--ws-ink); background: none; border: 0; text-align: left; cursor: pointer; }
.ws-mlink { border-bottom: 1px solid var(--ws-line); }
.ws-msub { display: none; padding: 0 0 14px; }
.ws-mgroup.is-open .ws-msub { display: block; }
.ws-mgroup.is-open .ws-chev { transform: rotate(180deg); }
.ws-msub a { display: block; padding: 12px 0 12px 14px; font-size: 16px; color: var(--ws-text-2); border-left: 2px solid var(--ws-line); }
.ws-msub a:hover { color: var(--ws-navy); border-color: var(--ws-navy); }
.ws-mcta { display: grid; gap: 10px; margin-top: 28px; }

@media (max-width: 1080px) {
  .ws-nav, .ws-actions .ws-btn-hide-m { display: none; }
  .ws-burger { display: inline-block; }
  .ws-actions { margin-left: auto; }
}

/* ---------- layout ---------- */
.ws-wrap { max-width: calc(var(--ws-wrap) + var(--ws-gutter)*2); margin: 0 auto; padding: 0 var(--ws-gutter); }
.ws-sec { padding: var(--ws-sec) 0; position: relative; }
.ws-sec.tight { padding: calc(var(--ws-sec) * .55) 0; }
.ws-dark { background: var(--ws-ink); color: var(--ws-on-dark); }
.ws-navy { background: var(--ws-navy); color: var(--ws-on-dark); }
.ws-ice { background: var(--ws-ice); }
.ws-card-bg { background: var(--ws-card); }
.ws-dark p, .ws-navy p { color: var(--ws-on-dark-2); }
.ws-dark h1, .ws-dark h2, .ws-dark h3, .ws-navy h1, .ws-navy h2, .ws-navy h3 { color: #fff; }
.ws-grid-blueprint { background-image: linear-gradient(var(--ws-line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--ws-line-dark) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; }

/* ---------- type ---------- */
.ws-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ws-navy); margin-bottom: 22px; }
.ws-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.ws-dark .ws-eyebrow, .ws-navy .ws-eyebrow { color: #9DBDF0; }
.ws-display { font-size: clamp(44px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.045em !important; font-weight: 650 !important; color: var(--ws-ink); max-width: 15ch; text-wrap: balance; }
.ws-h1 { font-size: clamp(40px, 5.8vw, 80px); line-height: 1.02; letter-spacing: -0.04em !important; font-weight: 650 !important; color: var(--ws-ink); text-wrap: balance; max-width: 18ch; }
.ws-h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -0.035em !important; color: var(--ws-ink); text-wrap: balance; max-width: 20ch; }
.ws-h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.022em !important; color: var(--ws-ink); }
.ws-h4 { font-size: 19px; font-weight: 620; letter-spacing: -.015em; line-height: 1.3; color: var(--ws-ink); }
.ws-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ws-text-2); max-width: 60ch; }
.ws-body { font-size: 17px; line-height: 1.68; color: var(--ws-text-2); max-width: 66ch; }
.ws-body + .ws-body { margin-top: 16px; }
.ws-small { font-size: 14.5px; line-height: 1.55; color: var(--ws-muted); }
.ws-dark .ws-lead, .ws-dark .ws-body, .ws-navy .ws-lead { color: var(--ws-on-dark-2); }
.ws-dark .ws-small { color: rgba(237,242,250,.55); }
.ws-mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 12.5px; letter-spacing: .02em; }

/* ---------- buttons ---------- */
.ws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 'Inter', sans-serif; letter-spacing: -.005em; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ws-ease); white-space: nowrap; cursor: pointer; }
.ws-btn:active { transform: scale(.98); }
.ws-btn .ws-arr { transition: transform .25s var(--ws-ease); }
.ws-btn:hover .ws-arr { transform: translateX(4px); }
.ws-btn-primary { background: var(--ws-navy); color: #fff; }
.ws-btn-primary:hover { background: var(--ws-ink); }
.ws-btn-ghost { border-color: var(--ws-ink); color: var(--ws-ink); background: transparent; }
.ws-btn-ghost:hover { background: var(--ws-ink); color: #fff; }
.ws-btn-light { background: #fff; color: var(--ws-ink); }
.ws-btn-light:hover { background: var(--ws-ice); }
.ws-btn-line-light { border-color: rgba(255,255,255,.4); color: #fff; }
.ws-btn-line-light:hover { background: #fff; color: var(--ws-ink); }
.ws-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.ws-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ws-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ws-navy); border-bottom: 1.5px solid currentColor; padding-bottom: 3px; transition: gap .2s var(--ws-ease); }
.ws-link:hover { gap: 14px; }
.ws-dark .ws-link, .ws-navy .ws-link { color: #B9D0F5; }

/* ---------- hero ---------- */
.ws-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.ws-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.ws-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ws-line); }
.ws-hero-meta span { font-size: 13.5px; color: var(--ws-muted); }
.ws-hero-meta b { display: block; font-size: 15px; color: var(--ws-ink); font-weight: 600; }
.ws-page-hero { padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--ws-line); }
.ws-page-hero .ws-lead { margin-top: 26px; }
.ws-crumb { font-size: 13.5px; color: var(--ws-muted); margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.ws-crumb a { color: var(--ws-navy); }
.ws-crumb a:hover { text-decoration: underline; }

/* Screenshots already contain their own browser frames. Do not add another
   frame or force a crop; their original proportions are the source of truth. */
.ws-browser { border-radius: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.ws-browser-bar { display: none; }
.ws-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD3DE; }
.ws-browser-bar em { margin-left: 12px; font-style: normal; font-size: 11.5px; color: var(--ws-muted); background: #fff; padding: 4px 12px; border-radius: 6px; flex: 1; max-width: 300px; }
.ws-browser img { width: 100%; height: auto; display: block; }
.ws-browser.crop img { height: auto; aspect-ratio: auto; object-fit: contain; }
.ws-dark .ws-browser { border-color: rgba(255,255,255,.08); }
.ws-stack { display: grid; gap: 0; align-content: center; }
/* Homepage composition: Workora is primary, with the smaller Bank of Africa
   screenshot connected to its lower corner. Both retain natural proportions. */
.ws-stack .ws-browser + .ws-browser { position: relative; z-index: 1; width: 56%; margin: -13% -2% 0 auto; }
.ws-caption { font-size: 13.5px; color: var(--ws-muted); margin-top: 14px; display: flex; gap: 10px; }
.ws-caption::before { content: ""; width: 14px; height: 1px; background: currentColor; margin-top: 10px; flex: none; }
.ws-dark .ws-caption { color: rgba(237,242,250,.55); }

/* zoomable */
.ws-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.ws-zoom img { transition: transform .6s var(--ws-ease); }
.ws-zoom:hover img { transform: none; }

/* ---------- featured project ---------- */
.ws-feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.ws-feature.flip { grid-template-columns: 7fr 5fr; }
.ws-feature.flip > :first-child { order: 2; }
.ws-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.ws-tag { font-size: 12.5px; font-weight: 500; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--ws-line); color: var(--ws-text-2); background: rgba(255,255,255,.4); }
.ws-dark .ws-tag { border-color: var(--ws-line-dark); color: var(--ws-on-dark-2); background: transparent; }
.ws-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ws-navy); background: var(--ws-ice); padding: 6px 11px; border-radius: 999px; }
.ws-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ws-dark .ws-status { background: rgba(62,127,224,.18); color: #B9D0F5; }

/* index list (services as rows, not boxes) */
.ws-index { border-top: 1px solid var(--ws-line); margin-top: 56px; }
.ws-index a { display: grid; grid-template-columns: 70px 1.1fr 1.4fr 40px; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--ws-line); transition: padding .35s var(--ws-ease), background .3s; position: relative; }
.ws-index a:hover { padding-left: 14px; background: linear-gradient(90deg, var(--ws-ice), transparent 70%); }
.ws-index .n { font: 500 13px ui-monospace, Menlo, monospace; color: var(--ws-muted); }
.ws-index h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; color: var(--ws-ink); }
.ws-index p { font-size: 16px; line-height: 1.55; color: var(--ws-text-2); }
.ws-index .a { font-size: 22px; color: var(--ws-navy); transition: transform .3s var(--ws-ease); }
.ws-index a:hover .a { transform: translateX(6px); }
.ws-dark .ws-index, .ws-dark .ws-index a { border-color: var(--ws-line-dark); }
.ws-dark .ws-index h3 { color: #fff; } .ws-dark .ws-index a:hover { background: linear-gradient(90deg, rgba(62,127,224,.14), transparent 70%); }

/* split header */
.ws-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 96px); align-items: end; }
.ws-split-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.ws-split-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.ws-sticky { position: sticky; top: calc(var(--ws-header) + 32px); }

/* platform mosaic */
.ws-plats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.ws-plat { grid-column: span 2; display: flex; flex-direction: column; background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); overflow: hidden; transition: transform .35s var(--ws-ease), box-shadow .35s; }
.ws-plat.big { grid-column: span 3; }
.ws-plat:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(11,22,40,.5); }
.ws-plat-img { aspect-ratio: auto; overflow: visible; background: transparent; border-bottom: 1px solid var(--ws-line); }
.ws-plat-img img { width: 100%; height: auto; object-fit: contain; }
.ws-plat:hover .ws-plat-img img { transform: none; }
.ws-plat-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ws-plat-body .ws-link { margin-top: auto; align-self: flex-start; }
.ws-plat-kicker { font-size: 12.5px; font-weight: 600; color: var(--ws-navy); letter-spacing: .02em; }
.ws-dark .ws-plat { background: var(--ws-ink-2); border-color: var(--ws-line-dark); }
.ws-dark .ws-plat-img { border-color: var(--ws-line-dark); }
.ws-dark .ws-plat-kicker { color: #9DBDF0; }

/* steps */
.ws-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--ws-line); counter-reset: s; }
.ws-step { padding: 26px 22px 0 0; position: relative; }
.ws-step::before { counter-increment: s; content: "0" counter(s); display: block; font: 500 13px ui-monospace, Menlo, monospace; color: var(--ws-navy); margin-bottom: 18px; }
.ws-step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ws-navy); }
.ws-step h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 10px; color: var(--ws-ink); }
.ws-step p { font-size: 15px; line-height: 1.55; color: var(--ws-text-2); }
.ws-dark .ws-steps { border-color: var(--ws-line-dark); }
.ws-dark .ws-step::before { color: #9DBDF0; } .ws-dark .ws-step::after { background: #9DBDF0; }
.ws-dark .ws-step h3 { color: #fff; } .ws-dark .ws-step p { color: var(--ws-on-dark-2); }

/* long steps (vertical) */
.ws-vsteps { counter-reset: v; }
.ws-vstep { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 28px; padding: 40px 0; border-top: 1px solid var(--ws-line); }
.ws-vstep::before { counter-increment: v; content: "0" counter(v); font: 600 40px/1 'Inter', sans-serif; letter-spacing: -.04em; color: var(--ws-signal); }
.ws-vstep ul { display: grid; gap: 8px; }
.ws-vstep li { font-size: 15.5px; color: var(--ws-text-2); padding-left: 20px; position: relative; }
.ws-vstep li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1.5px; background: var(--ws-navy); }

/* checklist */
.ws-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 28px; }
.ws-checks li { padding: 15px 0 15px 30px; border-bottom: 1px solid var(--ws-line); position: relative; font-size: 16px; line-height: 1.5; color: var(--ws-text); }
.ws-checks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--ws-navy); border-bottom: 2px solid var(--ws-navy); transform: rotate(-45deg); }
.ws-dark .ws-checks li { border-color: var(--ws-line-dark); color: var(--ws-on-dark); }
.ws-dark .ws-checks li::before { border-color: #9DBDF0; }
.ws-checks.one { grid-template-columns: 1fr; }

/* fact table */
.ws-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ws-line); border-bottom: 1px solid var(--ws-line); }
.ws-facts > div { padding: 24px 22px 24px 0; }
.ws-facts > div + div { padding-left: 22px; border-left: 1px solid var(--ws-line); }
.ws-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-muted); margin-bottom: 8px; }
.ws-facts dd { font-size: 16px; line-height: 1.45; color: var(--ws-ink); font-weight: 500; }

/* flow diagram */
.ws-flow { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; gap: 18px; margin-top: 48px; }
.ws-flow-col { display: grid; gap: 10px; }
.ws-node { padding: 14px 16px; border: 1px solid var(--ws-line); border-radius: 10px; background: var(--ws-card); font-size: 14.5px; font-weight: 500; color: var(--ws-ink); display: flex; align-items: center; gap: 10px; }
.ws-node::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ws-navy); flex: none; }
.ws-node.human::before { background: var(--ws-ok); border-radius: 50%; }
.ws-core { padding: 28px 24px; border-radius: 16px; background: var(--ws-navy); color: #fff; text-align: center; }
.ws-core b { display: block; font-size: 19px; letter-spacing: -.015em; }
.ws-core span { display: block; font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 6px; }
.ws-flow-arrow { width: 44px; height: 2px; background: var(--ws-navy); position: relative; }
.ws-flow-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--ws-navy); border-right: 0; }
.ws-dark .ws-node { background: var(--ws-ink-2); border-color: var(--ws-line-dark); color: var(--ws-on-dark); }
.ws-dark .ws-node::before { background: #9DBDF0; }
.ws-dark .ws-core { background: var(--ws-signal); }
.ws-dark .ws-flow-arrow { background: #9DBDF0; } .ws-dark .ws-flow-arrow::after { border-left-color: #9DBDF0; }

/* gallery */
.ws-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 48px; }
.ws-g-12 { grid-column: span 12; } .ws-g-8 { grid-column: span 8; } .ws-g-7 { grid-column: span 7; } .ws-g-6 { grid-column: span 6; } .ws-g-5 { grid-column: span 5; } .ws-g-4 { grid-column: span 4; }
.ws-g-text { align-self: center; }

/* lightbox */
.ws-lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; width: 100%; }
.ws-lightbox::backdrop { background: rgba(11,22,40,.88); backdrop-filter: blur(6px); }
.ws-lightbox figure { margin: 0; display: grid; gap: 14px; }
.ws-lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 10px; background: #fff; }
.ws-lightbox figcaption { color: #EDF2FA; font-size: 15px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.ws-lightbox-close { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font: 600 14px 'Inter', sans-serif; cursor: pointer; flex: none; }
.ws-lightbox-close:hover { background: #fff; color: var(--ws-ink); }

/* quotes / statements */
.ws-statement { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; color: var(--ws-ink); max-width: 24ch; text-wrap: balance; }
.ws-dark .ws-statement { color: #fff; }
.ws-statement span { color: var(--ws-blue); }
.ws-dark .ws-statement span { color: #9DBDF0; }

/* people */
.ws-people { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ws-person { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: end; padding-top: 24px; border-top: 1px solid var(--ws-line); }
.ws-person img { width: 180px; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; filter: saturate(.9); }
.ws-person b { display: block; font-size: 22px; letter-spacing: -.02em; color: var(--ws-ink); }
.ws-person span { font-size: 14.5px; color: var(--ws-muted); }

/* cards (used sparingly) */
.ws-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--ws-line); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); overflow: hidden; margin-top: 48px; }
.ws-card { background: var(--ws-card); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; transition: background .25s; }
a.ws-card:hover { background: #fff; }
.ws-card h3 { font-size: 20px; letter-spacing: -.018em; line-height: 1.2; color: var(--ws-ink); }
.ws-card p { font-size: 15px; line-height: 1.55; color: var(--ws-text-2); }
.ws-card .ws-link { margin-top: auto; align-self: flex-start; font-size: 14.5px; }
.ws-dark .ws-cards { background: var(--ws-line-dark); border-color: var(--ws-line-dark); }
.ws-dark .ws-card { background: var(--ws-ink); }
.ws-dark a.ws-card:hover { background: var(--ws-ink-2); }
.ws-dark .ws-card h3 { color: #fff; } .ws-dark .ws-card p { color: var(--ws-on-dark-2); }

/* industry tiles */
.ws-inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ws-line); margin-top: 48px; }
.ws-ind { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--ws-line); display: grid; gap: 8px; transition: color .2s; }
.ws-ind:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--ws-line); }
.ws-ind b { font-size: 20px; letter-spacing: -.018em; color: var(--ws-ink); display: flex; justify-content: space-between; }
.ws-ind b::after { content: "\2192"; color: var(--ws-navy); transition: transform .3s var(--ws-ease); }
.ws-ind:hover b::after { transform: translateX(5px); }
.ws-ind span { font-size: 15px; line-height: 1.5; color: var(--ws-text-2); }
.ws-ind em { font-style: normal; font-size: 13px; color: var(--ws-navy); font-weight: 600; }

/* faq */
.ws-faq { border-top: 1px solid var(--ws-line); }
.ws-faq details { border-bottom: 1px solid var(--ws-line); }
.ws-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 18.5px; font-weight: 600; letter-spacing: -.012em; color: var(--ws-ink); }
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--ws-navy); transition: transform .3s var(--ws-ease); }
.ws-faq details[open] summary::after { transform: rotate(45deg); }
.ws-faq details p { padding: 0 0 26px; font-size: 16.5px; line-height: 1.65; color: var(--ws-text-2); max-width: 70ch; }

/* tech list */
.ws-tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.ws-tech h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-muted); font-weight: 600; margin-bottom: 14px; }
.ws-tech li { font-size: 16px; padding: 8px 0; border-bottom: 1px solid var(--ws-line); color: var(--ws-ink); }
.ws-dark .ws-tech li { border-color: var(--ws-line-dark); color: var(--ws-on-dark); }
.ws-dark .ws-tech h3 { color: rgba(237,242,250,.5); }
.ws-navy .ws-tech h3 { color: #CBD3DE; }
.ws-navy .ws-tech li { color: #fff; border-color: rgba(255,255,255,.3); }

/* notice */
.ws-note { border-left: 3px solid var(--ws-navy); padding: 16px 20px; background: var(--ws-ice); border-radius: 0 8px 8px 0; font-size: 15px; line-height: 1.55; color: var(--ws-text); max-width: 70ch; }
.ws-dark .ws-note { background: rgba(62,127,224,.12); color: var(--ws-on-dark); border-color: #9DBDF0; }

/* CTA band */
.ws-cta { background: var(--ws-ink); color: #fff; padding: clamp(80px, 10vw, 150px) 0; position: relative; overflow: hidden; }
.ws-cta::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(157,189,240,.18); box-shadow: 0 0 0 80px rgba(157,189,240,.03), 0 0 0 160px rgba(157,189,240,.02); pointer-events: none; }
.ws-cta .ws-h2 { color: #fff; max-width: 16ch; }
.ws-cta p { color: var(--ws-on-dark-2); }
.ws-cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; position: relative; z-index: 1; }
.ws-cta-paths { display: grid; gap: 1px; background: var(--ws-line-dark); border-radius: 12px; overflow: hidden; }
.ws-cta-paths a { display: grid; gap: 4px; padding: 20px 22px; background: var(--ws-ink-2); transition: background .2s; }
.ws-cta-paths a:hover { background: #1A3050; }
.ws-cta-paths b { color: #fff; font-size: 17px; display: flex; justify-content: space-between; }
.ws-cta-paths b::after { content: "\2192"; color: #9DBDF0; }
.ws-cta-paths span { color: var(--ws-on-dark-2); font-size: 14px; }

/* proof strip injected on legacy pages */
.ws-proofstrip { background: var(--ws-ice); padding: 56px 0; border-top: 1px solid var(--ws-line); }
.ws-proofstrip-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.ws-proofstrip-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ws-proofstrip-links a { display: grid; gap: 10px; }
.ws-proofstrip-links img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; border: 0; }
.ws-proofstrip-links a:hover img { transform: translateY(-3px); }
.ws-proofstrip-links b { font-size: 15px; color: var(--ws-ink); }
.ws-proofstrip-links span { font-size: 13px; color: var(--ws-muted); display: block; }

/* service jump bar on /solutions/ */
.ws-svcbar { background: var(--ws-ink); padding: 40px 0; }
.ws-svcbar-in { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; align-items: center; }
.ws-svcbar b { color: #fff; font-size: 20px; letter-spacing: -.02em; }
.ws-svcbar nav { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-svcbar nav a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--ws-line-dark); color: var(--ws-on-dark); font-size: 14.5px; transition: background .2s; }
.ws-svcbar nav a:hover { background: rgba(157,189,240,.14); }

/* footer */
.ws-footer { background: var(--ws-ink); color: var(--ws-on-dark); padding: 88px 0 36px; }
.ws-footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--ws-line-dark); }
.ws-footer-logo { display: inline-block; background: transparent; padding: 0; border-radius: 0; }
.ws-footer-logo img { height: 30px; width: auto; display: block; filter: brightness(0) invert(1); }
.ws-footer p { color: var(--ws-on-dark-2); font-size: 15px; line-height: 1.6; margin-top: 22px; max-width: 34ch; }
.ws-footer h2 { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .14em !important; text-transform: uppercase; color: rgba(237,242,250,.5); margin-bottom: 16px; }
.ws-footer a.f { display: block; padding: 6px 0; font-size: 15px; color: var(--ws-on-dark); opacity: .82; transition: opacity .2s; }
.ws-footer a.f:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.ws-footer-offices { margin-top: 18px; font-size: 14px; color: var(--ws-on-dark-2); line-height: 1.7; }
.ws-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 13.5px; color: rgba(237,242,250,.5); }
.ws-footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ws-footer-bottom a:hover { color: #fff; }

/* reveal */
.ws-reveal { opacity: 1; transform: none; }
.ws-reveal.is-in { animation: ws-content-arrive .7s var(--ws-ease) both; }
@keyframes ws-content-arrive {
  from { opacity: .45; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
/* Reading content stays visible even when scripts or observers fail. */
body.public-site .reveal { opacity: 1 !important; transform: none; }
.ws-hero-in > * { animation: wsUp .9s var(--ws-ease) both; }
.ws-hero-in > :nth-child(2) { animation-delay: .08s; } .ws-hero-in > :nth-child(3) { animation-delay: .16s; } .ws-hero-in > :nth-child(4) { animation-delay: .24s; } .ws-hero-in > :nth-child(5) { animation-delay: .32s; }
.ws-hero-visual { animation: wsRise 1.2s .2s var(--ws-ease) both; }
@keyframes wsUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes wsRise { from { opacity: 0; transform: translateY(40px) scale(.985); } }

/* home articles from home-v3.js */
body.public-site .hp-articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; margin-top: 40px; background: transparent; border: 0; border-radius: 0; overflow: visible; min-height: 0; }
body.public-site .hp-article-card { min-width: 0; display: flex; flex-direction: column; gap: 24px; padding: 0 0 26px; border: 0; border-bottom: 1px solid var(--ws-line); background: none !important; border-radius: 0; box-shadow: none; transition: transform .3s var(--ws-ease); }
body.public-site .hp-article-card + .hp-article-card { padding-left: 0; border-left: 0; }
body.public-site .hp-articles-grid[data-count="1"] .hp-article-card:not(.hp-article-card--text) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
body.public-site .hp-article-media { min-width: 0; }
body.public-site .hp-article-image { display: block; width: 100%; height: auto; border-radius: 10px; }
body.public-site .hp-article-body { min-width: 0; display: grid; gap: 16px; align-content: start; }
body.public-site .hp-article-card:hover { transform: translateY(-3px); }
body.public-site .hp-article-tag { justify-self: start; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ws-navy); }
body.public-site .hp-article-title { margin: 0; font-family: Inter, sans-serif; font-size: clamp(22px, 2.3vw, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--ws-ink); }
body.public-site .hp-article-excerpt { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ws-text-2); }
body.public-site .hp-article-meta { margin: 0; font-size: 13.5px; color: var(--ws-muted); display: flex; flex-wrap: wrap; gap: 14px; }
body.public-site .hp-article-read { font-size: 14px; font-weight: 600; color: var(--ws-navy); }
body.public-site .hp-article-loading { grid-column: 1 / -1; display: grid; justify-items: start; gap: 16px; padding: 32px 0; color: var(--ws-muted); }

/* legacy page refinements (visible across all older pages) */
body.public-site .eyebrow, body.public-site [class*="eyebrow"], body.public-site [class*="-label"]:not(label) { letter-spacing: .12em; }
body.public-site .btn, body.public-site [class*="-btn"]:not(.ws-btn):not(.ws-nav-btn):not(.ws-lightbox-close) { border-radius: 999px; font-weight: 600; }
body.public-site .btn-primary { background: var(--ws-navy); border-color: var(--ws-navy); }
body.public-site .card, body.public-site .industry-card { background: var(--ws-card); border-color: var(--ws-line); }
body.public-site .bg-soft { background: var(--ws-paper); }
body.public-site .lead, body.public-site [class*="-lead"], body.public-site [class*="-sub"] { font-weight: 400; }
body.public-site img { height: auto; }
body.public-site .inner-page main, body.public-site article { color: var(--ws-text); }

/* readable legal and article layouts */
body.public-site.ws-reading main, body.public-site .legal-content, body.public-site .artd-body { font-size: 17.5px; line-height: 1.72; }
body.public-site.ws-reading h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 1.6em; }
body.public-site.ws-reading p, body.public-site.ws-reading li { max-width: 72ch; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ws-hero-grid, .ws-feature, .ws-feature.flip, .ws-split, .ws-split-3-2, .ws-split-2-3, .ws-cta-grid, .ws-proofstrip-in, .ws-svcbar-in { grid-template-columns: 1fr; }
  .ws-feature.flip > :first-child { order: 0; }
  .ws-steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .ws-plats { grid-template-columns: repeat(2, 1fr); }
  .ws-plat, .ws-plat.big { grid-column: span 1; }
  .ws-tech { grid-template-columns: repeat(2, 1fr); }
  .ws-footer-top { grid-template-columns: 1fr 1fr; }
  .ws-footer-top > :first-child { grid-column: 1 / -1; }
  .ws-sticky { position: static; }
  .ws-stack .ws-browser + .ws-browser { display: block; width: 62%; margin: -12% 0 0 auto; }
  .ws-facts { grid-template-columns: 1fr 1fr; }
  .ws-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 767px) {
  body.public-site { --ws-header: 64px; }
  .ws-logo img { height: 34px; }
  .ws-actions .ws-btn { display: none; }
  .ws-index a { grid-template-columns: 1fr 28px; gap: 8px; padding: 24px 0; }
  .ws-index .n { display: none; } .ws-index p { grid-column: 1 / 2; } .ws-index .a { grid-row: 1; grid-column: 2; }
  .ws-steps, .ws-plats, .ws-tech, .ws-checks, .ws-people, .ws-inds, .ws-proofstrip-links, body.public-site .hp-articles-grid { grid-template-columns: 1fr; }
  .ws-ind:not(:nth-child(3n+1)), body.public-site .hp-article-card + .hp-article-card { padding-left: 0; border-left: 0; }
  body.public-site .hp-articles-grid[data-count="1"] .hp-article-card:not(.hp-article-card--text) { grid-template-columns: 1fr; gap: 24px; }
  .ws-gallery > * { grid-column: span 12; }
  .ws-vstep { grid-template-columns: 1fr; gap: 14px; }
  .ws-person { grid-template-columns: 110px 1fr; }
  .ws-person img { width: 110px; }
  .ws-flow { grid-template-columns: 1fr; }
  .ws-flow-arrow { width: 2px; height: 28px; margin: 0 auto; }
  .ws-flow-arrow::after { right: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 7px solid var(--ws-navy); border-bottom: 0; }
  .ws-facts { grid-template-columns: 1fr; }
  .ws-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--ws-line); }
  .ws-footer-top { grid-template-columns: 1fr; }
  .ws-btns .ws-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body.public-site *, body.public-site *::before, body.public-site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ws-reveal { opacity: 1; transform: none; }
}

/* conversion pages: the shared public header/footer replace their minimal chrome */
body.public-site .sr-hdr, body.public-site .sr-ftr, body.public-site .bk-ftr, body.public-site .bk-hdr { display: none !important; }

/* ---------- header logo + hero sizing guards ---------- */
body.public-site .ws-logo { flex: 0 0 auto; display: inline-flex; align-items: center; height: 56px; max-width: 208px; }
body.public-site .ws-logo img, body.public-site .ws-header .ws-logo img { height: 54px !important; width: auto !important; max-width: 208px !important; object-fit: contain; }
body.public-site .ws-footer-logo img { height: 30px !important; width: auto !important; max-width: 150px; }
body.public-site .ws-header-in { flex-wrap: nowrap; min-width: 0; }
body.public-site .ws-nav { flex-wrap: nowrap; min-width: 0; }
body.public-site .ws-nav-btn, body.public-site .ws-nav-link { white-space: nowrap; }
body.public-site .ws-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 4vw, 56px); }
body.public-site .ws-hero .ws-display { font-size: clamp(40px, 5.2vw, 80px); line-height: 1.02; max-width: 13ch; }
body.public-site .ws-hero-grid { align-items: center; }
body.public-site .ws-hero .ws-lead { margin-top: 22px; }
body.public-site .ws-hero .ws-btns { margin-top: 28px; }
body.public-site .ws-hero-meta { margin-top: 32px; }
@media (min-width: 1081px) and (max-height: 900px) { body.public-site .ws-hero .ws-display { font-size: clamp(40px, 4.6vw, 68px); } }
@media (max-width: 1240px) and (min-width: 1081px) { body.public-site .ws-nav-btn, body.public-site .ws-nav-link { padding: 10px 8px; font-size: 14px; } body.public-site .ws-header-in { gap: 16px; } }
@media (max-width: 767px) {
  body.public-site .ws-logo { height: 46px; max-width: 156px; }
  body.public-site .ws-logo img, body.public-site .ws-header .ws-logo img { height: 42px !important; max-width: 156px !important; }
  body.public-site .ws-hero .ws-display { font-size: clamp(34px, 10vw, 48px); max-width: none; }
  body.public-site .ws-h1 { font-size: clamp(32px, 9vw, 46px); }
  body.public-site .ws-h2 { font-size: clamp(28px, 7.6vw, 40px); }
  body.public-site h1, body.public-site h2, body.public-site h3 { overflow-wrap: anywhere; hyphens: auto; }
  body.public-site .ws-mgroup > button, body.public-site .ws-mlink { font-size: 17px; }
  body.public-site .ws-btn { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 20px; }
}
@media (max-width: 360px) { body.public-site .ws-actions { gap: 6px; } body.public-site .ws-lang { padding: 8px; } }

/* ============ Part 2 components ============ */
.ws-head { margin-bottom: 8px; }
.ws-page-hero.ws-dark { border-bottom: 0; }
.ws-page-hero.ws-dark .ws-h1 { color: #fff; }
.ws-page-hero.ws-dark .ws-crumb, .ws-page-hero.ws-dark .ws-crumb a { color: #B9D0F5; }
.ws-page-hero .ws-hero-grid { align-items: center; }
.ws-page-hero .ws-tags { margin-top: 28px; }
.ws-hero-vis .ws-flow { margin-top: 0; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; }
.ws-hero-vis .ws-node { font-size: 13px; padding: 10px 12px; }
.ws-hero-vis .ws-core { padding: 20px 14px; }
.ws-hero-vis .ws-flow-arrow { width: 22px; }

.ws-qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ws-line); }
.ws-q { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--ws-line); display: grid; gap: 8px; align-content: start; }
.ws-q:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--ws-line); }
.ws-q-n { font: 500 12.5px ui-monospace, Menlo, monospace; color: var(--ws-navy); letter-spacing: .04em; }
.ws-dark .ws-q-n { color: #9DBDF0; }

.ws-chain { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin-top: 40px; counter-reset: c; }
.ws-chain li { position: relative; padding: 22px 18px 0 0; border-top: 2px solid var(--ws-navy); display: grid; gap: 6px; align-content: start; }
.ws-chain li::before { counter-increment: c; content: counter(c, decimal-leading-zero); font: 500 12px ui-monospace, Menlo, monospace; color: var(--ws-muted); }
.ws-chain li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ws-paper); border: 2px solid var(--ws-navy); }
.ws-ice .ws-chain li::after { background: var(--ws-ice); }
.ws-chain b { font-size: 18px; letter-spacing: -.015em; color: var(--ws-ink); }
.ws-chain span { font-size: 14.5px; line-height: 1.5; color: var(--ws-text-2); }
.ws-chain.is-v { grid-auto-flow: row; margin-top: 0; }
.ws-chain.is-v li { border-top: 0; border-left: 2px solid var(--ws-navy); padding: 0 0 26px 26px; }
.ws-chain.is-v li::after { left: -7px; top: 2px; }
.ws-dark .ws-chain b { color: #fff; } .ws-dark .ws-chain span { color: var(--ws-on-dark-2); }
.ws-dark .ws-chain li { border-color: #9DBDF0; } .ws-dark .ws-chain li::after { background: var(--ws-ink); border-color: #9DBDF0; }

.ws-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 36px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); overflow: hidden; }
.ws-ba-col { padding: 28px; }
.ws-ba-col.is-before { background: var(--ws-card); }
.ws-ba-col.is-after { background: var(--ws-navy); color: #fff; }
.ws-ba-h { font-size: 13px !important; letter-spacing: .12em !important; text-transform: uppercase; margin-bottom: 16px; color: var(--ws-muted); }
.ws-ba-col.is-after .ws-ba-h { color: #B9D0F5; }
.ws-ba li { padding: 11px 0 11px 24px; position: relative; font-size: 16px; line-height: 1.45; border-top: 1px solid var(--ws-line); }
.ws-ba-col.is-after li { border-color: rgba(255,255,255,.14); color: #fff; }
.ws-ba-col.is-before li { color: var(--ws-text-2); }
.ws-ba-col.is-before li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 10px; height: 1.5px; background: var(--ws-muted); }
.ws-ba-col.is-after li::before { content: ""; position: absolute; left: 0; top: 16px; width: 11px; height: 6px; border-left: 2px solid #9DBDF0; border-bottom: 2px solid #9DBDF0; transform: rotate(-45deg); }
.ws-dark .ws-ba { border-color: var(--ws-line-dark); }
.ws-dark .ws-ba-col.is-before { background: var(--ws-ink-2); }
.ws-dark .ws-ba-col.is-before li { color: var(--ws-on-dark-2); border-color: var(--ws-line-dark); }
.ws-dark .ws-ba-col.is-after { background: var(--ws-signal); }

.ws-panel { margin: 0; background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); box-shadow: 0 30px 70px -40px rgba(11,22,40,.45); overflow: hidden; }
.ws-panel-h { padding: 14px 20px; background: #EEF1F5; border-bottom: 1px solid var(--ws-line); font-size: 13.5px; font-weight: 600; color: var(--ws-ink); }
.ws-panel ul { padding: 6px 20px; }
.ws-panel li { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--ws-line); font-size: 14.5px; color: var(--ws-text); }
.ws-panel li:last-child { border-bottom: 0; }
.ws-panel em { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; flex: none; }
.ws-panel .tone-ok { background: #E1F0E8; color: var(--ws-ok); }
.ws-panel .tone-warn { background: #F6EBD6; color: #8A5A0B; }
.ws-panel .tone-err { background: #F5E0DD; color: var(--ws-err); }
.ws-panel .tone-info { background: var(--ws-ice); color: var(--ws-navy); }
.ws-panel-note { padding: 10px 20px 14px; font-size: 12px; color: var(--ws-muted); border-top: 1px dashed var(--ws-line); }
.ws-dark .ws-panel li { color: var(--ws-text); }

.ws-agent { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 56px 0; border-top: 1px solid var(--ws-line); }
.ws-agent:first-of-type { margin-top: 40px; }
.ws-agent.flip > :first-child { order: 2; }
.ws-agent .ws-checks { grid-template-columns: 1fr 1fr; }

.ws-aside { background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); padding: 28px; align-self: start; position: sticky; top: calc(var(--ws-header) + 32px); }
.ws-rel { margin-top: 14px; }
.ws-rel a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--ws-line); font-weight: 500; color: var(--ws-ink); }
.ws-rel a:hover { color: var(--ws-navy); }
.ws-linkrow { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

.ws-table-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); background: var(--ws-card); }
.ws-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.ws-table th { text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-muted); padding: 16px 20px; border-bottom: 1px solid var(--ws-line); font-weight: 600; }
.ws-table td { padding: 18px 20px; border-bottom: 1px solid var(--ws-line); font-size: 15.5px; color: var(--ws-text-2); vertical-align: top; }
.ws-table tr:last-child td { border-bottom: 0; }
.ws-table td:first-child { font-weight: 600; color: var(--ws-ink); }
.ws-table a { color: var(--ws-navy); font-weight: 600; }
.ws-table a:hover { text-decoration: underline; }

.ws-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ws-line); }
.ws-pillar { padding: 30px 24px 10px 0; display: grid; gap: 10px; align-content: start; }
.ws-pillar + .ws-pillar { padding-left: 24px; border-left: 1px solid var(--ws-line); }
.ws-pillar-l { font-size: clamp(56px, 6vw, 96px); font-weight: 650; line-height: .9; letter-spacing: -.05em; color: var(--ws-ice); -webkit-text-stroke: 1.5px var(--ws-navy); }

.ws-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--ws-line); }
.ws-stages li { padding: 28px 24px 30px 0; border-bottom: 1px solid var(--ws-line); display: grid; gap: 8px; align-content: start; }
.ws-stages li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--ws-line); }
.ws-stages li:nth-child(n+4) .ws-q-n { color: var(--ws-err); }

.ws-scale { display: grid; gap: 16px; }
.ws-scale > div { padding: 24px; border-radius: var(--ws-radius-lg); border: 1px solid var(--ws-line); background: var(--ws-card); }
.ws-scale > div + div { background: var(--ws-ink); color: #fff; border-color: var(--ws-ink); }
.ws-scale b { display: block; font-size: 18px; margin-bottom: 8px; }
.ws-scale p { font-size: 15px; line-height: 1.55; color: var(--ws-text-2); }
.ws-scale > div + div p { color: var(--ws-on-dark-2); }

.ws-records { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ws-record { padding: 30px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); background: var(--ws-card); display: grid; gap: 10px; align-content: start; }
.ws-record .ws-checks { margin-top: 6px; }
.ws-record .ws-link { justify-self: start; margin-top: 10px; }

.ws-briefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ws-line); }
.ws-briefs li { border-bottom: 1px solid var(--ws-line); }
.ws-briefs li:not(:nth-child(3n+1)) { border-left: 1px solid var(--ws-line); }
.ws-briefs a { display: grid; gap: 10px; padding: 30px 26px 32px; height: 100%; align-content: start; transition: background .25s; }
.ws-briefs a:hover { background: var(--ws-ice); }
.ws-briefs .ws-link { justify-self: start; margin-top: 6px; }

.ws-tile { display: grid; gap: 14px; }
.ws-tile img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; border: 0; }
.ws-tile:hover img { transform: translateY(-4px); }
.ws-tile b { font-size: 19px; color: var(--ws-ink); letter-spacing: -.015em; }

.ws-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.ws-office { padding: 32px; border-radius: var(--ws-radius-lg); background: var(--ws-card); border: 1px solid var(--ws-line); display: grid; gap: 12px; }

.ws-bio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ws-bio.flip > :first-child { order: 2; }
.ws-bio-photo { position: sticky; top: calc(var(--ws-header) + 32px); }
.ws-bio-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--ws-radius-lg); }
.ws-quote { margin-top: 32px; padding: 24px 0 0 24px; border-left: 3px solid var(--ws-navy); }
.ws-quote p { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; letter-spacing: -.015em; font-weight: 500; color: var(--ws-ink); }

@media (max-width: 1080px) {
  .ws-agent, .ws-agent.flip, .ws-bio, .ws-bio.flip { grid-template-columns: 1fr; }
  .ws-agent.flip > :first-child, .ws-bio.flip > :first-child { order: 0; }
  .ws-bio-photo { position: static; max-width: 420px; }
  .ws-pillars, .ws-stages, .ws-briefs { grid-template-columns: 1fr 1fr; }
  .ws-pillar:nth-child(3), .ws-stages li, .ws-briefs li { padding-left: 0; border-left: 0 !important; }
  .ws-stages li { padding-right: 24px; }
  .ws-aside { position: static; }
  .ws-chain:not(.is-v) { grid-auto-flow: row; }
  .ws-chain:not(.is-v) li { border-top: 0; border-left: 2px solid var(--ws-navy); padding: 0 0 22px 26px; }
  .ws-chain:not(.is-v) li::after { left: -7px; top: 2px; }
}
@media (max-width: 767px) {
  .ws-qgrid, .ws-ba, .ws-records, .ws-offices, .ws-pillars, .ws-stages, .ws-briefs, .ws-agent .ws-checks { grid-template-columns: 1fr; }
  .ws-q:nth-child(2n), .ws-pillar + .ws-pillar { padding-left: 0; border-left: 0; }
  .ws-hero-vis .ws-flow { grid-template-columns: 1fr; }
  .ws-hero-vis .ws-flow-arrow { width: 2px; height: 20px; }
  .ws-panel li { flex-wrap: wrap; }
  .ws-record, .ws-office, .ws-ba-col { padding: 22px; }
}

/* ============ Phase 2 refinement (tools/public-redesign/p3.js) ============ */
/* illustrative photography */
.ws-photo { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: var(--ws-ice); }
.ws-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ws-photo-tall img { aspect-ratio: 4 / 5; }
.ws-illus, body.public-site .ws-illus { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 4px 8px; border-radius: 4px; background: rgba(11,22,40,.62); color: #EDF2FA; font: 500 11px/1.2 'Inter', sans-serif; letter-spacing: .02em; pointer-events: none; }
body.public-site *:has(> .ws-illus) { position: relative; }

/* featured project */
.ws-boa-gal { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 24px; }
.ws-boa-item { grid-column: span 2; min-width: 0; }
.ws-boa-item.lg { grid-column: span 3; }
.ws-boa-item .ws-zoom { border-radius: 8px; transition: transform .35s var(--ws-ease); }
.ws-boa-item .ws-zoom:hover, .ws-boa-item .ws-zoom:focus-visible { transform: translateY(-3px); }
.ws-boa-cap { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font-size: 14px; color: var(--ws-on-dark-2); }
.ws-boa-cap .ws-mono { color: #9DBDF0; }
.ws-boa-note { margin-top: 36px; font-size: 13.5px; color: rgba(237,242,250,.55) !important; }

/* services with shared preview */
.ws-svx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 56px; align-items: start; }
.ws-svx-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ws-line); }
.ws-svx-row { display: grid; grid-template-columns: 48px 1fr 28px; gap: 18px; align-items: baseline; padding: 24px 12px 24px 0; border-bottom: 1px solid var(--ws-line); transition: padding .35s var(--ws-ease), background .3s; }
.ws-svx-list li:last-child .ws-svx-row { border-bottom: 0; }
.ws-svx-row .n { font: 500 13px ui-monospace, Menlo, monospace; color: var(--ws-muted); }
.ws-svx-row h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; color: var(--ws-ink); }
.ws-svx-row p { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--ws-text-2); }
.ws-svx-row .a { font-size: 20px; color: var(--ws-navy); transition: transform .3s var(--ws-ease); }
.ws-svx-row.is-active { padding-left: 14px; background: linear-gradient(90deg, var(--ws-ice), transparent 80%); }
.ws-svx-row.is-active .n { color: var(--ws-navy); }
.ws-svx-row.is-active .a, .ws-svx-row:hover .a { transform: translateX(6px); }
.ws-svx-thumb { display: none; }
.ws-svx-stage { position: sticky; top: calc(var(--ws-header) + 32px); display: grid; }
.ws-svx-fig { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--ws-ease), visibility 0s .35s; }
.ws-svx-fig.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.ws-svx-fig img { width: 100%; height: auto; display: block; }
.ws-svx-fig figcaption { display: grid; gap: 2px; margin-top: 16px; font-size: 13.5px; color: var(--ws-muted); }
.ws-svx-fig figcaption b { font-size: 15px; color: var(--ws-ink); font-weight: 600; }

/* platforms: flagships + complementary */
.ws-flags { display: grid; gap: clamp(48px, 6vw, 88px); margin-top: 64px; }
.ws-flag { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.ws-flag.flip { grid-template-columns: 5fr 7fr; }
.ws-flag.flip .ws-flag-shot { order: 2; }
.ws-flag-shot img { width: 100%; height: auto; display: block; transition: transform .5s var(--ws-ease); }
.ws-flag-shot:hover img { transform: translateY(-4px); }
.ws-flag-body { display: grid; gap: 14px; justify-items: start; }
.ws-flag-name { font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.04em !important; color: var(--ws-ink); margin-top: 8px; }
.ws-flag-list { display: grid; gap: 8px; margin: 4px 0 10px; }
.ws-flag-list li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--ws-text); }
.ws-flag-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1.5px; background: var(--ws-navy); }
.ws-plat-more { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid rgba(24,70,132,.18); }
.ws-plat-more-h { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-muted); }
.ws-plat-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.ws-mini { display: grid; grid-template-columns: 1fr 24px; gap: 14px 10px; align-items: start; }
.ws-mini img { grid-column: 1 / -1; width: 100%; height: auto; display: block; transition: transform .4s var(--ws-ease); }
.ws-mini:hover img { transform: translateY(-3px); }
.ws-mini-body { display: grid; gap: 2px; }
.ws-mini-body b { font-size: 17px; color: var(--ws-ink); letter-spacing: -.012em; }
.ws-mini-body span { font-size: 14px; color: var(--ws-text-2); }
.ws-mini .a { color: var(--ws-navy); transition: transform .3s var(--ws-ease); }
.ws-mini:hover .a { transform: translateX(4px); }

/* industries: human contexts */
.ws-ctx { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 24px; margin-top: 56px; }
.ws-ctx-item { display: grid; gap: 14px; align-content: start; }
.ws-ctx-item.main { grid-row: span 2; }
.ws-ctx-item:not(.main) .ws-photo img { aspect-ratio: 16 / 9; }
.ws-ctx-item .ws-photo img { transition: transform .8s var(--ws-ease); }
.ws-ctx-item:hover .ws-photo img { transform: scale(1.02); }
.ws-ctx-body { display: grid; gap: 4px; }
.ws-ctx-body b { font-size: 20px; letter-spacing: -.018em; color: var(--ws-ink); }
.ws-ctx-item.main .ws-ctx-body b { font-size: 26px; }
.ws-ctx-body span { font-size: 15px; color: var(--ws-text-2); }
.ws-ctx-all { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ws-line); }
.ws-ctx-all a { display: grid; gap: 4px; height: 100%; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--ws-line); }
.ws-ctx-all b { font-size: 16px; color: var(--ws-ink); display: flex; justify-content: space-between; gap: 8px; }
.ws-ctx-all b::after { content: "\2192"; color: var(--ws-navy); transition: transform .3s var(--ws-ease); }
.ws-ctx-all a:hover b::after { transform: translateX(4px); }
.ws-ctx-all span { font-size: 13.5px; line-height: 1.45; color: var(--ws-muted); }
.ws-ctx-all a.all b { color: var(--ws-navy); }

/* delivery */
.ws-deliver-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.ws-steps4 { list-style: none; padding: 0; margin: 48px 0 0; counter-reset: s4; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ws-steps4 li { counter-increment: s4; padding: 24px 0 26px; border-top: 1px solid var(--ws-line-dark); }
.ws-steps4 li::before { content: "0" counter(s4); display: block; font: 500 13px ui-monospace, Menlo, monospace; color: #9DBDF0; margin-bottom: 12px; }
.ws-steps4 h3 { font-size: 21px; color: #fff; margin-bottom: 8px; }
.ws-steps4 p { font-size: 15.5px; line-height: 1.55; }
.ws-deliver-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.ws-deliver-k { margin-top: 28px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9DBDF0 !important; }
.ws-deliver-side .ws-checks { margin-top: 8px; }
.ws-deliver-side .ws-checks li { font-size: 15.5px; }

/* insights + questions */
.ws-qa { margin-top: clamp(64px, 8vw, 112px); padding-top: 40px; border-top: 1px solid var(--ws-line); }

/* supporting page context bands */
.ws-ctxband-in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.ws-ctxgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.ws-ctxgrid-item { display: grid; gap: 10px; }
.ws-ctxgrid-item b { font-size: 15.5px; color: var(--ws-ink); }
.ws-ctxgrid-item:hover b { color: var(--ws-navy); }

@media (max-width: 1100px) {
  .ws-ctx-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-deliver-grid { grid-template-columns: 1fr; }
  .ws-deliver-side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
  .ws-deliver-side .ws-photo { grid-row: span 2; }
}
@media (max-width: 900px) {
  .ws-svx { grid-template-columns: 1fr; }
  .ws-svx-stage { display: none; }
  .ws-svx-thumb { display: grid; gap: 8px; grid-column: 2 / -1; margin-top: 14px; }
  .ws-svx-thumb img { width: 100%; height: auto; display: block; }
  .ws-svx-thumb small { font-size: 12.5px; color: var(--ws-muted); }
  .ws-svx-row.is-active { padding-left: 0; background: none; }
  .ws-flag, .ws-flag.flip { grid-template-columns: 1fr; }
  .ws-flag.flip .ws-flag-shot { order: 0; }
  .ws-ctx { grid-template-columns: 1fr; }
  .ws-ctx-item.main { grid-row: auto; }
  .ws-ctxband-in { grid-template-columns: 1fr; }
  .ws-boa-gal { grid-template-columns: 1fr 1fr; }
  .ws-boa-item, .ws-boa-item.lg { grid-column: span 1; }
  .ws-boa-item.lg:first-child { grid-column: 1 / -1; }
  .ws-ctxgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ws-plat-more-grid, .ws-steps4, .ws-ctx-all { grid-template-columns: 1fr; }
  .ws-deliver-side { grid-template-columns: 1fr; }
  .ws-boa-gal { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .ws-svx-stage { display: none; }
  .ws-svx { grid-template-columns: 1fr; }
  .ws-svx-thumb { display: grid; gap: 8px; grid-column: 2 / -1; margin-top: 14px; }
  .ws-svx-thumb img { width: 100%; height: auto; display: block; }
  .ws-svx-thumb small { font-size: 12.5px; color: var(--ws-muted); }
}
@media (prefers-reduced-motion: reduce) {
  .ws-svx-fig, .ws-flag-shot img, .ws-mini img, .ws-ctx-item .ws-photo img, .ws-boa-item .ws-zoom { transition: none; }
}
