@font-face {
    font-family: Baskervville;
    src: url("/fonts/baskervville.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #f7f2e9;
    --surface: #eae2d4;
    --ink: #242b23;
    --muted: #50574a;
    --wine: #793b44;
    --wine-hover: #5d2933;
    --cream: #fffaf1;
    --serif: Baskervville, Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --gutter: clamp(20px, 6vw, 96px);
    --reading: 44rem;
}

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

html { scroll-padding-top: 24px; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 1.0625rem/1.62 var(--sans);
}

::selection { color: var(--cream); background: var(--wine); }

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

a {
    color: inherit;
    text-underline-offset: .25em;
    text-decoration-thickness: .07em;
}

a:hover { color: var(--wine); }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-family: var(--serif); font-weight: 400; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 24px; }

.frame {
    width: min(100%, 105rem);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    z-index: 2;
    inset: 10px auto auto 10px;
    transform: translateY(-160%);
    padding: 9px 14px;
    color: var(--cream);
    background: var(--wine);
}

.skip-link:focus { transform: none; }

.site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2px 16px;
    min-height: 80px;
    padding-block: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    font: 2rem/1 var(--serif);
    text-decoration: none;
}

.brand img { width: 38px; height: 38px; }

.site-header nav,
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 clamp(12px, 2.35vw, 38px);
}

.site-header nav a,
.site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: .9375rem;
    text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current],
.site-footer nav a:hover,
.site-footer nav a[aria-current] { text-decoration: underline; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
    grid-template-areas:
        "title title"
        "intro photo";
    align-items: start;
    gap: clamp(21px, 3vw, 48px) clamp(20px, 4vw, 64px);
    padding-block: clamp(32px, 6vw, 95px) clamp(60px, 9vw, 138px);
}

.hero h1 {
    grid-area: title;
    font-size: clamp(3.15rem, 8.5vw, 8.9rem);
    letter-spacing: -.038em;
    line-height: .93;
    text-wrap: wrap;
}

.hero-intro {
    grid-area: intro;
    align-self: center;
    padding-block: 12px;
}

.hero-intro p {
    max-width: 29ch;
    margin-bottom: 23px;
    font-size: clamp(1.0625rem, 1.65vw, 1.375rem);
}

.hero-photo { grid-area: photo; }
.hero-photo img { width: 100%; }
.hero-photo figcaption {
    margin-top: 9px;
    color: var(--muted);
    font-size: .9375rem;
}

.button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 9px 18px;
    background: var(--wine);
    color: var(--cream);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease-out;
}

.button:hover, .button:active { background: var(--wine-hover); color: var(--cream); }
.button:focus-visible { outline-color: var(--wine); }

.looks { background-color: var(--surface); }
.looks > .frame { padding-block: clamp(56px, 8vw, 120px); }

.looks h2, .workflow h2 {
    font-size: clamp(2.55rem, 5.5vw, 5.1rem);
    line-height: .98;
    letter-spacing: -.031em;
}

.looks-intro, .workflow-intro { max-width: 40ch; margin-top: 16px; }

.look-pair {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
    gap: clamp(28px, 7vw, 115px);
    margin-top: clamp(27px, 4vw, 62px);
    padding-inline-end: clamp(0px, 8vw, 150px);
}

.look:first-child { margin-top: clamp(0px, 6vw, 100px); }
.look img { width: 100%; }
.look h3 {
    margin-top: 13px;
    font-size: clamp(1.62rem, 3.05vw, 2.5rem);
    line-height: 1.08;
}

.look details p { max-width: 40ch; margin: 0 0 10px; }
.look summary {
    display: list-item;
    width: fit-content;
    padding-block: 10px;
    min-height: 44px;
    cursor: pointer;
    color: var(--wine-hover);
    font-size: .9375rem;
    font-weight: 600;
}

.look summary:hover { text-decoration: underline; }

.workflow {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: clamp(24px, 7vw, 114px);
    padding-block: clamp(62px, 10vw, 150px);
}

.workflow ol {
    margin: 0;
    padding-left: 1.7em;
}

.workflow li { padding-left: .4em; }
.workflow li + li { margin-top: 24px; }
.workflow li::marker {
    color: var(--wine);
    font-family: var(--serif);
    font-size: 1.25em;
}

.workflow h3 {
    margin-bottom: 3px;
    font-size: clamp(1.5rem, 2.3vw, 2.125rem);
    line-height: 1.14;
}

.workflow p, .workflow li p { max-width: 42ch; }

.site-footer { background: var(--ink); color: var(--cream); }

.site-footer .frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px 30px;
    padding-block: clamp(32px, 5vw, 76px);
}

.site-footer .brand {
    font-size: clamp(2.9rem, 5vw, 5.4rem);
    width: fit-content;
}

.site-footer .brand img { width: 38px; height: 38px; }
.site-footer a:hover { color: var(--cream); }

.reading {
    width: min(100%, calc(var(--reading) + var(--gutter) * 2));
    padding-block: clamp(44px, 7vw, 105px) clamp(70px, 9vw, 130px);
}

.reading h1 {
    font-size: clamp(3rem, 7.2vw, 6.45rem);
    line-height: 1.01;
    letter-spacing: -.037em;
}

.reading .lead,
.reading .updated {
    margin-top: 13px;
    max-width: 55ch;
    color: var(--muted);
}

.reading h2 {
    margin-top: 31px;
    margin-bottom: 5px;
    font-size: clamp(1.59rem, 3vw, 2.42rem);
    line-height: 1.12;
    text-wrap: wrap;
}

.reading p + p { margin-top: .85em; }
.reading p a { color: var(--wine); }
.reading .button { margin-top: 22px; }

@media (max-width: 720px) {
    .site-header { min-height: 68px; }

    .hero {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "intro" "photo";
        row-gap: 17px;
        padding-top: 38px;
    }

    .hero h1 { max-width: 12ch; }
    .hero-intro { padding-block: 0 7px; }
    .hero-intro p { margin-bottom: 17px; max-width: 33ch; }

    .look-pair {
        grid-template-columns: 1fr;
        gap: 29px;
        padding-inline-end: 0;
    }

    .look:first-child { width: 82%; }
    .look + .look { width: 91%; justify-self: end; }

    .workflow, .site-footer .frame { grid-template-columns: 1fr; }
}

@media (max-width: 370px) {
    .brand { gap: 7px; font-size: 1.68rem; }
    .brand img { width: 33px; height: 33px; }
    .site-header nav { gap: 0 12px; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }

    .hero-photo { animation: appear 600ms ease-out both; }

    @keyframes appear {
        from { opacity: .74; transform: translateY(6px); }
        to { opacity: 1; transform: none; }
    }
}
