:root
{
    --background: hsl(42,22%,95%);
    --ink: hsl(150,14%,14%);
    --muted: hsl(150,6%,44%);
    --line: hsl(42,14%,83%);
    --swatch: hsl(154,30%,26%);
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
body
{
    margin: 0;
    background: var(--background);
    color: var(--ink);
    font: 16px/1.7 "Segoe UI", sans-serif;
}
body::before
{
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    opacity: .035;
    z-index: 4;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
a
{
    color: inherit;
    text-decoration: none;
}
button, a
{
    -webkit-tap-highlight-color: transparent;
}
a:focus-visible, button:focus-visible
{
    outline: 3px solid #bd744f;
    outline-offset: 5px;
}
header, main, footer
{
    max-width: 1320px;
    margin: auto;
}
header
{
    height: 100px;
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 0 48px;
    border-bottom: 1px solid var(--line);
}
.wordmark
{
    font: 27px Georgia, serif;
    letter-spacing: -.8px;
    margin-right: auto;
}
.wordmark span
{
    display: block;
    margin-top: 8px;
    font: 8px "Segoe UI", sans-serif;
    letter-spacing: 1.5px;
}
nav
{
    display: flex;
    gap: 26px;
    font-size: 13px;
}
.outline, .button
{
    border: 1px solid var(--swatch);
    padding: 12px 20px;
    font-size: 13px;
    transition: background .4s, border-color .4s;
}
.outline span
{
    margin-left: 20px;
}
section
{
    margin: 0 48px;
    padding: 90px 0;
    border-bottom: 1px solid var(--line);
}
.hero
{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 52px 0 65px;
}
.eyebrow
{
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
}
h1, h2, h3
{
    font-family: Georgia, serif;
    font-weight: 400;
}
h1
{
    font-size: clamp(42px,5vw,71px);
    line-height: 1.07;
    letter-spacing: -2.5px;
    margin: 28px 0;
}
h1 em
{
    position: relative;
    white-space: nowrap;
}
h1 svg
{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -7px;
    height: 20px;
    overflow: visible;
}
h1 path
{
    stroke: var(--swatch);
    stroke-width: 8;
    fill: none;
    opacity: .55;
    stroke-dasharray: 1;
    animation: stroke 1.1s ease;
    transition: stroke .4s;
}
@keyframes stroke
{
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}
.hero-copy > p:not(.eyebrow)
{
    max-width: 445px;
    color: var(--muted);
}
.actions
{
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}
.button
{
    background: var(--swatch);
    color: white;
}
.button span
{
    margin-left: 25px;
}
.text-link
{
    font-size: 12px;
    border-bottom: 1px solid var(--ink);
}
.credentials
{
    font-size: 10px;
    margin-top: 32px;
    letter-spacing: .5px;
}
small
{
    display: block;
    font-size: 10px;
}
figure
{
    margin: 0;
}
.hero-art
{
    position: relative;
}
.hero-art img
{
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
figcaption
{
    font-size: 9px;
    letter-spacing: 1.3px;
    margin-top: 12px;
}
.hero-art figcaption
{
    display: flex;
    justify-content: space-between;
}
.paint-note
{
    position: absolute;
    bottom: 55px;
    left: -30px;
    transform: rotate(-6deg);
    padding: 20px 28px;
    background: #eae5d8;
    font: italic 19px/1.3 Georgia, serif;
    box-shadow: 1px 3px 8px #0001;
}
h2
{
    font-size: clamp(30px,3.8vw,48px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 12px 0 30px;
}
h3
{
    font-size: 24px;
}
.palette
{
    padding-top: 55px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
}
.palette p
{
    font-size: 13px;
}
.swatches
{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    gap: 22px;
}
.swatches button
{
    text-align: left;
    border: 0;
    background: #e9e5db;
    color: var(--ink);
    padding: 8px 8px 12px;
    cursor: pointer;
    transform: rotate(-2deg);
    box-shadow: 0 4px 8px #0001;
    transition: transform .2s;
}
.swatches button:nth-child(even)
{
    transform: rotate(2deg);
}
.swatches button:hover, .swatches button[aria-pressed=true]
{
    transform: translateY(-5px) rotate(0);
    outline: 1px solid var(--swatch);
    outline-offset: 4px;
}
.swatches i
{
    display: block;
    height: 86px;
    margin-bottom: 7px;
}
.swatches strong
{
    font-size: 11px;
}
.swatches small
{
    font-size: 8px;
}
.service
{
    display: grid;
    grid-template-columns: 1fr 1.6fr .6fr;
    gap: 25px;
    align-items: center;
    border-top: 1px solid var(--swatch);
    transition: border-color .4s;
    padding: 20px 0;
}
.service p, .service b
{
    font-size: 13px;
    font-weight: 400;
}
.section-title
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gallery, .price-grid, .reviews
{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.gallery img
{
    width: 100%;
    height: 250px;
    object-fit: cover;
    mix-blend-mode: luminosity;
}
.gallery figure
{
    background: var(--room,#2e5645);
}
.gallery figcaption
{
    padding: 14px 0;
    background: var(--background);
    margin: 0;
}
.process, .contact
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}
ol
{
    list-style: none;
    padding-left: 25px;
    border-left: 1px solid var(--swatch);
}
li
{
    position: relative;
    padding: 0 0 20px 15px;
}
li::before
{
    content: "";
    width: 9px;
    height: 9px;
    background: var(--swatch);
    border-radius: 100%;
    position: absolute;
    left: -30px;
    top: 10px;
}
li p
{
    font-size: 14px;
    color: var(--muted);
}
.price-grid article
{
    border-top: 2px solid var(--swatch);
}
.price-grid strong
{
    font: 45px Georgia, serif;
}
.promise
{
    margin: 70px 48px 0;
    padding: 60px;
    background: #e5e8df;
    text-align: center;
}
.promise p:last-child
{
    max-width: 650px;
    margin: auto;
}
blockquote
{
    margin: 0;
    font: 21px/1.55 Georgia, serif;
}
cite
{
    display: block;
    font: 11px "Segoe UI", sans-serif;
    margin-top: 20px;
}
.contact a
{
    display: block;
    font-size: 23px;
    text-decoration: underline;
    text-underline-offset: 5px;
}
footer
{
    display: flex;
    gap: 40px;
    padding: 35px 48px;
    font-size: 10px;
}
footer p
{
    margin: 0 auto 0 0;
}
@media(max-width:767px)
{
    header
    {
        padding: 0 22px;
        height: 82px;
        gap: 10px;
    }
    .wordmark
    {
        font-size: 22px;
    }
    .wordmark span
    {
        font-size: 6px;
    }
    nav
    {
        display: none;
    }
    .outline
    {
        padding: 9px 10px;
        font-size: 11px;
        white-space: nowrap;
    }
    .outline span
    {
        margin-left: 5px;
    }
    section
    {
        margin: 0 22px;
        padding: 58px 0;
    }
    .hero
    {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 20px;
    }
    .hero-art
    {
        grid-row: 1;
    }
    .hero-art img
    {
        height: 54vh;
        max-height: 480px;
    }
    .paint-note
    {
        left: 12px;
        bottom: 50px;
        font-size: 17px;
    }
    h1
    {
        font-size: 42px;
        letter-spacing: -1.7px;
    }
    .hero-copy > .eyebrow
    {
        font-size: 8px;
    }
    .palette, .process, .contact
    {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .swatches
    {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 15px 7px;
    }
    .swatches button
    {
        flex: 0 0 105px;
        scroll-snap-align: start;
    }
    .service
    {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .service h3
    {
        margin-bottom: 0;
    }
    .gallery
    {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .gallery img
    {
        height: 180px;
    }
    .price-grid, .reviews
    {
        grid-template-columns: 1fr;
    }
    .section-title
    {
        display: block;
    }
    .promise
    {
        margin: 50px 22px 0;
        padding: 40px 22px;
    }
    footer
    {
        padding: 30px 22px;
        flex-wrap: wrap;
        gap: 15px;
    }
}
@media(prefers-reduced-motion:reduce)
{
    *, *::before
    {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
