/* Home page only (loaded where .as-homepage is used): slideshow, expertises, references, method, shops. */

:where(.services article:hover .service-icon),
:where(.services article:focus-within .service-icon) {
  color: var(--accent-bright);
  background: transparent;
  border: 0;
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--wp--preset--color--accent-bright) 42%, transparent));
}

:where(.services article:hover .service-icon)::before,
:where(.services article:focus-within .service-icon)::before {
  opacity: 0;
  background: none;
}

:where(.hero) {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 150px clamp(20px, 6vw, 78px) 112px;
  overflow: hidden;
  background: #101418;
}

:where(body[data-hero-tone="0"]) {
  --hero-bridge: var(--navy);
  --hero-bridge-soft: rgba(10, 43, 84, .7);
}

:where(body[data-hero-tone="1"]) {
  --hero-bridge: var(--navy);
  --hero-bridge-soft: rgba(42, 72, 122, .66);
}

:where(.hero)::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: min(46vh, 460px);
  background: linear-gradient(180deg, transparent 0%, var(--hero-bridge-soft, rgba(10, 43, 84, .7)) 60%, var(--hero-bridge, var(--wp--preset--color--stage)) 100%);
  content: "";
  pointer-events: none;
  transition: background 750ms ease;
}

:where(.hero-slides),
:where(.hero-shade) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

:where(.hero-media) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 900ms ease, transform 8s ease;
}

:where(.hero-media.is-active) {
  opacity: 1;
  transform: scale(1);
  animation: hero-drift 14s ease-in-out both;
}

:where(.hero-shade) {
  background: linear-gradient(90deg, rgba(10, 14, 18, 0.86) 0%, rgba(10, 14, 18, 0.62) 38%, rgba(10, 14, 18, 0.12) 100%), linear-gradient(180deg, rgba(10, 14, 18, 0.14) 0%, rgba(10, 14, 18, 0.86) 100%);
}

:where(.hero-content) {
  position: relative;
  z-index: 1;
  max-width: 880px;
  color: #fff;
}

:where(.hero-copy) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

:where(.hero-actions) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:where(.hero-controls) {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 6vw, 78px);
  bottom: 32px;
}

:where(.hero-controls button:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

:where(.hero-pagination) {
  display: flex;
  gap: 2px;
}

:where(.hero-dot) {
  position: relative;
  width: 44px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

:where(.hero-dot)::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.38);
  content: "";
  transform: translate(-50%, -50%);
  transition: width 180ms ease, background 180ms ease;
}

:where(.hero-dot:hover)::before {
  background: rgba(255, 255, 255, 0.72);
}

:where(.hero-dot[aria-pressed="true"])::before {
  width: 40px;
  background: var(--accent-bright);
}

:where(.section) {
  padding: clamp(54px, 7vw, 96px) clamp(20px, 6vw, 78px);
}

:where(.intro) {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  transition: background 750ms ease;
}

:where(.intro)::after {
  position: absolute;
  right: -8%;
  bottom: -70%;
  width: 50%;
  height: 150%;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  content: "";
  transform: rotate(-20deg);
  pointer-events: none;
}

:where(.intro > *) {
  position: relative;
  z-index: 1;
}

:where(.intro :is(.eyebrow, .is-style-surtitre)) {
  color: var(--accent-bright);
}

:where(.intro h2) {
  max-width: 14ch;
  color: #fff;
}

:where(.intro > p),
:where(.method-copy p) {
  color: var(--muted);
  font-size: 1.08rem;
}

:where(.intro > p) {
  color: rgba(255, 255, 255, .7);
}

/* The maquette keeps the browser's 1em under these paragraphs and 14px under the shop titles. */
.as-homepage .intro > p {
  margin-bottom: 1em;
}

.as-homepage .shop-grid h3 {
  margin: 0 0 14px;
}

:where(.services) {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

:where(.services)::before {
  display: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, .06) 48.1%, transparent 48.3% 100%);
  content: "";
  pointer-events: none;
}

