/* PresentTool™ Storytelling — section: ar ("in jouw ruimte") */

.story-ar {
  position: relative;
  width: 100%;
  background: var(--pt-surface-1, #faf8f5);
  color: var(--pt-text);
  padding: 96px 24px;
}
.ar-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.ar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--pt-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--pt-primary);
}
.ar-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--story-accent, var(--pt-primary));
}
.ar-title {
  font-family: var(--pt-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.ar-sub {
  margin: 0 auto 30px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pt-text-dim, #6b6258);
}

.ar-stage {
  position: relative;
  width: 100%;
}
.ar-model {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #ece7df 0%, #ddd5c9 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
  --poster-color: transparent;
}
.ar-poster {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.ar-progress {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 40%;
  max-width: 220px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.ar-progress__fill {
  height: 100%;
  width: 0;
  background: var(--story-accent, var(--pt-primary));
  transition: width .2s ease;
}

/* Custom AR-launch knop (slot="ar-button") — model-viewer toont 'm alleen
   wanneer AR daadwerkelijk geactiveerd kan worden op het apparaat. */
.ar-launch {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border: none;
  border-radius: 999px;
  background: var(--story-accent, var(--pt-primary));
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
  transition: transform .14s ease, filter .14s ease;
}
.ar-launch:hover { transform: translateX(-50%) translateY(-2px); filter: brightness(1.05); }
.ar-launch svg { width: 16px; height: 16px; }

.ar-hint {
  margin: 16px 0 0;
  font-family: var(--pt-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--pt-text-dim, #6b6258);
}

@media (max-width: 768px) {
  .story-ar { padding: 64px 18px; }
  .ar-model { aspect-ratio: 3 / 4; }
}
