@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/sora-variable.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-light: #4A8CFF;
  --blue: #174FE8;
  --navy: #0B1F5E;
  --blue-black: #090E15;
  --orange: #FF8A5B;
  --orange-light: #FCAA67;

  --white: #fff;
  --ink: #02030f;
  --line: rgba(11, 31, 94, 0.1); 

  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(20px, 3.8vw, 50px);
  --section-y: clamp(72px, 11vw, 160px);
  --radius: 6px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure, address {
  margin: 0;
  padding: 0;
  font-style: normal;
}

ul, ol {
  list-style: none;
}

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

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

::selection {
  background: var(--blue-light);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
  border-radius: 2px;
}

.container {
  width: 100%;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
}

.skip-link:focus-visible {
  top: 1rem;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(70% 80% at 25% 30%, var(--blue-light) 0%, var(--blue) 55%, var(--navy) 130%);
}

.hero--compact { min-height: 72svh; }
.hero--short   { min-height: 46svh; }

.liquid {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 24vh;
  padding-bottom: clamp(28px, 5vw, 64px);
}

.hero h1 {
  max-width: 14em;
  font-size: clamp(2.3rem, 5.2vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero--short h1,
.hero--compact h1 {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.hero p {
  max-width: 26em;
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.8vw, 1.6rem);
  line-height: 1.3;
}

.hero__cta {
  margin-top: 2rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: var(--pad);
}

.site-header .logo {
  justify-self: start; 
}

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

.site-nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.menu-toggle,
.site-nav__foot {
  display: none;
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-header.is-open {
    z-index: 60;
  }

  .site-header .site-header__lang,
  .site-nav .site-nav__social {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    height: 38px;
    margin-right: -0.6rem;
    padding: 0 1rem;
    border-radius: 5px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.35s ease;
  }

  .is-open .menu-toggle {
    background: var(--orange);
  }

  .site-nav {
    position: absolute;
    top: calc(var(--pad) - 0.6rem);
    right: calc(var(--pad) - 1rem);
    z-index: 1;
    width: min(300px, calc(100vw - var(--pad) * 2 + 2rem));
    padding: 3.6rem 1.4rem 0 3.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: var(--blue-black);
    color: var(--white);
    box-shadow: 0 10px 30px -8px rgba(2, 3, 15, 0.45);
    visibility: hidden;
    clip-path: inset(0 0 calc(100% - 52px) calc(100% - 140px) round 10px);
    opacity: 0;
    transition:
      clip-path 0.6s var(--ease-out),
      opacity 0.3s ease,
      visibility 0s linear 0.6s;
  }

  .is-open .site-nav {
    visibility: visible;
    clip-path: inset(0 0 0 0 round 10px);
    opacity: 1;
    transition:
      clip-path 0.6s var(--ease-out),
      opacity 0.2s ease;
  }

  .site-nav ul.site-nav__links {
    align-items: flex-start;
    gap: 1.1rem;
    padding-block: 0.9rem 1.2rem;
  }

  .site-nav .nav-link {
    font-size: 0.9rem;
  }

  .site-nav__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-inline: -3.2rem -1.4rem;
    padding: 1rem 1.4rem 1.3rem 3.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav__foot .lang {
    padding-top: 0;
  }

  .site-nav__links li,
  .site-nav__foot {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .is-open .site-nav__links li,
  .is-open .site-nav__foot {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.6s ease calc(var(--i, 0) * 60ms + 160ms),
      transform 0.7s var(--ease-out) calc(var(--i, 0) * 60ms + 160ms);
  }

  .contact__logo {
    margin: auto;
  }
}
@media (max-width: 420px) {
  .menu-toggle__label {
    display: none;
  }

  .menu-toggle {
    padding: 0 0.85rem;
  }
}

.section {
  padding-block: var(--section-y);
}

.approach {
  border-bottom: 1px solid var(--line);
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: 3rem;
}

.approach__head {
  grid-column: 1 / -1;
}

.approach__body {
  grid-column: 1 / -1;
}

.approach__cta {
  margin-top: 2.4rem;
}

.approach__row {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.approach__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.approach__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.approach__media:hover img {
  transform: scale(1.02);
}

.approach__copy {
  align-self: center;
}

@media (min-width: 900px) {
  .approach__head { grid-column: 1 / 9; }

  .approach__body {
    grid-column: 1 / -1;
    margin-top: clamp(200px, 22vw, 420px);
    margin-bottom: calc(clamp(200px, 22vw, 420px) * -1);
  }

  .approach__row {
    grid-template-columns: minmax(240px, 50%) 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}

.approach__about {
  margin-top: clamp(72px, 11vw, 160px);;
  max-width: max(70vw, 40rem);
  margin-inline: auto;
}

.approach__about .display--md {
  max-width: none;
  margin-top: 1.1rem;
}

.approach__about .lead--sm {
  margin-top: 1.2rem;
}

.approach__divider {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.approach__tags {
  display: flex;
  flex-wrap: wrap;
}

.approach-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  --btn-h: 3em;
  padding-inline: 1.5em;
  border-radius: 6px;
  background: var(--blue-black);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  height: var(--btn-h);
  line-height: 1;
  letter-spacing: 0.02em;
}

.services {
  background: var(--blue-black);
  color: var(--white);
}

.services .display {
  color: var(--white);
}

.services__cta {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.services .service-list {
  display: grid;
  grid-auto-rows: 1fr; 
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.services .service-row.is-slide {
  overflow: hidden;
}

.services .service-row.is-slide::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  transform: scaleX(var(--line, 1));
  transform-origin: right center;
  transition: opacity 0.4s ease;
}

.services .service-row.is-slide:last-child::after {
  opacity: 0;
}

.services .service-row.is-slide .service-row__title,
.services .service-row.is-slide .service-row__text {
  will-change: transform, opacity;
}

.services .service-row {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.services .service-row:hover {
  background: transparent;
  color: var(--orange);
}

.solutions > .container,
.services > .container {
  max-width: calc(max(70vw, 40rem) + 2 * var(--pad));
  margin-inline: auto;
}

.solutions {
  overflow-x: hidden;
  overflow-x: clip;
}

.solutions__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.solutions__row {
  display: grid;
  gap: 2.5rem;
}

.solution-card__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  will-change: transform;
}

.solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:transform 0.4s ease;
}

.solution-card__media:hover img {
  transform: scale(1.02);
}

.solution-card__body {
  margin-top: 1.5rem;
}

.solution-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

@media (min-width: 700px) {
  .solutions__row {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.detail + .detail {
  border-top: 1px solid var(--line);
}

.detail__grid {
  display: grid;
  gap: 2.5rem;
}

.detail__head .lead {
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .detail__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 5vw;
    align-items: start;
  }
}

.legal__inner {
  max-width: 50rem;
  margin-inline: 0;
}

.legal h2 {
  margin: 2.4rem 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  line-height: 1.7;
  color: rgba(2, 3, 15, 0.82);
}

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

.contact {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  color: var(--white);
  background: radial-gradient(70% 80% at 25% 30%, var(--blue-light) 0%, var(--blue) 55%, var(--navy) 130%);
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: start;
}

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.contact__intro h2 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.contact__mail {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  overflow-wrap: anywhere;
}

.contact__logo {
  width: min(100%, 220px);
  aspect-ratio: 1.15;
}

.contact__logo canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s var(--ease-out), transform 1.4s var(--ease-out);
}

.contact__logo canvas.is-ready {
  opacity: 1;
  transform: none;
}

.contact__panel {
  padding: clamp(1.5rem, 3.2vw, 3rem);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

@media (min-width: 900px) {
  .contact__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
    gap: 5vw;
  }

  .contact__logo {
    width: min(100%, 350px);
  }
}

.site-footer {
  padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px);
  background: var(--blue-black);
  color: var(--white);
}

.site-footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.site-footer__title {
  margin-top: clamp(2rem, 6vw, 5rem);
  max-width: 11em;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.site-footer__middle {
  display: grid;
  gap: 1.6rem;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  font-size: 0.85rem;
  font-weight: 600;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.site-footer__bottom {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  padding-top: clamp(1.2rem, 3vw, 2.4rem);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }

  .site-footer__nav ul {
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    text-align: right;
  }

  .site-footer__middle,
  .site-footer__bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__social {
    justify-self: end;
    align-self: start;
  }
}

.eyebrow {
  margin-bottom: 1.6rem;
  color: var(--blue);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.display {
  max-width: 11em;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.display--md {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
}

.lead {
  font-size: clamp(1.15rem, 1.9vw, 1.75rem);
  line-height: 1.3;
}

.lead--sm {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.solution-card__text {
  max-width: 30em;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(2, 3, 15, 0.78);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.logo__text {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.1;
}

.float-nav__logo .logo__text {
  font-size:0.72rem;
}

.logo__text b {
  font-weight: 700;
}

.logo__text span {
  font-weight: 400;
}

.lang {
  display: flex;
  gap: 1rem;
  padding-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
}

.lang a,
.lang span {
  display: inline-block; 
  will-change: transform;
}

.lang [aria-disabled='true'] {
  opacity: 0.55;
  font-weight: 400;
  cursor: not-allowed;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 0.2rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-link--strong,
.nav-link[aria-current='page'] {
  font-weight: 700;
}

.nav-link--small {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.site-footer .nav-link:not(.nav-link--small) {
  font-size: 0.85rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(100% + 0.7em);
  width: 1.15em;
  height: 1.15em;
  margin-top: -0.575em;
  background: url('/assets/img/arrow-left.svg') center / contain no-repeat;
  opacity: 0;
  transform: translateX(-1.1em);
  transition: transform 0.55s var(--ease-out), opacity 0.35s ease;
  pointer-events: none;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.nav-link--icon::before {
  display: none; 
}

.social-icons,
.site-footer__social {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.social-icons .nav-link--icon,
.site-footer__social .nav-link--icon {
  display: flex;
  padding-block: 0;
}

.nav-link--icon svg {
  width: 1.15rem;
  height: 1.15rem;
  will-change: transform;
}

.site-footer__contact a,
.contact__mail {
  transition: opacity 0.3s ease;
}

.btn {
  --btn-h: 3em;
  --btn-bg: var(--blue-black);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  isolation: isolate;
  position: relative;
}

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
}

.btn--blue {
  --btn-bg: var(--blue);
  --btn-fg: var(--white);
}

.btn--ghost .btn__label {
  background: transparent;
  color: var(--white);
  padding-inline: 0 1.2em;
}

.btn--ghost .btn__icon {
  background: transparent;
  color: var(--white);
}

.btn__label,
.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius);
}

.btn__label {
  padding-inline: 1.5em;
}

.btn__icon {
  position: relative;
  z-index: 1;
  width: var(--btn-h);
  will-change: transform;
  transition: background-color 0.35s ease, border-radius 0.45s var(--ease-out), color 0.35s ease;
}

.btn__icon svg {
  width: 1.3em;
  height: 1.3em;
}

.btn.is-active .btn__icon {
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}

.cursor__dot {
  display: block;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out),
    width 0.55s var(--ease-out),
    height 0.55s var(--ease-out),
    margin 0.55s var(--ease-out),
    border-radius 0.55s var(--ease-out),
    background-color 0.3s ease,
    border-color 0.3s ease,
    opacity 0.3s ease;
}

.cursor.is-visible .cursor__dot {
  opacity: 1;
}

.cursor.is-hidden .cursor__dot,
.cursor.is-hidden .cursor__label {
  opacity: 0;
}

.cursor.is-link .cursor__dot {
  transform: scale(4.5);
  background: var(--orange-light);
  opacity: 0.4;
}

.cursor.is-ring .cursor__dot {
  width: var(--ring-w, 40px);
  height: var(--ring-h, 40px);
  margin: calc(var(--ring-h, 40px) / -2) 0 0 calc(var(--ring-w, 40px) / -2);
  border-radius: var(--ring-r, 50%);
  background: transparent;
  border-color: var(--orange);
}

.cursor.is-button .cursor__dot {
  opacity: 0;
}

.cursor.is-reveal .cursor__dot {
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  background: var(--orange);
}

.cursor__label {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transition: opacity ease 0.15s; 
}

.cursor.is-reveal .cursor__label {
  opacity: 1;
  transition: opacity 0.35s ease 0.15s;
}

.cursor.is-preview .cursor__dot {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .service-row:hover {
    cursor: none;
  }
}

.hover-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 336px;
  height: 252px;
  overflow: hidden;
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 18px 40px -12px rgba(2, 3, 15, 0.35);
  transition: opacity 0.35s ease;
  will-change: transform;
  backface-visibility: hidden;
  outline: 1px solid transparent;
}

.hover-preview.is-visible {
  opacity: 1;
}

.hover-preview__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  image-rendering: smooth;
  image-rendering: high-quality;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.service-row {
  position: relative;
  display: grid;
  gap: 0.6rem 1.5rem;
  padding: clamp(1.4rem, 2.6vw, 2.4rem) clamp(1.2rem, 2.4vw, 2.3rem);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s ease;
}

.service-row__preview {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.service-row:last-child {
  border-bottom-color: transparent;
}

.service-row:hover {
  background: var(--blue);
  color: var(--white);
  border-bottom-color: transparent;
}

.service-row__title {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;
}

.service-row__text {
  max-width: 34em;
  font-size: 0.85rem;
  line-height: 1.35;
}

.services .service-row__text {
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (min-width: 700px) {
  .service-row {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    align-items: center;
  }
}

.form {
  display: grid;
  gap: 1.4rem;
}

.form__row {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field label small {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

.field input:not([type='checkbox']),
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid rgba(11, 31, 94, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  appearance: none;
  transition: border-color 0.3s ease;
}

.field select {
  background: url('/assets/img/chevron.svg') right 0.2rem center / 1rem no-repeat;
  padding-right: 1.6rem;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(11, 31, 94, 0.4);
}

.field input:not([type='checkbox']):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--blue-light);
  box-shadow: 0 1px 0 0 var(--blue-light);
}

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.75rem;
}

.field--check input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.1rem 0 0;
  accent-color: var(--blue);
}

.field--check label {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}

.field--check label a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field--check .field__error {
  grid-column: 2;
}

.field__error {
  min-height: 0;
  color: #c2410c;
  font-size: 0.75rem;
}

.field.has-error input:not([type='checkbox']),
.field.has-error select,
.field.has-error textarea {
  border-bottom-color: #c2410c;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form-status {
  font-size: 0.9rem;
  line-height: 1.4;
}

.form-status--success {
  color: #0f7b45;
}

.form-status--error {
  color: #c2410c;
}

.contact__panel > .form-status {
  margin-bottom: 1.4rem;
}

.form.is-sending .btn {
  opacity: 0.6;
  pointer-events: none;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  justify-self: start;
  color: var(--white);
  font-weight: 700;
}

.to-top svg {
  width: 1.1rem;
  height: 1.1rem;
  will-change: transform;
}

.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.04em 0.16em;
  margin: -0.06em -0.04em -0.16em;
}

.w__i {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  will-change: transform;
}

.js [data-reveal='scrub']:not(.is-split),
.js [data-reveal='intro']:not(.is-split) {
  visibility: hidden;
}

.js [data-reveal='intro'] .w__i {
  transition: transform 1.1s var(--ease-out) calc(var(--i, 0) * 70ms + 200ms);
}

.is-loaded [data-reveal='intro'] .w__i {
  transform: translate3d(0, 0, 0);
}

.js [data-reveal='fade'] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.5s var(--ease-out) 0.1s, transform 0.5s var(--ease-out) 0.1s;
}

.js [data-reveal='fade'].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .w__i {
    transform: none !important;
  }

  .js [data-reveal='fade'] {
    opacity: 1;
    transform: none;
  }
}

.float-nav {
  --fn-w: 218px;
  --fn-w-open: min(300px, calc(100vw - var(--pad) * 2));
  position: fixed;
  top: 14px;
  right: var(--pad);
  z-index: 50;
  width: var(--fn-w);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: var(--blue-black);
  color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(2, 3, 15, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -140%, 0) scale(0.92);
  transform-origin: top right;
  transition:
    transform 0.7s var(--ease-out),
    opacity 0.35s ease,
    visibility 0s linear 0.7s,
    width 0.6s var(--ease-out);
}

.float-nav.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.float-nav.is-open {
  width: var(--fn-w-open);
}

.float-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  height: 52px;
  padding: 0 0.4rem 0 1.1rem;
}

.float-nav__logo img {
  width: 26px;
  height: auto;
}

.float-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  height: 38px;
  padding: 0 1rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  will-change: transform;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.float-nav__toggle:active,
.float-nav.is-open .float-nav__toggle {
  background: var(--orange);
}

.burger {
  position: relative;
  width: 16px;
  height: 10px;
}

.burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.55s var(--ease-out);
}

.burger i:first-child { top: 0; }
.burger i:last-child  { top: calc(100% - 1.5px); }

.is-open .burger i:first-child { transform: translateY(4.25px) rotate(45deg); }
.is-open .burger i:last-child  { transform: translateY(-4.25px) rotate(-45deg); }

.float-nav__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}

.is-open .float-nav__panel {
  grid-template-rows: 1fr;
}

.float-nav__clip {
  min-height: 0;
  overflow: hidden;
  padding-inline: 3.2rem 1.4rem; 
}

.float-nav__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding-block: 0.9rem 1.2rem;
}

.float-nav .nav-link {
  font-size: 0.9rem;
}

.float-nav__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem 1.3rem;
  margin-inline: -3.2rem -1.4rem;
  padding-inline: 3.2rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.float-nav__foot .lang {
  padding-top: 0;
}

.float-nav__links li,
.float-nav__foot {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.is-open .float-nav__links li,
.is-open .float-nav__foot {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease calc(var(--i, 0) * 60ms + 160ms),
    transform 0.7s var(--ease-out) calc(var(--i, 0) * 60ms + 160ms);
}

@media (max-width: 420px) {
  .float-nav { --fn-w: 148px; }
  .float-nav__logo .logo__text,
  .float-nav__label { display: none; }
  .float-nav__toggle { padding: 0 0.85rem; }
}

/* ==========================================================================
   Équipe : cartes Théo / Robin (section « Qui sommes-nous ? »)
   Chaque carte reprend la direction artistique de la page perso :
   - Théo  : blanc, encre, rouge, Big Shoulders + Schibsted, trame en demi-teinte
   - Robin : encre, bleu électrique, cyan, papier, Archivo + IBM Plex Mono, trame tramée
   Les polices des cartes sont chargées à la demande (team-cards.js).
   ========================================================================== */

.team {
  --team-gap: clamp(18px, 2.6vw, 36px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--team-gap);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

@media (min-width: 760px) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  }
}

/* ---------- Carte : socle commun ---------- */

.tcard {
  --r: 0deg;
  --ty: 0px;
  --lift: 0px;
  --s: 1;
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  transform: translate3d(0, calc(var(--ty) + var(--lift)), 0) rotate(var(--r)) scale(var(--s));
  transition:
    transform 0.8s var(--ease-out),
    box-shadow 0.8s var(--ease-out),
    opacity 0.6s ease,
    filter 0.6s ease;
  box-shadow: 0 1px 2px rgba(9, 14, 21, 0.06);
  -webkit-tap-highlight-color: transparent;
}

/* les unités cqi se rapportent à la carte : on les utilise sur ce calque intérieur */
.tcard__in {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

@media (min-width: 760px) {
  .tcard--theo { --r: -2.2deg; }
  .tcard--robin { --r: 2.4deg; --ty: clamp(1.25rem, 3vw, 2.5rem); }
}

.tcard__link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
}

.tcard__link:focus-visible {
  outline: none;
}

.tcard:has(.tcard__link:focus-visible) {
  outline: 2px solid var(--blue-light);
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .tcard__link {
    cursor: none;
  }

  .tcard:hover,
  .tcard:has(.tcard__link:focus-visible) {
    --r: 0deg;
    --lift: -10px;
    box-shadow: 0 34px 70px -28px rgba(9, 14, 21, 0.45);
  }

  .team:has(.tcard:hover) .tcard:not(:hover) {
    opacity: 0.82;
    --s: 0.985;
  }
}

.tcard:has(.tcard__link:focus-visible) {
  --r: 0deg;
}

.tcard.is-pressed {
  --s: 0.975;
  transition-duration: 0.25s;
}

/* entrée au scroll : les cartes « tombent » sur la table */
.js .team:not(.is-in) .tcard {
  opacity: 0;
  --lift: 90px;
  --r: 0deg;
}

.js .team:not(.is-in) .tcard--theo { --r: -9deg; }
.js .team:not(.is-in) .tcard--robin { --r: 9deg; }

.js .team.is-in .tcard {
  transition:
    transform 1.1s var(--ease-out) var(--delay, 0s),
    box-shadow 0.8s var(--ease-out),
    opacity 0.7s ease var(--delay, 0s),
    filter 0.6s ease;
}

.js .team.is-in .tcard--robin { --delay: 0.12s; }
.js .team.is-settled .tcard { --delay: 0s; }

/* ==========================================================================
   Carte Théo
   ========================================================================== */

.tcard--theo {
  --t-ink: #0a0a0a;
  --t-grey: #5e5e5e;
  --t-red: #e3341b;
  background: #fff;
  color: var(--t-ink);
  border: 1px solid var(--t-ink);
  font-family: 'TC Schibsted', var(--font);
  font-weight: 500;
}

.tcard--theo .tcard__in {
  --t-pad: 4.6cqi;
  padding: var(--t-pad) var(--t-pad) 0;
}

.theo-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: max(12px, 3.1cqi);
  line-height: 1.2;
}

