:root {
  --ristretto: #1F120E;
  --roast: #2E1C16;
  --roast-line: #4A3226;
  --rose: #D8B4B8;
  --rose-soft: #EBD3D5;
  --ivory: #FAF4EC;
  --champagne: #F1E6D8;
  --gold: #A8875A;
  --gold-light: #E6CBA0;
  --ink: #1F120E;
  --ink-soft: #6B5446;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Announcement bar and masthead */
.announce {
  background: var(--ristretto);
  color: var(--rose);
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 9px 16px;
  border-bottom: 0.5px solid var(--roast-line);
}
.announce-sep {
  display: inline-block;
  width: 24px;
  height: 0.5px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 12px;
}

.masthead {
  background: var(--ristretto);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 14px 40px;
  border-bottom: 0.5px solid var(--roast-line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.monogram { width: 44px; height: 50px; overflow: visible; flex: none; }
.mono-s { font-family: 'Playfair Display', 'Bodoni Moda', Georgia, serif; font-size: 158px; text-anchor: middle; }
.mono-amp { font-family: 'Pinyon Script', cursive; font-size: 104px; text-anchor: middle; }
.mono-cut { stroke: var(--ristretto); stroke-width: 5; paint-order: stroke; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; }
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #EED4B0;
}
.script { font-family: 'Pinyon Script', cursive; font-size: 20px; line-height: 1; color: #E2BE90; margin-top: 1px; }

.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 30px; }
.nav a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--rose);
  text-decoration: none;
  transition: color .2s;
}
.nav a:hover { color: var(--gold-light); }
.nav .nav-order { color: var(--gold-light); }

/* Hero: espresso satin */
.hero {
  color: var(--ivory);
  padding: 56px 16px 72px;
  background:
    linear-gradient(118deg, transparent 22%, rgba(230, 203, 160, .07) 38%, transparent 52%, rgba(216, 180, 184, .06) 70%, transparent 84%),
    radial-gradient(120% 90% at 50% 0%, #3A241C 0%, var(--ristretto) 70%);
}
.hero-frame {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 52px 28px 56px;
  border: 1px solid var(--gold);
  outline: 0.5px solid var(--gold);
  outline-offset: 5px;
}
.hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 500; color: var(--ivory); }
.hero h1 em { display: block; font-style: italic; font-weight: 400; color: var(--rose); }
.lede { max-width: 540px; margin: 22px auto 0; color: var(--champagne); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-rose { background: var(--rose); color: var(--ristretto); border-color: var(--rose); }
.btn-rose:hover { background: var(--rose-soft); border-color: var(--rose-soft); }
.btn-line { background: transparent; color: var(--gold-light); border-color: var(--gold); }
.btn-line:hover { background: rgba(168, 135, 90, .14); }
.btn-dark { background: var(--ristretto); color: var(--ivory); border-color: var(--ristretto); }
.btn-dark:hover { background: var(--roast); }
.btn-block { display: block; width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Promise bar */
.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px 16px;
  border-bottom: 0.5px solid var(--gold);
}
.promise { text-align: center; padding: 6px 18px; }
.promise + .promise { border-left: 0.5px solid rgba(168, 135, 90, .5); }
.promise h2 { font-size: 22px; }
.promise p { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }

/* Sections */
.section { max-width: var(--wrap); margin: 0 auto; padding: 88px 16px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(34px, 5vw, 50px); }
.section-head p:not(.eyebrow) { margin: 16px 0 0; color: var(--ink-soft); }

.price-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  margin: -12px 0 44px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.price-line span { padding: 0 20px; text-align: center; }
.price-line span + span { border-left: 0.5px solid var(--gold); }

.flavors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flavor {
  position: relative;
  background: #FFFBF6;
  border: 0.5px solid var(--gold);
  outline: 0.5px solid rgba(168, 135, 90, .45);
  outline-offset: -7px;
  padding: 34px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.seal {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 0 3px #FFFBF6, 0 0 0 4px var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ivory);
}
.flavor h3 { font-size: 25px; }
.flavor > p { margin: 12px 0 18px; font-size: 14.5px; color: var(--ink-soft); }
.flavor dl { margin: auto 0 0; padding-top: 16px; border-top: 0.5px solid rgba(168, 135, 90, .5); }
.flavor dl div + div { margin-top: 10px; }
.flavor dt { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.flavor dd { margin: 2px 0 0; font-family: var(--serif); font-style: italic; font-size: 18px; }

/* Loaf */
.loaf {
  background: var(--ristretto);
  color: var(--ivory);
  padding: 88px 16px;
  text-align: center;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.loaf-inner { max-width: 640px; margin: 0 auto; }
.loaf h2 { font-size: clamp(34px, 5vw, 50px); }
.loaf p { color: var(--champagne); }
.loaf-price { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--rose) !important; margin: 18px 0 0; }
.loaf .fine { font-size: 14px; color: var(--gold-light); margin: 4px 0 28px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.steps li { text-align: center; padding: 0 6px; }
.numeral {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  color: var(--gold);
  line-height: 1;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 0.5px solid var(--gold);
}
.steps h3 { font-size: 24px; }
.steps p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-soft); }

/* Order builder */
.order { padding-top: 40px; }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.group + .group { margin-top: 44px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--gold); }
.group-head h3 { font-size: 32px; }
.group-head p { margin: 0; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); }
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(168, 135, 90, .5);
}
.row-name { display: flex; align-items: center; gap: 14px; }
.row-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 2px var(--ivory), 0 0 0 2.5px var(--gold); flex: none; }
.row-name h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.2; }
.stepper { display: inline-flex; align-items: center; border: 0.5px solid var(--gold); background: #FFFBF6; }
.stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-family: var(--sans);
  cursor: pointer;
}
.stepper button:hover { background: var(--champagne); }
.stepper button:disabled { color: #C9BBAA; cursor: default; background: transparent; }
.stepper output { min-width: 34px; text-align: center; font-family: var(--serif); font-size: 19px; }

.summary {
  position: sticky;
  top: 16px;
  background: #FFFBF6;
  border: 0.5px solid var(--gold);
  outline: 0.5px solid rgba(168, 135, 90, .45);
  outline-offset: -7px;
  padding: 30px 28px;
}
.summary h3 { font-size: 28px; text-align: center; margin-bottom: 16px; }
.totals { margin: 0; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; }
.totals dt { color: var(--ink-soft); }
.totals dd { margin: 0; font-weight: 400; }
.totals .grand { border-top: 0.5px solid var(--gold); margin-top: 6px; padding-top: 12px; }
.totals .grand dt, .totals .grand dd { font-family: var(--serif); font-size: 24px; color: var(--ink); font-weight: 500; }
.fulfil { border: 0; border-top: 0.5px solid rgba(168, 135, 90, .5); border-bottom: 0.5px solid rgba(168, 135, 90, .5); margin: 12px 0; padding: 14px 0; }
.fulfil legend { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); padding: 0 8px 0 0; }
.fulfil label { display: flex; gap: 10px; align-items: center; font-size: 14.5px; padding: 4px 0; cursor: pointer; }
.fulfil input, .check input { accent-color: var(--ristretto); width: 16px; height: 16px; }
.status { font-size: 13.5px; min-height: 22px; margin: 12px 0 14px; color: #8A4A4F; text-align: center; }
.status.ok { color: var(--ink-soft); }

/* Labels */
.labels { border-top: 0.5px solid var(--gold); }
.label-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 0.5px solid rgba(168, 135, 90, .5); }
.label-grid div { padding: 22px 20px; border-bottom: 0.5px solid rgba(168, 135, 90, .5); }
.label-grid div:not(:nth-child(3n+1)) { border-left: 0.5px solid rgba(168, 135, 90, .5); }
.label-grid h3 { font-size: 20px; }
.label-grid p { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }
.statement { max-width: 680px; margin: 36px auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-soft); }

