:root
{
    --paper: #f7f3ec;
    --ink: #241a12;
    --accent: #8a4b2a;
    --surface: #ebe4d8;
    --muted: #60564c;
    --line: #c8bca9;
}
*
{
    box-sizing: border-box;
}
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.7 Arial, sans-serif;
}
html
{
    scroll-padding-top: 85px;
}
a
{
    text-decoration: none;
    color: inherit;
}
button, select, input
{
    font: inherit;
}
button, .pill
{
    display: inline-block;
    cursor: pointer;
    border: 1px solid var(--accent);
    border-radius: 30px;
    background: var(--accent);
    color: white;
    padding: 11px 22px;
    font-size: 14px;
}
:focus-visible
{
    outline: 3px solid #9a5d31;
    outline-offset: 4px;
}
header
{
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid var(--line);
    padding: 22px 4%;
}
.wordmark
{
    font: 23px/1.3 Georgia, serif;
    letter-spacing: 1px;
}
.wordmark span
{
    display: block;
    font: 14px/1.7 "Courier New", monospace;
    letter-spacing: 0;
}
nav
{
    display: flex;
    gap: 30px;
    margin-left: auto;
    font-size: 14px;
}
#menu
{
    display: none;
}
section
{
    padding: 95px 6%;
}
.meta, .fine
{
    font-size: 14px;
    line-height: 1.7;
}
.meta
{
    font-family: "Courier New", monospace;
    color: var(--accent);
    letter-spacing: .5px;
}
h1, h2, h3
{
    font-family: Georgia, serif;
    font-weight: 400;
}
h1
{
    font-size: clamp(52px, 6.9vw, 94px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin: 32px 0;
}
em
{
    color: var(--accent);
}
h2
{
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.12;
    letter-spacing: -1px;
    margin: 20px 0;
}
h3
{
    font-size: 28px;
    margin: 10px 0;
}
p
{
    color: var(--muted);
}
.hero
{
    text-align: center;
    padding-top: 65px;
    min-height: 700px;
}
h1 img
{
    width: 140px;
    height: 75px;
    border-radius: 50px;
    object-fit: cover;
    vertical-align: middle;
}
.hero > p:not(.meta)
{
    margin: 30px 0;
    font-size: 17px;
}
.hero-foot
{
    display: block;
    font: 14px "Courier New", monospace;
    margin-top: 60px;
    color: var(--muted);
}
.statement
{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    border-top: 1px solid var(--line);
}
.statement > p:last-child
{
    font: 37px/1.4 Georgia, serif;
    color: var(--ink);
    margin: 0;
}
.snap-section
{
    background: var(--surface);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}
#snap
{
    display: flex;
    width: 320px;
    height: 260px;
    position: relative;
    margin: 35px auto 55px;
    transform: rotate(-6deg);
}
.bar-left, .bar-right
{
    background: #663b27;
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    padding: 5px;
    gap: 4px;
    border: 2px solid #4b2e20;
    border-radius: 4px;
}
.bar-left
{
    width: 75%;
    grid-template-columns: repeat(3, 1fr);
}
.bar-right
{
    width: 25%;
    transition: transform .5s ease;
}
.bar-left i, .bar-right i
{
    background: #77472f;
    border-top: 2px solid #936045;
    border-left: 2px solid #936045;
    border-bottom: 3px solid #4b2b1d;
    border-right: 3px solid #4b2b1d;
}
.snapped .bar-right
{
    transform: translate(15px, 8px) rotate(4deg);
}
.crumbs
{
    position: absolute;
    bottom: -50px;
    right: 20px;
    color: var(--accent);
    letter-spacing: 14px;
    opacity: 0;
}
.snapped .crumbs
{
    opacity: 1;
}
.origins, .prices, .ingredients
{
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}
label
{
    display: block;
    font-size: 14px;
}
input, select
{
    display: block;
    width: 100%;
    margin: 10px 0 25px;
    padding: 13px;
    background: transparent;
    color: inherit;
    border: 1px solid var(--accent);
    border-radius: 0;
}
.origin
{
    border-top: 1px solid var(--line);
    padding: 25px 0;
}
.origin p
{
    margin: 10px 0;
}
.origin button
{
    border-radius: 0;
    padding: 8px 14px;
    background: transparent;
    color: var(--accent);
    margin-top: 10px;
}
.origin button[aria-pressed=true]
{
    background: var(--accent);
    color: white;
}
.text-link
{
    border-bottom: 1px solid;
    font-size: 14px;
}
#count, #selection-status
{
    color: var(--accent);
    font-size: 14px;
}
.process
{
    background: var(--ink);
    color: var(--paper);
    margin: 0 16px;
    border-radius: 24px;
}
.process p, .process .meta
{
    color: #e3c9b5;
}
.process em
{
    color: #dfab83;
}
.process article
{
    display: grid;
    grid-template-columns: 1fr 1.4fr 2fr;
    align-items: center;
    border-top: 1px solid #6c5544;
    gap: 35px;
    padding: 18px 0;
}
.process article > span
{
    font: 14px "Courier New", monospace;
    color: #e3c9b5;
}
.process article p
{
    font-size: 15px;
}
.prices article
{
    display: grid;
    grid-template-columns: 1.8fr .6fr .6fr;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--line);
    padding: 20px 0;
}
.prices h3
{
    font-size: 23px;
}
.prices strong, .prices article > span
{
    font: 14px "Courier New", monospace;
    text-align: right;
}
.ingredients
{
    background: var(--surface);
}
.visit
{
    margin: 16px;
    border-radius: 24px;
    background: var(--accent);
    color: white;
}
.visit p, .visit .meta, .visit em
{
    color: white;
}
.visit-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-top: 45px;
}
.visit .pill
{
    background: var(--paper);
    color: var(--accent);
}
.visit select
{
    border-color: white;
    background: var(--accent);
}
footer
{
    padding: 70px 6% 40px;
    background: var(--ink);
    color: var(--paper);
}
.footer-wordmark
{
    font: clamp(60px, 12vw, 160px)/.9 Georgia, serif;
    color: var(--paper);
    margin: 0 0 50px;
    letter-spacing: -4px;
}
footer > div
{
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
footer p
{
    color: #e3c9b5;
}
@media (max-width: 760px)
{
    header
    {
        padding: 20px 24px;
        flex-wrap: wrap;
        gap: 16px;
    }
    header > .pill
    {
        display: none;
    }
    .wordmark
    {
        font-size: 21px;
    }
    #menu
    {
        display: block;
        margin-left: auto;
        padding: 6px 12px;
    }
    nav
    {
        display: none;
        width: 100%;
        margin: 0;
        flex-direction: column;
    }
    nav.open
    {
        display: flex;
    }
    section
    {
        padding: 60px 25px;
    }
    .hero
    {
        min-height: 650px;
        padding-top: 45px;
    }
    h1
    {
        font-size: 48px;
        letter-spacing: -2px;
    }
    h1 img
    {
        display: block;
        margin: 20px auto;
        width: 155px;
        height: 85px;
    }
    h1 br
    {
        display: none;
    }
    .statement, .snap-section, .origins, .prices, .ingredients, .visit-grid
    {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .statement > p:last-child
    {
        font-size: 30px;
    }
    #snap
    {
        width: 260px;
        height: 230px;
    }
    .process article
    {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .process h3
    {
        margin-top: 15px;
    }
    .prices article
    {
        grid-template-columns: 1fr 1fr;
    }
    .prices h3
    {
        grid-column: 1 / -1;
    }
    .prices article > span
    {
        text-align: left;
    }
}
@media (prefers-reduced-motion: reduce)
{
    .bar-right
    {
        transition: none;
    }
}
