/* Datadictos — site styles. Plain CSS, no build step. */

:root {
  --navy: #0B1F3A;
  --navy-2: #15294A;
  --blue: #1F5FFF;
  --blue-soft: #8FB0FF;
  --blue-tint: #D6E1FF;
  --ink: #0B1F3A;
  --ink-2: #4A5A73;
  --ink-3: #33425A;
  --on-dark: #C9D3E3;
  --on-dark-2: #B8C3D6;
  --on-dark-3: #D5DDEA;
  --line: #E3E7EF;
  --line-2: #C9D1DE;
  --line-3: #EEF1F6;
  --bg: #fff;
  --bg-alt: #F4F6FA;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: 32px;
  --bar-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
*:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: var(--blue-tint); }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 2px; font-size: 14px; font-weight: 500;
}
.skip-link:focus { top: 16px; color: #fff; }
body.no-scroll { overflow: hidden; }

.container { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); width: 100%; }
.narrow { max-width: 800px; }

/* ---------- Typography helpers ---------- */
.kicker {
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.on-dark .kicker, .kicker--light { color: var(--blue-soft); }
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4vw, 46px); line-height: 1.12; letter-spacing: -.015em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: 0; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; text-wrap: balance; }
.num { font-family: var(--serif); font-size: 15px; color: var(--blue); }
.muted { color: var(--ink-2); }
.body-s { font-size: 15px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.body-m { font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.label {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.text-link { font-size: 15px; font-weight: 500; color: var(--blue); }
.text-link:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1.2 var(--sans); padding: 15px 26px; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--navy); }
.btn-primary.on-light:hover { background: var(--navy); color: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); padding: 14px 26px; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); color: #fff; }
.ext::after { content: " ↗"; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; font-family: var(--sans); }
.hdr-dim {
  position: fixed; inset: 0; z-index: 1; background: rgba(11, 31, 58, .5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.site-header.menu-open .hdr-dim { opacity: 1; pointer-events: auto; }
.hdr-bar {
  position: relative; z-index: 3;
  background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .45s var(--ease);
  --hdr-ink: #fff;
}
.site-header.is-solid .hdr-bar { background: #fff; border-bottom-color: var(--line); --hdr-ink: var(--navy); }
.site-header.is-scrolled:not(.menu-open) .hdr-bar { box-shadow: 0 6px 24px -12px rgba(11, 31, 58, .25); }
.site-header.is-hidden .hdr-bar { transform: translateY(-100%); }
.hdr-inner {
  height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: height .35s ease;
}
.site-header.is-scrolled { --bar-h: 68px; }
.logo {
  font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.01em;
  color: var(--hdr-ink); transition: color .35s; white-space: nowrap;
}
.logo:hover { color: var(--hdr-ink); }

.nav { display: flex; align-items: stretch; gap: 4px; height: 100%; }
.nav-item {
  --pad: 14px;
  position: relative; display: flex; align-items: center; gap: 6px; height: 100%;
  padding: 0 var(--pad); font: 500 15px var(--sans); white-space: nowrap;
  color: var(--on-dark-3); transition: color .25s;
}
.nav-item:hover, .nav-item.is-current { color: #fff; }
.site-header.is-solid .nav-item { color: var(--navy); }
.nav-item[aria-expanded="true"] { color: #fff; }
.site-header.is-solid .nav-item[aria-expanded="true"], .site-header.is-solid .nav-item:hover { color: var(--blue); }
.nav-item .chev { width: 10px; height: 10px; transition: transform .3s ease; flex: none; }
.nav-item[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-item .bar {
  position: absolute; left: var(--pad); right: var(--pad); bottom: -1px; height: 3px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-item.is-current .bar, .nav-item[aria-expanded="true"] .bar { transform: scaleX(1); }

.hdr-tools { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--hdr-ink); transition: color .35s, background .2s;
}
.icon-btn:hover { background: rgba(127, 140, 160, .16); }
.lang {
  display: flex; align-items: center; gap: 2px; padding: 2px; border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, .3); transition: border-color .35s;
}
.site-header.is-solid .lang { border-color: var(--line-2); }
.lang button {
  font: 500 12px var(--sans); letter-spacing: .06em; padding: 5px 8px; border: 0; border-radius: 1px; cursor: pointer;
  background: transparent; color: var(--on-dark-2); transition: background .25s, color .25s;
}
.site-header.is-solid .lang button { color: var(--ink-2); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.site-header.is-solid .lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.hdr-cta {
  font-size: 14px; font-weight: 500; padding: 11px 20px; border-radius: 2px; white-space: nowrap;
  background: #fff; color: var(--navy); transition: background .3s, color .3s;
}
.site-header.is-solid .hdr-cta { background: var(--navy); color: #fff; }
.hdr-cta:hover, .site-header.is-solid .hdr-cta:hover { background: var(--blue); color: #fff; }
.burger {
  display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 0; cursor: pointer; color: var(--hdr-ink); padding: 0;
}
.burger span { width: 22px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mega panel */
.mega {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border-top: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(11, 31, 58, .35);
  opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .4s var(--ease), visibility 0s linear .3s;
}
.site-header.menu-open .mega { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mega-panel {
  display: none; padding: 44px var(--gutter) 52px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px;
}
.mega-panel.is-active { display: grid; }
.mega-intro { display: flex; flex-direction: column; gap: 14px; padding-right: 24px; border-right: 1px solid var(--line); }
.mega-intro .label { color: var(--blue); letter-spacing: .14em; }
.mega-title { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.15; color: var(--navy); text-wrap: balance; }
.mega-intro p { font-size: 15px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.mega-intro .text-link { margin-top: 6px; }
.mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; align-content: start; }
.mega-links a {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line-3);
  color: var(--navy); transition: color .2s, padding .25s;
}
.mega-links a:hover { color: var(--blue); padding-left: 8px; }
.ml-label { font-size: 16px; font-weight: 500; }
.ml-desc { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.mega-feat {
  display: flex; flex-direction: column; gap: 10px; background: var(--navy); color: #fff; padding: 28px;
  transition: background .25s;
}
.mega-feat:hover { background: var(--blue); color: #fff; }
.mega-feat .label { color: var(--blue-soft); letter-spacing: .14em; }
.mf-big { font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; }
.mf-title { font-family: var(--serif); font-size: 20px; line-height: 1.3; text-wrap: balance; }
.mf-cta { font-size: 14px; font-weight: 500; margin-top: auto; padding-top: 12px; }

/* Search overlay */
.search {
  position: fixed; inset: 0; z-index: 5; background: #fff; overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s;
}
.search.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.search-inner { max-width: 900px; margin: 0 auto; padding: 40px var(--gutter); transform: translateY(-16px); transition: transform .45s var(--ease); }
.search.is-open .search-inner { transform: none; }
.search-close-row { display: flex; justify-content: flex-end; margin-bottom: 48px; }
.search-close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; color: var(--navy);
}
.search-close:hover { border-color: var(--navy); }
.search-field { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--navy); padding-bottom: 14px; }
.search-field svg { flex: none; }
.search-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--navy);
  font: 500 clamp(24px, 3.4vw, 38px) var(--serif);
}
.search-field input::-webkit-search-cancel-button { display: none; }
.search .label { margin: 36px 0 12px; letter-spacing: .14em; }
.search-results { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.search-results a {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-3);
  color: var(--navy); font-size: 17px;
}
.search-results a:hover { color: var(--blue); }
.search-results small { font-size: 13px; color: var(--ink-2); }
.search-empty { padding: 16px 0; color: var(--ink-2); font-size: 15px; }

/* Mobile drawer */
.drawer {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--bar-h); z-index: 2;
  background: var(--navy); overflow: auto; transform: translateX(100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer-inner { padding: 16px 24px 40px; }
.drawer-item { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.drawer-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0;
  background: transparent; border: 0; cursor: pointer; font: 500 20px var(--serif); color: #fff; text-align: left;
}
.drawer-toggle svg { width: 12px; height: 12px; transition: transform .3s; }
.drawer-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-sub { display: flex; flex-direction: column; padding: 0 0 16px; }
.drawer-sub[hidden] { display: none; }
.drawer-sub a { padding: 10px 0; font-size: 15px; color: var(--on-dark-2); }
.drawer-sub a:hover { color: #fff; }
.drawer-cta {
  display: block; text-align: center; margin-top: 28px; font-size: 15px; font-weight: 500;
  color: var(--navy); background: #fff; padding: 15px; border-radius: 2px;
}
.drawer-cta:hover { color: var(--navy); background: var(--blue-tint); }

@media (max-width: 1099px) {
  .hdr-cta { display: none; }
  .nav-item { --pad: 9px; }
}
@media (max-width: 859px) {
  .nav, .mega { display: none; }
  .burger { display: flex; }
  .hdr-tools { gap: 10px; }
}
@media (min-width: 860px) {
  .drawer { display: none; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; background: var(--navy); overflow: hidden; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
  opacity: .9; pointer-events: none; max-width: none;
}
.hero-shade { position: absolute; inset: 0; background: rgba(11, 31, 58, .62); pointer-events: none; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; max-width: none; }
.hero-inner {
  position: relative; z-index: 1; flex: 1; display: flex; align-items: flex-end;
  padding-top: 180px; padding-bottom: 128px;
}
.hero-copy { max-width: 760px; will-change: transform, opacity; }
.hero .kicker { color: var(--blue-soft); margin-bottom: 28px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02;
  letter-spacing: -.02em; margin: 0 0 28px; color: #fff; text-wrap: balance;
}
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--on-dark); margin: 0 0 40px; max-width: 580px; text-wrap: pretty; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; z-index: 1; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; background: transparent; border: 0;
  cursor: pointer; color: var(--on-dark); font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
.scroll-cue:hover { color: #fff; }
.cue-track { position: relative; width: 1px; height: 44px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.cue-dot { position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: #fff; }

/* ---------- Inner page banner ---------- */
.page-hero { background: var(--navy); color: #fff; }
.page-hero .container { padding-top: calc(82px + 96px); padding-bottom: 88px; }
.page-hero .kicker { color: var(--blue-soft); margin-bottom: 24px; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05;
  letter-spacing: -.02em; color: #fff; max-width: 880px; text-wrap: balance;
}
.page-hero h1 + .ph-sub { margin-top: 24px; }
.ph-sub { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 620px; text-wrap: pretty; }
.back-link { font-size: 14px; color: var(--on-dark-2); display: inline-block; }
.back-link:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { background: #fff; }
.section > .container { padding-top: 104px; padding-bottom: 104px; }
.section--alt { background: var(--bg-alt); }
.sec-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px;
  margin-bottom: 56px; align-items: end;
}
.sec-head > a { justify-self: start; }
.sec-head-flex { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.sec-head-flex .h2 { max-width: 640px; }

/* numbered columns (expertises / features) */
.num-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  border-top: 2px solid var(--navy);
}
.num-item { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.num-item .h3 { line-height: 1.2; }

/* Decorative art (replaces photo slots) */
.art {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(31, 95, 255, .55), rgba(31, 95, 255, 0) 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(143, 176, 255, .22), rgba(143, 176, 255, 0) 55%),
    linear-gradient(160deg, #0B1F3A 0%, #12305C 55%, #0B1F3A 100%);
}
.art::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/pattern-network.svg") center / cover no-repeat;
  opacity: .9; transition: transform 1.2s var(--ease);
}
.art--alt {
  background:
    radial-gradient(110% 90% at 10% 0%, rgba(31, 95, 255, .5), rgba(31, 95, 255, 0) 60%),
    linear-gradient(200deg, #0B1F3A 0%, #163A73 60%, #0B1F3A 100%);
}
.art--alt::before { transform: scaleX(-1); }

/* Case cards */
.case-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  padding: 0 32px 32px; overflow: hidden; color: var(--ink);
  transition: border-color .25s, transform .35s var(--ease), box-shadow .35s;
}
.case-card:hover { border-color: var(--blue); color: var(--ink); transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(11, 31, 58, .35); }
.case-card:hover .art::before { transform: scale(1.06); }
.case-card .art { aspect-ratio: 16 / 10; margin: 0 -32px 32px; }
.case-card--plain { padding-top: 36px; }
.case-card--plain:hover { transform: none; box-shadow: none; }
.kpi { font-family: var(--serif); font-size: 60px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--blue); }
.kpi-label { font-size: 14px; color: var(--ink-2); margin: 10px 0 36px; }
.case-sector { padding-top: 24px; border-top: 1px solid var(--line); margin-bottom: 12px; }
.case-card .h3 { margin: 0 0 14px; }
.case-card .body-s { margin: 0 0 28px; flex: 1; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 500; color: var(--ink); background: var(--bg-alt); padding: 5px 10px; border-radius: 2px; }
.case-body { display: flex; flex-direction: column; flex: 1; }
.case-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) {
  .case-card--wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 56px; padding: 0 48px 0 0; }
  .case-card--wide .art { aspect-ratio: auto; min-height: 420px; margin: 0; }
  .case-card--wide .case-body { padding: 48px 0; }
  .case-card--plain.case-card--wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding: 48px; column-gap: 64px; }
  .case-card--plain.case-card--wide .case-body { padding: 0; }
  .case-card--plain.case-card--wide .kpi { font-size: 96px; }
  .case-card--plain.case-card--wide .case-sector { padding-top: 0; border-top: 0; }
  .case-card--plain.case-card--wide .h3 { font-size: 30px; }
}
.card-more { font-size: 15px; font-weight: 500; color: var(--blue); margin-top: 24px; }

/* Method steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-n {
  width: 36px; height: 36px; border: 1px solid var(--navy); border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 15px;
}
.step-line { flex: 1; height: 1px; background: var(--navy); transform-origin: left; }
.step-dur { font-size: 13px; color: var(--ink-2); }
.step .h3 { line-height: 1.2; }

/* Band (quote over art) */
.band { position: relative; height: min(78vh, 720px); min-height: 420px; overflow: hidden; background: var(--navy); }
.band-art { position: absolute; left: 0; right: 0; top: -15%; height: 130%; }
.band-art.art::before { background-size: cover; opacity: .75; }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(11, 31, 58, .78), rgba(11, 31, 58, 0) 60%);
}
.band-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
.band-copy .container { padding-bottom: 64px; }
.band-quote {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15;
  color: #fff; max-width: 760px; text-wrap: balance;
}

/* Sectors & stack */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 72px; }
.split .h2--sm { margin-bottom: 32px; }
.rows { border-top: 1px solid var(--line-2); list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.rows .r-name { font-family: var(--serif); font-size: 20px; }
.rows .r-uses { font-size: 14px; color: var(--ink-2); text-align: right; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; font-weight: 500; background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 2px; }
@media (max-width: 420px) { .stack-row { grid-template-columns: 1fr; gap: 10px; } }

/* Initiatives */
.status { font-size: 12px; font-weight: 500; color: var(--blue); border: 1px solid var(--blue); padding: 4px 10px; border-radius: 2px; white-space: nowrap; }
.init-feature {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px 64px;
  border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); padding: 40px 0 44px; align-items: start;
}
.init-meta { display: flex; flex-direction: column; gap: 14px; }
.init-meta .row { display: flex; align-items: center; gap: 16px; }
.init-name { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; color: var(--navy); }
.init-cat { font-size: 15px; color: var(--ink-2); }
.init-body { display: flex; flex-direction: column; gap: 20px; }
/* EventIQ en avant sur l'accueil : photo d'evenement en fond, voile navy pour la lisibilite */
.init-feature--photo {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
  border-top: 0; border-bottom: 0; border-radius: 2px; color: #fff;
  background: #0B1F3A url("/assets/img/eventiq-bg.jpg") center 35% / cover no-repeat;
}
.init-feature--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 31, 58, .94) 0%, rgba(11, 31, 58, .80) 45%, rgba(11, 31, 58, .45) 100%);
}
.init-feature--photo .init-name { color: #fff; }
.init-feature--photo .init-cat, .init-feature--photo .body-m { color: #C9D3E3; }
.init-feature--photo .num { color: #8FB0FF; }
.init-feature--photo .status { color: #fff; border-color: rgba(255, 255, 255, .6); }
.init-feature--photo .text-link { color: #fff; }
.init-feature--photo .text-link:hover { color: #8FB0FF; }
.init-feature--photo + .init-feature--photo { margin-top: 24px; }
.init-feature--catering { background-image: url("/assets/img/catering-bg.jpg"); background-position: center 40%; }
@media (max-width: 700px) {
  .init-feature--photo::before { background: linear-gradient(180deg, rgba(11, 31, 58, .9) 0%, rgba(11, 31, 58, .82) 100%); }
}
.link-row { display: flex; gap: 12px 28px; flex-wrap: wrap; }

/* Insights cards */
.insight-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.insight-card:hover { color: var(--blue); }
.insight-card:hover .art::before { transform: scale(1.06); }
.insight-card .art { aspect-ratio: 3 / 2; margin-bottom: 10px; }
.meta { display: flex; gap: 12px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.meta strong { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.insight-card .h3 { line-height: 1.28; }
@media (min-width: 900px) {
  .insight-card--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-content: center; }
  .insight-card--wide .art { grid-row: 1 / span 4; margin: 0; }
  .insight-card--wide > :not(.art) { grid-column: 2; }
  .insight-card--wide .meta { align-self: end; }
  .insight-card--wide .h3 { font-size: 32px; }
  .insight-card--wide .card-more { grid-column: 2; }
}

/* Footer */
.cta-band { background: var(--navy); }
.cta-band .container {
  padding-top: 96px; padding-bottom: 96px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1;
  letter-spacing: -.015em; margin: 0 0 16px; color: #fff;
}
.cta-band p { font-size: 17px; line-height: 1.6; color: var(--on-dark-2); max-width: 520px; }
.cta-band .btn { padding: 16px 30px; }
.site-footer { background: #fff; }
.site-footer > .container { padding-top: 72px; padding-bottom: 40px; }
.ft-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.ft-logo { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy); margin-bottom: 12px; display: inline-block; }
.ft-logo:hover { color: var(--navy); }
.ft-grid p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ft-col { display: flex; flex-direction: column; gap: 10px; }
.ft-col .label { color: var(--navy); margin-bottom: 6px; }
.ft-col a, .ft-col span { font-size: 14px; color: var(--ink-2); }
.ft-col a:hover { color: var(--blue); }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: var(--ink-2); }
.ft-bottom a { color: var(--ink-2); }
.ft-bottom a:hover { color: var(--blue); }

/* ---------- Expertises page ---------- */
.exp-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px 64px;
  padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px;
}
.exp-row h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15;
  margin: 12px 0 16px; text-wrap: balance;
}
.exp-row p { font-size: 16px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.list-rule { border-top: 1px solid var(--line); margin: 12px 0 28px; padding: 0; list-style: none; }
.list-rule li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.box { background: #fff; border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.box .h3 { line-height: 1.2; }
.ruled3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.ruled { padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }

/* ---------- Case study page ---------- */
.cs-hero .container { padding-top: calc(82px + 72px); padding-bottom: 0; }
.cs-hero .kicker { margin: 40px 0 20px; }
.cs-hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.06; max-width: 900px; margin-bottom: 72px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid rgba(255, 255, 255, .18); }
.kpis > div { padding: 32px 24px 48px 0; }
.kpis .v { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1; color: #fff; }
.kpis .l { font-size: 14px; color: var(--on-dark-2); margin-top: 10px; }
.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 64px; align-items: start; }
.facts { position: sticky; top: 96px; display: flex; flex-direction: column; border-top: 2px solid var(--navy); margin: 0; }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 15px; }
.story-body { grid-column: span 2; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 56px; }
.story-body h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0 0 16px; }
.story-body p { font-size: 17px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 700px) { .story-body { grid-column: auto; } .facts { position: static; } }
.arch { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.arch li { background: #fff; border: 1px solid var(--line-2); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.arch .label { color: var(--blue); }
.arch .a-name { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.arch .a-text { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---------- EventIQ page ---------- */
.prod-hero .container { padding-top: calc(82px + 80px); padding-bottom: 0; }
.prod-top {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px;
  align-items: end; margin: 40px 0 64px;
}
.prod-hero h1 { font-size: clamp(48px, 6.4vw, 84px); line-height: 1; margin-bottom: 20px; }
.prod-hero .ph-sub { font-size: 21px; line-height: 1.5; max-width: 560px; }
.prod-hero .kicker { margin-bottom: 20px; }
.prod-visual { aspect-ratio: 16 / 8; border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; }
.prod-visual.art::before { opacity: .8; }
/* Visuel produit reel (video du hero EventIQ, image en repli) */
.prod-visual--media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--navy, #0B1F3A); }
.prod-video, .prod-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 64px; }
.who-list { border-top: 1px solid var(--line-2); margin: 0; padding: 0; list-style: none; }
.who-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.who-list .w-h { font-family: var(--serif); font-size: 20px; }
.who-list .w-p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Insights page ---------- */
.feat-link {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px 64px;
  padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .18); color: #fff; margin-top: 56px;
}
.feat-link:hover { color: var(--blue-soft); }
.feat-meta { font-size: 13px; color: var(--on-dark-2); margin-bottom: 12px; }
.feat-link h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.18; text-wrap: balance; }
.feat-link p { font-size: 17px; line-height: 1.65; color: var(--on-dark); align-self: end; text-wrap: pretty; }
.feat-more { display: inline-block; margin-top: 20px; font-size: 15px; font-weight: 500; color: var(--blue-soft); }
.page-hero--insights .container { padding-bottom: 96px; }

/* ---------- Article ---------- */
.art-hero .container { padding-top: calc(82px + 72px); padding-bottom: 80px; }
.art-hero .kicker { margin: 40px 0 20px; }
.art-hero h1 { font-size: clamp(36px, 4.8vw, 56px); line-height: 1.08; margin-bottom: 32px; }
.art-meta { display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-2); }
.article > .container { padding-top: 80px; padding-bottom: 96px; }
.article .lead { font-family: var(--serif); font-size: 24px; line-height: 1.5; margin: 0 0 48px; text-wrap: pretty; }
.article section { margin-bottom: 48px; }
.article h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; margin: 0 0 16px; }
.article p { font-size: 18px; line-height: 1.75; color: var(--ink-3); margin: 0 0 18px; text-wrap: pretty; }
.article blockquote {
  margin: 0 0 48px; padding: 8px 0 8px 28px; border-left: 2px solid var(--blue);
  font-family: var(--serif); font-size: 26px; line-height: 1.4;
}
.takeaways { padding: 32px; background: var(--bg-alt); }
.takeaways ol { list-style: none; margin: 14px 0 0; padding: 0; }
.takeaways li { display: grid; grid-template-columns: 28px 1fr; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; }
.takeaways li span { font-family: var(--serif); color: var(--blue); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 64px; align-items: start; }
.contact-form { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 760px) { .contact-form { grid-column: auto; } }
.contact-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.contact-form legend { font-size: 14px; font-weight: 500; margin-bottom: 12px; padding: 0; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span {
  display: inline-block; font: 500 14px var(--sans); padding: 10px 16px; border-radius: 2px;
  border: 1px solid var(--line-2); background: #fff; color: var(--navy); transition: background .2s, color .2s, border-color .2s;
}
.pill:hover span { border-color: var(--navy); }
.pill input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  font: 16px/1.5 var(--sans); padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 2px;
  color: var(--navy); background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field textarea { resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-foot .btn { padding: 16px 30px; border: 0; }
.form-note { font-size: 13px; color: var(--ink-2); max-width: 420px; line-height: 1.5; }
.form-status { font-size: 15px; color: var(--navy); border-left: 2px solid var(--blue); padding: 4px 0 4px 16px; }
.form-status[hidden] { display: none; }
.aside-list { display: flex; flex-direction: column; border-top: 2px solid var(--navy); }
.aside-list > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.aside-list .label { margin-bottom: 8px; }
.aside-list p { font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.aside-list address { font-style: normal; font-size: 15px; line-height: 1.55; }

/* ---------- Legal ---------- */
.legal-hero .container { padding-top: calc(82px + 80px); padding-bottom: 64px; }
.legal-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; margin-bottom: 16px; }
.legal-hero p { font-size: 15px; color: var(--on-dark-2); }
.legal > .container { padding-top: 72px; padding-bottom: 104px; }
.legal section { padding: 32px 0; border-top: 1px solid var(--line); }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 14px; }
.legal p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 10px; text-wrap: pretty; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.nf .container { padding-top: 160px; padding-bottom: 120px; }
.nf .big { font-family: var(--serif); font-size: clamp(96px, 16vw, 200px); line-height: 1; color: var(--blue-soft); font-weight: 500; letter-spacing: -.03em; }
.nf h1 { margin: 16px 0 20px; }
.nf .btn-row { margin-top: 40px; }

/* ---------- Reveal (only when JS armed it) ---------- */
.rv-wait { opacity: 0; transform: translateY(32px); }
.rv-wait-img { clip-path: inset(0 0 100% 0); }
.rv-wait-line { transform: scaleX(0); }
.rv-wait-band { opacity: 0; transform: translateY(40px); }

@media (max-width: 600px) {
  .section > .container { padding-top: 80px; padding-bottom: 80px; }
  .cta-band .container { padding-top: 80px; padding-bottom: 80px; }
  .page-hero .container { padding-top: calc(82px + 64px); padding-bottom: 64px; }
  .cs-hero .container, .art-hero .container, .prod-hero .container { padding-top: calc(82px + 48px); }
  .legal-hero .container { padding-top: calc(82px + 56px); }
  .hero-inner { padding-bottom: 112px; }
  .who-list li { grid-template-columns: 1fr; gap: 6px; }
  .case-card { padding: 0 24px 28px; }
  .case-card .art { margin: 0 -24px 28px; }
  .case-card--plain { padding-top: 32px; }
  .takeaways { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001s !important; animation-duration: .001s !important; }
  .rv-wait, .rv-wait-img, .rv-wait-line, .rv-wait-band { opacity: 1; transform: none; clip-path: none; }
}

/* Grille de 6 fonctions : 3 colonnes plutot que 4 + 2 */
@media (min-width: 900px) { .num-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Captures de l'application mobile (page Catering App) */
.phone-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.phone { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.phone-frame { border-radius: 28px; padding: 8px; background: #0B1F3A; box-shadow: 0 18px 40px rgba(11, 31, 58, .18); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 21px; }
.phone figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.phone figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--navy); }
.phone-note { margin-top: 32px; color: var(--ink-2); }
@media (max-width: 1000px) {
  .phone-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .phone { scroll-snap-align: start; }
}
