:root {
  --cream: #FBF4EA;
  --paper: #F4E7D3;
  --cocoa: #3B2416;
  --cocoa-2: #5A3a26;
  --caramel: #C8823A;
  --biscuit: #E9C9A0;
  --pista: #7F9A5A;
  --pista-soft: #E3EAD3;
  --rose: #D96C52;
  --ink: #2A1B11;
  --muted: #6E5646;
  --radius: 22px;
  --shadow: 6px 6px 0 var(--cocoa);
  --max: 1180px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(59,36,22,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; margin: 0 0 .5em; color: var(--cocoa); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
.kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--caramel); margin: 0 0 .9rem; }
section { padding: clamp(56px, 8vw, 104px) 20px; max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: 14px 24px; border-radius: 999px;
  background: var(--cocoa); color: var(--cream); text-decoration: none; font-weight: 700; border: 2px solid var(--cocoa);
  transition: transform .15s ease, box-shadow .15s ease; box-shadow: 4px 4px 0 var(--caramel); font: inherit; font-weight: 700; cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--caramel); }
.btn-ghost { background: transparent; color: var(--cocoa); box-shadow: none; }
.btn-ghost:hover { background: var(--paper); box-shadow: none; }
.btn-small { white-space: nowrap; padding: 9px 18px; font-size: .9rem; box-shadow: 3px 3px 0 var(--caramel); }
.btn-light { background: var(--cream); color: var(--cocoa); border-color: var(--cream); box-shadow: 4px 4px 0 var(--caramel); }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: var(--biscuit); box-shadow: none; }
.btn-wa { width: 100%; justify-content: center; background: #1F7A4A; border-color: #1F7A4A; box-shadow: 4px 4px 0 var(--cocoa); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px); background: rgba(251,244,234,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59,36,22,.1);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 800; font-size: 1.2rem; color: var(--cocoa); }
.brand em { color: var(--caramel); font-style: italic; font-weight: 400; }
.nav nav { display: flex; gap: 26px; }
.nav nav a { text-decoration: none; font-weight: 500; color: var(--cocoa-2); }
.nav nav a:hover { color: var(--caramel); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 80px); }
.swash { font-style: italic; font-weight: 400; color: var(--caramel); background: linear-gradient(transparent 70%, var(--pista-soft) 70%); padding: 0 .1em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; }
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; border: 3px solid var(--cocoa); box-shadow: 10px 10px 0 var(--caramel); aspect-ratio: 4/4.6; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute; display: grid; place-items: center; text-align: center; border-radius: 50%;
  font-family: var(--serif); line-height: 1.1; border: 2px dashed currentColor;
}
.sticker-a { width: 128px; height: 128px; left: -28px; bottom: 36px; background: var(--pista); color: var(--cream); transform: rotate(-12deg); font-size: .95rem; outline: 6px solid var(--pista); }
.sticker-a strong { font-size: 1.1rem; font-style: italic; }
.sticker-b { width: 96px; height: 96px; right: -14px; top: 28px; background: var(--rose); color: var(--cream); transform: rotate(10deg); font-size: 2rem; font-weight: 800; outline: 5px solid var(--rose); }
.sticker-b small { font-size: .75rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }

/* promise */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; border: 2px solid var(--cocoa); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.promise div { padding: 22px 24px; border-right: 2px dashed rgba(59,36,22,.25); }
.promise div:last-child { border-right: 0; }
.promise b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--cocoa); }
.promise span { color: var(--muted); font-size: .92rem; }

