/* =========================================================
   JSPL Group of Companies — corporate website
   Static HTML (source in _src/, build with python _src/build.py)
   Palette taken from the JSPL logo (sky blue + orange) and the
   deep navy of the corporate profile.
   ========================================================= */

:root {
  --navy: #0a0f2c;
  --navy-2: #111a45;
  --navy-3: #1b2867;
  --navy-line: rgba(140, 170, 255, .16);
  --sky: #1ea7ec;
  --sky-deep: #0b7fc0;
  --orange: #f57c14;
  --orange-deep: #c95c00;
  --paper: #ffffff;
  --soft: #f3f6fb;
  --ink: #0b1230;
  --text: #2a3150;
  --muted: #555d7d;
  --line: #e1e6f0;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
h1 em, h2 em {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--orange-deep);
}
.section--dark h1 em, .section--dark h2 em, .hero h1 em, .page-hero h1 em,
.cta h2 em, .values-band h2 em { color: var(--orange); }
svg { width: 1em; height: 1em; flex: none; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(52px, 6.5vw, 84px) 0; }
.section-head--compact { margin-bottom: 28px; }
.section-head--compact h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.section--dark { background: var(--navy); color: rgba(255, 255, 255, .8); }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }

/* ---------- Helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--sky)); }
.eyebrow--light { color: var(--sky); }
.tag { background: var(--orange); color: var(--navy); border-radius: 6px; padding: 2px 8px; letter-spacing: .05em; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }
.section--dark .section-head p:last-child { color: rgba(255,255,255,.7); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row h2 { margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700; font-size: .95rem;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(245,124,20,.6); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: .92rem;
  color: var(--sky-deep);
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg, a:hover > .link-arrow svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--sky); }

.checklist li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { color: var(--orange); margin-top: 5px; font-size: 1.05rem; }
.checklist strong { color: var(--ink); }
.checklist--light li { border-color: var(--navy-line); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__group { display: flex; gap: 24px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { color: var(--orange); }
a.topbar__item:hover { color: #fff; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10,15,44,.35); border-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand__text {
  font-family: var(--f-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.25;
  color: var(--ink); border-left: 2px solid var(--line); padding-left: 12px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
  font-family: var(--f-display); font-weight: 600; font-size: .94rem;
  color: var(--ink); position: relative; padding: 6px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: clamp(52px, 6.5vw, 92px) 0 0;
}
.hero__bg, .page-hero__bg, .cta__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img, .page-hero__bg img, .cta__bg img { width: 100%; height: 115%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,15,44,.86) 0%, rgba(10,15,44,.6) 45%, rgba(10,15,44,.12) 100%),
    linear-gradient(0deg, rgba(10,15,44,.85) 0%, transparent 30%);
}
.hero__inner { position: relative; z-index: 1; max-width: var(--wrap); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.9vw, 4.1rem); }
.hero h1 em, .hero h1 .amp { font-family: var(--f-display); font-style: normal; font-weight: 800; letter-spacing: -.035em; }
.hero h1 .amp { color: var(--sky); }
.hero__lead { max-width: 600px; font-size: 1.08rem; color: rgba(255,255,255,.82); margin: 18px 0 28px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(255,255,255,.16);
}
.stat { padding: 22px 24px 24px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }
.stat strong { display: block; font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat > span { display: block; margin-top: 10px; color: rgba(255,255,255,.66); font-size: .9rem; }
.hero__stats .stat:last-child strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--orange); }

.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px);
}
.page-hero__bg img { opacity: .55; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,15,44,.97) 15%, rgba(10,15,44,.7) 60%, rgba(10,15,44,.45)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.page-hero__lead { max-width: 600px; font-size: 1.1rem; color: rgba(255,255,255,.8); margin: 20px 0 0; }
.page-hero h1 { max-width: 16ch; }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.subnav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06);
  font-family: var(--f-display); font-weight: 600; font-size: .9rem;
  transition: background .3s, border-color .3s;
}
.subnav a svg { color: var(--orange); }
.subnav a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.split--media { align-items: center; }
.split--rev > :first-child { order: 2; }
.highlights {
  background: var(--soft); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  border-top: 4px solid var(--orange);
}
.highlights h3 { font-size: 1.35rem; margin-bottom: 14px; }

.media-frame { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 30px 60px -30px rgba(10,15,44,.45); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4/5; max-width: 460px; justify-self: center; }
.media-frame--stack { aspect-ratio: auto; display: grid; gap: 14px; box-shadow: none; overflow: visible; }
.media-frame--stack img { border-radius: var(--radius); aspect-ratio: 16/9; box-shadow: 0 30px 60px -30px rgba(10,15,44,.45); }
.media-frame--stack img:last-child { width: 72%; margin: -70px 0 0 auto; border: 6px solid #fff; position: relative; }
.media-stack { margin: 0; position: relative; max-width: 440px; justify-self: center; }
.media-stack img { border-radius: var(--radius); aspect-ratio: 2/3; object-fit: cover; width: 100%; }
.media-stack::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border-radius: var(--radius); background: linear-gradient(135deg, var(--sky), var(--orange));
}
.media-stack figcaption {
  position: absolute; left: -20px; bottom: 32px;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: .88rem;
}

/* ---------- Verticals ---------- */
.verticals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vertical {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 30px 32px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  border: 1px solid var(--navy-line);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.vertical:hover { transform: translateY(-6px); border-color: rgba(30,167,236,.55); }
.vertical { overflow: hidden; }
.vertical__img { display: block; margin: -36px -30px 0; aspect-ratio: 16/9; overflow: hidden; position: relative; }
.vertical__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vertical__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,15,44,.75), transparent 55%); }
.vertical:hover .vertical__img img { transform: scale(1.06); }
.vertical__img ~ .vertical__num { z-index: 1; color: rgba(255,255,255,.9); font-size: 1.6rem; top: 18px; right: 20px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.vertical__img ~ .vertical__icon { position: relative; z-index: 1; margin-top: -27px; background: var(--orange); color: var(--navy); box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); }
.vertical__num { position: absolute; top: 26px; right: 28px; font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; color: rgba(255,255,255,.07); line-height: 1; }
.vertical__icon {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(30,167,236,.12); color: var(--sky);
  font-size: 1.6rem; margin-bottom: 22px;
}
.vertical h3 { font-size: 1.45rem; margin-bottom: 4px; }
.vertical__co { color: var(--orange); font-family: var(--f-display); font-weight: 600; font-size: .85rem; letter-spacing: .02em; }
.vertical p:not(.vertical__co) { color: rgba(255,255,255,.72); flex: 1; }
.vertical .link-arrow { align-self: flex-start; }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.project:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(10,15,44,.35); }
.project__media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media > img { transform: scale(1.05); }
.project__media--art { display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 4rem; }
.project__media--art svg { stroke-width: 1.1; }
.art--orange { background: radial-gradient(circle at 25% 20%, #ffb067 0, var(--orange) 35%, #8a3c00 100%); }
.art--blue { background: radial-gradient(circle at 70% 25%, #7fd3ff 0, var(--sky-deep) 40%, var(--navy-2) 100%); }
.project__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project__body > p:not(.project__place) { color: var(--muted); font-size: .95rem; flex: 1; }
.project__body .link-arrow { align-self: flex-start; }
.project__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--f-display); font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.project h3 { font-size: 1.35rem; margin-bottom: 6px; }
.project__place { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--sky-deep); font-weight: 600; margin-bottom: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-live { background: #e3f7ea; color: #127a3b; }
.status.is-ongoing { background: #e0f2fd; color: #0a6aa3; }
.status.is-delivered { background: #fff0e2; color: #a54a00; }
.status.is-upcoming { background: #eceef4; color: #4a5274; }
.project--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.project--feature .project__media { aspect-ratio: auto; min-height: 340px; }
.project--feature .project__body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.project--feature h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.project__badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255,255,255,.95); border-radius: 12px; padding: 8px 12px;
}
.project__badge img { height: 64px; width: auto; }

/* ---------- Clients marquee ---------- */
.clients { padding: 46px 0 50px; border-block: 1px solid var(--line); overflow: hidden; }
.clients__label { text-align: center; font-family: var(--f-display); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track span {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -.02em; color: var(--ink); white-space: nowrap;
  padding: 0 34px; display: flex; align-items: center; gap: 34px;
}
.marquee__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-left: 34px; margin-right: -34px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Leadership ---------- */
.leaders-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.leader-card {
  display: grid; grid-template-columns: 116px 1fr; gap: 22px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.leader-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(10,15,44,.4); }
.leader-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 10px; }
.leader-card .role { margin-bottom: 6px; }
.leader-card h3 { margin-bottom: 4px; }
.leader-card p:last-child { color: var(--muted); font-size: .94rem; margin: 0; }
.role { color: var(--orange-deep); font-family: var(--f-display); font-weight: 600; font-size: .88rem; margin-bottom: 12px; }

.leader { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; margin-bottom: clamp(56px, 7vw, 90px); }
.leader:last-child { margin-bottom: 0; }
.leader--flip { grid-template-columns: 1fr 300px; }
.leader--flip .leader__photo { order: 2; }
.leader__photo { position: relative; }
.leader__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--radius); position: relative; }
.leader__photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--orange); border-radius: var(--radius); }
.leader--flip .leader__photo::before { inset: -14px -14px 14px 14px; border-color: var(--sky); }
.leader h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.leader__note { border-left: 3px solid var(--orange); padding-left: 20px; font-family: var(--f-serif); font-size: 1.32rem; line-height: 1.45; color: var(--ink); font-style: italic; }

/* ---------- About ---------- */
.pillars { display: grid; gap: 14px; margin-top: 28px; }
.pillar { padding: 20px 24px; border-radius: 12px; background: var(--soft); border-left: 4px solid var(--sky); }
.pillar:nth-child(2) { border-color: var(--orange); }
.pillar:nth-child(3) { border-color: var(--navy-3); }
.pillar h3 { margin-bottom: 6px; font-size: 1.1rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .95rem; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-3), var(--navy-2)); border: 1px solid var(--navy-line); }
.vm__card h3 { font-size: 1.7rem; }
.vm__card p { color: rgba(255,255,255,.78); margin: 0; }
.pullquote { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 900px; text-align: center; }
.pullquote svg { font-size: 2.2rem; color: var(--orange); margin: 0 auto 14px; display: block; }
.pullquote p { font-family: var(--f-serif); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.35; color: #fff; margin: 0; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: t; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--orange)); }
.timeline li { position: relative; padding: 0 24px 0 0; }
.timeline__n {
  position: relative; display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 700;
  margin-bottom: 22px; box-shadow: 0 0 0 6px var(--soft);
}
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: .94rem; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; background: var(--navy); border-radius: var(--radius); padding: 10px 30px; }
.numbers .stat { padding: 28px 24px 30px; }
.numbers .stat:first-child { padding-left: 0; }

