@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-700-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --ink: #2c2e2a;
  --yellow: #f9d314;
  --yellow-footer: #f5e211;
  --cream: #f5f1e4;
  --orange: #ff8a3d;
  --blue: #2f9bec;
  --white: #fff;
  --radius-xl: 50px;
  color-scheme: light;
  font-family: "Inter", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.site-header,
.mobile-menu {
  display: none !important;
}

.c-menu-desktop {
  transform: none !important;
}

html:has(.swarme-methodology-page) .c-menu-desktop_link[href="/methode/"] {
  background: var(--cream);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.page-container {
  width: min(1630px, calc(100% - 12vw));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1400px, calc(100% - 48px));
  min-height: 70px;
  padding: 9px 12px 9px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(44, 46, 42, 0.045);
  transform: translateX(-50%);
  transition: transform 450ms cubic-bezier(.2,.8,.2,1), background 250ms ease;
  backdrop-filter: blur(18px);
}

.site-header.is-hidden {
  transform: translate(-50%, -130%);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding-inline: 2px 8px;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.brand-mark {
  width: 43px;
  height: 36px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.desktop-nav a {
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 17px;
  letter-spacing: -0.025em;
  transition: background 220ms ease, transform 220ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: var(--cream);
}

.desktop-nav a:hover {
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.header-cta {
  padding: 13px 17px;
  border-radius: 10px;
  background: var(--cream);
  font-size: 15px;
  white-space: nowrap;
  transition: background 200ms ease;
}

.header-cta:hover {
  background: #ebe4d5;
}

.menu-toggle {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 250ms ease, top 250ms ease;
}

.menu-toggle span:first-child {
  top: 21px;
}

.menu-toggle span:last-child {
  top: 27px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 24px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 24px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  padding: 125px 7vw 7vw;
  place-items: center;
  background: var(--orange);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: min(760px, 100%);
}

.mobile-menu a {
  width: 100%;
  padding: 14px;
  border-bottom: 1px solid rgba(44, 46, 42, 0.45);
  font-size: clamp(32px, 7vw, 74px);
  letter-spacing: -0.065em;
  line-height: 1.05;
  text-align: center;
}

.method-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--yellow);
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  padding-top: 144.5px;
}

.hero-kicker {
  margin: 0 0 25.5px;
  font-size: 29.75px;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.hero-title {
  width: calc(100% + 9.312px);
  max-width: none;
  margin: 0 0 0 -9.312px;
  padding-right: 20%;
  font-size: clamp(120px, 9.7vw, 186.24px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.hero-intro {
  position: absolute;
  right: auto;
  bottom: 92.5px;
  left: 53.03%;
  width: 500px;
  margin: 0;
  font-size: 20.1875px;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.hero-illustrations {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.rive-composer {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 35%;
  transform: translateY(20%);
  transform-origin: bottom left;
}

.composer-box {
  aspect-ratio: 1000 / 1151;
}

.rive-trumpeters {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  aspect-ratio: 742 / 600;
  transform-origin: top right;
}

.rive-box,
.rive-canvas-wrap,
.rive-canvas {
  width: 100%;
  height: 100%;
}

.rive-canvas {
  object-fit: contain;
}

.rive-flipped {
  transform: scaleX(-1);
}

.trumpet-one {
  position: absolute;
  top: 12%;
  right: 20%;
  width: 55%;
  height: auto;
  aspect-ratio: 808 / 738;
}

.trumpet-two {
  position: absolute;
  top: 36%;
  right: -10%;
  width: 50%;
  height: auto;
  aspect-ratio: 1;
}

.music-note,
.music-dot,
.music-trace {
  position: absolute;
}

.music-note {
  top: 63%;
  right: 40%;
  width: 14%;
}

.music-dot {
  top: 58%;
  left: 26%;
  width: 4%;
}

.music-trace {
  top: 14%;
  right: 65%;
  width: 16%;
  transform: rotate(-10deg);
}

.method-content {
  position: relative;
  z-index: 5;
  margin-top: -50px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--white);
}

.methods-panel {
  padding: 136px 0 170px;
  border-radius: var(--radius-xl);
  background: var(--cream);
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 5.2vw;
}

.method-row {
  position: relative;
  display: flex;
  min-width: 0;
  height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(22px, 1.55vw, 29.75px);
  letter-spacing: -0.06em;
  line-height: 1.2;
  transition: color 220ms ease;
}

.method-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}

.method-row i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  font-size: 27px;
  font-style: normal;
  line-height: 1;
  opacity: 0.95;
  transition: background 220ms ease, transform 320ms cubic-bezier(.2,.8,.2,1);
}

.method-row:hover span {
  transform: translateX(12px);
}

.method-row:hover i {
  background: var(--orange);
  transform: translateX(-4px);
}

.method-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5.2vw;
  align-items: start;
  margin-top: 160px;
}

.editorial-image {
  width: 60%;
  min-width: 360px;
  height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}

.editorial-image:hover img {
  transform: scale(1.035);
}

.editorial-copy {
  max-width: 650px;
  font-size: 21px;
  letter-spacing: -0.035em;
  line-height: 1.38;
}

.editorial-copy p {
  margin: 0 0 1em;
}

.fullscreen-study {
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
}

.fullscreen-study img {
  position: absolute;
  inset: -9% 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center 42%;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.exercise-callout {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: 810px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--cream);
}

.callout-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.callout-center h2 {
  max-width: 720px;
  margin: 0 0 42px;
  font-size: clamp(48px, 3.1vw, 60px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 10px 10px 20px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--ink);
  font-size: 20px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.primary-button i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  font-size: 30px;
  font-style: normal;
}

.primary-button:hover {
  box-shadow: 0 14px 34px rgba(47, 155, 236, 0.28);
  transform: translateY(-3px);
}

.callout-character {
  position: absolute;
  pointer-events: none;
}

.callout-left {
  bottom: -9%;
  left: -5%;
  width: 35%;
  aspect-ratio: 0.8;
  transform: rotate(4deg);
}

.callout-right {
  right: -5%;
  bottom: -8%;
  width: 34%;
  aspect-ratio: 1;
  transform: rotate(-4deg);
}

.site-footer {
  position: relative;
  margin-top: 0;
  padding: 135px 0 36px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--yellow-footer);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5.2vw;
}

.footer-lead {
  max-width: 560px;
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.footer-nav {
  display: grid;
  justify-content: end;
  gap: 3px;
  font-size: 19px;
}

.footer-nav a:hover,
.footer-details a:hover,
.footer-bottom a:hover,
.footer-bottom button:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 5.2vw;
  align-items: end;
  margin-top: 105px;
}

.footer-main h2 {
  margin: 0;
  font-size: clamp(105px, 10vw, 190px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.footer-main h2 u {
  text-decoration-thickness: 0.045em;
  text-underline-offset: 0.08em;
}

.footer-details {
  display: grid;
  gap: 24px;
  padding-bottom: 5px;
  font-size: 17px;
  line-height: 1.4;
}

.footer-details p {
  margin: 0;
}

.footer-details a {
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  gap: 28px;
  margin-top: 120px;
  padding-top: 20px;
  border-top: 1px solid rgba(44, 46, 42, 0.55);
  font-size: 13px;
}

.footer-bottom span {
  margin-right: auto;
}

.footer-bottom button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.method-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 700;
  width: 210px;
  height: 250px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--orange);
  box-shadow: 0 22px 55px rgba(44, 46, 42, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(.82) rotate(-4deg);
  transition: opacity 170ms ease, transform 260ms cubic-bezier(.2,.8,.2,1);
}

.method-preview.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1) rotate(-2deg);
}

