@import url("https://fonts.googleapis.com/css2?family=Anton&family=Lobster&family=Oswald:wght@300;400;500;600;700&display=swap");

:root {
  --paper: #fbf4e8;
  --paper-soft: #fffaf2;
  --ink: #171511;
  --muted: #6d665d;
  --blue: #062a80;
  --blue-deep: #06184d;
  --blue-bright: #2f6ee9;
  --sand: #d8c4a7;
  --clay: #a6644b;
  --white: #ffffff;
  --line: rgba(6, 42, 128, 0.16);
  --shadow: 0 18px 55px rgba(6, 24, 77, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 981px) {
  html.has-scroll-pages {
    scroll-snap-type: y proximity;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(47, 110, 233, 0.1), transparent 26rem),
    linear-gradient(180deg, var(--paper-soft), var(--paper));
  font-family: "Oswald", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(6, 42, 128, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 42, 128, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

main {
  position: relative;
}

body.has-scroll-pages main {
  perspective: 1500px;
  perspective-origin: 50% 46%;
}

body.has-scroll-pages .scroll-page-3d {
  --page-progress: 0;
  --page-rotate: 0deg;
  --page-depth: 0px;
  --page-shift: 0px;
  --page-scale: 1;
  position: relative;
  z-index: var(--page-z, 1);
  transform:
    translate3d(0, var(--page-shift), var(--page-depth))
    rotateX(var(--page-rotate))
    scale(var(--page-scale));
  transform-origin: center center;
  transform-style: preserve-3d;
  scroll-snap-align: start;
  backface-visibility: hidden;
  transition: box-shadow 260ms ease;
  will-change: transform;
}

body.has-scroll-pages .scroll-page-3d::after {
  content: "";
  position: absolute;
  inset: 8px 0;
  z-index: -1;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 100%, rgba(6, 24, 77, 0.12), rgba(6, 24, 77, 0) 64%);
  opacity: var(--page-shadow, 0);
  transform: translate3d(0, 24px, -80px) scaleX(0.86);
  pointer-events: none;
}

body.has-scroll-pages .scroll-page-3d.is-page-active {
  --page-shadow: 0.72;
}

body.mc-intro-clean-lock {
  overflow: hidden;
}

.mc-intro-clean {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  overflow: hidden;
  background: #ffffff;
  opacity: 1;
  pointer-events: auto;
  isolation: isolate;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.mc-intro-clean::before,
.mc-intro-clean::after {
  content: none;
}

.mc-intro-clean.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.mc-intro-clean__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(52vw, 312px);
  aspect-ratio: 1;
  opacity: 0;
  transform-origin: center;
  contain: layout paint;
  will-change: transform, opacity;
}

.mc-intro-clean.is-preparing .mc-intro-clean__mark {
  opacity: 0;
}

.mc-intro-clean__mascot {
  grid-area: 1 / 1;
  z-index: 7;
  width: 78%;
  max-height: 92%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 18px 18px rgba(6, 24, 77, 0.1));
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.mc-intro-clean__shadow {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 30%;
  height: 12px;
  border-radius: 50%;
  background: rgba(6, 24, 77, 0.1);
  filter: blur(12px);
  opacity: 0;
  transform: translateX(-50%) scale(0.68);
  will-change: transform, opacity;
}

.mc-intro-clean.is-reduced .mc-intro-clean__shadow {
  display: none;
}

.mc-intro-clean.is-reduced .mc-intro-clean__mark,
.mc-intro-clean.is-reduced .mc-intro-clean__mascot {
  opacity: 1;
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(6, 42, 128, 0.14);
  background: rgba(251, 244, 232, 0.88);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 14px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  display: grid;
  font-family: "Anton", Impact, sans-serif;
  font-size: 20px;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blue);
}

.brand small {
  font-family: "Oswald", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-link,
.drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  background: transparent;
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link.active,
.drop-trigger:hover,
.dropdown:has(.dropdown-menu a.active) .drop-trigger,
.dropdown.is-open .drop-trigger,
.dropdown:focus-within .drop-trigger {
  background: var(--blue);
  color: var(--white);
}

.nav-link:active,
.drop-trigger:active,
.btn:active,
.icon-button:active,
.nav-contact-link:active {
  transform: translateY(1px) scale(0.99);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 250px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown.is-open .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--blue-deep);
  font-size: 16px;
  font-weight: 600;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(6, 42, 128, 0.08);
}

.nav-cta {
  justify-self: end;
}

.nav-contact-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.nav-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(6, 42, 128, 0.18);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 14px 24px rgba(6, 24, 77, 0.1);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav-contact-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.nav-contact-phone {
  padding: 0 17px 0 15px;
  background: var(--blue);
  color: var(--white);
}

.nav-contact-mail {
  width: 46px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--blue);
}

.nav-contact-link:hover,
.nav-contact-link:focus-visible {
  border-color: rgba(6, 42, 128, 0.3);
  box-shadow: 0 18px 30px rgba(6, 24, 77, 0.16);
  transform: translateY(-1px);
}

.nav-contact-phone:hover,
.nav-contact-phone:focus-visible {
  background: var(--blue-deep);
}

.nav-contact-mail:hover,
.nav-contact-mail:focus-visible {
  background: var(--blue);
  color: var(--white);
}

.nav-contact-link:focus-visible {
  outline: 3px solid rgba(47, 110, 233, 0.24);
  outline-offset: 3px;
}

.menu-toggle {
  display: none;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .nav-inner {
    gap: 16px;
    padding-inline: 18px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand span {
    font-size: 18px;
  }

  .nav-link,
  .drop-trigger {
    min-height: 40px;
    padding-inline: 11px;
    font-size: 15px;
  }

  .nav-links > .nav-link[href="#contact"] {
    display: none;
  }

  .nav-contact-phone {
    padding-inline: 14px;
    font-size: 14px;
  }
}

.section {
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 74px 24px;
  scroll-margin-top: 92px;
}

.section.tight {
  padding-top: 38px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 56px;
  align-items: center;
  min-height: calc(92dvh - 76px);
  padding-top: 40px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
.display {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(3.35rem, 8vw, 8.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.91;
  text-transform: uppercase;
}

.display .script {
  display: block;
  margin-top: 4px;
  color: var(--clay);
  font-family: "Lobster", cursive;
  font-size: clamp(2.6rem, 5vw, 5.9rem);
  line-height: 1.05;
  text-transform: none;
}

h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.2rem, 4.7vw, 5.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

h3,
.mid-title {
  margin: 0;
  color: var(--blue);
  font-family: "Lobster", cursive;
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
  font-weight: 400;
  line-height: 1.08;
}

p {
  margin: 0;
}

.lead {
  max-width: 62ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  font-weight: 400;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn.primary {
  background: var(--blue);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--blue-deep);
}

.btn.secondary {
  border-color: rgba(6, 42, 128, 0.28);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.38);
}

.btn.secondary:hover {
  border-color: var(--blue);
  background: rgba(6, 42, 128, 0.08);
}

.hero-media {
  position: relative;
  min-height: clamp(650px, 54vw, 720px);
}

.hero-collage-card {
  position: absolute;
  inset: 18px 24px auto auto;
  z-index: 1;
  width: min(80%, 510px);
  overflow: hidden;
  border: 1px solid rgba(6, 42, 128, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(0.8deg);
}

.hero-collage-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  pointer-events: none;
}

.hero-collage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(7px, 1vw, 11px);
  padding: clamp(9px, 1.2vw, 14px);
}

.hero-collage-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 12px 20px rgba(6, 24, 77, 0.13);
}

