:root {
  /* beige with subtle hints of brown */
  --cream: #f6efe4;
  --cream-2: #ebe1d1;
  --sand: #e2d4bf;
  --sand-soft: #eee4d4;
  --tan: #d4bfa2;
  --brown: #6f5440;
  --espresso: #4a3628;
  --mocha: #9a7d62;
  --ink: #3b2c22;
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  /* menu links scroll natively (smooth on phones); sections land just under
     the sticky header, whose live height script.js keeps in --nav-h */
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h, 105px);
}
#how, #about, #contact { scroll-margin-top: 16px; }

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; color: var(--brown); line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2.1rem, 5vw, 3rem); text-align: center; font-weight: 700; }
a { color: var(--espresso); }

section { padding: 5rem 1.25rem; }
.section-sub { text-align: center; max-width: 560px; margin: 0 auto 2.5rem; }

/* small spaced capitals, like "SOURDOUGH - BUTTER - KOMBUCHA" */
.caps {
  font-family: "Jost", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
  color: var(--ink);
}
.eyebrow { text-align: center; margin: 0 0 .5rem; color: var(--mocha); }
.script, .script-heading { font-family: "Pinyon Script", cursive; color: var(--espresso); font-weight: 400; }
.script { font-size: 1.5em; line-height: 1; white-space: nowrap; }
.script-heading { font-size: clamp(2.6rem, 7vw, 3.8rem); }

/* ---------- stripes ---------- */
.stripes-orange {
  background: repeating-linear-gradient(90deg, var(--cream) 0 34px, var(--tan) 34px 62px);
}
.stripes-yellow {
  background: repeating-linear-gradient(90deg, var(--cream) 0 22px, var(--sand) 22px 40px);
}
.band {
  position: relative; overflow: hidden;
  height: 34px; border-top: 2px solid var(--brown); border-bottom: 2px solid var(--brown);
  background: var(--cream);
}
/* the stripes slide left whenever you scroll, up or down (script.js);
   one stripe (62px) wider so it can loop */
.band-strip {
  position: absolute; top: 0; bottom: 0; left: 0; right: -62px;
  background-image: linear-gradient(90deg, var(--cream) 0 34px, var(--tan) 34px 62px);
  background-size: 62px 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem;
  padding: .8rem 1.5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-2);
}
.logo { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.4rem; color: var(--brown); text-decoration: none; }
.logo span { font-family: "Pinyon Script", cursive; font-weight: 400; color: var(--espresso); }
.nav nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav nav a {
  font-family: "Jost", sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  text-decoration: none; color: var(--ink); padding: .3rem 0; border-bottom: 1px solid transparent;
}
.nav nav a:hover { border-bottom-color: var(--mocha); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  font-family: "Jost", sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem;
  padding: .85rem 1.8rem; border-radius: 999px; border: 1.5px solid var(--brown);
  transition: background .2s, color .2s;
}
.btn-solid { background: var(--brown); color: var(--cream); }
.btn-solid:hover { background: #5c4434; }
.btn-line { background: transparent; color: var(--brown); }
.btn-line:hover { background: var(--brown); color: var(--cream); }
.btn.disabled { opacity: .5; cursor: default; }

/* ---------- hero ---------- */
.hero { display: flex; justify-content: center; padding: 3.5rem 1.25rem 4rem; }
.label { position: relative; width: min(100%, 440px); aspect-ratio: 400 / 520; }
.label-frame { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 10px 18px rgba(80, 50, 20, .15)); }
.label-inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 14% 12% 16%;
}
.label-inner .caps { margin: 0; font-size: clamp(.8rem, 2.6vw, 1rem); line-height: 1.35; color: var(--ink); }
h1 {
  font-family: "Playfair Display", serif; font-weight: 800;
  font-size: clamp(3.4rem, 15vw, 5.6rem);
  line-height: .95; margin: .3em 0; letter-spacing: -.02em;
  transform: scaleX(.82);
}

/* ---------- intro & monogram ---------- */
.intro { text-align: center; max-width: 680px; margin: 0 auto; }
.intro-text { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 0; }

.monogram {
  position: relative; width: 120px; height: 110px; margin: 0 auto 1.5rem;
  border: 1.5px solid var(--mocha); border-radius: 50% / 46%;
  color: var(--mocha);
}
.monogram::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid var(--mocha); border-radius: inherit; opacity: .6;
}
.m-serif { position: absolute; left: 28px; top: 8px; font-family: "Playfair Display", serif; font-size: 62px; font-weight: 500; line-height: 1; }
.m-script { position: absolute; left: 50px; top: 32px; font-family: "Pinyon Script", cursive; font-size: 62px; line-height: 1; }
.monogram.small { width: 76px; height: 70px; margin-bottom: 1rem; }
.monogram.small .m-serif { left: 18px; top: 5px; font-size: 38px; }
.monogram.small .m-script { left: 32px; top: 20px; font-size: 38px; }

