:root {
    --bg: #eef4fb;
    --bg-soft: #ffffff;
    --surface: rgba(255, 255, 255, 0.68);
    --surface-strong: #101825;
    --text: #111827;
    --text-muted: rgba(17, 24, 39, 0.72);
    --line: rgba(50, 66, 98, 0.14);
    --accent: #6c7fb0;
    --accent-strong: #ffffff;
    --shadow: 0 24px 70px rgba(97, 116, 148, 0.18);
}

body {
    background:
        radial-gradient(circle at 10% 10%, rgba(111, 140, 202, 0.18), transparent 24%),
        radial-gradient(circle at 84% 12%, rgba(255, 205, 153, 0.28), transparent 22%),
        linear-gradient(180deg, #f7fbff 0%, #edf3fa 40%, #f7f1e8 100%);
    color: var(--text);
}

.site-header {
    color: #f8fbff;
}

.desktop-nav {
    color: rgba(248, 251, 255, 0.8);
}

.site-header.is-scrolled {
    background: rgba(247, 251, 255, 0.72);
    border-bottom-color: rgba(50, 66, 98, 0.08);
    color: var(--text);
}

.site-header.is-scrolled .brand-mark,
.site-header.is-scrolled .desktop-nav a {
    color: inherit;
}

.site-header.is-scrolled .brand-accent {
    color: var(--accent);
}

.site-header.is-scrolled .desktop-nav {
    color: var(--text-muted);
}

.site-header.is-scrolled .menu-toggle span {
    background: var(--surface-strong);
}

.menu-toggle {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 255, 0.9));
    color: var(--text);
}

.hero {
    background:
        radial-gradient(circle at 18% 18%, rgba(112, 143, 206, 0.34), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(255, 201, 142, 0.34), transparent 24%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: auto;
    z-index: 0;
    pointer-events: none;
    filter: blur(18px);
}

.hero::before {
    top: 16%;
    left: 6%;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(154, 185, 246, 0.22);
}

.hero::after {
    right: 8%;
    bottom: 14%;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: rgba(255, 215, 167, 0.22);
}

.hero-media picture,
.hero-media img {
    width: 100%;
    height: 100%;
}

.hero-media img {
    transform: scale(1.03);
    object-position: center 30%;
}

.hero-overlay {
    background:
        linear-gradient(95deg, rgba(250, 253, 255, 0.16) 0%, rgba(73, 95, 129, 0.2) 30%, rgba(12, 19, 30, 0.42) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(10, 16, 26, 0.08) 45%, rgba(10, 16, 26, 0.34) 100%);
}

.hero-grid {
    z-index: 2;
    align-content: end;
    grid-template-columns: minmax(0, 780px);
    gap: 14px;
    padding-bottom: 46px;
}

.hero-copy {
    max-width: 760px;
    padding: 0;
    border: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    color: #f7fbff;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
    list-style: none;
}

.hero-stats li {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(5, 10, 16, 0.16);
    backdrop-filter: blur(3px);
}

.hero-stats strong {
    color: #ffffff;
    font-size: 1.02rem;
    line-height: 1.1;
}

.hero-stats span {
    color: rgba(247, 250, 255, 0.82);
    font-size: 0.84rem;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-text {
    color: #f8fbff;
    text-shadow: 0 4px 22px rgba(5, 10, 16, 0.48);
}

.hero-copy .hero-text {
    max-width: 40rem;
    color: rgba(244, 249, 255, 0.92);
}

.section-lead,
.intro-copy p + p,
.detail-copy p + p,
.contact-copy p + p {
    margin-top: 14px;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.02rem;
}

.intro-copy {
    display: grid;
    gap: 0;
}

.intro-points {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    list-style: none;
}

.intro-points li {
    padding: 12px 16px;
    border: 1px solid rgba(50, 66, 98, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 10px 30px rgba(123, 140, 173, 0.08);
}

.intro-figure,
.story-band__lead,
.story-band__tail,
.detail-visual {
    box-shadow: var(--shadow);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: 24px;
    align-items: stretch;
}

.detail-copy {
    display: grid;
    align-content: start;
    gap: 0;
    padding: 30px;
    border: 1px solid rgba(50, 66, 98, 0.12);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 249, 255, 0.66));
    box-shadow: var(--shadow);
    color: var(--text-muted);
}

.detail-visuals {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    min-height: 100%;
}

.detail-visual {
    overflow: hidden;
    border-radius: 24px;
}

.detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-visual--primary {
    grid-column: 1 / span 6;
    min-height: 250px;
}

.detail-visual--secondary {
    grid-column: 3 / span 4;
    min-height: 210px;
}

.detail-flow {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    list-style: none;
}

.detail-flow li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(50, 66, 98, 0.11);
    background: rgba(255, 255, 255, 0.58);
}

.flow-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(108, 127, 176, 0.15);
    color: #3d4f77;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.detail-flow h3 {
    margin-bottom: 4px;
    color: #1d2a43;
    font-size: 1.02rem;
}

.detail-flow p {
    font-size: 0.95rem;
}

.gallery-item,
.story-band__copy {
    background: rgba(255, 255, 255, 0.48);
}

.story-band__copy {
    padding: 24px;
    border: 1px solid rgba(50, 66, 98, 0.1);
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(123, 140, 173, 0.08);
}

.gallery-item::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 24%, rgba(22, 29, 44, 0.68) 100%);
}

.contact-layout {
    padding-top: 24px;
}

.contact-copy {
    padding: 26px 28px;
    border: 1px solid rgba(50, 66, 98, 0.1);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 241, 232, 0.66));
    box-shadow: var(--shadow);
}

.contact-details {
    padding: 26px 28px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(108, 127, 176, 0.12), rgba(255, 207, 156, 0.24));
    border: 1px solid rgba(50, 66, 98, 0.1);
    box-shadow: var(--shadow);
}

@media (max-width: 980px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-visuals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-visual--primary,
    .detail-visual--secondary {
        grid-column: auto;
        min-height: 220px;
    }
}

@media (max-width: 720px) {
    .hero-media img {
        object-position: center 28%;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(112, 133, 170, 0.1) 22%, rgba(20, 28, 44, 0.2) 48%, rgba(18, 24, 39, 0.72) 100%);
    }

    .hero-grid {
        align-content: end;
        padding-top: 108px;
        padding-bottom: 20px;
        gap: 12px;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-stats {
        gap: 8px;
        margin-top: 16px;
    }

    .hero-stats li {
        padding: 8px 10px;
    }

    h1 {
        font-size: clamp(1.9rem, 9.4vw, 3.2rem);
        line-height: 1.1;
    }

    .detail-copy,
    .contact-copy,
    .contact-details,
    .story-band__copy {
        padding: 20px 18px;
    }

    .detail-flow {
        margin-top: 16px;
    }

    .detail-flow li {
        padding: 11px 12px;
    }

    .detail-flow h3 {
        font-size: 0.98rem;
    }

    .detail-flow p {
        font-size: 0.91rem;
    }

    .detail-visuals {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detail-visual--primary,
    .detail-visual--secondary {
        min-height: 210px;
    }
}