.values-band { background: var(--navy); color: rgba(255,255,255,.8); }
.values-band h2 { color: #fff; }
.media-trust { margin: 0; max-width: 400px; justify-self: center; border-radius: var(--radius); overflow: hidden; }
.media-trust img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.principles { margin: 26px 0 26px; }
.principles li { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); color: rgba(255,255,255,.55); padding: 14px 0; border-bottom: 1px solid var(--navy-line); letter-spacing: -.02em; }
.principles li span { color: #fff; }
.principles li:nth-child(1) span { color: var(--sky); }
.principles li:nth-child(2) span { color: var(--orange); }

/* ---------- Businesses ---------- */
.company__tagline { font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; color: var(--orange-deep); margin-top: -6px; }
.section--dark .company__tagline { color: var(--orange); }
.features { display: grid; gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 28px 26px; border-radius: var(--radius); background: var(--soft); border-top: 3px solid var(--sky); }
.feature:nth-child(even) { border-color: var(--orange); }
.feature__n { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; color: var(--orange); margin-bottom: 10px; line-height: 1; }
.feature .vertical__icon { width: 46px; height: 46px; font-size: 1.35rem; margin-bottom: 16px; background: rgba(30,167,236,.12); color: var(--sky-deep); }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
.feature--dark { background: var(--navy-2); border-top-color: var(--sky); border: 1px solid var(--navy-line); border-top-width: 3px; }
.feature--dark .vertical__icon { color: var(--sky); }
.feature--dark p { color: rgba(255,255,255,.7); }
.feature--img { overflow: hidden; padding-top: 0; }
.feature__img { display: block; margin: 0 -26px; aspect-ratio: 16/10; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature--img:hover .feature__img img { transform: scale(1.05); }
.feature--img .vertical__icon { position: relative; margin-top: -23px; background: var(--orange); color: var(--navy); }
.expansion { margin-top: 28px; padding: 24px 26px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--navy-line); }
.expansion h3 { font-size: 1.05rem; margin-bottom: 4px; }

.property {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  margin-top: 40px; padding: 26px 32px; border-radius: var(--radius);
  background: linear-gradient(110deg, #fff 0%, #fff7ee 100%); color: var(--text);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.property:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(0,0,0,.6); }
.property__logo { height: 92px; width: auto; }
.property h3 { color: var(--ink) !important; font-size: 1.4rem; margin-bottom: 4px; }
.property p { margin: 0; color: var(--muted); }
.property__kicker { font-family: var(--f-display); font-weight: 700; font-size: .75rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep) !important; margin-bottom: 6px !important; }

/* ---------- Investors ---------- */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.road__step {
  position: relative; padding: 34px 50px 34px 34px;
  background: var(--navy); color: rgba(255,255,255,.75);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%);
  margin-right: -10px;
}
.road__step:first-child { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); border-radius: var(--radius) 0 0 var(--radius); }
.road__step:nth-child(2) { background: var(--navy-2); padding-left: 52px; }
.road__step:nth-child(3) { background: var(--navy-3); padding-left: 52px; }
.road__step h3 { color: #fff; }
.road__step p { margin: 0; font-size: .94rem; }
.road__step .vertical__icon { width: 46px; height: 46px; font-size: 1.3rem; margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.panel { padding: 30px 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.panel h3 svg { color: var(--orange); }
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.model { padding: 30px 26px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s, color .3s; }
.model span { font-family: var(--f-serif); font-size: 2.4rem; color: var(--orange-deep); line-height: 1; }
.model h3 { margin: 0; font-size: 1.25rem; }
.model:hover { background: var(--navy); }
.model:hover h3 { color: #fff; }
.model:hover span { color: var(--orange); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy-3); color: #fff; padding: clamp(70px, 9vw, 120px) 0; text-align: center; }
.cta .eyebrow--light { color: #fff; }
.cta__bg img { opacity: .5; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(27,40,103,.94) 0%, rgba(11,127,192,.82) 100%); }
.cta__inner { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 800px; margin: 0 auto 34px; }
.cta .hero__cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.contact__info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 12px; border: 1px solid var(--line); }
.info-card .vertical__icon { margin: 0; width: 48px; height: 48px; font-size: 1.3rem; color: var(--sky-deep); }
.info-card h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info-card a, .info-card p { margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.info-card a:hover { color: var(--orange-deep); }
.info-card--link { background: #fff7ee; border-color: #fbe0c4; }
.info-card--link img { width: 64px; height: auto; }
.info-card--link p { font-family: var(--f-body); font-weight: 500; font-size: .94rem; color: var(--muted); }
.info-card--link p a { font-size: inherit; color: var(--orange-deep); text-decoration: underline; }
.form { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--soft); }
.form h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form__note { color: var(--muted); font-size: .94rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-family: var(--f-display); font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 13px 15px; border-radius: 10px; border: 1px solid #cfd6e4; background: #fff;
  font: inherit; font-family: var(--f-body); font-weight: 500; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(30,167,236,.18); }
.form .is-invalid { border-color: #d33; }
.form__status { margin: 14px 0 0; font-weight: 600; color: #127a3b; min-height: 1.5em; }
.form__status.is-error { color: #c22; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.4); }

/* ---------- Footer ---------- */
.footer { position: relative; background: #060920; color: rgba(255,255,255,.7); padding: 80px 0 30px; font-size: .94rem; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--sky) 0%, var(--sky) 50%, var(--orange) 50%, var(--orange) 100%); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.logo-chip { display: inline-block; background: #fff; border-radius: 12px; padding: 12px 18px; margin-bottom: 18px; }
.logo-chip img { height: 52px; width: auto; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--orange); }
.ico-out { font-size: .8em; vertical-align: -1px; }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact svg { color: var(--orange); margin-top: 5px; }
.footer__motto { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-block: 1px solid var(--navy-line); font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer__motto i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .84rem; color: rgba(255,255,255,.5); }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list { gap: 18px; }
  .nav { gap: 18px; }
  .features--4, .models { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr 1fr; }
  .project--feature { grid-template-columns: 1fr; }
  .project--feature .project__media { min-height: 0; aspect-ratio: 16/8; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 44px; }
  .burger { display: block; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    background: #fff; flex-direction: column; justify-content: center; gap: 32px;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 14px; }
  .nav__list a { font-size: 1.5rem; }
  .split, .contact, .vm, .two-col, .leaders-mini { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .verticals, .features--3 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .timeline { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .timeline::before { display: none; }
  .road { grid-template-columns: 1fr; gap: 10px; }
  .road__step, .road__step:first-child { clip-path: none; margin: 0; padding: 28px !important; border-radius: var(--radius); }
  .leader, .leader--flip { grid-template-columns: 1fr; }
  .leader--flip .leader__photo { order: 0; }
  .leader__photo { max-width: 360px; margin-left: 14px; }
  .property { grid-template-columns: 1fr; text-align: left; }
  .media-stack figcaption { left: 12px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .topbar .wrap > .topbar__item { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar__group { gap: 16px; font-size: .78rem; }
  .brand { gap: 10px; }
  .brand__text { font-size: .66rem; padding-left: 10px; }
  .projects, .features--4, .models, .timeline, .footer__top, .form__row { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; padding: 4px 24px; }
  .numbers .stat { padding: 22px 0; border-left: 0; }
  .numbers .stat + .stat { border-top: 1px solid rgba(255,255,255,.16); }
  .leader-card { grid-template-columns: 110px 1fr; gap: 18px; padding: 16px; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 16px; }
  .hero__stats .stat:nth-child(3) { padding-left: 0; }
  .media-stack::before { inset: 16px -12px -16px 12px; }
}

/* Dark sections on every page: same blue gradient as the CTA band */
.section--dark { background: linear-gradient(115deg, var(--navy-3) 0%, var(--sky-deep) 100%); }
.section--dark .eyebrow--light { color: #fff; }
.section--dark .section-head p:last-child { color: rgba(255,255,255,.85); }
.page-home .vertical { box-shadow: 0 24px 50px -28px rgba(0,0,0,.6); }

/* Projects page filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button {
  font: 600 .9rem var(--f-display); color: var(--ink); cursor: pointer;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  transition: background .25s, color .25s, border-color .25s;
}
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters button[disabled] { opacity: .45; cursor: default; }
.filters button span { opacity: .6; margin-left: 4px; }
.project[hidden] { display: none; }
.filters__empty { text-align: center; color: var(--muted); padding: 40px 0 0; }

/* About: closing values band uses the CTA blue gradient so it separates from the footer */
.values-band { background: linear-gradient(115deg, var(--navy-3) 0%, var(--sky-deep) 100%); color: rgba(255,255,255,.88); }
.values-band .eyebrow--light { color: #fff; }
.values-band .principles li { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }
.values-band .principles li:nth-child(1) span { color: #fff; }
.values-band .media-trust { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

/* Mobile menu: backdrop-filter on the header would trap the fixed overlay inside the header box */
@media (max-width: 960px) {
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand { position: relative; z-index: 60; }
  .nav {
    justify-content: flex-start; gap: 28px;
    padding: calc(var(--header-h) + 28px) 24px 40px;
    overflow-y: auto;
  }
  .nav__list { width: 100%; max-width: 420px; gap: 0; align-items: stretch; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { display: block; padding: 16px 4px; font-size: 1.35rem; }
  .nav__list a::after { display: none; }
  .nav__list a.is-active { color: var(--orange-deep); }
  .nav .btn { width: 100%; max-width: 420px; justify-content: center; padding: 15px 26px; font-size: 1rem; }
  .nav-open .header { box-shadow: none; }
}

/* Mobile menu contact links (hidden on desktop) */
.nav__contact { display: none; }
@media (max-width: 960px) {
  .nav__contact {
    display: grid; gap: 10px; width: 100%; max-width: 420px;
    margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line);
  }
  .nav__contact a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 12px; background: var(--soft);
    font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--ink);
  }
  .nav__contact svg { font-size: 1.15rem; color: var(--orange-deep); }
}

/* Lighter hero overlay: soft shadow keeps text crisp over the brighter photo */
.hero h1, .hero__lead, .hero .eyebrow { text-shadow: 0 2px 18px rgba(10,15,44,.55); }

/* Inner page heroes: same lighter overlay as the homepage hero */
.page-hero__bg img { opacity: 1; }
.page-hero__bg::after { background: linear-gradient(100deg, rgba(10,15,44,.86) 0%, rgba(10,15,44,.6) 45%, rgba(10,15,44,.15) 100%); }
.page-hero h1, .page-hero__lead, .page-hero .eyebrow { text-shadow: 0 2px 18px rgba(10,15,44,.55); }

/* Cards and text on the blue-gradient sections */
.section--dark { color: rgba(255,255,255,.88); }
.section--dark .vm__card,
.section--dark .feature--dark { background: rgba(10,15,44,.55); border-color: rgba(255,255,255,.14); box-shadow: 0 24px 50px -28px rgba(0,0,0,.6); }
.section--dark .feature--dark { border-top-color: var(--sky); }
.section--dark .feature--dark p, .section--dark .vm__card p { color: rgba(255,255,255,.82); }
.section--dark .expansion { background: rgba(10,15,44,.3); border-color: rgba(255,255,255,.18); }
.section--dark .checklist--light li { border-color: rgba(255,255,255,.18); }
.section--dark .vertical__icon { background: rgba(255,255,255,.12); color: #fff; }
.section--dark .feature--img .vertical__icon, .section--dark .vertical__img ~ .vertical__icon { background: var(--orange); color: var(--navy); }

/* ---------- Company pages & careers ---------- */
.page-hero__cta { margin-top: 32px; }
.features--flush { margin-top: 0; }
.feature--card { background: #fff; box-shadow: 0 20px 40px -30px rgba(10,15,44,.35); }
.timeline--light .timeline__n { background: var(--orange); color: var(--navy); box-shadow: 0 0 0 6px rgba(10,15,44,.35); }
.timeline--light h3 { color: #fff; }
.timeline--light p { color: rgba(255,255,255,.82); }
.company__more { margin-top: 22px; }
.h2-sm { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.muted { color: var(--muted); }
.info-card--warn { background: #fff7ee; border-color: #fbe0c4; align-items: flex-start; }
.info-card--warn .vertical__icon { color: var(--orange-deep); background: #fde6cf; }
.info-card--warn p { font-family: var(--f-body); font-weight: 500; font-size: .92rem; color: var(--muted); }
.form label small { font-weight: 500; color: var(--muted); }
.form .file input { padding: 11px; background: #fff; border-style: dashed; cursor: pointer; }
.form .file input::file-selector-button {
  margin-right: 14px; padding: 8px 16px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--navy); color: #fff; font: 600 .85rem var(--f-display);
}
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--f-body); font-weight: 500; font-size: .9rem; color: var(--muted); }
.form .consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--orange); }
.form .consent.is-invalid { color: #c22; }
.form button[disabled] { opacity: .6; pointer-events: none; }

/* Main nav: Businesses dropdown */
.has-sub { position: relative; }
.nav__sub { display: none; }
@media (min-width: 961px) {
  .nav__sub {
    display: block; position: absolute; top: 100%; left: -18px; min-width: 230px; margin-top: 14px;
    padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 24px 50px -24px rgba(10,15,44,.35);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
  .nav__sub a::after { display: none; }
  .nav__sub a:hover, .nav__sub a.is-active { background: var(--soft); color: var(--orange-deep); }
  .nav__sub svg { color: var(--orange); }
}
@media (max-width: 1180px) and (min-width: 961px) {
  .nav__list { gap: 16px; }
  .nav { gap: 16px; }
  .nav__list a { font-size: .88rem; }
  .brand__text { display: none; }
}
@media (max-width: 960px) {
  .nav__sub { display: block; padding: 0 0 10px 14px; }
  .nav__list .nav__sub li { border: 0; }
  .nav__list .nav__sub a { display: flex; align-items: center; gap: 10px; padding: 8px 4px; font-size: 1.05rem; color: var(--muted); }
  .nav__sub svg { color: var(--orange); }
}
.form--white { background: #fff; box-shadow: 0 24px 50px -30px rgba(10,15,44,.3); }
/* Spam honeypot: kept off-screen (not display:none, which some bots skip) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
