/* GeoSwift v2 — site styles */
/* Archivo (SIL Open Font License), self-hosted so pages make no requests to Google Fonts */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-variable.woff2") format("woff2-variations"), url("../fonts/archivo-latin-variable.woff2") format("woff2");
}

:root {
  --ink: #0f2436;
  --ink-2: #29425a;
  --muted: #56687a;
  --paper: #f5f6f3;
  --white: #ffffff;
  --line: #dde2e0;
  --brand: #1673ae;
  --brand-deep: #0b4a75;
  --brand-tint: #e3eff7;
  --ramp: linear-gradient(90deg, #2b4fd6, #19a7c9 25%, #3dbb6a 50%, #e9c83a 75%, #e0572b);
  --radius-s: 6px;
  --radius-m: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-stretch: 112%; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none;
  border-radius: var(--radius-s); border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-deep); color: var(--white); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: var(--radius-s); }
.nav a:hover { color: var(--brand); background: var(--brand-tint); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 15px; white-space: nowrap; }
.header-actions .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: auto; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1240px) {
  .header-phone { display: none; }
}
@media (max-width: 1140px) {
  .nav a { padding: 10px 9px; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .nav a { padding: 14px 8px; font-size: 17px; }
  .header-actions .btn { display: none; }
}

/* Hero */
.hero { background: var(--ink); color: var(--white); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(640px, calc(100vh - 72px)); }
.hero-copy { padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 56px) clamp(40px, 5vw, 64px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(36px, 4.2vw, 58px); font-stretch: 106%; letter-spacing: -.01em; }
.hero-lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: #c9d6e2; max-width: 34em; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: repeat(3, auto); gap: 8px 36px; justify-content: start; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt { order: 2; font-size: 14px; color: #a9bccd; }
.hero-facts dd { order: 1; margin: 0; font-size: 26px; font-weight: 700; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 60%; }
.hero-media figcaption:not(.rotator-bar) { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: var(--white); background: rgba(15,36,54,.72); padding: 4px 10px; border-radius: 4px; }
.ramp { height: 4px; background: var(--ramp); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
  .hero-copy { padding: 36px var(--gutter) 44px; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
  .hero-facts dd { font-size: 22px; }
}
@media (max-width: 420px) {
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-white { background: var(--white); }
.section-head { max-width: 46em; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--muted); }

/* Services: platforms by scale */
.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.scale-axis { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.scale-axis .ramp { flex: 1; border-radius: 2px; }
.platform { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.platform img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.platform-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.platform h3 { font-size: 21px; }
.platform .platform-scope { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--brand-deep); }
.platform p.desc { margin-top: 10px; color: var(--muted); font-size: 16px; }
.platform a.more { margin-top: auto; padding-top: 16px; font-weight: 600; text-decoration: none; }
.platform a.more:hover { text-decoration: underline; }
@media (max-width: 1000px) { .scale { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scale { grid-template-columns: 1fr; } }

/* Deliverables: one survey, four products */
.products { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.viewer { background: #05080b; border-radius: var(--radius-m); overflow: hidden; }
.viewer-tabs { display: flex; gap: 2px; padding: 6px; background: #0b1520; overflow-x: auto; }
.viewer-tabs button {
  flex: 1 0 auto; min-height: 44px; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 600;
  color: #b8c7d4; background: transparent; border: 0; border-radius: var(--radius-s); cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.viewer-tabs button:hover { color: var(--white); background: rgba(255,255,255,.06); }
.viewer-tabs button[aria-selected="true"] { color: var(--ink); background: var(--white); }
.viewer-stage { position: relative; aspect-ratio: 1400 / 632; }
.viewer-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.viewer-panel.is-active { opacity: 1; visibility: visible; }
.viewer-panel img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .viewer-panel { transition: none; } }
.viewer-caption { padding: 14px 18px 16px; color: #c9d6e2; font-size: 15px; min-height: 3.6em; }
.product-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.product-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.product-list strong { display: block; font-size: 17px; }
.product-list span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.formats { margin-top: 20px; font-size: 15px; color: var(--muted); }
.formats strong { color: var(--ink); }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

/* Case studies */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; }
.case img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.case-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.case h3 { font-size: 20px; }
.case .case-meta { margin-top: 4px; font-size: 14px; color: var(--brand-deep); font-weight: 600; }
.case p.outcome { margin-top: 12px; font-size: 16px; }
.case details { margin-top: 14px; font-size: 15px; color: var(--muted); }
.case summary { cursor: pointer; font-weight: 600; color: var(--brand); min-height: 32px; display: flex; align-items: center; }
.case details p { margin-top: 8px; }
.case details strong { color: var(--ink); }
@media (max-width: 1000px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cases { grid-template-columns: 1fr; } }

/* Recent projects log */
.log { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--white); border-radius: var(--radius-m); overflow: hidden; }
.log th, .log td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.log thead th { font-size: 14px; font-weight: 600; color: var(--muted); background: #eef1ef; }
.log td:first-child { font-weight: 600; }
.log td:last-child, .log th:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.log tbody tr:last-child td { border-bottom: 0; }
.log-wrap { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.log-more { margin-top: 16px; }
.log-more summary { cursor: pointer; font-weight: 600; color: var(--brand); min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  .log thead { display: none; }
  .log tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .log td { border: 0; padding: 0; }
  .log td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--muted); font-size: 15px; }
  .log td:last-child { grid-column: 2; grid-row: 1; font-size: 14px; }
}

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 24px 24px 0 0; }
.steps li::before { content: counter(step); display: block; font-size: 15px; font-weight: 700; color: var(--brand); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 21px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 8px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li { padding-right: 0; } }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: var(--radius-m); border: 1px solid var(--line); background: #fff; }
.industry h3 { margin-top: 14px; font-size: 19px; }
.industry p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, 1fr); } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.quotes figure { margin: 0; padding-left: 20px; border-left: 3px solid var(--brand); }
.quotes blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.quotes figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; gap: 24px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-text p + p { margin-top: 14px; }
.about-text p { color: var(--ink-2); }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 16px; }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; display: inline-block; padding: 10px 0; margin: -10px 0; }
.contact-list a:hover { text-decoration: underline; }
.brief { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 32px); }
.brief h3 { font-size: 24px; }
.brief > p { margin-top: 8px; color: var(--muted); }
.fields { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b9c3c9; border-radius: var(--radius-s); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,115,174,.22); }
.form-foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 15px; }
.form-status[data-state="ok"] { color: #1d7a3e; font-weight: 600; }
.form-status[data-state="error"] { color: #b3261e; font-weight: 600; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fields { grid-template-columns: minmax(0, 1fr); } .contact-list li { grid-template-columns: 1fr; gap: 0; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d6e2; padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 15px; font-stretch: 100%; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d6e2; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand img { width: 150px; background: var(--white); padding: 8px 10px; border-radius: var(--radius-s); }
.footer-brand p { margin-top: 14px; max-width: 26em; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #93a7b9; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating actions + assistant */
.fab-row { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; gap: 10px; align-items: flex-end; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(15,36,54,.28); color: var(--white); transition: transform .1s ease; }
.fab:active { transform: scale(.95); }
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: #1fa855; }
.fab-wa:hover { color: var(--white); background: #178a45; }
@media (max-width: 600px) {
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 22px; height: 22px; }
}

/* ---------- Service pages ---------- */
.page-hero .hero-grid { min-height: min(520px, calc(100vh - 72px)); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); }
.crumbs { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: #a9bccd; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6f8599; }
.crumbs a { color: #c9d6e2; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: var(--white); }

.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.covers > div { padding: 24px 28px 0 0; }
.covers h3 { font-size: 21px; }
.covers p { margin-top: 8px; color: var(--muted); }
@media (max-width: 800px) { .covers { grid-template-columns: 1fr; } .covers > div { padding-right: 0; } }

.spec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.spec-grid h3 { font-size: 20px; margin-bottom: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.equip { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.equip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.equip figcaption { padding: 14px 16px 16px; font-size: 15px; }
.equip figcaption strong { display: block; font-size: 16px; }
.equip figcaption span { color: var(--muted); }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: 1fr 1fr; } .equip { grid-column: 1 / -1; display: grid; grid-template-columns: 200px 1fr; align-items: center; } .equip img { height: 100%; } }
@media (max-width: 600px) { .spec-grid { grid-template-columns: 1fr; } .equip { grid-template-columns: 1fr; } }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.specs > div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 14px; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; font-stretch: 112%; font-variant-numeric: tabular-nums; }

.sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sequence figure { margin: 0; }
.sequence img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--line); }
.sequence figcaption { margin-top: 10px; font-size: 15px; }
.sequence figcaption strong { display: block; }
.sequence figcaption span { color: var(--muted); }
@media (max-width: 800px) { .sequence { grid-template-columns: 1fr; } }

.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-m); }
.wide-photo figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }

