/* COPS Solutions – Venture builder homepage preview
   Dark blue version. Headlines: Unison Pro (Bold, uppercase). Body: Museo Sans. Labels: JetBrains Mono.
   Hero: dark space background from COPSnew. Accents: #f58220 (orange), #002f5e (navy). */

@font-face {
  font-family: 'Unison Pro';
  src: url("../fonts/UnisonProBold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* Body font: Museo Sans. Available files: 100, 100 Italic, 300, 500.
   CSS weights map to the nearest file: 100–200 → 100, 300–400 (normal text) → 300, 500–900 (bold) → 500. */
@font-face { font-family: 'Museo Sans'; src: url("../fonts/MuseoSans-100.ttf") format("truetype"); font-weight: 100 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Museo Sans'; src: url("../fonts/MuseoSans-100Italic.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Museo Sans'; src: url("../fonts/MuseoSans-300.ttf") format("truetype"); font-weight: 300 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Museo Sans'; src: url("../fonts/MuseoSans-500.ttf") format("truetype"); font-weight: 500 900; font-style: normal; font-display: swap; }

:root {
  --display: 'Unison Pro', 'Museo Sans', system-ui, sans-serif;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #0b1b2e;
  --text: #3a4553;
  --muted: #56606e;
  --faint: #8a919b;
  --line: #e4e2dc;
  --placeholder: #eef1f5;
  --navy: #002f5e;
  --navy-deep: #021931;
  --orange: #f58220;

  --font: 'Museo Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --max: 1200px;
  --gutter: 24px;
  --pad-x: 120px;
  --section-y: 128px;
  --radius: 5px;
  --nav-h: 84px;

  --pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='white' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M0 42 L42 0 L84 42 L42 84 Z'/%3E%3Cpath d='M0 42 L84 42 M42 0 L42 84'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23002f5e' stroke-opacity='0.08' stroke-width='1'%3E%3Cpath d='M0 42 L42 0 L84 42 L42 84 Z'/%3E%3Cpath d='M0 42 L84 42 M42 0 L42 84'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1, h2 { font-family: var(--display); font-weight: 700; font-synthesis: none; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--pad-x) * 2); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

.label { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label--light { color: rgba(255,255,255,.6); }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); font-size: 15px; }
.h2 { font-size: 34px; line-height: 1.15; }
.lede { font-size: 17px; line-height: 1.6; color: var(--text); }

.section-head { align-items: start; }
.section-head .label { grid-column: 1 / span 3; padding-top: 14px; }
.section-head .section-head-main { grid-column: 4 / span 9; }
.section-head--split { align-items: end; }
.section-head--split .section-head-left { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 20px; }
.section-head--split .section-head-right { grid-column: 8 / span 5; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.section-head--split .section-head-right.lede { align-items: stretch; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 22px;
  border-radius: var(--radius); border: 0; font: 600 15px var(--font); white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--ink); }
.btn--orange, .btn--accent { background: var(--orange); color: var(--navy); font-weight: 700; }
.btn--orange:hover { background: #ff9a3f; color: var(--navy); }
.btn--accent:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--xl { height: 60px; padding: 0 32px; font-size: 17px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--navy); }
.text-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
a:hover .text-link svg { transform: translateX(3px); }

.underline-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--navy);
  border-bottom: 2px solid var(--orange); padding-bottom: 4px; white-space: nowrap; align-self: flex-start;
}
.section-head-right .underline-link { align-self: flex-end; }
.underline-link--light { color: #fff; }
.underline-link svg, .answer a svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s ease; }
.underline-link:hover svg, .answer a:hover svg { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background-color .3s ease, border-color .3s ease;
}
.topbar.is-scrolled {
  background: rgba(251,250,247,.94);
  backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { position: relative; display: block; }
.logo img { height: 44px; width: auto; transition: opacity .3s ease; }
.logo .logo-blue { position: absolute; inset: 0; opacity: 0; }
.topbar.is-scrolled .logo-white { opacity: 0; }
.topbar.is-scrolled .logo-blue { opacity: 1; }

.nav-links { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; }
.nav-links > a, .nav-drop-toggle { color: #fff; position: relative; padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; transition: color .3s ease; }
.topbar.is-scrolled .nav-links > a, .topbar.is-scrolled .nav-drop-toggle { color: var(--ink); }
.nav-drop-toggle svg { width: 14px; height: 14px; }
.nav-links > a::after, .nav-drop-toggle::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links > a:hover::after, .nav-drop:hover .nav-drop-toggle::after { transform: scaleX(1); }

.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: -20px; width: 300px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px -12px rgba(0,47,94,.3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav-drop-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.nav-drop-menu a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius); }
.nav-drop-menu a:hover { background: var(--bg); }
.nav-drop-menu b { font-size: 15px; font-weight: 600; color: var(--ink); }
.nav-drop-menu span { font-size: 13px; color: var(--muted); }

.nav-right { display: flex; align-items: center; gap: 24px; }
.lang { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.6); }
.lang a { color: rgba(255,255,255,.6); }
.lang a.is-active { color: #fff; }
.topbar.is-scrolled .lang, .topbar.is-scrolled .lang a { color: var(--muted); }
.topbar.is-scrolled .lang a.is-active { color: var(--ink); }
.topbar.is-scrolled .btn--accent:hover { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius);
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.topbar.is-scrolled .nav-toggle, .topbar.is-open .nav-toggle { color: var(--ink); border-color: var(--line); }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--nav-h) + 96px) 0 112px;
  background:
    linear-gradient(100deg, rgba(2,25,49,.5) 0%, rgba(2,25,49,.3) 45%, rgba(2,25,49,.35) 100%),
    url("../img/BG.png") center 40% / cover no-repeat,
    var(--navy-deep);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--pattern-light) repeat;
  -webkit-mask-image: radial-gradient(ellipse 120% 110% at 0% 0%, #000 0%, rgba(0,0,0,.5) 70%, transparent 85%);
          mask-image: radial-gradient(ellipse 120% 110% at 0% 0%, #000 0%, rgba(0,0,0,.5) 70%, transparent 85%);
}
.hero > .wrap { position: relative; }
.hero-row { align-items: center; row-gap: 48px; }
.hero-intro { grid-column: 1 / span 9; display: flex; flex-direction: column; gap: 32px; }

.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: rgba(255,255,255,.65); }
.eyebrow .sq { width: 6px; height: 6px; background: var(--orange); }