/* tabs */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 32px; max-width: 980px; }
.packs { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; }
.pack { display: flex; flex-direction: column; justify-content: center; padding: 14px 22px; border-radius: 16px; background: var(--paper); border: 2px dashed var(--cocoa); min-width: 120px; }
.pack-size { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pack-price { font-family: var(--serif); font-weight: 800; font-size: 2rem; color: var(--cocoa); line-height: 1.1; }
.pack-price.small { font-size: 1rem; font-weight: 600; }
.pack-alt { background: var(--pista-soft); border-style: solid; }
.brand img { object-fit: contain; }
.tabs button {
  text-align: left; padding: 18px 22px; border-radius: 16px; border: 2px solid var(--cocoa); background: transparent; cursor: pointer;
  font: inherit; color: var(--cocoa); transition: background .15s;
}
.tabs button[aria-selected=true] { background: var(--cocoa); color: var(--cream); box-shadow: 4px 4px 0 var(--caramel); }
.tabs button[aria-selected=false]:hover { background: var(--paper); }
.tab-title { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.tab-sub { font-size: .88rem; opacity: .8; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.card { background: #fff; border: 2px solid var(--cocoa); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card-img { aspect-ratio: 1; overflow: hidden; border-bottom: 2px solid var(--cocoa); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; flex: 1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tags span { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--pista-soft); color: #4C6233; }
.tags span:nth-child(2) { background: #F6DDD3; color: #8E3B27; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--cocoa); border-radius: 999px; overflow: hidden; background: var(--cocoa); color: var(--cream); }
.stepper button { border: 0; background: transparent; color: inherit; font-size: 1.3rem; width: 44px; height: 40px; cursor: pointer; }
.stepper button:hover { background: var(--cocoa-2); }
.stepper output { font-weight: 700; min-width: 24px; text-align: center; }
.allergen { margin-top: 32px; font-size: .9rem; color: var(--muted); padding: 14px 18px; border-left: 4px solid var(--caramel); background: var(--paper); border-radius: 0 12px 12px 0; }
[hidden] { display: none !important; }

/* pantry */
.pantry { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.pantry-img { border-radius: var(--radius); overflow: hidden; border: 3px solid var(--cocoa); transform: rotate(-1.5deg); box-shadow: 10px 10px 0 var(--pista); }
.pantry-copy > p { color: var(--muted); }
.jars { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.jars li { background: #fff; border: 1.5px solid rgba(59,36,22,.25); border-radius: 14px; padding: 10px 14px; font-size: .88rem; color: var(--muted); }
.jars span { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--cocoa); }

/* how */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px 24px; border-radius: var(--radius); background: var(--paper); border: 2px solid var(--cocoa); }
.steps p { color: var(--muted); margin: 0; }
.num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--caramel); color: var(--cream); font-family: var(--serif); font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; border: 2px solid var(--cocoa); }

/* gifting */
.gifting { max-width: none; background: var(--cocoa); color: var(--biscuit); border-radius: 0; text-align: center; position: relative; overflow: hidden; }
.gifting > div { max-width: 760px; margin: 0 auto; position: relative; }
.gifting h2 { color: var(--cream); }
.gifting .hero-cta { justify-content: center; }
.gifting::before, .gifting::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #D9984F, #B8732F); opacity: .25; }
.gifting::before { left: -80px; top: -80px; }
.gifting::after { right: -90px; bottom: -110px; }

/* story */
.story { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 960px; }
.story-badge img { width: clamp(150px, 22vw, 230px); transform: rotate(-8deg); filter: drop-shadow(8px 8px 0 var(--caramel)); }
.story p { color: var(--muted); }
.sign { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--caramel) !important; }

/* faq */
.faq { max-width: 820px; }
details { border-bottom: 2px dashed rgba(59,36,22,.2); padding: 6px 0; }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--cocoa); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--sans); font-size: 1.5rem; line-height: 1; color: var(--caramel); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 16px; color: var(--muted); }

