/* Flour & Fold Bakery: a fictional shop's own design (2026-10-28) after stevedorebakery.com (a cobalt sidebar with
   stacked outlined buttons, a top-down flat lay on kraft paper, thick blue frames and box-tape stripes),
   desserts-gapsy.webflow.io (a big Didone line, staggered product photos with small spec rows) and xlebimoloko.ru
   (one-colour line icons). Cobalt and flour white; Gloock for two lines only, Barlow Semi Condensed for the rest.
   Photos are Codex still lifes (no people). Scoped to .flour; nothing from site.css. */
@font-face { font-family: "Gloock"; font-weight: 400; font-display: swap; src: url("/assets/fonts/gloock-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-semi-condensed-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-semi-condensed-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-semi-condensed-700-latin.woff2") format("woff2"); }

.business-demo.flour {
  --cobalt: #1d4fc4; --white: #fbfaf6; --kraft: #d8b98a; --ink: #1b1b1f; --rule: #d6d3cb; --muted: #4a4a52;
  --focus: var(--cobalt);
  container-type: inline-size;
  position: relative;
  overflow: clip; /* clip, not hidden, so the sidebar can stick */
  background: var(--white); color: var(--ink);
  border: 0; border-radius: 0; box-shadow: none;
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif; font-size: 18px; line-height: 1.5;
}
.flour a { color: inherit; }
.flour :focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.flour h3, .flour h4 { font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif; }
.flour h3 { text-wrap: balance; margin: 0; font-size: clamp(32px, 4.4cqi, 48px); font-weight: 700; line-height: 1; letter-spacing: -.01em; }

.flour .b-layout { display: grid; grid-template-columns: clamp(200px, 23cqi, 256px) minmax(0, 1fr); align-items: start; }

/* Sidebar */
.flour .b-side { position: sticky; top: 0; align-self: start; max-height: 100dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 1.1rem; padding: 28px; background: var(--cobalt); color: var(--white); }
.flour .b-side :focus-visible, .flour .b-bar :focus-visible { outline-color: var(--white); }
.flour .b-name { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 48px; color: var(--white); text-decoration: none; }
.flour .b-seal { display: block; width: clamp(104px, 11cqi, 132px); rotate: -8deg; }
.flour .b-seal-art { display: block; width: 100%; height: auto; }
.flour .b-wordmark { font-family: "Gloock", Georgia, serif; font-size: 34px; line-height: .95; }
.flour .b-place { margin: -.5rem 0 0; font-size: 16px; }
.flour .b-open { display: flex; align-items: flex-start; gap: .5rem; margin: 0; font-weight: 600; font-size: 17px; }
.flour .b-open::before { content: ""; flex: none; margin-top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #9db4ea; }
.flour .b-open[data-state="open"]::before { background: var(--white); }
.flour .b-nav { display: grid; gap: 8px; }
.flour .b-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--white); font-weight: 600; text-decoration: none; }
.flour .b-nav a:hover { background: var(--white); color: var(--cobalt); }
.flour .b-label { margin: 0 0 .3rem; font-size: 15px; font-weight: 600; }
.flour .b-hours dl { margin: 0; }
.flour .b-hours div { display: flex; justify-content: space-between; gap: .6rem; padding: .3rem 0; border-top: 1px solid rgb(251 250 246 / .35); font-size: 16px; }
.flour .b-hours dd { margin: 0; }
.flour .b-hours div.is-today { padding-left: 10px; box-shadow: inset 4px 0 0 var(--white); font-weight: 700; }
.flour .b-call { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: auto; background: var(--white); color: var(--cobalt); font-weight: 700; text-decoration: none; }

