/* Variasi komposisi bisnis. Aturan responsif ada di bagian akhir. */
.theme-classroom .hero-art {
    transform: rotate(-2deg);
}

.theme-classroom .hero-art > img {
    border: 1px solid var(--accent);
    box-shadow: 10px 10px 0 var(--pale);
}

.theme-ember .hero {
    background: #2e241f;
    color: #fff8ee;
}

.theme-ember .hero .eyebrow, .theme-ember .hero em {
    color: #f3c88d;
}

.theme-ember .hero-intro, .theme-ember .hero-note,
.theme-ember .hero-art figcaption {
    color: #e3d2c4;
}

.theme-ember .hero .button-outline {
    border-color: #f3c88d;
    color: #f3c88d;
}

.theme-ember .hero .button:not(.button-outline) {
    background: #f3c88d;
    border-color: #f3c88d;
    color: #2e241f;
}

.theme-ember h1, .theme-ember h2 {
    font-weight: 800;
    letter-spacing: -0.055em;
}

.theme-home .hero-art > img {
    border-radius: 48% 48% 12px 12px;
}

.theme-home .product {
    border: 0;
    background: transparent;
}

.theme-home .product-body {
    padding-inline: 4px;
}

.theme-home .product-image {
    border-radius: 12px;
}

.theme-coffee .hero {
    background: #f1e3cf;
}

.theme-coffee .hero-copy {
    order: 2;
}

.theme-coffee .hero-art {
    order: 1;
}

.theme-coffee .hero-art > img {
    border-radius: 160px 160px 12px 12px;
}

.theme-studio h1, .theme-studio h2 {
    font-weight: 750;
}

.theme-studio .hero-art > img {
    border-radius: 0;
    box-shadow: 16px 16px 0 var(--accent);
}

.theme-studio .category-strip {
    background: var(--ink);
    border-color: var(--ink);
}

.theme-studio .strip-inner {
    color: white;
}

.theme-studio .product {
    border: 0;
    border-bottom: 3px solid var(--accent);
}

.theme-travel .hero {
    background: linear-gradient(180deg, #e5f2ed, var(--paper));
}

.theme-travel .hero-art > img {
    border: 9px solid white;
    box-shadow: 0 15px 35px rgb(23 61 67 / 9%);
    transform: rotate(2deg);
}

.theme-travel .product-image {
    aspect-ratio: 1.2;
}

.theme-events h1, .theme-events h2 {
    font-weight: 800;
}

.theme-events .hero-art {
    padding: 18px;
    background: var(--accent);
    border-radius: 24px;
}

.theme-events .hero-art figcaption {
    color: white;
}

.theme-events .hero-art figcaption::after {
    background: white;
}

.theme-events .product {
    border-bottom: 5px solid var(--accent);
}

@media (max-width: 1050px) {
    .navigation {
        flex-wrap: wrap;
        padding-block: 20px;
        gap: 18px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 12px;
        border-top: 1px solid var(--line);
    }

    .hero-grid {
        gap: 30px;
    }

    .feature-grid, .about-grid, .faq-grid {
        gap: 40px;
    }

    .product-body {
        padding: 20px;
    }
}

@media (max-width: 760px) {
    .wrap {
        width: calc(100% - 40px);
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-domain {
        font-size: 11px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .navigation > .button {
        padding: 10px 16px;
    }

    .nav-links {
        justify-content: space-between;
        gap: 12px;
        font-size: 13px;
    }

    .hero {
        padding: 44px 0;
    }

    .hero-grid, .section-heading, .feature-grid, .about-grid, .faq-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: clamp(40px, 8vw, 58px);
    }

    .hero-intro {
        max-width: none;
        font-size: 16px;
    }

    .hero-art {
        margin-top: 20px;
    }

    .theme-coffee .hero-copy {
        order: 1;
    }

    .theme-coffee .hero-art {
        order: 2;
    }

    .theme-studio .hero-art > img {
        box-shadow: 8px 8px 0 var(--accent);
    }

    .strip-inner {
        justify-content: flex-start;
        gap: 10px 22px;
        font-size: 12px;
    }

    .section {
        padding-block: 58px;
    }

    .section-heading {
        gap: 18px;
    }

    .products {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-image, .theme-travel .product-image {
        aspect-ratio: 1.55;
    }

    .feature {
        padding: 50px 0;
    }

    .feature-art {
        max-width: 500px;
        margin-inline: auto;
    }

    .faq {
        padding-top: 0;
    }

    .closing-grid {
        display: block;
    }

    .closing .actions {
        margin-top: 28px;
    }

    .footer-main, .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {
    .wrap {
        width: calc(100% - 32px);
    }

    .brand {
        gap: 7px;
    }

    .brand img {
        width: 29px;
        height: 29px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-domain {
        font-size: 10px;
    }

    .navigation > .button {
        padding: 10px 12px;
        font-size: 12px;
    }

    .navigation {
        gap: 10px;
    }

    h1 {
        font-size: 37px;
    }

    dialog {
        padding: 32px 24px;
    }
}
