.audio-video-products-page .section-intro,
.audio-video-products-page .architecture-section,
.audio-video-products-page .system-paths,
.audio-video-products-page .automation-principles-section,
.audio-video-products-page .scenario-section,
.audio-video-products-page .planning-section,
.audio-video-products-page .faq-section {
  display: none;
}

.av-product-journey {
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4.5rem, 10vw, 9rem);
  background: var(--bg);
  color: var(--text);
}

.av-product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6.4rem);
}

.av-product-intro h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.5rem, 5.7vw, 5.5rem);
  line-height: 0.94;
}

.av-product-intro-copy {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.75;
}

.av-brand-marquee {
  position: relative;
  margin: 0 calc(50% - 50vw) clamp(4.5rem, 9vw, 8rem);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.av-brand-marquee::before,
.av-brand-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(12vw, 11rem);
  content: "";
  pointer-events: none;
}

.av-brand-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), transparent);
}

.av-brand-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface), transparent);
}

.av-brand-track {
  display: flex;
  width: max-content;
  animation: av-brand-marquee 34s linear infinite;
  will-change: transform;
}

.av-brand-marquee:hover .av-brand-track,
.av-brand-marquee:focus-within .av-brand-track {
  animation-play-state: paused;
}

.av-brand-set {
  display: flex;
  align-items: center;
  gap: clamp(2.8rem, 7vw, 7rem);
  padding: 1.15rem clamp(1.4rem, 4vw, 4.5rem);
}

.av-brand-set span {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  color: var(--text);
  font: 700 clamp(0.82rem, 1.35vw, 1rem)/1.2 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.av-brand-set span::after {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

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

.av-stories {
  display: grid;
  gap: clamp(5rem, 12vw, 10rem);
}

.av-story {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(20rem, 0.94fr);
  gap: clamp(2.2rem, 7vw, 8rem);
  align-items: start;
}

.av-story.is-reversed .av-story-visual { order: 2; }
.av-story.is-reversed .av-story-copy { order: 1; }

.av-story-visual {
  position: sticky;
  top: 104px;
}

.av-story-image-button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: clamp(25rem, 45vw, 40rem);
  place-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--gold) 17%, transparent), transparent 38%),
    var(--card);
  box-shadow: var(--shadow);
  color: var(--text);
  cursor: zoom-in;
}

.av-story-image-button::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.62rem 0.78rem;
  border: 1px solid color-mix(in srgb, var(--text) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  content: "View larger";
  font: 800 0.6rem/1 var(--font-sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity .2s ease, transform .2s ease;
}

.av-story-image-button:hover::after,
.av-story-image-button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.av-story-image-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.av-story-image-button img {
  width: 100%;
  max-height: clamp(20rem, 38vw, 33rem);
  object-fit: contain;
  filter: drop-shadow(0 1.3rem 1.7rem rgba(0, 0, 0, .2));
  transition: transform .65s cubic-bezier(.2, .72, .2, 1), filter .3s ease;
}

.av-story-image-button:hover img,
.av-story-image-button:focus-visible img {
  filter: drop-shadow(0 1.65rem 2rem rgba(0, 0, 0, .26));
  transform: scale(1.035);
}

.av-story-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.av-story-visual figcaption span:first-child {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.av-story-visual figcaption span:last-child { text-align: right; }

.av-story-copy { padding-top: clamp(.2rem, 1.7vw, 1.25rem); }

.av-story-index {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font: 800 .66rem/1.3 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.av-story-copy h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.15rem, 4.1vw, 4.4rem);
  line-height: .98;
}

.av-story-lead {
  max-width: 42rem;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.38vw, 1.13rem);
  line-height: 1.75;
}

.av-story-points {
  margin: 0;
  border-top: 1px solid var(--line);
}

