/* ============================================================
   zentralk — project44-inspired B2B SaaS
   Palette:  #0051FF electric blue  /  #0A0F1C midnight navy
   Font:     Inter Tight (display) / Inter (body)
   ============================================================ */

:root {
  --blue: #0051FF;
  --blue-600: #0040cc;
  --blue-400: #3A8DFF;
  --blue-50: #eef3ff;
  --navy: #0A0F1C;
  --navy-700: #111827;
  --ink: #111827;
  --muted: #5b6474;
  --line: #e5e9f0;
  --bg: #ffffff;
  --panel: #f7f9fc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,15,28,.06), 0 2px 8px rgba(10,15,28,.04);
  --shadow-md: 0 10px 30px rgba(10,15,28,.08), 0 2px 6px rgba(10,15,28,.04);
  --shadow-lg: 0 30px 70px rgba(0,81,255,.18), 0 10px 30px rgba(10,15,28,.08);
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }

h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  color: var(--navy);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.025em; }
h3 { font-size: 22px; }
p  { margin: 0 0 1em; color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 600; font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s var(--ease);
  white-space: nowrap;
  overflow: hidden;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0,81,255,.22); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,81,255,.32); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: #cbd2de; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef3ff; color: var(--navy); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline-white:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229,233,240,.6);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.nav-logo img { height: 32px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: var(--navy);
  font-size: 15px; font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a.active, .nav-links a:hover { color: var(--blue); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .login { color: var(--navy); font-size: 15px; font-weight: 500; }
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-burger span {
  width: 18px; height: 2px; background: var(--navy); position: relative;
}
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0,81,255,.10), transparent 60%),
    radial-gradient(700px 400px at -5% 0%, rgba(58,141,255,.06), transparent 70%),
    #fff;
}
.hero .blob {
  position: absolute; z-index: -1;
  width: 420px; height: 420px; border-radius: 50%;
  filter: blur(80px); opacity: .6;
}
.hero .blob.b1 { top: -100px; right: -80px; background: radial-gradient(circle, #3A8DFF55, transparent 70%); }
.hero .blob.b2 { bottom: -120px; left: -120px; background: radial-gradient(circle, #0051FF44, transparent 70%); }
/* float1/float2 keyframes removed — Motion clause (M7 fix 2026-04-19). .blob has no HTML consumer; rules kept as harmless dead-code. */

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent {
  background: linear-gradient(100deg, #0051FF 0%, #3A8DFF 60%, #0051FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* shine keyframe removed — Motion clause (M7 fix 2026-04-19). .accent has no HTML consumer; gradient-text rules kept. */
.hero-sub { font-size: 19px; color: var(--muted); margin-bottom: 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* floatY keyframe removed — Motion clause (M7 fix 2026-04-19). .hero-visual has no HTML consumer; base rules kept. */
.hero-visual img, .hero-visual video { width: 100%; height: auto; display: block; }

/* Hero variant: full-bleed media + overlay text */
.hero-media {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,15,28,.55));
}

/* ---------- Page header (non-home) ---------- */
.page-header {
  padding: 96px 0 48px;
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(0,81,255,.08), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-header h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
.page-header p { font-size: 19px; max-width: 680px; margin: 0 auto; }

/* ---------- Logo strip ---------- */
.logos { padding: 48px 0; border-bottom: 1px solid var(--line); }
.logos-label {
  text-align: center; color: var(--muted);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 24px;
}
.logos-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px;
  align-items: center; opacity: .55; filter: grayscale(100%);
  transition: opacity .3s var(--ease);
}
.logos-row:hover { opacity: .85; }
.logos-row span {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  color: var(--navy); text-align: center;
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 18px; }
.section-pale { background: var(--panel); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-navy p { color: #9aa6b8; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6dde9; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card .more {
  margin-top: auto;
  color: var(--blue); font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card .more:hover { color: var(--blue-600); gap: 10px; }

.card-img {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card-img:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img .thumb { aspect-ratio: 4/3; overflow: hidden; }
.card-img .thumb img { width:100%; height:100%; object-fit:cover; transition: transform .4s var(--ease); }
.card-img:hover .thumb img { transform: scale(1.04); }
.card-img .body { padding: 28px; display:flex; flex-direction:column; flex:1; }
.card-img h3 { margin-bottom: 10px; }
.card-img .more { margin-top: auto; }

/* ---------- Platform showcase (big image) ---------- */
.platform-showcase {
  position: relative;
  margin-top: -16px; margin-bottom: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #0A0F1C;
}
.platform-showcase img, .platform-showcase video { width: 100%; height: 100%; object-fit: cover; }
.platform-showcase::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,15,28,.5));
}

/* ---------- Platform feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > .feature-text { order: 2; }
.feature-text h2 { font-size: 38px; }
.feature-text ul { list-style: none; padding: 0; margin: 18px 0 28px; }
.feature-text li {
  padding: 8px 0 8px 28px; position: relative;
  color: var(--ink); font-size: 16px;
}
.feature-text li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 16px; height: 16px; background: var(--blue);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'><path d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 111.4-1.4L8 12.58l7.3-7.29a1 1 0 011.4 0z'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'><path d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 111.4-1.4L8 12.58l7.3-7.29a1 1 0 011.4 0z'/></svg>") center/contain no-repeat;
}
.feature-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
.feature-visual:hover { transform: translateY(-4px); }
.feature-visual img { width: 100%; height: auto; display: block; }

/* ---------- Stats band ---------- */
.stats {
  background: var(--navy); color: #fff; padding: 80px 0;
  position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 20% 50%, rgba(0,81,255,.12), transparent 60%),
    radial-gradient(700px 300px at 80% 50%, rgba(58,141,255,.08), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.stat .num {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 650; letter-spacing: -0.03em;
  color: #fff; line-height: 1; margin-bottom: 10px;
}
.stat .num .unit { color: var(--blue-400); }
.stat .lbl {
  color: #9aa6b8; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}

/* ---------- Audience ---------- */
.audience-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  transition: all .25s var(--ease);
  display: flex; flex-direction: column;
}
.audience-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.audience-card .photo { aspect-ratio: 1/1; overflow: hidden; }
.audience-card .photo img { width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.audience-card:hover .photo img { transform: scale(1.06); }
.audience-card .body { padding: 28px; }
.audience-card .role {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--blue); margin-bottom: 10px;
}
.audience-card h3 { margin-bottom: 12px; font-size: 22px; }

/* ---------- Map section ---------- */
.map-section {
  position: relative;
  background: linear-gradient(180deg, #0A0F1C 0%, #0a1329 100%);
  color: #fff; overflow: hidden;
}
.map-section h2 { color: #fff; }
.map-section p { color: #aab4c6; }
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,.08);
}
.map-wrap img { width: 100%; display: block; }
.map-overlay {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 32px; align-items: end; gap: 20px;
}
.map-stat {
  background: rgba(10,19,41,.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 16px 18px;
}
.map-stat .v {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 26px; font-weight: 650; color: #fff; line-height: 1;
  margin-bottom: 6px;
}
.map-stat .l { color: #9aa6b8; font-size: 13px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #0A0F1C 0%, #0b1a42 55%, #0051FF 140%);
  color: #fff; text-align: center; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(58,141,255,.22), transparent 60%),
    radial-gradient(800px 400px at 80% 80%, rgba(0,81,255,.32), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(36px, 5vw, 52px); margin-bottom: 16px; }
.cta p { color: #c9d3e5; font-size: 19px; margin-bottom: 32px; }
.cta-buttons { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info .item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .lbl {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--blue); margin-bottom: 6px;
}
.contact-info .val { color: var(--ink); font-size: 16px; line-height: 1.5; }
form.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
}
form.contact-form .field { margin-bottom: 18px; }
form.contact-form label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--navy); margin-bottom: 8px;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,81,255,.15);
}
form.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Focus rings (Principle VII / FR11.4) ---------- */
/* Brand-coloured focus ring for buttons + links — keyboard users only via :focus-visible.
   Form inputs already have their own box-shadow focus above. */
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-white:focus-visible,
.service-cta:focus-visible,
a:focus-visible,
.nav-links a:focus-visible,
.nav-burger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Team / values (About) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value h3 { font-size: 20px; margin-bottom: 8px; }
.value .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: #05080F; color: #9aa6b8;
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { color: #8592a7; font-size: 14px; max-width: 280px; }
.footer h4 {
  font-size: 13px; color: #fff;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 20px; font-weight: 600;
  font-family: Inter, sans-serif;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #9aa6b8; font-size: 14px; transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #6d7a90;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom .legal a { color: #6d7a90; margin-left: 20px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .feature-row, .grid-3, .grid-2, .footer-grid, .stats-grid, .values-grid, .contact-grid {
    grid-template-columns: 1fr; gap: 40px;
  }
  .feature-row.reverse > .feature-text { order: 0; }
  .logos-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .nav-links, .nav-cta .login { display: none; }
  .nav-burger { display: inline-flex; }
  section { padding: 72px 0; }
  .map-overlay { grid-template-columns: 1fr; padding: 16px; gap: 10px; }
  form.contact-form .row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .logos-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
}

/* ============================================================
   EDITORIAL LAYER — Flexport-inspired asymmetric layout
   ============================================================ */

.wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

.display, .display-xl {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--navy);
}
.display { font-size: clamp(56px, 9vw, 120px); }
.display-xl { font-size: clamp(64px, 11vw, 160px); }
.display em, .display-xl em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}

.kicker {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: ""; width: 24px; height: 1px; background: var(--muted);
}

/* Editorial hero */
.hero-ed {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 80px 0 0;
  overflow: hidden;
}
.hero-ed::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(0,81,255,.05), transparent 60%),
    #fafbfd;
}
.hero-ed-text {
  padding: 0 32px 120px 32px;
  max-width: 720px;
  margin-left: auto;
  justify-self: end;
  width: 100%;
}
.hero-ed-text .kicker { margin-bottom: 32px; }
.hero-ed-text p {
  font-size: 20px; max-width: 540px; margin: 28px 0 36px;
  color: var(--ink); line-height: 1.5;
}
.hero-ed-visual {
  position: relative;
  height: 100%;
  min-height: 88vh;
  margin-right: calc((100vw - 100%) / -2);
  overflow: hidden;
}
.hero-ed-visual img,
.hero-ed-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-ed-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250,251,253,.8) 0%, transparent 25%);
}