.hero-collage-grid img:nth-child(2),
.hero-collage-grid img:nth-child(5),
.hero-collage-grid img:nth-child(8) {
  transform: translateY(4px);
}

.logo-stage {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(82%, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(6, 42, 128, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(251, 244, 232, 0.2)),
    repeating-linear-gradient(0deg, rgba(47, 110, 233, 0.1) 0 18px, transparent 18px 42px);
  box-shadow: var(--shadow);
}

.logo-stage img {
  width: 112%;
  max-width: none;
  transform: translate(-6%, -5%);
  filter: drop-shadow(0 22px 28px rgba(6, 24, 77, 0.16));
}

.mascot-stage {
  position: absolute;
  right: -4%;
  bottom: 6px;
  z-index: 3;
  width: min(54%, 350px);
  animation: floaty 5.8s ease-in-out infinite;
}

.mascot-stage img {
  filter: drop-shadow(0 24px 18px rgba(6, 24, 77, 0.18));
}

.hero-note {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 84px;
  max-width: 315px;
  padding: 18px;
  border-left: 6px solid var(--blue);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: var(--shadow);
}

.hero-note b {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-deep);
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.hero-note span {
  display: block;
  color: var(--muted);
  font-size: 16px;
}

.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid rgba(6, 42, 128, 0.16);
  background: var(--blue);
  color: var(--white);
}

.marquee-track {
  display: flex;
  gap: 34px;
  min-width: max-content;
  padding: 12px 0;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.1rem, 2vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  gap: 56px;
  align-items: start;
}

.sticky-title {
  position: sticky;
  top: 110px;
}

.stack {
  display: grid;
  gap: 18px;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list li,
.line-card,
.service-card,
.portfolio-card,
.method-step,
.contact-panel,
.quote-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.76);
}

.problem-list li {
  min-height: 108px;
  padding: 18px;
  color: var(--blue-deep);
  font-size: 18px;
  font-weight: 600;
}

.band {
  background:
    linear-gradient(135deg, rgba(6, 42, 128, 0.95), rgba(6, 24, 77, 0.96)),
    var(--blue);
  color: var(--white);
}

.band .section {
  padding-block: 62px;
}

.band h2,
.band h3,
.band .eyebrow,
.band .lead {
  color: var(--white);
}

.audience-strip {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 44px;
  align-items: center;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 600;
}

.services-preview,
.portfolio-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.line-card,
.service-card,
.portfolio-card,
.method-step {
  padding: 24px;
}

.line-card:nth-child(1) {
  grid-column: span 5;
}

.line-card:nth-child(2) {
  grid-column: span 7;
}

.line-card:nth-child(3) {
  grid-column: span 7;
}

.line-card:nth-child(4) {
  grid-column: span 5;
}

.line-card p,
.service-card p,
.portfolio-card p,
.method-step p {
  margin-top: 12px;
  color: var(--muted);
}

.line-card .kicker,
.service-card .kicker,
.portfolio-card .kicker,
.method-step .kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.method-step {
  grid-column: span 3;
  min-height: 235px;
}

.method-number {
  color: rgba(6, 42, 128, 0.18);
  font-family: "Anton", Impact, sans-serif;
  font-size: 62px;
  line-height: 0.82;
}

.trust-section {
  padding-top: 48px;
}

.trust-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.logo-ribbon {
  position: relative;
  overflow: hidden;
  margin: 34px calc(50% - 50vw) 0;
  border-block: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(6, 24, 77, 0.36), transparent 18%, transparent 82%, rgba(6, 24, 77, 0.36)),
    var(--blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(6, 24, 77, 0.26);
}

.logo-ribbon::before,
.logo-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(12vw, 160px);
  height: 100%;
  pointer-events: none;
}

.logo-ribbon::before {
  left: 0;
  background: linear-gradient(90deg, var(--blue), rgba(6, 42, 128, 0));
}

.logo-ribbon::after {
  right: 0;
  background: linear-gradient(270deg, var(--blue), rgba(6, 42, 128, 0));
}

.logo-ribbon-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: logoRibbonLTR 54s linear infinite;
  transform: translate3d(-50%, 0, 0);
}

.logo-ribbon-group {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.9vw, 44px);
  padding: 16px clamp(18px, 3vw, 34px);
}

.logo-chip {
  --slot-w: 150px;
  --logo-w: 128px;
  --logo-h: 72px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--slot-w);
  height: 110px;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.logo-chip img {
  display: block;
  width: var(--logo-w);
  height: var(--logo-h);
  max-width: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.38))
    drop-shadow(0 12px 16px rgba(2, 14, 47, 0.24));
}

.logo-chip--andros { --slot-w: 188px; --logo-w: 174px; --logo-h: 76px; }
.logo-chip--bel { --slot-w: 122px; --logo-w: 98px; --logo-h: 90px; }
.logo-chip--alpine { --slot-w: 172px; --logo-w: 158px; --logo-h: 80px; }
.logo-chip--asp-touch { --slot-w: 136px; --logo-w: 112px; --logo-h: 104px; }
.logo-chip--dalkia { --slot-w: 180px; --logo-w: 164px; --logo-h: 78px; }
.logo-chip--samsung { --slot-w: 206px; --logo-w: 188px; --logo-h: 82px; }
.logo-chip--renault { --slot-w: 102px; --logo-w: 72px; --logo-h: 104px; }
.logo-chip--as-poussan { --slot-w: 128px; --logo-w: 96px; --logo-h: 96px; }
.logo-chip--havas { --slot-w: 174px; --logo-w: 154px; --logo-h: 80px; }
.logo-chip--rc-sete { --slot-w: 126px; --logo-w: 96px; --logo-h: 108px; }
.logo-chip--orano { --slot-w: 152px; --logo-w: 132px; --logo-h: 96px; }
.logo-chip--andros-nuts { --slot-w: 126px; --logo-w: 104px; --logo-h: 104px; }
.logo-chip--budgy { --slot-w: 192px; --logo-w: 176px; --logo-h: 94px; }
.logo-chip--bamm { --slot-w: 128px; --logo-w: 106px; --logo-h: 106px; }
.logo-chip--peyrot,
.logo-chip--groupe-peyrot { --slot-w: 230px; --logo-w: 208px; --logo-h: 74px; }
.logo-chip--mei { --slot-w: 130px; --logo-w: 96px; --logo-h: 96px; }
.logo-chip--dacia { --slot-w: 170px; --logo-w: 150px; --logo-h: 80px; }
.logo-chip--esprit { --slot-w: 104px; --logo-w: 82px; --logo-h: 108px; }
.logo-chip--kong { --slot-w: 176px; --logo-w: 158px; --logo-h: 102px; }
.logo-chip--winter { --slot-w: 132px; --logo-w: 96px; --logo-h: 96px; }
.logo-chip--pizza { --slot-w: 132px; --logo-w: 96px; --logo-h: 96px; }
.logo-chip--burger { --slot-w: 132px; --logo-w: 96px; --logo-h: 96px; }
.logo-chip--at-recup { --slot-w: 224px; --logo-w: 204px; --logo-h: 98px; }
.logo-chip--pasarwood { --slot-w: 150px; --logo-w: 132px; --logo-h: 98px; }

.logo-chip--as-poussan img,
.logo-chip--mei img,
.logo-chip--winter img,
.logo-chip--burger img,
.logo-chip--pizza img {
  border-radius: 999px;
}

.logo-chip--renault img,
.logo-chip--dalkia img,
.logo-chip--havas img,
.logo-chip--orano img {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.52))
    drop-shadow(0 12px 16px rgba(2, 14, 47, 0.24));
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: 44px;
  align-items: center;
}

.founder-feature {
  align-items: stretch;
}