.theo-card__who {
  margin: 0;
  font: inherit;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.theo-card__cta {
  display: inline-flex;
  align-items: center;
}

.theo-card__cta::before {
  content: '';
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.55em;
  border-radius: 50%;
  background: var(--t-red);
  transition: transform 0.6s var(--ease-out);
}

.tcard--theo .roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.2;
}

.tcard--theo .roll__a,
.tcard--theo .roll__b {
  display: block;
  transition: transform 0.55s var(--ease-out);
}

.tcard--theo .roll__b {
  position: absolute;
  inset: 100% 0 auto 0;
}

.theo-card__body {
  display: grid;
  gap: 4cqi;
  grid-template-columns: minmax(0, 1fr) 44%;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 6cqi;
}

.theo-card__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.theo-card__intro {
  margin: 0;
  font-size: max(14px, 4.15cqi);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.theo-card__label {
  margin: auto 0 0.5em;
  padding-top: 1.2em;
  color: var(--t-grey);
  font-size: max(11px, 2.7cqi);
}

.theo-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: max(11.5px, 2.85cqi);
  line-height: 1.45;
}

.theo-card__portrait {
  position: relative;
  align-self: stretch;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.theo-card__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.25);
  transition: opacity 0.9s ease;
}

.theo-card__portrait canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.theo-card__portrait.is-screened img { opacity: 0; }
.theo-card__portrait.is-screened canvas { opacity: 1; }

