/* June Wagon Cookies: colors taken from the logo (brown line drawing, cookie tan, blush pink). */
:root {
  --cream: #fbf6f0;
  --paper: #ffffff;
  --band: #f5ebe1;
  --brown: #5e4129;
  --brown-soft: #7a5c43;
  --tan: #c4a083;
  --pink: #f4a0a0;
  --pink-deep: #ab4846;
  --line: #e7d9cb;
  --ok: #3f7a4f;
  --err: #b0413e;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--brown);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--brown-soft); border-color: var(--brown-soft); }
.btn-ghost { background: transparent; color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: #fff; }
.btn-small { padding: .5em 1.1em; font-size: .92rem; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(251, 246, 240, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.brand img { width: 54px; height: auto; }
.brand .wordmark { width: 200px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--brown); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--pink-deep); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 5vw, 64px);
  max-width: 1160px; margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(32px, 5vw, 64px);
}
.eyebrow { font-family: var(--hand); font-size: 1.5rem; color: var(--pink-deep); margin: 0 0 .2em; }
.lead { font-size: 1.15rem; color: var(--brown-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.hero-art { display: flex; justify-content: center; }
.hero-logo { width: min(440px, 100%); height: auto; }

/* Occasion chips */
.occasions {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 1000px; margin: 0 auto; padding: 0 16px 24px;
}
.occasions li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .4em 1em; font-size: .92rem; font-weight: 600;
}

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); }
.band { max-width: none; background: var(--band); }
.band > * { max-width: 1064px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head p { color: var(--brown-soft); }
.more { text-align: center; margin-top: 28px; color: var(--brown-soft); }
.note { text-align: center; max-width: 620px; margin: 28px auto 0; color: var(--brown-soft); font-style: italic; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(94, 65, 41, .08); }
.gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px 12px; font-size: .92rem; font-weight: 600; }

/* Corporate */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.6em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .8em; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.corp-art { position: relative; min-height: 360px; }
.corp-art img { position: absolute; width: 68%; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(94, 65, 41, .18); }
.corp-art img:first-child { top: 0; left: 0; transform: rotate(-3deg); }
.corp-art img:last-child { bottom: 0; right: 0; transform: rotate(4deg); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.steps p { color: var(--brown-soft); margin: 0; font-size: .97rem; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; font-family: var(--hand); font-size: 1.6rem; margin-bottom: 12px; }

/* About */
.about { grid-template-columns: .7fr 1.3fr; }
.about-mark { width: 100%; max-width: 360px; height: auto; margin: 0 auto; }

/* Order form */
.order-form { max-width: 720px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); display: grid; gap: 16px; }
.order-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-form label { display: block; font-weight: 700; font-size: .95rem; }
.order-form label > input, .order-form label > select, .order-form label > textarea { display: block; margin-top: 6px; }
.opt { font-weight: 400; color: var(--brown-soft); }
.order-form input, .order-form select, .order-form textarea {
  font: inherit; font-weight: 400; color: var(--brown);
  border: 1px solid var(--line); border-radius: 10px; padding: .65em .8em; background: var(--cream); width: 100%;
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: 2px solid var(--pink); outline-offset: 1px; border-color: var(--pink); }
.order-form .btn { justify-self: start; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }

