:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --white: #fffefa;
  --ink: #202b25;
  --muted: #777a71;
  --line: #e8e6df;
  --green: #31483b;
  --green-dark: #23352b;
  --orange: #bd694b;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.announcement { min-height: 31px; display: grid; place-items: center; padding: 6px 12px; background: var(--green); color: #fffefa; text-align: center; font-size: 10px; letter-spacing: .13em; }
.site-header { height: 77px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 20px; padding: 0 5.2%; background: var(--paper); }
.brand-link { display: inline-flex; width: fit-content; align-items: center; }
.brand-logo { display: block; width: 124px; height: auto; }
.main-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 42px); }
.main-nav a { font-size: 12px; transition: color .2s; }
.main-nav a:hover, .text-link:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.search-box { display: flex; align-items: center; gap: 8px; width: 148px; padding: 8px 0; border-bottom: 1px solid #d5d3cb; }
.search-box svg, .icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 11px; }
.search-box input::placeholder { color: #898a83; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.account-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 7px 0; border: 0; background: transparent; color: var(--ink); font-size: 10px; cursor: pointer; }
.account-trigger svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.account-trigger:hover { color: var(--orange); }
.cart-count { position: absolute; top: 0; right: 0; display: grid; min-width: 16px; height: 16px; place-items: center; padding: 0 4px; border-radius: 20px; background: var(--orange); color: white; font-size: 9px; }

.hero { position: relative; min-height: 510px; height: min(57vw, 620px); overflow: hidden; background: #858578; color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 54%; }
.hero-shade { background: linear-gradient(90deg, rgba(24, 34, 28, .63), rgba(24, 34, 28, .18) 62%, rgba(24, 34, 28, .04)); }
.hero-content { position: absolute; top: 50%; left: 11%; width: min(520px, 76%); transform: translateY(-50%); }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.hero-eyebrow { color: #f1e8d9; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(46px, 6vw, 78px); font-weight: 500; letter-spacing: -.045em; line-height: 1.03; }
.hero-content > p:not(.eyebrow) { margin-bottom: 27px; color: rgba(255,255,255,.86); font-size: 13px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 20px; border: 0; cursor: pointer; font-size: 11px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-1px); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: #f0eee6; }
.button-dark { background: var(--green); color: white; }
.button-dark:hover { background: var(--green-dark); }
.hero-note { position: absolute; right: 5.5%; bottom: 24px; font-size: 9px; letter-spacing: .12em; }

.benefits { min-height: 76px; display: flex; align-items: center; justify-content: center; gap: clamp(32px, 9vw, 132px); border-bottom: 1px solid var(--line); background: var(--white); }
.benefits > div { display: flex; align-items: center; gap: 10px; color: #545a51; font-size: 10px; }
.benefit-icon { color: var(--orange); font-size: 17px; }
.shop-section { padding: 85px 7.5% 92px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading .eyebrow { margin-bottom: 11px; }
.section-heading h2, .story-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 47px); font-weight: 500; letter-spacing: -.035em; }
.sort-control select { min-width: 145px; padding: 10px 24px 10px 10px; border: 0; border-bottom: 1px solid #d5d3cb; border-radius: 0; background: transparent; color: var(--ink); font-size: 10px; cursor: pointer; }
.shop-toolbar { min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 10px 0 12px; border-bottom: 1px solid var(--line); }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; }
.category-chip { padding: 8px 13px; border: 1px solid transparent; border-radius: 30px; background: transparent; color: #6b6d66; font-size: 10px; cursor: pointer; transition: .2s; }
.category-chip:hover { border-color: #d7d4cb; }
.category-chip.active { border-color: var(--green); background: var(--green); color: white; }
.product-count { margin: 0; color: var(--muted); font-size: 10px; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 18px; }
.product-image-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 4.65; background: #ebe9e1; }
.product-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image { transform: scale(1.035); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; background: var(--white); color: #484c43; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.quick-add { position: absolute; right: 11px; bottom: 11px; left: 11px; min-height: 39px; border: 0; background: rgba(255,254,250,.96); color: var(--ink); font-size: 10px; cursor: pointer; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s, background .2s; }
.product-card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: white; }
.product-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding-top: 12px; }
.product-name { margin: 0 0 5px; font-size: 11px; font-weight: 500; }
.product-category { margin: 0; color: var(--muted); font-size: 9px; }
.product-price { margin: 0; font-size: 11px; font-weight: 600; white-space: nowrap; }
.empty-results { padding: 72px 16px; text-align: center; }
.empty-results > span { color: var(--orange); font-size: 24px; }
.empty-results h3 { margin: 12px 0 6px; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.empty-results p { color: var(--muted); font-size: 12px; }
.text-button { padding: 6px 0; border: 0; border-bottom: 1px solid var(--green); background: transparent; color: var(--green); font-size: 11px; cursor: pointer; }

.story-section { display: grid; grid-template-columns: 1.12fr 1fr; min-height: 400px; background: #eeece4; }
.story-image-wrap { min-height: 400px; overflow: hidden; }
.story-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }
.story-copy { align-self: center; max-width: 440px; padding: 50px clamp(35px, 8vw, 115px); }
.story-copy .eyebrow { margin-bottom: 13px; }
.story-copy h2 { margin-bottom: 18px; font-size: clamp(36px, 4vw, 49px); line-height: 1.12; }
.story-copy > p:not(.eyebrow) { max-width: 350px; margin-bottom: 24px; color: #66695f; font-size: 12px; line-height: 1.9; }
.text-link { font-size: 10px; font-weight: 600; transition: color .2s; }
.text-link span { padding-left: 7px; color: var(--orange); }
.site-footer { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 7.5%; background: var(--green-dark); color: #f8f7f3; }
.footer-brand-link .brand-logo { width: 112px; }
.site-footer > p, .site-footer > span { margin: 0; color: rgba(255,255,255,.72); font-size: 10px; }

.overlay { position: fixed; z-index: 20; inset: 0; background: rgba(22,28,24,.42); }
.overlay[hidden] { display: none; }
.cart-drawer { position: fixed; z-index: 21; top: 0; right: 0; bottom: 0; display: flex; width: min(440px, 100%); flex-direction: column; padding: 28px; background: var(--paper); box-shadow: -10px 0 40px rgba(0,0,0,.08); transform: translateX(102%); transition: transform .28s ease; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header, .checkout-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer-header .eyebrow, .checkout-header .eyebrow { margin-bottom: 7px; }
.drawer-header h2, .checkout-header h2 { margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 500; }
#drawer-count { color: var(--muted); font-family: var(--sans); font-size: 11px; }
.close-drawer, #close-checkout { margin-top: -6px; font-size: 26px; font-weight: 300; }
.cart-items { flex: 1; overflow: auto; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 76px; height: 88px; object-fit: cover; background: #ebe9e1; }
.cart-item-info { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.cart-item-info strong { font-size: 11px; font-weight: 500; }
.cart-item-info > span { color: var(--muted); font-size: 10px; }
.quantity-control { display: flex; width: fit-content; align-items: center; border: 1px solid var(--line); }
.quantity-control button { width: 26px; height: 25px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.quantity-control span { min-width: 20px; text-align: center; font-size: 10px; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; padding: 3px 0; }
.cart-item-side strong { font-size: 11px; }
.remove-item { padding: 4px 0; border: 0; border-bottom: 1px solid #cbc9c1; background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; }
.cart-empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-bag-icon { color: var(--orange); font-size: 37px; }
.cart-empty h3 { margin: 14px 0 6px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.cart-empty p { margin-bottom: 20px; color: var(--muted); font-size: 11px; }
.cart-empty .button { min-height: 42px; }
.cart-footer { padding-top: 18px; border-top: 1px solid var(--line); }
.subtotal-row { display: flex; justify-content: space-between; font-size: 12px; }
.subtotal-row strong { font-size: 13px; }
.shipping-note, .demo-note { color: var(--muted); font-size: 9px; }
.shipping-note { margin: 8px 0 16px; }
.checkout-button { width: 100%; justify-content: space-between; }
.demo-note { margin: 9px 0 0; text-align: center; }

.checkout-modal { position: fixed; z-index: 22; top: 50%; left: 50%; width: min(460px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 26px; background: var(--paper); box-shadow: 0 18px 70px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transform: translate(-50%, -47%); transition: opacity .2s, transform .2s; }
.checkout-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.checkout-intro { margin: 17px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
#checkout-form { display: grid; gap: 8px; }
#checkout-form label { margin-top: 6px; font-size: 10px; font-weight: 600; }
#checkout-form input, #checkout-form textarea { width: 100%; padding: 10px; border: 1px solid #dddbd3; border-radius: 0; outline-color: var(--green); background: var(--white); font-size: 12px; resize: vertical; }
#checkout-form .button { margin-top: 13px; }
.auth-modal { position: fixed; z-index: 22; top: 50%; left: 50%; width: min(440px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 28px 32px 22px; background: var(--paper); box-shadow: 0 18px 70px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transform: translate(-50%, -47%); transition: opacity .2s, transform .2s; }
.auth-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.auth-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.auth-header .brand-logo { width: 112px; }
.auth-header .icon-button { font-size: 26px; font-weight: 300; }
.auth-eyebrow { margin-bottom: 8px; }
.auth-modal > h2 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -.03em; }
.auth-intro { margin: 8px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.auth-tab { padding: 11px 6px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.auth-tab.active { border-bottom-color: var(--green); color: var(--green); font-weight: 600; }
.auth-form { display: grid; gap: 8px; padding-top: 17px; }
.auth-form[hidden] { display: none; }
.auth-form label { margin-top: 3px; font-size: 10px; font-weight: 600; }
.auth-form input { width: 100%; padding: 11px; border: 1px solid #dddbd3; border-radius: 0; outline-color: var(--green); background: var(--white); font-size: 11px; }
.auth-submit { width: 100%; justify-content: space-between; margin-top: 9px; }
.auth-demo-note { margin: 17px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.toast { position: fixed; z-index: 30; right: 22px; bottom: 22px; max-width: calc(100% - 44px); padding: 13px 18px; background: var(--green-dark); color: white; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
body.no-scroll { overflow: hidden; }

@media (max-width: 850px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 16px; padding: 0 4%; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 10px; }
  .search-box { width: 115px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-section { padding-right: 5%; padding-left: 5%; }
}
@media (max-width: 620px) {
  .announcement { min-height: 29px; font-size: 9px; }
  .site-header { height: auto; min-height: 68px; grid-template-columns: 1fr auto; row-gap: 0; padding: 11px 5%; }
  .brand-logo { width: 112px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 22px; overflow-x: auto; padding: 11px 0 2px; }
  .main-nav a { flex: 0 0 auto; font-size: 10px; }
  .header-actions { grid-column: 2; grid-row: 1; gap: 7px; }
  .search-box { width: min(30vw, 130px); }
  .account-trigger { gap: 0; }
  .account-trigger span { display: none; }
  .hero { min-height: 510px; height: 74vh; max-height: 660px; }
  .hero-image { object-position: 57% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(24,34,28,.58), rgba(24,34,28,.08)); }
  .hero-content { left: 7%; width: 88%; }
  .hero h1 { font-size: clamp(47px, 12vw, 68px); }
  .hero-note { right: 7%; bottom: 18px; font-size: 8px; }
  .benefits { justify-content: flex-start; gap: 24px; overflow-x: auto; padding: 0 5%; }
  .benefits > div { flex: 0 0 auto; font-size: 9px; }
  .shop-section { padding: 61px 5% 66px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { max-width: 240px; font-size: 35px; }
  .sort-control select { min-width: auto; max-width: 124px; padding-left: 0; font-size: 9px; }
  .shop-toolbar { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 0; }
  .category-list { gap: 4px; }
  .category-chip { padding: 7px 10px; font-size: 9px; }
  .product-count { align-self: flex-end; font-size: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 11px; }
  .product-image-wrap { aspect-ratio: 4 / 4.8; }
  .product-badge { top: 8px; left: 8px; padding: 5px 7px; font-size: 7px; }
  .quick-add { right: 7px; bottom: 7px; left: 7px; min-height: 34px; font-size: 9px; opacity: 1; transform: none; }
  .product-name, .product-price { font-size: 10px; }
  .product-meta { padding-top: 9px; }
  .story-section { grid-template-columns: 1fr; }
  .story-image-wrap { min-height: 280px; max-height: 340px; }
  .story-copy { max-width: none; padding: 39px 8% 45px; }
  .site-footer { min-height: 150px; flex-wrap: wrap; gap: 11px 20px; padding: 25px 6%; }
  .site-footer > p { order: 3; width: 100%; }
  .cart-drawer { padding: 22px; }
  .auth-modal { padding: 23px 22px 18px; }
}
@media (hover: none) {
  .quick-add { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