:where(.services article) {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

:where(.service-icon) {
  transition: color 260ms ease, filter 260ms ease, transform 420ms cubic-bezier(.2, .72, .22, 1);
}

:where(.service-icon)::before {
  position: absolute;
  z-index: -1;
  content: "";
}

:where(.service-icon .icon-fill) {
  transition: opacity 260ms ease, fill 260ms ease;
}

:where(.service-icon .sound-wave),
:where(.service-icon .light-ray),
:where(.service-icon .light-beam),
:where(.service-icon .video-scan),
:where(.service-icon .truss-line),
:where(.service-icon .energy-bolt),
:where(.service-icon .record-dot),
:where(.service-icon .stream-wave) {
  transform-box: fill-box;
  transform-origin: center;
}

:where(.services article)::after {
  position: absolute;
  content: "";
}

:where(.services article:hover),
:where(.services article:focus-within) {
  background: transparent;
  transform: translateY(-6px);
}

:where(.services article:hover .service-icon),
:where(.services article:focus-within .service-icon) {
  color: var(--accent-bright);
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--wp--preset--color--accent-bright) 46%, transparent));
  transform: translateY(-6px) scale(1.045);
}

:where(.services article:hover .service-icon)::before,
:where(.services article:focus-within .service-icon)::before {
  background: linear-gradient(112deg, transparent 0 48%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 72%, transparent) 49.5% 50.5%, transparent 52% 100%);
  opacity: .7;
}

:where(.services article:hover .service-icon svg),
:where(.services article:focus-within .service-icon svg) {
  animation: service-icon-trace 700ms cubic-bezier(.2, .72, .22, 1) both;
}

:where(.services article:hover .icon-fill),
:where(.services article:focus-within .icon-fill) {
  opacity: .58;
}

:where(.service--sound:hover .sound-wave),
:where(.service--sound:focus-within .sound-wave) {
  animation: sound-wave-out 850ms ease-out infinite;
}

:where(.service--sound:hover .sound-wave-two),
:where(.service--sound:focus-within .sound-wave-two) {
  animation-delay: 180ms;
}

:where(.service--light:hover .light-ray),
:where(.service--light:focus-within .light-ray),
:where(.service--light:hover .light-beam),
:where(.service--light:focus-within .light-beam) {
  animation: light-flash 750ms ease-in-out infinite alternate;
}

:where(.service--video:hover .video-scan),
:where(.service--video:focus-within .video-scan) {
  stroke: var(--accent-bright);
  animation: video-scan 1.1s linear infinite;
}

:where(.service--structure:hover .truss-main),
:where(.service--structure:focus-within .truss-main) {
  stroke-dasharray: 260;
  animation: truss-draw 1s cubic-bezier(.2, .72, .22, 1) both;
}

:where(.service--structure:hover .truss-line),
:where(.service--structure:focus-within .truss-line) {
  stroke: var(--accent-bright);
  animation: truss-sweep 1.1s ease-in-out infinite;
}

:where(.service--energy:hover .energy-bolt),
:where(.service--energy:focus-within .energy-bolt) {
  fill: var(--accent-bright);
  stroke: var(--accent-bright);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--wp--preset--color--accent-bright) 90%, transparent));
  animation: energy-flash 850ms ease-in-out infinite;
}

:where(.service--stream:hover .record-dot),
:where(.service--stream:focus-within .record-dot) {
  fill: var(--accent-bright);
  stroke: var(--accent-bright);
  animation: record-blink 950ms steps(2, end) infinite;
}

:where(.service--stream:hover .stream-wave),
:where(.service--stream:focus-within .stream-wave) {
  stroke: var(--accent-bright);
  animation: stream-signal 900ms ease-out infinite;
}

:where(.service--stream .service-icon) {
  flex: 0 0 auto;
  margin: 0 0 clamp(30px, 3vw, 44px);
}

:where(.services .service--stream h3) {
  transform: translateY(24px);
}

:where(.services .service--stream p) {
  transform: translateY(24px);
}

:where(.services article:hover .service--stream h3) {
  transform: translateY(19px);
}

:where(.services article:hover .service--stream p) {
  transform: translateY(21px);
}

:where(.services article h3),
:where(.services article p) {
  transition: transform 360ms ease;
}

:where(.services article:hover h3) {
  transform: translateY(-5px);
}

:where(.services article:hover p) {
  transform: translateY(-3px);
}

:where(.services span) {
  color: var(--accent);
  font-weight: 950;
}

:where(.services h3) {
  align-items: flex-end;
}