.theo-card__name {
  display: flex;
  justify-content: space-between;
  gap: 0.18em;
  box-sizing: border-box;
  height: 1em;
  padding-top: 0.16em;
  margin: 3cqi 0 0;
  overflow: hidden;
  font-family: 'TC Big Shoulders', 'Arial Narrow', Impact, sans-serif;
  font-weight: 900;
  font-size: 15.6cqi;
  line-height: 0.84;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  white-space: nowrap;
}

.theo-card__word {
  display: flex;
}

.theo-card__name .ch {
  display: inline-block;
  text-shadow: 0 1.25em 0 currentColor;
  transition: transform 0.7s var(--ease-out) calc(var(--i, 0) * 28ms);
}

.theo-card__ticker {
  margin: 3.4cqi calc(var(--t-pad) * -1) 0;
  padding-block: 2.3cqi;
  overflow: hidden;
  border-top: 1px solid var(--t-ink);
}

.theo-card__track {
  display: flex;
  width: max-content;
  animation: theo-ticker 16s linear infinite;
  animation-play-state: paused;
}

.theo-card__track span {
  flex: none;
  padding-right: 0.45em;
  font-family: 'TC Big Shoulders', 'Arial Narrow', Impact, sans-serif;
  font-weight: 900;
  font-size: max(15px, 5cqi);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.theo-card__track i {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-inline: 0.42em;
  border-radius: 50%;
  background: var(--t-red);
  vertical-align: 0.2em;
}

@keyframes theo-ticker {
  to { transform: translate3d(-50%, 0, 0); }
}

.theo-card__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0.8em;
  background: var(--t-ink);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(0.6);
  transform-origin: 0 0;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out);
}

