:root {
  --blue: #227dad;
  --blue-700: #1a6288;
  --blue-50: #e8f3f9;
  --red: #ef251d;
  --red-700: #c91c16;
  --ink: #101418;
  --muted: #5b6570;
  --line: #e4e8ec;
  --paper: #f4f7f9;
  --white: #fff;
  --shadow: 0 18px 40px rgba(16, 20, 24, 0.08);
  --radius: 18px;
  --max: 1240px;
  --header: 78px;
  --font-vag: "Varela Round", "VAG Rounded STD", "Nunito", system-ui, sans-serif;
  --font-display: "Syne", "Varela Round", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../img/pattern/brand-pattern.png") center / 920px repeat;
  opacity: 0.016;
}
body > * { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul { margin: 0; }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; z-index: 100; background: #000; color: #fff; padding: 8px 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav summary {
  list-style: none;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover, .nav > a[aria-current="page"] {
  background: var(--blue-50); color: var(--blue);
}
.nav__cta {
  margin-left: 6px;
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 15px !important;
}
.nav details { position: relative; }
.nav details[open] summary { background: var(--blue-50); color: var(--blue); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid; gap: 2px;
}
.mega a {
  display: block; padding: 10px 12px; border-radius: 10px; font-weight: 650; font-size: 14px;
}
.mega a:hover { background: var(--blue-50); color: var(--blue); }
.burger {
  display: none;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

.hero {
  position: relative;
  min-height: min(84vh, 780px);
  display: grid; align-items: end;
  color: #fff;
  overflow: hidden;
  background: #0b2b3d;
}
.hero__media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,28,40,.28) 0%, rgba(10,28,40,.82) 72%),
    url("../img/hero-ppm.jpg") center/cover no-repeat;
}
.hero__slides { position: relative; padding: 120px 0 68px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.02; margin: 12px 0 16px; max-width: 15ch;
}
.hero p { max-width: 54ch; font-size: 1.1rem; color: #e8eef2; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: .45s ease; pointer-events: none; }
.slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.slide-nav { display: flex; gap: 8px; margin-top: 22px; }
.slide-nav button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer;
}
.slide-nav button[aria-current="true"] { background: var(--red); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-size: 12px; color: var(--red);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero .kicker { color: #ffd6d4; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0;
  font-weight: 750; cursor: pointer;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-700); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-700); }
.btn--outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.pattern {
  height: 16px;
  background: var(--blue) url("../img/pattern/brand-pattern.png") center/auto 180% repeat-x;
  opacity: .2;
}

section { padding: 82px 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2, .page-hero h1, h1, h2 {
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); margin: 0 0 10px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card a.more { color: var(--blue); font-weight: 750; font-size: 14px; }
.dot {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff; margin-bottom: 14px;
}
.dot--blue { background: var(--blue); }
.dot--red { background: var(--red); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px;
}
.stat b { display: block; font-size: 1.85rem; font-family: var(--font-display); color: #7ec8ee; }
.stat span { color: #c5d0d7; font-size: 13.5px; }

.clients { background: var(--paper); }
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px; align-items: center;
}
.logos figure {
  margin: 0; height: 80px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; display: grid; place-items: center; padding: 12px;
}
.logos img { max-height: 42px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .84; }
.logos img:hover { filter: none; opacity: 1; }

.map-layout { display: grid; grid-template-columns: 280px 1fr; gap: 16px; }
.map-wrap {
  height: 560px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
}
.panel-list {
  max-height: 560px; overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff;
}
.panel-list button {
  display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line);
  background: #fff; padding: 12px 14px; cursor: pointer;
}
.panel-list button:hover, .panel-list button.is-on { background: var(--blue-50); }
.panel-list small { color: var(--muted); }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 12px; cursor: pointer; font-weight: 700; font-size: 13px;
}
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }

.form { display: grid; gap: 14px; }
.form label { font-weight: 700; font-size: 14px; }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--blue); border-color: var(--blue);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin: 0; font-weight: 700; }

