@charset "utf-8";
/* CSS Document */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */

@font-face {
    font-family: 'Marcellus';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/marcellus-400-latin.woff2) format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url(../fonts/inter-400-600-latin.woff2) format('woff2');
}

/* ---------- Tokens ---------- */

:root {
    --ink: #12171a;
    --ink-soft: #1b2226;
    --paper: #f4efe7;
    --rule: #d9d1c3;
    --text: #1d2326;
    --muted: #5a6165;
    --accent: #a34a22;
    --sand: #e2a06f;
    --on-dark: #f4efe7;
    --on-dark-muted: #aab2b5;

    --serif: 'Marcellus', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --gutter: clamp(1.25rem, 5vw, 4rem);
    --wrap: 1240px;
}

/* ---------- Reset ---------- */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body, h1, h2, h3, p, figure {
    margin: 0;
}

body {
    background: var(--paper);
    color: var(--text);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img, picture, svg {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a {
    color: inherit;
}

/* ---------- Shared pieces ---------- */

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--serif);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
}

.brand__mark {
    flex: none;
}

.plate__meta {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.plate__num {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.plate__num::after {
    content: '';
    width: 1.5rem;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.coords {
    margin-left: auto;
    font-weight: 400;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--muted);
}

.plate__where {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* ---------- External links ---------- */

.u-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.hero__more,
.plate__more,
.finale__more {
    margin-top: 1.15rem;
}

.more {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.45em;
    text-decoration-color: rgba(163, 74, 34, 0.4);
}

.more__src {
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--muted);
}

.more__arrow {
    display: inline-block;
    vertical-align: -0.05em;
}

.more:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
}

.more:hover .more__src {
    color: var(--ink);
}

.more:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
    border-radius: 2px;
}

/* on the two dark blocks */
.hero .more,
.finale .more {
    color: var(--sand);
    text-decoration-color: rgba(226, 160, 111, 0.5);
}

.hero .more .more__src,
.finale .more .more__src {
    color: rgba(244, 239, 231, 0.72);
}

.hero .more:hover,
.hero .more:hover .more__src,
.finale .more:hover,
.finale .more:hover .more__src {
    color: var(--on-dark);
}

.hero .more:hover,
.finale .more:hover {
    text-decoration-color: currentColor;
}

.hero .more:focus-visible,
.finale .more:focus-visible {
    outline-color: var(--sand);
}

/* ---------- Navigation and in-page links ---------- */

.skip-link {
    position: absolute;
    top: -5rem;
    left: var(--gutter);
    z-index: 3;
    padding: 0.6rem 1rem;
    background: var(--paper);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
}

.skip-link:focus {
    top: 0.75rem;
}

.site-nav,
.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem clamp(1.1rem, 2.6vw, 2.25rem);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav a,
.site-footer__nav a {
    padding-block: 0.4rem;
    border-bottom: 1px solid transparent;
    text-decoration: none;
}

.site-nav a:hover,
.site-footer__nav a:hover {
    border-bottom-color: currentColor;
}

.button-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    padding: 0.85rem 1.35rem;
    border: 1px solid rgba(244, 239, 231, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
}

.button-link:hover {
    background: var(--on-dark);
    color: var(--ink);
}

.brand:focus-visible,
.site-nav a:focus-visible,
.site-footer__nav a:focus-visible,
.site-footer__small a:focus-visible,
.button-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* ---------- Header ---------- */

.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem) var(--gutter);
    color: var(--on-dark);
}

/* ---------- Block 1: banner ---------- */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--ink);
    color: var(--on-dark);
}

.hero__media,
.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media img {
    object-fit: cover;
    object-position: 50% 45%;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10, 14, 16, 0.55) 0%, rgba(10, 14, 16, 0) 24%),
        linear-gradient(to top, rgba(10, 14, 16, 0.88) 0%, rgba(10, 14, 16, 0.55) 34%, rgba(10, 14, 16, 0) 68%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
    align-items: end;
    gap: clamp(2rem, 6vw, 6rem);
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin-inline: auto;
    padding: 7rem var(--gutter) clamp(2rem, 5vw, 4rem);
}

.hero .eyebrow {
    color: var(--sand);
}

.hero h1 {
    margin-top: 1.25rem;
    font-size: clamp(2.75rem, 8.2vw, 6.75rem);
    line-height: 1;
    letter-spacing: -0.01em;
}

.hero__lede {
    max-width: 34rem;
    margin-top: 1.5rem;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.55;
    color: rgba(244, 239, 231, 0.9);
}

.hero__cta {
    margin-top: 1.9rem;
}

.hero__plate {
    padding-top: 1.1rem;
    border-top: 1px solid rgba(244, 239, 231, 0.4);
}

.hero__plate .plate__meta {
    color: var(--sand);
}

.hero__plate .coords {
    color: rgba(244, 239, 231, 0.75);
}