/* Footer */
.footer { background: var(--brown); color: #f3e7dc; text-align: center; padding: 48px 16px 36px; }
.footer img { margin: 0 auto 16px; width: 220px; height: auto; }
.footer a { color: #fff; }
.footer .small { font-size: .85rem; opacity: .75; margin: 0; }

/* Tablet */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 720px) {
  .nav { display: none; }
  .topbar { justify-content: space-between; }
  .brand .wordmark { width: 140px; }
  .brand img { width: 44px; }
  .topbar { gap: 12px; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; }
  .hero-logo { width: 240px; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .split, .about { grid-template-columns: 1fr; }
  .corp-art { min-height: 300px; max-width: 380px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .order-form .row { grid-template-columns: 1fr; }
  .about-mark { max-width: 220px; }
}

/* Hand-piped vs printed */
.styles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.style-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.style-card > img, .photo-soon { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-soon { display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--band), var(--band) 12px, #efe2d5 12px, #efe2d5 24px); color: var(--brown-soft); font-family: var(--hand); font-size: 1.5rem; }
.style-body { padding: 22px 24px 24px; }
.style-body .eyebrow { margin-bottom: 0; }
.style-body p { color: var(--brown-soft); }
.style-body .best { margin: 0; color: var(--brown); font-size: .95rem; }
.footer .small + .small { margin-top: 6px; }
@media (max-width: 720px) { .styles { grid-template-columns: 1fr; } }

/* ---------- Multi-page additions (2026-10-10) ---------- */
.nav a[aria-current="page"] { color: var(--pink-deep); }
.hero-page { grid-template-columns: 1.1fr .9fr; }
.hero-page .corp-art { min-height: 380px; }
.section-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.card-link { margin: 1em 0 0; font-weight: 700; }
.card-link a { text-decoration: none; }
.small { font-size: .88rem; }

/* Phone menu */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--brown); border-radius: 2px; }
.menu nav { position: absolute; right: 0; top: 48px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(94, 65, 41, .18); padding: 8px; display: grid; min-width: 210px; }
.menu nav a { padding: 10px 14px; color: var(--brown); text-decoration: none; font-weight: 600; border-radius: 8px; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: var(--band); }

/* Grids of short cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; }
.feature-grid p { color: var(--brown-soft); font-size: .97rem; }
.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.occasion-grid article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.occasion-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.occasion-grid h3 { margin: 16px 20px 6px; }
.occasion-grid p { margin: 0 20px 20px; color: var(--brown-soft); font-size: .97rem; }
.occasions.wide { max-width: 860px; }

/* Flavors */
.flavor-chips { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; gap: 8px; }
.flavor-chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .3em .95em; font-weight: 700; font-size: .92rem; }
.flavor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flavor-grid article { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 10px; }
.flavor-grid p { color: var(--brown-soft); font-size: .97rem; }
.tag-new { position: absolute; top: 14px; right: 14px; background: var(--pink); color: #fff; font-size: .75rem; font-weight: 700; padding: .15em .7em; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.ingredients { max-width: 760px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px 10px; }
.ingredients p { color: var(--brown-soft); }
.ingredients strong { color: var(--brown); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--pink-deep); }
.faq-item[open] summary::after { content: "–"; }
.faq-item div { padding: 0 20px 16px; color: var(--brown-soft); }

/* Steps, long form */
.steps-long { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }

/* Form extras */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.order-form .btn:disabled { opacity: .6; cursor: wait; }

/* Footer links */
.foot-links { line-height: 2; }
.foot-links a { text-decoration: none; }

@media (max-width: 900px) {
  .feature-grid, .occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .menu { display: block; }
  .topbar > .btn-small { margin-left: auto; }
  .hero-page { grid-template-columns: 1fr; }
  .hero-page .hero-art, .hero-page .corp-art { order: 0; }
  .feature-grid, .occasion-grid, .flavor-grid, .steps-long { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .topbar > .btn-small { display: none; }
}
.gallery-head { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 40px 0 18px; }

/* Printed + piped feature */
.both { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.both img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: center 85%; }
.both > div { padding: 28px clamp(20px, 3vw, 36px) 28px 0; }
.both p { color: var(--brown-soft); }
@media (max-width: 720px) {
  .both { grid-template-columns: 1fr; }
  .both img { height: auto; max-height: 420px; }
  .both > div { padding: 0 20px 24px; }
}

/* Guides */
.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guide-card { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--brown); }
.guide-card img { width: 140px; height: 140px; object-fit: cover; }
.guide-card h2 { font-size: 1.15rem; margin: 0 0 .3em; }
.guide-card p { margin: 0 16px 0 0; color: var(--brown-soft); font-size: .95rem; }
.guide-card:hover h2 { color: var(--pink-deep); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose .lead { max-width: none; }
.prose-img { width: 100%; height: auto; border-radius: var(--radius); margin: 8px 0; }
.prose table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--band); }
.prose .faq { margin-top: 12px; }
@media (max-width: 720px) {
  .guide-list { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: 96px 1fr; }
  .guide-card img { width: 96px; height: 96px; }
  .prose table { font-size: .85rem; }
  .prose th, .prose td { padding: 8px; }
}
.occasions li a { color: inherit; text-decoration: none; }
.occasions li a:hover { color: var(--pink-deep); }
