:root
{
    --ink: #30221c;
    --paper: #fbf8f2;
    --rust: #9c452c;
}
*
{
    box-sizing: border-box;
}
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 14px/1.6 "Segoe UI", sans-serif;
}
button, input
{
    font: inherit;
}
button, a
{
    cursor: pointer;
    color: inherit;
}
button:focus-visible, a:focus-visible, input:focus-visible
{
    outline: 3px solid #b75a30;
    outline-offset: 4px;
}
.announcement
{
    background: var(--rust);
    color: #fff3df;
    text-align: center;
    padding: 8px;
    font: 9px/1.5 monospace;
    letter-spacing: 2px;
}
.announcement span
{
    margin-left: 60px;
    letter-spacing: .5px;
}
header
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 5%;
    border-bottom: 1px solid #ded5c9;
}
.brand
{
    text-decoration: none;
    font: bold 22px Georgia, serif;
    letter-spacing: -1px;
}
.brand span
{
    display: block;
    font: 7px/2 monospace;
    letter-spacing: 3px;
}
nav
{
    display: flex;
    gap: 30px;
    font-size: 11px;
}
nav a
{
    text-decoration: none;
}
header button, .filters button
{
    border: 0;
    background: transparent;
    font-size: 11px;
}
#bag-count
{
    border: 1px solid #a68c77;
    border-radius: 50%;
    padding: 2px 6px;
    margin-left: 7px;
}
.hero
{
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    min-height: 480px;
}
.hero-copy
{
    padding: 55px 5vw 30px;
}
.eyebrow
{
    font: 9px/1.6 monospace;
    letter-spacing: 1.8px;
}
h1
{
    font: 66px/.99 Georgia, serif;
    letter-spacing: -3px;
    margin: 26px 0 22px;
}
h1 em
{
    font-weight: normal;
    color: var(--rust);
}
.hero-copy > p:not(.eyebrow)
{
    font-size: 13px;
    color: #76665d;
}
.button
{
    display: inline-block;
    padding: 13px 20px;
    background: var(--ink);
    border: 0;
    color: white;
    text-decoration: none;
    font-size: 11px;
    margin-top: 20px;
}
.button span
{
    margin-left: 35px;
}
.craft-note
{
    display: flex;
    gap: 35px;
    margin-top: 25px;
    font: 18px Georgia, serif;
}
.craft-note small
{
    display: block;
    font: 7px/2 monospace;
    letter-spacing: 1px;
    margin-top: 5px;
}
.hero-art
{
    position: relative;
    background: #e6d3bc;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.hero-art svg
{
    position: relative;
    width: 110%;
    z-index: 1;
}
.orbit
{
    border: 1px solid #c6ae8f;
    border-radius: 50%;
    width: 360px;
    height: 360px;
    position: absolute;
}
.art-caption
{
    position: absolute;
    bottom: 24px;
    left: 28px;
    font: 8px monospace;
    letter-spacing: 2px;
}
.stamp
{
    position: absolute;
    top: 24px;
    right: 24px;
    font: 20px/1 Georgia, serif;
    transform: rotate(12deg);
    text-align: center;
    z-index: 2;
}
.collection
{
    padding: 30px 5% 40px;
}
.heading
{
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 22px;
}
h2
{
    font: 35px/1.1 Georgia, serif;
    letter-spacing: -.8px;
    margin: 10px 0;
}
.filters
{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.filters button
{
    padding: 6px 12px;
    border-bottom: 1px solid transparent;
}
.filters .active
{
    border-color: var(--ink);
}
.products
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.product-art
{
    height: 180px;
    display: grid;
    place-items: center;
    position: relative;
    background: #ede5d9;
}
.product:nth-child(2) .product-art
{
    background: #dedfd3;
}
.product:nth-child(3) .product-art
{
    background: #e5d7cf;
}
.product-art svg
{
    width: 85%;
    height: 85%;
}
.save
{
    position: absolute;
    top: 9px;
    right: 9px;
    background: var(--paper);
    border: 0;
    width: 32px;
    height: 32px;
    font-size: 20px;
}
.product h3
{
    font: 17px Georgia, serif;
    margin-bottom: 3px;
}
.product p
{
    font-size: 10px;
    margin: 4px 0;
}
.add
{
    width: 100%;
    background: transparent;
    border: 1px solid #b7a795;
    padding: 8px;
    margin-top: 8px;
    font-size: 11px;
}
.story
{
    background: #e3e5d9;
    padding: 45px 5%;
    text-align: center;
}
.story p
{
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
}
.story button
{
    border: 0;
    border-bottom: 1px solid;
    background: transparent;
    padding: 8px;
}
.club
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 45px 5%;
}
.club p, .club label
{
    font-size: 11px;
}
.email-row, .coupon > div
{
    display: flex;
    margin-top: 8px;
}
input
{
    width: 100%;
    min-width: 0;
    padding: 10px;
    background: transparent;
    border: 1px solid #bba58c;
}
.email-row button, .coupon button
{
    background: var(--ink);
    color: white;
    border: 0;
    padding: 10px 18px;
    white-space: nowrap;
}
footer
{
    border-top: 1px solid #dacdbd;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font: 9px/1.5 monospace;
}
dialog
{
    color: var(--ink);
    background: var(--paper);
    border: 0;
    padding: 32px;
    max-width: min(460px, calc(100vw - 32px));
    width: 460px;
}
dialog::backdrop
{
    background: #241a13aa;
}
.close
{
    float: right;
    background: transparent;
    border: 0;
    font-size: 24px;
}
table
{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
td, th
{
    padding: 10px;
    border-bottom: 1px solid #d5c6b7;
    text-align: left;
}
.cart-line
{
    border-bottom: 1px solid #d5c6b7;
    padding: 12px 0;
}
.cart-line button
{
    float: right;
    background: transparent;
    border: 0;
    color: var(--rust);
}
#total
{
    display: block;
    margin-top: 20px;
}
#toast
{
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    padding: 8px 20px;
    font-size: 11px;
    z-index: 4;
}
#toast:empty
{
    display: none;
}
[hidden]
{
    display: none !important;
}
@media (max-width: 700px)
{
    .announcement span, nav
    {
        display: none;
    }
    header
    {
        padding: 18px 22px;
    }
    .hero, .club
    {
        grid-template-columns: 1fr;
    }
    .hero-copy
    {
        padding: 30px 24px;
    }
    h1
    {
        font-size: 58px;
    }
    .hero-art
    {
        height: 310px;
    }
    .hero-art svg
    {
        width: 100%;
    }
    .orbit
    {
        width: 250px;
        height: 250px;
    }
    .stamp
    {
        font-size: 16px;
    }
    .collection
    {
        padding: 30px 22px;
    }
    .heading
    {
        display: block;
    }
    .filters
    {
        margin-top: 20px;
    }
    .products
    {
        grid-template-columns: 1fr;
    }
    .product-art
    {
        height: 210px;
    }
    footer
    {
        flex-wrap: wrap;
    }
}
