/* 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; }
}

/* process natgeo — accent line, large icon cells (no colors) */
.process-natgeo__accent-line {
    width: 2.5rem;
    flex-shrink: 0;
}
.process-natgeo__icon-cell {
    aspect-ratio: 1 / 1;
    width: 8rem;
    height: 8rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.process-natgeo__icons {
    min-width: 0;
}
.process-natgeo__icons > * {
    min-width: 0;
}
.process-natgeo__icon {
    font-size: 3rem !important;
    line-height: 0 !important;
    width: auto;
    height: auto;
    display: inline-block;
}
@media (min-width: 768px) {
    .process-natgeo__icon {
        font-size: 3.75rem !important;
    }
}

/* Grid + gap: @sem may obfuscate grid/gap */
.constellation-principles-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .constellation-principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Бейдж чуть выше, чем -top-6 (без top-0 в bs) */
.philosophy-v7-badge-decor {
    top: -2.25rem;
}

.philosophy-grid__icon {
    width: 4rem;
    height: 4rem;
}

.philosophy-grid__corner {
    width: 3rem;
    height: 3rem;
}

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

.content-details-leaf__summary {
    cursor: pointer;
}

.content-details-leaf__summary::marker {
    font-size: 0.85em;
}

.content-details-leaf__item[open] {
    transform: translateY(-0.0625rem);
}

.content-details-leaf__orb {
    width: 16rem;
    height: 16rem;
    filter: blur(4rem);
}

/* cta particles card — animated dot field */
.cta-particles-card__root {
  position: relative;
  overflow: hidden;
}

.cta-particles-card__particles {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle, var(--tw-primary-500, var(--bs-primary)) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: cta-particles-card__drift 20s linear infinite;
}

@keyframes cta-particles-card__drift {
  from { transform: translateY(0); }
  to { transform: translateY(100px); }
}