:where(.services article)::after {
  z-index: 0;
}

:where(.services article > *) {
  position: relative;
  z-index: 1;
}

:where(.services article:hover),
:where(.services article:focus-within) {
  background: var(--service-bg, var(--wp--preset--color--stage));
  box-shadow: 0 26px 54px color-mix(in srgb, var(--wp--preset--color--navy-deep) 20%, transparent);
  transform: translateY(-8px);
}

:where(.services .service--sound) {
  --service-bg: var(--wp--preset--color--stage);
  --service-ink: #fff;
  --service-button: #fff;
  --service-button-ink: var(--wp--preset--color--stage);
}

:where(.services .service--light) {
  --service-bg: var(--wp--preset--color--paper);
  --service-ink: #0a3fa9;
  --service-button: #0a3fa9;
  --service-button-ink: #fff;
}

:where(.services .service--video) {
  --service-bg: #8bd8e7;
  --service-ink: var(--wp--preset--color--navy);
  --service-button: var(--wp--preset--color--navy);
  --service-button-ink: #fff;
}

:where(.services .service--structure) {
  --service-bg: #1553bd;
  --service-ink: #fff;
  --service-button: #fff;
  --service-button-ink: #1553bd;
}

:where(.services .service--energy) {
  --service-bg: #414b5c;
  --service-ink: #fff;
  --service-button: #fff;
  --service-button-ink: #414b5c;
}

:where(.services .service--stream) {
  --service-bg: #89dfdf;
  --service-ink: var(--wp--preset--color--navy);
  --service-button: var(--wp--preset--color--navy);
  --service-button-ink: #fff;
}

:where(.services .service--stream) {
  justify-content: flex-end;
}

:where(.services h3) {
  font-weight: 900;
}

:where(.services p) {
  margin: 0;
  transition: max-height 300ms ease, opacity 240ms ease, margin 300ms ease;
}

:where(.services article:hover p),
:where(.services article:focus-within p) {
  max-height: 130px;
  margin-bottom: 20px;
  opacity: 1;
}

:where(.services) {
  gap: clamp(18px, 3vw, 42px);
}

:where(.services article) {
  padding: clamp(28px, 3.2vw, 46px);
  color: #fff;
}

:where(.services article:hover),
:where(.services article:focus-within) {
  background: transparent;
  box-shadow: none;
  transform: translateY(-6px);
}

:where(.services h3) {
  min-height: 0;
  display: block;
  margin: 0 0 14px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  letter-spacing: normal;
}

:where(.services p) {
  max-width: 38ch;
  max-height: none;
  overflow: visible;
  opacity: 1;
}

:where(.services article:hover p) {
  margin-bottom: 0;
}

:where(.services .service--sound) {
  --icon-bg: #fff;
  --icon-fg: var(--wp--preset--color--stage);
}

:where(.services .service--light) {
  --icon-bg: #1046ad;
  --icon-fg: #fff;
}

:where(.services .service--video) {
  --icon-bg: var(--wp--preset--color--stage);
  --icon-fg: #fff;
}

:where(.services .service--structure) {
  --icon-bg: #fff;
  --icon-fg: #1046ad;
}

:where(.services .service--energy) {
  --icon-bg: #1046ad;
  --icon-fg: #fff;
}

:where(.services .service--stream) {
  --icon-bg: #fff;
  --icon-fg: var(--wp--preset--color--stage);
}

:where(.services article:hover .service-icon),
:where(.services article:focus-within .service-icon) {
  color: var(--icon-fg);
  background: var(--icon-bg);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--icon-bg) 65%, transparent));
}

:where(.method) {
  display: grid;
  align-items: center;
}

:where(.references) {
  color: #fff;
}

:where(.reference-grid) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

:where(.reference-card) {
  overflow: hidden;
}

:where(.reference-card.large) {
  grid-column: span 2;
  grid-row: span 2;
}

:where(.reference-card img) {
  filter: saturate(0.95);
  transition: transform 260ms ease, filter 260ms ease;
}

:where(.reference-card)::after {
  content: "";
  position: absolute;
  inset: 0;
}

:where(.reference-card div) {
  position: absolute;
  z-index: 1;
}