/* footer */
.footer { background: var(--paper); border-top: 2px solid var(--cocoa); padding: 40px clamp(16px, 4vw, 40px) 110px; display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand p { margin: 0; color: var(--muted); }
.foot-brand b { font-family: var(--serif); color: var(--cocoa); font-size: 1.2rem; }
.foot-links { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.foot-links a { font-weight: 500; text-decoration: none; }
.foot-links a:hover { color: var(--caramel); }
.fine { grid-column: 1/-1; font-size: .82rem; color: var(--muted); margin: 0; }

/* box bar + drawer */
.boxbar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 12px; border-radius: 999px; background: var(--cocoa); color: var(--cream); border: 2px solid var(--cocoa);
  box-shadow: 5px 5px 0 var(--caramel); font: inherit; font-weight: 700; cursor: pointer; animation: pop .3s ease;
}
.boxbar-count { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; background: var(--caramel); }
@keyframes pop { from { transform: translate(-50%, 30px); opacity: 0; } }
.scrim { position: fixed; inset: 0; background: rgba(42,27,17,.45); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); z-index: 50; background: var(--cream);
  border-left: 3px solid var(--cocoa); transform: translateX(105%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; padding: 22px;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { margin: 0; font-size: 2rem; }
.x { font-size: 2rem; border: 0; background: none; cursor: pointer; color: var(--cocoa); width: 44px; height: 44px; }
.box-list { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.box-list li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid rgba(59,36,22,.25); border-radius: 14px; padding: 8px; }
.box-list img { border-radius: 10px; width: 48px; height: 48px; object-fit: cover; }
.bl-name { flex: 1; font-weight: 700; color: var(--cocoa); line-height: 1.2; }
.bl-name small { display: block; font-weight: 400; color: var(--muted); }
.box-list .stepper button { width: 34px; height: 32px; font-size: 1.1rem; }
.box-empty { color: var(--muted); }
.box-form { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.box-form label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 700; color: var(--cocoa); }
.box-form input, .box-form select, .box-form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid rgba(59,36,22,.35); border-radius: 10px; background: #fff; color: var(--ink); }
.box-form .fine { text-align: center; }

/* responsive */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .hero, .pantry { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .promise { grid-template-columns: 1fr 1fr; }
  .promise div:nth-child(2) { border-right: 0; }
  .promise div:nth-child(-n+2) { border-bottom: 2px dashed rgba(59,36,22,.25); }
  .steps { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; text-align: center; }
  .story-badge img { margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding-left: 16px; padding-right: 16px; }
  .promise { margin: 0 16px; }
  .tabs { grid-template-columns: 1fr; }
  .sticker-a { width: 104px; height: 104px; left: -6px; font-size: .8rem; }
  .sticker-b { right: -4px; }
  .jars { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr; }
  .foot-links { text-align: left; }
  .brand span { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* sizes / add buttons */
.sizes { display: flex; gap: 8px; }
.add {
  flex: 1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 0 6px; text-align: left;
  border: 2px dashed var(--cocoa); background: transparent; border-radius: 14px; font: inherit; color: var(--cocoa); cursor: pointer; padding: 8px 12px; min-height: 52px; transition: background .15s, color .15s;
}
.add:hover { background: var(--paper); border-style: solid; }
.add.in { background: var(--cocoa); color: var(--cream); border-style: solid; }
.add-size { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.add-price { font-family: var(--serif); font-weight: 800; font-size: 1.15rem; grid-row: 2; }
.add-plus { grid-row: 1 / span 2; grid-column: 2; font-size: 1.4rem; font-weight: 700; }
.add-qty { grid-row: 1 / span 2; grid-column: 2; font-weight: 800; background: var(--caramel); color: var(--cream); border-radius: 999px; padding: 2px 8px; font-size: .85rem; }
.add-qty:not([hidden]) + .add-plus { display: none; }
.add.bump { animation: bump .25s ease; }
@keyframes bump { 50% { transform: scale(1.06); } }
.card-img { position: relative; }
.real-badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--cream); color: var(--cocoa); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--cocoa); }
.pack-sub { font-size: .85rem; color: var(--muted); }
.pack-price small { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--muted); }
.box-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 12px 14px; background: var(--paper); border-radius: 12px; font-weight: 700; color: var(--cocoa); }
.box-total b { font-family: var(--serif); font-size: 1.5rem; }

/* love */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.quotes blockquote { margin: 0; padding: 22px 22px 18px; background: #fff; border: 2px solid var(--cocoa); border-radius: 20px 20px 20px 4px; box-shadow: 5px 5px 0 var(--pista); }
.quotes p { margin: 0 0 12px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.4; color: var(--cocoa); }
.quotes cite { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--caramel); }

/* gallery */
.gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.gal img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; border: 2px solid var(--cocoa); aspect-ratio: 1; }
.gal img:first-child { grid-row: span 2; aspect-ratio: auto; }
html, body { overflow-x: clip; }
@media (max-width: 700px) { .gal { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .gal img:first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) {
  .packs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pack { padding: 12px 14px; min-width: 0; }
  .pack-alt { grid-column: span 2; }
  .pack-price { font-size: 1.6rem; }
  .tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tabs button { padding: 12px 10px; border-radius: 12px; text-align: center; }
  .tab-title { font-size: .98rem; line-height: 1.15; }
  .tab-sub { display: none; }
}
