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


.bodycopy-storyblock__cabin-stack-gap {
    gap: 4rem;
}

.bodycopy-storyblock__rail-stack-gap {
    gap: 4rem;
}

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

.content-grid-gap {
    gap: 2rem;
}

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

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

.content-cta__lift { transition: transform 150ms ease; }
.content-cta__lift:hover { transform: translateY(-2px); }

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-img-medium {
    display: block;
    width: 100%;
    height: 18rem;
    min-height: 18rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 768px) {
    .content-img-medium {
        height: 20rem;
        min-height: 20rem;
    }
}

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


.bodycopy-storyblock__icon-trail { margin-bottom: 2rem; }

.bodycopy-storyblock__title-trail { margin-bottom: 2rem; }

.bodycopy-storyblock__lead-trail { margin-bottom: 2rem; }

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

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

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

/* Layout only — colors stay in Blade / Tailwind / Bootstrap utilities */

.numbered-rail-list__body {
  min-width: 0;
}

.numbered-rail-list__decor {
  width: 4rem;
  flex-shrink: 0;
  text-align: center;
  user-select: none;
}

@media (min-width: 768px) {
  .numbered-rail-list__decor {
    width: 6rem;
  }
}

.numbered-rail-list__num {
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
}

@media (min-width: 768px) {
  .numbered-rail-list__num {
    font-size: 4.5rem;
  }
}

.numbered-rail-list__icon-tile {
  width: 4rem;
  height: 4rem;
}

.numbered-rail-list__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.perks-flex-center__thumb {
    width: 5rem;
    height: 5rem;
}

.perks-flex-center__tile,
.perks-flex-center__cta {
    transition: transform 0.2s ease;
}

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

    .perks-flex-center__cta:hover {
        transform: scale(1.05);
    }
}

/* subscribe v18 — geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.mailing-chat__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-lg {
    max-width: 32rem !important;
}

.mailing-chat__line {
    gap: 0.75rem;
}

.mailing-chat__avatar,
.mailing-chat__send {
    width: 2.5rem;
    height: 2.5rem;
}

.mailing-chat__bubble {
    max-width: 20rem;
    padding: 0.75rem 1rem;
}

.mailing-chat__bubble--bot {
    border-bottom-left-radius: 0.25rem;
}

.mailing-chat__bubble--reply {
    border-bottom-right-radius: 0.25rem;
}

.mailing-chat__author {
    font-size: 0.75rem;
}

.mailing-chat__input {
    min-width: 0;
}

.mailing-chat__composer {
    min-height: 3rem;
}

.mailing-chat__send--hover {
    transition: transform 0.2s ease;
}

.mailing-chat__send--hover:hover {
    transform: scale(1.05);
}

.mailing-chat__bubble-in {
    animation: mailing-chat-bubble-in 0.3s ease-out;
}

@keyframes mailing-chat-bubble-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mailing-chat__send--hover:hover {
        transform: none;
    }

    .mailing-chat__bubble-in {
        animation: none;
    }
}

.google-map-with-prominent-phone-and-email-cta-blocks__iframe { width: 100%; min-height: 400px; }
@media (min-width: 768px) { .google-map-with-prominent-phone-and-email-cta-blocks__iframe { min-height: 600px; } }

/* iframe-normalized */
.google-map-with-prominent-phone-and-email-cta-blocks__iframe {
    width: 100%;
    max-width: 100%;
    height: 400px;
    min-height: 400px;
    display: block;
    border: 0;
    box-sizing: border-box;
    vertical-align: bottom;
}

@media (min-width: 768px) {
    .google-map-with-prominent-phone-and-email-cta-blocks__iframe {
        height: 600px;
        min-height: 600px;
    }
}


