/* SCOPE site: shared look for every page (SCOPE palette). */
:root {
  --navy: #0a1430; --panel: #12214a; --blue: #163b98; --accent: #ea640c; --accent-hover: #f47b2a;
  --paper: #f4f6fa; --line: #d5dbe6; --muted: #8a94a6; --soft: #c3cbda; --light: #eef1f7; --body-muted: #4e5b73;
  --display: 'Space Grotesk', system-ui, sans-serif; --text: 'Manrope', system-ui, sans-serif;
  --wrap: min(100% - 56px, 1328px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: clip; background: var(--navy); color: #fff; font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.s-wrap { width: var(--wrap); margin-inline: auto; }
.s-skip { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--accent); color: var(--navy); padding: 12px 18px; font-weight: 700; }
.s-skip:focus { top: 12px; }
.s-display { font-family: var(--display); font-weight: 500; letter-spacing: -0.055em; line-height: 1.02; }
.s-h1 { font-size: clamp(56px, 8vw, 124px); line-height: 0.95; letter-spacing: -0.065em; }
.s-h2 { font-size: clamp(38px, 4.6vw, 66px); }
.s-h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.04em; }
.s-accent { color: var(--accent); }
.s-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.s-lead { font-size: 17px; line-height: 1.75; color: var(--soft); max-width: 560px; }