/* Event details form */
.details { background: var(--ristretto); color: var(--ivory); padding: 88px 16px; border-top: 1px solid var(--gold); }
.details-inner { max-width: 760px; margin: 0 auto; }
.details .section-head p:not(.eyebrow) { color: var(--champagne); }
.form-order {
  border: 0.5px solid var(--gold);
  padding: 18px 22px;
  margin-bottom: 30px;
  font-size: 14.5px;
  color: var(--champagne);
}
.form-order p { margin: 0; }
.form-order a { color: var(--rose); }
.form-order ul { list-style: none; margin: 0; padding: 0; }
.form-order li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.form-order .form-total { border-top: 0.5px solid var(--roast-line); margin-top: 8px; padding-top: 10px; color: var(--ivory); font-weight: 400; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.fields label { display: flex; flex-direction: column; gap: 7px; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-light); }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields textarea {
  font: 300 16px var(--sans);
  letter-spacing: normal;
  text-transform: none;
  color: var(--ivory);
  background: var(--roast);
  border: 0.5px solid var(--roast-line);
  border-bottom-color: var(--gold);
  padding: 12px 14px;
  border-radius: 0;
  width: 100%;
  color-scheme: dark;
}
.fields input::placeholder { color: #8C7666; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--rose); }
.fields .invalid { border-color: #D98A92; }
.check { display: flex; gap: 10px; align-items: center; margin: 24px 0 8px; font-size: 14.5px; color: var(--champagne); cursor: pointer; }
.check a { color: var(--rose); }
.check input { accent-color: var(--rose); }
.form-error { color: #E8A3AA; font-size: 14px; min-height: 22px; margin: 6px 0 16px; }
.thanks { text-align: center; border: 1px solid var(--gold); outline: 0.5px solid var(--gold); outline-offset: 5px; padding: 40px 24px; }
.thanks h3 { font-size: 36px; color: var(--rose); font-style: italic; font-weight: 400; }
.thanks p { color: var(--champagne); margin: 10px 0 0; }

/* Footer */
.footer { background: var(--ristretto); color: var(--champagne); text-align: center; padding: 56px 16px 32px; border-top: 0.5px solid var(--roast-line); }
.monogram-small { width: 56px; height: 62px; }
.wordmark-small { display: block; font-size: 20px; margin: 10px 0 0; }
.script-small { font-size: 26px; margin: 0 0 36px; }
.footer-cols { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; text-align: left; }
.footer h4 { margin: 0 0 12px; font-size: 10.5px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.footer-cols a, .footer-cols p { display: block; margin: 0 0 6px; font-size: 14px; text-decoration: none; color: var(--champagne); }
.footer-cols a:hover { color: var(--rose); }
.copyright { margin: 44px 0 0; font-size: 11px; letter-spacing: 2px; color: #8C7666; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* About the baker */
.nav a[aria-current="page"] { color: var(--gold-light); text-decoration: underline; text-decoration-thickness: 0.5px; text-underline-offset: 6px; }
.about { background: #FAF1EF; }
.baker-hero { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 180px) 16px clamp(84px, 11vw, 130px); background: radial-gradient(ellipse 70% 90% at 50% 20%, #4A2E22 0%, var(--ristretto) 72%); }
.baker-hero-text { position: relative; z-index: 1; text-align: center; color: var(--ivory); }
.baker-hero-text .eyebrow { color: var(--gold-light); }
.baker-hero h1 {
  font-size: clamp(46px, 9vw, 112px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  padding-left: 0.12em;
  color: #FFF8F0;
}
.baker-school { margin: 30px 0 0; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); }
.baker-tagline { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); color: var(--rose-soft); }

.about-intro { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.about-intro-head h2 { font-size: clamp(36px, 4.6vw, 54px); }
.about-intro-head h2 em { display: block; font-style: italic; font-weight: 400; color: #9A6B6F; }
.intro-photo { margin-top: 36px; max-width: 380px; justify-self: start; }
.intro-photo img { object-position: 50% 30%; }
.about-intro-body p { margin: 0 0 18px; font-size: 17.5px; color: #4A362C; }
.about-intro-body p:first-child { font-family: var(--serif); font-size: 26px; line-height: 1.4; color: var(--ink); }

.baker-rules { background: var(--ristretto); color: var(--ivory); padding: 88px 16px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.baker-rules .steps { max-width: var(--wrap); margin: 0 auto; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.baker-rules .section-head p:not(.eyebrow) { color: var(--champagne); }
.baker-rules .steps h3 { color: var(--ivory); }
.baker-rules .steps p { color: var(--champagne); }
.baker-rules .numeral { color: var(--gold-light); }

.rules-layout { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 4fr 7fr; gap: 72px; align-items: center; }
.rules-photo { max-width: 400px; justify-self: center; }
.rules-photo img { object-position: 50% 55%; }
.rules-layout .section-head { text-align: left; margin: 0 0 36px; max-width: none; }
.baker-rules .rules-layout .steps { grid-template-columns: 1fr; gap: 26px; max-width: none; }
.rules-layout .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; text-align: left; padding: 0; }
.rules-layout .numeral { grid-row: span 2; align-self: start; border-bottom: 0; border-right: 0.5px solid var(--gold); margin: 0; padding: 4px 18px 4px 0; text-align: center; }
.about-kitchen { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.arch { margin: 0; border-radius: 999px 999px 0 0; overflow: hidden; border: 1px solid var(--gold); outline: 0.5px solid var(--gold); outline-offset: 6px; aspect-ratio: 4 / 5; max-width: 440px; justify-self: center; width: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-kitchen-text h2 { font-size: clamp(34px, 4.4vw, 50px); margin-bottom: 18px; }
.about-kitchen-text p:not(.eyebrow) { margin: 0 0 16px; font-size: 17px; color: #4A362C; }
.text-link { display: inline-block; margin-top: 8px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 0.5px solid var(--gold); padding-bottom: 4px; }
.text-link:hover { color: var(--gold); }

.about-cta { text-align: center; padding: 80px 16px 88px; border-top: 0.5px solid var(--gold); }
.about-cta h2 { font-size: clamp(36px, 5vw, 54px); font-style: italic; font-weight: 400; margin-bottom: 28px; }

/* Live box preview */
.builder { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 40px; }
.stage-col { position: sticky; top: 16px; }
.stage {
  background:
    linear-gradient(118deg, transparent 20%, rgba(230, 203, 160, .07) 40%, transparent 58%),
    radial-gradient(120% 90% at 50% 0%, #3A241C 0%, var(--ristretto) 75%);
  border: 1px solid var(--gold);
  outline: 0.5px solid var(--gold);
  outline-offset: 5px;
  padding: 26px 24px 28px;
  color: var(--ivory);
  max-height: calc(100vh - 40px);
  overflow: hidden;
}
.stage-head .eyebrow { color: var(--gold-light); margin-bottom: 6px; }
.stage-count { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font-family: var(--serif); font-size: 22px; color: var(--ivory); }
.stage-total { font-size: 28px; color: var(--rose); }
.meter { height: 3px; background: rgba(230, 203, 160, .18); margin: 12px 0 6px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.meter-note { margin: 0 0 18px; font-size: 12px; letter-spacing: 1.5px; color: var(--champagne); }
.stage.is-ready .meter-note { color: var(--gold-light); }

.boxes { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: start; }
.boxes[data-count="1"] { max-width: 420px; margin: 0 auto; }
.boxes[data-count="2"], .boxes[data-count="3"], .boxes[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.boxes[data-count="5"], .boxes[data-count="6"], .boxes[data-count="7"], .boxes[data-count="8"], .boxes[data-count="9"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.box {
  position: relative;
  background: linear-gradient(160deg, #3B2219, #24130D);
  border: 1px solid rgba(168, 135, 90, .8);
  border-radius: 6px;
  padding: 22px 8% 26px;
}
.box-new, .box-empty { animation: box-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.box-lid { position: absolute; top: 6px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.box-tag { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: 10px; letter-spacing: 1.5px; color: var(--champagne); opacity: .8; }
.tray {
  display: grid;
  gap: 4%;
  padding: 5%;
  background: radial-gradient(130% 120% at 30% 20%, #FBF4EA, #EBDDC9);
  border-radius: 3px;
  box-shadow: inset 0 2px 6px rgba(60, 35, 20, .35);
}
.box-cookie .tray { grid-template-columns: repeat(4, 1fr); }
.box-muffin .tray { grid-template-columns: repeat(3, 1fr); }
.box-loaf .tray { grid-template-columns: 1fr; }
.slot { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(168, 135, 90, .12) 55%, rgba(168, 135, 90, .28) 57%, transparent 60%); display: block; }
.box-loaf .slot { aspect-ratio: 2 / 1; border-radius: 10px; background: rgba(168, 135, 90, .14); }
.slot.filled { background: none; }
.slot svg { width: 100%; height: 100%; display: block; overflow: visible; }
.slot.drop { animation: drop .62s cubic-bezier(.3, 1.45, .55, 1) both; animation-delay: var(--d); }
.box-empty .box-tag { font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: 0; }
.box-more { display: flex; align-items: center; justify-content: center; min-height: 120px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-light); }
.bump { animation: bump .45s ease; }

@keyframes drop {
  0% { opacity: 0; transform: translateY(-60%) scale(.55) rotate(-12deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes box-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* Ready-made boxes */
.presets { margin-bottom: 44px; }
.preset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.preset {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 16px 18px;
  background: #FFFBF6;
  border: 0.5px solid var(--gold);
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
}
.preset:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(60, 35, 20, .45); }
.preset.is-active { background: var(--ristretto); color: var(--ivory); border-color: var(--gold); }
.preset-name { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.preset-note { font-size: 13.5px; color: var(--ink-soft); }
.preset.is-active .preset-note { color: var(--champagne); }
.preset-price { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold); }
.preset.is-active .preset-price { color: var(--rose); }

/* Phone summary bar */
.mini-bar { display: none; }

/* For offices */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.occasion {
  background: var(--ristretto);
  color: var(--ivory);
  padding: 30px 24px 26px;
  border: 0.5px solid var(--gold);
  outline: 0.5px solid rgba(168, 135, 90, .45);
  outline-offset: -7px;
  display: flex;
  flex-direction: column;
  transition: transform .3s;
}
.occasion:hover { transform: translateY(-4px); }
.occasion h3 { font-size: 25px; color: var(--ivory); }
.occasion p { margin: 10px 0 22px; font-size: 14.5px; color: var(--champagne); }
.occasion-link {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: none;
  border: 0;
  border-top: 0.5px solid var(--gold);
  padding: 14px 0 0;
  font: 400 11px var(--sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  cursor: pointer;
  text-align: left;
}
.occasion-link span { font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--rose); }
.occasion-link:hover { color: var(--rose-soft); }
.offices-note { text-align: center; margin: 32px 0 0; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-soft); }

/* Motion */
.motion-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--stagger, 0ms); }
.motion-ready .reveal.in { opacity: 1; transform: none; }
.hero-frame { animation: frame-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.hero-frame > * { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.hero-frame > :nth-child(1) { animation-delay: .25s; }
.hero-frame > :nth-child(2) { animation-delay: .4s; }
.hero-frame > :nth-child(3) { animation-delay: .6s; }
.hero-frame > :nth-child(4) { animation-delay: .8s; }
.baker-hero-text > * { animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.baker-hero-text > :nth-child(2) { animation-delay: .2s; }
.baker-hero-text > :nth-child(3) { animation-delay: .45s; }
.baker-hero-text > :nth-child(4) { animation-delay: .7s; }
.flavor { transition: transform .35s, box-shadow .35s; }
.flavor:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(60, 35, 20, .55); }
.flavor:hover .seal { transform: rotate(-8deg) scale(1.06); }
.seal { transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes frame-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* Seasonal deadline in the top bar */
.announce a { color: inherit; text-decoration: none; }
.announce a:hover { color: var(--gold-light); }

/* Load-in cascade, Local Foods style: each piece eases in a beat after the last */
.load-in { animation: lift .9s cubic-bezier(.19, 1, .22, 1) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
@keyframes lift { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.motion-ready .reveal { transition-timing-function: cubic-bezier(.19, 1, .22, 1); transition-duration: 1s; }

/* Turning seal */
.seal-badge {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--ristretto);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(250, 244, 236, .9), 0 0 0 5px var(--gold), 0 14px 30px -12px rgba(31, 18, 14, .6);
  transition: transform .4s cubic-bezier(.19, 1, .22, 1), bottom .4s cubic-bezier(.2, .8, .2, 1);
  animation: lift 1s cubic-bezier(.19, 1, .22, 1) .9s both;
}
.seal-badge:hover { transform: scale(1.07); }
.seal-badge svg { width: 100%; height: 100%; display: block; overflow: visible; }
.seal-ring { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
.seal-ring text { font-family: var(--sans); font-size: 8.6px; font-weight: 400; text-transform: uppercase; fill: var(--gold-light); }
.seal-badge .mono-cut { stroke: var(--ristretto); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal-ring { animation: none; } }

/* Sourcing line on each flavor */
.sourcing { margin: -6px 0 18px; font-size: 12.5px; line-height: 1.55; color: #8A7262; }

/* What I bake with */
.pantry { background: var(--rose-soft); padding: 96px 16px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.pantry-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.pantry .section-head { text-align: left; margin: 0; max-width: none; }
.pantry .section-head h2 { font-size: clamp(38px, 5.4vw, 64px); }
.pantry .section-head h2 em { display: block; font-style: italic; font-weight: 400; color: #8C5A60; }
.pantry .section-head p:not(.eyebrow) { color: #5A4238; font-size: 17px; }
.pantry-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gold); }
.pantry-list li { border-bottom: 0.5px solid rgba(168, 135, 90, .6); }
.pantry-list summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; }
.pantry-list summary::-webkit-details-marker { display: none; }
.pantry-list summary span { margin-left: auto; }
.chev { flex: none; width: 9px; height: 9px; margin: 0 4px 0 6px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-3px) rotate(45deg); transition: transform .4s cubic-bezier(.19, 1, .22, 1); }
.pantry-list details[open] .chev { transform: translateY(2px) rotate(-135deg); }
.pantry-list summary:hover strong { color: #8C5A60; }
.pantry-list summary:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.pantry-more { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; padding: 4px 0 24px; }
.pantry-more p { margin: 0; font-size: 15px; line-height: 1.6; color: #5A4238; }
.pantry-more b { display: block; margin-bottom: 6px; font-weight: 400; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); }
.pantry-more p + p b { color: #8C5A60; }
:root { interpolate-size: allow-keywords; }
.pantry-list details::details-content { block-size: 0; overflow: clip; transition: block-size .5s cubic-bezier(.19, 1, .22, 1), content-visibility .5s allow-discrete; }
.pantry-list details[open]::details-content { block-size: auto; }
.pantry-list strong { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; }
.pantry-list span { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: #8C5A60; text-align: right; }
.free-of { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 0; margin: 8px 0 0; padding: 26px 0 0; border-top: 0.5px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 26px); color: var(--ink); }
.free-of b { font-family: var(--sans); font-style: normal; font-weight: 400; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-right: 18px; }
.free-of span { padding: 0 18px; }
.free-of span + span { border-left: 0.5px solid var(--gold); }
.pantry-lines { grid-column: 1 / -1; }
.pantry-lines .free-of + .free-of { margin-top: 0; padding-top: 14px; border-top: 0; }

/* Pickup or delivery switch, sweetgreen style */
.mode-wrap { margin-bottom: 40px; }
.mode { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--gold); background: #FFFBF6; padding: 4px; gap: 4px; }
.mode label { position: relative; cursor: pointer; }
.mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mode span { display: block; text-align: center; padding: 14px 10px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-soft); transition: background .25s, color .25s; }
.mode input:checked + span { background: var(--ristretto); color: var(--ivory); }
.mode input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 2px; }
.zones { margin-top: 12px; border: 0.5px solid var(--gold); border-top: 0; background: #FFFBF6; }
.zones label { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; border-top: 0.5px solid rgba(168, 135, 90, .5); }
.zones label:first-child { border-top: 0.5px solid var(--gold); }
.zones .zone-name { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; }
.zones input { accent-color: var(--ristretto); width: 16px; height: 16px; margin: 0; }
.zones .zone-fee { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.mode-note { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-soft); text-align: center; }

/* Holidays page */
.holiday-hero { position: relative; color: var(--ivory); text-align: center; padding: 96px 16px 104px; overflow: hidden; background:
    linear-gradient(118deg, transparent 22%, rgba(230, 203, 160, .07) 38%, transparent 52%, rgba(216, 180, 184, .06) 70%, transparent 84%),
    radial-gradient(120% 90% at 50% 0%, #3A241C 0%, var(--ristretto) 70%); }
.holiday-hero h1 { font-size: clamp(48px, 9vw, 116px); font-weight: 400; line-height: .95; }
.holiday-hero h1 em { display: block; font-style: italic; color: var(--rose); }
.holiday-hero .lede { max-width: 560px; }
.holiday-hero .countdown { margin: 30px auto 0; display: inline-block; padding: 12px 22px; border: 0.5px solid var(--gold); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); }
.holiday-jump { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.chapter { padding: 104px 16px; border-top: 1px solid var(--gold); }
.chapter-dark { background: var(--ristretto); color: var(--ivory); }
.chapter-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.chapter-dark .chapter-inner { grid-template-columns: 8fr 4fr; }
.chapter-dark .chapter-date { order: 2; }
.chapter-date { position: sticky; top: 32px; text-align: center; }
.chapter-date .day { display: block; font-variant-numeric: lining-nums; font-family: var(--serif); font-size: clamp(120px, 17vw, 220px); line-height: .82; font-weight: 400; color: var(--gold); }
.chapter-date .month { display: block; margin-top: 14px; font-size: 12px; letter-spacing: 6px; text-transform: uppercase; color: var(--ink-soft); }
.chapter-dark .chapter-date .month { color: var(--champagne); }
.chapter-date .weekday { display: block; margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 20px; color: #8C5A60; }
.chapter-dark .chapter-date .weekday { color: var(--rose); }
.chapter-head h2 { font-size: clamp(44px, 6.4vw, 80px); font-weight: 400; }
.chapter-head p:not(.eyebrow):not(.countdown) { margin: 16px 0 0; max-width: 560px; font-size: 17px; color: var(--ink-soft); }
.chapter-dark .chapter-head p:not(.eyebrow):not(.countdown) { color: var(--champagne); }
.chapter .countdown { margin: 22px 0 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: #8C5A60; }
.chapter-dark .countdown { color: var(--rose); }
.chapter-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 34px 0 44px; border-top: 0.5px solid var(--gold); border-bottom: 0.5px solid var(--gold); }
.chapter-facts div { padding: 16px 0; }
.chapter-facts div + div { padding-left: 24px; border-left: 0.5px solid var(--gold); }
.chapter-facts dt { font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.chapter-facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 21px; }
.chapter-facts { margin-left: 0; margin-right: 0; }

.bundle { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 0.5px solid rgba(168, 135, 90, .6); }
.bundle:first-of-type { border-top: 0.5px solid rgba(168, 135, 90, .6); }
.bundle-art { position: relative; height: 110px; }
.bundle-art svg { position: absolute; width: 74px; height: 74px; filter: drop-shadow(0 8px 10px rgba(31, 18, 14, .25)); }
.bundle-art svg.loaf-art { width: 108px; height: 54px; }
.bundle-art svg:nth-child(1) { left: 0; top: 0; }
.bundle-art svg:nth-child(2) { left: 48px; top: 26px; }
.bundle-art svg:nth-child(3) { left: 14px; top: 52px; }
.bundle-art svg:nth-child(4) { left: 70px; top: 0; }
.bundle h3 { font-size: clamp(26px, 3vw, 34px); }
.bundle p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.chapter-dark .bundle p { color: var(--champagne); }
.bundle .serves { margin-top: 8px; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); }
.bundle-buy { text-align: right; }
.bundle-price { display: block; font-family: var(--serif); font-style: italic; font-size: 32px; color: #8C5A60; line-height: 1; }
.chapter-dark .bundle-price { color: var(--rose); }
.bundle-link { display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; color: inherit; border-bottom: 0.5px solid var(--gold); padding-bottom: 3px; transition: color .2s; }
.bundle-link:hover { color: var(--gold); }
.bundle-link[aria-disabled="true"] { pointer-events: none; opacity: .5; }
.is-closed .bundle-art, .is-closed .bundle-price { opacity: .45; }
.chapter-note { margin: 28px 0 0; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-soft); }
.chapter-dark .chapter-note { color: var(--champagne); }

.holiday-close { text-align: center; padding: 96px 16px 104px; background: var(--rose-soft); border-top: 1px solid var(--gold); }
.holiday-close h2 { font-size: clamp(36px, 5.4vw, 60px); font-style: italic; font-weight: 400; max-width: 760px; margin: 0 auto 30px; }

/* Baker page collage */
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; max-width: 520px; width: 100%; justify-self: center; }
.collage .arch { max-width: none; }
.collage-box { margin: 38% 0 0; background:
    linear-gradient(118deg, transparent 20%, rgba(230, 203, 160, .08) 40%, transparent 58%),
    radial-gradient(120% 90% at 50% 0%, #3A241C 0%, var(--ristretto) 75%);
  border: 1px solid var(--gold); outline: 0.5px solid var(--gold); outline-offset: 6px; padding: 18px; }
.collage-box .tray { grid-template-columns: 1fr 1fr; }
.collage-box svg { width: 100%; height: auto; aspect-ratio: 1; display: block; }
.collage-box figcaption { margin-top: 12px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--champagne); }

/* Cookie photos on cream. On hover, lettering circles the cookie: its name in a fun hand
   above, its fabric name written in script below. */
.flavor-photo { position: relative; margin: -16px -10px 22px; aspect-ratio: 1; overflow: hidden; background: #EFE3D3; border: 0.5px solid rgba(168, 135, 90, .6); }
.flavor-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.19, 1, .22, 1); }
.numeral-tag { position: absolute; top: 10px; left: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(250, 244, 236, .92); border: 0.5px solid var(--gold); font-family: var(--serif); font-size: 13px; color: var(--ink); }
.photo-tag { z-index: 1; }
.photo-script { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.photo-script text { fill: rgba(90, 56, 38, 0); stroke: #5A3826; stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.6s cubic-bezier(.55, .1, .3, 1), fill .6s ease 1s; }
.arch-label { font-family: 'Gochi Hand', cursive; font-size: 7.6px; letter-spacing: .5px; stroke-width: .16; }
.photo-script .fabric { font-family: 'Pinyon Script', cursive; font-size: 9.5px; stroke-width: .18; transition-delay: .5s, 1.5s; }
.flavor:hover .photo-script text { stroke-dashoffset: 0; fill: #5A3826; }
@media (hover: none) {
  .flavor.in .photo-script text { stroke-dashoffset: 0; fill: #5A3826; transition-delay: .6s, 1.6s; }
}
@media (prefers-reduced-motion: reduce) { .photo-script text { stroke-dashoffset: 0; fill: #5A3826; } }

/* Satin: slow light rolling across the dark sections */
.hero, .loaf, .details, .baker-rules, .chapter-dark, .holiday-hero, .stage { position: relative; isolation: isolate; overflow: clip; }
.hero::before, .loaf::before, .details::before, .baker-rules::before, .chapter-dark::before, .holiday-hero::before, .stage::before {
  content: "";
  position: absolute;
  inset: -10% -80%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(230, 203, 160, .06) 44%, rgba(255, 236, 214, .13) 50%, rgba(216, 180, 184, .07) 56%, transparent 62%);
  animation: satin 16s ease-in-out infinite alternate;
}
@keyframes satin { from { transform: translateX(-28%); } to { transform: translateX(28%); } }

/* A sheen that sweeps across buttons on hover */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 250, 240, .45), transparent); transform: skewX(-18deg); transition: left .8s cubic-bezier(.19, 1, .22, 1); pointer-events: none; }
.btn:hover::after { left: 130%; }

/* A satin ribbon and bow tie each box once it reaches two dozen */
.box::before, .box::after { content: ""; position: absolute; pointer-events: none; opacity: 0; transition: opacity .4s; }
.box::before { left: 0; right: 0; top: 4px; height: 13px; background: linear-gradient(180deg, #F3DCDE, #D8B4B8 45%, #B88E93); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.box::after { left: 50%; top: -9px; width: 46px; height: 27px; margin-left: -23px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 34'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23F6E3E5'/><stop offset='.5' stop-color='%23D8B4B8'/><stop offset='1' stop-color='%23A57A80'/></linearGradient></defs><path d='M30 14 C22 1 5 0 3 10 C1 21 18 22 30 16 Z' fill='url(%23g)'/><path d='M30 14 C38 1 55 0 57 10 C59 21 42 22 30 16 Z' fill='url(%23g)'/><path d='M28 16 L17 33 L23 31 L29 18 Z' fill='url(%23g)'/><path d='M32 16 L43 33 L37 31 L31 18 Z' fill='url(%23g)'/><ellipse cx='30' cy='15' rx='4.6' ry='4' fill='%23C2959A'/></svg>") center / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.stage.is-ready .box:not(.box-empty):not(.box-more)::before, .stage.is-ready .box:not(.box-empty):not(.box-more)::after { opacity: 1; }
.stage.is-ready .box .box-lid { color: var(--ristretto); z-index: 1; }
.stage.tie .box::after { animation: tie .8s cubic-bezier(.3, 1.5, .5, 1) both; }
.stage.tie .box::before { animation: band .6s cubic-bezier(.19, 1, .22, 1) both; }
@keyframes tie { from { transform: scale(0) rotate(-25deg); } to { transform: none; } }
@keyframes band { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }

/* Draped edges: some sections end in a soft fold of fabric */
.hero, .loaf, .holiday-hero, .baker-rules {
  --drape: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'><path d='M0 0H1440V14C1340 34 1220 6 1080 22C940 38 820 8 680 24C540 40 400 10 260 26C160 36 70 28 0 18Z'/></svg>");
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 38px) no-repeat, var(--drape) bottom / 100% 40px no-repeat;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 38px) no-repeat, var(--drape) bottom / 100% 40px no-repeat;
  padding-bottom: calc(var(--pb, 72px) + 38px);
  border-bottom: 0;
}
.loaf { --pb: 88px; }
.holiday-hero { --pb: 104px; }
.baker-rules { --pb: 88px; }
@media (prefers-reduced-motion: reduce) { .hero::before, .loaf::before, .details::before, .baker-rules::before, .chapter-dark::before, .holiday-hero::before, .stage::before { animation: none; } }

/* Status labels, Westman style: tiny letterspaced caps, no pill */
.tag { display: block; margin: 0 0 6px; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: #9A4F58; }
.chapter-dark .tag, .preset.is-active .tag { color: var(--rose); }
.flavor .tag { margin-bottom: 8px; }
.tag-under { margin: 8px 0 -4px; }
.photo-tag { position: absolute; left: 10px; bottom: 10px; margin: 0; padding: 6px 10px; background: rgba(250, 244, 236, .92); border: 0.5px solid var(--gold); }

/* Tablet */
@media (max-width: 980px) {
  .pantry-inner, .chapter-inner, .chapter-dark .chapter-inner { grid-template-columns: 1fr; gap: 40px; }
  .chapter-dark .chapter-date { order: 0; }
  .chapter-date { position: static; display: flex; align-items: baseline; justify-content: center; gap: 16px; flex-wrap: wrap; }
  .chapter-date .day { font-size: 120px; }
  .flavors { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .builder { grid-template-columns: minmax(0, 1fr); }
  .builder-main, .stage-col { min-width: 0; }
  .summary { position: static; }
  .stage-col { position: static; }
  .stage { max-height: none; }
  .occasions { grid-template-columns: repeat(2, 1fr); }
  .label-grid { grid-template-columns: repeat(2, 1fr); }
  .label-grid div:not(:nth-child(3n+1)) { border-left: 0; }
  .label-grid div:nth-child(2n) { border-left: 0.5px solid rgba(168, 135, 90, .5); }
  .about-intro, .about-kitchen { grid-template-columns: 1fr; gap: 36px; }
  .baker-rules .steps { grid-template-columns: 1fr; max-width: 520px; }
}

/* Phone */
@media (max-width: 640px) {
  .announce { letter-spacing: 2px; font-size: 10px; }
  .announce-sep { display: block; width: 0; height: 2px; margin: 0; background: none; }
  .masthead { flex-direction: column; align-items: flex-start; padding: 12px 16px; gap: 10px; }
  .nav { justify-content: flex-start; gap: 2px 10px; }
  .nav a { font-size: 15px; }
  .hero { padding: 32px 16px 48px; }
  .hero-frame { padding: 40px 18px 42px; }
  .lede { font-size: 16px; }
  .actions .btn { width: 100%; }
  .promises { grid-template-columns: 1fr 1fr; row-gap: 24px; padding: 28px 8px; }
  .promise { padding: 4px 10px; }
  .promise + .promise { border-left: 0; }
  .promise:nth-child(2n) { border-left: 0.5px solid rgba(168, 135, 90, .5); }
  .promise h2 { font-size: 19px; }
  .promise p { font-size: 13px; }
  .section, .loaf, .details { padding-top: 64px; padding-bottom: 64px; }
  .order { padding-top: 24px; }
  .price-line { flex-direction: column; align-items: center; gap: 6px; }
  .price-line span + span { border-left: 0; }
  .flavors { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .row-name { gap: 10px; }
  .row-name h4 { font-size: 18px; }
  .group-head h3 { font-size: 28px; }
  .label-grid { grid-template-columns: 1fr; }
  .label-grid div:nth-child(2n) { border-left: 0; }
  .label-grid div { padding: 18px 4px; }
  .fields { grid-template-columns: 1fr; }
  .summary { padding: 26px 20px; }
  .footer-cols { gap: 32px; flex-direction: column; text-align: center; }
  .occasions { grid-template-columns: 1fr; }
  .preset-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; gap: 10px; margin: 14px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
  .preset-grid::-webkit-scrollbar { display: none; }
  .preset { flex: 0 0 72%; scroll-snap-align: start; padding: 14px 16px; }
  .presets { margin-bottom: 28px; }
  .mode-wrap { margin-bottom: 28px; }
  .order .section-head { margin-bottom: 28px; }
  .builder { gap: 24px; }
  .meter-note { margin-bottom: 12px; }
  .boxes[data-count="1"] { max-width: 280px; }
  .stage { padding: 20px 14px 22px; }
  .boxes[data-count="5"], .boxes[data-count="6"], .boxes[data-count="7"], .boxes[data-count="8"], .boxes[data-count="9"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 20;
    padding: 12px 16px;
    background: var(--ristretto);
    border: 1px solid var(--gold);
    color: var(--ivory);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
    transform: translateY(150%);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  }
  .mini-bar.is-on { transform: none; }
  .mini-count { flex: 1; font-size: 13px; color: var(--champagne); min-width: 0; }
  .mini-total { font-family: var(--serif); font-size: 22px; color: var(--rose); }
  .mini-link { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); text-decoration: none; border-bottom: 0.5px solid var(--gold); padding-bottom: 2px; }
  .baker-hero h1 { letter-spacing: 0.08em; }
  .about-intro-body p:first-child { font-size: 22px; }
  .arch { max-width: 300px; }
  .intro-photo { max-width: 320px; margin: 28px auto 0; }
  .rules-layout { grid-template-columns: 1fr; gap: 40px; }
  .rules-photo { max-width: 300px; }
  .rules-layout .steps li { grid-template-columns: 48px 1fr; column-gap: 16px; }
  .collage .arch { max-width: none; }
  .hero { padding-bottom: calc(48px + 26px); }
  .loaf, .baker-rules { padding-bottom: calc(64px + 26px); }
  .holiday-hero { padding-bottom: calc(72px + 26px); }
  .hero, .loaf, .holiday-hero, .baker-rules {
    -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 24px) no-repeat, var(--drape) bottom / 100% 26px no-repeat;
    mask: linear-gradient(#000 0 0) top / 100% calc(100% - 24px) no-repeat, var(--drape) bottom / 100% 26px no-repeat;
  }
  .seal-badge { width: 72px; height: 72px; right: 14px; bottom: 14px; }
  .bar-on .seal-badge { bottom: 84px; }
  .pantry { padding: 64px 16px; }
  .pantry-list summary { flex-wrap: wrap; gap: 2px 12px; }
  .pantry-list summary strong { flex: 1 1 auto; }
  .pantry-list summary span { order: 3; flex-basis: 100%; margin-left: 0; text-align: left; }
  .chev { align-self: center; }
  .pantry-more { grid-template-columns: 1fr; gap: 14px; }
  .free-of { flex-direction: column; gap: 6px; }
  .free-of b { margin: 0 0 4px; }
  .free-of span + span { border-left: 0; }
  .pantry-lines .free-of { flex-direction: row; gap: 2px 18px; font-size: 20px; }
  .pantry-lines .free-of b { flex-basis: 100%; text-align: center; margin: 0 0 4px; }
  .pantry-lines .free-of span { padding: 0; }
  .zones .zone-name, .zones .zone-fee { font-size: 18px; }
  .holiday-hero { padding: 64px 16px 72px; }
  .chapter { padding: 64px 16px; }
  .chapter-facts { grid-template-columns: 1fr; }
  .chapter-facts div + div { padding-left: 0; border-left: 0; border-top: 0.5px solid var(--gold); }
  .bundle { grid-template-columns: 1fr; gap: 14px; }
  .bundle-buy { text-align: left; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .bundle-link { margin-top: 0; }
}
