:root {
  color-scheme: light;
  --paper: #f7f4eb;
  --ink: #272c20;
  --olive: #4d5837;
  --muted: #565748;
  --line: #d9d5c6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
figure, p { margin: 0; }
a { color: inherit; }
button { color: inherit; font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible { outline: 2px solid #725037; outline-offset: 4px; }
.skip { position: absolute; z-index: 1; left: 1rem; top: 1rem; padding: .8rem; background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: none; }
.shell { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; min-height: 4.4rem; align-items: center; gap: .35rem clamp(.75rem, 2.5vw, 2rem); padding-block: .45rem; }
.header-inner > .wordmark { justify-self: start; }
.wordmark { text-decoration: none; font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.12rem); letter-spacing: -.07em; line-height: 1; }
.wordmark span { color: #697452; }
nav { display: flex; flex-wrap: wrap; justify-self: end; gap: 0 clamp(.85rem, 3vw, 2.1rem); }
nav a, .back { font-size: .86rem; font-weight: 600; text-decoration: none; }
nav a { display: flex; min-height: 44px; align-items: center; }
nav a:hover, .back:hover { text-decoration: underline; text-underline-offset: .3em; }
.cart-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .35rem .7rem; background: transparent; border: 1px solid var(--line); color: var(--olive); font-size: .86rem; font-weight: 700; }
.cart-badge { display: grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding-inline: .28rem; border-radius: 2rem; background: var(--olive); color: #fffdf6; font-size: .72rem; font-variant-numeric: tabular-nums; }
.hero { display: grid; gap: 2.25rem; padding-block: 2.75rem 3.3rem; }
.hero-copy { align-self: center; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--olive); font-size: .69rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 1.65rem; height: 1px; background: currentColor; }
.hero-copy .eyebrow span { width: .45rem; height: .45rem; flex: none; border-radius: 50%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
h1 { margin-block: 1.15rem 1.25rem; font-family: var(--sans); font-size: clamp(2.15rem, 10.6vw, 3.6rem); line-height: 1.04; }
h1 em { color: var(--olive); font-family: var(--serif); }
.hero-description { max-width: 41ch; font-size: 1rem; line-height: 1.65; color: var(--muted); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: .95rem; margin-top: 1.65rem; padding: .9rem 1.17rem; background: var(--olive); color: #fffdf6; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background-color .2s ease; }
.cta:hover { background: #394229; }
.cta svg { flex: none; }
.hero-art { align-self: center; min-width: 0; }
.hero-art img { display: block; width: 100%; height: auto; }
.catalogue { border-top: 1px solid var(--line); padding-block: 2.85rem 3.8rem; }
.section-head { display: grid; gap: .95rem; align-items: end; margin-bottom: 1.65rem; }
h2 { margin-top: .6rem; font-size: clamp(2.7rem, 7vw, 4.6rem); line-height: 1.05; }
.catalogue-note { max-width: 30ch; color: var(--muted); line-height: 1.55; font-size: .93rem; }
.products { display: grid; gap: 1.85rem; }
.product-visual { min-width: 0; aspect-ratio: 1.17; display: grid; position: relative; place-content: center; justify-items: center; gap: .38rem; color: #414533; }
.tone-sand { background: #ece4d4; }
.tone-olive { background: #e2e5d5; }
.tone-clay { background: #eee1d9; }
.product-visual::after { content: ""; position: absolute; inset: .68rem; border: 1px solid #4145332e; pointer-events: none; }
.product-index { position: absolute; top: 1.12rem; left: 1.17rem; font-size: .72rem; letter-spacing: .1em; }
.product-icon { width: 3.1rem; height: 3.1rem; stroke: currentColor; stroke-width: 1.2; }
.placeholder-label { font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.product-meta { padding-top: .88rem; }
.product-meta h3 { font-size: 1.39rem; letter-spacing: -.035em; }
.product-meta p { margin-top: .35rem; color: var(--muted); line-height: 1.5; font-size: .83rem; }
.product-meta .price { margin-top: .53rem; }
.price span { color: var(--olive); font-weight: 700; }
.add-to-cart { display: inline-flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 44px; margin-top: .9rem; padding: .45rem .7rem; border: 1px solid var(--olive); background: transparent; color: var(--olive); font-size: .83rem; font-weight: 700; }
.add-to-cart span { font-size: 1.14rem; line-height: 1; }
.add-to-cart:hover, .cart-toggle:hover, .cart-close:hover, .cart-stepper button:not(:disabled):hover { background: #e9eada; }
.brand { background: #e9eada; border-block: 1px solid #d8dcc8; }
.brand-inner { display: grid; gap: 1.45rem; padding-block: 2.6rem 3rem; align-items: center; }
.brand-mark { display: grid; grid-auto-flow: column; place-content: center; justify-self: start; width: 5.6rem; aspect-ratio: 1; border: 1px solid #8a9476; border-radius: 50%; color: var(--olive); font-family: var(--serif); font-size: 3.25rem; letter-spacing: -.12em; }
.brand-mark span { margin-left: .07em; font-size: .6em; }
.brand-copy > p:not(.eyebrow) { max-width: 44ch; margin-top: .85rem; line-height: 1.65; }
.brand-copy .brand-note { font-size: .83rem; color: var(--muted); }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .9rem 1.35rem; min-height: 6.2rem; padding-block: 1.2rem; }
.footer p { font-size: .8rem; color: var(--muted); }
.back { display: inline-flex; gap: .4em; padding-block: .75rem; }

.cart-panel { position: fixed; inset: 0 0 0 auto; width: min(100%, 27rem); max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.cart-panel[open] { display: flex; flex-direction: column; }
.cart-panel::backdrop { background: #272c2073; }
body:has(.cart-panel[open]) { overflow: hidden; }
.cart-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.cart-heading h2 { font-size: 2.8rem; }
.cart-count { margin-top: .45rem; color: var(--muted); font-size: .88rem; }
.cart-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; }
.cart-content { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: .2rem 1.5rem; }
.cart-empty { padding-block: 2rem; }
.cart-empty h3, .cart-line h3 { font-size: 1.45rem; }
.cart-empty p, .cart-price { margin-top: .35rem; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.cart-items { margin: 0; padding: 0; list-style: none; }
.cart-line { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-top: .75rem; }
.cart-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.cart-stepper button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; font-size: 1.15rem; }
.cart-stepper button:disabled { opacity: .45; }
.cart-quantity { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.cart-remove { min-height: 44px; padding-inline: .25rem; border: 0; background: transparent; color: var(--muted); font-size: .82rem; text-decoration: underline; text-underline-offset: .2em; }
.cart-summary { padding: 1.25rem 1.5rem max(1.25rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #e9eada; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; font-size: .9rem; }
.cart-return { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: .95rem; padding: .65rem; background: var(--olive); color: #fffdf6; font-size: .9rem; font-weight: 600; text-align: center; text-decoration: none; }
.cart-return:hover { background: #394229; }
@media (max-width: 29rem) {
  .header-inner { grid-template-columns: 1fr auto; row-gap: 0; padding-bottom: .1rem; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .cart-toggle { grid-column: 2; grid-row: 1; }
}
@media (min-width: 35rem) {
  .shell { width: min(100% - 4.5rem, 74rem); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-inner { grid-template-columns: auto 1fr; gap: clamp(2.6rem, 8vw, 6rem); }
  .brand-mark { width: clamp(6rem, 14vw, 10rem); font-size: clamp(4rem, 9vw, 6rem); }
}
@media (min-width: 54rem) {
  .header-inner { min-height: 5.3rem; }
  .hero { grid-template-columns: 1fr 1.14fr; gap: 2.7rem; padding-block: 3.55rem 4rem; }
  h1 { font-size: clamp(2.75rem, 5.25vw, 4.6rem); }
  .hero-description { font-size: 1.12rem; }
  .catalogue { padding-block: 3.7rem 4.6rem; }
  .section-head { grid-template-columns: 1fr auto; margin-bottom: 2rem; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .brand-inner { padding-block: 3.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
}
