.av-section { scroll-margin-top: 5rem; }
.av-carousel { margin-top: 1.5rem; display: grid; gap: .85rem; }
.av-viewport {
  overflow: hidden;
  border-radius: 1.25rem;
  background: #0f0f12;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.av-track {
  display: flex;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  touch-action: pan-y;
}
.av-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  justify-items: center;
  gap: .55rem;
  padding: clamp(.55rem, 2vw, 1rem);
  box-sizing: border-box;
}
/* Cap height so controls stay visible on phones */
.av-frame-wrap {
  width: min(100%, 300px, calc(66vh * 9 / 16));
  aspect-ratio: 9 / 16;
  max-height: 66vh;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
}
@media (min-width: 900px) {
  .av-frame-wrap {
    width: min(100%, 340px, calc(72vh * 9 / 16));
    max-height: 72vh;
  }
}
.av-frame-wrap iframe,
.av-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.av-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.55));
  color: #fff;
}
.av-play:focus-visible { outline: 2px solid #f5c451; outline-offset: -4px; }
.av-play-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  color: #111;
  font-size: 1.35rem;
  padding-left: .15rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.av-play:hover .av-play-icon { transform: scale(1.06); }
.av-caption { text-align: center; max-width: 28rem; }
.av-caption h3 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 400;
}
.av-caption p { margin: .25rem 0 0; opacity: .7; font-size: .88rem; }

/* One row: prev | dots+counter | next */
.av-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem .65rem;
  width: min(100%, 28rem);
  margin-inline: auto;
  padding: 0 .25rem max(.75rem, env(safe-area-inset-bottom));
}
.av-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 0;
}
.av-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: inherit;
  border-radius: 999px;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.av-btn:hover { background: rgba(255,255,255,.12); }
.av-btn:disabled { opacity: .35; cursor: not-allowed; }
.av-dots {
  display: flex;
  gap: .32rem;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  scrollbar-width: none;
}
.av-dots::-webkit-scrollbar { display: none; }
.av-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}
.av-dot[aria-current="true"] { background: #f5c451; width: 1.15rem; }
.av-counter {
  font-size: .8rem;
  opacity: .75;
  white-space: nowrap;
  flex-shrink: 0;
}
/* Kill iOS double-tap zoom on fast arrow taps */
.av-carousel,
.av-controls,
.av-btn,
.av-dot,
.av-play,
.av-mid,
.av-dots {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.av-btn,
.av-dot,
.av-play {
  -webkit-tap-highlight-color: transparent;
}

/* FAQ — SEO / agent-friendly Q&A */
.faq { scroll-margin-top: var(--header-h, 5rem); }
.faq-list { margin-top: 1.5rem; display: grid; gap: .75rem; max-width: 42rem; }
.faq-item {
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: var(--radius-sm, 8px);
  background: var(--bg-elevated, #12141c);
  padding: .85rem 1.1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: .75rem 0 0;
  color: var(--text-muted, #9aa3b5);
  font-size: .95rem;
}
.faq-item a { color: var(--accent, #00c8d4); text-decoration: underline; }