:where(.reference-card span) {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

:where(.reference-card:hover img) {
  transform: scale(1.04);
  filter: saturate(1.08);
}

:where(.steps) {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(.steps li) {
  display: grid;
}

:where(.shops > div:first-child) {
  max-width: 820px;
}

:where(.shop-grid) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

:where(.shop-grid a) {
  font-weight: 900;
}

@media (max-width: 960px) {
  :where(.intro),
  :where(.method) {
    grid-template-columns: 1fr;
  }
  :where(.reference-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :where(.hero) {
    min-height: 100svh;
    padding: 118px 18px 104px;
  }
  :where(.hero-controls) {
    right: 18px;
    bottom: 24px;
  }
  :where(.services),
  :where(.shop-grid) {
    grid-template-columns: 1fr;
  }
  :where(.reference-grid) {
    grid-template-columns: 1fr;
  }
  :where(.reference-card.large) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.hero-media) {
    transform: none;
    transition: none;
    animation: none;
  }
  :where(.services img) {
    transition: none;
  }
}

:where(.services .service-icon) {
  position: absolute;
  top: clamp(28px, 3.2vw, 46px);
  right: auto;
  left: clamp(28px, 3.2vw, 46px);
  width: clamp(92px, 10vw, 142px);
  aspect-ratio: auto;
  padding: 0;
  border-radius: 0;
  color: color-mix(in srgb, var(--wp--preset--color--glacier) 88%, transparent);
  background: transparent;
  filter: drop-shadow(0 0 18px rgba(105, 220, 255, .22));
}

:where(.services .service-icon)::before {
  display: block;
  inset: 8% -6%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(112deg, transparent 0 37%, rgba(143, 218, 248, .28) 37.5% 38.5%, transparent 39% 100%), linear-gradient(112deg, transparent 0 58%, rgba(143, 218, 248, .12) 58.5% 59%, transparent 59.5% 100%);
  clip-path: polygon(0 22%, 100% 0, 86% 100%, 0 78%);
  opacity: .55;
  animation: service-icon-sweep 4.5s ease-in-out infinite;
}

:where(.services .service-icon svg) {
  display: block;
  width: 100%;
  height: auto;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

:where(.services .service-icon .icon-fill) {
  fill: currentColor !important;
  stroke: none;
  opacity: .13;
}

:where(.services article:hover .service-icon),
:where(.services article:focus-within .service-icon) {
  color: var(--accent-bright);
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--wp--preset--color--accent-bright) 42%, transparent));
}

:where(.services article:hover .service-icon)::before,
:where(.services article:focus-within .service-icon)::before {
  opacity: .8;
  background: linear-gradient(112deg, transparent 0 37%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 42%, transparent) 37.5% 38.5%, transparent 39% 100%), linear-gradient(112deg, transparent 0 58%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 20%, transparent) 58.5% 59%, transparent 59.5% 100%);
}

:where(.services article:hover .service-icon),
:where(.services article:focus-within .service-icon) {
  background: transparent !important;
  border: 0 !important;
}

@media (min-width: 1200px) {
  :where(.services .service--stream h3) {
    white-space: nowrap;
    transform: none;
  }
  :where(.services article:hover .service--stream h3),
  :where(.services article:focus-within .service--stream h3) {
    transform: translateY(-5px);
  }
}

:where(.as-homepage .references) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, var(--as-night) 0%, var(--wp--preset--color--stage) 24%, transparent 48%), radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 10%, transparent), transparent 28%), linear-gradient(145deg, var(--wp--preset--color--stage) 0%, var(--as-deep) 62%, var(--as-night) 100%);
}

:where(.as-homepage .references .section-heading) {
  max-width: 760px;
}

:where(.as-homepage .references .section-heading :is(.eyebrow, .is-style-surtitre)) {
  color: var(--accent-bright);
}

:where(.as-homepage .reference-grid) {
  grid-auto-rows: minmax(220px, 24vw);
  gap: clamp(12px, 1.5vw, 22px);
}

:where(.as-homepage .reference-card) {
  min-height: 220px;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--glacier) 14%, transparent);
  border-radius: 22px;
  background: var(--as-night);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
  transition: transform 300ms cubic-bezier(.2, .72, .22, 1), border-color 300ms ease, box-shadow 300ms ease;
}

