/* Palette pulled from Amy's logo: kraft cream, espresso brown, raspberry rose, wheat, rosemary green */
:root {
  --cream: #f3e8d6;
  --cream-2: #ead8c2;
  --paper: #fbf5ea;
  --ink: #2a1a14;
  --ink-soft: #6b4f40;
  --rose: #b84a5a;
  --rose-dark: #983a49;
  --wheat: #a67c52;
  --green: #5f7a4a;
  --line: #dcc8ad;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(42, 26, 20, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--ink);
  background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
a { color: var(--rose-dark); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--rose-dark); margin: 0 0 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(42, 26, 20, .96); backdrop-filter: blur(8px); color: var(--cream); border-bottom: 3px solid var(--rose); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.15rem; }
.brand img { height: 56px; width: auto; margin: 6px 0 -6px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.brand em { font-style: normal; color: #f0a3ae; }
.links { margin-left: auto; display: flex; gap: 26px; }
.links a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .9; }
.links a:hover { opacity: 1; color: #f0a3ae; }
.cart-btn { display: flex; align-items: center; gap: 8px; background: var(--rose); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font: 600 .92rem 'Inter', sans-serif; cursor: pointer; transition: background .15s; }
.cart-btn:hover { background: var(--rose-dark); }
.cart-btn b { background: #fff; color: var(--rose-dark); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .78rem; padding: 0 6px; }

/* buttons */
.btn { display: inline-block; background: var(--rose); color: #fff; border: 2px solid var(--rose); padding: 13px 26px; border-radius: 999px; font: 600 1rem 'Inter', sans-serif; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s; text-align: center; }
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn.block { display: block; width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #f9efe0 0%, transparent 60%), var(--cream); padding: 64px 0 72px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 52ch; margin: 0 0 26px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { border: 1.5px solid var(--wheat); color: var(--ink); padding: 5px 14px; border-radius: 999px; font-size: .86rem; font-weight: 500; background: rgba(255,255,255,.4); }
.hero-art { position: relative; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); border: 6px solid #fff; transform: rotate(1.5deg); }
.hero-amy { position: absolute; left: -64px; bottom: -34px; width: 250px; height: auto; filter: drop-shadow(0 10px 14px rgba(42,26,20,.35)); }

.strip { background: var(--ink); color: var(--cream); }
.strip-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 22px 0; }
.strip-in div { text-align: center; }
.strip-in strong { display: block; font-family: 'Fraunces', serif; font-size: 1.1rem; color: #f0a3ae; }
.strip-in span { font-size: .88rem; opacity: .85; }

/* sections */
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.sub { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* menu */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--wheat); }
.card.flavored::before { background: linear-gradient(90deg, var(--rose), var(--green)); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .tag { align-self: flex-start; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--green); background: #eaf0e2; padding: 3px 10px; border-radius: 999px; margin-top: 6px; }
.card.flavored .tag { color: var(--rose-dark); background: #f8e4e7; }
.card img.thumb { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }
.card h3 { font-size: 1.4rem; font-weight: 700; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; flex: 1; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.price { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 700; }
.add { background: var(--ink); color: var(--cream); border: 0; border-radius: 999px; padding: 10px 20px; font: 600 .92rem 'Inter', sans-serif; cursor: pointer; transition: background .15s; }
.add:hover { background: var(--rose); }
.note-other { text-align: center; color: var(--ink-soft); margin-top: 34px; }
.loading { color: var(--ink-soft); }

/* about */
.about { background: var(--cream); }
.about-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-photo img { border-radius: 24px; box-shadow: var(--shadow); border: 6px solid #fff; transform: rotate(-1.5deg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; }
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.sign { font-family: 'Fraunces', serif; font-size: 1.6rem !important; color: var(--rose-dark) !important; font-style: italic; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { text-align: center; padding: 8px 12px; }
.steps span { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--rose); color: #fff; font: 700 1.4rem 'Fraunces', serif; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* faq */
.faq { background: var(--cream); }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--rose); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: '\2212'; }
details p { margin: 0 0 18px; color: var(--ink-soft); }

/* footer */
.footer { background: var(--ink); color: var(--cream); padding: 40px 0; border-top: 4px solid var(--rose); }
.foot-in { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.foot-amy { width: 97px; height: auto; margin: -34px 0 -40px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4)); }
.foot-title { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; margin: 0; }
.foot-sub { margin: 0; opacity: .75; font-size: .9rem; }
.copy { margin: 0 0 0 auto; font-size: .85rem; opacity: .65; }

/* cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(20, 10, 6, .5); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 100%); background: var(--paper); z-index: 50; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .28s ease; box-shadow: -10px 0 40px rgba(0,0,0,.25); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; }
.x { background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.empty { text-align: center; color: var(--ink-soft); padding: 48px 0; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line b { font-family: 'Fraunces', serif; font-size: 1.05rem; }
.line .lp { font-weight: 600; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font-size: 1.1rem; cursor: pointer; line-height: 1; }
.qty button:hover { background: var(--ink); color: #fff; }
.rm { background: none; border: 0; color: var(--rose-dark); cursor: pointer; font-size: .85rem; text-decoration: underline; justify-self: end; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; background: #fff; }
.total { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 14px; }
.total strong { font-family: 'Fraunces', serif; font-size: 1.5rem; }
.secure { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }
.err { background: #fbe4e6; color: #8a2433; padding: 10px 12px; border-radius: 8px; font-size: .9rem; margin: 0 0 12px; }

.toast { position: fixed; left: 50%; top: 84px; transform: translate(-50%, -20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s; z-index: 60; font-weight: 500; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast { white-space: nowrap; }

/* thanks page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; background: var(--cream); }
.thanks img.thanks-amy { margin: 0 auto 16px; width: 200px; height: auto; filter: drop-shadow(0 8px 12px rgba(42,26,20,.3)); }
.thanks h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.thanks p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto 24px; }

@media (max-width: 880px) {
  .hero-in, .about-in { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 40px 0 60px; }
  .hero-art { max-width: 480px; margin-inline: auto; }
  .hero-amy { position: absolute; left: -64px; bottom: -34px; width: 250px; height: auto; filter: drop-shadow(0 10px 14px rgba(42,26,20,.35)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
  .cart-btn { margin-left: auto; }
  .section { padding: 60px 0; }
  .about-photo { max-width: 420px; margin-inline: auto; }
  .copy { margin-left: 0; }
}
@media (max-width: 520px) {
  .strip-in { grid-template-columns: 1fr; gap: 12px; }
  .grid { grid-template-columns: 1fr; }
  .brand span { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