.founder-photo-panel {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.founder-photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.founder-photo-panel::after {
  content: "Photo de moi";
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 250, 242, 0.35)),
    repeating-linear-gradient(-8deg, rgba(47, 110, 233, 0.16) 0 18px, transparent 18px 46px);
}

.portrait-panel img {
  position: absolute;
  right: -20px;
  bottom: -70px;
  width: min(82%, 390px);
}

.portrait-panel .label {
  position: absolute;
  left: 22px;
  top: 22px;
  max-width: 230px;
  color: var(--blue-deep);
  font-family: "Anton", Impact, sans-serif;
  font-size: 36px;
  line-height: 0.98;
  text-transform: uppercase;
}

.quote-panel {
  padding: 26px;
  border-left: 7px solid var(--blue);
  color: var(--blue-deep);
  font-family: "Lobster", cursive;
  font-size: clamp(1.65rem, 2.7vw, 3rem);
  line-height: 1.12;
}

.origin-video-section {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100dvh;
  margin-inline: calc(50% - 50vw);
  padding: clamp(96px, 12vw, 150px) 24px;
  overflow: hidden;
  color: var(--white);
  background: #17191d;
  isolation: isolate;
}

.origin-video-section::before,
.origin-video-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.origin-video-section::before {
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.56), rgba(30, 30, 30, 0.28) 44%, rgba(40, 40, 40, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(18, 18, 18, 0.34));
}

.origin-video-section::after {
  opacity: 0;
  background: none;
}

.origin-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  transform: scale(1.045);
  transform-origin: 50% 50%;
  animation: droneBackgroundDrift 16s ease-in-out infinite alternate;
  will-change: transform;
}

.origin-video-bg::-webkit-media-controls,
.origin-video-bg::-webkit-media-controls-enclosure,
.origin-video-bg::-webkit-media-controls-panel,
.origin-video-bg::-webkit-media-controls-play-button,
.origin-video-bg::-webkit-media-controls-start-playback-button,
.origin-video-bg::-webkit-media-controls-overlay-play-button,
.origin-video-bg::-webkit-media-controls-timeline,
.origin-video-bg::-webkit-media-controls-current-time-display,
.origin-video-bg::-webkit-media-controls-time-remaining-display,
.origin-video-bg::-webkit-media-controls-mute-button,
.origin-video-bg::-webkit-media-controls-toggle-closed-captions-button,
.origin-video-bg::-webkit-media-controls-volume-slider,
.origin-video-bg::-webkit-media-controls-fullscreen-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.origin-video-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 1380px);
  margin: 0 auto;
}

.origin-video-copy {
  max-width: 690px;
  border-left: 7px solid rgba(255, 255, 255, 0.88);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(22, 22, 22, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 55px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.origin-video-copy h2,
.origin-video-copy .eyebrow,
.origin-video-copy .lead,
.origin-video-copy p {
  color: var(--white);
}

.origin-video-copy p:not(.eyebrow):not(.lead) {
  max-width: 62ch;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
}

.video-label {
  position: absolute;
  right: 0;
  bottom: calc(100% + 18px);
  z-index: 2;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  padding-top: 70px;
}

.service-hero .mini-logo {
  justify-self: end;
  width: min(100%, 360px);
  filter: drop-shadow(0 22px 24px rgba(6, 24, 77, 0.12));
}

.service-list {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-column {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 14px 30px rgba(6, 24, 77, 0.06);
}

.service-column h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.2vw, 3.8rem);
}

.service-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-column li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.service-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 2px;
  background: var(--blue);
}

.social-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
}

.social-icon-row img,
.social-icon-row span {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(6, 42, 128, 0.14);
  border-radius: 9px;
  background: var(--white);
  object-fit: contain;
}

.social-icon-row span {
  display: inline-grid;
  place-items: center;
  width: auto;
  min-width: 78px;
  padding-inline: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.service-sample {
  overflow: hidden;
  margin-top: auto;
  border-radius: var(--radius);
  padding-top: 24px;
}

.service-sample img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-card {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 30px;
  align-items: start;
  padding: 30px;
}

.service-card h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.service-card ul,
.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.service-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 2px;
  background: var(--blue);
}

.aside-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 5px solid var(--clay);
  background: rgba(166, 100, 75, 0.08);
  color: var(--ink);
  font-weight: 500;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 940px);
  gap: 28px;
  align-items: center;
  padding-top: 70px;
}

.portfolio-hero .mascot-small {
  justify-self: end;
  width: min(100%, 300px);
  animation: floaty 6s ease-in-out infinite;
}

.portfolio-card {
  grid-column: span 4;
  overflow: hidden;
  padding: 0;
}

.social-showcase {
  position: relative;
  padding-bottom: clamp(70px, 8vw, 118px);
}

.social-showcase h2 {
  max-width: 780px;
}

.social-showcase__lead {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
}

.phone-cylinder-stage {
  --phone-radius: clamp(430px, 45vw, 660px);
  position: relative;
  min-height: clamp(520px, 58vw, 690px);
  margin: 42px calc(50% - 50vw) 0;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 47%;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(47, 110, 233, 0.16), rgba(47, 110, 233, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(6, 42, 128, 0.05) 48%, rgba(255, 255, 255, 0));
  outline: none;
  isolation: isolate;
  contain: layout paint;
  touch-action: pan-y;
}

.phone-cylinder-stage:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(47, 110, 233, 0.32);
}

.phone-cylinder-stage::before {
  border-radius: 0 999px 999px 0;
}

.phone-cylinder-stage::after {
  border-radius: 999px 0 0 999px;
}

.phone-cylinder-stage::before,
.phone-cylinder-stage::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 3;
  width: min(18vw, 210px);
  height: 100%;
  pointer-events: none;
}

.phone-cylinder-stage::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper-soft), rgba(255, 250, 242, 0));
}

.phone-cylinder-stage::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper-soft), rgba(255, 250, 242, 0));
}

.phone-cylinder {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--phone-radius) * -1)) rotateX(-4deg);
  animation: phoneCylinderSpin 36s linear infinite;
  will-change: transform;
}

.phone-cylinder-stage:focus-within .phone-cylinder,
.phone-cylinder-stage.is-document-hidden .phone-cylinder,
.phone-cylinder-stage.is-outside-view .phone-cylinder {
  animation-play-state: paused;
}

.phone-cylinder-shadow {
  position: absolute;
  left: 50%;
  bottom: clamp(40px, 6vw, 76px);
  width: min(68vw, 780px);
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(6, 24, 77, 0.14), rgba(6, 24, 77, 0) 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.phone-card {
  --phone-angle: calc(var(--i) * 36deg);
  position: absolute;
  top: 47.5%;
  left: 50%;
  width: clamp(168px, 18vw, 238px);
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  transform:
    translate3d(-50%, -50%, 0)
    rotateY(var(--phone-angle))
    translateZ(var(--phone-radius));
  transform-style: preserve-3d;
  backface-visibility: hidden;
  pointer-events: auto;
  cursor: zoom-in;
  filter: drop-shadow(0 30px 30px rgba(6, 24, 77, 0.17));
  transition:
    opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
}

.phone-card::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 46px;
  z-index: 0;
  width: 88%;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(6, 24, 77, 0.34), rgba(6, 24, 77, 0.15) 42%, rgba(6, 24, 77, 0) 72%);
  opacity: 0.58;
  filter: blur(8px);
  transform: translate3d(-50%, 50%, -42px) rotateX(72deg);
  transition:
    opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 420ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.phone-card::after {
  content: "";
  position: absolute;
  inset: 3.6% 5.2% 5.2%;
  z-index: 2;
  border-radius: clamp(34px, 12%, 54px);
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 28%);
  opacity: 0.56;
  pointer-events: none;
  transform: translateZ(3px);
}