/* Main column */
.flour .b-main { min-width: 0; padding: 0 clamp(1.25rem, 3.2cqi, 2.4rem); }
.flour .b-hero { padding: clamp(1.8rem, 4cqi, 3rem) 0 0; }
.flour .b-hero h2 { margin: 0; font-family: "Gloock", Georgia, serif; font-weight: 400; font-size: clamp(44px, 7cqi, 80px); line-height: .95; letter-spacing: -.01em; color: var(--cobalt); }
.flour .b-lede { text-wrap: pretty; max-width: 46ch; margin: 1rem 0 .4rem; font-size: 19px; }
.flour .b-hero-link { display: inline-flex; align-items: center; min-height: 48px; margin-bottom: 1.2rem; color: var(--cobalt); font-weight: 700; font-size: 19px; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.flour .b-hero-link::after { content: "\2193"; margin-left: .35em; }
.flour .b-flatlay { display: block; width: 100%; height: auto; }

/* Bake list: sourdough leads full width, then pairs */
.flour .b-list { padding: clamp(3rem, 6cqi, 4.5rem) 0 1rem; }
.flour .b-sub { margin: .6rem 0 2rem; color: var(--muted); }
.flour .b-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.flour .b-item:first-child, .flour .b-item:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0 clamp(20px, 3cqi, 36px); align-items: end; }
.flour .b-item:first-child img, .flour .b-item:last-child img { grid-row: span 4; aspect-ratio: 4 / 3; }
.flour .b-item:last-child { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.flour .b-item:last-child img { grid-column: 2; grid-row: 1 / span 4; }
.flour .b-item:first-child h4, .flour .b-item:last-child h4 { font-size: 32px; }
.flour .b-item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.flour .b-item h4 { margin: .9rem 0 .2rem; font-size: 24px; font-weight: 700; line-height: 1.15; }
.flour .b-item p { margin: 0 0 .6rem; text-wrap: pretty; }
.flour .b-item dl, .flour .b-cakes dl { margin: 0; }
.flour .b-item dl div, .flour .b-cakes dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-top: 1px solid var(--rule); }
.flour .b-item dt, .flour .b-cakes dt { font-size: 15px; font-weight: 600; color: var(--muted); }
.flour .b-item dd, .flour .b-cakes dd { margin: 0; font-size: 17px; text-align: right; }
.flour .b-item dl div:last-child { border-bottom: 1px solid var(--rule); }

/* Fill a box: cut-out pastry photos (transparent, with their own soft shadows) sit on the box's paper lining; the seal goes on the lid when full */
.flour .b-box { margin: clamp(3rem, 6cqi, 4.5rem) 0 0; }
.flour .b-box h3 { color: var(--cobalt); }
.flour .b-box-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.4cqi, 24px); align-items: start; padding: 0; margin-top: .8rem; }
.flour .b-boxart { position: relative; width: 100%; max-width: 760px; }
.flour .b-boxphoto { display: block; width: 100%; height: auto; }
.flour .b-slots { position: absolute; left: 15.5%; right: 14.5%; top: 22.5%; bottom: 14%; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 2%; }
.flour .b-slots li { display: grid; place-items: center; min-width: 0; min-height: 0; color: var(--cobalt); font-weight: 600; font-size: 15px; }
.flour .b-slots li.is-empty span[aria-hidden] { display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid rgb(29 79 196 / .55); border-radius: 50%; }
.flour .b-slot { display: grid; place-items: center; width: 100%; height: 100%; min-height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
.flour .b-slot img { width: 112%; max-width: none; height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent); mask-image: radial-gradient(closest-side, #000 82%, transparent); transition: scale .15s ease-out; }
.flour .b-slot:hover img { scale: 1.04; }
.flour .b-slot:focus-visible { outline: 3px solid var(--cobalt); outline-offset: -2px; }
.flour .b-slots li:nth-child(2) img { rotate: -7deg; }
.flour .b-slots li:nth-child(3) img { rotate: 5deg; }
.flour .b-slots li:nth-child(4) img { rotate: 4deg; }
.flour .b-slots li:nth-child(5) img { rotate: -5deg; }
.flour .b-slots li:nth-child(6) img { rotate: 8deg; }
.flour .b-slot.is-new img { animation: flour-drop .34s cubic-bezier(.25, .9, .35, 1.25); }
@keyframes flour-drop { from { translate: 0 -24px; scale: 1.1; opacity: 0; } 55% { opacity: 1; } }
.flour .b-lidseal { position: absolute; right: 12%; top: 3%; width: min(96px, 15%); rotate: -12deg; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .2)); }
.flour .b-lidseal.is-on { animation: flour-stamp .3s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes flour-stamp { from { scale: 1.7; opacity: 0; } }
.flour .b-box-intro { grid-column: 1 / -1; margin: 0; font-size: 19px; text-wrap: pretty; }
.flour .b-picks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.flour .b-pick { position: relative; display: grid; justify-items: center; align-content: start; gap: 2px; min-height: 48px; padding: 6px 6px 10px; border: 0; background: transparent; color: var(--cobalt); font: 700 16px/1.15 "Barlow Semi Condensed", sans-serif; text-align: center; cursor: pointer; }
.flour .b-pick img { width: 100%; max-width: 92px; height: auto; aspect-ratio: 1; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent); mask-image: radial-gradient(closest-side, #000 82%, transparent); }
.flour .b-pick:hover { background: #eef2fc; }
.flour .b-pick.is-in { box-shadow: inset 0 -3px 0 var(--cobalt); }
.flour .b-pick[aria-disabled="true"] { cursor: not-allowed; }
.flour .b-pick[aria-disabled="true"] img { opacity: .55; }
.flour .b-count { position: absolute; top: 4px; right: 4px; min-width: 1.6rem; padding: 0 .3rem; background: var(--cobalt); color: var(--white); text-align: center; }
.flour .b-status { margin: .4rem 0 1rem; font-size: 20px; font-weight: 700; line-height: 1.3; text-wrap: pretty; }
.flour .b-box-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.flour .b-empty { min-height: 48px; padding: 0 1rem; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 600 16px "Barlow Semi Condensed", sans-serif; cursor: pointer; }
.flour .b-note { margin: 0; font-size: 15px; color: var(--muted); text-wrap: pretty; }

/* Cakes: the one kraft section */
.flour .b-cakes { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.2rem, 3cqi, 2.4rem); align-items: center; margin: clamp(3.5rem, 7cqi, 5rem) calc(-1 * clamp(1.25rem, 3.2cqi, 2.4rem)) 0; padding: clamp(2rem, 4cqi, 3rem) clamp(1.25rem, 3.2cqi, 2.4rem); background: var(--kraft); }
.flour .b-cakes img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% center; }
.flour .b-cakes p { margin: .8rem 0 1rem; }
.flour .b-cakes dl div { border-top-color: rgb(27 27 31 / .3); }
.flour .b-cakes dt { color: var(--ink); }
.flour .b-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 1.2rem; padding: 0 1.2rem; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; }
.flour .b-foot { padding: 1.6rem 0; font-size: 15px; color: var(--muted); }
.flour .b-foot p { margin: 0; line-height: 48px; }
.flour .b-foot a { display: inline-flex; align-items: center; min-height: 48px; }
.flour .b-bar { display: none; }