/* Ticker marquee */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: #fff;
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  /* marquee animation removed — Principle VI Motion clause forbids always-on motion (M7 fix 2026-04-19) */
  white-space: nowrap;
}
.ticker-track span {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--navy);
}
.ticker-track span.dim { color: #c7cdd9; }
.ticker-track .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); display: inline-block; margin: 0 14px;
  vertical-align: middle;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Editorial section head */
.ed-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.ed-head h2 {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 16px 0 0;
}
.ed-head-side p { font-size: 18px; max-width: 480px; }

/* Service row */
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 60px;
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .num {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.service-row .service-title {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 20px;
  color: var(--navy);
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 650;
}
.service-row p { font-size: 17px; max-width: 440px; }
.service-row .service-cta {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 600; font-size: 16px;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--navy);
}
.service-row .service-cta:hover { color: var(--blue); border-color: var(--blue); gap: 16px; }
.service-row .service-visual {
  position: relative;
  height: 440px;
  overflow: hidden;
  border-radius: 4px;
}
.service-row .service-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.service-row:hover .service-visual img { transform: scale(1.03); }
.service-row.flip > .service-text { order: 2; }

/* Big single stat */
.stat-huge {
  padding: 120px 0;
  background: #fafbfd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-huge-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
}
.stat-huge .big {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(90px, 14vw, 200px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--navy);
  font-weight: 650;
}
.stat-huge .big .unit {
  color: var(--blue);
  font-weight: 500;
  font-style: italic;
}
.stat-huge .aside p {
  font-size: 18px;
  color: var(--ink);
  max-width: 420px;
  line-height: 1.5;
}
.stat-huge .aside .micro-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stat-huge .aside .ms .v {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 28px; font-weight: 650;
  color: var(--navy);
}
.stat-huge .aside .ms .l {
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 60px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.timeline:last-child { border-bottom: 1px solid var(--line); }
.timeline .step-no {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 22px; font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.timeline .step-title {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--navy);
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 650;
}
.timeline .step-body p {
  font-size: 17px;
  color: var(--ink);
  max-width: 460px;
  margin: 0;
}

/* Industries mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}
.mosaic figure { position: relative; overflow: hidden; border-radius: 4px; margin: 0; }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figure figcaption {
  position: absolute; left: 20px; bottom: 20px;
  color: #fff;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 22px; font-weight: 650; letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.mosaic figure .role {
  position: absolute; left: 20px; top: 20px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #fff;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  padding: 5px 10px; border-radius: 999px;
}
.mosaic .a { grid-column: 1; grid-row: 1 / span 2; }
.mosaic .b { grid-column: 2; grid-row: 1; }
.mosaic .c { grid-column: 3; grid-row: 1; }
.mosaic .d { grid-column: 4; grid-row: 1 / span 2; }
.mosaic .e { grid-column: 2 / span 2; grid-row: 2; }

/* Callout */
.callout {
  padding: 112px 0;
  background: var(--navy);
  color: #fff;
}
.callout blockquote {
  margin: 0;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
  max-width: 960px;
  font-weight: 500;
}
.callout blockquote em { color: var(--blue-400); font-style: italic; font-weight: 500; }
.callout .attr {
  margin-top: 40px;
  font-size: 14px; color: #9aa6b8;
  text-transform: uppercase; letter-spacing: 0.14em;
}

/* Editorial CTA */
.cta-ed {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.cta-ed-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
}
.cta-ed h2 {
  font-size: clamp(48px, 7vw, 110px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
  color: var(--navy);
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 650;
}
.cta-ed .ways a {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 20px; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.cta-ed .ways a:last-child { border-bottom: 1px solid var(--line); }
.cta-ed .ways a:hover { color: var(--blue); padding-left: 8px; }
.cta-ed .ways a .arr { transition: transform .2s var(--ease); }
.cta-ed .ways a:hover .arr { transform: translateX(4px); }

/* ============================================================
   MEGA-MENU NAV (project44-inspired)
   ============================================================ */
.nav-links.mega { gap: 28px; }
.nav-links.mega > li {
  position: static;
  list-style: none;
}
.nav-links.mega > li > a,
.nav-links.mega > li > button {
  background: transparent; border: 0; cursor: pointer;
  padding: 6px 0; color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
}
.nav-links.mega > li > a:hover,
.nav-links.mega > li > button:hover { color: var(--blue); }
.nav-links.mega > li > a.active::after,
.nav-links.mega > li > button[aria-expanded="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-links.mega .caret {
  width: 10px; height: 10px;
  transition: transform .2s var(--ease);
}
.nav-links.mega > li > button[aria-expanded="true"] .caret { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  left: 0; right: 0; top: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(10,15,28,.08);
  padding: 40px 0 48px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 49;
}
.mega-panel.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.mega-col h5 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 16px;
}
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin-bottom: 10px; }
.mega-col a {
  color: var(--navy); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s var(--ease), gap .15s var(--ease);
}
.mega-col a:hover { color: var(--blue); gap: 10px; }
.mega-col a .arr { color: var(--blue); opacity: 0; transition: opacity .15s; }
.mega-col a:hover .arr { opacity: 1; }
.mega-feature {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 28px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.mega-feature h5 { color: var(--blue-400); margin-bottom: 12px; }
.mega-feature h4 {
  font-family: 'Inter Tight', sans-serif;
  color: #fff; font-size: 20px; line-height: 1.15;
  margin: 0 0 8px; font-weight: 650;
}
.mega-feature p { color: #9aa6b8; font-size: 14px; margin: 0 0 16px; }
.mega-feature a {
  color: #fff; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  align-self: flex-start; padding-bottom: 2px;
}
.mega-feature a:hover { border-color: var(--blue-400); color: var(--blue-400); }

/* backdrop when mega open */
body.mega-open::before {
  content: ""; position: fixed; inset: 72px 0 0 0; z-index: 48;
  background: rgba(10,15,28,.25);
  animation: fadeIn .2s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 960px) {
  .mega-panel { display: none; }
  .nav-links.mega { flex-direction: column; gap: 0; }
}

@media (max-width: 960px) {
  .hero-ed { grid-template-columns: 1fr; min-height: auto; padding-bottom: 40px; }
  .hero-ed-text { padding: 0 24px 40px; justify-self: start; }
  .hero-ed-visual { margin-right: 0; height: 420px; min-height: 0; }
  .ed-head { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
  .service-row.flip > .service-text { order: 0; }
  .service-row .service-visual { height: 280px; }
  .stat-huge-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 40px 1fr; gap: 24px; }
  .timeline .step-body { grid-column: 2; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaic figure { grid-column: auto !important; grid-row: auto !important; height: 220px; }
  .cta-ed-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   M1 — content layout patterns (data table, spec table, fee
   list, map panel, cross-links). Pre-T007 relocation target:
   these will move to assets/css/layouts.css in M2.
   ============================================================ */

.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.data-table thead th {
  background: var(--panel);
  text-align: left;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.data-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fbfcfe; }
.data-table td .corridor { font-weight: 600; color: var(--navy); }
.data-table td .muted { color: var(--muted); font-size: 13px; }
.data-table td .pill {
  display: inline-block; padding: 2px 10px;
  background: var(--blue-50); color: var(--blue-600);
  font-size: 12px; font-weight: 600; border-radius: 999px;
}

.spec-table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.spec-table tbody th {
  text-align: left;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 650;
  color: var(--navy);
  padding: 18px 18px 18px 0;
  width: 30%;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table tbody td {
  padding: 18px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }

.fee-list { display: grid; grid-template-columns: 1fr 2fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.fee-list > dt {
  grid-column: 1;
  padding: 22px 24px 22px 0;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 650;
  color: var(--navy);
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}
.fee-list > dd {
  grid-column: 2;
  margin: 0;
  padding: 22px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.fee-list > dd p { margin: 0 0 .4em; }
.fee-list > dd p:last-child { margin: 0; }

.hubs-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.hubs-panel .hubs-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hubs-panel .hubs-list li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 20px; }
.hubs-panel .hubs-list .code { font-family: 'Inter Tight', sans-serif; font-weight: 700; color: var(--navy); font-size: 16px; letter-spacing: .02em; }
.hubs-panel .hubs-list .detail { color: var(--muted); font-size: 15px; }
.hubs-panel .hubs-list .detail strong { color: var(--navy); font-weight: 600; }
.hubs-panel .hubs-map { position: sticky; top: 96px; }
.hubs-panel .hubs-map img { border-radius: 12px; box-shadow: var(--shadow-sm); }
.hubs-panel .hubs-map figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }

.cross-links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid var(--line); padding-top: 40px;
}
.cross-links a {
  display: block; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: 10px;
  color: var(--navy);
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.cross-links a:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--navy); }
.cross-links a .kicker { display: block; margin-bottom: 8px; }
.cross-links a strong { font-family: 'Inter Tight', sans-serif; font-weight: 650; font-size: 18px; }
.cross-links a p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.mode-block {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 40px; padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.mode-block:last-child { border-bottom: 0; }
.mode-block .mode-label {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 6px;
}
.mode-block h3 { margin-bottom: 10px; font-size: 24px; }
.mode-block p { margin: 0 0 .6em; }
.mode-block ul { margin: 12px 0 0; padding: 0; list-style: none; }
.mode-block ul li { padding: 6px 0 6px 20px; color: var(--muted); font-size: 15px; position: relative; }
.mode-block ul li::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 600; }

.sample-marker {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(58, 141, 255, 0.12);
  color: var(--blue-600);
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  vertical-align: middle;
}
.sample-marker.on-dark { background: rgba(58, 141, 255, 0.2); color: var(--blue-400); }

.map-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.map-split .map-figure {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-split .map-figure img { width: 100%; display: block; }
.map-split .map-figure .map-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 15, 28, 0.86);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.map-split .map-narrative h3 { font-size: 24px; margin-bottom: 14px; }
.map-split .map-narrative p { margin: 0 0 1em; }
.map-split .map-narrative .kpi-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 24px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.map-split .map-narrative .kpi-row .kpi-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
  display: block; margin-bottom: 4px;
}
.map-split .map-narrative .kpi-row .kpi-value {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px; font-weight: 650;
  color: var(--navy);
  letter-spacing: -0.02em;
}

@media (max-width: 960px) {
  .hubs-panel { grid-template-columns: 1fr; gap: 32px; }
  .hubs-panel .hubs-map { position: static; }
  .cross-links { grid-template-columns: 1fr; }
  .mode-block { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .mode-block .mode-label { padding-top: 0; }
  .fee-list { grid-template-columns: 1fr; }
  .fee-list > dt { padding: 20px 0 4px; border-bottom: 0; }
  .fee-list > dd { padding: 0 0 20px; }
  .spec-table tbody th { width: auto; padding-right: 16px; }
  .map-split { grid-template-columns: 1fr; gap: 32px; }
  .map-split .map-narrative .kpi-row { grid-template-columns: 1fr; gap: 20px; }
}
