:root {
  color-scheme: light;
  --paper: #f5f0e8;
  --paper-deep: #ebe3d5;
  --ink: #2d211a;
  --brown: #513a2e;
  --cocoa: #754e3c;
  --rust: #bd6846;
  --orange: #e29a61;
  --green: #66734e;
  --line: #dcd3c6;
  --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); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.announcement { min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--brown); color: #f8eee0; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.announcement span { color: var(--orange); font-size: 13px; }
.site-header { height: 78px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(81,58,46,.12); }
.wordmark { color: var(--brown); display: inline-flex; align-items: baseline; font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: -.065em; }
.wordmark span { font-style: italic; font-weight: 500; }
.wordmark i { color: var(--rust); font-size: 14px; font-style: normal; margin-left: 5px; }
.main-nav { display: flex; align-items: center; gap: 38px; height: 100%; }
.main-nav a,.footer-links a { color: #76665b; font-size: 12px; transition: color .2s; }
.main-nav a:hover,.main-nav a.active { color: var(--rust); }
.cart-button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--brown); border-radius: 30px; padding: 9px 14px; background: transparent; font-size: 11px; cursor: pointer; }
.cart-count { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: var(--brown); color: white; font-size: 10px; }
.cart-link { gap: 8px; }
.hero { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 536px; padding: 36px 7.2% 43px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 0 0 10px 5%; }
.eyebrow { margin: 0 0 16px; color: var(--rust); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
h1,h2,h3,p { margin-top: 0; }
.hero h1,.story-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(56px, 7.4vw, 93px); font-weight: 500; letter-spacing: -.065em; line-height: .99; }
.hero h1 em,.story-hero h1 em { color: var(--rust); font-weight: 500; }
.hero-description { max-width: 360px; margin: 23px 0 24px; color: #796a5e; font-size: 13px; line-height: 1.85; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 25px; padding: 0 19px; border: 1px solid transparent; border-radius: 2px; font-size: 11px; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--brown); color: #fffaf2; }
.button-dark:hover { background: #37271f; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: #88786b; font-family: var(--serif); font-size: 12px; font-style: italic; line-height: 1.45; }
.note-star { color: var(--rust); font-size: 26px; }
.hero-art { position: relative; min-height: 450px; overflow: hidden; background: #e9ddc8; }
.sun-shape { position: absolute; width: 59%; aspect-ratio: 1; top: 7%; left: 21%; border-radius: 50%; background: #d9a36f; }
.hero-art::before { position: absolute; inset: 0; background: repeating-linear-gradient(125deg, transparent 0 28px, rgba(255,255,255,.1) 29px 30px); content: ""; }
.hero-art::after { position: absolute; right: -12%; bottom: -30%; width: 110%; height: 67%; border-radius: 50% 50% 0 0; background: #bd8058; content: ""; }
.hero-cacao { position: absolute; z-index: 1; display: grid; place-items: center; width: 96px; height: 148px; border-radius: 50%; background: var(--green); box-shadow: inset -11px -1px rgba(26,49,25,.14), 0 13px 20px rgba(67,47,32,.12); color: #b5ad76; font-size: 59px; }
.cacao-one { left: 22%; top: 29%; transform: rotate(-35deg); }
.cacao-two { left: 56%; top: 18%; width: 78px; height: 126px; background: #9b5b41; transform: rotate(31deg); }
.hero-chocolate { position: absolute; z-index: 2; left: 35%; bottom: 4%; display: grid; grid-template-columns: repeat(3, 58px); gap: 5px; padding: 8px; transform: rotate(-15deg); border: 2px solid #553726; border-radius: 7px; background: #70452e; box-shadow: 0 14px 24px #533a2d40; }
.choc-square { width: 58px; height: 58px; border: 1px solid #563423; border-radius: 6px; background: linear-gradient(135deg,#835438,#603c29); box-shadow: inset 2px 2px 2px #9b6845, inset -2px -2px 3px #4a2e21; }
.art-caption { position: absolute; z-index: 3; right: 8%; bottom: 13%; color: #fff2dc; font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.2; transform: rotate(-8deg); }
.values-strip { min-height: 75px; display: flex; align-items: center; justify-content: space-evenly; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-strip div { display: flex; align-items: center; gap: 11px; color: #69594d; font-size: 11px; }
.value-icon { color: var(--rust); font-family: var(--serif); font-size: 14px; font-style: italic; }
.shop-section { padding: 95px 7.2% 102px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 11px; }
.section-heading h2,.about-copy h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(31px, 4vw, 44px); font-weight: 500; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 4px; color: #827366; font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1.5; }
.shop-notice { min-height: 0; margin: 0; color: #8a4f38; font-size: 12px; line-height: 1.5; }
.shop-notice:not(:empty) { margin: -15px 0 23px; }
.shop-notice.error { color: #9a392c; }
.category-menu { position: sticky; z-index: 5; top: 0; display: flex; flex-wrap: wrap; gap: 9px; margin: 0 -7.2% 38px; padding: 14px 7.2%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbf8f2ed; backdrop-filter: blur(12px); }
.category-button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; background: transparent; color: #69594d; font-size: 11px; text-decoration: none; cursor: pointer; transition: background .2s,color .2s,border-color .2s; }
.category-button span { color: #9a7b66; font-size: 9px; }
.category-button:hover { border-color: var(--brown); background: var(--brown); color: #fff8ec; }
.category-button:hover span { color: #fff8ec; }
.category-button:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
#product-grid { display: block; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.product-category-section { margin: 0 0 64px; scroll-margin-top: 100px; }
.category-heading { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 24px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.category-heading h3 { margin: 0; color: var(--brown); font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -.035em; }
.category-heading > span { color: #827366; font-size: 10px; }
.product-card { min-width: 0; }
.product-art { position: relative; display: grid; min-height: 300px; place-items: center; overflow: hidden; background: #dfc7a9; }
.product-art::before { position: absolute; inset: 0; background: radial-gradient(ellipse at 52% 40%,rgba(255,255,255,.23),transparent 60%); content: ""; }
.product-art-1 { background: #d4d8c5; }
.product-art-2 { background: #e6c8b9; }
.product-art-3 { background: #d9c5a9; }
.product-photo { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.product-origin { position: absolute; left: 17px; top: 17px; color: #695341; font-size: 8px; letter-spacing: .12em; line-height: 1.45; }
.product-wrapper { position: relative; display: grid; width: 139px; height: 205px; place-content: center; gap: 11px; background: #774b35; box-shadow: 12px 15px 21px #60422a40; color: #f3ddba; text-align: center; transform: rotate(-5deg); }
.product-art-1 .product-wrapper { background: #596747; color: #e9e4c6; transform: rotate(4deg); }
.product-art-2 .product-wrapper { background: #9d563f; transform: rotate(-3deg); }
.product-art-3 .product-wrapper { background: #c08a48; color: #fff2db; transform: rotate(5deg); }
.product-wrapper::before,.product-wrapper::after { position: absolute; inset: 9px; border: 1px solid #ffffff5c; content: ""; }
.product-wrapper span { font-family: var(--serif); font-size: 21px; font-style: italic; line-height: .91; }
.product-wrapper b { font-weight: 500; }
.product-wrapper i { font-size: 19px; font-style: normal; }
.product-weight { position: absolute; bottom: 14px; color: #645342; font-size: 8px; letter-spacing: .16em; }
.product-details { padding: 16px 1px 0; }
.product-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.product-title-row h3 { overflow: hidden; margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.product-title-row strong { flex: none; font-size: 12px; font-weight: 600; }
.product-details > p { min-height: 38px; margin: 8px 0 17px; color: #807165; font-size: 11px; line-height: 1.7; }
.product-action { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.stock-in,.stock-out { color: #67754f; font-size: 10px; }
.stock-out { color: #997d6c; }
.add-button { display: inline-flex; align-items: center; gap: 11px; padding: 7px 0 7px 10px; border: 0; background: transparent; color: var(--brown); font-size: 10px; font-weight: 600; cursor: pointer; }
.add-button span { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid var(--brown); border-radius: 50%; font-size: 15px; }
.add-button:disabled { color: #a4978b; cursor: not-allowed; }
.add-button:disabled span { border-color: #a4978b; }
.loading-card,.empty-shop { grid-column: 1/-1; padding: 45px 20px; text-align: center; color: #7e6e60; font-size: 12px; }
.loading-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--rust); animation: pulse 1s infinite alternate; }
@keyframes pulse { to { opacity: .25; transform: scale(.7); } }
.empty-shop > span { color: var(--rust); font-size: 26px; }
.empty-shop h3 { margin: 11px 0 8px; color: var(--brown); font-family: var(--serif); font-size: 23px; font-weight: 500; }
.empty-shop p { margin: 0; line-height: 1.6; }
.process-banner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px 70px; padding: 72px 13%; overflow: hidden; background: #e7dcc9; }
.process-banner h2 { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
.process-banner > p { max-width: 340px; margin: 20px 0 0; color: #756456; font-size: 12px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 15px; width: fit-content; border-bottom: 1px solid #98735b; padding: 0 0 7px; color: var(--brown); font-size: 11px; font-weight: 600; }
.banner-orbit { position: absolute; top: 50%; left: 49%; color: #c4865e; font-size: 150px; opacity: .22; transform: translate(-50%,-50%) rotate(-15deg); }
.newsletter-callout { position: relative; padding: 84px 20px 89px; text-align: center; }
.callout-sparkle { display: inline-block; margin-bottom: 13px; color: var(--rust); font-size: 24px; }
.newsletter-callout h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: -.035em; }
.newsletter-callout > p:not(.eyebrow) { margin: 0 0 22px; color: #827366; font-size: 12px; }
.button-outline { border-color: var(--brown); background: transparent; color: var(--brown); }
.button-outline:hover { background: #ece1d2; }
.site-footer { display: flex; min-height: 93px; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 7.2%; border-top: 1px solid var(--line); }
.wordmark-footer { font-size: 19px; }
.site-footer > p { margin: 0; color: #897a6c; font-family: var(--serif); font-size: 11px; font-style: italic; }
.footer-links { display: flex; gap: 18px; }
.footer-links a,.site-footer small { font-size: 10px; }
.site-footer small { color: #988a7e; }

.cart-backdrop { position: fixed; z-index: 10; inset: 0; background: #21181170; }
.cart-drawer { position: fixed; z-index: 11; top: 0; right: 0; display: flex; width: min(430px,100%); height: 100dvh; flex-direction: column; padding: 31px; background: var(--paper); box-shadow: -12px 0 35px #26180c1c; transform: translateX(105%); transition: transform .25s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.cart-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.cart-heading .eyebrow { margin-bottom: 6px; font-size: 9px; }
.cart-heading h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 23px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-empty { display: grid; justify-items: center; padding: 65px 15px; text-align: center; }
.cart-empty > span { color: var(--rust); font-size: 28px; }
.cart-empty h3 { margin: 15px 0 6px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.cart-empty p { color: #897a6c; font-size: 12px; }
.cart-line { display: flex; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.cart-line-art { display: grid; width: 62px; height: 78px; flex: none; place-items: center; background: #dfc7a9; color: #784b34; font-family: var(--serif); font-size: 25px; }
.cart-line-info { flex: 1; }
.cart-line-info h3 { margin: 2px 0 5px; font-family: var(--serif); font-size: 15px; font-weight: 500; }
.cart-line-info > span { color: #817365; font-size: 11px; }
.quantity-control { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11px; }
.quantity-control button:not(.remove-item) { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.quantity-control .remove-item { margin-left: auto; border: 0; background: transparent; color: #977e6d; font-size: 10px; text-decoration: underline; cursor: pointer; }
.cart-footer { padding-top: 19px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-size: 13px; }
.cart-total strong { font-size: 14px; }
.cart-disclaimer { margin: 9px 0 16px; color: #8b7d70; font-size: 10px; }
.checkout-button { width: 100%; }
.checkout-button:disabled { cursor: not-allowed; opacity: .55; }
.checkout-error { margin: 10px 0 0; color: #9a392c; font-size: 11px; line-height: 1.5; }
body.cart-open { overflow: hidden; }

.story-hero { position: relative; min-height: 414px; padding: 88px 14% 76px; overflow: hidden; background: #e9dfce; }
.story-hero h1 { position: relative; z-index: 1; font-size: clamp(56px,8vw,88px); }
.story-hero > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 405px; margin: 20px 0 0; color: #76685c; font-size: 13px; line-height: 1.8; }
.story-stamp { position: absolute; top: 69px; right: 17%; display: grid; width: 139px; height: 139px; align-content: center; border: 1px solid #9c765c; border-radius: 50%; color: #8d644b; font-family: var(--serif); font-size: 21px; font-style: italic; line-height: 1; text-align: center; transform: rotate(12deg); }
.story-stamp span { margin-top: 8px; color: var(--rust); font-size: 19px; }
.steps-section { padding: 80px 9% 99px; }
.steps-section .section-heading { margin-bottom: 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; }
.step-card { position: relative; padding-top: 17px; border-top: 1px solid var(--line); }
.step-card > span { position: absolute; top: 14px; right: 0; color: #a29283; font-family: var(--serif); font-size: 13px; font-style: italic; }
.step-illustration { display: grid; width: 100%; height: 128px; margin: 0 0 21px; place-items: center; background: #e7d9c4; color: #896041; font-size: 48px; }
.step-roast { background: #e6c7ac; color: #934f39; }
.step-grind { background: #d9dfcf; color: #68724e; font-family: var(--serif); }
.step-temper { background: #eddbca; color: #a25c40; }
.step-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.step-card p { margin: 0; color: #827366; font-size: 11px; line-height: 1.8; }
.process-quote { margin-top: 8px; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 9%; padding: 88px 13%; }
.about-art { position: relative; display: grid; min-height: 340px; place-items: center; overflow: hidden; background: #e4d4bd; color: #fff1dc; font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.4; text-align: center; }
.about-sun { position: absolute; top: 14%; width: 230px; height: 230px; border-radius: 50%; background: #d39a69; }
.about-heart { position: absolute; z-index: 1; top: 29%; color: #834f3d; font-size: 103px; }
.about-art span { position: absolute; z-index: 2; bottom: 13%; }
.about-copy .eyebrow { margin-bottom: 12px; }
.about-copy h2 { max-width: 410px; margin-bottom: 19px; font-size: 39px; line-height: 1.13; }
.about-copy > p:not(.eyebrow) { color: #7c6e61; font-size: 12px; line-height: 1.9; }
.about-copy .text-link { margin-top: 8px; }

@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 5%; }
  .wordmark { font-size: 20px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 10px; }
  .cart-button { padding: 7px 10px; font-size: 10px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 440px; padding: 32px 5%; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(49px,9vw,70px); }
  .hero-art { min-height: 355px; }
  .hero-chocolate { left: 27%; grid-template-columns: repeat(3,42px); }
  .choc-square { width: 42px; height: 42px; }
  .hero-cacao { width: 71px; height: 117px; }
  .cacao-two { width: 65px; height: 102px; }
  .values-strip { gap: 15px; padding: 15px 5%; }
  .values-strip div { gap: 7px; font-size: 9px; }
  .shop-section { padding: 70px 5%; }
  .category-menu { margin-right: -5%; margin-left: -5%; padding-right: 5%; padding-left: 5%; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 18px; }
  .product-art { min-height: 250px; }
  .process-banner { padding: 60px 8%; gap: 15px 30px; }
  .site-footer { flex-wrap: wrap; padding: 22px 5%; }
  .story-hero { padding: 76px 8% 68px; }
  .story-stamp { right: 8%; width: 111px; height: 111px; font-size: 17px; }
  .steps-section { padding: 65px 6%; }
  .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 20px; }
  .about-content { gap: 6%; padding: 65px 7%; }
}
@media (max-width: 520px) {
  .announcement { min-height: 28px; font-size: 8px; }
  .site-header { gap: 8px; }
  .wordmark { font-size: 18px; }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 9px; }
  .cart-button { gap: 5px; padding: 6px 8px; font-size: 9px; }
  .cart-count { width: 16px; height: 16px; font-size: 9px; }
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-copy { padding-bottom: 31px; }
  .hero h1 { font-size: 66px; }
  .hero-description { margin: 17px 0 19px; }
  .hero-note { display: none; }
  .hero-art { min-height: 300px; }
  .hero-chocolate { left: 35%; bottom: 0; }
  .values-strip { flex-wrap: wrap; justify-content: flex-start; gap: 10px 19px; }
  .values-strip div { width: calc(50% - 12px); }
  .values-strip div:last-child { width: 100%; }
  .section-heading { align-items: start; gap: 13px; flex-direction: column; margin-bottom: 25px; }
  .section-heading > p { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 29px; }
  .product-art { min-height: 280px; }
  .product-details > p { min-height: auto; }
  .process-banner { grid-template-columns: 1fr; gap: 10px; padding: 53px 8%; }
  .process-banner > p { margin: 9px 0 10px; }
  .banner-orbit { left: 76%; top: 33%; }
  .newsletter-callout { padding: 69px 18px; }
  .newsletter-callout h2 { font-size: 29px; }
  .site-footer { justify-content: center; text-align: center; }
  .site-footer > p { width: 100%; order: 2; }
  .footer-links { order: 3; }
  .site-footer small { width: 100%; order: 4; }
  .story-hero { min-height: 390px; padding: 68px 7%; }
  .story-hero h1 { font-size: 58px; }
  .story-hero > p:not(.eyebrow) { max-width: 78%; font-size: 12px; }
  .story-stamp { top: 39px; right: 4%; width: 83px; height: 83px; font-size: 13px; }
  .story-stamp span { margin-top: 4px; font-size: 14px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-illustration { height: 150px; }
  .about-content { grid-template-columns: 1fr; gap: 38px; padding: 56px 7%; }
  .about-art { min-height: 275px; }
  .about-copy h2 { font-size: 33px; }
}