.av-story-points > div {
  display: grid;
  grid-template-columns: minmax(7.6rem, .5fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.av-story-points dt {
  color: var(--gold);
  font: 800 .6rem/1.35 var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.av-story-points dd {
  margin: 0;
  color: var(--muted-strong);
  font-size: .95rem;
  line-height: 1.62;
}

.av-story-note {
  margin: 1.7rem 0 0;
  padding: 1.1rem 1.2rem;
  border-left: 2px solid var(--gold);
  background: var(--surface);
  color: var(--muted-strong);
  font-size: .94rem;
  line-height: 1.65;
}

.av-story-note strong { color: var(--text); }

.av-product-closing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-top: clamp(5rem, 11vw, 10rem);
  padding-top: clamp(3.5rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.av-product-closing h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  line-height: .98;
}

.av-product-closing p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.av-product-dialog {
  width: min(94vw, 1100px);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 1.6rem 5rem rgba(0, 0, 0, .45);
}

.av-product-dialog::backdrop {
  background: rgba(9, 10, 9, .8);
  backdrop-filter: blur(6px);
}

.av-product-dialog-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .45fr);
  min-height: min(39rem, calc(100dvh - 2rem));
}

.av-product-dialog-media {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 38%),
    var(--card);
}

.av-product-dialog-media img {
  width: 100%;
  max-height: min(33rem, calc(100dvh - 5rem));
  object-fit: contain;
  filter: drop-shadow(0 1.3rem 1.7rem rgba(0, 0, 0, .22));
}

.av-product-dialog-copy {
  display: grid;
  align-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 1px solid var(--line);
}

.av-product-dialog-label {
  margin: 0 0 .8rem;
  color: var(--gold);
  font: 800 .64rem/1.3 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.av-product-dialog-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: .98;
}

.av-product-dialog-copy p:last-child {
  margin: 1.2rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.av-product-dialog-close {
  position: absolute;
  z-index: 2;
  top: .8rem;
  right: .8rem;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  color: var(--text);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.av-enhanced [data-av-reveal] {
  opacity: 0;
  transform: translateY(1.3rem);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.av-enhanced [data-av-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .av-product-intro,
  .av-story,
  .av-product-closing,
  .av-product-dialog-inner { grid-template-columns: 1fr; }

  .av-story.is-reversed .av-story-visual,
  .av-story.is-reversed .av-story-copy { order: initial; }

  .av-story-visual { position: static; }
  .av-story-image-button { min-height: clamp(21rem, 56vw, 32rem); }
  .av-story-image-button img { max-height: min(52vw, 28rem); }
  .av-product-dialog { overflow: auto; }
  .av-product-dialog-inner { min-height: 0; }
  .av-product-dialog-media { min-height: min(54dvh, 28rem); }
  .av-product-dialog-copy { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .av-story[data-av-scroll-motion] .av-story-visual,
  .av-story[data-av-scroll-motion] .av-story-copy {
    will-change: transform, opacity;
    transition: transform 140ms linear, opacity 140ms linear;
  }

  .av-story[data-av-scroll-motion] .av-story-visual {
    opacity: var(--av-visual-opacity, 1);
    transform: translate3d(0, var(--av-visual-shift, 0px), 0);
  }

  .av-story[data-av-scroll-motion] .av-story-copy {
    opacity: var(--av-copy-opacity, 1);
    transform: translate3d(0, var(--av-copy-shift, 0px), 0);
  }
}

@media (max-width: 620px) {
  .av-product-journey { padding-top: 3.6rem; }
  .av-product-intro { gap: 1.2rem; margin-bottom: 3rem; }
  .av-product-intro h2 { max-width: 10ch; }
  .av-brand-marquee { margin-bottom: 4rem; }
  .av-brand-track { animation-duration: 25s; }
  .av-brand-set { gap: 2.8rem; padding-inline: 1.4rem; }
  .av-stories { gap: 5rem; }
  .av-story { gap: 1.5rem; }
  .av-story-image-button { min-height: 20rem; padding: 2.2rem; }
  .av-story-image-button::after { opacity: 1; transform: none; }
  .av-story-visual figcaption { display: grid; gap: .3rem; }
  .av-story-visual figcaption span:last-child { text-align: left; }
  .av-story-points > div { grid-template-columns: 1fr; gap: .4rem; }
  .av-product-closing { gap: 1.2rem; }
  .av-product-dialog { width: calc(100vw - 1rem); }
  .av-product-dialog-media { min-height: 48dvh; }
  .av-product-dialog-media img { max-height: 43dvh; }
  .av-product-dialog-copy { max-height: 43dvh; overflow: auto; }
}

@media (max-width: 380px) {
  .av-story-image-button { min-height: 18rem; padding: 1.5rem; }
  .av-story-image-button img { max-height: 15rem; }
  .av-product-dialog-copy { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .av-brand-track { animation-play-state: paused; }
  .av-enhanced [data-av-reveal],
  .av-story-image-button img { transition: none; }
}