@container (max-width: 760px) {
  .flour .b-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .flour .b-layout { grid-template-columns: 1fr; }
  .flour .b-side { position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .flour .b-place { margin: -4px 0 0; }
  .flour .b-hours dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .flour .b-hours div { flex-direction: column; justify-content: flex-start; gap: 0; padding: .3rem 0 0; font-size: 15px; line-height: 1.3; }
  .flour .b-hours div.is-today { padding-left: 0; box-shadow: inset 0 3px 0 var(--white); }
  .flour .b-name { flex-direction: row; align-items: center; gap: 14px; }
  .flour .b-seal { width: 64px; }
  .flour .b-wordmark { font-size: 32px; }
  .flour .b-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .flour .b-nav a { justify-content: center; padding: 0 6px; font-size: 16px; }
  .flour .b-call { display: none; }
  .flour .b-main { padding: 0 20px; }
  .flour .b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .flour .b-item h4 { font-size: 19px; margin-top: .6rem; }
  .flour .b-item p { font-size: 16px; }
  .flour .b-item dl div { flex-direction: column; gap: 0; }
  .flour .b-item dd { text-align: left; font-size: 16px; }
  .flour .b-cakes { grid-template-columns: 1fr; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .flour .b-foot { padding-bottom: calc(1.6rem + 64px + env(safe-area-inset-bottom)); }
  .flour .b-bar { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 20px calc(8px + env(safe-area-inset-bottom)); background: var(--cobalt); }
  .flour .b-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 700; text-decoration: none; }
  .flour .b-bar a:first-child { background: var(--white); color: var(--cobalt); }
  .flour .b-bar a:last-child { border: 2px solid var(--white); color: var(--white); }
}
@container (max-width: 900px) {
  .flour .b-item:first-child, .flour .b-item:last-child { display: block; }
}
@container (max-width: 800px) {
  .flour .b-cakes { grid-template-columns: 1fr; }
}
@container (max-width: 420px) {
  .flour .b-pick { font-size: 15px; }
  .flour .b-grid { grid-template-columns: 1fr; gap: 32px; }
  .flour .b-item:first-child, .flour .b-item:last-child { display: block; }
  .flour .b-item img { aspect-ratio: 4 / 3; }
  .flour .b-item:first-child h4, .flour .b-item:last-child h4 { font-size: 24px; }
  .flour .b-item h4 { font-size: 24px; }
  .flour .b-item p { font-size: 18px; }
  .flour .b-item dl div { flex-direction: row; justify-content: space-between; }
  .flour .b-item dd { text-align: right; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .flour .b-slot.is-new img, .flour .b-lidseal.is-on { animation: none; }
  .flour .b-slot img { transition: none; }
}