.cases.cases-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.log-single { margin-top: 32px; }
.log-single h3 { font-size: 19px; margin-bottom: 12px; }

.other { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.other a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
.other a:hover { border-color: var(--brand); color: var(--ink); }
.other img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-s); }
.other strong { display: block; font-size: 17px; }
.other span { display: block; font-size: 14px; color: var(--muted); }


/* Track record */
.record-facts { margin: 0 0 clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; border-top: 2px solid var(--ink); }
.record-facts > div { padding: 20px 20px 0 0; display: flex; flex-direction: column; }
.record-facts dt { order: 2; font-size: 15px; color: var(--muted); margin-top: 4px; }
.record-facts dd { order: 1; margin: 0; font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; font-stretch: 112%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.record-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); }
.record-grid h3 { font-size: 20px; margin-bottom: 12px; }
.sector-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.sector-bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.sector-name { font-weight: 600; }
.sector-count { font-weight: 700; font-variant-numeric: tabular-nums; }
.sector-bars .bar { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: #e6ebe9; position: relative; overflow: hidden; }
.sector-bars .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--n) / 29 * 100%); background: var(--brand); border-radius: 5px; }
.sector-eg { grid-column: 1 / -1; font-size: 15px; color: var(--muted); }
.record-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .record-facts { row-gap: 16px; } .record-grid { grid-template-columns: 1fr; } }