:where(.as-homepage .reference-card)::after {
  background: linear-gradient(180deg, color-mix(in srgb, var(--as-night) 2%, transparent) 16%, color-mix(in srgb, var(--as-night) 90%, transparent) 100%);
}

:where(.as-homepage .reference-card div) {
  left: 24px;
  right: 24px;
  bottom: 24px;
}

:where(.as-homepage .reference-card span) {
  color: var(--accent-bright);
  letter-spacing: .08em;
}

:where(.as-homepage .reference-card h3) {
  margin: 6px 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.9rem);
}

/* Outside :where(): the theme's h3 line height (1.5, as in the maquette) would win. */
.as-homepage .reference-card h3 {
  line-height: 1.05;
}

:where(.as-homepage .reference-card:hover),
:where(.as-homepage .reference-card:focus-visible) {
  border-color: color-mix(in srgb, var(--wp--preset--color--accent-bright) 68%, transparent);
  box-shadow: 0 24px 44px rgba(0, 0, 0, .3), 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent-bright) 15%, transparent);
  transform: translateY(-6px);
}

:where(.as-homepage .reference-card:hover img),
:where(.as-homepage .reference-card:focus-visible img) {
  transform: scale(1.07);
  filter: saturate(1.12);
}

:where(.as-homepage .method) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 110px);
  color: #fff;
}

:where(.as-homepage .method)::after {
  position: absolute;
  z-index: -1;
  inset: -14% -20%;
  background: linear-gradient(112deg, transparent 18%, rgba(105, 220, 255, .16) 28%, transparent 41%), linear-gradient(74deg, transparent 38%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 14%, transparent) 48%, transparent 60%), linear-gradient(102deg, transparent 60%, color-mix(in srgb, var(--wp--preset--color--glacier) 12%, transparent) 69%, transparent 79%);
  content: "";
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: .62;
  animation: stage-light-sweep 11s ease-in-out infinite alternate;
}

:where(.as-homepage .method)::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 22% 88%, rgba(105, 220, 255, .1), transparent 22%), radial-gradient(ellipse at 78% 86%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 8%, transparent), transparent 22%);
  content: "";
  pointer-events: none;
}

:where(.as-homepage .method-copy :is(.eyebrow, .is-style-surtitre)) {
  color: var(--accent-bright);
}

:where(.as-homepage .method-copy h2) {
  max-width: 720px;
}

:where(.as-homepage .method-copy > p:last-child) {
  max-width: 560px;
  color: rgba(255, 255, 255, .68);
}

:where(.as-homepage .steps) {
  gap: 12px;
  counter-reset: accompaniment-step;
}

:where(.as-homepage .steps li) {
  position: relative;
  min-height: 112px;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--glacier) 16%, transparent);
  border-left: 3px solid var(--accent-bright);
  border-radius: 16px;
  padding: 22px 24px 22px 62px;
  background: rgba(255, 255, 255, .045);
  transition: transform 260ms cubic-bezier(.2, .72, .22, 1), border-color 260ms ease, background-color 260ms ease;
}

:where(.as-homepage .steps li)::before {
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--accent-bright);
  content: counter(accompaniment-step, decimal-leading-zero);
  counter-increment: accompaniment-step;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
}

:where(.as-homepage .steps li:hover),
:where(.as-homepage .steps li:focus-within) {
  border-color: color-mix(in srgb, var(--wp--preset--color--accent-bright) 58%, transparent);
  background: color-mix(in srgb, var(--wp--preset--color--accent-bright) 10%, transparent);
  transform: translateX(6px);
}

:where(.as-homepage .steps strong) {
  color: #fff;
  font-size: 1.08rem;
}

:where(.as-homepage .steps span) {
  color: rgba(255, 255, 255, .65);
}

:where(.as-homepage .shops) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}

:where(.as-homepage .shops)::before {
  position: absolute;
  z-index: -1;
  inset: -28%;
  background: radial-gradient(ellipse at 18% 68%, rgba(105, 220, 255, .15), transparent 26%), radial-gradient(ellipse at 82% 26%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 13%, transparent), transparent 24%);
  content: "";
  opacity: .82;
  animation: equipment-section-flow 16s ease-in-out infinite alternate;
  pointer-events: none;
}