.phone-cylinder-stage.is-card-hovered .phone-card:not(:hover) {
  opacity: 0.58;
  filter: drop-shadow(0 22px 22px rgba(6, 24, 77, 0.1)) saturate(0.86);
}

.phone-card:hover {
  z-index: 6;
  cursor: zoom-in;
  transform:
    translate3d(-50%, -50%, 0)
    rotateY(var(--phone-angle))
    translateZ(calc(var(--phone-radius) + 72px))
    scale(1.14);
  filter: drop-shadow(0 42px 34px rgba(6, 24, 77, 0.22));
}

.phone-card:hover::before {
  opacity: 0.78;
  filter: blur(10px);
  transform: translate3d(-50%, 58%, -56px) rotateX(72deg) scale(1.2);
}

.phone-card:hover::after {
  opacity: 0.68;
}

.phone-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 354 / 720;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: clamp(38px, 12%, 58px);
  clip-path: inset(0 round clamp(38px, 12%, 58px));
  user-select: none;
  transform: translateZ(1px);
  -webkit-user-drag: none;
}

.phone-card figcaption {
  position: relative;
  z-index: 3;
  width: min(100%, 220px);
  margin: 12px auto 0;
  padding: 7px 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.88);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 12px 24px rgba(6, 24, 77, 0.12);
  transform: translateZ(22px);
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.phone-grid .phone-card,
.poster-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 14px 30px rgba(6, 24, 77, 0.06);
}

.phone-grid .phone-card {
  padding: 18px 14px 14px;
}

.phone-grid .phone-card img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: 22px;
  filter: drop-shadow(0 16px 18px rgba(6, 24, 77, 0.14));
}

.phone-grid .phone-card figcaption,
.poster-card figcaption {
  padding: 12px 6px 2px;
  color: var(--blue-deep);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.photo-clean-showcase {
  overflow: visible;
}

.photo-clean-showcase .section-heading {
  max-width: 820px;
}

.photo-clean-showcase .lead {
  margin-top: 10px;
}

.photo-clean-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(7px, 0.8vw, 12px);
  margin-top: 34px;
  perspective: 1200px;
}

.photo-clean-card {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 42, 128, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 22px rgba(6, 24, 77, 0.1);
  cursor: zoom-in;
  transform-style: preserve-3d;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-clean-card:focus-visible {
  outline: 3px solid rgba(69, 110, 232, 0.72);
  outline-offset: 4px;
}

.photo-clean-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 320ms cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-user-drag: none;
}

.photo-clean-grid.scroll-reveal,
.photo-clean-grid.scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.photo-clean-card:hover {
  filter: saturate(1.04);
  transform: translateY(-5px) rotateX(4deg) rotateY(-5deg) scale(1.04);
  box-shadow: 0 22px 42px rgba(6, 24, 77, 0.17);
}

.photo-clean-card:hover img {
  transform: scale(1.1) translateZ(18px);
  filter: contrast(1.04);
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  opacity: 0;
  pointer-events: none;
  perspective: 1800px;
  transition: opacity 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(69, 110, 232, 0.2), transparent 34%),
    rgba(8, 16, 35, 0.72);
  backdrop-filter: blur(18px);
  cursor: zoom-out;
}

.photo-lightbox__stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(94vw, 1120px);
  height: min(82dvh, 760px);
  transform-style: preserve-3d;
}

.photo-lightbox__figure {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: rotateX(12deg) rotateY(-16deg) translate3d(0, 22px, -130px) scale(0.88);
  transform-origin: center;
  transition:
    opacity 360ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 360ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.photo-lightbox.is-active .photo-lightbox__figure {
  opacity: 1;
  transform: rotateX(0deg) rotateY(0deg) translate3d(0, 0, 0) scale(1);
}

.photo-lightbox__figure.is-switching {
  opacity: 0.58;
  filter: blur(4px) saturate(0.9);
  transform: rotateY(var(--switch-rotate, 9deg)) translate3d(0, 0, -80px) scale(0.94);
}

.photo-lightbox__image {
  display: block;
  max-width: min(94vw, 1120px);
  max-height: min(82dvh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.photo-lightbox__button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    background 220ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-lightbox__button:hover,
.photo-lightbox__button:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.04);
}

.photo-lightbox__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

.photo-lightbox__button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.photo-lightbox__close {
  top: clamp(16px, 3vw, 30px);
  right: clamp(16px, 3vw, 30px);
}

.photo-lightbox__prev,
.photo-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.photo-lightbox__prev {
  left: clamp(16px, 3vw, 32px);
}

.photo-lightbox__next {
  right: clamp(16px, 3vw, 32px);
}

body.is-photo-lightbox-open {
  overflow: hidden;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.poster-card {
  padding: 14px;
}

.poster-card img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}

.portfolio-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(6, 42, 128, 0.12), transparent 48%),
    var(--paper-soft);
}

.portfolio-visual::before,
.portfolio-visual::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(6, 42, 128, 0.78);
  border-radius: var(--radius);
}

.portfolio-visual::before {
  inset: 36px 48px 70px 28px;
  background: rgba(255, 255, 255, 0.54);
}

.portfolio-visual::after {
  right: 28px;
  bottom: 34px;
  width: 42%;
  height: 42%;
  background: repeating-linear-gradient(0deg, rgba(47, 110, 233, 0.18) 0 12px, transparent 12px 25px);
}

.portfolio-visual.video::after {
  border-radius: 50%;
  width: 96px;
  height: 96px;
  background: var(--blue);
}

.portfolio-visual.video .play {
  position: absolute;
  right: 62px;
  bottom: 66px;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid var(--white);
}

.portfolio-visual.social {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 34px;
}

.portfolio-visual.social::before,
.portfolio-visual.social::after {
  content: none;
}

.portfolio-visual.social span {
  border: 1px solid rgba(6, 42, 128, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(216, 196, 167, 0.2)),
    var(--paper-soft);
}

.portfolio-body {
  padding: 22px;
}

.placeholder-note {
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid rgba(166, 100, 75, 0.35);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-band {
  padding-bottom: 76px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 34px;
  padding: 34px;
  background: rgba(255, 250, 242, 0.88);
}

.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-options a,
.contact-options span {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--blue-deep);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid rgba(6, 42, 128, 0.24);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-row textarea {
  min-height: 136px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 110, 233, 0.14);
}

.helper,
.form-message {
  color: var(--muted);
  font-size: 15px;
}

.form-privacy {
  margin-top: -2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-privacy a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-message[data-state="error"] {
  color: #9b2f1e;
}

.form-message[data-state="success"] {
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(6, 42, 128, 0.16);
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 28px;
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 38px 24px;
}

.footer-inner h2,
.footer-inner h3 {
  color: var(--white);
  font-size: 28px;
}

.footer-inner p,
.footer-inner a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.footer-inner a:hover {
  color: var(--white);
}

.legal-hero {
  max-width: 1180px;
}

.legal-page {
  display: grid;
  gap: 0;
  max-width: 1120px;
}

.legal-card {
  border-top: 1px solid var(--line);
  padding: clamp(26px, 5vw, 46px) 0;
}

.legal-card:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.6vw, 3.8rem);
}

.legal-card p,
.legal-card li,
.legal-card dd {
  max-width: 82ch;
  color: var(--muted);
}

.legal-card p + p,
.legal-list {
  margin-top: 12px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.legal-meta div {
  border: 1px solid rgba(6, 42, 128, 0.14);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.38);
}