/* ---------- menu ---------- */
.menu { max-width: 1100px; margin: 0 auto; }
/* "What's for sale?" sits evenly between the striped bar and the cards */
.menu h2 { margin-bottom: 0; }
/* arrow matches the heading's size and stroke weight, and takes up no space
   (negative bottom margin) so the cards stay where they were */
.down-arrow {
  --arrow-h: clamp(2.1rem, 5vw, 3rem);
  --arrow-gap: calc(var(--arrow-h) * .3);
  display: block; width: calc(var(--arrow-h) * .58); height: var(--arrow-h);
  margin: var(--arrow-gap) auto calc(-1 * (var(--arrow-h) + var(--arrow-gap)));
  fill: none; stroke: var(--brown); stroke-width: 5.5; stroke-linecap: butt; stroke-linejoin: miter;
}
.menu-grid { margin-top: calc(5rem + 3px); }
/* when jumping to Shop, the striped separator (34px tall) sits flush under the header */
#menu { scroll-margin-top: 34px; }
.menu-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--cream);
  border: 1.5px solid var(--espresso);
  outline: 1px solid var(--espresso); outline-offset: 5px;
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem;
  margin: 6px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.card-icon {
  width: 84px; height: 84px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: var(--sand-soft); border-radius: 50%;
}
.card-icon svg { width: 52px; height: 52px; fill: none; stroke: var(--mocha); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.45rem; margin: 0 0 .3rem; }
.price { font-family: "Jost", sans-serif; letter-spacing: .1em; color: var(--espresso); margin: 0 0 .3rem; }
.desc { margin: .2rem 0 1.4rem; flex: 1; }
.pay-extras { text-align: center; margin-top: 2.5rem; }

/* ---------- how ---------- */
.how { max-width: 1100px; margin: 0 auto; padding-top: 2rem; }
.steps {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.steps li { text-align: center; padding: 0 1rem; }
.step-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1rem;
  border: 1.5px solid var(--mocha); border-radius: 50%;
  font-family: "Playfair Display", serif; font-size: 1.2rem; color: var(--mocha);
}
.steps h3 { font-size: 1.35rem; }
.steps p { margin: 0; }

/* ---------- about ---------- */
.about { padding: 4.5rem 1.25rem; border-top: 2px solid var(--mocha); border-bottom: 2px solid var(--mocha); }
.about-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--sand-soft);
  border: 1.5px solid var(--espresso);
  outline: 1px solid var(--espresso); outline-offset: -9px;
  border-radius: 28px; padding: 3rem 2.5rem;
  box-shadow: 0 10px 24px rgba(80, 50, 20, .15);
}
.about-card .eyebrow { color: var(--espresso); }
.about-card .script-heading { margin-bottom: .1em; }
.about-welcome { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.35rem; color: var(--brown); margin-top: 0; }
.about-signoff { font-family: "Pinyon Script", cursive; font-size: 2rem; line-height: 1.2; color: var(--espresso); margin: 1.2rem 0 0; }

/* ---------- contact (business card) ---------- */
.biz-card {
  max-width: 640px; margin: 0 auto;
  background: #fbf7f0;
  border: 1.5px solid var(--espresso);
  border-radius: 28px;
  padding: 2.5rem 3rem 2rem;
  box-shadow: 0 12px 30px rgba(80, 50, 20, .12);
}
.biz-card .script-heading { text-align: center; margin-bottom: .6em; }
.biz-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.biz-cols p { margin: 0 0 1rem; }
.biz-cols a { text-decoration: none; overflow-wrap: anywhere; }
.biz-cols a:hover { text-decoration: underline; }
.shop-again { text-align: center; margin-top: 3rem; }

/* ---------- footer ---------- */
.footer {
  text-align: center; padding: 3rem 1rem 2.5rem;
  background: var(--brown); color: var(--cream);
}
.footer .monogram { color: var(--sand); border-color: var(--sand); }
.footer .monogram::before { border-color: var(--sand); }
.footer .caps { color: var(--sand-soft); margin: 0 0 .4rem; }
.footer .copy { margin: 0; font-size: 1rem; }
.footer .credit { margin: .6rem 0 0; font-size: .85rem; opacity: .7; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  body { font-size: 1.12rem; }
  section { padding: 3.5rem 1rem; }
  .menu-grid { margin-top: calc(3.5rem + 2px); }
  .nav { justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .about-card { padding: 2.5rem 1.5rem; }
  .biz-card { padding: 2rem 1.5rem 1.25rem; }
  .biz-cols { grid-template-columns: 1fr; text-align: center; }
}
