/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

/* process polaroid — card rotation, frame aspect ratio, image fit */
.process-pol__card {
    transition: transform 200ms ease;
}
.process-pol__card--0 { transform: rotate(-2deg); }
.process-pol__card--1 { transform: rotate(1.5deg); }
.process-pol__card--2 { transform: rotate(-1deg); }
.process-pol__card--3 { transform: rotate(2.5deg); }
.process-pol__card--4 { transform: rotate(-1.5deg); }
.process-pol__card--5 { transform: rotate(2deg); }
.process-pol__card:hover {
    transform: rotate(0deg) scale(1.03);
    z-index: 1;
}
.process-pol__frame {
    aspect-ratio: 1;
    overflow: hidden;
}
.process-pol__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.content-vertical-paper__layout {
    display: grid;
    grid-template-columns: minmax(5rem, 8rem) minmax(0, 1fr);
}

.content-vertical-paper__title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: -0.025em;
}

@media (max-width: 767.98px) {
    .content-vertical-paper__layout {
        grid-template-columns: 1fr;
    }

    .content-vertical-paper__title {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

/* v28 - scattered rotation per card (per-index transform has no TW/BS utility) */
[data-scatter-card] {
    transition: transform 200ms ease;
}

/* fixed card width (w-64 has no equivalent Bootstrap utility) */
.scrapbook-pile__card {
    width: 16rem;
}

[data-scatter-card="0"] {
    transform: rotate(-3deg);
}

[data-scatter-card="1"] {
    transform: rotate(2deg) translateY(-0.5rem);
}

[data-scatter-card="2"] {
    transform: rotate(-1.5deg);
}

[data-scatter-card]:hover {
    transform: rotate(0deg) translateY(0);
}


.parade-facet__plaque--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

.parade-facet__flag--rise:hover { transform: scale(1.1); transition: transform .2s ease; }

.parade-facet__iconframe--rise:hover { transform: scale(1.1); transition: transform .2s ease; }

.parade-facet__symbol--rise:hover { transform: scale(1.1); transition: transform .2s ease; }

.parade-facet__accent--rise:hover { transform: scale(1.5); transition: transform .2s ease; }

.parade-facet__pin--rise:hover { transform: scale(1.25); transition: transform .2s ease; }

/* faq spotlight — layout + motion (no colors) */
.faq-spotlight__root {
  min-height: 100vh;
  min-height: 100dvh;
}

.faq-spotlight__cover {
  min-height: 0;
}

@media (min-width: 992px) {
  .faq-spotlight__cover {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.faq-spotlight__media {
  pointer-events: none;
}

.faq-spotlight__media-col {
  min-height: 14rem;
}

.faq-spotlight__media-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 992px) {
  .faq-spotlight__media-col {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.faq-spotlight__thumb {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
}

.faq-spotlight__thumb-face {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.faq-spotlight__thumb-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.faq-spotlight__panel--active {
  display: block;
}

.faq-spotlight__reveal-block {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-spotlight__reveal-block--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-spotlight__reveal-item {
  opacity: 0;
  transform: translate3d(0, 1rem, 0) scale(0.98);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-spotlight__reveal-item--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(1) {
  transition-delay: 0.05s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(2) {
  transition-delay: 0.1s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(3) {
  transition-delay: 0.15s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(4) {
  transition-delay: 0.2s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(5) {
  transition-delay: 0.25s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(6) {
  transition-delay: 0.3s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(7) {
  transition-delay: 0.35s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(8) {
  transition-delay: 0.4s;
}

.faq-spotlight__panel--enter .faq-spotlight__panel-inner {
  animation: faq-spotlight-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-spotlight-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-spotlight__reveal-block,
  .faq-spotlight__reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(n) {
    transition-delay: 0s;
  }

  .faq-spotlight__panel--enter .faq-spotlight__panel-inner {
    animation: none;
  }
}