.theo-card__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--t-red);
}

/* survol Théo */
.tcard--theo:hover .roll__a,
.tcard--theo:hover .roll__b,
.tcard--theo:has(.tcard__link:focus-visible) .roll__a,
.tcard--theo:has(.tcard__link:focus-visible) .roll__b {
  transform: translateY(-100%);
}

.tcard--theo:hover .theo-card__cta::before {
  transform: scale(1.5);
}

.tcard--theo:hover .theo-card__name .ch,
.tcard--theo:has(.tcard__link:focus-visible) .theo-card__name .ch {
  transform: translate3d(0, -1.25em, 0);
}

.tcard--theo:hover .theo-card__track,
.tcard--theo.is-live .theo-card__track {
  animation-play-state: running;
}

.tcard--theo.has-tag .theo-card__tag {
  opacity: 1;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1);
}

/* ==========================================================================
   Carte Robin
   ========================================================================== */

.tcard--robin {
  --r-ink: #07070a;
  --r-paper: #efece4;
  --r-blue: #303aff;
  --r-deep: #131a6b;
  --r-cyan: #39c6ff;
  --r-line: rgba(239, 236, 228, 0.16);
  background: var(--r-ink);
  color: var(--r-paper);
  font-family: 'TC Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.tcard--robin .tcard__in {
  --r-pad: 4.2cqi;
  font-size: max(10px, 2.3cqi);
}

