/* Import global styles */
/* main.css loaded via gallery-core-css + gallery-deferred-css — do not re-import */
/* Yuji Boku loaded non-blocking from master-company head */

body {
  background-color: var(--color-background-dark);
}

button, a{
  font-family: var(--font-family-base);
  cursor: pointer;
}

/* =============================== */
/* Header Layout                   */
/* =============================== */

.header-company {
  position: relative;
  z-index: 2;
  padding: 0 var(--spacing-6xl);
  isolation: isolate;
}
/* Ambient behind banner — neon + primary bloom (same width as header); fades with neon (4s) */
.header-company::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 96%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 90% 70% at 50% 45%,
      color-mix(in srgb, var(--color-accent-alt) 88%, transparent) 0%,
      color-mix(in srgb, var(--color-accent-alt) 35%, transparent) 42%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 70% 65% at 18% 55%,
      color-mix(in srgb, var(--color-primary) 75%, transparent) 0%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 68% 62% at 82% 50%,
      color-mix(in srgb, var(--color-primary) 70%, transparent) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 55% 50% at 50% 70%,
      color-mix(in srgb, var(--color-primary) 45%, transparent) 0%,
      transparent 60%
    );
  filter: blur(42.5px);
  opacity: 1;
  animation: bannerNeonAmbientFade 4s linear forwards;
}

@media (max-width: 1050px) {
  .header-company {
    padding-inline: var(--spacing-5xl);
  }

  .header-company > .company-banner {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .header-company {
    padding-inline: var(--spacing-4xl);
  }
}

/* Main Container */
/* Large Desktop (1920px and above) */
@media (min-width: 1921px) {
  .company-banner,
  .company-main-container {
    max-width: 1920px;
    margin: 0 auto !important;
    transition: .6s all;
    width: auto;
  }
}

.company-main-container {
    margin-bottom: 100px;
  gap: var(--spacing-9xl);
  display: flex;
  flex-direction: column;
  min-width: 0;

  margin-bottom: var(--spacing-9xl) !important;
}

/* Banner */
.header-company > .company-banner {
  width: calc(100% - (var(--spacing-3xl) * 2));
  margin: 0 auto;
}

.company-banner {
  height: auto;
  min-height: clamp(200px, 32vw, 500px);
  padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  /* Banner pulse/glow disabled — H1 neon handoff only */
  animation: none;
  box-sizing: border-box;
}
.company-banner::before {
  content: none;
  display: none;
}
.company-banner__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-inline: clamp(12px, 3vw, 30px) !important;
  box-sizing: border-box;
}
.company-banner__content h1,
.company-banner__title {
  position: relative;
  color: var(--color-accent);
  text-align: center;
  font-size: clamp(28px, 5.2vw, 76px);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-decoration-line: line-through;
  text-transform: uppercase;
  margin-bottom: clamp(8px, 1.2vw, 16px);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.company-banner__title-layer,
.company-banner__subtitle-layer {
  display: block;
}
.company-banner__title-layer {
  text-decoration-line: line-through;
}
/* Layer 2 — static resting text (no animation) */
.company-banner__title-layer--final {
  position: relative;
  z-index: 1;
  color: var(--color-accent);
  opacity: 1;
}
/* Layer 1 — static neon glow, transparency 100% → 0 over 4s (no pulse) */
.company-banner__title-layer--neon {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: var(--color-accent-alt);
  opacity: 1;
  filter: none;
  text-shadow:
    0 0 8px rgba(193, 212, 250, 0.95),
    0 0 22px rgba(193, 212, 250, 0.8),
    0 0 48px rgba(1, 107, 255, 0.55),
    0 0 85px rgba(1, 107, 255, 0.3);
  animation: bannerTitleNeonFade 4s linear forwards;
  pointer-events: none;
}
.company-banner__content h3,
.company-banner__subtitle {
  position: relative;
  color: var(--color-accent);
  text-align: center;
  font-size: clamp(15px, 2.1vw, 28px);
  font-weight: var(--font-weight-medium);
  line-height: 1.35;
  letter-spacing: 0.04em;
  overflow: visible;
  overflow-wrap: anywhere;
}
/* H3 neon — same fade, glow scaled for smaller type */
.company-banner__subtitle .company-banner__title-layer--neon {
  color: var(--color-accent-alt);
  text-shadow:
    0 0 6px rgba(193, 212, 250, 1),
    0 0 16px rgba(193, 212, 250, 0.95),
    0 0 32px rgba(1, 107, 255, 0.7),
    0 0 56px rgba(1, 107, 255, 0.45);
}

@keyframes bannerTitleNeonFade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes bannerNeonAmbientFade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/*
 * Light mode — only the neon flash/ambient (not resting title color).
 * Titles stay on --color-accent (#C1D4FA). Neon uses primary so the glow reads on ice.
 */
[data-theme="light"] .header-company::before {
  filter: blur(42.5px) saturate(1.2) brightness(1.05);
  background:
    radial-gradient(
      ellipse 90% 70% at 50% 45%,
      color-mix(in srgb, var(--color-primary) 62%, transparent) 0%,
      color-mix(in srgb, var(--color-primary) 28%, transparent) 42%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 70% 65% at 18% 55%,
      color-mix(in srgb, var(--color-primary-alt) 48%, transparent) 0%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 68% 62% at 82% 50%,
      color-mix(in srgb, var(--color-primary) 42%, transparent) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 55% 50% at 50% 70%,
      color-mix(in srgb, var(--color-primary) 30%, transparent) 0%,
      transparent 60%
    );
}

[data-theme="light"] .company-banner__title-layer--neon {
  color: var(--color-primary);
  text-shadow:
    0 0 8px rgba(1, 107, 255, 0.9),
    0 0 22px rgba(1, 107, 255, 0.7),
    0 0 48px rgba(1, 107, 255, 0.45),
    0 0 85px rgba(0, 87, 208, 0.28);
}

[data-theme="light"] .company-banner__subtitle .company-banner__title-layer--neon {
  color: var(--color-primary);
  text-shadow:
    0 0 6px rgba(1, 107, 255, 0.95),
    0 0 16px rgba(1, 107, 255, 0.75),
    0 0 32px rgba(1, 107, 255, 0.5),
    0 0 56px rgba(0, 87, 208, 0.32);
}

@media (prefers-reduced-motion: reduce) {
  .company-banner__title-layer--neon {
    display: none;
    animation: none;
  }
  .header-company::before {
    display: none;
    animation: none;
  }
}

@keyframes bannerAccentPulse {
  0% {
    box-shadow: 0 0 0 rgba(1, 107, 255, 0);
    transform: translateY(0);
  }
  25% {
    box-shadow: 0 12px 30px rgba(1, 107, 255, 0.18);
    transform: translateY(-3px);
  }
  60% {
    box-shadow: 0 8px 24px rgba(1, 107, 255, 0.12);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: none;
    transform: translateY(0);
  }
}

@keyframes bannerAccentGlow {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  30% {
    opacity: 0.55;
    transform: scale(1);
  }
  70% {
    opacity: 0.25;
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}


.company-story {
  margin: var(--spacing-9xl) var(--spacing-9xl) 0 ;
}
/* Story */

.company-story__signature-img,
.company-story__quote {
  width: 425px;
}

.company-story__text {
  flex: 1;
}

/* Signature */
.company-story__signature {
  position: relative;
  display: inline-block;
}

.company-story__signature-img {
  position: relative;
  z-index: 1;
  width: 425px;
  height: 258px;
}

.company-story__signature-text {
  position: absolute;
  transform: rotate(-6.391deg);
  color: var(--color-primary);
  text-align: center;
  font-family: "Yuji Boku";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.2px;
  z-index: 2;
  white-space: nowrap;
}

/* Photo */
.company-story__photo {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
}

/* Timeline */
.company-timeline {
  margin: 0 var(--spacing-9xl);
}

.company-charte {
  margin: 0 var(--spacing-9xl);
}

.company-charte__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.company-charte__item {
  flex: 1 1 20%;
  min-width: 260px;
  padding: 0 var(--spacing-4xl);
  min-height: 220px;
}

.company-charte__item:last-child {
  border-right: none;
}

.company-charte__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
}

.company-charte__label {
  text-transform: none;
}

.company-timeline__item {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  align-items: center;
  padding: var(--spacing-xl);
}

.company-charte__item.company-timeline__item {
  padding: 0 var(--spacing-4xl);
}

.company-timeline__list > .separator.vertical {
    min-height: auto;
}

.company-timeline__icon {
  width: 58px;
  height: 58px;
}

.company-timeline__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Missions — single DOM grid; columns via CSS breakpoints */
.company-missions {
  margin: 0 var(--spacing-9xl);
  text-align: center;
}

.company-missions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  /* Absolute 200%/300% row rules must not expand the page */
  overflow-x: clip;
}

.company-missions__card {
  position: relative;
  background: var(--color-background-dark);
  min-width: 0;
  width: 100%;
}

/* Accent separators (replaces duplicated vertical/horizontal DOM rules) */
.company-missions__card:not(:nth-child(3n))::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc(-1rem - 1px);
  width: 2px;
  height: 100%;
  min-height: 250px;
  background-color: var(--color-accent);
  border-radius: 6px;
}

/* Full-width rule under the first row */
.company-missions__card:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 0;
  width: calc(300% + 4rem);
  bottom: calc(-1.25rem - 1px);
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 6px;
}

.company-missions__image {
  width: 100%;
  height: 274px;
  object-fit: cover;
}

.separator {
  background-color: var(--color-accent);
  flex-shrink: 0;
  border-radius: 6px;
}
.separator.vertical {
  width: 2px;
  min-height: 250px;
  align-self: stretch;
}
.separator.vertical.separator-not-100 {
  height: 200px;
}
.separator.horizontal {
  height: 2px;
  width: 100%;
  margin: 16px 0;
}

/* Photo Archive */
.company-photo-archive {
  margin: 0;
}

.company-photo-archive .about-artist__gallery-wrapper {
  width: 100%;
}

