/* Desktop density only: keep existing mobile layouts and touch targets. */
@media (min-width: 981px) {
    .ee-site-main {
        --ee-shell: 1000px;
        --ee-reading: 780px;
    }

    .ee-site-main .ee-photo-page { --ee-photo-shell: var(--ee-shell); }

    .ee-photobooth-tunnel-page .ee-site-main .ee-entry__content > :is(
        .ee-photo-choice, .ee-photo-information, .ee-photo-decor,
        .ee-photo-accessories, .ee-photo-summary, .ee-photo-confirmation
    ) {
        width: min(var(--ee-shell), calc(100% - 40px)) !important;
        max-width: var(--ee-shell) !important;
    }

    /* Pure reading pages are narrower than product grids and working tools. */
    .ee-site-main .ee-page-shell:not(:has(.ee-photo-choice, .ee-photo-information, .ee-photo-decor, .ee-photo-accessories, .ee-photo-summary, .ee-photo-confirmation)) {
        max-width: var(--ee-reading) !important;
        padding-block: 44px 56px;
    }

    .ee-site-main .ee-creation-page .ee-creation-inner {
        max-width: var(--ee-reading) !important;
    }

    .ee-site-main .ee-creation-page .ee-creation-inner:has(> .ee-creation-feature),
    .ee-site-main .ee-creation-page .ee-creation-hero-inner {
        max-width: var(--ee-shell) !important;
    }

    .ee-site-main .ee-guide-section.is-layout-constrained > :is(h2, p:not(.ee-guide-kicker)),
    .ee-site-main .ee-guide-section > :is(h2, .ee-guide-lead),
    .ee-site-main .ee-home-section > .alignwide > :is(h2, p:not(.ee-home-eyebrow)),
    .ee-site-main .ee-photo-page .ee-photo-section > :is(h2, p:not(.ee-photo-eyebrow)) {
        max-width: var(--ee-reading) !important;
    }

    /* Compact section headings, not headings inside individual cards. */
    .ee-site-main .ee-guide-section > h2,
    .ee-site-main .ee-home-section h2,
    .ee-site-main .ee-home-custom h2,
    .ee-site-main .ee-home-final h2,
    .ee-site-main .ee-photo-page .ee-photo-section h2,
    .ee-site-main .ee-photo-page .ee-partyfi-story h2,
    .ee-site-main .ee-photo-page .ee-photo-final h2,
    .ee-site-main .ee-creation-page h2 {
        font-size: 30px;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .ee-site-main .ee-home-hero.ee-home-hero--v2 h1,
    .ee-site-main .ee-catalogue-guide__hero h1,
    .ee-site-main .ee-animations-intro h1,
    .ee-site-main .ee-animation-guide__hero h1,
    .ee-site-main .ee-photo-page .ee-photo-hero h1,
    .ee-site-main .ee-creation-page .ee-creation-hero h1,
    .ee-site-main .ee-entry__header h1,
    .ee-site-main .ee-product-hero h1 {
        font-size: 42px;
        line-height: 1.15;
    }

    .ee-site-main :is(.ee-photo-choice, .ee-photo-information, .ee-photo-decor, .ee-photo-accessories, .ee-photo-summary, .ee-photo-confirmation) h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .ee-site-main .ee-guide-section > p:not(.ee-guide-kicker):not(.ee-guide-lead),
    .ee-site-main .ee-creation-page p,
    .ee-site-main .ee-creation-page .ee-creation-process li {
        font-size: 16px;
        line-height: 1.7;
    }

    .ee-site-main .ee-guide-section .ee-guide-lead,
    .ee-site-main .ee-catalogue-guide__intro,
    .ee-site-main .ee-home-section__intro,
    .ee-site-main .ee-home-pathways > .alignwide > p:not(.ee-home-eyebrow),
    .ee-site-main .ee-photo-page .ee-photo-section__lead,
    .ee-site-main .ee-creation-page .ee-creation-lead {
        font-size: 18px;
        line-height: 1.6;
    }

    .ee-site-main .ee-home-hero__lead,
    .ee-site-main .ee-photo-page .ee-photo-hero .ee-photo-hero__lead,
    .ee-site-main .ee-creation-page .ee-creation-hero-promise {
        font-size: 21px;
        line-height: 1.45;
    }

    .ee-site-main .ee-creation-page .ee-creation-kicker { font-size: 14px; margin-bottom: 12px; }
    .ee-site-main .ee-creation-page .ee-creation-jump-links { gap: 8px 24px; margin-top: 22px; }
    .ee-site-main .ee-creation-page .ee-creation-jump-links li { font-size: 15px; }
    .ee-site-main .ee-creation-page .ee-creation-prose { margin-top: 22px; }
    .ee-site-main .ee-creation-page p + p { margin-top: 18px; }
    .ee-site-main .ee-creation-page h2 + p { margin-top: 18px; }
    .ee-site-main .ee-creation-page .ee-creation-feature { gap: 40px; }
    .ee-site-main .ee-creation-page .ee-creation-feature img { max-height: 440px; }
    .ee-site-main .ee-creation-page .ee-creation-process { margin-top: 24px; }
    .ee-site-main .ee-creation-page .ee-creation-process li + li { margin-top: 18px; }
    .ee-site-main .ee-creation-page .wp-block-button__link { font-size: 16px; }

    /* Reduce empty vertical space as well as width, without scaling the page. */
    .ee-site-main .ee-home-section,
    .ee-site-main .ee-photo-page .ee-photo-section,
    .ee-site-main .ee-creation-page .ee-creation-band,
    .ee-site-main .ee-guide-section {
        padding-block: 48px;
    }

    .ee-site-main .ee-home-hero.ee-home-hero--v2,
    .ee-site-main .ee-creation-page .ee-creation-hero {
        min-height: 480px;
        padding-block: 48px;
    }

    .ee-site-main .ee-photo-page .ee-photo-hero {
        min-height: 540px;
        padding-block: 64px 48px;
    }

    .ee-site-main .ee-catalogue-guide__hero { min-height: 0; padding-block: 56px 40px; }
    .ee-site-main .ee-animations-intro { min-height: 0; }
    .ee-site-main .ee-animations-intro .ee-product-shell { padding-block: 48px; }
    .ee-site-main .ee-animation-guide__hero .ee-product-shell { padding-block: 44px; }
    .ee-site-main .ee-guide-process { padding-block: 40px; }

    .ee-site-main .ee-front-page .ee-home-pathway-card .ee-home-pathway-card__body { padding: 20px; }
    .ee-site-main .ee-front-page .ee-home-pathway-card__body > h3 { font-size: 23px; }
    .ee-site-main .ee-front-page .ee-home-pathway-card__body > p:not(.ee-home-pathway-card__tag):not(.ee-home-pathway-card__link) { font-size: 16px; }
    .ee-site-main .ee-home-family-card__body { padding: 18px; }
    .ee-site-main .ee-home-family-card__body strong { font-size: 21px; }

    .ee-site-main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) details > summary {
        min-height: 72px;
        padding-block: 16px;
        font-size: 16px;
    }

    /* The accessory toolbar's old fixed tracks need more than 1000 px. */
    .ee-site-main .ee-accessory-summary {
        width: 100%;
        align-self: stretch;
        grid-template-columns: minmax(120px, .6fr) minmax(180px, 1fr) minmax(150px, .7fr) minmax(210px, .9fr);
        gap: 16px;
        padding-inline: 20px;
    }

    .ee-site-main .ee-accessory-summary h2,
    .ee-site-main .ee-photo-choice-summary h2,
    .ee-site-main .ee-summary-total h2 {
        font-size: 22px;
        line-height: 1.25;
    }

    .ee-site-main .ee-photo-summary__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
    .ee-site-main .ee-product-content-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
}
