.ayu-department-about {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 36px;
    padding: 64px 0 52px;
    background: #fff;
    color: #152640;
}
.ayu-department-about::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: none;
}
.ayu-department-about--animated::before {
    inset: -170px auto auto -150px;
    z-index: 0;
    width: 560px;
    height: 330px;
    border: 1px solid rgba(91, 111, 137, .18);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(13, 157, 155, .72) 1.6px, transparent 2px) 176px 214px / 18px 18px no-repeat;
}
.ayu-department-about--animated::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 24px;
    right: clamp(22px, 6vw, 100px);
    width: 190px;
    height: 145px;
    border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
    pointer-events: none;
    opacity: .58;
    background:
        radial-gradient(circle, #14aaa6 1.5px, transparent 2px) 0 0 / 18px 18px,
        #fff0f2;
    transform: rotate(9deg);
}
.ayu-department-about__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "gallery copy";
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
}
.ayu-department-about--animated .ayu-department-about__layout {
    position: relative;
    z-index: 1;
}
.ayu-department-about__copy { grid-area: copy; align-self: start; padding-top: 12px; }
.ayu-department-about .ayu-department-about__eyebrow {
    margin: 0 0 14px;
    color: #ba1530;
    font: 600 15px/1.5 "Segoe UI", Arial, sans-serif;
}
.ayu-department-about h2 {
    margin: 0 0 28px;
    color: #152640;
    font: 700 clamp(32px, 3vw, 48px)/1.18 "Segoe UI", Arial, sans-serif;
    text-align: left;
    text-transform: none;
    overflow-wrap: anywhere;
}
.ayu-department-about h2::before {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin-bottom: 24px;
    background: #ba1530;
}
.ayu-department-about__text {
    color: #536174;
    font: 400 17px/1.7 "Segoe UI", Arial, sans-serif;
    overflow-wrap: anywhere;
}
.ayu-department-about__text > :last-child { margin-bottom: 0; }
.ayu-department-about__text :where(p, li, blockquote, figcaption) { color: inherit; }
.ayu-department-about__text :where(h3, h4, h5, h6) { color: #152640; }
.ayu-department-about__text a { color: #ba1530; }
.ayu-department-about__text img { max-width: 100%; height: auto; }
.ayu-department-about__text table { display: block; max-width: 100%; overflow-x: auto; }
.ayu-department-about__gallery { grid-area: gallery; position: relative; min-width: 0; padding: 12px 0; }
.ayu-department-about__gallery::before,
.ayu-department-about__gallery::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100px;
    height: 100px;
    pointer-events: none;
    opacity: .22;
    background: radial-gradient(circle, #8fa7c7 1.5px, transparent 2px) 0 0 / 20px 20px;
}
.ayu-department-about__gallery::before { left: -42px; bottom: 62px; }
.ayu-department-about__gallery::after { right: -40px; top: -20px; }
.ayu-department-about__frame { position: relative; isolation: isolate; }
.ayu-department-about__frame::before,
.ayu-department-about__frame::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 20px;
    pointer-events: none;
}
.ayu-department-about__frame::before { top: -28px; left: -28px; width: 31%; height: 48%; background: rgba(186, 21, 48, .5); }
.ayu-department-about__frame::after { right: -22px; bottom: -24px; width: 28%; height: 28%; background: #334863; }
.ayu-department-about__main {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 26px;
    overflow: hidden;
    background: #edf0f4;
    cursor: zoom-in;
}
.ayu-department-about__main img { display: block; width: 100%; height: auto; aspect-ratio: 20/13; object-fit: cover; }
.ayu-department-about button:focus-visible { outline: 3px solid #ba1530; outline-offset: 4px; }
.ayu-department-about__dialog { max-width: 94vw; max-height: 94vh; padding: 46px 12px 12px; border: 0; border-radius: 12px; background: #fff; }
.ayu-department-about__dialog::backdrop { background: rgba(8, 20, 39, .85); }
.ayu-department-about__dialog img { display: block; max-width: 88vw; max-height: 78vh; object-fit: contain; }
.ayu-department-about__dialog button { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; background: #fff; color: #152640; font-size: 30px; }
@media (prefers-reduced-motion: no-preference) {
    .ayu-department-about.is-reveal-enabled .ayu-department-about__copy,
    .ayu-department-about.is-reveal-enabled .ayu-department-about__gallery {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity .6s ease, transform .6s ease;
    }
    .ayu-department-about.is-reveal-enabled .ayu-department-about__gallery { transform: translateX(-24px); }
    .ayu-department-about.is-visible .ayu-department-about__copy,
    .ayu-department-about.is-visible .ayu-department-about__gallery { opacity: 1; transform: none; }
    .ayu-department-about.is-visible .ayu-department-about__gallery { transition-delay: .1s; }

    .ayu-department-about--animated.is-reveal-enabled .ayu-department-about__copy,
    .ayu-department-about--animated.is-reveal-enabled .ayu-department-about__gallery {
        opacity: 0;
        transition: none;
    }
    .ayu-department-about--animated.is-reveal-enabled .ayu-department-about__copy {
        transform: translate3d(54px, 32px, 0) scale(.94);
    }
    .ayu-department-about--animated.is-reveal-enabled .ayu-department-about__gallery {
        transform: translate3d(-80px, 36px, 0) rotate(-4deg) scale(.78);
        transform-origin: 45% 65%;
    }
    .ayu-department-about--animated.is-reveal-enabled :where(.ayu-department-about__eyebrow, h2, .ayu-department-about__text) {
        opacity: 0;
        transform: translateY(24px);
    }
    .ayu-department-about--animated.is-visible .ayu-department-about__copy {
        animation: ayu-about-copy-pop .82s cubic-bezier(.2, .9, .24, 1.2) both;
    }
    .ayu-department-about--animated.is-visible .ayu-department-about__gallery {
        animation: ayu-about-gallery-spring 1.05s cubic-bezier(.16, 1, .3, 1) both;
    }
    .ayu-department-about--animated.is-visible .ayu-department-about__eyebrow {
        animation: ayu-about-line-up .55s .3s ease-out both;
    }
    .ayu-department-about--animated.is-visible h2 {
        animation: ayu-about-line-up .65s .38s cubic-bezier(.2, .8, .2, 1) both;
    }
    .ayu-department-about--animated.is-visible .ayu-department-about__text {
        animation: ayu-about-line-up .7s .5s cubic-bezier(.2, .8, .2, 1) both;
    }
    .ayu-department-about--animated .ayu-department-about__main::after {
        content: "";
        position: absolute;
        inset: -30% auto -30% -45%;
        width: 26%;
        pointer-events: none;
        opacity: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
        transform: skewX(-18deg);
    }
    .ayu-department-about--animated.is-visible .ayu-department-about__main::after {
        animation: ayu-about-shine 1s .72s ease-out both;
    }
    .ayu-department-about--animated.is-visible .ayu-department-about__frame::before {
        animation: ayu-about-accent-top .75s .28s cubic-bezier(.2, .9, .25, 1.3) both;
    }
    .ayu-department-about--animated.is-visible .ayu-department-about__frame::after {
        animation: ayu-about-accent-bottom .75s .38s cubic-bezier(.2, .9, .25, 1.3) both;
    }
}

@keyframes ayu-about-copy-pop {
    0% { opacity: 0; transform: translate3d(54px, 32px, 0) scale(.94); }
    72% { opacity: 1; transform: translate3d(-5px, -3px, 0) scale(1.012); }
    100% { opacity: 1; transform: none; }
}
@keyframes ayu-about-gallery-spring {
    0% { opacity: 0; transform: translate3d(-80px, 36px, 0) rotate(-4deg) scale(.78); }
    58% { opacity: 1; transform: translate3d(8px, -7px, 0) rotate(.8deg) scale(1.035); }
    78% { transform: translate3d(-3px, 2px, 0) rotate(-.25deg) scale(.99); }
    100% { opacity: 1; transform: none; }
}
@keyframes ayu-about-line-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}
@keyframes ayu-about-shine {
    0% { left: -45%; opacity: 0; }
    18% { opacity: .8; }
    100% { left: 120%; opacity: 0; }
}
@keyframes ayu-about-accent-top {
    0% { opacity: 0; transform: translate(34px, 28px) scale(.45); }
    100% { opacity: 1; transform: none; }
}
@keyframes ayu-about-accent-bottom {
    0% { opacity: 0; transform: translate(-30px, -24px) scale(.45); }
    100% { opacity: 1; transform: none; }
}
@media (max-width: 991px) {
    .ayu-department-about { margin-top: 28px; padding: 48px 0 36px; }
    .ayu-department-about__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "copy"; gap: 30px; }
    .ayu-department-about__main img { aspect-ratio: 20/13; }
    .ayu-department-about__frame::before { top: -16px; left: -14px; }
    .ayu-department-about__frame::after { right: -12px; bottom: -16px; }
    .ayu-department-about--animated::before { left: -310px; }
    .ayu-department-about--animated::after { right: -62px; width: 150px; height: 120px; }
}
