:root {
    color-scheme: light;
    --paper: #f8f6f0;
    --ink: #282b22;
    --olive: #343e2b;
    --line: #dedbd1;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 system-ui, sans-serif; background: var(--paper); color: var(--ink); }
h1, h2, h3, .wordmark { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); margin: 0 0 .2em; letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin: 0 0 .75em; letter-spacing: -.035em; }
h3 { font-size: 1.55rem; margin: .6em 0 .2em; }
p { margin: .5em 0 1em; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: min(1260px, calc(100% - 72px)); margin-inline: auto; }
.ribbon { background: var(--olive); color: #fffdf5; text-align: center; padding: 7px 12px; font-size: .78rem; letter-spacing: .07em; }
.masthead { background: #fffcf6; border-bottom: 1px solid var(--line); }
.masthead-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; min-height: 96px; }
.wordmark { text-align: center; font-size: 3.25rem; letter-spacing: -.065em; }
.wordmark span { display: block; margin-top: 7px; font: 9px system-ui, sans-serif; letter-spacing: .28em; }
.search { display: flex; width: min(100%, 218px); border-bottom: 1px solid var(--line); }
.search input { min-width: 0; width: 100%; border: 0; background: transparent; font-size: .86rem; padding: 7px 0; }
.search button { border: 0; background: transparent; font-size: 1.5rem; line-height: 1; }
.cart-link { justify-self: end; font-size: .9rem; }
.cart-link span { display: inline-grid; place-items: center; min-width: 23px; min-height: 23px; margin-left: 4px; border-radius: 50%; background: #e9e6db; }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .45rem 1.65rem; padding: 12px 0 15px; border-top: 1px solid var(--line); font-size: .88rem; }
.hero { color: #fffdf5; background: linear-gradient(90deg,#201c13d9,#201c137a 39%,#201c1300 78%), #544939 url('images/hero.webp') center 52%/cover; }
.hero-inner { min-height: clamp(440px, 54vw, 650px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 4rem; }
.hero p:not(.eyebrow) { max-width: 390px; font-size: 1.08rem; margin-bottom: 1.75rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; }
.hero .eyebrow { margin-bottom: 1rem; }
.button { display: inline-flex; justify-content: center; gap: 1.5em; align-items: center; padding: .85em 1.35em; color: white; background: var(--olive); border: 1px solid transparent; font-weight: 600; font-size: .9rem; }
.button:hover { text-decoration: none; filter: brightness(.9); }
.light { background: #f8f4e8; color: var(--ink); }
.section { padding-block: clamp(3rem, 6vw, 6rem); min-height: 50vh; }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2.5rem 1.25rem; }
.category-card img, .product img { aspect-ratio: 1; object-fit: cover; background: #dfd7c7; }
.category-card h3 { display: flex; gap: .5em; justify-content: space-between; }
.category-card .eyebrow { margin-top: 1rem; color: #515844; }
.collection h1, .product h1, .cart h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: .55em; }
.breadcrumb { display: inline-block; margin-bottom: 1.2rem; font-size: .9rem; text-decoration: underline; }
.product { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: clamp(1.5rem, 7vw, 7rem); }
.price { font-size: 1.35rem; }
.options { display: grid; gap: .5rem; max-width: 390px; }
.options select { padding: .6em; background: white; border: 1px solid #8b8e80; margin-bottom: .5rem; }
.cart { max-width: 830px; }
.cart-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--line); padding: 1rem 0; }
.cart-row h2 { font-size: 1.55rem; margin: 0; }
.cart-row p { margin: 0; }
.text-button { background: none; border: 0; text-decoration: underline; }
footer { background: #ece9df; padding: 2rem 0; }
.footer-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer-row .wordmark { font-size: 2.2rem; }
.footer-row p { margin: 0; font-size: .85rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 0; left: 0; z-index: 2; padding: .6rem; background: white; }
@media (max-width: 760px) {
    .wrap { width: calc(100% - 36px); }
    .masthead-row { grid-template-columns: 1fr auto; gap: .8rem; padding-block: 14px; }
    .wordmark { grid-column: 1; grid-row: 1; justify-self: start; font-size: 2.65rem; }
    .search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    .nav { justify-content: flex-start; gap: .35rem 1rem; }
    .hero { background-position: 60% center; }
    .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .product { grid-template-columns: 1fr; }
}