/* champ de pixels : un fond statique tant que le canvas n'est pas prêt */
.robin-card__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  background:
    radial-gradient(120% 70% at 70% 45%, var(--r-blue) 0%, var(--r-deep) 45%, var(--r-ink) 80%);
}

.robin-card__grid i {
  position: absolute;
  z-index: 0;
  background: var(--r-line);
  pointer-events: none;
}

.robin-card__grid i:nth-child(1) { top: 0; bottom: 0; left: 50%; width: 1px; }
.robin-card__grid i:nth-child(2) { left: 0; right: 0; top: 26%; height: 1px; }
.robin-card__grid i:nth-child(3) { left: 0; right: 0; top: 52%; height: 1px; }

.robin-card__bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--r-pad) var(--r-pad) 0;
}

.robin-card__who {
  margin: 0;
  font: inherit;
}

.robin-card__render b {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.robin-card__name {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin: auto 0 0;
  padding: 0 var(--r-pad);
  font-family: 'TC Archivo', 'Arial Narrow', Arial, sans-serif;
  font-weight: 900;
  line-height: 0.74;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--r-paper);
}

.robin-card__w {
  display: block;
  white-space: nowrap;
  transition: font-stretch 0.9s var(--ease-out), letter-spacing 0.9s var(--ease-out);
}

.robin-card__w--a {
  align-self: flex-start;
  font-size: 33cqi;
  font-stretch: 62%;
}

.robin-card__w--b {
  align-self: flex-end;
  margin-top: 0.08em;
  font-size: 17.5cqi;
  font-stretch: 112%;
}

.robin-card__dim {
  align-self: flex-start;
  margin-bottom: 2.2cqi;
  padding: 0.45em 0.7em;
  background: var(--r-ink);
  border: 1px solid var(--r-line);
  font-family: 'TC Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-weight: 400;
  font-size: max(9px, 2cqi);
  line-height: 1;
  letter-spacing: 0.02em;
  font-stretch: normal;
}

.robin-card__foot {
  position: relative;
  z-index: 1;
  margin-top: 5cqi;
}

.robin-card__ramp {
  /* rampe tramée : la surface « se rend » en papier, comme les bas de section de Robin */
  --c: 2.6cqi;
  display: block;
  height: calc(var(--c) * 3);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3' shape-rendering='crispEdges' fill='%23efece4'%3E%3Crect x='2' y='0' width='1' height='1'/%3E%3Crect x='1' y='1' width='1' height='1'/%3E%3Crect x='3' y='1' width='1' height='1'/%3E%3Crect x='0' y='2' width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3Crect x='3' y='2' width='1' height='1'/%3E%3C/svg%3E") 0 0 / calc(var(--c) * 4) 100% repeat-x;
}

.robin-card__cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em 4cqi;
  padding: 3.4cqi var(--r-pad) var(--r-pad);
  background: var(--r-paper);
  color: var(--r-ink);
}

.robin-card__cells p {
  margin: 0;
}

.robin-card__cells .k {
  display: block;
  margin-bottom: 0.35em;
  color: var(--r-blue);
}

.robin-card__cta {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0.55em 0.8em;
  margin-left: -0.8em;
  margin-bottom: -0.55em;
  transition: background-color 0.2s steps(2), color 0.2s steps(2);
}

.robin-card__xhair {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s steps(3);
}

.robin-card__xhair .h,
.robin-card__xhair .v {
  position: absolute;
  background: rgba(239, 236, 228, 0.55);
}

.robin-card__xhair .h { left: 0; right: 0; top: 0; height: 1px; transform: translate3d(0, var(--y, 0), 0); }
.robin-card__xhair .v { top: 0; bottom: 0; left: 0; width: 1px; transform: translate3d(var(--x, 0), 0, 0); }

.robin-card__xhair .box {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 12px;
  height: 12px;
  background: var(--r-ink);
  border: 1px solid var(--r-paper);
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
}

.robin-card__xhair .read {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.45em 0.6em;
  background: var(--r-ink);
  color: var(--r-paper);
  font-size: 11px;
  line-height: 1;
  white-space: pre;
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
}

.tcard--robin.has-xhair .robin-card__xhair { opacity: 1; }