.page-hero {
  padding: 64px 0 28px;
  background:
    linear-gradient(180deg, var(--blue-50), #fff 78%),
    url("../img/pattern/brand-pattern.png") right -80px top -60px / 420px no-repeat;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 8px 0; }
.page-hero p { max-width: 62ch; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.prose p { margin: 0 0 14px; }
.prose h2 { font-size: 1.5rem; margin: 28px 0 10px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab-panel[hidden] { display: none; }

.work {
  overflow: hidden; padding: 0;
}
.work img { height: 180px; width: 100%; object-fit: cover; }
.work .pad { padding: 16px 18px 20px; }
.tag { font-size: 12px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }

.team-card { text-align: left; }
.avatar {
  height: 160px; border-radius: 14px; margin-bottom: 14px;
  background:
    linear-gradient(160deg, var(--blue), #0b2b3d);
  color: #fff; display: grid; place-items: end start; padding: 14px;
  font-family: var(--font-display); font-size: 1.4rem;
}

.empty {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 42px 24px; text-align: center; background: var(--paper);
}

.footer {
  background: var(--ink); color: #d7dee4; padding: 56px 0 24px;
}
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.legal {
  margin-top: 32px; padding-top: 16px; border-top: 1px solid #2a3238;
  font-size: 13px; color: #93a0a8; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-5, .stats, .footer__grid, .logos, .split, .map-layout {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none;
  }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; inset: var(--header) 12px auto;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 12px; box-shadow: var(--shadow); max-height: calc(100vh - 100px); overflow: auto;
  }
  .mega { position: static; box-shadow: none; border: 0; padding: 4px 4px 8px 16px; }
  .burger { display: grid; place-items: center; }
  .map-wrap, .panel-list { height: 380px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .stats, .footer__grid, .logos, .split, .map-layout {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 76vh; }
}


/* Voodoo-inspired type + motion — identity remains MEDIATICS */
.logo img { height: 42px; }
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.88;
}
.display .line {
  display: block;
}
.display .line--serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: inherit;
}
.hero--cinematic {
  min-height: 100vh;
  align-items: center;
}
.hero--cinematic .hero__media {
  background:
    linear-gradient(180deg, rgba(8,18,28,.25) 0%, rgba(8,18,28,.55) 55%, rgba(8,18,28,.88) 100%),
    url("../img/scene/skyline.jpg") center/cover no-repeat;
  transform: scale(1.12);
  transform-origin: center top;
  will-change: transform;
}
.hero--cinematic .hero__slides { padding: 140px 0 80px; }
.hero--cinematic h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  max-width: 14ch;
  margin: 10px 0 18px;
}
.hero--cinematic h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero .eyebrow {
  font-family: var(--font-vag);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ffd6d4;
}

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-top: 1px solid #2a3238;
  border-bottom: 1px solid #2a3238;
}
.marquee__track {
  display: flex; gap: 48px; width: max-content;
  animation: ticker 32s linear infinite;
  padding: 16px 0;
  font-family: var(--font-vag);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 13px;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bleed {
  position: relative;
  min-height: 62vh;
  overflow: hidden;
  color: #fff;
  display: grid; align-items: end;
}
.bleed img.bg {
  position: absolute; inset: -12%;
  width: 124%; height: 124%;
  object-fit: cover;
  will-change: transform;
}
.bleed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,18,28,.1), rgba(8,18,28,.78));
}
.bleed .wrap { position: relative; z-index: 1; padding: 80px 0 48px; }
.bleed h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0;
}

.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: var(--line);
}
.tl {
  display: grid;
  grid-template-columns: 160px 1fr 1.1fr;
  gap: 28px;
  padding: 28px 0 28px 48px;
  position: relative;
}
.tl::before {
  content: "";
  position: absolute; left: 12px; top: 42px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px #fff;
}
.tl .year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--blue);
  margin: 0;
}
.tl h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 10px;
}
.tl h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.tl figure {
  margin: 0; overflow: hidden; border-radius: 22px; min-height: 240px;
}
.tl figure img {
  width: 100%; height: 280px; object-fit: cover;
}