.hero__place {
    margin-top: 0.6rem;
    font-family: var(--serif);
    font-size: 1.375rem;
    line-height: 1.25;
}

.hero__note {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(244, 239, 231, 0.82);
}

/* ---------- Block 2: the collection ---------- */

.collection {
    padding-block: clamp(4.5rem, 11vw, 9rem);
}

.section-head {
    max-width: 46rem;
}

.section-head .eyebrow {
    color: var(--accent);
}

.section-head h2 {
    margin-top: 1.1rem;
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.005em;
}

.section-head__intro {
    max-width: 36rem;
    margin-top: 1.4rem;
    font-size: 1.125rem;
    color: var(--muted);
}

.plates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(2rem, 7vw, 7rem);
    row-gap: clamp(3.5rem, 7vw, 6rem);
    margin-top: clamp(3rem, 7vw, 5.5rem);
}

.plate:nth-child(even) {
    margin-top: clamp(4rem, 11vw, 9.5rem);
}

.plate__img {
    width: 100%;
    background: var(--rule);
}

.plate .plate__meta {
    margin-top: 1.25rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--rule);
}

.plate h3 {
    margin-top: 1.1rem;
    font-size: clamp(1.625rem, 2.6vw, 2.125rem);
    line-height: 1.15;
}

.plate .plate__where {
    margin-top: 0.3rem;
}

.plate__text {
    max-width: 34rem;
    margin-top: 0.9rem;
}

/* ---------- Block 3: finale ---------- */

.finale {
    background: var(--ink);
    color: var(--on-dark);
}

.finale__media img {
    width: 100%;
    max-height: 92vh;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 30% 50%;
    background: var(--ink-soft);
}

.finale__body {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(2rem, 7vw, 7rem);
    padding-block: clamp(3.5rem, 8vw, 7rem);
}

.finale .plate__meta {
    color: var(--sand);
}

.finale .coords,
.finale .plate__where {
    color: var(--on-dark-muted);
}

.finale h2 {
    margin-top: 1.1rem;
    font-size: clamp(2rem, 4.4vw, 3.375rem);
    line-height: 1.08;
}

.finale .plate__where {
    margin-top: 0.9rem;
}

.finale__text {
    color: rgba(244, 239, 231, 0.86);
}

.finale__closing {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(244, 239, 231, 0.22);
    font-family: var(--serif);
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    line-height: 1.35;
    color: var(--on-dark);
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--ink);
    color: var(--on-dark);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 2rem;
    padding-block: 2rem 2.5rem;
}

.site-footer__inner::before {
    content: '';
    grid-column: 1 / -1;
    height: 1px;
    margin-bottom: 0.75rem;
    background: rgba(244, 239, 231, 0.22);
}

.site-footer .brand {
    justify-self: start;
}

.site-footer__small {
    font-size: 0.8125rem;
    color: var(--on-dark-muted);
}

.site-footer__small a {
    color: var(--on-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .hero__plate {
        max-width: 26rem;
    }

    .finale__body {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    body {
        font-size: 1rem;
    }

    .plates {
        grid-template-columns: minmax(0, 1fr);
    }

    .plate:nth-child(even) {
        margin-top: 0;
    }

    .finale__media img {
        max-height: none;
        aspect-ratio: 4 / 5;
        object-position: 50% 50%;
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .site-header {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .site-nav {
        flex: 0 0 100%;
        column-gap: 1.1rem;
        font-size: 0.6875rem;
        letter-spacing: 0.14em;
    }

    .hero__inner {
        padding-top: 8.5rem;
    }
}

@media (max-width: 420px) {
    .plate__meta {
        flex-wrap: wrap;
        row-gap: 0.35rem;
    }

    .coords {
        flex: 0 0 100%;
        margin-left: 0;
    }
}

/* ---------- Motion (only when the visitor allows it) ---------- */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    .site-nav a,
    .site-footer__nav a,
    .button-link {
        transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    }

    .more,
    .more .more__src,
    .more__arrow {
        transition: color 0.2s ease, text-decoration-color 0.2s ease, transform 0.2s ease;
    }

    .more:hover .more__arrow {
        transform: translate(2px, -2px);
    }

    @keyframes rise {
        from {
            opacity: 0;
            transform: translateY(1.25rem);
        }
    }

    @keyframes settle {
        from {
            transform: scale(1.06);
        }
    }

    .hero__media img {
        animation: settle 2.4s cubic-bezier(0.2, 0.6, 0.2, 1) both;
    }

    .hero__copy > *,
    .hero__plate {
        animation: rise 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) both;
    }

    .hero__copy > :nth-child(2) {
        animation-delay: 0.12s;
    }

    .hero__copy > :nth-child(3) {
        animation-delay: 0.24s;
    }

    .hero__copy > :nth-child(4) {
        animation-delay: 0.36s;
    }

    .hero__plate {
        animation-delay: 0.5s;
    }
}