:where(.as-homepage .shops)::after {
  position: absolute;
  z-index: -1;
  inset: -10% -20%;
  background: linear-gradient(112deg, transparent 18%, rgba(105, 220, 255, .16) 28%, transparent 41%), linear-gradient(74deg, transparent 38%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 14%, transparent) 48%, transparent 60%), linear-gradient(102deg, transparent 60%, color-mix(in srgb, var(--wp--preset--color--glacier) 12%, transparent) 69%, transparent 79%);
  content: "";
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: .82;
  transform: translateX(-3%) skewX(-2deg);
  animation: stage-light-sweep 11s ease-in-out infinite alternate;
  pointer-events: none;
}

:where(.as-homepage .shops :is(.eyebrow, .is-style-surtitre)) {
  color: var(--accent-bright);
}

:where(.as-homepage .shops h2) {
  max-width: 820px;
}

:where(.as-homepage .shop-grid) {
  gap: clamp(14px, 2vw, 24px);
}

:where(.as-homepage .shop-grid article) {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--glacier) 16%, transparent);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 42px);
  background: rgba(255, 255, 255, .045);
  transition: transform 280ms cubic-bezier(.2, .72, .22, 1), border-color 280ms ease, background-color 280ms ease, box-shadow 280ms ease;
}

:where(.as-homepage .shop-grid article)::before {
  position: absolute;
  inset: -55%;
  z-index: 0;
  background: radial-gradient(circle at 28% 42%, rgba(105, 220, 255, .2), transparent 22%), radial-gradient(circle at 76% 62%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 16%, transparent), transparent 25%), repeating-linear-gradient(118deg, transparent 0 34px, color-mix(in srgb, var(--wp--preset--color--glacier) 5%, transparent) 35px 36px, transparent 37px 72px);
  content: "";
  opacity: .28;
  transform: translate3d(-5%, -3%, 0) rotate(-8deg);
  animation: equipment-atmosphere 12s ease-in-out infinite alternate;
  pointer-events: none;
}

:where(.as-homepage .shop-grid article)::before,
:where(.as-homepage .shop-grid article)::after {
  display: none;
}

:where(.as-homepage .shop-grid article)::after {
  position: absolute;
  right: -12%;
  bottom: -38%;
  width: 58%;
  height: 80%;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent-bright) 24%, transparent);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
  pointer-events: none;
}

:where(.as-homepage .shop-grid article:hover),
:where(.as-homepage .shop-grid article:focus-within) {
  border-color: color-mix(in srgb, var(--wp--preset--color--accent-bright) 62%, transparent);
  background: color-mix(in srgb, var(--wp--preset--color--accent-bright) 10%, transparent);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .22);
  transform: translateY(-6px);
}

:where(.as-homepage .shop-grid article:hover)::before,
:where(.as-homepage .shop-grid article:focus-within)::before {
  opacity: .56;
  animation-duration: 7s;
}

:where(.as-homepage .shop-grid h3) {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

:where(.as-homepage .shop-grid p) {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .66);
}

:where(.as-homepage .shop-grid a) {
  position: relative;
  z-index: 1;
}

:where(.as-homepage .method-equipment-flow) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, var(--wp--preset--color--stage) 0%, var(--as-night) 100%);
}

:where(.as-homepage .method-equipment-flow > .method),
:where(.as-homepage .method-equipment-flow > .shops) {
  background: transparent !important;
}

:where(.as-homepage .method-equipment-flow > .method)::before,
:where(.as-homepage .method-equipment-flow > .method)::after,
:where(.as-homepage .method-equipment-flow > .shops)::before,
:where(.as-homepage .method-equipment-flow > .shops)::after {
  display: none;
}

:where(.as-homepage .method-equipment-flow)::before {
  position: absolute;
  z-index: -1;
  inset: -12% -18%;
  background: radial-gradient(ellipse at 18% 62%, rgba(105, 220, 255, .15), transparent 24%), radial-gradient(ellipse at 80% 34%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 13%, transparent), transparent 24%);
  content: "";
  opacity: .8;
  animation: equipment-section-flow 16s ease-in-out infinite alternate;
}