.company-photo-archive .separator-artist__gallery {
  display: block;
  height: 2px;
  width: auto;
  margin: 0 var(--spacing-9xl);
  background: var(--color-accent);
}

.company-photo-archive .about-artist__gallery-clip {
  overflow: hidden;
  width: 100%;
  margin-inline: 0;
}

.company-photo-archive .about-artist__gallery {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pinch-zoom;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
  margin-inline: 0;
  /* Push native scrollbar into the clipped gutter (Safari/iOS overlay) */
  padding-bottom: 28px;
  margin-bottom: -28px;
}

.company-photo-archive .about-artist__gallery.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.company-photo-archive .about-artist__gallery.is-dragging img {
  pointer-events: none;
}

.company-photo-archive .about-artist__gallery-track {
  display: flex;
  gap: var(--spacing-xl);
  min-width: max-content;
}

.company-photo-archive .about-artist__gallery-item {
  flex: 0 0 auto;
  width: 680px;
  height: 450px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.company-photo-archive .about-artist__gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
  border-radius: inherit;
}

.company-photo-archive .about-artist__gallery::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  -webkit-appearance: none;
}

.company-photo-archive .about-artist__gallery::-webkit-scrollbar-thumb,
.company-photo-archive .about-artist__gallery::-webkit-scrollbar-track {
  display: none !important;
  background: transparent !important;
}

/* Custom Scrollbar Container with padding */
.company-photo-archive__scrollbar-container {
  width: auto;
  margin: 0 var(--spacing-9xl);
}

.company-photo-archive__scrollbar {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
  cursor: pointer;
}

.company-photo-archive__scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.company-photo-archive__scrollbar:hover .company-photo-archive__scrollbar-thumb {
  background-color: var(--color-primary-hover);
}

/* Values */
.company-values {
  margin: var(--spacing-3xl) var(--spacing-9xl) 0;
  text-align: center;
}

.company-values__grid {
  gap: var(--spacing-xl); /* gap-5 */
}

.company-values__card {
  position: relative;
  flex: 1 1 45%;
  min-width: min(350px, 100%);
  background: var(--color-background-dark);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 212px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.company-values__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: top right;
  opacity: 0.6;
}
.company-values__bg--1 { background-image: url('../../assets/img/values/1.png'); background-position: top right; }
.company-values__bg--2 { background-image: url('../../assets/img/values/2.png'); background-position: top left; }
.company-values__bg--3 { background-image: url('../../assets/img/values/3.png'); background-position: top right; }
.company-values__bg--4 { background-image: url('../../assets/img/values/4.png'); background-position: top left; }

/* Soften marble + directional scrim — all breakpoints (PC → mobile) */
.company-values__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}

/* odd: art on the right → keep text side darker */
.company-values__card:nth-child(odd)::after {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--color-background-dark) 94%, transparent) 0%,
    color-mix(in srgb, var(--color-background-dark) 78%, transparent) 48%,
    color-mix(in srgb, var(--color-background-dark) 28%, transparent) 100%
  );
}

/* even: art on the left → keep text side darker */
.company-values__card:nth-child(even)::after {
  background: linear-gradient(
    270deg,
    color-mix(in srgb, var(--color-background-dark) 94%, transparent) 0%,
    color-mix(in srgb, var(--color-background-dark) 78%, transparent) 48%,
    color-mix(in srgb, var(--color-background-dark) 28%, transparent) 100%
  );
}

.company-values__content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.company-values__desc {
  text-align: left;
  width: 90%;
}

.company-values__card .text-end {
  text-align: right !important;
}

/* Meet the team */
.company-team {
  margin: var(--spacing-3xl) var(--spacing-9xl) 0;
}

.company-team__title {
  text-align: center;
}

.company-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-6xl) var(--spacing-4xl);
  align-items: start;
  justify-items: center;
}

.company-team__member {
  width: 100%;
  max-width: 260px;
  min-width: 0;
}

.company-team__avatar {
  width: min(220px, 100%);
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-team__avatar--placeholder {
  border: 1px solid color-mix(in srgb, var(--color-accent-alt) 35%, transparent);
}

.company-team__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company-team__photo--elmehdi {
  object-position: center 5%;
}

.company-team__initials {
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.company-team__meta {
  width: 100%;
}

.company-team__role {
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.company-team__name {
  font-weight: var(--font-weight-semibold);
  margin: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.company-team__detail {
  margin: 0;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

[data-theme="light"] .company-team__avatar--placeholder {
  background: color-mix(in srgb, var(--color-secondary) 70%, var(--color-primary) 30%);
  border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
}

/* Team — small PC */
@media (max-width: 1400px) {
  .company-team__grid {
    gap: var(--spacing-5xl) var(--spacing-3xl);
  }

  .company-team__member {
    max-width: 220px;
  }

  .company-team__avatar {
    width: min(180px, 100%);
  }
}

@media (max-width: 1200px) {
  .company-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-6xl) var(--spacing-5xl);
  }

  .company-team__member {
    max-width: 280px;
  }

  .company-team__avatar {
    width: min(200px, 100%);
  }
}

/* Team — tablet */
@media (max-width: 950px) {
  .company-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-5xl) var(--spacing-4xl);
  }

  .company-team__member {
    max-width: 240px;
  }

  .company-team__avatar {
    width: min(170px, 100%);
  }

  .company-team__name {
    font-size: 20px;
  }
}

/* Team — mobile */
@media (max-width: 768px) {
  .company-team__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-6xl);
    justify-items: center;
  }

  .company-team__member {
    max-width: 280px;
  }

  .company-team__avatar {
    width: min(200px, 72vw);
  }

  .company-team__title {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .company-team__member {
    max-width: 100%;
  }

  .company-team__avatar {
    width: min(180px, 68vw);
  }

  .company-team__role,
  .company-team__detail {
    font-size: 12px;
  }

  .company-team__name {
    font-size: 18px;
  }
}

/* Hero */
.company-hero {
  margin: 0 var(--spacing-9xl);
  position: relative;
  min-height: 350px;
}

.company-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.50) 100%), url('/assets/img/about/b6790d4deddc681062327416ffbd7f3715362aa9.jpg') center/cover no-repeat;
  mix-blend-mode: luminosity;
  z-index: 1;
}

.company-hero__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  width: 100%;
  margin: 0 auto;
  padding: var(--spacing-8xl) var(--spacing-xl);
}

.company-hero__desc {
  max-width: 700px;
}

.company-hero__btn {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
  width: max-content;
}
.company-hero__btn:hover {
  background: rgba(255,255,255,0.1);
}

/* Light mode: dark type needs a white veil. The photo stays visible underneath. */
[data-theme="light"] .company-hero__bg {
  mix-blend-mode: normal;
  background-image:
    linear-gradient(0deg, var(--overlay-scrim-75) 0%, var(--overlay-scrim-75) 100%),
    url('/assets/img/about/b6790d4deddc681062327416ffbd7f3715362aa9.jpg');
}

[data-theme="light"] .company-hero__btn {
  border-color: var(--color-secondary-alt);
  color: var(--color-secondary-alt);
}

[data-theme="light"] .company-hero__btn:hover {
  background: var(--color-action);
  color: var(--color-secondary-alt);
}

/* Showcase */
.company-showcase {
  margin: 0 var(--spacing-9xl);
}

.company-showcase__subtitle {
  color: var(--color-secondary-alt);
  max-width: 800px;
  margin: 0 auto;
}

/* Video Container */
.company-showcase__video-container {
  position: relative;
  width: 100%;
  height: 70vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.company-showcase__video-container--youtube {
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
}

.company-showcase__youtube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.company-showcase__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom Video Controls */
.company-showcase__video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.company-showcase__video-container:hover .company-showcase__video-controls {
  opacity: 0;
}

.company-showcase__video-container.video-played:hover .company-showcase__video-controls {
  opacity: 1;
}

/* Progress Bar */
.company-showcase__progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  margin-bottom: 15px;
}

.company-showcase__progress-filled {
  height: 100%;
  background: #B6BED7;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease;
}

/* Controls Layout */
.company-showcase__controls-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.company-showcase__controls-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.company-showcase__controls-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Play/Pause Button */
.company-showcase__play-pause-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.company-showcase__play-pause-btn:hover {
  transform: scale(1.1);
}

.company-showcase__play-pause-btn svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Time Display */
.company-showcase__time {
  color: #B6BED7;
  font-size: 14px;
  font-weight: 500;
}

/* Volume Control */
.company-showcase__volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-showcase__volume-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.company-showcase__volume-btn:hover {
  transform: scale(1.1);
}

.company-showcase__volume-slider {
  width: 80px;
  display: none;
  transition: display 0.3s ease;
}

.company-showcase__volume-control:hover .company-showcase__volume-slider {
  display: none;
}

.company-showcase__volume-range {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.company-showcase__volume-range::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  background: #B6BED7;
  border-radius: 50%;
  cursor: pointer;
}

.company-showcase__volume-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #B6BED7;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Fullscreen Button */
.company-showcase__fullscreen-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.company-showcase__fullscreen-btn:hover {
  transform: scale(1.1);
}

.company-showcase__fullscreen-btn svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Initial Play Button Overlay */
.company-showcase__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../../assets/img/about/fcbb1917bf2881d14d2062d040200c1eb8f9f2c0.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.company-showcase__video-overlay:hover {
  opacity: 0.9;
}

