.page-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 48px;
    overflow: hidden;
}

.page-hero {
    margin: 0 0 24px;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 72px 24px 56px;
    background: var(--paper);
    color: var(--ink);
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.page-hero .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    align-items: center;
    gap: 48px;
    max-width: 1120px;
    width: min(100%, 1120px);
    min-width: 0;
}

.page-hero .hero-copy {
    max-width: 680px;
    margin: 0;
    text-align: left;
}

.page-hero h1 {
    color: var(--ink);
}

.page-hero p,
.page-hero .section-copy {
    color: var(--muted);
    margin-left: 0;
    margin-right: 0;
}

.page-hero-media {
    width: 100%;
    max-width: 420px;
    justify-self: end;
}

.page-hero-media img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-lg, 24px);
    box-shadow: var(--shadow-soft);
}

.page-hero + .content-panel {
    padding-top: 0;
}

.page-shell .content-panel {
    background: var(--paper);
}

.page-shell .content-panel > .section,
.page-shell .content-panel > .cta,
.page-shell .content-panel > .split-section,
.page-shell .content-panel > .showcase {
    margin: 0;
}

.page-shell .content-panel > .section:last-child,
.page-shell .content-panel > .cta:last-child,
.page-shell .content-panel > .split-section:last-child,
.page-shell .content-panel > .showcase:last-child {
    margin-bottom: 0;
}

.page-content > .page-item {
    padding: 24px 20px 0;
    border-bottom: 0;
}

.page-content > .page-item .about-block {
    margin-bottom: 24px;
    text-align: left;
}

.page-content > .page-item .about-block-copy {
    align-items: flex-start;
    width: 100%;
    min-width: 0;
}

.page-content .about-block-media,
.page-content .about-block-media img,
.page-content .about-block-copy {
    min-width: 0;
    max-width: 100%;
}

.page-item-button {
    margin-top: 16px;
    align-self: flex-start;
    width: fit-content;
}

:root[data-theme="dark"] .page-content .about-cta {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #17121f;
}

:root[data-theme="dark"] .page-content .about-cta:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}

.page-detail-item .about-block {
    padding: 24px 30px;
    margin-bottom: 0;
}

.page-item-label {
    display: block;
    margin-bottom: 12px;
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-detail-item .about-copy {
    max-width: 820px;
    font-size: 1rem;
    line-height: 1.7;
}

.page-content .section-copy,
.page-content .about-copy,
.page-content p {
    overflow-wrap: anywhere;
    word-break: normal;
}

.page-content > .page-item:last-child .about-block {
    margin-bottom: 0;
}

.page-shell .section-text {
    padding: 56px 24px;
}

.page-shell .section-text .section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-shell .section-title {
    margin-bottom: 18px;
    color: var(--ink);
}

.page-shell .section-copy {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.8;
}

.page-shell .section-media {
    max-width: 820px;
    margin: 28px 0 24px;
}

.page-shell .section-media img {
    display: block;
    max-height: 360px;
    border-radius: var(--radius-md, 18px);
}

.page-shell .cta {
    padding: 64px 24px;
    background: var(--paper);
}

.page-shell .cta-inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-shell .cta h2 {
    color: var(--ink);
    margin-bottom: 12px;
}

.page-shell .cta p {
    max-width: 680px;
    color: var(--muted);
    line-height: 1.8;
}

.page-shell .split-section {
    padding: 64px 24px;
    background: var(--paper);
}

.page-shell .split-inner {
    max-width: 1120px;
    margin: 0 auto;
    width: min(100%, 1120px);
}

.page-shell .split-copy h2,
.page-shell .split-copy p {
    color: var(--ink);
}

.page-shell .split-copy p {
    color: var(--muted);
    line-height: 1.8;
}

.page-shell .showcase {
    padding-top: 64px;
    padding-bottom: 64px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 12px;
}

.page-hero p {
    max-width: 760px;
    color: var(--muted, #9ca3af);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .page-hero .hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .page-hero .hero-copy {
        max-width: 100%;
    }
}

.page-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.35);
}

.page-section h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.page-section p,
.page-section li {
    color: var(--muted, #9ca3af);
    line-height: 1.8;
}

.page-section .pill-button {
    margin-top: 16px;
    display: inline-flex;
}

.page-section--hero {
    background: rgba(255,255,255,0.04);
}

.page-section--cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.page-card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-blue);
}

.page-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.page-section[data-reveal],
.section[data-reveal],
.cta[data-reveal],
.split-section[data-reveal],
.showcase[data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.page-section[data-reveal].is-visible,
.section[data-reveal].is-visible,
.cta[data-reveal].is-visible,
.split-section[data-reveal].is-visible,
.showcase[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-media {
    margin: 22px 0 18px;
}

.section-media img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 45px -24px rgba(0, 0, 0, 0.35);
}

.section-media--compact img {
    max-height: 220px;
}

.hero-visual-image {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 720px) {
    .page-shell {
        padding: 0 0 32px;
    }

    .page-hero {
        margin-bottom: 16px;
        padding: 56px 20px 40px;
    }

    .page-hero .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        width: 100%;
    }

    .page-content > .page-item .about-block {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 22px 20px;
    }

    .page-content > .page-item {
        padding: 22px 16px 0;
    }

    .page-content > .page-item .about-block.has-image {
        flex-direction: column;
    }

    .page-content > .page-item .about-block-media {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .page-content > .page-item .about-image {
        height: auto;
        max-height: 240px;
        aspect-ratio: 16 / 10;
    }

    .page-detail-item .about-block {
        padding: 28px 22px;
    }

    .page-detail-item .about-block-copy {
        justify-content: flex-start;
    }

    .page-hero-media {
        max-width: none;
        justify-self: stretch;
    }

    .page-hero-media img {
        height: 220px;
    }

    .page-shell .section-text,
    .page-shell .cta,
    .page-shell .split-section {
        padding: 40px 20px;
    }

    .page-section {
        padding: 22px;
        border-radius: 18px;
    }

    .page-section--cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