.method-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 190ms;
}

@media (max-width: 1200px) {
  .desktop-nav a {
    padding-inline: 12px;
    font-size: 15px;
  }

  .header-cta {
    display: none;
  }

  .hero-intro {
    font-size: 19px;
  }

  .editorial-image {
    width: 78%;
  }
}

@media (max-width: 900px) {
  .page-container {
    width: calc(100% - 48px);
  }

  .site-header {
    top: 15px;
    width: calc(100% - 30px);
    min-height: 59px;
    padding: 6px 7px 6px 12px;
    border-radius: 12px;
  }

  .brand {
    gap: 7px;
    font-size: 24px;
  }

  .brand-mark {
    width: 37px;
    height: 31px;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-cta {
    display: block;
    padding: 11px 13px;
    font-size: 14px;
  }

  .menu-toggle {
    width: 45px;
    height: 45px;
  }

  .menu-toggle span:first-child {
    top: 18px;
  }

  .menu-toggle span:last-child {
    top: 25px;
  }

  .menu-toggle[aria-expanded="true"] span:first-child,
  .menu-toggle[aria-expanded="true"] span:last-child {
    top: 22px;
  }

  .method-hero,
  .hero-copy {
    min-height: 100svh;
  }

  .hero-copy {
    padding-top: 122px;
  }

  .hero-kicker {
    font-size: 20px;
  }

  .hero-title {
    width: 100%;
    margin-left: 0;
    padding-right: 0;
    font-size: clamp(62px, 14vw, 112px);
    line-height: 0.94;
  }

  .hero-intro {
    right: auto;
    bottom: 44px;
    left: 0;
    width: 100%;
    max-width: 560px;
    font-size: 17px;
  }

  .rive-composer {
    bottom: 11%;
    left: -9%;
    width: 48%;
    opacity: .9;
  }

  .rive-trumpeters {
    top: 9%;
    right: -12%;
    width: 70%;
  }

  .method-content {
    margin-top: -30px;
    border-radius: 30px 30px 0 0;
  }

  .methods-panel {
    padding: 72px 0 90px;
    border-radius: 30px;
  }

  .methods-grid {
    grid-template-columns: 1fr;
  }

  .method-row {
    height: auto;
    min-height: 68px;
    font-size: 24px;
  }

  .method-row span {
    overflow: visible;
    white-space: normal;
  }

  .method-editorial {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 90px;
  }

  .editorial-image {
    width: 100%;
    min-width: 0;
    height: min(65vh, 520px);
  }

  .fullscreen-study {
    height: 80svh;
    min-height: 600px;
    border-radius: 30px;
  }

  .exercise-callout {
    min-height: 720px;
    border-radius: 30px;
  }

  .callout-center h2 {
    width: min(620px, calc(100vw - 48px));
    font-size: clamp(48px, 9vw, 72px);
  }

  .callout-left,
  .callout-right {
    width: 48%;
    opacity: .8;
  }

  .site-footer {
    padding-top: 80px;
    border-radius: 30px 30px 0 0;
  }

  .footer-top,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: start;
    margin-top: 36px;
  }

  .footer-main {
    margin-top: 90px;
  }

  .footer-main h2 {
    font-size: clamp(78px, 20vw, 145px);
  }

  .footer-details {
    margin-top: 60px;
  }

  .method-preview {
    display: none;
  }
}