/* Operators band */
.operators { background: var(--ink); color: var(--white); }
.ops-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.operators h2 { font-size: clamp(30px, 3.6vw, 44px); }
.ops-lede { margin-top: 16px; font-size: 18px; color: #c9d6e2; }
.ops-steps { list-style: none; margin: 0; padding: 0; counter-reset: ops; display: grid; gap: 0; }
.ops-steps li { counter-increment: ops; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.16); }
.ops-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.ops-steps li::before { content: counter(ops); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--brand); color: var(--white); }
.ops-steps strong { font-size: 18px; }
.ops-steps span { color: #a9bccd; font-size: 15px; }
@media (max-width: 900px) { .ops-grid { grid-template-columns: 1fr; } }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { padding: 8px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.tools { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* Project showcase */
.showcase { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.showcase-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.showcase-list [role=tab] {
  display: flex; flex-direction: column; gap: 2px; text-align: left; width: 100%;
  padding: 16px 16px 16px 18px; font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.showcase-list [role=tab] strong { font-size: 17px; font-weight: 600; line-height: 1.3; }
.showcase-list [role=tab] span { font-size: 14px; color: var(--muted); }
.showcase-list [role=tab]:hover { background: rgba(22,115,174,.06); }
.showcase-list [role=tab][aria-selected="true"] { background: var(--white); border-left-color: var(--brand); }
.showcase-list [role=tab][aria-selected="true"] strong { color: var(--brand-deep); }
.showcase-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; min-height: 460px; }
.showcase-panel[hidden] { display: none; }
.showcase-media { margin: 0; position: relative; background: #0b1520; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.showcase-chips { position: absolute; left: 14px; bottom: 14px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.showcase-chips li { padding: 5px 10px; font-size: 13px; font-weight: 600; color: var(--white); background: rgba(15,36,54,.82); border-radius: 999px; }
.showcase-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; }
.showcase-body h3 { font-size: clamp(22px, 2.2vw, 28px); }
.showcase-body h3 span { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; font-stretch: 100%; color: var(--muted); }
.showcase-facts { margin: 22px 0 0; display: grid; gap: 18px; }
.showcase-facts dt { font-size: 14px; font-weight: 700; color: var(--brand-deep); }
.showcase-facts dd { margin: 4px 0 0; color: var(--ink-2); }
.showcase-facts .is-delivered { padding: 16px 18px; background: var(--brand-tint); border-radius: var(--radius-s); }
.showcase-facts .is-delivered dd { color: var(--ink); font-weight: 500; }
.showcase-cta { margin-top: auto; padding-top: 22px; font-weight: 600; text-decoration: none; }
.showcase-cta:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .showcase-panel:not([hidden]) { animation: showcase-in .25s ease; }
  @keyframes showcase-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 1000px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-list { flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 4px; scrollbar-width: thin; }
  .showcase-list [role=tab] { flex: 0 0 auto; width: auto; max-width: 240px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
  .showcase-list [role=tab][aria-selected="true"] { border-color: var(--brand); background: var(--brand-tint); }
  .showcase-list [role=tab] strong { font-size: 15px; }
  .showcase-list [role=tab] span { font-size: 13px; }
}
@media (max-width: 760px) {
  .showcase-panel { grid-template-columns: 1fr; min-height: 0; }
  .showcase-media { aspect-ratio: 4 / 3; }
}

/* Mobile refinements */
@media (max-width: 560px) {
  .platform { display: grid; grid-template-columns: 112px 1fr; }
  .platform img { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .platform-body { padding: 14px 14px 16px; }
  .platform h3 { font-size: 18px; }
  .platform p.desc { font-size: 15px; margin-top: 6px; }
  .platform a.more { padding-top: 0; min-height: 44px; display: flex; align-items: center; font-size: 15px; }
  .viewer-tabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .viewer-tabs button { min-height: 40px; padding: 0 8px; font-size: 14px; }
}

/* Hero rotator */
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; }
.rotator-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: linear-gradient(to top, rgba(15,36,54,.85), rgba(15,36,54,0)); }
.rotator-tabs { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.rotator-tabs button, .rotator-pause {
  min-height: 36px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--white);
  background: rgba(15,36,54,.6); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.rotator-tabs button:hover { background: rgba(15,36,54,.85); }
.rotator-tabs button[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.rotator-pause { width: 36px; padding: 0; display: grid; place-items: center; flex: none; }
.rotator-pause svg { width: 16px; height: 16px; }
.rotator-pause .i-play { display: none; }
.rotator-pause[aria-pressed="true"] .i-play { display: inline; }
.rotator-pause[aria-pressed="true"] .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
.l-short { display: none; }
@media (max-width: 900px) {
  .hero-rotator { aspect-ratio: auto; display: flex; flex-direction: column; }
  .hero-slides { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .rotator-bar { position: relative; padding: 8px var(--gutter); background: var(--ink); gap: 6px; }
  .rotator-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .rotator-tabs button { min-height: 44px; padding: 0 4px; font-size: 13px; border-radius: var(--radius-s); background: rgba(255,255,255,.06); }
  .rotator-pause { width: 44px; min-height: 44px; border-radius: var(--radius-s); background: rgba(255,255,255,.06); }
}
@media (max-width: 600px) {
  .l-long { display: none; }
  .l-short { display: inline; }
}

/* WhatsApp button appears after the hero */
.fab-row { transition: opacity .25s ease, transform .25s ease; }
.fab-row.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .fab-row { transition: none; } }

/* Industries as compact rows on phones */
@media (max-width: 560px) {
  .industries { grid-template-columns: 1fr; gap: 14px; }
  .industry { display: grid; grid-template-columns: 120px 1fr; column-gap: 14px; align-items: center; }
  .industry img { grid-row: span 2; aspect-ratio: 1; }
  .industry h3 { margin-top: 0; font-size: 18px; align-self: end; }
  .industry p { margin-top: 4px; align-self: start; }
}

/* Cookie consent (POPIA) */
.consent {
  position: fixed; z-index: 80; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px));
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 16px 40px rgba(15,36,54,.22); padding: 20px;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 18px; font-stretch: 100%; }
.consent p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.consent-actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .btn { min-height: 44px; font-size: 15px; }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--paper); color: var(--ink); }
body.consent-open .fab-row { display: none; }
.link-btn { padding: 0; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
.site-footer .link-btn { color: #c9d6e2; padding: 10px 0; margin: -10px 0; }
.site-footer .link-btn:hover { color: var(--white); text-decoration: underline; }
.form-privacy { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .consent { left: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 16px; } }

/* Policy page */
.policy-hero { background: var(--ink); color: var(--white); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.policy-hero h1 { font-size: clamp(32px, 4vw, 48px); }
.policy-meta { margin-top: 14px; color: #c9d6e2; max-width: 44em; }
.crumbs-dark { margin-bottom: 16px; }
.policy-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.policy-toc { position: sticky; top: 96px; }
.policy-toc h2 { font-size: 15px; font-stretch: 100%; color: var(--muted); margin-bottom: 10px; }
.policy-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.policy-toc a { display: block; padding: 10px 12px; font-size: 15px; color: var(--ink-2); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.policy-toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.policy-body { max-width: 46em; min-width: 0; }
.policy-section + .policy-section { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.policy-section h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.policy-section h3 { font-size: 18px; margin: 20px 0 6px; }
.policy-section p + p { margin-top: 12px; }
.policy-section p, .policy-list li { color: var(--ink-2); }
.policy-list { margin: 12px 0; padding-left: 20px; display: grid; gap: 8px; }
.policy-dl { margin: 16px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.policy-dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.policy-dl dt { color: var(--muted); }
.policy-dl dd { margin: 0; }
.policy-link { display: inline; color: var(--brand); text-decoration: underline; font-weight: 600; }
.policy-table-wrap { margin: 16px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); }
.policy-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.policy-table th, .policy-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.policy-table thead th { background: #eef1ef; font-size: 14px; color: var(--muted); }
.policy-table tbody tr:last-child td { border-bottom: 0; }
.policy-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; white-space: nowrap; }
@media (max-width: 900px) {
  .policy-grid { grid-template-columns: minmax(0, 1fr); }
  .policy-toc { position: static; }
}
@media (max-width: 520px) { .policy-dl > div { grid-template-columns: 1fr; gap: 2px; } }

@media (max-width: 600px) {
  .policy-table-wrap { overflow: visible; border: 0; }
  .policy-table { min-width: 0; }
  .policy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .policy-table tr { display: block; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 6px 14px; margin-bottom: 10px; }
  .policy-table td { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .policy-table td:last-child { border-bottom: 0; }
  .policy-table td::before { content: attr(data-label); font-family: var(--font); font-size: 13px; color: var(--muted); }
}

/* StrataSwift product section */
.strata-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.strata h2 { font-size: clamp(30px, 3.6vw, 44px); }
.strata-lede { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 36em; }
.strata-features { margin-top: 20px; }
.strata-launch { margin-top: 18px; font-weight: 600; color: var(--brand-deep); }
.strata .hero-ctas { margin-top: 20px; }
.strata-card { margin: 0; background: #062231; color: var(--white); border-radius: var(--radius-m); padding: clamp(24px, 3vw, 36px); }
.strata-name { font-size: clamp(28px, 3vw, 36px); font-weight: 700; font-stretch: 112%; }
.strata-tag { margin-top: 6px; color: #b9cad8; font-size: 17px; }
.strata-flow { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: sf; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.strata-flow li { counter-increment: sf; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-s); font-size: 15px; font-weight: 600; }
.strata-flow li::before { content: counter(sf); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--brand); color: var(--white); font-variant-numeric: tabular-nums; }
.strata-card figcaption { margin-top: 16px; font-size: 14px; color: #93a7b9; }
@media (max-width: 900px) { .strata-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .strata-flow { grid-template-columns: 1fr; } }