.company-showcase__play-btn {
  background: rgba(14, 17, 24, 0.75);
  width: 155px;
  height: 155px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.company-showcase__play-btn:hover {
  transform: scale(1.05);
  background: rgba(14, 17, 24, 0.85);
}

.company-showcase__play-btn svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* INFINITE TEXT SLIDER */

.company-partners-slider__container {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.company-partners-slider {
  padding-block: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0; /* max-content track must not expand the page */
  mask-image: linear-gradient(to right, transparent 20% 80%, #000, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000, transparent);
}

.company-partners-slider__container .separator {
  margin: 0 var(--spacing-9xl);
  width: auto !important;
  max-width: 100%;
}

.company-partners-slider__list {
  display: flex;
  width: max-content;
  gap: var(--spacing-5xl); /* ~40px — was ~85px from 339/4 */
  animation: autoScroll 20s linear infinite;
  will-change: transform;
}

.company-partners-slider__list:hover {
  animation-play-state: paused !important;
}

.company-partners-slider__item {
  width: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px var(--spacing-md);
  transition: all 0.3s ease;
}

.company-partners-slider__text {
  color: var(--color-support-alt);
  text-transform: uppercase;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.company-partners-slider:hover .company-partners-slider__text {
  opacity: 0.6;
  color: #8A94A8;
}

.company-partners-slider .company-partners-slider__item:hover .company-partners-slider__text {
  opacity: 1;
  color: var(--color-secondary-alt);
  transform: scale(1.02);
}

/* 4 duplicated sets in markup → -50% = seamless loop without fixed item width */
@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Call to Action */
.company-cta {
  margin: 0 var(--spacing-9xl);
  position: relative;
}

.company-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../../assets/img/about/44f6273b1ea4145c4714bb75bc0ce8ec0509efa2.png') center/cover no-repeat;
  z-index: 1;
}

.company-cta__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  width: 100%;
  padding: var(--spacing-5xl);
}

.company-cta__desc {
  max-width: 70%;
  margin: 0 auto;
}

/* Buttons */
.company-cta__btn {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.company-cta__btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.company-cta__btn--outline:hover {
  background: rgba(255,255,255,0.1);
}

/* Match Auth LinkedIn colors (#0072B1) inside the About CTA. */
.company-cta__btn.btn--linkedin {
  background: #0072B1;
  color: var(--color-white);
  border-color: #0072B1;
}

.company-cta__btn.btn--linkedin:hover {
  background: var(--color-white);
  color: #0072B1;
  border-color: #0072B1;
}

/* Ideas Call to Action Section */
.company-ideas-cta {
  margin: 0 var(--spacing-9xl);
  position: relative;
}

.company-ideas-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../../assets/img/other/Rectangle 1394.png') center/cover no-repeat;
  z-index: 1;
}

.company-ideas-cta__content {
  position: relative;
  z-index: 2;
  width: 50%;
  min-width: min(700px, 100%);
  padding: var(--spacing-5xl);
  text-align: left;
}

/* Company mailto links — always primary blue (no hover/active/visited shift) */
.company-cta__email,
.company-ideas-cta__email,
a.company-email-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 600;
}

.company-cta__email:link,
.company-cta__email:visited,
.company-cta__email:hover,
.company-cta__email:focus,
.company-cta__email:focus-visible,
.company-cta__email:active,
.company-ideas-cta__email:link,
.company-ideas-cta__email:visited,
.company-ideas-cta__email:hover,
.company-ideas-cta__email:focus,
.company-ideas-cta__email:focus-visible,
.company-ideas-cta__email:active,
a.company-email-link:link,
a.company-email-link:visited,
a.company-email-link:hover,
a.company-email-link:focus,
a.company-email-link:focus-visible,
a.company-email-link:active {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: from-font;
}

/* Impact */
.company-impact {
  margin: var(--spacing-9xl) var(--spacing-9xl) 0; /* First Section + 80px in the top(margin) */
  text-align: center;
}

/* Tighten cards → map gap (container gap alone is too large) */
.company-main-container > .company-impact + .platform-availability {
  margin-top: calc(var(--spacing-5xl) - var(--spacing-9xl));
}

#ecoImpactSection,
#societyImpactSection {
  scroll-margin-top: calc(var(--navbar-height) + var(--spacing-xl));
}

html:has(.company-impact) {
  scroll-behavior: smooth;
}

.company-impact__card {
  flex: 1 1 45%;
  transition: transform 0.3s ease;
}


.company-impact__card-icon-img {
  width: 220px;
  height: 181px;
  object-fit: contain;
}

.company-impact__card-content {
  flex: 1;
  text-align: left;
}

.company-impact .separator.vertical {
  min-height: auto;
}

.company-impact__card-link {
  transition: color 0.3s ease;
}

/* Horizons Section */
.company-horizons {
  margin: 0 var(--spacing-9xl);
}

.company-horizons__right-card {
  flex: 1;
}

.company-horizons__left-card {
  max-width: 550px;
}

.company-horizons__image-container {
  flex: 0 1 50%;
}
.company-horizons__content {
  flex: 0 1 50%;
  gap: var(--spacing-xxl);
}

.company-horizons__image {
  max-height: 300px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Per-portrait crops (src-based so Vite/JS cache cannot drop them) */
.company-horizons__image[src*="elmehdi"] {
  object-position: center 10% !important;
}
.company-horizons__image[src*="mohammed"] {
  object-position: center 23% !important;
}
.company-horizons__image[src*="rasha"] {
  object-position: center 21% !important;
}

/* Simple fade animation for right card only */
[data-company-horizons] .company-horizons__right-card {
  transition: opacity 0.3s ease;
}

[data-company-horizons].is-switching .company-horizons__right-card {
  opacity: 0.3;
}

[data-company-horizons] .company-horizons__navigation .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

[data-company-horizons] .company-horizons__navigation .btn:active {
  transform: scale(0.96);
}


/* Impact Hero Section */
.company-impact-hero {
  margin: 0 var(--spacing-9xl);
  position: relative;
  height: 584px;
}

.company-impact-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* TCK-380: platform showcase vibe (replace child/astronaut illustration) */
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.55) 100%), url('../../assets/img/company-display/platform-promotion/platform-1.webp') center/cover no-repeat, #016BFF;
  z-index: 1;
}

[data-theme="light"] .company-impact-hero__bg {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), url('../../assets/img/company-display/platform-promotion/platform-2.webp') center/cover no-repeat, #016BFF;
}

.company-impact-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  justify-content: center;
  padding: var(--spacing-8xl) var(--spacing-xl);
}

.company-impact-hero__text-overlay {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  max-width: 1200px;
  width: 100%;
}

.company-impact-hero__line {
  font-size: 66px;
  font-style: normal;
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  letter-spacing: 0.66px;
  text-align: center;
}

.company-impact-hero__line--white {
  color: var(--color-secondary-alt);
}

.company-impact-hero__line--blue {
  color: var(--color-primary);
}

/* Immersive Scroll Section — TCK-380: full-bleed animated panels */
.company-immersive {
  margin: 0;
  width: 100%;
}

.company-immersive__title {
  margin: 0 var(--spacing-9xl);
}

.company-immersive-section {
  position: relative;
  height: 739px;
  overflow: hidden;
  background: var(--color-secondary);
  width: 100%;
  margin: 0;
}

.company-immersive__content {
  position: relative;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.company-immersive__item {
  height: 739px;
  display: flex;
  align-items: center;
}

.company-immersive.eco-immersive-section .company-immersive__item {
    flex-direction: row-reverse;
}
.company-immersive .company-immersive-section#ecoImmersiveSection .company-immersive__text {
    padding-right: calc( var(--spacing-9xl) + var(--spacing-3xl) ); /* 80px + 30px = 110px */
}
.company-immersive .company-immersive-section#companyImmersiveSection .company-immersive__text {
    padding-left: calc( var(--spacing-9xl) + var(--spacing-3xl) ); /* 80px + 30px = 110px */
}

.company-immersive__text {
  width: 50%;
  padding: var(--spacing-3xl) var(--spacing-6xl) var(--spacing-3xl) var(--spacing-6xl);
}

/*  */
.company-immersive__image {
  width: 50%;
}

.company-immersive__image img {
  max-width: 100%;
  max-height: 739px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  margin: 0 auto;
}

/* Monday packaging knight: keep transparent, don't fill the full panel height */
.company-immersive__image--packaging img {
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.company-immersive__scrollbar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 659px;
  background: var(--color-accent);
  border-radius: 2px;
  z-index: 10;
  overflow: hidden;
  animation: scrollbarPulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

@keyframes scrollbarPulse {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 0 rgba(1, 107, 255, 0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(1, 107, 255, 0.3);
  }
}

.company-immersive__scrollbar:hover {
  width: 2px;
  background: rgba(1, 107, 255, 0.2);
  box-shadow: 0 0 12px rgba(1, 107, 255, 0.4);
}

.company-immersive__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, #016BFF, #0056CC);
  border-radius: 2px;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 10px rgba(1, 107, 255, 0.6);
  height: 0%;
}

.company-immersive__indicator {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-40%);
  color: #016BFF;
  font-size: 1.2rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.company-immersive__indicator.is-visible {
  opacity: 0.8;
  transform: translateY(-50%);
}

.company-immersive__indicator.is-hidden {
  opacity: 0;
  transform: translateY(-30%);
}

.company-immersive-section.scrolling .company-immersive__indicator {
  opacity: 0;
  transform: translateY(-30%);
}

/*  */

.platform-availability {
  margin: 0 var(--spacing-9xl);
}

.world-map > svg,
.world-map > img,
.world-map__canvas {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover;
  display: block;
}

.world-map__canvas {
  position: relative;
  z-index: 1;
}

.world-map__canvas .maplibregl-ctrl-logo,
.world-map__canvas .maplibregl-ctrl-attrib {
  display: none;
}

.world-map {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.world-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, var(--overlay-scrim-solid) 0%, var(--overlay-scrim-20) 20%, var(--overlay-scrim-00) 50%, var(--overlay-scrim-20) 70%, var(--overlay-scrim-solid) 100%);

  z-index: 2;
}

.world-map__stats {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: calc(100% - var(--spacing-3xl) - var(--spacing-3xl));
  margin: var(--spacing-3xl);
  z-index: 10;
  background: rgba(0, 0, 0, 0.50);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(5px);
}

.world-map__stat-dot {
  width: 12px;
  height: 6px;
  background: #016BFF;
  flex-shrink: 0;
}

[data-theme="light"] .world-map__stat-value {
  color: var(--color-secondary) !important;
}

[data-theme="light"] .world-map__stat-label {
  color: var(--color-support) !important;
}

/* Testimonials Section */
.testimonials {
  margin: var(--spacing-9xl) var(--spacing-9xl) 0;
}

