/* Live overrides. The compiled stylesheet in public/build is unchanged until the next Vite build. */

.site-footer {
    background-color: #f4f6f2;
    background-image: linear-gradient(180deg, #f4f6f2 0%, #f4f6f2 42%, #d8f3e6 78%, #6ee7b7 100%);
    color: #1c1917;
}
html.dark .site-footer {
    background-color: #070d0b;
    background-image: linear-gradient(180deg, #070D0C 0%, #070d0b 25%, #0c3d30 62%, #059669 100%);
    color: #fff;
}
.footer-bar,
html.dark .footer-bar { border-top: 0; }
.footer-brand,
.footer-links a,
.footer-bar .site-shell { color: #1c1917; }
.footer-links a:hover { color: #1c1917; }
.footer-tagline { color: #44403c; }
html.dark .footer-brand,
html.dark .footer-tagline,
html.dark .footer-links a,
html.dark .footer-links a:hover,
html.dark .footer-bar .site-shell { color: #fff; }
.footer-label {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}
.footer-bar .site-shell {
    padding-block: 1.25rem;
    font-size: 1.05rem;
}

.marquee,
.marquee *,
.page-carousel,
.page-carousel * { touch-action: pan-y; }
.marquee .pcard,
.marquee .pcard *,
.page-carousel .pcard,
.page-carousel .pcard * {
    -webkit-user-drag: none;
    user-select: none;
}
.marquee .pcard__img,
.page-carousel .pcard__img { pointer-events: none; }
.marquee.is-dragging .pcard,
.page-carousel.is-dragging .pcard { pointer-events: none; }

.page-carousel { container-type: inline-size; }
.page-carousel__track {
    display: flex;
    gap: 0.9rem;
    width: max-content;
    transition: transform 1.15s cubic-bezier(0.4, 0, 0.15, 1);
}
.page-carousel__slide {
    flex: 0 0 auto;
    min-width: 0;
}
.page-carousel__slide > .pcard { height: 100%; }
.page-carousel__page {
    box-sizing: border-box;
    align-items: stretch;
    gap: 0.9rem;
    min-width: 0;
    max-width: 100cqw;
    flex: 0 0 100cqw;
    width: 100cqw;
}

.story-layout .story-cover,
.story-layout .story-feature .story-cover,
.story-layout .story-cover--side {
    width: 80%;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 0.9rem;
}
.story-layout .story-cover img,
.story-layout .story-feature .story-cover img,
.story-layout .story-cover--side img {
    height: 480px;
}
.story-layout .story-split { display: block; }
.story-feature__text {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    padding: 0;
    background: none;
    color: inherit;
}
.story-feature__text h1 { color: inherit; }

.story-side__title {
    position: sticky;
    top: 3.8rem;
    z-index: 40;
    padding-top: 0.55rem;
    padding-bottom: 0.45rem;
    background: #f4f6f2;
    box-shadow: 0 -1rem 0 0 #f4f6f2;
}
html.dark .story-side__title {
    background: #070d0b;
    box-shadow: 0 -1rem 0 0 #070d0b;
}
.story-side__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
}
.story-side__list > .pcard { flex: 0 0 auto; }
.pcard--row { grid-template-columns: 8.5rem minmax(0, 1fr); }
.pcard--row .pcard__media { min-height: 7.5rem; }
.pcard--row .pcard__excerpt {
    display: block;
    margin-top: 0.3rem;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}
.pcard--row .pcard__body { padding: 0.6rem 0.8rem 0.7rem; }
.pcard--row .pcard__title { font-size: 1.02rem; }

@media (min-width: 1100px) {
    .story-layout { grid-template-columns: minmax(0, 1fr) 31.5rem; }
    .story-side__title { top: 0; box-shadow: none; }
    .story-side__list {
        flex: 1 1 auto;
        min-height: 0;
        padding-right: 0.55rem;
        scrollbar-width: auto;
        scrollbar-color: #059669 #d1fae5;
    }
    .story-side__list::-webkit-scrollbar { width: 10px; }
    .story-side__list::-webkit-scrollbar-track { background: #d1fae5; border-radius: 999px; }
    .story-side__list::-webkit-scrollbar-thumb {
        background: #059669;
        border-radius: 999px;
        border: 2px solid #d1fae5;
    }
    .story-side__list::-webkit-scrollbar-thumb:hover { background: #047857; }
    html.dark .story-side__list { scrollbar-color: #34d399 #064e3b; }
    html.dark .story-side__list::-webkit-scrollbar-track { background: #064e3b; }
    html.dark .story-side__list::-webkit-scrollbar-thumb {
        background: #34d399;
        border-color: #064e3b;
    }
}

.story__copy .prose { --tw-prose-bullets: #059669; }
.story__copy .prose :where(ul > li)::marker { color: #059669; }
html.dark .story__copy .prose { --tw-prose-bullets: #34d399; }
html.dark .story__copy .prose :where(ul > li)::marker { color: #34d399; }

@media (max-width: 720px) {
    .story-layout .story-cover,
    .story-layout .story-feature .story-cover,
    .story-layout .story-cover--side {
        width: 100%;
        margin-right: 0;
    }
    .story-layout .story-cover img,
    .story-layout .story-feature .story-cover img,
    .story-layout .story-cover--side img {
        height: 240px;
    }
}
@media (max-width: 640px) {
    .home-block .pcard .pcard__media {
        height: 12rem;
        min-height: 12rem;
        max-height: 12rem;
        aspect-ratio: auto;
        flex: none;
    }
}

.section-hero .hero-shade {
    background: linear-gradient(#0000 0%, #00000080);
}
.section-hero__title { font-size: clamp(2.15rem, 4vw, 3.5rem); }
@media (max-width: 720px) {
    .section-hero > .relative {
        align-items: center;
        justify-content: center;
    }
    .section-hero__title { justify-content: center; }
}

.contact-page { padding-block: 2.25rem 4rem; }
.contact-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}
.contact-aside {
    padding: 1.6rem 1.5rem 1.4rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ecfdf5 0%, #f4f6f2 62%);
}
html.dark .contact-aside {
    background: linear-gradient(180deg, #0c3d30 0%, #070d0b 68%);
}
.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.contact-intro {
    margin-top: 0.85rem;
    max-width: 28rem;
    color: #44403c;
    font-size: 1.05rem;
    line-height: 1.6;
}
html.dark .contact-intro { color: #d6d3d1; }
.contact-kicker {
    margin-top: 1.4rem;
    color: #059669;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
html.dark .contact-kicker { color: #34d399; }
.contact-notes {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.75rem;
    padding: 0;
    list-style: none;
}
.contact-notes li {
    padding: 0.75rem 0.9rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    color: #1c1917;
    line-height: 1.45;
}
html.dark .contact-notes li {
    background: rgba(0, 0, 0, 0.28);
    color: #f5f5f4;
}
.contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.contact-chips a {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #fff;
    color: #065f46;
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}
.contact-chips a:hover { background: #059669; color: #fff; }
html.dark .contact-chips a {
    background: #064e3b;
    color: #d1fae5;
}
html.dark .contact-chips a:hover { background: #10b981; color: #052e16; }
.contact-main .mt-10 { margin-top: 0; }
@media (min-width: 960px) {
    .contact-layout {
        grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.25fr);
        gap: 2rem;
    }
    .contact-aside { position: sticky; top: 5.5rem; }
}
