@media (max-width: 1180px) {
    .yw-nav__list {
        gap: 0.7rem;
    }

    .yw-nav__link {
        font-size: 0.84rem;
    }
}

@media (max-width: 1080px) {
    .yw-features__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yw-location-list {
        grid-template-columns: 1fr;
        max-width: 36rem;
        margin-inline: auto;
    }

    .yw-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .yw .contact {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "intro"
            "calendar"
            "write";
        gap: var(--yw-space-6);
    }

    .yw .contact__calendar {
        position: static;
    }
}

@media (max-width: 720px) {
    .yw .consent-banner__lead--full {
        display: none;
    }

    .yw .consent-banner__lead--short {
        display: block;
    }

    .yw .consent-banner__actions {
        width: 100%;
    }

    .yw .consent-banner__actions .yw-btn {
        flex: 1 1 auto;
    }

    .yw .booking__frame {
        height: 720px;
    }
}

@media (max-width: 1120px) {
    .yw-nav-toggle {
        display: inline-flex;
        z-index: 60;
    }

    .yw-header__actions--bar {
        display: none;
    }

    .yw-header__actions--drawer {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .yw-nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 55;
        width: min(21rem, 88vw);
        height: 100dvh;
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: var(--yw-space-5);
        padding: calc(var(--yw-header-h) + var(--yw-space-4)) var(--yw-space-5) var(--yw-space-6);
        background: #fff;
        border-left: 1px solid var(--yw-border);
        transform: translateX(105%);
        transition: transform 0.22s ease;
        overflow-y: auto;
        box-shadow: -18px 0 40px rgba(15, 23, 42, 0.12);
    }

    .yw-nav.is-open {
        transform: translateX(0);
    }

    .yw-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .yw-nav__link {
        display: block;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--yw-border);
        font-size: 1.05rem;
    }
}

@media (max-width: 900px) {
    .yw-hero__grid {
        grid-template-columns: 1fr;
        gap: var(--yw-space-6);
    }

    .yw-hero__title {
        max-width: none;
    }

    .yw-showcase {
        max-width: 520px;
        margin-inline: auto;
        min-height: 320px;
    }

    .yw-mac {
        margin-inline: auto;
    }

    /* The pinned notes need the laptop's full width, so they stack underneath.
       Stays relative so the pin keeps anchoring to its own note. */
    .yw-note {
        position: relative;
        inset: auto;
        max-width: none;
        margin-top: var(--yw-space-3);
        --yw-note-tilt: 0deg;
    }

    .yw-note--reply {
        max-width: none;
    }

    .yw-meet__photo {
        width: 128px;
        height: 128px;
    }

    .yw-atmosphere {
        min-height: 16rem;
    }

    .yw-examples__grid,
    .yw-grid-2,
    .yw-grid-3,
    .yw-problems,
    .yw-fit,
    .yw-detail {
        grid-template-columns: 1fr;
    }

    .yw-aside {
        position: static;
    }
}

@media (max-width: 720px) {
    .yw-deliverables {
        grid-template-columns: 1fr;
    }

    .yw-inline-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .yw-inline-cta .yw-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .yw-features__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .yw-areas__list {
        grid-template-columns: 1fr;
        gap: var(--yw-space-3);
    }

    .yw-location-list {
        grid-template-columns: 1fr;
        gap: var(--yw-space-5);
    }

    .yw-checklist {
        grid-template-columns: 1fr;
    }

    /* Drop the number gutter so step copy keeps its width. */
    .yw-process__item {
        grid-template-columns: 1fr;
        gap: var(--yw-space-3);
    }

    .yw-process__item:not(:last-child)::before {
        display: none;
    }

    .yw-tag-list {
        justify-content: flex-start;
    }

    .yw-section {
        padding: var(--yw-space-7) 0;
    }

    .yw-btn-row {
        flex-direction: column;
    }

    .yw-btn-row .yw-btn {
        width: 100%;
    }

    .yw-hero__offer-main {
        flex-direction: column;
        align-items: stretch;
    }

    .yw-hero__actions {
        width: 100%;
    }

    .yw-hero__checks li {
        white-space: normal;
    }

    .yw-price-strip__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .yw-price-strip .yw-btn {
        width: 100%;
    }

    .yw-price-strip__inner--featured .yw-btn {
        align-self: stretch;
    }

    .yw-meet__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .yw-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .yw-footer__list {
        justify-items: center;
    }

    .yw-footer .yw-lockup {
        justify-content: center;
    }

    .yw-footer__tag {
        margin-inline: auto;
    }

    .yw-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .yw-footer__payments {
        justify-content: center;
    }
}