.testimonials__container {
  height: calc(100vh - 200px);
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}

/* Animation continue verticale */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: absolute;
  width: 100%;
  will-change: transform;
  animation: scrollUp 60s linear infinite;
}

/* Pause animation au survol */
.testimonials__container:hover .testimonials__grid {
  animation-play-state: paused;
}

/* Effets visuels de flou en haut et bas */
.testimonials__container::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  z-index: 2;
  pointer-events: none;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

[data-theme="light"] .testimonials__container::after {
  background: linear-gradient(to top, var(--color-background-dark) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Testimonial Card */
.testimonial-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease-in-out;
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeIn 0.5s forwards;
}

/* Animation d'apparition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contenu */
.testimonial-card__image {
  object-fit: cover;
}

.testimonial-card__content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
}

.testimonial-card__toggle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -25px;
  z-index: 3;
}

.testimonial-card__toggle-raduis {
    position: absolute;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    top: -9.5px; /* the height of the Curve - 0.5px for the broser crush !! */
    z-index: 3;
}
.testimonial-card__toggle-raduis-square {
    display: flex;
    width: 10px;
    height: 10px;
    background-color: transparent;
}
.testimonial-card__toggle-raduis-square:nth-of-type(2) {
    width: 50px;
}
.testimonial-card__toggle-raduis-square:nth-of-type(1) svg {
    transform: rotate(90deg) translateY(-3px);
}
.testimonial-card__toggle-raduis-square:nth-of-type(3) svg {
    transform: rotate(180deg) translateX(3px);
}

[data-theme="light"] .testimonial-card__toggle-raduis-square svg path {
  fill: #EAF1FF;
}

/* Détails masqués/visibles */
.testimonial-card__details {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.testimonial-card__details--visible {
  max-height: 310px;
  opacity: 1;
  visibility: visible;
}

/* Section rating masquée/visible */
.testimonial-card__rating {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.testimonial-card__rating--hidden {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

/* Trust Section */
.company-trust {
  margin: var(--spacing-9xl) var(--spacing-9xl) 0;
}

.company-trust__content {
  max-width: 810px;
}

/* Feedback */
.company-feedback-container {
  margin: 0 var(--spacing-9xl);
}

.company-feedback__card,
.company-feedback__images,
.company-feedback__img-card {
  flex: 1;
}

.company-feedback__card {
  flex: 1 1 55%;
  min-width: 0;
}

.company-feedback__actions {
  flex-wrap: wrap;
}

.company-feedback__actions .btn {
  flex: 0 1 auto;
  min-width: 220px;
}

.company-feedback__images {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-3xl);
}

.company-feedback__img-card {
  min-height: 260px;
}

/* company - 21 */
.company-hero--21 {
  margin: 0 var(--spacing-9xl);
  height: 450px;
}
.company-hero--21__img-left {
  width: 40px;
  object-fit: cover;
  border-top-left-radius: var(--border-radius-md);
  border-bottom-left-radius: var(--border-radius-md);
}
.company-hero--21__content {
  flex: 1;
  padding: 0 var(--spacing-9xl);
}
.company-hero--21__desc {
  max-width: 820px;
}
.company-hero--21__img-right {
  width: 460px; /* The normal is 450px but we need to add 10px for the beauty */
  object-fit: cover;
  border-top-right-radius: var(--border-radius-md);
  border-bottom-right-radius: var(--border-radius-md);
}

/* Light mode: Change image 2.png to 3.png */
[data-theme="light"] .company-hero--21__img-right {
  content: url('/assets/img/starry night/3.png');
}

/* Press Section */
.company-press {
  margin: 0 var(--spacing-9xl);
}
.company-press__card {
    flex: 1;
}
.company-press__card-header {
  height: 170px;
}
.company-press__logo {
  height: 48px;
}
.company-press__card-body {
  min-height: 255px;
  height: -webkit-fill-available;
  padding-bottom: 15px !important;
}
.company-press__footer {
  border-top: 1px solid var(--color-accent);
}

/* Latter Section */
.newsletter-banner {
  position: relative;
  padding: var(--spacing-5xl);
  margin: 0 var(--spacing-9xl);
  place-items: end;
}

.newsletter-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../../assets/img/home/newsletter-bg-1440.webp') center / cover no-repeat;
  background: image-set(
    url('../../assets/img/home/newsletter-bg-1440.webp') type('image/webp') 1x,
    url('../../assets/img/home/newsletter-bg-1920.webp') type('image/webp') 2x
  ) center / cover no-repeat;
  z-index: 1;
}

.newsletter-banner__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.30));
}
.newsletter-banner__icon {
  left: 16px;
  right: auto;
}

.newsletter-banner__btn {
  width: 86px;
}

/* company story banner */
.company-cta__bg.join-us__bg {
  background: url('../../assets/img/other/s.png') center / cover no-repeat;
}

/* TCK-383: Presse CTA — laptop/studio still + blue mailto */
.company-cta__bg.company-cta__bg--presse {
  background: url('../../assets/img/company-display/photos/presse-cta-studio.jpg') center / cover no-repeat;
}

/* company about grid a21 */
.about-a21 {
  margin: var(--spacing-9xl) var(--spacing-9xl) 0;
}

.about-a21__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 220px);

  gap: var(--spacing-xl);
}

.about-a21__card {
  border-radius: var(--border-radius-md);
}

.about-a21__card-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.about-a21__card-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.about-a21__card-3 { grid-column: 3 / 4; grid-row: 1 / 3; }
.about-a21__card-4 { grid-column: 4 / 4; grid-row: 1 / 3; }
.about-a21__card-5 { grid-column: 1 / 2; grid-row: 2 / 3; }
.about-a21__card-6 { grid-column: 2 / 3; grid-row: 2 / 3; }
.about-a21__card-7 { grid-column: 1 / 2; grid-row: 3 / 5; }
.about-a21__card-8 { grid-column: 2 / 4; grid-row: 3 / 5; }
.about-a21__card-9 { grid-column: 4 / 5; grid-row: 3 / 4; }
.about-a21__card-10 {grid-column: 4 / 5; grid-row: 4 / 5; }

.about-a21__img {
  object-fit: cover;
}

/* Text card specific styles */
.about-a21__card--text {
    overflow: hidden;
}
.about-a21__card--text {
    position: relative;
}
.about-a21__card--text p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-a21__card--text.about-a21__card--general p {
  line-clamp: 7;
  -webkit-line-clamp: 7;
}
.about-a21__card--text.about-a21__card--philosophy p {
  line-clamp: 16;
  -webkit-line-clamp: 16;
}
.about-a21__card--text.about-a21__card--impact-social p {
  line-clamp: 16;
  -webkit-line-clamp: 16;
}

/* Gallery kit */
.kit-gallery {
  margin: var(--spacing-9xl) var(--spacing-9xl) 0;
}
.kit-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(6, 220px);
  gap: var(--spacing-xl);
}

.kit-gallery__item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.kit-gallery__item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.kit-gallery__item-2 { grid-column: 3 / 4; grid-row: 1 / 3; }
.kit-gallery__item-3 { grid-column: 4 / 4; grid-row: 1 / 2; }
.kit-gallery__item-4 { grid-column: 4 / 4; grid-row: 2 / 3; }
.kit-gallery__item-5 { grid-column: 1 / 2; grid-row: 3 / 5; }
.kit-gallery__item-6 { grid-column: 2 / 3; grid-row: 3 / 4; }
.kit-gallery__item-7 { grid-column: 2 / 3; grid-row: 4 / 5; }
.kit-gallery__item-8 { grid-column: 3 / 5; grid-row: 3 / 5; }
.kit-gallery__item-9 { grid-column: 1 / 4; grid-row: 5 / 7; }
/* Split former tall last slot into Elmehdi + Mohammed */
.kit-gallery__item-10 { grid-column: 4 / 5; grid-row: 5 / 6; }
.kit-gallery__item-11 { grid-column: 4 / 5; grid-row: 6 / 7; }

/* Produits — Figma wireframe: hero 2×2 + 2×2 cluster + bottom pair + wide */
.kit-gallery__grid--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(200px, 18vw));
  gap: var(--spacing-xl);
}
.kit-gallery__grid--products .kit-gallery__item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.kit-gallery__grid--products .kit-gallery__item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.kit-gallery__grid--products .kit-gallery__item-3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.kit-gallery__grid--products .kit-gallery__item-4 { grid-column: 3 / 4; grid-row: 2 / 3; }
.kit-gallery__grid--products .kit-gallery__item-5 { grid-column: 4 / 5; grid-row: 2 / 3; }
.kit-gallery__grid--products .kit-gallery__item-6 { grid-column: 1 / 2; grid-row: 3 / 4; }
.kit-gallery__grid--products .kit-gallery__item-7 { grid-column: 2 / 3; grid-row: 3 / 4; }
.kit-gallery__grid--products .kit-gallery__item-8 { grid-column: 3 / 5; grid-row: 3 / 4; }

.kit-gallery--products .kit-gallery__item {
  background: var(--color-accent, #22293A);
}

.kit-gallery--products .kit-gallery__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.kit-gallery--products .kit-gallery__item-1 .kit-gallery__img,
.kit-gallery--products .kit-gallery__item-8 .kit-gallery__img {
  object-position: center top;
}

@media (max-width: 1050px) {
  .kit-gallery__grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(180px, 28vw);
  }
  .kit-gallery__grid--products .kit-gallery__item-1 { grid-column: 1 / 3; grid-row: auto; min-height: 260px; }
  .kit-gallery__grid--products .kit-gallery__item-2,
  .kit-gallery__grid--products .kit-gallery__item-3,
  .kit-gallery__grid--products .kit-gallery__item-4,
  .kit-gallery__grid--products .kit-gallery__item-5,
  .kit-gallery__grid--products .kit-gallery__item-6,
  .kit-gallery__grid--products .kit-gallery__item-7 { grid-column: auto; grid-row: auto; }
  .kit-gallery__grid--products .kit-gallery__item-8 { grid-column: 1 / 3; grid-row: auto; min-height: 220px; }
}