.legal-meta dt {
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-meta dd {
  margin: 6px 0 0;
}

.legal-list {
  padding-left: 1.1em;
}

.legal-warning {
  border-radius: var(--radius);
  padding-inline: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.44);
}

.social-bubble {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 18px 38px rgba(6, 24, 77, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  transform: translateZ(0);
}

.social-bubble::before {
  content: "Réseaux";
  display: none;
  padding: 0 7px 0 5px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-bubble__link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(6, 42, 128, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(6, 24, 77, 0.08);
  transition:
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 240ms cubic-bezier(0.16, 1, 0.3, 1),
    color 240ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.social-bubble__link:hover,
.social-bubble__link:focus-visible {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(6, 42, 128, 0.24);
  transform: translate3d(0, -3px, 0) scale(1.04);
}

.social-bubble__link:focus-visible {
  outline: 3px solid rgba(47, 110, 233, 0.28);
  outline-offset: 3px;
}

.social-bubble svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-bubble svg path {
  fill: currentColor;
  stroke: none;
}

@media (min-width: 981px) {
  .social-bubble {
    right: 30px;
    bottom: 30px;
    gap: 8px;
    padding: 9px;
    background: rgba(255, 250, 242, 0.92);
  }

  .social-bubble::before {
    display: block;
  }

  .social-bubble__link {
    width: 46px;
    height: 46px;
  }

  .social-bubble svg {
    width: 21px;
    height: 21px;
  }
}

body.js-motion-ready .scroll-reveal {
  --reveal-y: 34px;
  --reveal-rotate-x: 8deg;
  --reveal-scale: 0.985;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0) rotateX(var(--reveal-rotate-x)) scale(var(--reveal-scale));
  transform-origin: center top;
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-index, 0) * 58ms);
  will-change: transform, opacity;
}

body.js-motion-ready .scroll-reveal.is-visible {
  --reveal-y: 0px;
  --reveal-rotate-x: 0deg;
  --reveal-scale: 1;
  opacity: 1;
  transform: translate3d(0, var(--reveal-y), 0) rotateX(var(--reveal-rotate-x)) scale(var(--reveal-scale));
}

.tilt-card {
  transform-style: preserve-3d;
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 420ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
  will-change: transform;
}

.tilt-card:hover {
  --lift: -6px;
  filter: saturate(1.03);
  box-shadow: 0 26px 62px rgba(6, 24, 77, 0.16);
}

.line-card.tilt-card,
.service-card.tilt-card,
.service-column.tilt-card,
.portfolio-card.tilt-card,
.method-step.tilt-card,
.poster-card.tilt-card,
.founder-photo-panel.tilt-card,
.contact-panel.tilt-card,
.quote-panel.tilt-card,
.origin-video-copy.tilt-card {
  transform:
    perspective(1100px)
    translate3d(0, calc(var(--reveal-y, 0px) + var(--lift, 0px)), 0)
    rotateX(calc(var(--reveal-rotate-x, 0deg) + var(--tilt-x, 0deg)))
    rotateY(var(--tilt-y, 0deg))
    scale(var(--reveal-scale, 1));
}

.hero-collage-card.tilt-card {
  transform:
    perspective(1100px)
    translate3d(0, calc(var(--reveal-y, 0px) + var(--lift, 0px)), 0)
    rotateX(calc(var(--reveal-rotate-x, 0deg) + var(--tilt-x, 0deg)))
    rotateY(var(--tilt-y, 0deg))
    rotateZ(0.8deg)
    scale(var(--reveal-scale, 1));
}

.hero-collage-card.tilt-card:hover {
  --lift: -8px;
  box-shadow: 0 30px 70px rgba(6, 24, 77, 0.18);
}

.service-column.tilt-card h2,
.line-card.tilt-card h3,
.method-step.tilt-card h3,
.portfolio-card.tilt-card h3,
.poster-card.tilt-card figcaption {
  transform: translateZ(18px);
}

.btn,
.nav-link,
.drop-trigger {
  transform: translateZ(0);
}

.btn:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 14px 30px rgba(6, 24, 77, 0.14);
}

.btn.primary:hover {
  box-shadow: 0 16px 34px rgba(6, 42, 128, 0.24);
}

.logo-chip {
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), filter 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-chip:hover {
  transform: translate3d(0, -6px, 0) scale(1.04);
}

