/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

.classic-rail-timeline__line {
    width: 2px;
    left: 2rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.classic-rail-timeline__dot {
    width: 1rem;
    height: 1rem;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .classic-rail-timeline__dot {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.classic-rail-timeline__content {
    margin-left: 5rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__content {
        margin-left: 0;
        width: 50%;
    }

    .classic-rail-timeline__content--start {
        padding-right: 2.5rem;
    }

    .classic-rail-timeline__content--end {
        padding-left: 2.5rem;
    }

    .classic-rail-timeline__row--reverse {
        flex-direction: row-reverse;
    }
}


.prose-bodycopy__bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.prose-bodycopy__title-trail { margin-bottom: 2rem; }

.prose-bodycopy__rule-trail { margin-bottom: 3rem; }

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* v27 - folded paper corner (clip-path fold has no TW/BS utility) */
[data-fold-card] {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 1.25rem 100%, 0 calc(100% - 1.25rem));
    transition: clip-path 200ms ease;
}

[data-fold-card]:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0.5rem 100%, 0 calc(100% - 0.5rem));
}

/* Stack: как grid grid-cols-1 gap-lg (1.5rem в типичной шкале) */
.vertical-manifesto-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

/* Строка карточки: flex + gap-6 + items-start — то же, что tw flex flex-row items-start gap-6 */
.philosophy-v6-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
}

/* Как absolute -top-6 у бейджа в оригинале */
.philosophy-v6-badge-wrap {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: -1.5rem;
}

.philosophy-v6-box {
    flex: 1;
    min-width: 0;
}

/* Круг как в Bootstrap + фикс «вытянутой» капсулы во flex */
.philosophy-vertical__badge {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    aspect-ratio: 1;
    box-sizing: border-box;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* faq v24 — luxe slide stage (click nav) */
.luxe-slides__stage {
  min-height: 100vh;
  min-height: 100dvh;
}

.luxe-slides__bg-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.luxe-slides__slide.is-active {
  animation: luxe-slide-fade-in 400ms ease;
}

.luxe-slides__slide.hidden {
  display: none !important;
}

@keyframes luxe-slide-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.luxe-slides__rule {
  width: 1px;
}

.luxe-slides__rule--tall {
  height: 3rem;
}

@media (min-width: 768px) {
  .luxe-slides__rule--tall {
    height: 4rem;
  }
}

.luxe-slides__eyebrow {
  letter-spacing: 0.35em;
}

.luxe-slides__headline {
  max-width: 56rem;
}

.luxe-slides__lead {
  max-width: 42rem;
}

.luxe-slides__section-title {
  width: 100%;
}

/* Sidebar: round only the inner (right) edge */
.luxe-slides__nav-panel {
  height: 100%;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.luxe-slides__step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  outline-offset: 2px;
}

.luxe-slides__step-num {
  opacity: 0.7;
  font-size: 1.125rem;
  font-weight: 400;
  transition: opacity 250ms ease, font-size 250ms ease, font-weight 250ms ease;
}

.luxe-slides__step.is-active .luxe-slides__step-num {
  opacity: 1;
  font-size: 1.5rem;
  font-weight: 700;
}

.luxe-slides__step-mark {
  width: 2px;
  height: 2.5rem;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 250ms ease;
}

@media (min-width: 768px) {
  .luxe-slides__step-mark {
    height: 3rem;
  }
}

.luxe-slides__step.is-active .luxe-slides__step-mark {
  opacity: 1;
}