.hero h1 { font-size: clamp(40px, 3.05vw, 66px); line-height: 1.12; color: #fff; }
.hero h1 .accent { position: relative; white-space: nowrap; color: #fff; }
.hero h1 .accent-line { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .3em; overflow: visible; pointer-events: none; }
.hero h1 .accent-line path {
  fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: underline-draw 1.1s cubic-bezier(.65,0,.35,1) 1.1s both;
}
@keyframes underline-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.lede-xl { font-size: 20px; font-weight: 100; line-height: 1.55; color: rgba(255,255,255,.75); max-width: 760px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

@keyframes hero-fade-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero .lede-xl, .hero .hero-cta, .hero .router { animation: hero-fade-in 1.5s cubic-bezier(.22,.61,.36,1) both; }
.hero h1 { animation-delay: .15s; }
.hero .lede-xl { animation-delay: .35s; }
.hero .hero-cta { animation-delay: .5s; }
.hero .router { animation-delay: .6s; }

/* Router: frosted card on the dark hero */
.router {
  grid-column: 8 / span 5; min-width: 0;
  background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  padding: clamp(20px, 2.4vw, 30px);
}
.router-q { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.opts { display: grid; gap: 8px; }
.opt {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  width: 100%; text-align: left; background: transparent;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; font: 500 17px/1.35 var(--font); color: var(--ink);
  cursor: pointer; transition: border-color .15s, background-color .15s;
}
.opt:hover { border-color: #c9ced6; }
.opt .to { font: 500 12px var(--mono); color: var(--muted); }
.opt[aria-pressed="true"] { border-color: var(--orange); background: #fff4ea; }
.opt[aria-pressed="true"] .to { color: #b85a05; }
.opt::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.router.is-auto .opt.is-timing::after { animation: router-progress var(--router-interval, 5000ms) linear forwards; }
.router.is-paused .opt.is-timing::after { animation-play-state: paused; }
@keyframes router-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.answer { margin-top: 16px; padding: 18px; border-radius: var(--radius); background: var(--bg); border: 1px dashed #c9ced6; display: grid; }
.answer-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; }
.answer-panel.is-active { visibility: visible; opacity: 1; transition: opacity .25s ease; }
.answer h3 { font-size: 20px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.answer h3 small { font: 500 12px var(--mono); letter-spacing: .06em; color: var(--orange); white-space: nowrap; }
.answer p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 8px; }
.answer a { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--orange); }

/* ---------- Numbers band ---------- */
.numbers { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 44px 0 40px; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat b { font-size: 60px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.stat b .plus { color: var(--orange); margin-left: 4px; }
.stat b .cur { color: var(--navy); margin-right: 2px; }
.stat > span { font-size: 15px; color: var(--muted); }

/* ---------- Pillars ---------- */
.pillars { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.pillar {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 40px; min-height: 520px;
  padding: 48px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0,47,94,.35); }
.pillar--dark { background: var(--pattern-light) repeat, linear-gradient(140deg, #02233d 0%, #004e70 100%); border-color: transparent; color: #fff; }
.pillar-range { font-size: 84px; font-weight: 600; letter-spacing: -.05em; line-height: .9; color: var(--navy); }
.pillar-range i { font-style: normal; color: var(--orange); }
.pillar--dark .pillar-range { color: #fff; }
.pillar-body { display: flex; flex-direction: column; gap: 16px; }
.pillar-body h3 { font-size: 32px; line-height: 1.15; letter-spacing: -.02em; }
.pillar-body p { font-size: 17px; line-height: 1.6; color: var(--text); max-width: 46ch; }
.pillar--dark .pillar-body p { color: rgba(255,255,255,.75); }
.pillar--dark .tag { color: rgba(255,255,255,.6); }
.pillar ul { display: grid; gap: 10px; margin-top: 8px; }
.pillar li { position: relative; padding-left: 22px; font-size: 16px; font-weight: 500; }
.pillar li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--orange); }
.pillar .text-link { margin-top: auto; align-self: flex-end; font-size: 20px; gap: 10px; }
.pillar .text-link svg { width: 20px; height: 20px; }
.pillar--dark .text-link { color: #fff; }

/* ---------- Steps (12 → 12×) ---------- */
.steps { margin-top: 72px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: s; }
.step { position: relative; padding: 32px 20px 8px 0; display: flex; flex-direction: column; gap: 6px; }
.step + .step { padding-left: 20px; border-left: 1px solid var(--line); }
.step::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); }
.step + .step::before { left: -5px; }
.step-unit { font-size: 56px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.step-scale { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.step b { font-size: 17px; font-weight: 600; }
.step p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.step--key::before { background: var(--orange); width: 13px; height: 13px; top: -7px; left: -7px; }
.step--key .step-unit { color: var(--orange); }

/* ---------- Scaling list ---------- */
.services-list { margin-top: 72px; border-bottom: 1px solid var(--line); }
.service-row { padding: 40px 0; border-top: 1px solid var(--line); color: var(--ink); transition: background-color .2s ease; }
.service-row:hover { background: var(--bg); }
.service-row:hover .service-arrow { transform: translateX(6px); color: var(--orange); }
.service-title { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 10px; }
.service-title h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); transition: color .2s ease; }
.service-row:hover .service-title h3 { color: var(--orange); }
.service-desc { grid-column: 5 / span 4; font-size: 17px; line-height: 1.6; color: var(--text); }
.service-proof { grid-column: 9 / span 3; font-size: 14px; line-height: 1.6; color: var(--muted); padding-left: 20px; border-left: 2px solid var(--orange); align-self: start; }
.service-arrow { grid-column: 12 / span 1; display: flex; justify-content: flex-end; align-items: center; align-self: center; color: var(--navy); transition: transform .2s ease, color .2s ease; }
.service-arrow svg { width: 40px; height: 40px; }

/* ---------- Cases ---------- */
.case-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gutter); }
.case { display: flex; flex-direction: column; gap: 20px; color: var(--ink); }
.case--feature {
  grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center;
  padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.case-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--placeholder); }
.case--feature .case-media { aspect-ratio: 16 / 9; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case:hover .case-media img { transform: scale(1.03); }
.case-body { display: flex; flex-direction: column; gap: 12px; }
.case-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.case h3 { font-size: 24px; letter-spacing: -.02em; color: var(--navy); transition: color .2s ease; }
.case:hover h3 { color: var(--orange); }
.case--feature h3 { font-size: 44px; letter-spacing: -.03em; }
.case p { font-size: 15px; line-height: 1.6; color: var(--text); }
.case--feature p { font-size: 18px; }
.case blockquote { margin: 12px 0 0; padding-left: 20px; border-left: 2px solid var(--orange); font-size: 18px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.case blockquote cite { display: block; margin-top: 8px; font: 400 13px var(--mono); color: var(--muted); font-style: normal; }

.pill { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; }
.pill--build { background: var(--navy); color: #fff; }
.pill--scale { background: #fff1e4; color: #a64f02; }

/* Image placeholders: brand-coloured with the diamond pattern until real photos arrive */
.case-media--ph { display: flex; align-items: center; justify-content: center; }
.case-media--ph span { font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.case-media--ph.ph-a { background: var(--pattern-light) repeat, linear-gradient(140deg, #02233d, #004e70); }
.case-media--ph.ph-b { background: var(--pattern-light) repeat, linear-gradient(140deg, #0e3f6b, #2f8ad6); }
.case-media--ph.ph-c { background: var(--pattern-navy) repeat, #e8edf3; }
.ph-c span { color: var(--navy); }
.case-media--ph.ph-d { background: var(--pattern-light) repeat, linear-gradient(140deg, #f58220, #d0600a); }

.clients { margin-top: 96px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.logo-row { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-cell { height: 112px; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.logo-cell + .logo-cell { border-left: 1px solid var(--line); }
.logo-cell img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .2s, opacity .2s; }
.logo-cell:hover img { filter: none; opacity: 1; }
.wordmark { font-size: 18px; font-weight: 600; color: var(--faint); text-align: center; transition: color .2s; }
.wordmark:hover { color: var(--navy); }

/* ---------- Events (dark) ---------- */
.events { background: var(--pattern-light) repeat, var(--navy-deep); color: #fff; }
.events .h2 { color: #fff; }
.events .lede { color: rgba(255,255,255,.7); }


/* ---------- People ---------- */
.team-head { align-items: start; }
.team-head .label { grid-column: 1 / span 3; padding-top: 14px; }
.team-head .h2 { grid-column: 4 / span 5; padding-right: 20px; }
.team-copy { grid-column: 9 / span 4; font-size: 17px; line-height: 1.65; color: var(--text); padding-top: 8px; }
.people { margin-top: 72px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); }
.person { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.portrait {
  aspect-ratio: 4 / 5; margin-bottom: 14px; border-radius: var(--radius);
  display: flex; align-items: flex-end; padding: 16px;
  font-size: 40px; font-weight: 600; letter-spacing: -.03em; color: rgba(0,47,94,.35);
  background: var(--pattern-navy) repeat, linear-gradient(160deg, #eef1f5, #dde3ea);
}
.person b { font-size: 18px; font-weight: 600; }
.person span { font-size: 14px; color: var(--muted); }
.person--more .portrait { background: var(--pattern-light) repeat, var(--navy); color: var(--orange); }
.person--more span { color: var(--navy); font-weight: 600; }

/* ---------- Presence + partners ---------- */
.presence-grid { align-items: center; }
.presence-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 28px; }
.statement { font-size: 34px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: var(--faint); }
.statement strong { color: var(--navy); font-weight: 600; }
.hubs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.hubs div { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--orange); }
.hubs b { font-size: 20px; font-weight: 600; }
.hubs span { font-size: 14px; color: var(--muted); }
.map { grid-column: 6 / span 7; }
.map img { width: 100%; border-radius: var(--radius); }

.partners { margin-top: 88px; display: flex; flex-direction: column; gap: 20px; }
.partner-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner { padding: 28px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.partner + .partner { border-left: 1px solid var(--line); }
.partner b { font-size: 18px; font-weight: 600; color: var(--faint); transition: color .2s; }
.partner:hover b { color: var(--navy); }
.partner span { font: 400 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }

/* ---------- Blog ---------- */
.card-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gutter); }
.card { display: flex; flex-direction: column; gap: 20px; color: var(--ink); }
.card-media { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--placeholder); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.post h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.01em; transition: color .2s; }
.post:hover h3 { color: var(--navy); }

/* ---------- CTA ---------- */
.cta-section { background: var(--surface); padding-bottom: var(--section-y); }
.cta {
  padding: 88px 80px; border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(2,25,49,.92) 0%, rgba(2,25,49,.6) 100%), url("../img/BG.png") center 70% / cover no-repeat, var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.cta h2 { max-width: 640px; font-size: 36px; line-height: 1.15; color: #fff; }
.cta p { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.7); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex-shrink: 0; }
.cta-mail { font-size: 14px; color: rgba(255,255,255,.7); }
.cta-mail:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 88px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--pattern-navy) repeat; background-position: right bottom;
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 100%); mask-image: linear-gradient(100deg, transparent 20%, #000 100%);
}
.footer > .wrap { position: relative; }
.footer-brand { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 24px; }
.footer-brand img { height: 44px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.signup { display: flex; flex-direction: column; gap: 10px; }
.signup .label { font-size: 12px; }
.signup-row { display: flex; gap: 8px; }
.signup input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font: 400 15px var(--font); background: var(--surface); }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-col .label { font-size: 12px; margin-bottom: 4px; }
.foot-col .label--gap { margin-top: 18px; }
.foot-col a { color: var(--ink); }
.foot-col a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.foot-col > span:not(.label) { color: var(--muted); font-size: 14px; }
.foot-col--a { grid-column: 6 / span 3; }
.foot-col--b { grid-column: 9 / span 2; }
.foot-col--c { grid-column: 11 / span 2; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); }
.social a:hover { border-color: var(--navy); text-decoration: none; }
.social svg { width: 17px; height: 17px; }
.foot-bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 28px; }
.foot-bottom a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  :root { --pad-x: 64px; }
  .nav-links { gap: 24px; }
  .lang { display: none; }
}

@media (max-width: 1080px) {
  :root { --pad-x: 48px; --section-y: 104px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad-x) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .topbar.is-open { background: var(--bg); }
  .topbar.is-open .logo-white { opacity: 0; }
  .topbar.is-open .logo-blue { opacity: 1; }
  .nav-links > a, .nav-drop-toggle { color: var(--ink) !important; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links > a::after, .nav-drop-toggle::after { display: none; }
  .nav-drop-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; background: transparent; }
  .topbar.is-open .nav-links { display: flex; }

  .section-head .label, .team-head .label { grid-column: 1 / -1; padding-top: 0; margin-bottom: 20px; }
  .section-head .section-head-main, .team-head .h2, .team-copy { grid-column: 1 / -1; }
  .team-copy { max-width: 640px; margin-top: 20px; }
  .section-head--split .section-head-left, .section-head--split .section-head-right { grid-column: 1 / -1; }
  .section-head--split .section-head-right { margin-top: 20px; align-items: flex-start; }
  .section-head-right .underline-link { align-self: flex-start; }

  .hero-intro, .router { grid-column: 1 / -1; }
  .router { max-width: 640px; }


  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }

  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .step:nth-child(4) { padding-left: 0; border-left: 0; }
  .step:nth-child(4)::before { left: 0; }

  .service-title { grid-column: 1 / span 11; margin-bottom: 16px; }
  .service-arrow { grid-column: 12 / span 1; grid-row: 1; }
  .service-desc { grid-column: 1 / span 7; }
  .service-proof { grid-column: 8 / span 5; }

  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case--feature { grid-template-columns: 1fr; gap: 28px; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(4) { border-left: 0; }
  .logo-cell:nth-child(n+4) { border-top: 1px solid var(--line); }

  .people { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }

  .presence-copy, .map { grid-column: 1 / -1; }
  .map { margin-top: 48px; }
  .partner-row { grid-template-columns: repeat(4, 1fr); }
  .partner:nth-child(5) { border-left: 0; }
  .partner:nth-child(n+5) { border-top: 1px solid var(--line); }

  .cta { padding: 64px 48px; flex-direction: column; align-items: flex-start; }
  .cta-actions { align-items: flex-start; }
  .cta h2 { font-size: 32px; }
  .hero h1 { font-size: clamp(30px, 5.2vw, 52px); }

  .footer-brand { grid-column: 1 / -1; margin-bottom: 48px; max-width: 480px; }
  .foot-col--a { grid-column: 1 / span 4; }
  .foot-col--b { grid-column: 5 / span 4; }
  .foot-col--c { grid-column: 9 / span 4; }
}

@media (max-width: 760px) {
  :root { --pad-x: 20px; --section-y: 80px; --nav-h: 68px; }
  .logo img { height: 30px; }
  .nav-right { gap: 12px; }
  .nav-right .btn { display: none; }

  .hero { padding: calc(var(--nav-h) + 56px) 0 64px; }
  .hero h1 { font-size: 28px; }
  .hero h1 .accent { white-space: normal; }
  .lede-xl { font-size: 18px; }
  .opt { font-size: 16px; padding: 14px 16px; }

  .h2 { font-size: 24px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 22px 0; flex-direction: row; align-items: baseline; gap: 16px; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat b { font-size: 40px; }

  .pillars { margin-top: 48px; }
  .pillar { padding: 32px 24px; gap: 28px; }
  .pillar-range { font-size: 72px; }
  .pillar-body h3 { font-size: 26px; }

  .steps { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .step:nth-child(odd)::before { left: 0; }
  .step:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .step:nth-child(even)::before { left: -5px; }
  .step-unit { font-size: 44px; }

  .services-list { margin-top: 48px; }
  .service-row { padding: 32px 0; row-gap: 16px; }
  .service-title { grid-column: 1 / span 10; margin-bottom: 0; }
  .service-title h3 { font-size: 24px; }
  .service-arrow { grid-column: 11 / span 2; }
  .service-desc, .service-proof { grid-column: 1 / -1; }

  .case-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .case--feature h3 { font-size: 34px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .logo-cell:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .logo-cell:nth-child(even) { border-left: 1px solid var(--line); }
  .logo-cell:nth-child(-n+2) { border-top: 0; }


  .people { grid-template-columns: repeat(2, 1fr); }
  .statement { font-size: 26px; }
  .partner-row { grid-template-columns: repeat(2, 1fr); }
  .partner:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .partner:nth-child(even) { border-left: 1px solid var(--line); }
  .partner:nth-child(-n+2) { border-top: 0; }

  .card-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .cta { padding: 48px 24px; gap: 32px; }
  .cta h2 { font-size: 24px; }

  .foot-col--a, .foot-col--b { grid-column: span 6; margin-bottom: 40px; }
  .foot-col--c { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; margin-top: 48px; }
}

/* ---------- Hero: highlighted words ---------- */
.hero h1 .hl { font-style: normal; color: var(--orange); }

/* ---------- Hero router: muted glass panel on the dark hero ---------- */
.router {
  background: rgba(190, 210, 230, .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.55);
  color: #fff;
}
.router-q { color: var(--ink); font-weight: 600; }
.opt { border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.opt:hover { border-color: #fff; background: rgba(255,255,255,.05); }
.opt .to { color: rgba(255,255,255,.18); }
.opt[aria-pressed="true"] { border-color: var(--orange); background: rgba(255,255,255,.04); }
.opt[aria-pressed="true"] .to { color: var(--orange); }
.answer { background: #fff; border: 0; color: var(--ink); }

/* Router with two options: taller two-line options keep the panel height of the original three-option version */
.opt { min-height: 89px; }
@media (min-width: 1081px) and (max-width: 1280px) { .opt { min-height: 113px; } }
.opt-txt { display: flex; flex-direction: column; gap: 4px; }
.opt-txt small { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.6); }
@media (max-width: 760px) { .opt { min-height: 113px; } }

/* ---------- Footer: dark ---------- */
.footer { background: var(--pattern-light) repeat, var(--navy-deep); border-top: 0; color: #fff; }
.footer::before { display: none; }
.footer-brand p, .foot-col > span:not(.label), .foot-bottom, .foot-bottom a { color: rgba(255,255,255,.75); }
.footer .label { color: rgba(255,255,255,.5); }
.foot-col a { color: #fff; }
.foot-bottom a:hover { color: #fff; }
.foot-bottom { border-top-color: rgba(255,255,255,.14); }
.signup input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.signup input::placeholder { color: rgba(255,255,255,.5); }
.signup .btn--accent:hover { background: #fff; color: var(--navy); }
.social a { border-color: rgba(255,255,255,.2); color: #fff; }
.social a:hover { border-color: #fff; }
.cta-section { border-bottom: 0; }

/* ---------- CTA: gradient + pattern (no photo, so BG.png is not repeated) ---------- */
.cta { background: var(--pattern-light) repeat, linear-gradient(120deg, #02233d 0%, #004e70 100%); }

/* ---------- Footer: BG image + pattern overlay, as in the hero ---------- */
.footer {
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(2,25,49,.74) 0%, rgba(2,25,49,.4) 50%, rgba(2,25,49,.35) 100%), url("../img/BG.png") center 100% / cover no-repeat, var(--navy-deep);
}
.footer::before {
  display: block; background: var(--pattern-light) repeat; background-position: left top;
  -webkit-mask-image: radial-gradient(ellipse 120% 110% at 0% 0%, #000 0%, rgba(0,0,0,.5) 70%, transparent 85%);
          mask-image: radial-gradient(ellipse 120% 110% at 0% 0%, #000 0%, rgba(0,0,0,.5) 70%, transparent 85%);
}

/* ---------- Insights: no bottom border ---------- */
#insights { border-bottom: 0; }

/* ---------- COPS Group band: map on the right, dark gradient on the left ---------- */
.group-band {
  position: relative;
  min-height: 460px;
  display: flex; align-items: center;
  padding: 96px 0;
  background:
    linear-gradient(90deg, #021931 0%, #021931 24%, rgba(2,25,49,.72) 44%, rgba(0,47,94,.42) 68%, rgba(0,47,94,.28) 100%),
    url("../img/Europe_map-COPS.png") left 38vw center / auto 112% no-repeat,
    #b4c5d3; /* the sea is transparent in the map image: this light blue-grey shows through it */
  color: #fff;
}
.group-band > .wrap { position: relative; }
.group-copy { max-width: 440px; display: flex; flex-direction: column; gap: 20px; }
.group-copy h2 { font-size: 30px; line-height: 1.2; color: #fff; }
.group-copy p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.75); }

/* ---------- Partners (own section under the band) ---------- */
.partners-section { padding: 88px 88px 0 88px; }
.partners-section .partners { margin-top: 0; }
/* CTA as the last block before the footer (subpages): same space below as above */
.partners-section:has(+ .footer) { padding-bottom: 88px; }

@media (max-width: 1080px) {
  .group-band { min-height: 400px; background-position: 0 0, 70% center, 0 0; background-size: auto, cover, auto; }
}
@media (max-width: 760px) {
  .group-band { min-height: 0; padding: 72px 0; }
  .group-band { background: linear-gradient(180deg, rgba(2,25,49,.88) 0%, rgba(2,25,49,.6) 100%), url("../img/Europe_map-COPS.png") 45% center / cover no-repeat, #b4c5d3; }
  .group-copy h2 { font-size: 24px; }
  .partners-section { padding: 64px 0; }
  .partners-section:has(+ .footer) { padding-bottom: 64px; }
}

/* ---------- Scroll reveal ---------- */
.js-reveal .reveal:not(.is-visible) { opacity: 0; }
.js-reveal .reveal.is-visible { animation: hero-fade-in 1.3s cubic-bezier(.22,.61,.36,1) both; animation-delay: var(--reveal-delay, 0s); }
@keyframes fade-from-left { from { opacity: 0; transform: translateX(-25px); } to { opacity: 1; transform: none; } }
.js-reveal .section-head.reveal.is-visible,
.js-reveal .section-head--split.reveal.is-visible,
.js-reveal .team-head.reveal.is-visible { animation-name: fade-from-left; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   DARK BLUE THEME (test) – follows the live cops.solutions look:
   navy #002f5e / deep #021931 with teal glows #006289 / #00668e.
   Everything below overrides the light styles above; delete this block
   to get the light version back.
   ===================================================================== */
:root {
  --ink: #ffffff;
  --text: rgba(255,255,255,.78);
  --muted: rgba(255,255,255,.62);
  --faint: rgba(255,255,255,.42);
  --line: rgba(255,255,255,.14);
  --surface: rgba(255,255,255,.04);
  --bg: #021931;
  --placeholder: rgba(255,255,255,.06);
  --teal: #006289;
  --glow-left:  radial-gradient(ellipse 65% 75% at 0% 50%, rgba(0,98,137,.75) 0%, rgba(0,98,137,0) 70%);
  --glow-right: radial-gradient(ellipse 65% 75% at 100% 50%, rgba(0,98,137,.75) 0%, rgba(0,98,137,0) 70%);
  --glow-bottom: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(0,98,137,.7) 0%, rgba(0,98,137,0) 70%);
}
body { background: #021931; color: #fff; }
a { color: #fff; }

/* Section backgrounds: alternate deep and navy, each with a teal glow from one side */
.section { background: var(--glow-left), #021931; }
.section--white { background: var(--glow-right), #002f5e; border-color: transparent; }
.numbers { background: #021931; border-bottom: 1px solid var(--line); }
.events { position: relative; background: var(--glow-bottom), #021931; }
.partners-section { background: var(--glow-right), #002f5e; }
.cta-section { background: var(--glow-left), #021931; }

/* Navigation stays dark when scrolled; the white logo stays */
.topbar.is-scrolled { background: rgba(2,25,49,.9); border-bottom-color: var(--line); }
.topbar.is-scrolled .logo-white { opacity: 1; }
.topbar.is-scrolled .logo-blue { opacity: 0; }
.topbar.is-scrolled .nav-links > a, .topbar.is-scrolled .nav-drop-toggle { color: #fff; }
.topbar.is-scrolled .lang, .topbar.is-scrolled .lang a { color: rgba(255,255,255,.6); }
.topbar.is-scrolled .lang a.is-active { color: #fff; }
.topbar.is-scrolled .btn--accent:hover { background: #fff; color: var(--navy); }
.topbar.is-scrolled .nav-toggle, .topbar.is-open .nav-toggle { color: #fff; border-color: rgba(255,255,255,.3); }
.nav-drop-menu { background: #0a2a4f; border-color: var(--line); box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.nav-drop-menu a:hover { background: rgba(255,255,255,.06); }
@media (max-width: 1080px) {
  .topbar.is-open { background: #021931; }
  .topbar.is-open .logo-white { opacity: 1; }
  .topbar.is-open .logo-blue { opacity: 0; }
  .nav-links { background: #021931; }
  .nav-links > a, .nav-drop-toggle { color: #fff !important; }
}

/* Text that used navy on the light page */
.text-link, .underline-link, .service-title h3, .service-arrow, .case h3,
.stat b, .stat b .cur, .pillar-range, .step-unit, .person--more span { color: #fff; }
.service-row:hover { background: rgba(255,255,255,.04); }
.wordmark:hover, .partner:hover b, .post:hover h3 { color: #fff; }
.social a:hover { border-color: #fff; }
.btn--accent:hover { background: #fff; color: var(--navy); }

/* Hero router answer stays a white card with dark text */
.answer { color: var(--navy); }
.answer h3 { color: #0b1b2e; }
.answer p { color: #56606e; }
.answer a, .answer a span { color: var(--navy); }

/* Pillars: gradient card like the live "Venture Building" tile, and a quiet outlined card */
.pillar { background: var(--pattern-light) repeat, rgba(255,255,255,.04); border-color: var(--line); }
.pillar--dark { background: var(--pattern-light) repeat, linear-gradient(150deg, #021931 0%, #00668e 100%); border-color: transparent; }
.pillar:hover { box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); }


/* Cases */
.pill--build { background: var(--orange); color: var(--navy); }
.pill--scale { background: rgba(255,255,255,.14); color: #fff; }
.case--feature { border-bottom-color: var(--line); }
.case blockquote { color: #fff; }
.case-media--ph.ph-a { background: var(--pattern-light) repeat, linear-gradient(150deg, #021931, #00668e); }
.case-media--ph.ph-c { background: var(--pattern-light) repeat, linear-gradient(150deg, #0a3a66, #1e73be); }
.ph-c span { color: #fff; }
.logo-cell img { filter: grayscale(1) brightness(0) invert(1); opacity: .55; }
.logo-cell:hover img { filter: grayscale(1) brightness(0) invert(1); opacity: 1; }

/* People */
.portrait { background: var(--pattern-light) repeat, linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); color: rgba(255,255,255,.35); }
.person--more .portrait { background: var(--pattern-light) repeat, linear-gradient(150deg, #021931, #00668e); color: var(--orange); }

/* Partners strip */
.partner-row { border-color: var(--line); }

/* CTA: gradient + pattern, as on the live "Let's connect" block */
.cta { background: var(--pattern-light) repeat, linear-gradient(150deg, #002f5e 0%, #00668e 100%); border: 1px solid rgba(255,255,255,.08); }

/* Footer input */
.signup input { background: rgba(255,255,255,.08); color: #fff; }

/* =====================================================================
   CASES (Creative Dock style, 2x2)
   Big image cards, text on the image, one-line headline + "Read case study".
   ===================================================================== */
.cases-b { background: var(--glow-left), #021931; } /* deep blue, alternates with the navy section above */
.xcase-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.xcase {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3; border-radius: var(--radius); color: #fff; background: #0a2a4f;
}
.xcase--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.xcase > img, .xcase-ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.xcase:hover > img, .xcase:hover .xcase-ph { transform: scale(1.04); }
.xcase-ph.ph-b { background: var(--pattern-light) repeat, linear-gradient(140deg, #0e3f6b, #2f8ad6); }
.xcase-ph.ph-c { background: var(--pattern-light) repeat, linear-gradient(140deg, #0a3a66, #1e73be); }
.xcase-ph.ph-d { background: var(--pattern-light) repeat, linear-gradient(140deg, #f58220, #b85a05); }
/* dark fade at the bottom so the headline is always readable on the photo */
.xcase::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,25,49,0) 35%, rgba(2,25,49,.55) 65%, rgba(2,25,49,.92) 100%);
}
.xcase-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.xcase--wide .xcase-body { padding: 48px; max-width: 760px; }
.xcase-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.xcase-client { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.xcase h3 { font-size: 28px; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.xcase--wide h3 { font-size: 40px; line-height: 1.12; }
.xcase-more {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-size: 15px; font-weight: 600; color: #fff;
  padding: 10px 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.xcase-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.xcase:hover .xcase-more { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.xcase:hover .xcase-more svg { transform: translateX(3px); }

@media (max-width: 1080px) {
  .xcase--wide { aspect-ratio: 16 / 9; }
  .xcase--wide h3 { font-size: 32px; }
}
@media (max-width: 760px) {
  .xcase-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .xcase, .xcase--wide { aspect-ratio: 4 / 5; }
  .xcase-body, .xcase--wide .xcase-body { padding: 24px; }
  .xcase h3, .xcase--wide h3 { font-size: 24px; }
}

/* ---------- People: profile photos in the portrait cards ---------- */
.portrait { position: relative; overflow: hidden; }
.portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.person:hover .portrait img { transform: scale(1.04); }
/* muted by default: desaturated photo + navy overlay; full colour on hover */
.portrait img { filter: grayscale(.5) brightness(.9); transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .5s ease; }
.portrait:has(img)::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, rgba(0,47,94,.15) 0%, rgba(2,25,49,.4) 100%)
  mix-blend-mode: multiply; transition: opacity .5s ease;
}
.person:hover .portrait img { filter: none; }
.person:hover .portrait::after { opacity: 0; }

/* Museo Sans draws the ∞ sign as a dot, so the infinity sign uses a system font */
.pillar-range .inf { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-weight: 400; }

/* =====================================================================
   12 TIMELINE – rising curve with nodes (Launch12 style)
   ===================================================================== */
.steps-track { position: relative; height: 220px; margin-top: 56px; }
.steps-curve { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.node {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  border: 2px solid var(--orange); background: #021931;
}
.node--done {
  width: 22px; height: 22px; margin: -11px 0 0 -11px;
  background: var(--orange); border: 3px solid #ffb062;
  box-shadow: 0 0 0 6px rgba(245,130,32,.18), 0 0 24px 6px rgba(245,130,32,.45);
}

/* labels under the nodes: centred, no dividers */
.steps { margin-top: 28px; border-top: 0; }
.steps .step:nth-child(n) { padding: 0 8px; border-left: 0; align-items: center; text-align: center; gap: 4px; }
.steps .step:nth-child(n)::before { display: none; }
.steps .step-unit { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: 0; color: var(--orange); }
.steps .step-scale { font: 500 12px var(--mono); letter-spacing: .14em; color: rgba(255,255,255,.65); margin: 8px 0 10px; }
.steps .step b { font-size: 19px; font-weight: 100; color: #fff; }
.steps .step p { display: none; } /* short descriptions kept in the HTML, hidden in this layout */
.steps-note {
  max-width: 520px; margin: 48px auto 0; text-align: center;
  font: 400 14px/1.65 var(--mono); color: rgba(255,255,255,.6);
}
.steps-note b { color: var(--orange); font-weight: 500; }

/* draw-in animation when the timeline scrolls into view */
.js-reveal .steps-track:not(.is-visible) .curve { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js-reveal .steps-track.is-visible .curve { stroke-dasharray: 1; animation: curve-draw 4.5s cubic-bezier(.45,0,.55,1) both; }
.js-reveal .steps-track .node { opacity: 0; transform: scale(.4); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.js-reveal .steps-track.is-visible .node { opacity: 1; transform: none; }
/* each node lights up roughly when the line reaches it */
.js-reveal .steps-track.is-visible .node:nth-of-type(1) { --d: .6s; }
.js-reveal .steps-track.is-visible .node:nth-of-type(2) { --d: 1.4s; }
.js-reveal .steps-track.is-visible .node:nth-of-type(3) { --d: 2.1s; }
.js-reveal .steps-track.is-visible .node:nth-of-type(4) { --d: 2.7s; }
.js-reveal .steps-track.is-visible .node:nth-of-type(5) { --d: 3.3s; }
.js-reveal .steps-track.is-visible .node:nth-of-type(6) { --d: 3.9s; }
/* each node appears when the line reaches it, then lights up briefly (MVP launch stays lit) */
.js-reveal .steps-track.is-visible .node {
  transition-delay: var(--d, 0s);
  animation: node-light 1.6s ease-out calc(var(--d, 0s) + .3s) both;
}
.js-reveal .steps-track.is-visible .node--done { animation-name: node-light-keep; }
@keyframes node-light {
  0%   { background: #021931; box-shadow: none; }
  30%  { background: var(--orange); box-shadow: 0 0 0 6px rgba(245,130,32,.25), 0 0 28px 8px rgba(245,130,32,.55); }
  100% { background: #021931; box-shadow: none; }
}
@keyframes node-light-keep {
  0%   { box-shadow: none; }
  30%  { box-shadow: 0 0 0 10px rgba(245,130,32,.3), 0 0 40px 14px rgba(245,130,32,.7); }
  100% { box-shadow: 0 0 0 6px rgba(245,130,32,.18), 0 0 24px 6px rgba(245,130,32,.45); }
}
@keyframes curve-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* tablet / phone: curve hidden, labels in a grid */
@media (max-width: 1080px) {
  .steps-track { display: none; }
  .steps { margin-top: 56px; grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   EVENTS – photo gallery + upcoming event cards
   ===================================================================== */
/* pattern fades in from the top and out at the bottom instead of starting with a hard edge */
.events::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--pattern-light) repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
}
.events > .wrap { position: relative; }

.ev-gallery {
  margin-top: 72px; display: grid; gap: 12px;
  grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 260px 260px;
}
.ev { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #0a2a4f; }
.ev--a { grid-column: 1 / span 6; grid-row: 1 / span 2; }
.ev--b { grid-column: 7 / span 3; grid-row: 1 / span 2; }
.ev--c { grid-column: 10 / span 3; grid-row: 1; }
.ev--d { grid-column: 10 / span 3; grid-row: 2; }
.ev img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85); transition: transform .8s cubic-bezier(.22,.61,.36,1), filter .5s ease;
}
.ev:hover img { transform: scale(1.04); filter: none; }
.ev figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px;
  display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(180deg, rgba(2,25,49,0) 0%, rgba(2,25,49,.85) 100%);
}
.ev figcaption .tag { color: var(--orange); }
.ev figcaption b { font-size: 18px; font-weight: 500; color: #fff; }
.ev--a figcaption { padding: 64px 28px 24px; }
.ev--a figcaption b { font-size: 26px; }

.ev-upcoming-head { margin-top: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.ev-cards { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.ev-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 28px 28px 32px; border-radius: var(--radius); color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.ev-card:hover { background: rgba(255,255,255,.09); border-color: rgba(245,130,32,.6); transform: translateY(-3px); }
.ev-card-date { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ev-card-date b { font-family: var(--display); font-size: 26px; color: var(--orange); }
.ev-card-date small { font: 400 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ev-card .tag { color: rgba(255,255,255,.55); }
.ev-card-title { font-size: 20px; font-weight: 500; line-height: 1.3; }
.ev-card-sub { font-size: 14px; color: rgba(255,255,255,.6); }
.ev-card-arrow { position: absolute; top: 28px; right: 28px; color: rgba(255,255,255,.5); transition: color .2s ease, transform .2s ease; }
.ev-card-arrow svg { width: 20px; height: 20px; }
.ev-card:hover .ev-card-arrow { color: var(--orange); transform: translateX(3px); }

@media (max-width: 1080px) {
  .ev-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 300px 220px 220px; }
  .ev--a { grid-column: 1 / -1; grid-row: 1; }
  .ev--b { grid-column: 1 / span 2; grid-row: 2 / span 2; }
  .ev--c { grid-column: 3 / span 4; grid-row: 2; }
  .ev--d { grid-column: 3 / span 4; grid-row: 3; }
  .ev-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ev-gallery { margin-top: 48px; grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 200px; gap: 8px; }
  .ev--a { grid-column: 1 / -1; grid-row: 1; }
  .ev--b { grid-column: 1; grid-row: 2 / span 2; }
  .ev--c { grid-column: 2; grid-row: 2; }
  .ev--d { grid-column: 2; grid-row: 3; }
  .ev figcaption { padding: 32px 14px 12px; }
  .ev figcaption b, .ev--a figcaption b { font-size: 16px; }
  .ev-upcoming-head { margin-top: 48px; }
}

/* ---------- Stats inside the hero (on the space background) ---------- */
.hero { padding-bottom: 72px; }
.hero .stats { margin-top: 96px; border-top: 1px solid rgba(255,255,255,.18); animation: hero-fade-in 1.5s cubic-bezier(.22,.61,.36,1) .7s both; }
.hero .stat { padding: 28px 0 0; }
.hero .stat + .stat { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.12); }
.hero .stat b { color: #fff; }
.hero .stat > span { color: rgba(255,255,255,.65); }
@media (max-width: 760px) {
  .hero .stats { margin-top: 56px; }
  .hero .stat { padding: 18px 0; }
  .hero .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}

/* trusted-by marquee */
.marquee{width:100%;overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.mq-track{display:flex;width:max-content;animation:mq 45s linear infinite}
.marquee:hover .mq-track{animation-play-state:paused}
.mq-item{height:112px;display:flex;align-items:center;justify-content:center;padding:0 44px;flex:none}
.mq-item img{height:64px;width:auto;max-width:200px;object-fit:contain;filter:grayscale(1) brightness(0) invert(1);opacity:.6;transition:opacity .2s}
.mq-item:hover img{opacity:1}
.mq-word{font-size:20px;font-weight:600;color:rgba(255,255,255,.6);white-space:nowrap}
@keyframes mq{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.mq-track{animation:none}.marquee{overflow-x:auto}}

/* ---------- Contact form pop-up (contact-form.js) ---------- */
.cops-modal { width: min(640px, calc(100vw - 32px)); padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #0a2a4f; color: #fff; }
.cops-modal::backdrop { background: rgba(2,25,49,.75); }
.cops-modal h3 { font-size: 24px; margin-bottom: 16px; padding-right: 32px; }
.cops-modal-close { position: absolute; top: 12px; right: 16px; border: 0; background: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.cops-contact { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; }
.cops-contact-intro { margin: -4px 0 20px; color: var(--text); font-size: 16px; line-height: 1.55; }
.cops-contact-form { min-height: 200px; }
.cops-contact-form iframe { width: 100% !important; border: 0; display: block; }
@media (max-width: 640px) { .cops-contact { padding: 28px 18px; } }

/* ---------- Newsletter sign-up (Mailchimp, contact-form.js) ---------- */
.signup-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.7); cursor: pointer; }
.signup-consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--orange); cursor: pointer; }
.signup-consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.signup-msg { min-height: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.8); }
.signup-msg:empty { display: none; }
.signup-msg--ok { color: #7fd1a0; }
.signup-msg--error { color: var(--orange); }
.signup button[disabled] { opacity: .6; cursor: wait; }