@media (max-width: 620px) {
  .kit-gallery__grid--products {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, 56vw);
  }
  .kit-gallery__grid--products .kit-gallery__item-1,
  .kit-gallery__grid--products .kit-gallery__item-8 {
    grid-column: 1;
  }
}

.kit-gallery__grid--cards {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
}
.kit-gallery__grid--cards .kit-gallery__item-card {
  grid-column: auto;
  grid-row: auto;
  min-height: 180px;
}
/* TCK-382: why_us = Impact ImmersiveScroll, smaller + text-only.
   Lead is position:absolute OUTSIDE .company-immersive__content so panel
   translateY only moves the right column — left title stays fixed. */
.company-immersive--why-us .company-immersive-section,
.company-immersive--why-us .company-immersive__item {
  height: 383px;
}

.company-immersive--why-us .company-immersive__scrollbar {
  height: 303px;
}

.company-immersive--why-us .company-immersive__lead-title {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.15;
}

@media (min-width: 1025px) {
  .company-immersive--why-us .company-immersive__lead-fixed {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 50%;
    z-index: 2;
    justify-content: center;
    padding: var(--spacing-5xl) var(--spacing-6xl) var(--spacing-5xl)
      calc(var(--spacing-9xl) + var(--spacing-3xl));
    pointer-events: none; /* wheel hits the section, not the aside */
  }

  .company-immersive--why-us .company-immersive__item {
    justify-content: flex-end; /* detail sits on the right of the blue bar */
  }

  .company-immersive--why-us .company-immersive__text--detail {
    width: 50%;
    padding: var(--spacing-5xl) calc(var(--spacing-9xl) + var(--spacing-3xl))
      var(--spacing-5xl) var(--spacing-6xl);
  }
}

.kit-gallery__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* Face crops follow the person, not the grid slot */
.kit-gallery__img--mohammed {
  object-position: center 24%;
}

.kit-gallery__img--elmehdi {
  object-position: center 8%;
}

/* Products kit */
.kit-products {
  margin: 0 var(--spacing-9xl);
}

.kit-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.kit-product {
  background: var(--color-accent);
  border-radius: var(--border-radius-md);
  /* for demo: */
  aspect-ratio: 1 / 1;
}

.kit-product-1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.kit-product-2 { grid-column: 3 / span 1; grid-row: 1 / span 1; }
.kit-product-3 { grid-column: 4 / span 1; grid-row: 1 / span 1; }
.kit-product-4 { grid-column: 3 / span 1; grid-row: 2 / span 1; }
.kit-product-5 { grid-column: 4 / span 1; grid-row: 2 / span 1; }
.kit-product-6 { grid-column: 1 / span 1; grid-row: 3 / span 1; }
.kit-product-7 { grid-column: 2 / span 1; grid-row: 3 / span 1; }
.kit-product-8 { grid-column: 3 / span 2; grid-row: 3 / span 1; aspect-ratio: auto; } /* not squer  */

/* Cartes cadeaux kit */
.kit-giftcards {
  margin: 0 var(--spacing-9xl);
}
.kit-giftcards__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: var(--spacing-xl);
}
.kit-giftcard {
  background: var(--color-accent);
  border-radius: var(--border-radius-md);
  width: 100%;
  height: 100%;
}
.kit-giftcard-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.kit-giftcard-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.kit-giftcard-3 { grid-column: 3 / 4; grid-row: 1 / 2; }
.kit-giftcard-4 { grid-column: 2 / 3; grid-row: 2 / 3; }
.kit-giftcard-5 { grid-column: 3 / 4; grid-row: 2 / 3; }

/* Colors pallet kit */
.kit-palettecolors {
  margin: 0 var(--spacing-9xl);
}

.kit-palettecolor__item {
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Fixed brand ink — independent of theme token flips */
.kit-palettecolor__item--ink-light,
.kit-palettecolor__item--ink-light .kit-palettecolor__meta,
.kit-palettecolor__item--ink-light .kit-palettecolor__name {
  color: #FFFFFF;
}

.kit-palettecolor__item--ink-dark,
.kit-palettecolor__item--ink-dark .kit-palettecolor__meta,
.kit-palettecolor__item--ink-dark .kit-palettecolor__name {
  color: #0E1118;
}

.kit-palettecolors__artwork,
.kit-palettecolors__list {
  flex: 1;
}

.kit-palettecolors__item__double .kit-palettecolor__item {
  flex: 1;
  min-width: 290px;
}

.kit-palettecolors__artwork {
    background: linear-gradient(0deg, rgba(14, 17, 24, 0.50) 0%, rgba(0, 0, 0, 0.00) 100%), url('../../assets/img/other/08bf1aae9c6f911d0b4f4eae6d40ceee58631cd9.png') lightgray -18.867px -28.14px / 104.819% 109.222% no-repeat;
    /* background-size: cover; */
    background-position: center;
}

/* Logo kit */
.kit-logos {
  margin: 0 var(--spacing-9xl);
}
.kit-logos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: var(--spacing-xl);
}

.kit-logo {
  border-radius: var(--border-radius-md);
}

.kit-logo-1 { grid-column: 1; grid-row: 1; }
.kit-logo-2 { grid-column: 2 / 4; grid-row: 1; }
.kit-logo-3 { grid-column: 4; grid-row: 1; }
.kit-logo-4 { grid-column: 1; grid-row: 2; }
.kit-logo-5 { grid-column: 2 / 4; grid-row: 2; }
.kit-logo-6 { grid-column: 4; grid-row: 2; }

/* Logo tiles are interactive (open kit-media / download) */
.kit-logos .clickable-logo,
.kit-logos .kit-logo-surface--bunker,
.kit-logos .kit-logo-surface--alice,
.kit-logos .kit-logo-surface--download {
  cursor: pointer;
}

/* Fixed brand surfaces so light/dark tokens cannot wash logo tiles */
.kit-logo-surface--bunker {
  background-color: #0E1118 !important;
}

.kit-logo-surface--alice {
  background-color: #EAF1FF !important;
}

.kit-logo-surface--download {
  background-color: #0A2852;
  border: 1px dashed #016BFF;
}

[data-theme="light"] .kit-logo-surface--download {
  background-color: #C1D4FA;
}

.kit-logo-surface--download .kit-logo__title {
  color: #EAF1FF;
}

.kit-logo-surface--download .kit-logo__size {
  color: #B6BED7;
}

[data-theme="light"] .kit-logo-surface--download .kit-logo__title {
  color: #0E1118;
}

[data-theme="light"] .kit-logo-surface--download .kit-logo__size {
  color: #4A4D56;
}

/* Logos Group */
.logos-group__logo ,
.logos-group__icon {
  display: grid;
  grid-template-columns: 1fr, 1fr;
  grid-template-rows: 1fr, 1fr;
  gap: var(--spacing-xl);
}

.logos-group__icon--img img {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
}

.logos-group__icon--img-1 { grid-column: 1; grid-row: 1; }
.logos-group__icon--img-2 { grid-column: 2; grid-row: 1; }
.logos-group__icon--img-3 { grid-column: 1; grid-row: 2; }
.logos-group__icon--img-4 { grid-column: 2; grid-row: 2; }

/*  Logos Group */

.kit-logo.kit-logo-5 img,
.kit-logo.kit-logo-2 img {
  width: 396px;
  height: 98px;
  flex-shrink: 0;
}

.logos-group__logo--img img {
    width: 103px;
    /* height: 70px; */
    flex-shrink: 0;
}

.logos-group__logo--img-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.logos-group__logo--img-2 { grid-column: 2 / 3; grid-row: 1 / 3; }


/* ========================================
   RESPONSIVE DESIGN - ALL BREAKPOINTS
   ========================================

   Organized in descending order (desktop-first):
   - 1500px: Large Desktop
   - 1440px: Desktop
   - 1400px: Desktop
   - 1280px: Tablet
   - 1210px: Large Tablet
   - 1125px: Tablet
   - 1024px: Small Tablet
   - 950px: Small Tablet
   - 900px: Small Tablet
   - 768px: Mobile Large
   - 630px: Mobile
   - 600px: Mobile
   - 520px: Mobile Medium
   - 480px: Mobile Small
*/

/* Desktop (1500px and below) */
@media (max-width: 1500px) {
  .company-story__content-item {
    flex-wrap: wrap;
  }
  .company-story__content-item > :nth-child(1),
  .company-story__content-item > :nth-child(3) {
    flex: 1 1 48%;
    min-width: 300px;
    max-width: 50%;
    align-self: flex-start;
    min-height: 200px;
  }
  .company-story__content-item > :nth-child(2) {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    order: 3;
  }
  .company-story__signature-img {
    flex: 1;
    height: 200px;
    width: auto;
  }
  /* Values Section */
  .company-values__grid {
    flex-direction: column;
  }
  .company-values__card {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .company-values__desc {
    width: 70%;
  }
  /* Missions: 2 columns below 1500px (was separate tablet markup).
     Global rule hides .separator.vertical here — keep only row rules. */
  .company-missions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-missions__card::after {
    display: none;
  }
  .company-missions__card::before {
    display: none;
  }
  /* Full-width row rule under each pair */
  .company-missions__card:nth-child(2n + 1):not(:nth-last-child(-n + 2))::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: calc(200% + 2rem);
    bottom: calc(-1.25rem - 1px);
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 6px;
  }
  .company-missions__image { height: 250px; }
  /* Call to Action */
  .company-cta__desc { max-width: 100%; }
  /* Impact Section */
  .company-impact__card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  .separator.vertical { display: none; }
  .company-charte__grid > .separator.vertical {display: block;}
  .company-timeline__list > .separator.vertical {display: block;}

  /* Horizons Section */
  .company-horizons__image {
    width: 100%;
    height: 100%;
  }

  .separator-container {
    display: none;
  }

  .company-horizons {
    flex-direction: column;
  }

  .company-horizons__left-card {
    max-width: none;
  }

  /* Impact Hero */
  .company-impact-hero__line {
    font-size: 48px;
  }
}

