/* ============================================================
   ABOUT PAGE
   ============================================================ */

.lmibc-about-page { overflow-x: hidden; }

.lmibc-cmx-teaser--about .lmibc-cmx-teaser__link { padding-left: 1em; }
.lmibc-blog-teaser__text .lmibc-cmx-teaser__link { padding-left: 1.5em; }

/* ===================== RACCOON WORLD WRAPPER ===================== */
.ab-raccoon-world {
    margin: 0 20px 60px;
    border: 20px solid transparent;
    border-top: 0;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E") center / 200px border-box,
        #3B6E8F border-box;
    position: relative;
}
.ab-raccoon-world__curtain {
    line-height: 0;
    margin: 0 -20px; /* flush with border edges */
    position: relative;
}
.ab-raccoon-world__curtain svg {
    width: 100%;
    display: block;
}
.ab-raccoon-world__curtain::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E") center / 200px;
    mix-blend-mode: screen;
    opacity: 0.2;
    pointer-events: none;
}
/* Mobile-only title above the wrapper */
.ab-raccoon-world__title-mobile {
    display: none;
}

/* Title sits inside the solid blue band at the top of the SVG */
.ab-raccoon-world__title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit !important;
    color: #ffffff !important;
    flex-direction: column;
    gap: 2px;
    margin: 0 !important;
    padding: 0 20px !important;
    pointer-events: none;
}
.ab-raccoon-world__title-top  { font-size: clamp(0.85rem, 1.2vw, 1.1rem); line-height: 1.2; }
.ab-raccoon-world__title-main { font-size: clamp(1.2rem, 2vw, 1.8rem);   line-height: 1.2; }
.ab-raccoon-world__divider {
    width: 30%;
    height: 1.5px;
    background: #3B6E8F;
    margin: 80px auto;
    opacity: 0.3;
}

/* Comics teaser on about page — white background */
.lmibc-about-page .lmibc-cmx-teaser { background: var(--white); }

/* Comics teaser image — transparent PNG, no card treatment */
.lmibc-about-page .lmibc-cmx-teaser__image-panel { background: transparent; }
.lmibc-about-page .lmibc-cmx-teaser__cover {
    border-radius: 0;
    box-shadow: none;
    border: none;
    object-fit: contain;
    aspect-ratio: auto;
    width: min(320px, 90%);
    transform: none;
    transition: none;
}
.lmibc-about-page .lmibc-cmx-teaser__cover:hover {
    transform: none;
    box-shadow: none;
}

.ab-body p { margin-bottom: 1em; }
.ab-body p:last-child { margin-bottom: 0; }

.ab-section { padding: 90px 0; }

/* ---------- shared two-col (blog) ---------- */
.ab-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.ab-col-image img {
    width: 100%;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    display: block;
}


/* ===================== HERO ===================== */
.ab-hero {
    background: var(--sky);
    min-height: 60vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 0 80px;
    overflow: hidden;
}
.ab-hero__inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: center;
}
.ab-hero__photo {
    display: flex;
    justify-content: flex-start;
}
.ab-hero__photo img {
    width: 390px;
    height: 390px;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 55%;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,0.7);
    box-shadow: var(--shadow-card);
    display: block;
    animation: ab-blob-morph 8s ease-in-out infinite;
}
@keyframes ab-blob-morph {
    0%   { border-radius: 60% 40% 55% 45% / 50% 60% 40% 55%; }
    33%  { border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
    66%  { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
    100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 55%; }
}
.ab-hero__text h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 12px;
}
.ab-hero__sub {
    font-size: 1.05rem;
    color: var(--ink-mid);
    line-height: 1.6;
}
.ab-hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}
.ab-hero__wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================== FULL-BLEED SPLIT ===================== */
.ab-split {
    display: grid;
    grid-template-columns: 60fr 40fr;
    min-height: 340px;
    margin-top: 3em;
}
.ab-split__text {
    background: var(--peach);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 56px 40px 40px;
}
.ab-split__text-inner {
    padding-left: 55px;
}
.ab-split__text-inner h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 20px;
    line-height: 1.2;
}
.ab-split__image {
    overflow: hidden;
}
.ab-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================== STATS ===================== */
.ab-stats {
    padding: 28px 0;
    background: var(--white);
    position: relative;
    margin-top: 3em;
}
.ab-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 15px;
    background: var(--lavender);
}
.ab-stats::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 10px;
    background: var(--amber);
}
.ab-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: center;
    text-align: center;
}
.ab-stat__divider { display: none; }
.ab-stat {
    padding: 40px 28px;
    border-right: 1px solid rgba(0,0,0,0.08);
}
.ab-stat:last-child { border-right: none; }
.ab-stat__number {
    display: block;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 10px;
}
/* nth-child counts all DOM siblings incl. hidden dividers: stats are at positions 1, 3, 5 */
.ab-stat:nth-child(1) .ab-stat__number { color: var(--amber-dark); }
.ab-stat:nth-child(3) .ab-stat__number { color: var(--sage-dark); }
.ab-stat:nth-child(5) .ab-stat__number { color: var(--lavender-dark); }
.ab-stat__label {
    font-size: 0.9rem;
    color: var(--ink-mid);
    line-height: 1.4;
}

/* ===================== CREATIVE TWO-PANEL ===================== */
.ab-creative { background: var(--offwhite); }

.ab-creative__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.ab-creative__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.ab-creative__cell {
    aspect-ratio: 1;
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    transition: transform 0.2s ease;
}
.ab-creative__cell:hover { transform: scale(1.04); }

.ab-creative__text h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 20px;
    line-height: 1.2;
}
.ab-creative__text .ab-body { margin-bottom: 20px; }



/* ===================== BLOG ===================== */
.ab-blog { background: var(--sage-light); }
.lmibc-coming-soon, .ab-coming-soon {
    display: inline-block;
    background: var(--butter);
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    margin-top: 16px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
    .ab-split { grid-template-columns: 1fr; }
    .ab-split__text {
        justify-content: flex-start;
        padding: 60px 40px;
    }
    .ab-split__text-inner { max-width: 100%; padding-left: 0; }
    .ab-split__image { min-height: 340px; }
}
@media (max-width: 768px) {
    .ab-raccoon-world__title-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
        padding: 24px 20px 16px;
        color: #3B6E8F;
    }
    .ab-raccoon-world__title-mobile .ab-raccoon-world__title-top  { font-size: 1rem; line-height: 1.2; }
    .ab-raccoon-world__title-mobile .ab-raccoon-world__title-main { font-size: 1.6rem; line-height: 1.2; }
    .ab-raccoon-world__title { display: none; }
    .ab-hero {
        min-height: auto;
        padding: 48px 0 72px;
    }
    .ab-hero .lmibc-container {
        max-width: 100%;
    }
    .ab-hero__inner,
    .ab-two-col {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .ab-hero__photo { justify-content: center; }
    .ab-hero__photo img { width: 280px; height: 280px; }
    .ab-stats__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ab-creative__inner { grid-template-columns: 1fr; }
    .ab-creative__grid { max-width: 360px; margin: 0 auto; }
}