:where(.as-homepage .method-equipment-flow)::after {
  position: absolute;
  z-index: -1;
  inset: -14% -20%;
  background: linear-gradient(112deg, transparent 18%, rgba(105, 220, 255, .16) 28%, transparent 41%), linear-gradient(74deg, transparent 38%, color-mix(in srgb, var(--wp--preset--color--accent-bright) 14%, transparent) 48%, transparent 60%), linear-gradient(102deg, transparent 60%, color-mix(in srgb, var(--wp--preset--color--glacier) 12%, transparent) 69%, transparent 79%);
  content: "";
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: .72;
  animation: stage-light-sweep 11s ease-in-out infinite alternate;
}

:where(.as-homepage .services) {
  margin: 0;
  padding: clamp(18px, 3vw, 34px) clamp(20px, 5vw, 72px) clamp(72px, 9vw, 124px);
  background: linear-gradient(180deg, var(--wp--preset--color--stage) 0%, var(--as-deep) 58%, var(--as-night) 100%);
}

:where(.as-homepage .services article) {
  min-height: clamp(300px, 28vw, 410px);
  transition: transform 280ms cubic-bezier(.2, .72, .22, 1), border-color 280ms ease, background-color 280ms ease, box-shadow 280ms ease;
}

:where(.as-homepage .services article:hover),
:where(.as-homepage .services article:focus-within) {
  border-color: color-mix(in srgb, var(--wp--preset--color--accent-bright) 52%, transparent);
  background: color-mix(in srgb, var(--wp--preset--color--accent-bright) 6.5%, transparent);
  box-shadow: 0 20px 38px rgba(0, 0, 0, .2);
  transform: translateY(-6px);
}

:where(.as-homepage .services article p) {
  color: rgba(255, 255, 255, .7);
}

:where(.as-homepage .services article)::after {
  inset: auto 20px 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-bright), transparent 72%);
  opacity: .45;
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform 280ms ease, opacity 280ms ease;
}

:where(.as-homepage .services article:hover)::after,
:where(.as-homepage .services article:focus-within)::after {
  opacity: .9;
  transform: scaleX(1);
}

:where(.as-homepage .services article),
:where(.as-homepage .services article:hover),
:where(.as-homepage .services article:focus-within) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

:where(.as-homepage .services article)::after {
  display: none;
}

:where(.hero-message) {
  display: none;
}

:where(.hero-message.is-active) {
  display: block;
  animation: reveal-hero-message 500ms ease both;
}

:where(.hero-message :is(.eyebrow, .is-style-surtitre)) {
  color: var(--accent-bright);
}

:where(.as-homepage) {
  background: var(--navy);
}

:where(.hero-title) {
  max-width: 900px;
  margin: 0 0 22px;
}

:where(.hero-pause) {
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
  border-radius: 5px;
  padding: 4px 10px;
  cursor: pointer;
}

:where(.hero-pause[hidden]) {
  display: none;
}

:where(.as-hero-edit) {
  min-height: 640px;
}

:where(.editor-styles-wrapper .hero-media, .editor-styles-wrapper .hero-message) {
  animation: none;
}

@media(prefers-reduced-motion:reduce) {
  :where(.as-homepage) *,
  :where(.as-homepage) *::before,
  :where(.as-homepage) *::after {
    animation: none!important;
    transition: none!important;
  }
}

/* Layout defaults feed the native styles; explicit block settings still override. */

:where(.hero) {
  --as-h2-size: clamp(3.1rem,6.2vw,6.6rem);
  --as-h2-line: .97;
  --as-h2-tracking: -.045em;
  --as-h2-margin: 22px;
}

:where(.hero[data-hero-tone="0"]) {
  --hero-bridge: var(--navy);
  --hero-bridge-soft: rgba(10,43,84,.7);
}

:where(.hero[data-hero-tone="1"]) {
  --hero-bridge: var(--navy);
  --hero-bridge-soft: rgba(42,72,122,.66);
}

:where(.as-homepage .references) {
  --as-h2-size: clamp(2.5rem,5.2vw,5.5rem);
  --as-h2-line: .94;
  --as-h2-tracking: -.055em;
}

:where(.as-homepage .method, .as-homepage .shops) {
  --as-h2-size: clamp(2.5rem,5vw,5.4rem);
  --as-h2-line: .94;
  --as-h2-tracking: -.055em;
}

:where(.hero-copy) {
  --as-p-margin: 30px;
}