/* Desktop (1440px and below) */
@media (max-width: 1440px) {
  .company-values__desc {
    width: 100%;
  }

  /* company trust */
  .company-trust {
    flex-direction: column;
    align-items: start !important;
    gap: var(--spacing-lg);
  }

  .company-trust__content {
    max-width: 100%;
  }

  .company-trust__rating-star {
    width: 20px;
    height: 20px;
  }

  /* company - 21 */
  .company-hero--21__content {
    padding: 0 var(--spacing-5xl);
  }

}

/* Desktop (1400px and below) */
@media (max-width: 1400px) {
  /* Photo Archive */
  .company-photo-archive .about-artist__gallery-item {
    width: 520px;
    height: 360px;
  }
}

/* Tablet (1280px and below) */
@media (max-width: 1280px) {
  /* Charte Grid */
  .company-charte__grid {
    gap: var(--spacing-4xl);
  }

  .company-charte__item {
    padding: 0;
  }

  .company-charte__item.company-timeline__item {
    min-height: auto;
    flex: 1 1 40%;
  }

  /* Hide vertical separators for 2-column tablet layout */
  .company-charte__grid > .separator.vertical {
    display: none;
  }

  .company-charte__desc {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Large Tablet (1210px and below) */
@media (max-width: 1210px) {
  .company-values__heading {
    font-size: 28px;
  }
  .company-values__desc {
    font-size: 18px;
  }

  /* Testimonials Section */
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* company - 21 */
  .company-hero--21__img-right {
    width: 300px;
  }

  /* Logos */
  .kit-logos__grid {
    grid-template-rows: repeat(2, 240px);
    gap: var(--spacing-lg);
  }
    .kit-logo.kit-logo-5 img,
  .kit-logo.kit-logo-2 img {
    width: 300px;
    max-width: 100%;
    height: auto;
  }

  .logos-group__icon--img img {
    width: 60px;
    height: 60px;
  }

  .logos-group__logo--img img {
    width: 85px;
  }
}

/* Tablet Landscape (1125px and below) */
@media (max-width: 1125px) {
  /* Values Section */
  .company-values__grid {
    flex-direction: column;
  }
  .company-values__card {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .company-values__desc {
    width: 70%;
  }
  .company-missions__image { height: 250px; }
  /* Call to Action */
  .company-cta__desc { max-width: 100%; }

  /* About a21 */
  .about-a21__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 200px);
  }

  .about-a21__card-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
  .about-a21__card-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
  .about-a21__card-3 { grid-column: 3 / 4; grid-row: 1 / 3; }
  .about-a21__card-4 { grid-column: 1 / 2; grid-row: 2 / 4; }
  .about-a21__card-5 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .about-a21__card-6 { grid-column: 2 / 3; grid-row: 5 / 5; }
  .about-a21__card-7 { grid-column: 2 / 4; grid-row: 3 / 5; }
  .about-a21__card-8 { grid-column: 1 / 2; grid-row: 4 / 5; }
  .about-a21__card-9 { grid-column: 1 / 2; grid-row: 5 / 6; }
  .about-a21__card-10 {grid-column: 3 / 4; grid-row: 5 / 6; }

  .about-a21__card--text.about-a21__card--general p {
    line-clamp: 6;
    -webkit-line-clamp: 6;
  }
  .about-a21__card--text.about-a21__card--philosophy p {
    line-clamp: 14;
    -webkit-line-clamp: 14;
  }
  .about-a21__card--text.about-a21__card--impact-social p {
    line-clamp: 16;
    -webkit-line-clamp: 16;
  }

  /* Kit Gallery */
  .kit-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(9, 180px);
  }

  .kit-gallery__item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .kit-gallery__item-2 { grid-column: 3 / 4; grid-row: 1 / 3; }
  .kit-gallery__item-3 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .kit-gallery__item-4 { grid-column: 2 / 3; grid-row: 3 / 4; }
  .kit-gallery__item-5 { grid-column: 3 / 4; grid-row: 3 / 5; }
  .kit-gallery__item-6 { grid-column: 1 / 2; grid-row: 4 / 5; }
  .kit-gallery__item-7 { grid-column: 2 / 3; grid-row: 4 / 5; }
  .kit-gallery__item-8 { grid-column: 1 / 4; grid-row: 5 / 7; }
  .kit-gallery__item-9 { grid-column: 1 / 3; grid-row: 7 / 9; }
  .kit-gallery__item-10 { grid-column: 3 / 4; grid-row: 7 / 8; }
  .kit-gallery__item-11 { grid-column: 3 / 4; grid-row: 8 / 9; }
}

/* Tablet Portrait (1024px and below) */
@media (max-width: 1024px) {
  .separator.vertical { min-height: 220px; }
  /* Impact Hero */
  .company-impact-hero__line {
    font-size: 36px;
  }

  /* Immersive — show ALL items stacked (disable desktop clip/transform) */
  .company-immersive__title {
    padding: 0;
  }
  .company-immersive-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0;
    overflow: visible !important;
    background: var(--color-secondary);
  }
  .company-immersive__content {
    height: auto !important;
    max-height: none !important;
    transform: none !important;
    transition: none !important;
  }
  .company-immersive.eco-immersive-section .company-immersive__item,
  .company-immersive__item {
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    gap: var(--spacing-3xl);
    padding: var(--spacing-4xl) 0;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .company-immersive__item:last-child {
    border: none;
  }

  .company-immersive__text,
  .company-immersive__image {
    width: 100%;
    padding: 0 !important;
    text-align: center;
  }
  /* why_us mobile: full-width left-aligned stack (beat shared immersive center/50% rules) */
  .company-immersive--why-us .company-immersive__lead-fixed,
  .company-immersive--why-us .company-immersive__text--lead,
  .company-immersive--why-us .company-immersive__text--detail {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    text-align: start !important;
    align-items: stretch !important;
    padding: var(--spacing-4xl) var(--spacing-5xl) !important;
    pointer-events: auto;
  }
  .company-immersive--why-us .company-immersive__lead-fixed {
    padding-block-end: var(--spacing-3xl) !important;
  }
  .company-immersive--why-us .company-immersive__text p {
    margin-inline: 0 !important;
  }
  .company-immersive--why-us .company-immersive__lead-title {
    font-size: clamp(32px, 7vw, 44px);
    line-height: 1.15;
    text-align: start !important;
  }
  .company-immersive--why-us .company-immersive__text--detail h3 {
    font-size: clamp(22px, 5vw, 28px);
    line-height: 1.25;
  }
  .company-immersive--why-us .company-immersive__item {
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding-block: var(--spacing-3xl) !important;
  }
  .company-immersive--why-us .company-immersive__item + .company-immersive__item {
    border-block-start: 1px solid color-mix(in srgb, var(--color-accent) 18%, transparent);
  }
  .company-immersive__text p {
    margin: 0 20px;
  }
  .company-immersive__image {
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .company-immersive__image img {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }
  .company-immersive__image--packaging img {
    max-width: 160px;
    max-height: 180px;
  }
  .company-immersive__scrollbar,
  .company-immersive__progress,
  .company-immersive__indicator {
    display: none !important;
  }

  /* Eco Immersive Scroll Section */
  .eco-immersive-section {
    height: auto !important;
    min-height: 0 !important;
    padding: 0;
    overflow: visible;
  }
  .eco-immersive__item {
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-accent);
  }
  .eco-immersive__text,
  .eco-immersive__image {
    width: 100%;
    padding: 0 16px;
    text-align: center;
  }
  .eco-immersive__image img {
    max-width: 200px;
    max-height: 200px;
    margin: 0 auto 16px auto;
  }
  .eco-immersive__scrollbar,
  .eco-immersive__progress,
  .eco-immersive__indicator {
    display: none !important;
  }

  /* Platform Availability */
  .world-map > svg,
  .world-map > img,
  .world-map__canvas {
    height: 300px !important;
  }

  .world-map__stats {
    width: 250px;
  }

  /* Press Section */
  .company-press__grid {
    flex-wrap: wrap;
  }
  .company-press__card {
    flex: 1 1 45%;
    min-width: 320px;
    max-width: 48%;
  }

  /* Cartes cadeaux kit */
  .kit-giftcards {
    margin: 0 var(--spacing-6xl);
  }

  .kit-giftcards__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 180px 180px;
  }

  .kit-giftcard-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
  .kit-giftcard-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .kit-giftcard-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .kit-giftcard-4 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .kit-giftcard-5 { grid-column: 2 / 3; grid-row: 3 / 4; }

  /* Palette Colors */
  .kit-palettecolors__grid {
    flex-direction: column;
  }

  .kit-palettecolors__artwork {
    order: -1; /* Move artwork to top */
    min-height: 350px;
    background-size: cover;
  }

  .kit-palettecolors__item__double .kit-palettecolor__item {
    min-width: 230px;
  }

}

/* Medium Tablet (950px and below) */
@media (max-width: 950px) {
  .header-company > .company-banner {
    width: 100%;
  }

  .company-banner__content {
    padding-inline: 0 !important;
  }

  /* Adjust margins for all sections */
  .company-partners-slider__container .separator,
  .company-showcase,
  .company-hero,
  .company-story,
  .company-charte,
  .company-timeline,
  .company-missions,
  .company-values,
  .company-team,
  .company-cta,
  .company-impact,
  .newsletter-banner,
  .company-impact-hero,
  .company-horizons,
  .company-ideas-cta,
  .platform-availability,
  .testimonials,
  .company-trust,
  .company-press,
  .company-feedback-container,
  .company-hero--21,
  .about-a21,
  .kit-gallery,
  .kit-products,
  .kit-palettecolors,
  .kit-logos {
    margin-left: var(--spacing-5xl);
    margin-right: var(--spacing-5xl);
  }

  .company-photo-archive .separator-artist__gallery,
  .company-photo-archive__scrollbar-container {
    margin: 0 var(--spacing-5xl);
  }

  /* Partners Slider adjustments */
  .company-partners-slider__list {
    gap: var(--spacing-4xl);
    animation: autoScroll 30s linear infinite;
  }

  /* Impact Section adjustments */
  .company-impact__card {
    min-width: 100%;
    flex-direction: column;
  }

  .company-impact__card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .company-impact__card-footer {
    text-align: center;
  }

  .company-feedback {
    flex-direction: column;
  }

  .company-feedback__img-card {
    min-height: 220px;
  }

  .company-feedback__actions {
    justify-content: center;
  }

  .company-timeline__list {
    flex-direction: column;
    gap: var(--spacing-4xl);
  }

  .company-timeline__item {
    flex: 1 1 auto;
    min-width: auto;
    padding: 0;
  }

  .company-timeline__item:last-child {
    padding-bottom: 0;
  }

  .company-timeline__icon {
    flex-shrink: 0;
  }

  /* Testimonials Section */
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Company - 21 */
  .company-hero--21__img-right { display: none; }
  .company-hero--21__content {
    padding-top: var(--spacing-5xl);
    padding-bottom: var(--spacing-5xl);
  }

  .company-timeline__list > .separator.vertical {
    height: 2px;
    width: 88%;
    min-height: auto;
    margin: 0 auto;
  }

}