@media (max-width: 560px) {
  .page-container {
    width: calc(100% - 40px);
  }

  .header-cta {
    font-size: 13px;
  }

  .method-hero,
  .hero-copy {
    min-height: 100svh;
  }

  .hero-copy {
    padding-top: 210px;
  }

  .hero-kicker {
    margin-bottom: 24px;
    font-size: 24.7px;
    line-height: 1.2;
  }

  .hero-title {
    width: calc(100% + 6px);
    margin-left: -3px;
    font-size: 55px;
    line-height: 0.95;
    white-space: nowrap;
  }

  .hero-intro {
    top: 410px;
    bottom: auto;
    font-size: 18.7px;
    letter-spacing: -0.04em;
    line-height: 1.25;
    text-wrap: balance;
  }

  .rive-composer {
    bottom: 0;
    left: -8%;
    width: 68%;
    opacity: 1;
    transform: translateY(20%) scale(.9);
    transform-origin: bottom left;
  }

  .rive-trumpeters {
    top: 20px;
    right: 0;
    width: 85%;
    aspect-ratio: 1;
    opacity: 1;
    transform: scale(.9);
    transform-origin: top right;
  }

  .trumpet-one {
    top: 12%;
    right: 10%;
    height: auto;
    transform: rotate(-60deg);
  }

  .trumpet-two {
    top: 26%;
    right: -10%;
    height: auto;
  }

  .music-note {
    top: 53%;
    right: 34%;
    width: 10%;
  }

  .music-dot {
    display: none;
  }

  .music-trace {
    top: 34%;
    right: 58%;
    width: 16%;
    transform: rotate(-60deg);
  }

  .method-content {
    margin-top: -35px;
  }

  .methods-panel {
    padding-top: 58px;
  }

  .method-row {
    min-height: 66px;
    font-size: 21px;
    letter-spacing: -0.045em;
  }

  .method-row i {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .editorial-copy {
    font-size: 18px;
  }

  .fullscreen-study {
    min-height: 560px;
  }

  .fullscreen-study img {
    object-position: 53% 42%;
  }

  .exercise-callout {
    min-height: 660px;
  }

  .callout-center h2 {
    font-size: clamp(42px, 12vw, 61px);
  }

  .callout-left,
  .callout-right {
    bottom: -3%;
    width: 58%;
    opacity: .55;
  }

  .callout-left {
    left: -25%;
  }

  .callout-right {
    right: -26%;
  }

  .primary-button {
    font-size: 17px;
  }

  .footer-lead {
    font-size: 20px;
  }

  .footer-main h2 {
    font-size: clamp(72px, 21vw, 105px);
  }

  .footer-bottom {
    flex-wrap: wrap;
    margin-top: 80px;
  }

  .footer-bottom span {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .hero-copy {
    padding-top: 206px;
  }

  .hero-kicker {
    font-size: 24.28px;
  }

  .hero-title {
    font-size: 58px;
  }

  .hero-intro {
    top: 422px;
    font-size: 18.58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