/* Match the maquette's rhythm; inline block spacing remains editable. */

.as-homepage .section-heading {
  margin-bottom: 34px;
}

.as-homepage .references-more {
  margin-top: 34px;
}

.as-homepage .shops > .wp-block-group:first-child {
  margin-bottom: 34px;
}

.as-homepage .services h3 {
  margin-bottom: 14px;
}

.as-homepage .shop-grid h3 {
  margin-bottom: 1em;
}

:where(.shop-grid) {
  --as-link-color: var(--accent-bright);
}

@media(max-width:640px) {
  :where(.hero) {
    --as-h1-size: clamp(2.45rem,14vw,4.2rem);
    --as-h2-size: clamp(2.45rem,14vw,4.2rem);
  }
}

/* Keep the accompaniment text readable below the desktop breakpoint. */

@media(max-width:960px) {
  .as-homepage .method {
    grid-template-columns: 1fr;
  }
}

/* Service cards: titles keep the mockup line height (the theme sets headings to 1), so the
   gap between pictogram, title and text matches the mockup. */

.as-homepage .services article :is(h2,h3) {
  line-height: 1.2;
}

.is-style-secondaire .wp-element-button:hover,
.is-style-secondaire .wp-element-button:focus-visible {
  background-color: color-mix(in srgb, var(--wp--preset--color--accent-bright) 22%, transparent);
}

.is-style-clair .wp-element-button:hover,
.is-style-clair .wp-element-button:focus-visible {
  background-color: var(--wp--preset--color--accent-dark);
}

@keyframes hero-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.6%, 0);
  }
}

@keyframes service-icon-sweep {
  0%,
  100% {
    opacity: .36;
    transform: translateX(-4%) skewX(-3deg);
  }
  50% {
    opacity: .88;
    transform: translateX(4%) skewX(-3deg);
  }
}

@keyframes service-icon-trace {
  from {
    opacity: .28;
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
  }
  to {
    opacity: 1;
    stroke-dasharray: 260;
    stroke-dashoffset: 0;
  }
}

@keyframes sound-wave-out {
  0% {
    opacity: .15;
    transform: translateX(-4px) scale(.9);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: .08;
    transform: translateX(8px) scale(1.12);
  }
}

@keyframes light-flash {
  from {
    opacity: .24;
    stroke: currentColor;
  }
  to {
    opacity: 1;
    stroke: var(--accent-bright);
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--wp--preset--color--accent-bright) 75%, transparent));
  }
}

@keyframes video-scan {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  to {
    transform: translateY(36px);
    opacity: 0;
  }
}

@keyframes truss-draw {
  from {
    stroke-dashoffset: 260;
    opacity: .25;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes truss-sweep {
  0%,
  100% {
    opacity: .25;
    transform: translateX(-6px);
  }
  50% {
    opacity: 1;
    transform: translateX(6px);
  }
}

@keyframes energy-flash {
  0%,
  100% {
    opacity: .32;
    transform: scale(.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes record-blink {
  0%,
  48% {
    opacity: 1;
    filter: drop-shadow(0 0 9px color-mix(in srgb, var(--wp--preset--color--accent-bright) 90%, transparent));
  }
  49%,
  100% {
    opacity: .16;
    filter: none;
  }
}

@keyframes stream-signal {
  0% {
    opacity: .15;
    transform: scale(.9);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: .12;
    transform: scale(1.12);
  }
}

@keyframes equipment-atmosphere {
  from {
    transform: translate3d(-5%, -3%, 0) rotate(-8deg) scale(1);
  }
  to {
    transform: translate3d(5%, 4%, 0) rotate(-2deg) scale(1.08);
  }
}

@keyframes equipment-section-flow {
  from {
    transform: translate3d(-3%, -2%, 0) rotate(-2deg) scale(1);
  }
  to {
    transform: translate3d(4%, 3%, 0) rotate(2deg) scale(1.08);
  }
}

@keyframes stage-light-sweep {
  from {
    opacity: .48;
    transform: translateX(-4%) skewX(-3deg) scale(1);
  }
  48% {
    opacity: .86;
  }
  to {
    opacity: .56;
    transform: translateX(5%) skewX(3deg) scale(1.06);
  }
}

@keyframes reveal-hero-message {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
