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

/* About v10 — tab visibility and active state (no palette in CSS) */

.guide-sq-8  { width: 2rem;   height: 2rem;   flex-shrink: 0; }
.guide-sq-12 { width: 3rem;   height: 3rem;   flex-shrink: 0; }
.guide-sq-16 { width: 4rem;   height: 4rem;   flex-shrink: 0; }
.guide-sq-20 { width: 5rem;   height: 5rem;   flex-shrink: 0; }

.guide-ab10-tab-panel.guide-ab10-tab-panel-hidden {
    display: none;
}

.guide-ab10-tab-btn.guide-ab10-tab-active {
    font-weight: 700;
    transform: translateY(-1px);
}

.guide-ab10-tab-btn.guide-ab10-tab-inactive {
    font-weight: 500;
    opacity: 0.9;
}

.content-flow-gap {
    gap: 4rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-body-frame {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-medium-height {
    display: block;
    width: 100%;
    height: 18rem;
    min-height: 18rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* image stagger — sm:translate-y-3 / sm:-translate-y-3 have no BS utility */
@media (min-width: 640px) {
    .content-stagger__img-up   { transform: translateY(0.75rem); }
    .content-stagger__img-down { transform: translateY(-0.75rem); }
}

/* dashed border — not a native BS utility */
.content-panel__dashed { border-style: dashed; }

/* decor line — fixed width to match w-16 */
.content-decor__line { width: 4rem; height: 0; display: block; }

/* CTA hover — transform/transition have no BS utility */
.content-cta__lift { transition: transform 150ms ease; }
.content-cta__lift:hover { transform: translateY(-2px); }


.briefing-chapter__bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.briefing-chapter__title-trail { margin-bottom: 2rem; }

.briefing-chapter__rule-trail {
    margin-bottom: 2rem;
    min-width: 6rem;
    height: 0.25rem;
}

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

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

.spotlight-feature-column__hero {
  min-height: 480px;
  flex: 3 1 0;
}

.spotlight-feature-column__rail {
  flex: 2 1 0;
}

.spotlight-feature-column__ornament {
  width: 2rem;
}

.spotlight-feature-column__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.spotlight-feature-column__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perks-media-bullets__thumb {
    width: 3.5rem;
    height: 3.5rem;
}

.perks-media-bullets__card {
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .perks-media-bullets__card:hover {
        transform: scale(1.05);
    }
}

/* subscribe v30 — SVG decor placement, sizing and drift: shared by both CSS frameworks, no colors */
.mailing-minimal-underline__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-sm {
    max-width: 24rem !important;
}

.mailing-minimal-underline__center {
    max-width: 28rem;
}

.mailing-minimal-underline__pattern {
    mask-image: radial-gradient(ellipse 72% 68% at 50% 46%, transparent 18%, black 92%);
}

.mailing-minimal-underline__corner {
    will-change: transform;
}

.mailing-minimal-underline__corner--tl {
    top: 2rem;
    inset-inline-start: 2rem;
    width: 6rem;
    height: 6rem;
    animation: mailing-minimal-underline-drift 9s ease-in-out infinite;
}

.mailing-minimal-underline__corner--br {
    bottom: 2.5rem;
    inset-inline-end: 2.5rem;
    width: 7rem;
    height: 7rem;
    animation: mailing-minimal-underline-drift 11s ease-in-out infinite reverse;
}

.mailing-minimal-underline__marks {
    top: 4rem;
    inset-inline-end: 4rem;
    width: 5rem;
    height: 5rem;
    animation: mailing-minimal-underline-drift 7s ease-in-out infinite;
    animation-delay: 1.2s;
}

.mailing-minimal-underline__title {
    font-size: 1.5rem;
}

.mailing-minimal-underline__subtitle {
    margin-bottom: 2.5rem;
}

.mailing-minimal-underline__form {
    gap: 2rem;
}

/* underline field: border geometry lives here so both frameworks draw the same rule */
.mailing-minimal-underline__input {
    border-width: 0 0 2px;
    border-style: solid;
    transition: border-color 150ms ease;
}

.mailing-minimal-underline__cta {
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    cursor: pointer;
    transition: color 150ms ease;
}

/* Accent on focus / hover. `:where()` keeps specificity at 0-1-0 so the framework's own
   utility wins wherever it exists (Tailwind), and this is the only rule in Bootstrap. */
:where(.mailing-minimal-underline__input):focus {
    border-color: var(--bs-primary);
    outline: none;
}

:where(.mailing-minimal-underline__cta):hover,
:where(.mailing-minimal-underline__cta):focus-visible {
    color: var(--bs-primary);
}

.mailing-minimal-underline__thanks {
    margin-top: 2rem;
}

.mailing-minimal-underline__thanks-title {
    font-size: 1.125rem;
}

@keyframes mailing-minimal-underline-drift {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0.35rem, -0.35rem);
    }
}

@media (min-width: 768px) {
    .mailing-minimal-underline__title {
        font-size: 2.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mailing-minimal-underline__corner--tl,
    .mailing-minimal-underline__corner--br,
    .mailing-minimal-underline__marks {
        animation: none;
    }
}

@media (max-width: 767px) {
    .mailing-minimal-underline__corner--tl,
    .mailing-minimal-underline__corner--br,
    .mailing-minimal-underline__marks {
        opacity: 0.55;
    }
}

.google-map-schedule__iframe {
    width: 100%;
    min-height: 420px;
}

/* iframe-normalized */
.google-map-schedule__iframe {
    width: 100%;
    max-width: 100%;
    height: 420px;
    min-height: 420px;
    display: block;
    border: 0;
    box-sizing: border-box;
    vertical-align: bottom;
}

@media (min-width: 768px) {
    .google-map-schedule__iframe {
        height: 600px;
        min-height: 600px;
    }
}


