:root {
  --canvas: #f7f1e8;
  --surface: #fffdf9;
  --ink: #1d1d1a;
  --muted: #6e6c65;
  --line: #ded8cd;
  --forest: #24452f;
  --sage: #cdd9bf;
  --clay: #b56c4f;
  --ochre: #d0a34e;
  --blue: #2869c9;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 16px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }

.announcement { padding: 10px 24px; background: var(--forest); color: #fff; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.announcement-short { display: none; }
.site-header { height: 76px; padding: 0 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(247,241,232,.94); backdrop-filter: blur(12px); }
.brand { width: fit-content; text-decoration: none; font-weight: 700; letter-spacing: .18em; font-size: 1.08rem; }
nav { display: flex; gap: 32px; }
nav a, footer a { text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cart-button { border: 0; border-radius: 99px; padding: 12px 17px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 600; }
.cart-button span { margin-left: 7px; min-width: 22px; height: 22px; border-radius: 50%; background: var(--canvas); color: var(--ink); display: inline-grid; place-items: center; font-size: .78rem; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; padding: 54px 5vw 70px; gap: 5vw; align-items: center; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 18px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font: 400 clamp(4rem, 7.1vw, 7.2rem)/.92 var(--serif); letter-spacing: -.035em; }
h1 em { color: var(--clay); font-weight: 400; }
.hero-text { max-width: 520px; margin-bottom: 34px; color: var(--muted); font-size: 1.14rem; line-height: 1.65; }
.primary-button, .secondary-button, .checkout-button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; border: 0; border-radius: 99px; padding: 0 24px; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary-button { background: var(--blue); color: #fff; }
.primary-button:hover, .checkout-button:hover { filter: brightness(.92); }

.hero-art { min-height: 525px; position: relative; overflow: hidden; border-radius: 44px; background: #d6d4c7; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.sun-disc { position: absolute; width: 250px; height: 250px; border-radius: 50%; background: var(--ochre); right: -45px; top: -45px; }
.vase { position: absolute; left: 17%; bottom: 11%; width: 148px; height: 270px; border-radius: 50% 50% 38% 38% / 34% 34% 14% 14%; background: var(--forest); transform: rotate(-4deg); box-shadow: inset 12px -8px 0 rgba(0,0,0,.08); }
.vase:before { content:""; position: absolute; top: -30px; left: 40px; width: 68px; height: 55px; border-radius: 12px 12px 45% 45%; background: var(--forest); }
.vase span, .vase span:before, .vase span:after { position: absolute; content:""; width: 2px; height: 180px; background: #394d2c; top: -175px; left: 75px; transform-origin: bottom; }
.vase span:before { top: 0; left: 0; transform: rotate(-24deg); }
.vase span:after { top: 0; left: 0; transform: rotate(22deg); }
.book-stack { position: absolute; right: 9%; bottom: 11%; display: grid; gap: 8px; }
.book-stack i { display: block; width: 235px; height: 46px; background: #765044; border-radius: 4px 14px 14px 4px; box-shadow: inset 7px 0 0 #efe7da; }
.book-stack i:nth-child(2) { width: 205px; margin-left: 16px; background: #e2b95b; }
.book-stack i:nth-child(3) { width: 220px; margin-left: 5px; background: #f0e1cb; }
.cup { position: absolute; right: 25%; bottom: 39%; width: 105px; height: 105px; border-radius: 10px 10px 42px 42px; background: #f7f1e8; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.cup:after { content:""; position:absolute; right:-35px; top:16px; width:48px; height:52px; border:12px solid #f7f1e8; border-left:0; border-radius:0 50% 50% 0; }
.cup span { position:absolute; width:2px; height:48px; background:rgba(255,255,255,.7); top:-57px; left:42px; transform:rotate(-8deg); box-shadow:20px -8px 0 rgba(255,255,255,.5); }
.hero-art > p { position:absolute; top:33px; left:36px; font: 400 1.45rem/1.15 var(--serif); }

.trust-row { margin: 0 5vw; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-row p { margin: 0; padding: 0 28px; display: grid; gap: 5px; border-right: 1px solid var(--line); }
.trust-row p:first-child { padding-left: 0; }
.trust-row p:last-child { border: 0; }
.trust-row strong { font-size: .95rem; }
.trust-row span { color: var(--muted); font-size: .83rem; }

.shop-section { padding: 105px 5vw 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading h2, .story-copy h2, .cart-head h2 { margin-bottom: 0; font: 400 clamp(2.8rem, 5vw, 5rem)/1 var(--serif); letter-spacing: -.03em; }
.sort-control { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .88rem; }
.sort-control select { min-width: 185px; appearance: none; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%231d1d1a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; border-radius: 99px; padding: 11px 40px 11px 16px; color: var(--ink); }
.search-panel { display:none; margin: 38px 0 4px; padding: 22px; border-radius: 22px; background: var(--forest); color: white; }
.search-panel.open { display: block; animation: reveal .2s ease; }
.search-panel label { display:block; margin-bottom:10px; font-size:.8rem; font-weight:700; }
.search-panel div { display:flex; gap:8px; }
.search-panel input { width:100%; min-height:48px; border:0; border-radius:12px; padding:0 16px; background:#fff; color:var(--ink); }
.search-panel button { border:1px solid rgba(255,255,255,.45); border-radius:12px; padding:0 17px; background:transparent; color:#fff; cursor:pointer; }
.category-list { display: flex; gap: 9px; flex-wrap: wrap; margin: 36px 0 18px; }
.category-list button { border: 1px solid #bfb8ac; background: transparent; border-radius: 99px; padding: 10px 17px; cursor: pointer; }
.category-list button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.result-count { margin-bottom: 20px; color: var(--muted); font-size: .86rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 18px; }
.product-card { min-width: 0; }
.product-visual { position: relative; aspect-ratio: 1 / 1.12; overflow: hidden; border-radius: 30px; background: var(--product-bg); }
.product-visual img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-visual img { transform: scale(1.035); }
.product-badge { position: absolute; top: 15px; left: 15px; padding: 7px 10px; background: var(--surface); border-radius: 99px; font-size: .72rem; font-weight: 700; }
.quick-add { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border:0; border-radius:50%; background:var(--ink); color:#fff; font-size:1.45rem; cursor:pointer; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.product-info { display:grid; grid-template-columns:1fr auto; gap:6px 10px; padding:16px 5px 0; }
.product-info h3 { margin:0; font-size:1rem; font-weight:600; }
.product-info .price { font-weight:600; }
.product-info p { margin:0; color:var(--muted); font-size:.82rem; }
.rating { grid-column: 2; color:var(--muted); font-size:.78rem; text-align:right; }
.empty-state { text-align:center; padding:90px 20px; border:1px solid var(--line); border-radius:28px; background:rgba(255,255,255,.35); }
.empty-state h3 { font:2rem var(--serif); margin-bottom:8px; }
.empty-state p { color:var(--muted); }
.secondary-button { background: var(--forest); color:#fff; }

.story-section { margin: 0 5vw 110px; display: grid; grid-template-columns: 1.2fr .8fr; background: var(--forest); color: #fff; border-radius: 40px; overflow: hidden; }
.story-image { min-height: 480px; position:relative; background: #b5aa93; overflow:hidden; }
.story-image:before { content:""; position:absolute; width:380px; height:380px; border-radius:50%; background:#d8b763; left:-70px; top:-80px; }
.story-image:after { content:""; position:absolute; width:230px; height:330px; border-radius:48% 48% 18% 18%; background:#7e4436; right:15%; bottom:-30px; transform:rotate(8deg); box-shadow: -150px 82px 0 -65px #ece4d6; }
.story-image span { position:absolute; width:125px; height:200px; border-radius:14px; background:#e9dfcb; right:17%; bottom:90px; z-index:2; transform:rotate(-8deg); box-shadow:0 18px 40px rgba(0,0,0,.12); }
.story-copy { padding: 70px clamp(36px, 5vw, 76px); align-self:center; }
.story-copy h2 { margin-bottom:25px; }
.story-copy > p:not(.eyebrow) { color:#d8dfd5; line-height:1.7; font-size:1.05rem; }
.story-copy a { display:inline-block; margin-top:12px; color:#fff; text-underline-offset:5px; }

footer { padding: 65px 5vw 34px; background:#19191c; color:#fff; display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:start; }
.footer-brand { font-size:1.2rem; }
footer p { color:#bcbcc0; text-align:right; }
footer div { display:flex; gap:24px; }
footer small { color:#8c8c91; text-align:right; }

.scrim { position:fixed; inset:0; z-index:40; background:rgba(29,29,26,.36); backdrop-filter:blur(3px); }
.cart-drawer { position:fixed; z-index:50; top:0; right:0; width:min(470px, 100%); height:100%; padding:30px; background:var(--surface); transform:translateX(102%); transition:transform .35s ease; display:flex; flex-direction:column; box-shadow:-18px 0 50px rgba(0,0,0,.12); }
.cart-drawer.open { transform:translateX(0); }
.cart-head { display:flex; align-items:start; justify-content:space-between; padding-bottom:24px; border-bottom:1px solid var(--line); }
.cart-head .eyebrow { margin-bottom:8px; }
.cart-head h2 { font-size:2.25rem; }
.cart-head .icon-button { font-size:1.6rem; }
.cart-items { flex:1; overflow:auto; }
.cart-item { display:grid; grid-template-columns:78px 1fr auto; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.cart-thumb { border-radius:14px; background:var(--product-bg); overflow:hidden; }
.cart-thumb img { width:100%; height:100%; display:block; object-fit:cover; }
.cart-item h3 { margin:4px 0 4px; font-size:.93rem; }
.cart-item p { margin:0 0 10px; color:var(--muted); font-size:.8rem; }
.quantity { display:flex; width:92px; border:1px solid var(--line); border-radius:99px; align-items:center; justify-content:space-between; }
.quantity button { width:30px; height:30px; border:0; background:transparent; cursor:pointer; }
.quantity span { font-size:.85rem; }
.remove-item { border:0; background:transparent; color:var(--muted); text-decoration:underline; cursor:pointer; align-self:start; font-size:.78rem; }
.cart-empty { margin:auto; text-align:center; color:var(--muted); }
.cart-empty p { font:1.8rem var(--serif); color:var(--ink); margin-bottom:8px; }
.cart-footer { padding-top:22px; border-top:1px solid var(--line); }
.cart-footer > div { display:flex; justify-content:space-between; font-size:1.05rem; }
.cart-footer p { color:var(--muted); font-size:.78rem; margin:9px 0 18px; }
.checkout-button { width:100%; background:var(--blue); color:#fff; }
.toast { position:fixed; z-index:60; left:50%; bottom:24px; transform:translate(-50%, 30px); opacity:0; padding:13px 18px; border-radius:99px; background:var(--ink); color:#fff; font-size:.88rem; pointer-events:none; transition:.25s ease; }
.toast.show { opacity:1; transform:translate(-50%, 0); }
body.drawer-open { overflow:hidden; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline:3px solid rgba(40,105,201,.45); outline-offset:3px; }
@keyframes reveal { from { opacity:0; transform:translateY(-7px); } }

@media (max-width: 980px) {
  .hero { grid-template-columns:1fr; padding-top:65px; }
  .hero-copy { max-width:760px; }
  .hero-art { min-height:470px; }
  .product-grid { grid-template-columns:repeat(2, 1fr); }
  .story-section { grid-template-columns:1fr 1fr; }
}

@media (max-width: 680px) {
  .announcement { font-size:.66rem; padding-inline:12px; }
  .announcement-wide { display:none; }
  .announcement-short { display:inline; }
  .site-header { height:66px; grid-template-columns:1fr auto; padding:0 18px; }
  .site-header nav { display:none; }
  .icon-button { width:40px; height:40px; }
  .cart-button { padding:10px 13px; }
  .hero { min-height:auto; padding:48px 18px 58px; gap:42px; }
  h1 { font-size:clamp(3.6rem, 17vw, 5rem); }
  .hero-text { font-size:1rem; }
  .hero-art { min-height:390px; border-radius:28px; }
  .sun-disc { width:200px; height:200px; }
  .vase { transform:scale(.78) rotate(-4deg); transform-origin:bottom left; }
  .book-stack { transform:scale(.72); transform-origin:bottom right; }
  .cup { right:26%; bottom:36%; transform:scale(.8); }
  .trust-row { margin:0 18px; grid-template-columns:1fr; }
  .trust-row p, .trust-row p:first-child { padding:18px 0; border-right:0; border-bottom:1px solid var(--line); }
  .trust-row p:last-child { border-bottom:0; }
  .shop-section { padding:78px 18px 88px; }
  .section-heading { display:block; }
  .sort-control { margin-top:28px; justify-content:space-between; }
  .sort-control select { min-width:190px; }
  .product-grid { grid-template-columns:repeat(2, minmax(0,1fr)); gap:27px 10px; }
  .product-visual { border-radius:20px; }
  .product-info { grid-template-columns:1fr; }
  .product-info .price { grid-row:2; }
  .rating { grid-column:1; text-align:left; }
  .product-info p { display:none; }
  .quick-add { width:40px; height:40px; }
  .story-section { margin:0 18px 72px; grid-template-columns:1fr; border-radius:28px; }
  .story-image { min-height:360px; }
  .story-copy { padding:48px 30px 54px; }
  footer { grid-template-columns:1fr; padding:52px 24px 30px; }
  footer p, footer small { text-align:left; }
  .cart-drawer { padding:22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *:before, *:after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
