:root {
    --ink: #1F1A17;
    --white: #FFFFFF;
    --blush: #FAEDED;
    --petal: #F1BCBD;
    --champagne: #EED195;
    --deep-rose: #983E40;
    --deep-rose-dark: #692627;
    --antique-gold: #7B5E24;

    --font-body: "Outfit", sans-serif;
    --font-brand: "Playwrite FR Trad", cursive;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;

    --max-width: 1100px;
    --radius: 4px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--blush);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
}

h1,
h2,
h3 {
    margin: 0 0 var(--space-md);
    font-weight: 600;
}

h1 {
    font-size: 32px;
    line-height: 1.2;
}

h2 {
    font-size: 24px;
    line-height: 1.3;
}

h3 {
    font-size: 20px;
    line-height: 1.3;
}

p {
    margin: 0 0 var(--space-sm);
}

a {
    color: var(--deep-rose);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

small {
    font-size: 14px;
    line-height: 1.5;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background-color: var(--white);
    color: var(--ink);
}

.skip-link:focus {
    top: var(--space-sm);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.button {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    background-color: var(--deep-rose);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.button:hover {
    background-color: var(--deep-rose-dark);
}

.site-header {
    display: grid;
    gap: var(--space-sm);
    justify-items: start;
    padding: var(--space-sm);
    background-color: var(--white);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-family: var(--font-brand);
    font-size: 22px;
    line-height: 1.6;
}

.site-header nav {
    justify-self: stretch;
}

.nav-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs) var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a {
    color: var(--ink);
    font-size: 16px;
    text-decoration: none;
}

.nav-list a:hover {
    text-decoration: underline;
}

.nav-list a[aria-current="page"] {
    color: var(--deep-rose);
    text-decoration: underline;
}

.site-header .button {
    justify-self: center;
}

main {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: var(--space-xl) var(--space-sm);
}

main > section {
    margin-top: var(--space-xl);
}

.home-title {
    margin-bottom: var(--space-sm);
    font-family: var(--font-brand);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.6;
}

.home-subtitle {
    color: var(--antique-gold);
}

.hero-image {
    width: 100%;
    margin-top: var(--space-md);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.intro,
.about {
    display: grid;
    gap: var(--space-md);
}

.intro img,
.about img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.services-intro {
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--radius);
    background-color: var(--petal);
    text-align: center;
}

.services-intro p {
    max-width: 60ch;
    margin-inline: auto;
    margin-bottom: var(--space-md);
}

.testimonial {
    display: grid;
    gap: var(--space-sm);
    margin: 0 0 var(--space-lg);
    padding: var(--space-md);
    border-radius: var(--radius);
    background-color: var(--white);
}

.testimonial blockquote,
.testimonial blockquote p {
    margin: 0;
}

.testimonial figcaption {
    color: var(--antique-gold);
    font-weight: 600;
}

.testimonial img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.service-list {
    display: grid;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
    list-style: none;
}

.service {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    border-radius: var(--radius);
    background-color: var(--white);
}

.service h3 {
    margin-bottom: var(--space-xs);
}

.service-meta {
    margin-bottom: var(--space-md);
}

.service-price {
    font-weight: 600;
}

.service .button {
    align-self: flex-start;
    margin-top: auto;
}

.mission {
    text-align: center;
}

.mission p {
    max-width: 60ch;
    margin-inline: auto;
}

.site-footer {
    display: grid;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-sm);
    background-color: var(--ink);
    color: var(--blush);
}

.site-footer a {
    color: var(--blush);
}

.footer-heading {
    margin-bottom: 0;
    color: var(--champagne);
}

.hours,
.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .brand-mark {
        width: 64px;
        height: 64px;
    }

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

    .site-header {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .site-header nav {
        grid-column: 1 / -1;
    }

    .site-header .button {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .nav-list {
        display: flex;
        justify-content: space-between;
    }

    main {
        padding: var(--space-2xl) var(--space-lg);
    }

    main > section {
        margin-top: var(--space-2xl);
    }

    .home-title {
        font-size: 40px;
    }

    .intro,
    .about {
        grid-template-columns: repeat(12, 1fr);
        gap: var(--space-lg);
        align-items: center;
    }

    .intro-text,
    .about-text {
        grid-column: 1 / 7;
    }

    .intro img,
    .about img {
        grid-column: 7 / 13;
    }

    .testimonial {
        grid-template-columns: repeat(12, 1fr);
        column-gap: var(--space-lg);
        align-items: center;
    }

    .testimonial img {
        grid-column: 7 / 13;
        grid-row: 1 / 3;
    }

    .testimonial blockquote,
    .testimonial figcaption {
        grid-column: 1 / 7;
    }

    .testimonial blockquote {
        align-self: end;
    }

    .testimonial figcaption {
        align-self: start;
    }

    .testimonial:nth-of-type(even) img {
        grid-column: 1 / 7;
    }

    .testimonial:nth-of-type(even) blockquote,
    .testimonial:nth-of-type(even) figcaption {
        grid-column: 7 / 13;
    }

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

    .site-footer {
        grid-template-columns: repeat(3, 1fr);
        column-gap: var(--space-lg);
        padding: var(--space-lg);
    }

    .site-footer address {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .footer-heading {
        grid-column: 2;
        grid-row: 1;
    }

    .hours {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-links {
        grid-column: 3;
        grid-row: 1 / 3;
    }

    .site-footer > p {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1100px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        padding: var(--space-md) var(--space-lg);
    }

    .site-header nav {
        grid-column: 2;
        grid-row: 1;
    }

    .nav-list {
        justify-content: space-evenly;
    }

    .site-header .button {
        grid-column: 3;
    }

    .hero-image {
        height: calc(100vh - 2 * var(--space-sm));
        aspect-ratio: auto;
    }

    .intro,
    .about,
    .testimonial {
        min-height: calc(100vh - 2 * var(--space-sm));
    }

    .intro img,
    .about img,
    .testimonial img {
        height: 100%;
        aspect-ratio: auto;
    }
}