:root {
    --gold: #e3aa41;
    --ink: #4a2e12;
    --cream: #fff8e7;
    --meadow: #9cbc4a;
    --edge: clamp(1.5rem, 5vw, 3.5rem);
    --stage-w: min(40rem, calc(100vw - var(--edge) * 2));
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    font-family: "Varela Round", system-ui, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(ellipse at 50% 12%, #f6d78a 0%, var(--gold) 42%, var(--meadow) 100%);
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--edge);
}

.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: var(--stage-w);
    max-width: 100%;
}

.masthead {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wordmark {
    display: block;
    height: 56px;
    width: auto;
}

.app-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(74, 46, 18, 0.25);
}

.app-title h1 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
}

.carousel {
    width: 100%;
}

.stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(74, 46, 18, 0.12);
    box-shadow: 0 10px 28px rgba(74, 46, 18, 0.32);
}

.slide {
    position: absolute;
    inset: 0;
}

.slide[hidden] {
    display: none;
}

.shot-video,
.shot-video iframe,
.pics,
.about {
    width: 100%;
    height: 100%;
}

.shot-video iframe {
    border: 0;
}

.pics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem;
    min-height: 0;
}

.pics img {
    max-height: 100%;
    max-width: 32%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(74, 46, 18, 0.28);
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.25rem 1.5rem;
}

.about p {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.4;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.55rem;
}

.carousel-btn {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.carousel-btn:focus-visible,
.dots button:focus-visible,
.play-web:focus-visible {
    outline: 3px solid var(--cream);
    outline-offset: 3px;
}

.dots {
    display: flex;
    gap: 0.4rem;
}

.dots button {
    width: 0.65rem;
    height: 0.65rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(74, 46, 18, 0.28);
    cursor: pointer;
}

.dots button[aria-current="true"] {
    background: var(--ink);
}

.ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}

.play-web {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.25rem;
    background: var(--ink);
    color: var(--cream);
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.05rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(74, 46, 18, 0.28);
}

.play-web:hover,
.play-web:focus-visible {
    background: #2e1b0a;
}

@media (max-height: 640px) {
    :root {
        --stage-w: min(32rem, calc(100vw - var(--edge) * 2));
    }

    .wordmark {
        height: 44px;
    }

    .app-icon {
        width: 40px;
        height: 40px;
    }

    .app-title h1 {
        font-size: 1.35rem;
    }
}

@media (max-height: 480px) {
    :root {
        --stage-w: min(26rem, calc(100vw - var(--edge) * 2));
    }

    .wordmark {
        height: 36px;
    }

    .app-icon {
        width: 32px;
        height: 32px;
    }

    .app-title h1 {
        font-size: 1.15rem;
    }

    .about p {
        font-size: 0.95rem;
    }
}

@media (max-width: 700px) {
    :root {
        --edge: clamp(1.25rem, 6vw, 2rem);
        --stage-w: min(40rem, calc(100vw - var(--edge) * 2));
    }
}