/* Small Tablet (900px and below) */
@media (max-width: 900px) {
  /* Photo Archive lines only — photos stay edge to edge */
  .company-photo-archive .separator-artist__gallery,
  .company-photo-archive__scrollbar-container {
    margin: 0 var(--spacing-5xl);
  }

  .company-photo-archive .about-artist__gallery-item {
    width: min(90vw, 420px);
    height: 300px;
  }

  /* Company Values */
  .company-values__grid {
    flex-direction: column;
    gap: 20px 0;
  }

  .company-values__card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  /* Ideas Call to Action Section */
  .company-ideas-cta__content {
    min-width: auto;
    width: 100%;
  }

  /* Logos */
  .kit-logos__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }

  .kit-logo-1 { grid-column: 1; grid-row: 1; }
  .kit-logo-2 { grid-column: 2; grid-row: 1; }
  .kit-logo-3 { grid-column: 1; grid-row: 3; }
  .kit-logo-4 { grid-column: 2; grid-row: 2; }
  .kit-logo-5 { grid-column: 1; grid-row: 2; }
  .kit-logo-6 { grid-column: 2; grid-row: 3; }

  .kit-logo.kit-logo-5 img,
  .kit-logo.kit-logo-2 img {
    width: 210px;
    max-width: 100%;
    height: auto;
  }

  .logos-group__icon--img img {
    width: 50px;
    height: 50px;
  }

  .logos-group__logo--img img {
    width: 70px;
  }
}

/* Mobile Large (768px and below) */
@media (max-width: 768px) {
  /* Kill sideways page scroll from wide absolute lines / marquees */
  .company-page.company-main-container,
  .main-container {
    overflow-x: clip;
    max-width: 100%;
  }

  /* Company Charte */
  .company-charte {
    margin: 0 var(--spacing-3xl);
  }

  .company-charte__item.company-timeline__item {
    flex: 1 1 100%;
  }

  .company-charte__icon {
    width: 64px;
    height: 64px;
  }

  .company-charte__desc {
    max-width: none;
  }

  /* Company Feedback */
  .company-feedback__images {
    flex-direction: column;
  }

  .company-feedback__img-card {
    min-height: 200px;
  }

  .company-feedback__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .company-feedback__actions .btn {
    width: 100%;
    min-width: 0;
  }

  /* Missions: single column on mobile */
  .company-missions__grid {
    grid-template-columns: 1fr;
    overflow: hidden; /* clip any leftover multi-col rules */
  }
  .company-missions__card {
    max-width: 100%;
  }
  .company-missions__card::after {
    display: none;
  }
  .company-missions__card::before {
    display: none;
  }
  /* Beat tablet 200%/desktop 300% line widths — those blow out mobile scroll */
  .company-missions__card:nth-child(1)::before,
  .company-missions__card:nth-child(2n + 1):not(:nth-last-child(-n + 2))::before,
  .company-missions__card:not(:last-child)::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
    bottom: calc(-1.25rem - 1px);
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 6px;
  }
  .company-missions__image { height: 200px; }

  /* Hide vertical separators on mobile */
  .separator.vertical { display: none; }
  .separator.horizontal { height: 2px; width: 100%; }
  /* Video adjustments */
  .company-showcase__video-container {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .company-showcase__play-btn { width: 100px; height: 100px; }
  .company-showcase__play-btn svg { width: 32px; }
  /* Call to Action */
  .company-cta__buttons { flex-direction: column !important; }
  .company-cta__btn { width: 100%; border-width: 1px; }
  /* Impact Hero */
  .company-impact-hero {
    height: auto;
    min-height: 280px;
  }
  .company-impact-hero__content {
    padding: var(--spacing-5xl) var(--spacing-3xl);
  }
  .company-impact-hero__line {
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0.02em;
  }

  /* company horizons */
  .company-horizons__image {
    max-height: 240px;
    object-position: center top;
  }
  .company-horizons__right-card {
    flex-direction: column;
    align-items: stretch;
  }
  .company-horizons__image-container,
  .company-horizons__content {
    flex: 1 1 auto;
    width: 100%;
  }

  .company-timeline__item {
    flex-direction: column;
  }

  .company-timeline__icon {
    width: 52px;
    height: 52px;
  }

  /* Ideas CTA mobile adjustments */
  .company-ideas-cta {
    padding: var(--spacing-3xl) 0;
  }
  .company-ideas-cta__content {
    padding: var(--spacing-4xl) var(--spacing-3xl);
  }
  .company-ideas-cta__title {
    text-align: center;
  }
  .company-ideas-cta__desc {
    text-align: center;
  }
  .company-ideas-cta__email {
    display: inline-block;
    padding: 2px 0;
    word-break: break-word;
  }
  /* history of a21 */
  .company-story__content-item > :nth-child(1),
  .company-story__content-item > :nth-child(3) { min-width: 250px; min-height: auto; }
  .company-story__signature-img { height: 150px; }

  /* Immersive Scroll Section */
  .company-immersive__item {
    min-height: 0;
  }

  /* Platform Availability */
  .world-map > svg,
  .world-map > img,
  .world-map__canvas {
    height: 250px !important;
  }

  .world-map__stats {
    width: 200px;

    height: calc(100% - var(--spacing-sm) - var(--spacing-sm));
    margin: var(--spacing-sm);
    padding: var(--spacing-sm) !important;
  }

  /* company - 21 */
  .company-hero--21 {
    height: 350px;
  }

  /* Press Section */
  .company-press__grid {
    flex-direction: column;
  }
  .company-press__card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .company-press__card-header {
    height: 110px;
  }
  .company-press__logo {
    height: 32px;
  }
  .company-press__card-body {
    min-height: 120px;
  }

  /* About a21 */
  .about-a21__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 200px);
  }

  .about-a21__card-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
  .about-a21__card-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
  .about-a21__card-3 { grid-column: 1 / 3; grid-row: 2 / 3; }
  .about-a21__card-4 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .about-a21__card-5 { grid-column: 2 / 3; grid-row: 3 / 4; }
  .about-a21__card-6 { grid-column: 1 / 2; grid-row: 4 / 5; }
  .about-a21__card-7 { grid-column: 2 / 3; grid-row: 4 / 6; }
  .about-a21__card-8 { grid-column: 1 / 2; grid-row: 5 / 6; }
  .about-a21__card-9 { grid-column: 1 / 2; grid-row: 6 / 7; }
  .about-a21__card-10 { grid-column: 2 / 3; grid-row: 6 / 7; }

  .about-a21__card--text.about-a21__card--general p {
    line-clamp: 6;
    -webkit-line-clamp: 6;
  }
  .about-a21__card--text.about-a21__card--philosophy p {
    line-clamp: 7;
    -webkit-line-clamp: 7;
  }
  .about-a21__card--text.about-a21__card--impact-social p {
    line-clamp: 15;
    -webkit-line-clamp: 15;
  }

  .kit-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(13, 140px);
  }

  .kit-gallery__item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .kit-gallery__item-2 { grid-column: 1 / 2; grid-row: 3 / 5; }
  .kit-gallery__item-3 { grid-column: 2 / 3; grid-row: 3 / 4; }
  .kit-gallery__item-4 { grid-column: 2 / 3; grid-row: 4 / 5; }
  .kit-gallery__item-5 { grid-column: 1 / 3; grid-row: 5 / 7; }
  .kit-gallery__item-6 { grid-column: 1 / 2; grid-row: 7 / 8; }
  .kit-gallery__item-7 { grid-column: 2 / 3; grid-row: 7 / 8; }
  .kit-gallery__item-8 { grid-column: 1 / 3; grid-row: 8 / 10; }
  .kit-gallery__item-9 { grid-column: 1 / 3; grid-row: 10 / 12; }
  .kit-gallery__item-10 { grid-column: 1 / 2; grid-row: 12 / 14; }
  .kit-gallery__item-11 { grid-column: 2 / 3; grid-row: 12 / 14; }

  .company-horizons {
    flex-direction: column-reverse;
  }

  .testimonial-card__rating-section {
    padding: 30px var(--spacing-3xl) !important;
  }
}

/* Mobile: Change to reverse images when screen is less than 700px */
@media (max-width: 700px) {

  .company-hero--21__content {
    padding-bottom: 0;
  }

  .company-hero--21 {
    flex-direction: column;
    height: auto;
  }

  .company-hero--21__img-left {
    content: url('/assets/img/starry night/1 - reverse.png');
    width: auto;
  }

  .company-hero--21__img-right {
    content: url('/assets/img/starry night/2 - reverse.png');
    width: auto;
    display: flex;
  }

  /* Light mode on mobile */
  [data-theme="light"] .company-hero--21__img-right {
    content: url('/assets/img/starry night/3 - reverse.png');
  }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
  .company-photo-archive .about-artist__gallery-item {
    width: 85vw;
    height: 240px;
  }

    /* Charte Grid */
  .company-charte__grid > .separator.vertical {
    display: block;
    height: 2px;
    width: 100%;
    min-height: auto;
  }
  .company-timeline__list > .separator.vertical {
    width: 100%;
  }
    .company-charte__item {
        min-width: 100%;
        min-height: auto;
    }

    /* A21 agit pour Section — previous mobile compact row */
    .company-impact__card {
        flex-direction: row;
        align-items: center;
        gap: 0 !important;
    }

    .company-impact__card-icon-img {
        width: 120px;
        height: auto;
    }

    .company-impact__card-content .icon {
        display: flex !important;
    }
    .company-impact__card-content .icon svg {
        width: 16px;
        height: 17px;
    }
    .company-impact__card-desc,
    .company-impact__card-link {
        display: none !important;
    }

    .company-impact__grid .separator-container {
        display: block;
        margin: 0 !important;
        width: 100%;
    }
    .company-impact__grid .separator-container .separator.vertical {
        width: 100%;
        height: 2px;
        display: block;
    }

}