.poster-card img,
.service-sample img,
.portfolio-card img,
.founder-photo-panel img,
.hero-collage-grid img {
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.poster-card:hover img,
.service-sample:hover img,
.portfolio-card:hover img,
.founder-photo-panel:hover img,
.hero-collage-card:hover .hero-collage-grid img {
  transform: translateZ(18px) scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.hero-collage-card:hover .hero-collage-grid img:nth-child(2),
.hero-collage-card:hover .hero-collage-grid img:nth-child(5),
.hero-collage-card:hover .hero-collage-grid img:nth-child(8) {
  transform: translateY(4px) translateZ(18px) scale(1.025);
}

.origin-video-copy {
  transform-style: preserve-3d;
}

.video-label {
  animation: depthPulse 3.8s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(0, -14px, 0) rotate(1deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes logoRibbonLTR {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes phoneCylinderSpin {
  from {
    transform: translateZ(calc(var(--phone-radius) * -1)) rotateX(-4deg) rotateY(-360deg);
  }

  to {
    transform: translateZ(calc(var(--phone-radius) * -1)) rotateX(-4deg) rotateY(0deg);
  }
}

@keyframes depthPulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -4px, 0) scale(1.02);
  }
}

@keyframes droneBackgroundDrift {
  0% {
    transform: translate3d(-0.7%, -0.4%, 0) scale(1.045);
  }

  100% {
    transform: translate3d(0.7%, 0.4%, 0) scale(1.075);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .logo-ribbon {
    overflow-x: auto;
  }

  .logo-ribbon-track {
    animation: none !important;
    transform: none;
  }

  .phone-cylinder-stage {
    min-height: auto;
    margin-inline: 0;
    overflow-x: auto;
    perspective: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .phone-cylinder-stage::before,
  .phone-cylinder-stage::after,
  .phone-cylinder-shadow {
    content: none;
    display: none;
  }

  .phone-cylinder {
    position: relative;
    display: flex;
    gap: 18px;
    padding-block: 12px 20px;
    overflow: visible;
    transform: none;
    animation: none !important;
  }

  .phone-cylinder .phone-card {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 clamp(180px, 34vw, 240px);
    transform: none;
  }

  .phone-cylinder-stage.is-card-hovered .phone-card:not(:hover),
  .phone-cylinder .phone-card:hover {
    opacity: 1;
    filter: drop-shadow(0 22px 22px rgba(6, 24, 77, 0.12));
    transform: none;
  }

  .photo-clean-card,
  .photo-clean-card:hover,
  .photo-clean-card img,
  .photo-clean-card:hover img,
  .photo-lightbox__figure,
  .photo-lightbox.is-active .photo-lightbox__figure,
  .photo-lightbox__figure.is-switching {
    filter: none !important;
    transform: none !important;
  }

  body.js-motion-ready .scroll-reveal,
  body.js-motion-ready .scroll-reveal.is-visible,
  body.has-scroll-pages .scroll-page-3d,
  body.has-scroll-pages .scroll-page-3d.is-page-active,
  .tilt-card,
  .tilt-card:hover,
  .video-label {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  body.has-scroll-pages .scroll-page-3d::after {
    display: none !important;
  }

  .origin-video-bg {
    animation: none !important;
    transform: scale(1.02) !important;
  }
}

/* Static premium mode: only the entrance animation is kept. */
body.motion-minimal .marquee-track,
body.motion-minimal .logo-ribbon-track,
body.motion-minimal .phone-cylinder,
body.motion-minimal .mascot-stage,
body.motion-minimal .portfolio-hero .mascot-small,
body.motion-minimal .video-label {
  animation: none !important;
}

body.motion-minimal .marquee,
body.motion-minimal .logo-ribbon {
  overflow-x: auto;
}

body.motion-minimal .marquee-track,
body.motion-minimal .logo-ribbon-track {
  transform: none !important;
}

body.motion-minimal .logo-ribbon-group[aria-hidden="true"] {
  display: none;
}

body.motion-minimal .scroll-reveal,
body.motion-minimal .scroll-reveal.is-visible,
body.motion-minimal .tilt-card,
body.motion-minimal .tilt-card:hover,
body.motion-minimal .scroll-page-3d,
body.motion-minimal .scroll-page-3d.is-page-active {
  opacity: 1 !important;
  transform: none !important;
}

body.motion-minimal .nav-link,
body.motion-minimal .drop-trigger,
body.motion-minimal .dropdown-menu,
body.motion-minimal .dropdown-menu a,
body.motion-minimal .nav-contact-link,
body.motion-minimal .btn,
body.motion-minimal .tag-cloud span,
body.motion-minimal .contact-options a,
body.motion-minimal .contact-options span,
body.motion-minimal .logo-chip,
body.motion-minimal .logo-chip img,
body.motion-minimal .photo-clean-card,
body.motion-minimal .photo-clean-card::after,
body.motion-minimal .photo-clean-card img,
body.motion-minimal .photo-lightbox,
body.motion-minimal .photo-lightbox__figure,
body.motion-minimal .photo-lightbox__button,
body.motion-minimal .phone-card,
body.motion-minimal .phone-card::before,
body.motion-minimal .phone-card::after,
body.motion-minimal .phone-card img,
body.motion-minimal .poster-card img,
body.motion-minimal .service-sample img,
body.motion-minimal .portfolio-card img,
body.motion-minimal .founder-photo-panel img,
body.motion-minimal .hero-collage-grid img,
body.motion-minimal .social-bubble__link {
  transition: none !important;
}

body.motion-minimal .nav-link:active,
body.motion-minimal .drop-trigger:active,
body.motion-minimal .btn:active,
body.motion-minimal .icon-button:active,
body.motion-minimal .nav-contact-link:active,
body.motion-minimal .btn:hover,
body.motion-minimal .nav-contact-link:hover,
body.motion-minimal .nav-contact-link:focus-visible,
body.motion-minimal .tag-cloud span:hover,
body.motion-minimal .contact-options a:hover,
body.motion-minimal .logo-chip:hover,
body.motion-minimal .photo-clean-card:hover,
body.motion-minimal .photo-clean-card:hover img,
body.motion-minimal .photo-lightbox__button:hover,
body.motion-minimal .photo-lightbox__button:focus-visible,
body.motion-minimal .poster-card:hover img,
body.motion-minimal .service-sample:hover img,
body.motion-minimal .portfolio-card:hover img,
body.motion-minimal .founder-photo-panel:hover img,
body.motion-minimal .hero-collage-card:hover .hero-collage-grid img,
body.motion-minimal .hero-collage-card:hover .hero-collage-grid img:nth-child(2),
body.motion-minimal .hero-collage-card:hover .hero-collage-grid img:nth-child(5),
body.motion-minimal .hero-collage-card:hover .hero-collage-grid img:nth-child(8),
body.motion-minimal .social-bubble__link:hover,
body.motion-minimal .social-bubble__link:focus-visible {
  transform: none !important;
}

body.motion-minimal .photo-clean-card:hover::after {
  opacity: 0;
}

body.motion-minimal .phone-cylinder-stage {
  min-height: auto;
  margin-inline: 0;
  overflow-x: auto;
  overflow-y: hidden;
  perspective: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(6, 42, 128, 0.045) 52%, rgba(255, 255, 255, 0));
  contain: layout paint;
}

body.motion-minimal .phone-cylinder-stage::before,
body.motion-minimal .phone-cylinder-stage::after,
body.motion-minimal .phone-cylinder-shadow {
  display: none;
}

body.motion-minimal .phone-cylinder {
  position: relative;
  inset: auto;
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 26px);
  padding: 16px 24px 28px;
  overflow: visible;
  transform: none !important;
}

body.motion-minimal .phone-card {
  position: relative;
  top: auto;
  left: auto;
  flex: 0 0 clamp(168px, 21vw, 232px);
  transform: none !important;
  opacity: 1 !important;
}

body.motion-minimal .phone-cylinder-stage.is-card-hovered .phone-card:not(:hover),
body.motion-minimal .phone-card:hover {
  opacity: 1 !important;
  transform: none !important;
  filter:
    drop-shadow(0 28px 24px rgba(6, 24, 77, 0.16))
    drop-shadow(0 3px 0 rgba(255, 255, 255, 0.2));
}

body.motion-minimal .phone-card:hover::before {
  opacity: 0.58;
  filter: blur(8px);
  transform: translate3d(-50%, 50%, -42px) rotateX(72deg);
}

@media (max-width: 640px) {
  body.motion-minimal .phone-cylinder {
    padding-inline: 18px;
  }

  body.motion-minimal .phone-card {
    flex-basis: 142px;
  }
}

@media (max-width: 980px) {
  body.has-scroll-pages .scroll-page-3d {
    transform: none !important;
  }

  body.has-scroll-pages .scroll-page-3d::after {
    display: none;
  }

  .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(6, 42, 128, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    color: var(--blue);
    cursor: pointer;
  }

  .menu-toggle span {
    position: relative;
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle span::before,
  .menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle span::before {
    top: -7px;
  }

  .menu-toggle span::after {
    top: 7px;
  }

  .nav-links {
    position: fixed;
    inset: 78px 14px auto;
    display: none;
    align-items: stretch;
    justify-content: start;
    flex-direction: column;
    gap: 7px;
    max-height: calc(100dvh - 94px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 242, 0.98);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-link,
  .drop-trigger {
    justify-content: flex-start;
    width: 100%;
    border-radius: 6px;
    padding-inline: 14px;
    line-height: 1.1;
    text-align: left;
    white-space: normal;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    padding: 6px;
    border: 1px solid rgba(6, 42, 128, 0.1);
    border-radius: 8px;
    background: rgba(6, 42, 128, 0.055);
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .dropdown.is-open .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: grid;
    gap: 4px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    width: 100%;
    border-radius: 6px;
    padding: 10px 12px;
    background: rgba(255, 250, 242, 0.8);
    color: var(--blue-deep);
    line-height: 1.15;
  }

  .hero,
  .intro-grid,
  .audience-strip,
  .split-feature,
  .service-hero,
  .service-columns,
  .service-card,
  .portfolio-hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-media {
    min-height: 620px;
  }

  .hero-collage-card {
    inset: 10px auto auto 0;
    width: min(78%, 440px);
  }

  .trust-heading {
    align-items: start;
    flex-direction: column;
  }

  .logo-chip {
    height: 78px;
    transform: scale(0.86);
    transform-origin: center;
    margin-inline: -8px;
  }

  .logo-ribbon-track {
    animation-duration: 30s;
  }

  .founder-photo-panel,
  .founder-photo-panel img {
    min-height: 520px;
  }

  .origin-video-section {
    min-height: 86dvh;
    padding-block: 90px;
  }

  .origin-video-copy {
    max-width: none;
  }

  .phone-cylinder-stage {
    --phone-radius: clamp(330px, 52vw, 520px);
    min-height: 560px;
    margin-inline: calc(50% - 50vw);
  }

  .phone-card {
    width: clamp(150px, 24vw, 208px);
  }

  .photo-clean-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .sticky-title {
    position: static;
  }

  .problem-list {
    grid-template-columns: 1fr;
  }

  .line-card:nth-child(n),
  .portfolio-card,
  .method-step {
    grid-column: span 12;
  }

  .method-step {
    min-height: 0;
  }

  .service-hero .mini-logo,
  .portfolio-hero .mascot-small {
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .nav-inner,
  .section,
  .footer-inner {
    padding-inline: 18px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    font-size: 17px;
  }

  .section {
    padding-block: 50px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-media {
    min-height: 520px;
  }

  .mc-intro-clean__mark {
    width: min(76vw, 292px);
  }

  .mc-intro-clean__mascot {
    width: 80%;
  }

  .logo-stage {
    width: 88%;
  }

  .mascot-stage {
    right: -12%;
    bottom: 4px;
    width: 58%;
  }

  .hero-note {
    left: 0;
    bottom: 118px;
    max-width: min(78%, 292px);
    padding: 15px;
    background: rgba(255, 250, 242, 0.96);
  }

  .service-card,
  .service-column,
  .contact-panel {
    padding: 22px;
  }

  .origin-video-section {
    min-height: 92dvh;
    padding-block: 76px;
  }

  .origin-video-copy {
    padding: 22px;
  }

  .video-label {
    position: static;
    justify-self: start;
    margin-bottom: 14px;
    order: -1;
  }

  .hero-collage-card {
    width: 82%;
  }

  .photo-clean-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .photo-clean-card,
  .photo-clean-card:nth-child(6n + 2),
  .photo-clean-card:nth-child(6n + 5) {
    min-height: 0;
  }

  .photo-clean-card:nth-child(9n + 1) {
    grid-row: auto;
  }

  .photo-lightbox {
    padding: 14px;
  }

  .photo-lightbox__stage {
    width: 100%;
    height: min(78dvh, 680px);
  }

  .photo-lightbox__image {
    max-width: 100%;
    max-height: min(78dvh, 680px);
  }

  .photo-lightbox__button {
    width: 42px;
    height: 42px;
  }

  .photo-lightbox__prev {
    left: 10px;
  }

  .photo-lightbox__next {
    right: 10px;
  }

  .phone-cylinder-stage {
    --phone-radius: 276px;
    min-height: 470px;
  }

  .phone-cylinder-stage::before,
  .phone-cylinder-stage::after {
    width: 54px;
  }

  .phone-card {
    width: 136px;
    filter: drop-shadow(0 20px 18px rgba(6, 24, 77, 0.18));
  }

  .phone-card img {
    border-radius: 34px;
    clip-path: inset(0 round 34px);
  }

  .phone-card::before {
    bottom: 34px;
    height: 24px;
    border-radius: 999px;
    filter: blur(7px);
  }

  .phone-card::after {
    border-radius: 30px;
  }

  .phone-card figcaption {
    padding: 6px 8px;
    font-size: 12px;
  }

  .phone-grid .phone-card img {
    height: 360px;
  }

  .poster-card img {
    height: 430px;
  }

  .social-bubble {
    right: 12px;
    bottom: 12px;
    gap: 5px;
    padding: 6px;
  }

  .social-bubble__link {
    width: 38px;
    height: 38px;
  }

  .social-bubble svg {
    width: 18px;
    height: 18px;
  }
}

/* Premium refinement layer */
:root {
  --surface: rgba(255, 250, 242, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-blue: rgba(6, 42, 128, 0.075);
  --line-strong: rgba(6, 42, 128, 0.24);
  --shadow-soft: 0 18px 42px rgba(6, 24, 77, 0.1);
  --shadow-lift: 0 28px 72px rgba(6, 24, 77, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.18, 0.92, 0.24, 1.08);
  --focus-ring: 0 0 0 4px rgba(47, 110, 233, 0.18);
}

html,
body {
  overflow-x: hidden;
}

body {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 38dvh;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 244, 232, 0), rgba(6, 42, 128, 0.055));
}

a,
button,
[role="button"],
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.82));
  box-shadow: 0 14px 34px rgba(6, 24, 77, 0.075);
}

.nav-inner {
  min-height: 78px;
}

.brand img {
  filter: drop-shadow(0 10px 16px rgba(6, 24, 77, 0.14));
}

.nav-link,
.drop-trigger,
.nav-contact-link,
.btn,
.social-bubble__link,
.photo-lightbox__button {
  transition:
    transform 220ms var(--ease-out),
    background-color 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    opacity 220ms var(--ease-out);
}

.nav-link,
.drop-trigger {
  position: relative;
  overflow: hidden;
}

.nav-link::after,
.drop-trigger::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after,
.dropdown.is-open .drop-trigger::after,
.dropdown:focus-within .drop-trigger::after,
.dropdown:has(.dropdown-menu a.active) .drop-trigger::after {
  opacity: 0.7;
  transform: scaleX(1);
}

.dropdown-menu {
  overflow: hidden;
  border-color: rgba(6, 42, 128, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.94));
  box-shadow: 0 22px 54px rgba(6, 24, 77, 0.16);
}

.section {
  position: relative;
}

.hero {
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-media {
  transform-style: preserve-3d;
}

.mascot-stage {
  right: -1%;
  bottom: 18px;
  width: min(50%, 326px);
}

.hero-collage-card,
.logo-stage,
.hero-note,
.founder-photo-panel,
.portrait-panel,
.problem-list li,
.line-card,
.service-card,
.service-column,
.portfolio-card,
.method-step,
.contact-panel,
.quote-panel,
.legal-meta div,
.poster-card,
.photo-clean-card {
  border-color: rgba(6, 42, 128, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 242, 0.78));
  box-shadow: var(--shadow-soft);
}

.problem-list li,
.line-card,
.service-card,
.service-column,
.portfolio-card,
.method-step,
.contact-panel,
.quote-panel,
.legal-meta div,
.poster-card {
  position: relative;
  overflow: hidden;
}

.problem-list li::after,
.line-card::after,
.service-card::after,
.service-column::after,
.portfolio-card::after,
.method-step::after,
.contact-panel::after,
.quote-panel::after,
.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.line-card:hover,
.service-card:hover,
.service-column:hover,
.portfolio-card:hover,
.method-step:hover,
.poster-card:hover,
.contact-panel:hover,
.quote-panel:hover {
  border-color: rgba(6, 42, 128, 0.26);
}

.btn {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn.primary {
  background:
    linear-gradient(180deg, rgba(47, 110, 233, 0.18), rgba(6, 42, 128, 0)),
    var(--blue);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.58);
}

.tag-cloud span,
.contact-options a,
.contact-options span {
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

.tag-cloud span:hover,
.contact-options a:hover {
  transform: translate3d(0, -2px, 0);
}

.logo-ribbon {
  background:
    linear-gradient(90deg, rgba(6, 24, 77, 0.42), transparent 16%, transparent 84%, rgba(6, 24, 77, 0.42)),
    linear-gradient(180deg, rgba(47, 110, 233, 0.28), rgba(6, 24, 77, 0.12)),
    var(--blue);
}

.logo-ribbon:hover .logo-ribbon-track,
.logo-ribbon:focus-within .logo-ribbon-track {
  animation-play-state: running;
}

.logo-chip {
  height: 118px;
  border-radius: 999px;
}

.logo-chip img {
  image-rendering: auto;
  transform: translateZ(0);
}

.logo-chip:hover {
  filter: saturate(1.04) contrast(1.02);
}

.origin-video-copy {
  border-radius: var(--radius);
}

.phone-cylinder-stage {
  --phone-radius: clamp(390px, 42vw, 620px);
  min-height: clamp(560px, 58vw, 720px);
  background:
    radial-gradient(ellipse at 50% 46%, rgba(47, 110, 233, 0.13), rgba(47, 110, 233, 0) 50%),
    radial-gradient(ellipse at 50% 88%, rgba(6, 24, 77, 0.1), rgba(6, 24, 77, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(6, 42, 128, 0.042) 52%, rgba(255, 255, 255, 0));
}

.phone-cylinder-stage:focus-within .phone-cylinder {
  animation-play-state: running;
}

.phone-cylinder {
  animation-duration: 42s;
}

.phone-cylinder-shadow {
  bottom: clamp(46px, 7vw, 86px);
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(6, 24, 77, 0.18), rgba(6, 24, 77, 0) 72%);
}

.phone-card {
  width: clamp(174px, 18.5vw, 248px);
  filter:
    drop-shadow(0 28px 24px rgba(6, 24, 77, 0.16))
    drop-shadow(0 3px 0 rgba(255, 255, 255, 0.2));
}

.phone-card::before {
  bottom: 42px;
  width: 94%;
  background: radial-gradient(ellipse at center, rgba(6, 24, 77, 0.4), rgba(6, 24, 77, 0.13) 46%, rgba(6, 24, 77, 0) 74%);
}

.phone-card::after {
  inset: 2.9% 4.7% 4.9%;
  border-radius: clamp(32px, 11.5%, 58px);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 26%),
    linear-gradient(250deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 22%);
}

.phone-cylinder-stage.is-card-hovered .phone-card:not(:hover) {
  opacity: 0.52;
  filter:
    drop-shadow(0 18px 18px rgba(6, 24, 77, 0.09))
    saturate(0.82);
}

.phone-card:hover {
  transform:
    translate3d(-50%, -50%, 0)
    rotateY(var(--phone-angle))
    translateZ(calc(var(--phone-radius) + 94px))
    scale(1.18);
  filter:
    drop-shadow(0 42px 34px rgba(6, 24, 77, 0.22))
    drop-shadow(0 5px 0 rgba(255, 255, 255, 0.18));
}

.phone-card img {
  border-radius: clamp(36px, 11.5%, 62px);
  clip-path: inset(0 round clamp(36px, 11.5%, 62px));
}

.phone-card figcaption {
  width: min(100%, 230px);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 16px 30px rgba(6, 24, 77, 0.14);
}

.photo-clean-grid {
  grid-auto-flow: dense;
  grid-auto-rows: clamp(112px, 11vw, 172px);
  gap: clamp(10px, 1vw, 16px);
}

.photo-clean-card {
  grid-column: span 3;
  min-height: 0;
  aspect-ratio: auto;
  transform:
    perspective(1000px)
    translate3d(0, calc(var(--reveal-y, 0px) + var(--photo-lift, 0px)), 0)
    rotateX(calc(var(--reveal-rotate-x, 0deg) + var(--tilt-x, 0deg)))
    rotateY(var(--tilt-y, 0deg))
    scale(var(--reveal-scale, 1));
}

.photo-clean-card:nth-child(9n + 1),
.photo-clean-card:nth-child(9n + 6) {
  grid-column: span 4;
  grid-row: span 2;
}

.photo-clean-card:nth-child(9n + 4),
.photo-clean-card:nth-child(9n + 8) {
  grid-column: span 2;
}

.photo-clean-card img {
  height: 100%;
  aspect-ratio: auto;
}

.photo-clean-card:hover {
  --photo-lift: -8px;
  filter: saturate(1.05) contrast(1.02);
  transform:
    perspective(1000px)
    translate3d(0, calc(var(--reveal-y, 0px) + var(--photo-lift, 0px)), 0)
    rotateX(calc(var(--reveal-rotate-x, 0deg) + var(--tilt-x, 4deg)))
    rotateY(var(--tilt-y, -5deg))
    scale(1.025);
  box-shadow: 0 26px 58px rgba(6, 24, 77, 0.18);
}

.photo-clean-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 34%),
    linear-gradient(0deg, rgba(6, 24, 77, 0.12), rgba(6, 24, 77, 0) 32%);
  opacity: 0;
  transition: opacity 260ms var(--ease-out);
}

