@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
    }

    .hero-proof {
        grid-template-columns: repeat(3, 1fr);
    }

    .credibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-card.wide,
    .gallery-card.tall {
        grid-row: span 1;
    }

    .two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    body {
        font-size: 1rem;
    }

    .container {
        width: min(100% - 48px, var(--container));
    }

    .section {
        padding: 96px 0;
    }

    .section-tight {
        padding: 36px 0 18px;
    }

    .section-head {
        margin-bottom: 44px;
    }

    .section-head h2,
    .section-copy h2,
    .contact-panel h2 {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 4.25rem;
    }

    .hero-lead {
        font-size: 1.15rem;
    }

    .about-grid,
    .contact-grid,
    .testimonial-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
    }

    .contact-grid {
        align-items: stretch;
    }

    .about-media {
        min-height: 560px;
    }

    .testimonial-layout {
        gap: 44px;
    }

    .testimonial-frame {
        min-width: 0;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
    }
}

@media (min-width: 1024px) {
    .site-nav {
        top: 18px;
        width: min(100% - 48px, var(--container));
        margin: 0 auto;
        border: 1px solid transparent;
        border-radius: 999px;
    }

    .site-nav.nav-scrolled {
        top: 12px;
        border-color: rgba(255, 255, 255, 0.18);
    }

    .nav-shell {
        min-height: 74px;
        padding: 0 12px 0 18px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-panel {
        position: static;
        inset: auto;
        display: flex;
        align-items: center;
        gap: 18px;
        width: auto;
        height: auto;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.86);
        padding: 10px 12px;
    }

    .site-nav.nav-scrolled .nav-link {
        color: var(--slate-700);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.13);
    }

    .site-nav.nav-scrolled .nav-link:hover,
    .site-nav.nav-scrolled .nav-link.active {
        color: var(--forest);
        background: rgba(20, 83, 45, 0.08);
    }

    .brand {
        color: var(--white);
    }

    .site-nav.nav-scrolled .brand,
    .site-footer .brand {
        color: var(--forest-dark);
    }

    .hero-inner {
        min-height: 100svh;
        grid-template-columns: minmax(0, 1fr) 420px;
        align-items: end;
        padding-top: 130px;
        padding-bottom: 90px;
    }

    .hero-copy {
        padding-bottom: 64px;
    }

    .hero h1 {
        font-size: 4.35rem;
    }

    .hero-proof {
        grid-template-columns: 1fr;
        align-self: end;
    }

    .credibility-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-grid {
        grid-template-columns: 0.9fr 1fr;
        gap: 72px;
    }

    .package-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .masonry-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-card.wide {
        grid-column: span 2;
    }

    .gallery-card.tall {
        grid-row: span 2;
        min-height: 520px;
    }
}

@media (min-width: 1240px) {
    .hero h1 {
        font-size: 4.75rem;
    }

    .section-head h2,
    .section-copy h2,
    .contact-panel h2 {
        font-size: 3.4rem;
    }
}

@media (max-width: 380px) {
    .brand span {
        display: none;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .btn {
        width: 100%;
    }
}
