@font-face {
    font-family: "Instrument Sans";
    src: url("assets/instrument-sans-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("assets/instrument-sans-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #f8f5ee;
    --surface: #f0ebe0;
    --ink: #272921;
    --muted: #55584f;
    --olive: #4e563d;
    --rule: #d6cebe;
    --serif: Georgia, "Times New Roman", serif;
    font-family: "Instrument Sans", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.6; }
section[id] { scroll-margin: 1.25rem; }

.frame {
    width: min(100% - 5rem, 76rem);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    z-index: 2;
    inset: .5rem auto auto .5rem;
    padding: .75rem 1rem;
    background: var(--paper);
    transform: translateY(-150%);
}

.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--rule); }

.header-inner {
    min-height: 4.75rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.identity {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    gap: .65rem;
    font-weight: 600;
    letter-spacing: .19em;
    text-decoration: none;
}

.identity img { border-radius: 3px; }

.page-nav, .market-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.page-nav { gap: .25rem clamp(1rem, 3vw, 2.35rem); }
.page-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    font-size: .9375rem;
    text-decoration-color: transparent;
}
.page-nav a:hover, .page-nav a:focus-visible { text-decoration-color: currentColor; }

.market-icons { justify-self: end; gap: .35rem; }
.market-icons a {
    display: grid;
    min-width: 2.75rem;
    min-height: 2.75rem;
    place-items: center;
    border-radius: 3px;
}
.market-icons a:hover { background: var(--surface); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: clamp(2.35rem, 6vw, 6rem);
    align-items: center;
    padding-block: clamp(2.6rem, 6vw, 5.25rem) clamp(3.75rem, 7vw, 6rem);
}

.eyebrow {
    color: var(--olive);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

h1 {
    max-width: 10.5ch;
    margin-block: .8rem 1.1rem;
    font-size: clamp(3.15rem, 5.85vw, 5.8rem);
    letter-spacing: -.062em;
    line-height: 1.02;
}

h2 {
    font-size: clamp(2.25rem, 4.1vw, 3.6rem);
    letter-spacing: -.05em;
    line-height: 1.08;
}

.hero-intro { max-width: 32ch; color: var(--muted); font-size: 1.125rem; }

.button {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    margin-top: 1.55rem;
    padding: .75rem 1.15rem;
    border-radius: 3px;
    font-weight: 600;
    text-decoration: none;
}

.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--olive); }

.hero-figure {
    position: relative;
    background: var(--surface);
}

.hero-figure img {
    width: 100%;
    aspect-ratio: 1.3;
    object-fit: cover;
    object-position: center 76%;
}

.hero-figure figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: .5rem .75rem;
    background: var(--paper);
    color: var(--muted);
    font-size: .8125rem;
}

.collection {
    border-top: 1px solid var(--rule);
    padding-block: clamp(2.5rem, 5.2vw, 4.25rem) clamp(3.5rem, 7vw, 6rem);
}

.collection-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: .65rem 1.5rem;
    margin-bottom: 1.65rem;
}

.collection-heading p { color: var(--muted); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem clamp(.8rem, 2vw, 1.65rem);
}

.product a {
    display: grid;
    height: 100%;
    grid-template-rows: auto auto 1fr auto;
    text-decoration: none;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 3px;
    background: var(--surface);
}

.product h3 {
    margin-top: .85rem;
    font-size: clamp(1.2rem, 2vw, 1.58rem);
    letter-spacing: -.025em;
    line-height: 1.16;
}

.product p { margin-top: .35rem; color: var(--muted); }
.product-link {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 2.75rem;
    margin-top: .25rem;
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: underline;
}

.product a:hover .product-link { text-decoration-thickness: 2px; }

.company { background: var(--surface); }
.company-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 1rem clamp(2rem, 6vw, 6rem);
    padding-block: clamp(2.5rem, 6vw, 4.75rem);
}

.company h2 { margin-top: .5rem; }
.company-inner > p { max-width: 51ch; color: var(--muted); }

.store {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .85rem 1.5rem;
    padding-block: clamp(2rem, 4vw, 3.3rem);
}

.store h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.store-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.store-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.85rem;
    gap: .55rem;
    padding: .6rem .9rem;
    border: 1px solid #a7a091;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
}
.store-link:hover { background: var(--surface); }
.site-footer { border-top: 1px solid var(--rule); }

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .65rem 1rem;
    padding-block: .7rem;
    color: var(--muted);
    font-size: .9375rem;
}
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 860px) {
    .frame { width: min(100% - 3rem, 76rem); }
    .hero { gap: 1.75rem; }
    h1 { font-size: clamp(2.7rem, 6.25vw, 4rem); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .hero, .company-inner { grid-template-columns: 1fr; }
    h1 { max-width: 13ch; }
    .hero-figure img { aspect-ratio: 1.25; }
}

@media (max-width: 510px) {
    .frame { width: min(100% - 2rem, 76rem); }
    .header-inner { grid-template-columns: 1fr auto; gap: 0 .5rem; padding-top: .55rem; }
    .page-nav { grid-row: 2; grid-column: 1 / -1; }
    .market-icons { grid-row: 1; grid-column: 2; }
    .product-grid { gap: 1.25rem .75rem; }
}

@media (max-width: 340px) {
    .product-grid { grid-template-columns: 1fr; }
}