.photo-clean-card:hover::after {
  opacity: 1;
}

.photo-lightbox {
  z-index: 120;
}

.photo-lightbox__figure {
  border-radius: 10px;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 250, 242, 0));
}

.social-bubble {
  z-index: 70;
  border-color: rgba(6, 42, 128, 0.12);
}

.social-bubble:hover {
  box-shadow: 0 22px 48px rgba(6, 24, 77, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(255, 250, 242, 0.97);
  }

  .nav-inner {
    min-height: 74px;
  }

  .nav-links {
    inset: 82px 14px auto;
    border-radius: 12px;
    max-height: calc(100dvh - 104px);
  }

  .dropdown-menu {
    overflow: visible;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media {
    width: min(100%, 680px);
    justify-self: center;
  }

  .logo-chip {
    height: 86px;
  }

  .phone-cylinder-stage {
    --phone-radius: clamp(310px, 55vw, 520px);
    min-height: clamp(500px, 70vw, 610px);
  }

  .phone-card {
    width: clamp(148px, 24vw, 210px);
  }

  .photo-clean-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(104px, 19vw, 150px);
  }

  .photo-clean-card {
    grid-column: span 2;
    grid-row: span 1;
  }

  .photo-clean-card:nth-child(9n + 1),
  .photo-clean-card:nth-child(9n + 6) {
    grid-column: span 3;
    grid-row: span 2;
  }

  .photo-clean-card:nth-child(9n + 4),
  .photo-clean-card:nth-child(9n + 8) {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 4% 0%, rgba(47, 110, 233, 0.08), transparent 20rem),
      linear-gradient(180deg, var(--paper-soft), var(--paper));
  }

  .nav-links {
    inset-inline: 10px;
    padding: 10px;
  }

  .hero {
    gap: 28px;
  }

  .hero-media {
    min-height: 500px;
  }

  .hero-note {
    bottom: 104px;
    max-width: min(82%, 300px);
  }

  .mascot-stage {
    right: -4%;
    width: 49%;
  }

  .logo-ribbon-group {
    gap: 18px;
  }

  .logo-chip {
    height: 76px;
    transform: scale(0.82);
  }

  .phone-cylinder-stage {
    --phone-radius: 272px;
    min-height: 462px;
  }

  .phone-card {
    width: 132px;
  }

  .phone-card:hover {
    transform:
      translate3d(-50%, -50%, 0)
      rotateY(var(--phone-angle))
      translateZ(calc(var(--phone-radius) + 58px))
      scale(1.12);
  }

  .photo-clean-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(98px, 28vw, 132px);
    gap: 8px;
  }

  .photo-clean-card,
  .photo-clean-card:nth-child(9n + 1),
  .photo-clean-card:nth-child(9n + 4),
  .photo-clean-card:nth-child(9n + 6),
  .photo-clean-card:nth-child(9n + 8) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .photo-clean-card:nth-child(8n + 1),
  .photo-clean-card:nth-child(8n + 6) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .social-bubble {
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .photo-clean-card,
  .photo-clean-card:hover,
  .photo-clean-card img,
  .photo-clean-card:hover img,
  .phone-card,
  .phone-card:hover,
  .logo-chip,
  .logo-chip:hover,
  .tilt-card,
  .tilt-card:hover,
  body.has-scroll-pages .scroll-page-3d {
    transform: none !important;
  }

  .photo-clean-card::after {
    opacity: 0 !important;
  }
}