.campaigns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.campaign {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 320px; color: #fff;
}
.campaign img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.campaign span, .campaign strong {
  position: relative; z-index: 1;
}
.campaign .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(8,18,28,.82));
}
.campaign strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.campaign.tall { min-height: 660px; grid-row: span 2; }
.page-hero--photo {
  min-height: 48vh;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8,18,28,.35), rgba(8,18,28,.72)),
    var(--hero-img) center/cover no-repeat;
}
.page-hero--photo .muted, .page-hero--photo p { color: #e8eef2; }
.note-visuel { font-size: 12px; color: #93a0a8; }

@media (max-width: 900px) {
  .tl { grid-template-columns: 1fr; padding-left: 40px; }
  .campaigns { grid-template-columns: 1fr; }
  .campaign.tall { min-height: 380px; grid-row: auto; }
  .hero--cinematic .hero__media { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

.marquee__track span{white-space:nowrap;opacity:.8}
.page-hero--photo h1{color:#fff}

.header { background: rgba(255,255,255,.94); }
.dark {
  background: #0e3a52;
  color: #f3f5f6;
}
.dark .muted { color: #b7c0c6; }
.ornament {
  width: 72px; height: 18px; margin: 0 auto 28px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  clip-path: polygon(0 50%, 46% 40%, 50% 0, 54% 40%, 100% 50%, 54% 60%, 50% 100%, 46% 60%);
  opacity: .9;
}
.script {
  font-family: "Great Vibes", "Instrument Serif", cursive;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-align: center;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.hero-v {
  position: relative;
  min-height: 100vh;
  display: grid; place-items: center;
  overflow: hidden;
  background: #1a2a33;
}
.hero-v .bg {
  position: absolute; inset: -18% 0;
  width: 100%; height: 136%;
  object-fit: cover;
  will-change: transform;
}
.hero-v::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,16,24,.28), rgba(8,16,24,.55) 70%, #0b0d10);
}
.hero-v .inner { position: relative; z-index: 1; padding: 120px 20px 80px; text-align: center; }
.odd {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-transform: uppercase;
  text-align: center;
}
.odd .plus { color: var(--red); }
.mark {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: .12em .28em .02em;
  line-height: 0.9;
}
.who {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.who .odd { text-align: left; font-size: clamp(3rem, 7vw, 5.6rem); }
.who p { font-size: 1.05rem; }
.btn--line {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dark .btn--line { color: #fff; }
.cities {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  font-family: var(--font-vag);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
}
.underline {
  width: 64px; height: 3px; background: var(--red); margin: 14px auto 28px;
}
.camp {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center;
}
.camp h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.stack-photos {
  position: relative; height: 420px;
}
.stack-photos img {
  position: absolute; width: 58%; height: 78%; object-fit: cover;
  border-radius: 4px; box-shadow: 0 20px 50px rgba(0,0,0,.18);
  transition: transform .45s ease;
}
.stack-photos img:nth-child(1) { left: 0; top: 10%; z-index: 1; transform: rotate(-2deg); }
.stack-photos img:nth-child(2) { left: 22%; top: 0; z-index: 2; }
.stack-photos img:nth-child(3) { left: 42%; top: 16%; z-index: 3; transform: rotate(3deg); }
.acc { display: grid; gap: 8px; max-width: 820px; margin: 0 auto; }
.acc details {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
}
.acc summary {
  cursor: pointer; padding: 16px 18px;
  font-weight: 800; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--red); font-size: 1.2rem; }
.acc details[open] summary::after { content: "–"; }
.acc details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.invoke {
  display: grid; grid-template-columns: 280px 1fr; gap: 0;
  max-width: 880px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.invoke__card {
  background: var(--red); color: #fff; padding: 28px 22px;
}
.invoke__card a { color: #fff; }
.invoke form { background: #fff; color: var(--ink); padding: 28px; }

@media (max-width: 860px) {
  .who, .camp, .invoke { grid-template-columns: 1fr; }
  .who .odd { text-align: center; }
  .stack-photos { height: 320px; }
}
.dark { background: #163a4d; background-image: none; }
.dark::before { display: none; }

.hero-ooh {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #163a4d;
}
.hero-ooh .bg {
  position: absolute; inset: -10% 0 0;
  width: 100%; height: 120%;
  object-fit: cover;
  will-change: transform;
}
.hero-ooh::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,58,77,.15) 20%, rgba(16,58,77,.78));
}
.hero-ooh .inner { position: relative; z-index: 1; padding: 0 0 64px; }
.hero-ooh h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 8px 0 14px;
}
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fmt { padding: 0; overflow: hidden; }
.fmt img { height: 180px; width: 100%; object-fit: cover; }
.fmt .pad { padding: 16px 18px 20px; }
.fmt b { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.03em; }
@media (max-width: 900px) {
  .formats { grid-template-columns: 1fr 1fr; }
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.card, .fmt, .stat, .work, .logos figure {
  transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.card:hover, .fmt:hover, .work:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(16,20,24,.1);
}
.stat:hover { transform: translateY(-3px); }
.btn { transition: background .25s ease, transform .25s ease, opacity .25s ease; }
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in, .card, .fmt, .stat, .work, .btn {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

.logo img, .custom-logo { height: 44px; width: auto; }

/* v1.2 — breathing room under sticky header + project gallery */
.page-hero {
  padding: 96px 0 48px;
}
.page-hero--photo {
  min-height: 56vh;
  display: grid;
  align-items: end;
  padding: 140px 0 56px;
}
.page-hero--photo + section,
.project-hero + .project-body {
  padding-top: 56px;
}
.hero-ooh .inner {
  padding: 110px 0 72px;
}

.card, .work {
  background: #fff;
}
.work img {
  height: 220px;
  background: #e8eef2;
}

.logos {
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.logos figure {
  min-height: 88px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.logos img {
  max-height: 48px;
  filter: grayscale(1);
  opacity: .88;
}

.project-hero {
  min-height: 58vh;
  display: grid;
  align-items: end;
  color: #fff;
  padding: 140px 0 48px;
  background:
    linear-gradient(180deg, rgba(8,18,28,.28) 10%, rgba(8,18,28,.78) 100%),
    var(--hero-img, linear-gradient(160deg, #163a4d, #0b2b3d)) center/cover no-repeat;
}
.project-hero h1 {
  color: #fff;
  max-width: 18ch;
}
.project-meta {
  margin: 8px 0 0;
  color: #e8eef2;
  font-weight: 700;
}
.project-layout {
  display: grid;
  gap: 32px;
}
.project-copy .wp-block-gallery,
.project-copy .gallery,
.project-copy .wp-block-image {
  display: none;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.project-shot {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #e8eef2;
}
.project-shot:first-child {
  grid-column: 1 / -1;
}
.project-shot img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.project-shot:first-child img { height: 460px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8,18,28,.88);
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: #fff;
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .project-gallery { grid-template-columns: 1fr; }
  .project-shot:first-child img,
  .project-shot img { height: 240px; }
  .page-hero--photo,
  .project-hero { padding-top: 120px; min-height: 46vh; }
}

/* ===== v1.3 — sticky scroll, logo, services, map home ===== */
.header {
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.header .nav > a,
.header .nav summary {
  font-size: 15px;
  font-family: var(--font-vag);
  font-weight: 700;
  letter-spacing: .01em;
}
.logo img,
.logo .custom-logo {
  height: 56px !important;
  width: auto !important;
  transition: opacity .3s ease;
}
.header.is-scrolled {
  background: var(--blue);
  border-bottom-color: transparent;
  box-shadow: 0 10px 30px rgba(16, 20, 24, .18);
}
.header.is-scrolled .nav > a,
.header.is-scrolled .nav summary {
  color: #fff;
}
.header.is-scrolled .nav > a:hover,
.header.is-scrolled .nav summary:hover,
.header.is-scrolled .nav > a[aria-current="page"] {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.header.is-scrolled .nav__cta {
  background: #fff !important;
  color: var(--blue) !important;
}
.header.is-scrolled .burger span,
.header.is-scrolled .burger span::before,
.header.is-scrolled .burger span::after {
  background: #fff;
}
.header.is-scrolled .logo-default { display: none; }
.header.is-scrolled .logo-scrolled { display: block !important; }
.logo-scrolled { display: none; }
.header.is-scrolled .custom-logo {
  filter: brightness(0) invert(1);
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 8px 0 14px;
}
.section-dark {
  background: #0e3a52;
  color: #f3f5f6;
  padding: 82px 0;
}
.section-dark .muted { color: #c5d0d8; }

/* Supports cards: texte lisible sur fond blanc dans section sombre */
.section-dark .card,
.section-dark .fmt {
  background: #fff;
  color: var(--ink);
}
.section-dark .fmt b,
.section-dark .card h3,
.section-dark .card b {
  color: var(--ink);
}
.section-dark .card .muted,
.section-dark .fmt .muted,
.section-dark .fmt span {
  color: #5b6570;
}

.section-head--light .kicker { color: #ffd6d4; }
.section-head--light h2 { color: #fff; }
.more--light { color: #9fd0f0; }
.section-paper { background: var(--paper); }
.section-bleed { padding: 88px 0; }
.split--vcenter { align-items: center; }
.stats--2 { grid-template-columns: 1fr 1fr; }

.home-map-wrap {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 22px;
  align-items: stretch;
}
.home-map {
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef2;
  z-index: 1;
}
.home-map-cta {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.metier-card img { height: 160px; }
.metier-grid .metier-card img { height: 140px; }

.section-awards { padding: 88px 0; background: linear-gradient(180deg, #fff, var(--blue-50)); }
.award-visual,
.contact-visual {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.award-visual {
  background: #fff;
  border: 1px solid var(--line);
}
.award-visual img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #fff;
}
.contact-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.section-contact-home { padding: 88px 0 100px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}
.contact-side { display: grid; gap: 16px; }
.contact-side__media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
}
.contact-side__media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.service-body { padding: 64px 0 90px; }
.service-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: start;
}
.service-aside {
  display: grid;
  gap: 14px;
}
.service-aside img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}
.services-grid-section { padding: 56px 0 90px; }

.archive-intro {
  padding: 40px 0 8px;
}
.archive-intro .lead {
  max-width: 68ch;
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.archive-grid-section { padding: 24px 0 90px; }

@media (max-width: 980px) {
  .home-map-wrap,
  .contact-grid,
  .service-layout {
    grid-template-columns: 1fr;
  }
  .home-map { min-height: 320px; }
  .award-visual img,
  .contact-visual img { height: 260px; }
}


/* Award homepage visual */
.section-awards .award-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.section-awards .award-visual img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #fff;
  display: block;
}
.section-dark .card,
.section-dark .fmt {
  background: #fff !important;
  color: #101418 !important;
}
.section-dark .fmt b,
.section-dark .card h3,
.section-dark .card b {
  color: #101418 !important;
}
.section-dark .card .muted,
.section-dark .fmt .muted,
.section-dark .fmt span {
  color: #5b6570 !important;
}