@media (max-width: 630px) {
  .company-story__content-item {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .company-story__content-item > * {
    width: 100%;
    max-width: 100% !important;
    order: initial !important;
  }

  .company-story__quote,
  .company-story__signature {
    display: none !important;
  }

  /* Platform Availability */
  .world-map__stats {
    left: auto;
    right: 0;
  }
  .world-map__stat-content {
    gap: 0 !important;
  }

  /* Palette Colors */
  .kit-palettecolors__item__double {
    flex-direction: column;
  }
  .kit-palettecolors__item__double .kit-palettecolor__item {
    min-width: 100%;
  }

  /* Cartes cadeaux kit */
  .kit-giftcards {
    margin: 0 var(--spacing-4xl);
  }

  .kit-giftcards__grid {
    grid-template-rows: 200px repeat(2, 140px);
  }

  /* Logos */
  .kit-logos__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 180px);
  }

  .kit-logo-1 { grid-column: 1; grid-row: 1; }
  .kit-logo-2 { grid-column: 1; grid-row: 2; }
  .kit-logo-3 { grid-column: 1; grid-row: 5; }
  .kit-logo-4 { grid-column: 1; grid-row: 4; }
  .kit-logo-5 { grid-column: 1; grid-row: 3; }
  .kit-logo-6 { grid-column: 1; grid-row: 6; }

  .kit-logo.kit-logo-5 img,
  .kit-logo.kit-logo-2 img {
    width: 200px;
    height: auto;
  }

  .logos-group__icon--img img {
    width: 40px;
    height: 40px;
  }

  .logos-group__logo--img img {
    width: 60px;
  }

  .kit-logo svg {
    width: 38px;
    height: 38px;
  }

}

/* Mobile Medium (520px and below) */
@media (max-width: 520px) {
  /* Reduce margins for all sections */
  .company-partners-slider__container .separator,
  .company-showcase,
  .company-hero,
  .company-story,
  .company-charte,
  .company-timeline,
  .company-missions,
  .company-values,
  .company-team,
  .company-cta,
  .company-impact,
  .newsletter-banner,
  .company-impact-hero,
  .company-horizons,
  .company-ideas-cta,
  .platform-availability,
  .testimonials,
  .company-trust,
  .company-feedback-container,
  .company-hero--21,
  .company-press,
  .about-a21,
  .kit-gallery,
  .kit-products,
  .kit-palettecolors,
  .kit-logos {
    margin-left: 20px;
    margin-right: 20px;
  }

  .company-photo-archive .separator-artist__gallery,
  .company-photo-archive__scrollbar-container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .company-values__desc {
    width: 100%;
    font-size: 16px;
  }

  .company-showcase__play-btn { width: 80px; height: 80px; }

  /* Horizons Section mobile adjustments */
  .company-horizons__left-card,
  .company-horizons__right-card {
    min-height: auto;
    flex-direction: column;
  }
  .company-horizons__image {
    max-height: 220px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .company-horizons__name {
    text-align: center;
  }
  .company-horizons__text:empty {
    display: none;
  }

  .company-impact__card-title {
    font-size: 24px;
  }

  .company-impact__card-desc {
    font-size: 16px;
  }

  /* Platform Availability */
  .world-map > svg,
  .world-map > img,
  .world-map__canvas {
    height: 200px !important;
  }

  /* Testimonials Section */
  .testimonials__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .company-feedback__img-card {
    min-height: 180px;
  }

  .company-feedback__actions .btn {
    min-width: 0;
  }

  .company-timeline__icon {
    width: 44px;
    height: 44px;
  }

  /* Kit Gallery — single column; auto rows + aspect so items don't overflow/overlap */
  .kit-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: var(--spacing-xl);
  }

  .kit-gallery__item-1,
  .kit-gallery__item-2,
  .kit-gallery__item-3,
  .kit-gallery__item-4,
  .kit-gallery__item-5,
  .kit-gallery__item-6,
  .kit-gallery__item-7,
  .kit-gallery__item-8,
  .kit-gallery__item-9,
  .kit-gallery__item-10,
  .kit-gallery__item-11 {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .kit-gallery__item-1,
  .kit-gallery__item-2,
  .kit-gallery__item-8,
  .kit-gallery__item-9 {
    aspect-ratio: 16 / 10;
  }

  .kit-gallery__item-10,
  .kit-gallery__item-11 {
    aspect-ratio: 3 / 4;
  }

  .kit-gallery__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  /* Immersive — plain stacked blocks on phone (all items visible) */
  .company-immersive-section {
    display: block;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    scroll-snap-type: none;
  }
  .company-immersive__content {
    display: flex;
    flex-direction: column;
    height: auto !important;
    max-height: none !important;
    width: 100%;
    transform: none !important;
    transition: none !important;
  }
  .company-immersive__item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-3xl);
    padding: var(--spacing-4xl) 0;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
    scroll-snap-align: none;
  }
  .company-immersive__text {
    width: 100%;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    order: 0;
  }
  .company-immersive__text p {
    margin: 0 20px;
  }
  .company-immersive__text h2,
  .company-immersive__text p,
  .company-immersive__image {
    order: initial;
  }
  .company-immersive__image {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .company-immersive__image img {
    width: auto;
    max-width: 180px;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    margin: 0 auto;
  }
  .company-immersive__image--packaging img {
    max-width: 140px;
    max-height: 160px;
  }
  .company-immersive__scrollbar,
  .company-immersive__progress,
  .company-immersive__indicator {
    display: none !important;
  }

  .company-impact-hero__text-overlay {
    gap: var(--spacing-md);
  }

  .newsletter-banner__form {
    flex-direction: column;
  }

  .newsletter-banner__btn {
    width: 100%;
  }

}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
  .company-partners-slider__list {
    gap: var(--spacing-3xl);
    animation: autoScroll 35s linear infinite;
  }

  /* Impact Hero */
  .company-impact-hero {
    height: auto;
    min-height: 220px;
  }
  .company-impact-hero__content {
    padding: var(--spacing-4xl) var(--spacing-xl);
  }
  .company-impact-hero__line {
    font-size: 18px;
    line-height: 1.4;
  }
  /* Platform Availability */
  .world-map > svg,
  .world-map > img,
  .world-map__canvas {
    height: 170px !important;
  }

  .world-map__stats {
    width: 180px;
  }

  /* About a21 */
  .about-a21__grid {
    display: flex;
    flex-direction: column;
  }

  .about-a21__card {
    width: 100%;
    height: auto;
  }

  .about-a21__card--text.about-a21__card--general p,
  .about-a21__card--text.about-a21__card--philosophy p,
  .about-a21__card--text.about-a21__card--impact-social p {
    line-clamp: none;
    -webkit-line-clamp: none; /* No line clamping on mobile */
  }

}

@media (max-width: 430px) {
  .company-impact__card-content .icon svg {
    display: none;
  }
}

/* =============================== */
/* Below-fold paint deferral       */
/* Skip immersive/showcase (scroll */
/* + video measure their layout).  */
/* =============================== */
.company-photo-archive,
.company-timeline,
.platform-availability,
.about-a21,
.company-press,
.company-hero--21,
.company-charte,
.company-horizons,
.company-missions,
.testimonials,
.company-trust {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

/* Kit galleries stay fully painted — content-visibility was blanking Photos on iOS after first paint */
.kit-gallery {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

/* Large desktop: cage is already max-width 1920 — drop section side margins.
   Parent gap handles inter-section spacing; only the first child keeps top margin. */
@media (min-width: 1921px) {
  .company-partners-slider__container .separator,
  .company-showcase,
  .company-hero,
  .company-story,
  .company-charte,
  .company-timeline,
  .company-missions,
  .company-values,
  .company-team,
  .company-cta,
  .company-impact,
  .newsletter-banner,
  .company-impact-hero,
  .company-horizons,
  .company-ideas-cta,
  .platform-availability,
  .testimonials,
  .company-trust,
  .company-press,
  .company-feedback-container,
  .company-hero--21,
  .about-a21,
  .kit-gallery,
  .kit-products,
  .kit-palettecolors,
  .kit-logos {
    margin-inline: 0;
    margin-block-start: 0;
  }

  .company-photo-archive .separator-artist__gallery,
  .company-photo-archive__scrollbar-container {
    margin: 0;
  }

  .company-page > :first-child {
    margin-block-start: var(--spacing-9xl);
  }

  /*
   * Full-bleed immersive outside the 1920 cage (≥1921px):
   * panel bg edge-to-edge; text/columns stay in a centered 1920 band.
   * overflow-x:clip kills the classic 100vw horizontal scrollbar.
   */
  html {
    overflow-x: clip;
  }

  .company-main-container > .company-immersive {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc((100vw - 1920px) / -2);
  }

  .company-main-container > .company-immersive > .company-immersive__title {
    max-width: 1920px;
    margin-inline: auto;
  }

  .company-main-container > .company-immersive .company-immersive-section {
    box-sizing: border-box;
    padding-inline: calc((100vw - 1920px) / 2);
  }

  .company-main-container > .company-immersive--why-us .company-immersive__lead-fixed {
    inset-inline-start: calc((100vw - 1920px) / 2);
    width: 960px;
  }
}