/* Header */
.s-header { position: sticky; top: 0; z-index: 30; background: #0a1430ee; backdrop-filter: blur(10px); border-bottom: 1px solid #ffffff1f; }
.s-header .s-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.s-logo img { width: 140px; height: 46px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
.s-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 500; }
.s-nav a[aria-current="page"] { color: var(--accent); }
.s-nav .s-phone { color: var(--soft); }
.s-menu { display: none; border: 1px solid #ffffff55; background: transparent; color: #fff; font: inherit; font-size: 13px; padding: 10px 14px; cursor: pointer; }

/* Buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-height: 52px; padding: 0 22px; font-size: 13px; font-weight: 700; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, gap .2s; }
.s-btn-accent { background: var(--accent); color: var(--navy); }
.s-btn-accent:hover { background: var(--accent-hover); color: var(--navy); gap: 44px; }
.s-btn-line { border-color: #ffffff77; color: #fff; }
.s-btn-line:hover { border-color: var(--accent); }
.s-btn-white { background: #fff; color: var(--navy); }
.s-btn-white:hover { color: var(--navy); background: var(--light); }
.s-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Full-bleed photo hero / banner */
.s-hero { position: relative; isolation: isolate; min-height: min(86vh, 820px); display: flex; align-items: end; overflow: hidden; }
.s-hero > img, .s-banner > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.s-hero::after, .s-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a1430e6 0%, #0a143066 45%, #0a143000 75%), linear-gradient(0deg, #0a1430 0%, #0a143000 38%); }
.s-hero .s-wrap { padding-bottom: 80px; display: grid; gap: 30px; }
.s-hero-short { min-height: 560px; }
.s-banner { position: relative; isolation: isolate; min-height: 620px; display: flex; align-items: end; overflow: hidden; }
.s-banner::after { background: linear-gradient(0deg, #0a1430f0 0%, #0a143000 62%); }
.s-banner .s-wrap { padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.s-crumbs { font-size: 12px; color: var(--soft); }

/* Sections */
.s-section { padding: 96px 0; }
.s-section-tight { padding: 64px 0; }
.s-light { background: var(--paper); color: var(--navy); }
.s-light .s-eyebrow, .s-light .s-lead { color: var(--body-muted); }
.s-panel { background: var(--panel); }
.s-blue { background: var(--blue); }
.s-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 40px; margin-bottom: 40px; }
.s-link { font-size: 13px; font-weight: 700; color: var(--accent); }
.s-light .s-link { color: var(--blue); }

/* Photo tiles */
.s-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.s-tile { position: relative; isolation: isolate; overflow: hidden; min-height: 440px; display: flex; align-items: end; color: #fff; background: var(--panel); }
.s-tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.s-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0a1430e6, #0a143000 58%); }
.s-tile:hover > img { transform: scale(1.04); }
.s-tile:hover { color: #fff; }
.s-tile-body { padding: 24px; display: grid; gap: 6px; }
.s-tile-title { font-family: var(--display); font-size: 28px; letter-spacing: -0.04em; line-height: 1.12; }
.s-tile-meta { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.s-tile-sm { min-height: 300px; }
.s-tile-sm .s-tile-title { font-size: 22px; }
.s-tile-plain::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 80% 20%, #163b98 0, #12214a 55%); }

/* Mosaic */
.s-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 270px; gap: 14px; }
.s-mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
.s-mosaic figure { position: relative; overflow: hidden; }
.s-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.s-mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font-size: 13px; font-weight: 600; background: linear-gradient(0deg, #0a1430cc, #0a143000); }

/* Logos */
.s-logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px; padding-block: 30px; }
/* Logos on navy: invert, then screen-blend so opaque white backgrounds disappear. */
.s-logo-strip img { height: 34px; width: 112px; object-fit: contain; filter: grayscale(1) invert(1) contrast(1.2); mix-blend-mode: screen; opacity: 0.9; }
.s-logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.s-logo-wall span { background: #fff; height: 112px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-logo-wall img { width: 74%; height: 62px; object-fit: contain; }
.s-logo-wall-dark { border-color: #ffffff1f; }
.s-logo-wall-dark span { background: var(--panel); border-color: #ffffff1f; }
.s-logo-wall-dark img { filter: grayscale(1) invert(1) contrast(1.2); mix-blend-mode: screen; opacity: 0.9; }

/* Numbers */
.s-numbers-band { border-block: 1px solid #ffffff1f; }
.s-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-numbers div { padding: 40px 28px; display: grid; gap: 6px; border-left: 1px solid #ffffff1f; }
.s-numbers div:first-child { border-left: 0; padding-left: 0; }
.s-numbers strong { font-family: var(--display); font-weight: 500; font-size: clamp(54px, 6vw, 92px); letter-spacing: -0.06em; line-height: 0.95; color: var(--accent); }
.s-numbers span { font-size: 13px; color: var(--soft); }

/* Chips */
.s-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.s-chip { border: 1px solid #ffffff44; padding: 10px 14px; font-size: 13px; }
.s-light .s-chip { border-color: var(--line); background: #fff; }
.s-filter { min-height: 44px; padding: 0 18px; border: 1px solid #ffffff55; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.s-filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--navy); }

/* Split (photo + content) */
.s-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.s-split > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.s-split-body { padding: 72px clamp(28px, 5vw, 72px); display: grid; align-content: center; justify-items: start; gap: 26px; }
.s-split-body .s-form { justify-self: stretch; }

/* Form */
.s-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.s-form label { display: grid; gap: 6px; font-size: 12px; color: var(--soft); }
.s-form .s-full { grid-column: 1 / -1; }
.s-form input, .s-form select, .s-form textarea { width: 100%; min-height: 50px; border: 1px solid #ffffff2e; background: var(--navy); color: #fff; padding: 12px 14px; font: inherit; font-size: 15px; border-radius: 0; }
.s-form textarea { min-height: 120px; resize: vertical; }
.s-form input:focus, .s-form select:focus, .s-form textarea:focus { border-color: var(--accent); outline: none; }
.s-form [aria-invalid="true"] { border-color: #ffb27a; }
.s-form .wpcf7-not-valid-tip { color: #ffd0ad; font-size: 12px; }
.s-form .wpcf7-response-output { grid-column: 1 / -1; margin: 0; padding: 14px 16px; background: #ffffff14; border-left: 3px solid var(--accent); font-size: 14px; }
.s-form [type="submit"]:disabled { opacity: 0.7; cursor: wait; }
.s-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.s-form-note { font-size: 12px; color: var(--muted); }
.s-form-note a { text-decoration: underline; }

/* Contact details */
.s-details { display: grid; gap: 1px; background: #ffffff1f; border: 1px solid #ffffff1f; align-content: start; }
.s-details > * { background: var(--navy); padding: 22px 24px; display: grid; gap: 4px; }
.s-details small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.s-details img { padding: 0; width: 100%; height: 240px; object-fit: cover; }

/* Footer */
.s-footer { border-top: 1px solid #ffffff1f; padding: 52px 0 96px; font-size: 13px; color: var(--soft); }
.s-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 36px; }
.s-footer h2 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.s-footer ul { display: grid; gap: 6px; }
.s-footer .s-logo img { width: 128px; height: 42px; }
.s-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid #ffffff1f; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }


@media (max-width: 960px) {
  .s-menu { display: inline-flex; }
  .s-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 20px; background: var(--navy); border-bottom: 1px solid #ffffff1f; }
  .s-nav.is-open { display: flex; }
  .s-nav a { padding: 14px 0; border-bottom: 1px solid #ffffff14; }
  .s-split { grid-template-columns: 1fr; }
  .s-split > img { min-height: 320px; }
  .s-footer-grid { grid-template-columns: 1fr 1fr; }
  .s-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .s-logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  :root { --wrap: calc(100% - 40px); }
  .s-section { padding: 64px 0; }
  .s-hero .s-wrap { padding-bottom: 48px; }
  .s-tile { min-height: 340px; }
  .s-mosaic { grid-template-columns: 1fr; }
  .s-mosaic > :first-child { grid-column: auto; grid-row: span 1; }
  .s-numbers { grid-template-columns: 1fr; }
  .s-numbers div { border-left: 0; padding-left: 0; border-top: 1px solid #ffffff1f; }
  .s-numbers div:first-child { border-top: 0; }
  .s-logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-form { grid-template-columns: 1fr; }
  .s-footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- Refinements: photo grading, motion, quiet logo walls, mobile bar, solutions menu ---------- */
/* One shared, subtle grade so warm auditoriums and cool server rooms read as one set. */
.s-hero > img, .s-banner > img, .s-tile > img, .s-mosaic img, .s-split > img, .s-details img { filter: saturate(0.86) contrast(1.05) brightness(0.98); transition: filter .5s ease, transform .6s ease; }
.s-tile:hover > img, .s-mosaic figure:hover img { filter: saturate(1) contrast(1.02); }
.s-mosaic figure::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--navy); opacity: 0.12; mix-blend-mode: multiply; transition: opacity .5s; }
.s-mosaic figure:hover::before { opacity: 0; }
.s-mosaic figcaption { z-index: 2; }

/* Slow settle on hero photos. */
@keyframes s-settle { from { transform: scale(1.07); } to { transform: scale(1); } }
.s-hero > img { animation: s-settle 14s ease-out both; }

/* Scroll reveal (only when site.js enables it and motion is welcome). */
.s-motion .s-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.s-motion .s-reveal.is-visible { opacity: 1; transform: none; }

/* Client logos stay calm in grey until hovered. */
.s-logo-wall:not(.s-logo-wall-dark) img { filter: grayscale(1); opacity: 0.72; transition: filter .3s, opacity .3s; }
.s-logo-wall:not(.s-logo-wall-dark) span:hover img { filter: none; opacity: 1; }

/* Solutions drop-down with photos (multi-page design). */
.s-dd { position: relative; display: flex; align-items: center; }
.s-dd-panel { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); width: min(760px, 90vw); display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 12px; background: var(--navy); border: 1px solid #ffffff26; box-shadow: 0 24px 60px #00000066; }
.s-dd-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.s-dd:hover .s-dd-panel, .s-dd:focus-within .s-dd-panel { display: grid; }
.s-dd-panel a { position: relative; display: block; height: 150px; overflow: hidden; }
.s-dd-panel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.86); transition: transform .4s; }
.s-dd-panel a:hover img { transform: scale(1.05); }
.s-dd-panel span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 13px; font-weight: 600; background: linear-gradient(0deg, #0a1430e6, #0a143000); }

/* Sticky quick-contact bar on phones. */
.s-mobilebar { display: none; }

@media (max-width: 960px) {
  .s-dd { display: grid; }
  .s-dd-panel { position: static; transform: none; width: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); box-shadow: none; border: 0; padding: 4px 0 12px; background: transparent; }
  .s-dd-panel::before { display: none; }
  .s-dd-panel a { height: 96px; padding: 0; border: 0; }
}
@media (max-width: 600px) {
  body { padding-bottom: 64px; }
  .s-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--navy); border-top: 1px solid #ffffff26; }
  .s-mobilebar a { min-height: 56px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
  .s-mobilebar a + a { border-left: 1px solid #ffffff1f; }
  .s-mobilebar .s-mobilebar-accent { background: var(--accent); color: var(--navy); }
  .scopeis-navigator { bottom: 72px !important; }
}
@media (prefers-reduced-motion: reduce) { .s-hero > img { animation: none; } .s-motion .s-reveal { opacity: 1; transform: none; } }

/* ---------- Rows that scroll sideways ---------- */
/* The track scrolls on its own without script; site.js adds the arrows and a gentle auto-scroll. */
.s-rail { position: relative; min-width: 0; }
.s-rail-track { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.s-rail-track::-webkit-scrollbar { display: none; }
.s-rail-track > * { flex: 0 0 auto; scroll-snap-align: start; }
.s-rail-arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; display: none; place-items: center; padding: 0; border: 1px solid #ffffff66; background: #0a1430eb; color: #fff; font: 700 18px/1 var(--text); cursor: pointer; box-shadow: 0 10px 26px #0005; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.s-rail.is-scrollable .s-rail-arrow { display: grid; }
.s-rail-prev { left: -14px; }
.s-rail-next { right: -14px; }
.s-rail-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.s-rail-prev:hover { transform: translateX(-3px); }
.s-rail-next:hover { transform: translateX(3px); }
.s-rail-tiles .s-tile { width: clamp(250px, 27vw, 360px); min-height: 420px; }
.s-rail-awards .s-tile { width: clamp(200px, 20vw, 250px); min-height: 230px; }
.s-rail-awards .s-tile-body { padding: 14px; }
.s-rail-logos .s-rail-track { gap: 10px; }
/* Logo rows keep their arrows in a gutter beside the logos, never on top of one. */
.s-rail-logos.is-scrollable { padding-inline: 50px; }
.s-rail-logos .s-rail-arrow { width: 40px; height: 40px; margin-top: -20px; font-size: 16px; }
.s-rail-logos .s-rail-prev { left: 0; }
.s-rail-logos .s-rail-next { right: 0; }
.s-rail-logo { width: 156px; height: 100px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.s-rail-logo img { width: 74%; height: 58px; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter .3s, opacity .3s, transform .3s; }
.s-rail-logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- Dock: back to top and the assistant, in the site's own look ---------- */
.s-top { position: fixed; right: 16px; bottom: 80px; z-index: 44; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 1px solid #ffffff55; background: #0a1430f2; color: #fff; font: 700 18px/1 var(--text); cursor: pointer; box-shadow: 0 10px 30px #0006; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s, border-color .2s, color .2s; }
.s-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.s-top:hover { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.scopeis-navigator[data-state="open"] + .s-top { opacity: 0; pointer-events: none; }
.scopeis-navigator { --navigator-navy: var(--navy); --navigator-blue: var(--blue); --navigator-cyan: var(--accent); --navigator-line: #ffffff33; right: 16px; bottom: 16px; z-index: 46; font-family: var(--text); filter: none; }
.scopeis-navigator, .scopeis-navigator *, .scopeis-navigator *::before, .scopeis-navigator *::after { border-radius: 0 !important; }
.scopeis-navigator__launcher { display: flex; width: max-content; margin-left: auto; min-height: 52px; padding: 0 20px 0 12px; gap: 10px; border: 1px solid var(--accent); background: var(--accent); color: var(--navy); box-shadow: 0 10px 30px #0006; font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.scopeis-navigator__launcher:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 14px 36px #0008; }
.scopeis-navigator__launcher-orbit { display: none; }
.scopeis-navigator__launcher-mark { width: 30px; height: 30px; border: 0; background: transparent; box-shadow: none; }
.scopeis-navigator__launcher-mark svg { stroke: var(--navy); }
.scopeis-navigator__launcher-mark circle { fill: var(--navy); }
.scopeis-navigator__panel { border-color: #ffffff40; background: var(--navy); box-shadow: 0 24px 60px #000b; }
.scopeis-navigator__header { border-bottom-color: #ffffff26; background: var(--panel); }
.scopeis-navigator__identity strong { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; }
.scopeis-navigator__mark { border-color: var(--accent); background: transparent; box-shadow: none; }
.scopeis-navigator__mark svg { stroke: var(--accent); }
.scopeis-navigator__mark circle { fill: var(--accent); }
.scopeis-navigator__eyebrow, .scopeis-navigator__speaker, .scopeis-navigator__source-label { color: var(--accent); }
.scopeis-navigator__send, .scopeis-navigator__contact { border-color: var(--accent); background: var(--accent); color: var(--navy); }
.scopeis-navigator__send:hover, .scopeis-navigator__contact:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--navy); }
.scopeis-navigator__question { background: var(--panel); border-color: #ffffff40; color: #fff; }
.scopeis-navigator__bubble { background: var(--panel); border-color: #ffffff26; }
.scopeis-navigator__bubble--user { background: var(--blue); border-color: var(--blue); }
.scopeis-navigator__suggestion, .scopeis-navigator__quick-action { background: transparent; border-color: #ffffff40; color: #fff; }
.scopeis-navigator__suggestion:hover, .scopeis-navigator__quick-action:hover { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.scopeis-navigator a { color: var(--accent); }
.scopeis-navigator .scopeis-navigator__contact { color: var(--navy); }

/* ---------- Motion and small touches ---------- */
.s-header { transition: background .3s, box-shadow .3s; }
.s-header.is-scrolled { background: #0a1430fa; box-shadow: 0 12px 34px #0007; }
.s-link { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s ease, color .2s; }
.s-link:hover { background-size: 100% 1px; }
.s-tile { transition: box-shadow .4s ease; }
.s-tile:hover { box-shadow: 0 22px 46px #0006; }
.s-tile-title, .s-tile-meta { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
a.s-tile:hover .s-tile-title, a.s-tile:hover .s-tile-meta { transform: translateY(-6px); }
.s-chip { transition: border-color .2s, background .2s, color .2s; }
a.s-chip:hover { border-color: var(--accent); color: var(--accent); }
.s-motion .s-reveal-left { transform: translateX(-34px); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes s-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  .s-hero .s-wrap > * { animation: s-rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .s-hero .s-wrap > :nth-child(2) { animation-delay: .14s; }
  .s-hero .s-wrap > :nth-child(3) { animation-delay: .28s; }
  .s-hero .s-wrap > :nth-child(4) { animation-delay: .42s; }
}
@media (max-width: 600px) {
  .s-rail-prev { left: -8px; }
  .s-rail-next { right: -8px; }
  .s-rail-logos.is-scrollable { padding-inline: 46px; }
  .s-rail-arrow { width: 42px; height: 42px; margin-top: -21px; }
  .s-rail-tiles .s-tile { width: min(78vw, 300px); min-height: 360px; }
  .s-rail-logo { width: 132px; height: 88px; }
  .s-top { right: 10px; bottom: 132px; width: 48px; height: 48px; }
  .scopeis-navigator { right: 10px; }
  .scopeis-navigator__launcher { min-height: 48px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .s-top { transition: none; } }

/* ---------- Plain text pages (privacy policy) ---------- */
.s-page-head { padding: 150px 0 64px; border-bottom: 1px solid #ffffff1f; }
.s-page-head .s-wrap { display: grid; gap: 22px; }
.s-prose { max-width: 820px; display: grid; gap: 18px; font-size: 16px; line-height: 1.85; color: var(--body-muted); }
.s-prose h2, .s-prose h3 { margin-top: 26px; font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--navy); }
.s-prose h2 { font-size: clamp(24px, 2.4vw, 32px); padding-top: 26px; border-top: 1px solid var(--line); }
.s-prose h3 { font-size: 20px; }
.s-prose ul, .s-prose ol { padding-left: 22px; list-style: revert; display: grid; gap: 8px; }
.s-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.s-prose a:hover { color: var(--accent); }
@media (max-width: 600px) { .s-page-head { padding: 110px 0 44px; } }