/* survol Robin : la typo « se déploie » sur l'axe de largeur, le CTA passe en bleu */
.tcard--robin:hover .robin-card__w--a,
.tcard--robin:has(.tcard__link:focus-visible) .robin-card__w--a {
  font-stretch: 70%;
}

.tcard--robin:hover .robin-card__w--b,
.tcard--robin:has(.tcard__link:focus-visible) .robin-card__w--b {
  font-stretch: 125%;
  font-size: 16.4cqi;
}

.tcard--robin:hover .robin-card__cta,
.tcard--robin:has(.tcard__link:focus-visible) .robin-card__cta {
  background: var(--r-blue);
  color: var(--r-paper);
}

/* ==========================================================================
   Transition de sortie (clic) : un calque plein écran dessiné en canvas
   ========================================================================== */

.team-wipe {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

/* ---------- Mobile ---------- */

@media (max-width: 759px) {
  .tcard {
    aspect-ratio: auto;
    min-height: min(122vw, 560px);
  }

  .theo-card__intro { font-size: max(15px, 4.4cqi); }
}

@media (max-width: 380px) {
  .theo-card__body {
    grid-template-columns: minmax(0, 1fr) 36%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tcard,
  .tcard *,
  .js .team .tcard {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .theo-card__track {
    animation: none;
  }

  .js .team:not(.is-in) .tcard {
    opacity: 1;
    --lift: 0px;
  }
}

.reel {
  padding-block: clamp(56px, 8vw, 120px) clamp(28px, 4vw, 56px);
  background: var(--blue-black);
  color: var(--white);
}

.reel__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: clamp(1.2rem, 2.4vw, 2rem);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.reel__eyebrow {
  color: var(--orange);
}

.reel__heading {
  font-size: inherit;
  font-weight: inherit;
}

.reel__runtime {
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}

.reel__stage {
  --vx: 68cqw;
  --vy: 50cqh;
  --vs: min(40cqw, 70cqh);
  --ww: min(52cqw, 108cqh);
  --tx: 5.5cqw;
  --tsize: min(6.4cqw, 11.5cqh);
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - 9rem);
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  container: reel / size;
  perspective: 1800px;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 699px) {
  .reel__stage {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
}

@container reel (aspect-ratio < 1) {
  .reel__stage > * {
    --vx: 50cqw;
    --vy: 61cqh;
    --vs: min(82cqw, 48cqh);
    --ww: 86cqw;
    --tx: 7cqw;
    --tsize: 11cqw;
  }
}

.reel__stage > * {
  position: absolute;
}

.reel__stage * {
  box-sizing: border-box;
}

.js .reel__stage:not(.is-ready) > *:not(.reel__hud) {
  visibility: hidden;
}

.no-js .reel__stage > *:not(.reel__end):not(.reel__hud),
.reel.is-fallback .reel__stage > *:not(.reel__end):not(.reel__hud) {
  display: none;
}

.reel__blue {
  inset: 0;
  background: var(--blue);
}

.reel__grid {
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding-inline: var(--tx);
  pointer-events: none;
}

.reel__grid i {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  transform-origin: 50% 50%;
}

.reel__grid i:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.reel__row {
  display: block;
  overflow: hidden;
  padding: 0.08em 0.06em 0.14em;
  margin: -0.08em -0.06em -0.14em;
}

.reel__w {
  display: inline-block;
  white-space: nowrap;
}

.reel__c {
  display: inline-block;
  will-change: transform;
}

.reel__title .reel__c {
  font-weight: var(--w, 700);
}

.reel__title--1 .reel__c {
  transform-origin: 50% 100%;
}

.reel__stage.is-measuring [data-measure],
.reel__stage.is-measuring [data-measure] *,
.reel__stage.is-measuring [data-intro] * {
  transform: none !important;
}

.reel__center-text {
  text-align: center;
}

.reel__intro {
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 90cqw;
  margin-top: -13cqh;
  font-size: min(5.2cqw, 9cqh);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

@container reel (aspect-ratio < 1) {
  .reel__intro {
    font-size: 9.6cqw;
    margin-top: -14cqh;
  }
}

.reel__dot {
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--orange);
  z-index: 20;
}

.reel__line {
  left: 0;
  top: 0;
  width: 100px;
  height: 2px;
  translate: -50% -50%;
  background: var(--orange);
  z-index: 19;
}

.reel__ripple {
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  translate: -50% -50%;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  z-index: 19;
}

.reel__vis {
  transform-origin: 50% 21.2%;
  left: var(--vx);
  top: var(--vy);
  width: var(--vs);
  aspect-ratio: 410 / 330;
  translate: -50% -50%;
}

.reel__construct {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.reel__guides {
  fill: none;
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 0.5;
}

.reel__guides > * {
  stroke-dasharray: 1px 2px;
  stroke-dashoffset: calc((1 - var(--draw, 0)) * 1px);
}

.reel__arch-line,
.reel__logo-line {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.2;
  stroke-dasharray: 1px 2px;
  stroke-dashoffset: calc((1 - var(--draw, 0)) * 1px);
}

.reel__logo-line {
  stroke-width: 2.6;
}

.reel__arch-fill {
  fill: var(--blue);
}

.reel__specimen {
  left: var(--tx);
  top: 13cqh;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.reel__aa {
  font-size: min(15cqw, 26cqh);
  font-weight: var(--w, 100);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.reel__cap {
  display: flex;
  gap: 1.4em;
  font-size: max(11px, 1.05cqw);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.reel__cap [data-weight] {
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

@container reel (aspect-ratio < 1) {
  .reel__specimen {
    top: auto;
    bottom: 6cqh;
    right: var(--tx);
    left: auto;
    align-items: flex-end;
  }

  .reel__aa {
    font-size: 13cqw;
  }

  .reel__cap {
    font-size: 2.6cqw;
  }
}

.reel__swatches {
  z-index: 5;
  top: 0;
  bottom: 0;
  right: 0;
  left: 38cqw;
  display: flex;
}

.reel__swatch {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.3em;
  padding: 0 0 4cqh 1.1cqw;
  background: var(--c);
  color: var(--white);
  font-size: max(10px, 0.95cqw);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform-origin: 50% 100%;
}

.reel__swatch b {
  font-weight: 700;
}

.reel__swatch small {
  font-size: 1em;
  opacity: 0.7;
}

.reel__swatch:nth-child(4) {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
}

@container reel (aspect-ratio < 1) {
  .reel__swatches {
    left: 0;
    top: 34cqh;
  }

  .reel__swatch {
    padding: 0 0 3cqh 2cqw;
    font-size: 2.1cqw;
  }

  .reel__swatch small {
    display: none;
  }
}

.reel__title {
  left: var(--tx);
  bottom: 9cqh;
  max-width: 44cqw;
  font-size: var(--tsize);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  z-index: 8;
}

.reel__title--2 {
  font-size: calc(var(--tsize) * 0.86);
}

@container reel (aspect-ratio < 1) {
  .reel__title {
    top: 9cqh;
    bottom: auto;
    max-width: 88cqw;
  }

  .reel__title--2 {
    font-size: calc(var(--tsize) * 0.78);
  }
}

.reel__win {
  left: var(--vx);
  top: var(--vy);
  width: var(--ww);
  aspect-ratio: 16 / 10;
  translate: -50% -50%;
  transform-style: preserve-3d;
  --u: calc(var(--ww) / 100);
}

.reel__layer {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  backface-visibility: hidden;
}

.reel__layer--grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: calc(var(--u) * 1.2);
  padding: calc(var(--u) * 3);
  border: 1px solid rgba(74, 140, 255, 0.55);
}

.reel__layer--grid i {
  background: rgba(74, 140, 255, 0.12);
  border-radius: 2px;
}

.reel__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.reel__code {
  padding: calc(var(--u) * 5);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 1.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: calc(var(--u) * 2.5);
  line-height: 1.3;
  white-space: pre;
}

.reel__code-line {
  min-height: 1.3em;
}

.reel__code-line--t { color: var(--blue-light); }
.reel__code-line--c { color: var(--orange-light); }
.reel__code-line--j { color: var(--white); }

.reel__code-line.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 0.1em;
  vertical-align: -0.15em;
  background: var(--orange);
}

.reel__tag {
  position: absolute;
  left: 0;
  bottom: calc(100% + var(--u) * 1.4);
  font-size: max(9px, calc(var(--u) * 1.9));
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  opacity: var(--tag, 0);
}

.reel__clip--ui {
  background: var(--white);
  color: var(--ink);
}

.reel__url {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7%;
  border-bottom: 1px solid var(--line);
  font-size: calc(var(--u) * 1.7);
  font-weight: 600;
  color: rgba(2, 3, 15, 0.5);
}

.reel__page {
  position: absolute;
  inset: 7% 0 0;
}

.reel__wire {
  perspective: 800px;
}

.reel__b {
  position: absolute;
  border-radius: calc(var(--u) * 0.6);
  background: #e7ecf6;
}

.reel__b--h1,
.reel__b--h2,
.reel__b--p {
  transform-origin: 0 50%;
}

.reel__b--img {
  transform-origin: 50% 100%;
}

.reel__b--card1,
.reel__b--card2,
.reel__b--card3 {
  transform-origin: 50% 0;
}

.reel__b--logo { left: 5%; top: 6%; width: 7%; height: 6%; background: #d3dcee; }
.reel__b--nav1 { right: 27%; top: 8%; width: 8%; height: 2.4%; }
.reel__b--nav2 { right: 16%; top: 8%; width: 8%; height: 2.4%; }
.reel__b--nav3 { right: 5%; top: 8%; width: 8%; height: 2.4%; }
.reel__b--h1 { left: 5%; top: 24%; width: 46%; height: 7.5%; background: #d3dcee; }
.reel__b--h2 { left: 5%; top: 34%; width: 34%; height: 7.5%; background: #d3dcee; }
.reel__b--p { left: 5%; top: 46%; width: 38%; height: 3%; }
.reel__b--cta { left: 5%; top: 55%; width: 17%; height: 7.5%; background: #c5d1ea; }
.reel__b--img { right: 5%; top: 22%; width: 38%; height: 42%; }
.reel__b--card1 { left: 5%; top: 72%; width: 28%; height: 22%; }
.reel__b--card2 { left: 36%; top: 72%; width: 28%; height: 22%; }
.reel__b--card3 { left: 67%; top: 72%; width: 28%; height: 22%; }

.reel__final {
  clip-path: inset(0 0 calc(100% - var(--wipe, 0) * 100%) 0);
}

.reel__final > * {
  position: absolute;
}

.reel__f-hero {
  inset: 0 0 32% 0;
  background: var(--blue);
}

.reel__f-logo { left: 5%; top: 6%; width: 4.5%; }
.reel__f-logo img { width: 100%; height: auto; }

.reel__f-nav {
  right: 5%;
  top: 7%;
  display: flex;
  gap: calc(var(--u) * 3);
  font-size: calc(var(--u) * 1.5);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.reel__f-nav i { font-style: normal; }

.reel__f-title {
  left: 5%;
  top: 23%;
  width: 46%;
  font-size: calc(var(--u) * 4.4);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
}

.reel__f-text {
  left: 5%;
  top: 46%;
  font-size: calc(var(--u) * 1.8);
  color: rgba(255, 255, 255, 0.85);
}

.reel__f-cta {
  left: 5%;
  top: 55%;
  display: flex;
  gap: 2px;
  height: 7.5%;
  font-size: calc(var(--u) * 1.4);
  font-weight: 700;
  text-transform: uppercase;
}

.reel__f-cta b,
.reel__f-cta i {
  display: flex;
  align-items: center;
  border-radius: calc(var(--u) * 0.6);
  background: var(--blue-black);
  color: var(--white);
}

.reel__f-cta b { padding-inline: calc(var(--u) * 2); }
.reel__f-cta i { aspect-ratio: 1; background: var(--orange); }

.reel__f-img {
  right: 5%;
  top: 22%;
  width: 38%;
  height: 42%;
  overflow: hidden;
  border-radius: calc(var(--u) * 0.6);
  background: var(--navy);
}

.reel__f-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel__f-card {
  top: 72%;
  width: 28%;
  height: 22%;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--u) * 1.6);
  border-radius: calc(var(--u) * 0.6);
  background: #eef2fa;
  font-size: calc(var(--u) * 1.7);
}

.reel__f-card:nth-of-type(8) { left: 5%; }
.reel__f-card:nth-of-type(9) { left: 36%; background: var(--blue-black); color: var(--white); }
.reel__f-card:nth-of-type(10) { left: 67%; }

.reel__flow {
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 18;
}

.reel__flow path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-dasharray: 1px 2px;
  stroke-dashoffset: calc((1 - var(--draw, 0)) * 1px);
  opacity: 0.7;
}

.reel__serp {
  left: var(--vx);
  top: var(--vy);
  width: min(46cqw, 100cqh);
  translate: -50% -50%;
  display: block;
  height: calc(5 * var(--rh));
  --rh: min(13cqh, 7.2cqw);
}

@container reel (aspect-ratio < 1) {
  .reel__serp {
    width: 86cqw;
    --rh: 8.4cqh;
  }
}

.reel__res {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--rh);
  display: grid;
  grid-template-columns: 2.4em calc(var(--rh) * 1.15) 1fr;
  align-items: center;
  gap: 0 1.2em;
  padding-block: calc(var(--rh) * 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: max(11px, calc(var(--rh) * 0.17));
}

.reel__res:nth-child(1) { top: 0; }
.reel__res:nth-child(2) { top: var(--rh); }
.reel__res:nth-child(3) { top: calc(2 * var(--rh)); }
.reel__res:nth-child(4) { top: calc(3 * var(--rh)); }
.reel__res:nth-child(5) { top: calc(4 * var(--rh)); }

.reel__rank {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.5);
}

.reel__thumb {
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.reel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel__res-text {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  min-width: 0;
}

.reel__res-text i {
  height: 0.55em;
  width: 70%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.reel__res-text i + i {
  width: 45%;
  background: rgba(255, 255, 255, 0.08);
}

.reel__res-text b {
  font-size: 1.25em;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel__res-text small {
  font-size: 1em;
  color: var(--blue-light);
}

.reel__res--ours {
  z-index: 2;
  background: var(--ink);
}

.reel__res--ours .reel__rank {
  color: var(--orange);
}

.reel__metrics {
  left: var(--vx);
  top: var(--vy);
  width: min(44cqw, 90cqh);
  translate: -50% -50%;
  display: grid;
  gap: 7cqh;
}

@container reel (aspect-ratio < 1) {
  .reel__metrics {
    width: 86cqw;
    gap: 5cqh;
  }
}

.reel__metric {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  row-gap: 1.6cqh;
}

.reel__m-label {
  font-size: max(11px, 1.05cqw);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.reel__m-value {
  font-size: min(4.4cqw, 8cqh);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.reel__m-bar {
  grid-column: 1 / -1;
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.reel__m-bar i {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform-origin: 0 50%;
}

.reel__m-note {
  font-size: max(10px, 0.9cqw);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@container reel (aspect-ratio < 1) {
  .reel__m-label,
  .reel__m-note {
    font-size: 2.6cqw;
  }

  .reel__m-value {
    font-size: 8cqw;
  }
}

.reel__end {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5cqh;
  padding-bottom: 4cqh;
}

.reel__logo {
  position: relative;
  width: min(10cqw, 19cqh);
  height: auto;
  overflow: visible;
}

.reel__logo-arch {
  fill: var(--white);
}

.reel__logo-key {
  fill: var(--orange);
  transform-box: fill-box;
  transform-origin: 50% 60%;
}

.reel__tagline {
  font-size: min(5cqw, 9cqh);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.reel__end-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6em 2.4em;
  font-size: max(10px, 0.95cqw);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.reel__end-list span {
  margin-right: 0.8em;
  color: var(--orange);
}

@container reel (aspect-ratio < 1) {
  .reel__logo {
    width: 20cqw;
  }

  .reel__tagline {
    font-size: 8.6cqw;
  }

  .reel__end-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4em 1.6em;
    font-size: 2.5cqw;
  }
}

.reel__hud {
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: max(14px, 2.6cqh) var(--tx, 5.5cqw);
  font-size: max(10px, 0.85cqw);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
  z-index: 30;
  pointer-events: none;
}

.reel__hud-name {
  text-align: center;
}

.reel__hud-tc {
  text-align: right;
}

.reel__hud-ch [data-hud-ch] {
  color: var(--white);
}

@container reel (aspect-ratio < 1) {
  .reel__hud {
    font-size: 2.4cqw;
  }
}

.reel__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  margin-top: clamp(0.9rem, 1.6vw, 1.3rem);
}

.no-js .reel__controls,
.reel.is-fallback .reel__controls {
  display: none;
}

.reel__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.reel__toggle:hover {
  background: var(--orange);
  color: var(--white);
}

.reel__toggle svg,
.reel__replay svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reel__i-play {
  display: none;
}

.reel.is-paused .reel__i-pause {
  display: none;
}

.reel.is-paused .reel__i-play {
  display: block;
  fill: currentColor;
}

.reel__chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.reel__chapter {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.35rem 0.7em;
  width: 100%;
  padding-block: 0.4rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.35s ease;
}

.reel__chapter:hover,
.reel__chapter.is-current {
  color: var(--white);
}

.reel__ch-num {
  font-variant-numeric: tabular-nums;
}

.reel__chapter.is-current .reel__ch-num {
  color: var(--orange);
}

.reel__ch-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.reel__ch-bar {
  grid-column: 1 / -1;
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.reel__ch-bar i {
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

.reel__replay {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  height: 2.6rem;
  padding-inline: 1.1em;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.reel__replay:hover,
.reel.is-ended .reel__replay {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

@media (max-width: 699px) {
  .reel__head {
    grid-template-columns: 1fr auto;
  }

  .reel__heading {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .reel__chapters {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }

  .reel__ch-name {
    display: none;
  }

  .reel__replay span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .reel__replay {
    width: 2.6rem;
    padding: 0;
    justify-content: center;
  }
}

.reel.is-still .reel__controls {
  display: none;
}

