/* Bake mill palette: paper, crust, sage header. Homepage is a branded band, not a ticket board. */
body { background:
  radial-gradient(circle at 12% 8%, #fff8ec 0 18%, transparent 42%),
  repeating-linear-gradient(0deg, transparent, transparent 27px, color-mix(in oklab, #331300 8%, transparent) 28px),
  #fbf1df;
}
.site-header {
  background: #f4e6c8;
  border-bottom: 4px solid #50762d;
  flex-wrap: nowrap;
}
.lockup { flex: 0 0 auto; }
.lockup__word {
  height: 1.95rem !important;
  max-width: min(18rem, 54vw) !important;
}
.lockup__word img {
  height: 100% !important;
  width: auto;
  max-width: 100% !important;
}
.lockup__word--typeset, .vista-type-set { font-family: var(--font-display); }
.nav-desktop {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.site-main:not(.app-stage) {
  max-width: 72rem;
  margin-inline: auto;
  width: 100%;
}
.site-main.app-stage {
  max-width: none;
  padding-bottom: 0;
}

/* Banded stock hero: constrained height, cover fill, paper type plate, contained Loaf. */
.bake-hero-band {
  position: relative;
  isolation: isolate;
  min-height: min(42vh, 26rem);
  max-height: min(48vh, 28rem);
  overflow: hidden;
  background: #331300;
}
.bake-hero-band__stock {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.bake-hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in oklab, #331300 32%, transparent) 0%, transparent 22%, transparent 78%, color-mix(in oklab, #331300 22%, transparent) 100%);
  z-index: 1;
  pointer-events: none;
}
.bake-hero-band__stage {
  position: relative;
  z-index: 2;
  min-height: min(42vh, 26rem);
  max-height: inherit;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem clamp(1rem, 3.2vw, 2.8rem);
  max-width: none;
}
.bake-hero-band__copy {
  align-self: center;
  background: #fbf1df;
  padding: 1.05rem 1.15rem 1.15rem;
  border-left: 7px solid #c17a28;
  box-shadow: 0 18px 40px color-mix(in oklab, #331300 38%, transparent);
  max-width: 28.5rem;
  width: min(28.5rem, 46vw);
}
.bake-hero-band .kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #50762d;
  font-weight: 700;
}
.bake-hero-band h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.05vw, 2.2rem);
  line-height: 1.08;
  color: #331300;
  white-space: nowrap;
}
.bake-hero-band .lede {
  margin: 0;
  font-size: var(--font-size-lg, 1.05rem);
  line-height: 1.4;
  color: #331300;
  max-width: none;
}
.bake-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
}
.bake-hero-ctas a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min, 2.75rem);
  padding: 0.35rem 1rem;
  background: #331300;
  color: #fbf1df;
  text-decoration: none;
  font-weight: 650;
  border-radius: 0.35rem;
}
.bake-hero-ctas a:nth-child(2) { background: #50762d; color: #fbf1df; }
.bake-hero-ctas a:nth-child(3) { background: #c17a28; color: #331300; }
.bake-hero-band__loaf-plate {
  align-self: flex-end;
  margin: 0;
  background: #50762d;
  padding: 0.55rem 0.7rem 0;
  border-radius: 0.55rem 0.55rem 0 0;
  box-shadow: 0 16px 32px color-mix(in oklab, #331300 45%, transparent);
}
.bake-hero-band__loaf {
  display: block;
  width: auto;
  max-width: min(12rem, 22vw);
  max-height: 14rem;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 18px color-mix(in oklab, #331300 45%, transparent));
}

.bake-home {
  max-width: 72rem;
  margin-inline: auto;
  padding: 1.05rem var(--pad-inline, 1.25rem) 2.6rem;
}
.bake-tickets h2,
.bake-protein h2,
.bake-humid h2,
.bake-bench-strip h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: var(--font-size-xl, 1.35rem);
  color: #331300;
}
.bake-tickets__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.bake-ticket {
  display: block;
  flex: 1 1 11.5rem;
  margin: 0;
  padding: 0.45rem 0.55rem;
  background: #fff8ec;
  color: #331300;
  text-decoration: none;
  border: 1px solid color-mix(in oklab, #331300 14%, transparent);
  border-left: 6px solid #c17a28;
}
.bake-ticket strong { display: block; font-family: var(--font-display); font-size: 0.92rem; }
.bake-ticket span { font-size: 0.74rem; }

.bake-stills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.95rem 0 1rem;
}
.bake-stills img {
  width: 100%;
  height: 8rem;
  max-height: 8rem;
  object-fit: cover;
}

.bake-lessons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.bake-lessons a {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  background: #fff8ec;
  border: 1px solid color-mix(in oklab, #331300 14%, transparent);
  overflow: hidden;
}
.bake-lessons img {
  width: 100%;
  height: 100%;
  min-height: 5.4rem;
  max-height: 6.2rem;
  object-fit: cover;
}
.bake-lessons h2 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1rem;
}
.bake-lessons p { margin: 0; font-size: 0.78rem; }
.bake-lessons a > div { padding: 0.55rem 0.65rem 0.7rem; }

.bake-facts {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0.7rem;
  margin: 1.05rem 0 1.1rem;
}
.bake-protein,
.bake-humid {
  background: #fff8ec;
  border: 1px solid color-mix(in oklab, #331300 14%, transparent);
  padding: 0.7rem 0.8rem 0.85rem;
}
.bake-humid {
  border-left: 6px solid #50762d;
  background: color-mix(in oklab, #dff0d3 55%, #fff8ec);
}
.bake-protein table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.bake-protein th,
.bake-protein td {
  text-align: left;
  padding: 0.28rem 0.4rem;
  border-bottom: 1px solid color-mix(in oklab, #331300 12%, transparent);
}
.bake-protein th { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #50762d; }
.bake-humid p { margin: 0 0 0.55rem; font-size: 0.9rem; }
.bake-humid p:last-child { margin: 0; }
.bake-facts__more,
.bake-humid a { font-weight: 700; }

.bake-bench-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
}
.bake-bench-strip a {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding: 0.4rem 0.4rem 0.5rem;
  background: #fff8ec;
  color: #331300;
  text-decoration: none;
  border: 1px solid color-mix(in oklab, #331300 14%, transparent);
}
.bake-bench-strip img {
  width: 100%;
  height: 5.2rem;
  max-height: 5.2rem;
  object-fit: cover;
  background: #f4e6c8;
}
.bake-bench-strip span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1.2;
}
.bake-bench-strip b {
  font-size: 0.78rem;
  color: #50762d;
}

.site-main > .dshop {
  max-width: 72rem;
  margin: 0 auto 1.4rem;
  padding: 0 var(--pad-inline, 1.25rem);
}
.site-main > .dshop > .eyebrow { display: none; }
.site-main > .dshop > h2 { margin: 0.15rem 0 0.3rem; font-size: 1.25rem; }
.site-main > .dshop > p { margin: 0 0 0.45rem; font-size: 0.9rem; }
.shop-sell-head {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem var(--pad-inline, 1.25rem) 0.35rem;
}

/* Shop: compact 3–4 col cards, kill 16rem verticals from creators-shop.css */
body .dshop-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.55rem !important;
}
body .dshop-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.3rem;
  padding: 0.4rem !important;
}
body .dshop-card img,
body .dshop-still img {
  aspect-ratio: 4 / 3 !important;
  width: 100% !important;
  height: 7rem !important;
  max-height: 7rem !important;
  object-fit: cover !important;
  background: #fff8ec !important;
  border-radius: 0.3rem !important;
}
body .dshop-type .pitch {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.78rem;
}
body .dshop-type .band,
body .dshop-type .why { font-size: 0.75rem; margin: 0.15rem 0 0; }
body .dshop-go { margin-top: 0.2rem; }

/* Guides hub: two-column index with a still per lesson */
.site-main .guide-index {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
.site-main .guide-index a {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.45rem 0.55rem 0.5rem;
}
.site-main .guide-index img {
  width: 100%;
  height: 5.4rem;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  body .dshop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .site-main .guide-index { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .bake-hero-band {
    min-height: min(42vh, 26rem);
    max-height: min(46vh, 28rem);
  }
  .bake-hero-band__copy { max-width: 30rem; width: min(30rem, 38vw); }
  .bake-hero-band__loaf { max-width: min(13rem, 20vw); max-height: 14rem; }
  .lockup__word { height: 2.05rem !important; }
  body .dshop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (max-width: 820px) {
  .bake-hero-band {
    min-height: 0;
    max-height: none;
  }
  .bake-hero-band__stage {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 1.15rem 1rem 0;
  }
  .bake-hero-band__copy { max-width: none; width: auto; align-self: stretch; }
  .bake-hero-band h1 { white-space: normal; }
  .bake-hero-band__loaf-plate { align-self: center; }
  .bake-hero-band__loaf {
    max-height: 12rem;
    max-width: 11rem;
  }
  .bake-ticket { flex: 1 1 10.5rem; }
  .bake-stills { grid-template-columns: 1fr 1fr; }
  .bake-stills img { height: 8rem; max-height: 8rem; }
  .bake-lessons { grid-template-columns: 1fr; }
  .bake-facts { grid-template-columns: 1fr; }
  .bake-bench-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 390px) {
  .lockup__word { height: 1.55rem !important; max-width: min(11rem, 48vw) !important; }
  .bake-hero-band { min-height: 0; max-height: none; }
  .bake-hero-band__stage { padding: 1.15rem 1rem 0; }
  .bake-hero-band__loaf { max-height: 9rem; }
  .bake-stills img { height: 7.5rem; max-height: 7.5rem; }
  .bake-lessons a { grid-template-columns: 1fr; }
  .bake-lessons img { max-height: 7rem; }
  .bake-bench-strip__grid { grid-template-columns: 1fr 1fr; }
  .site-main .guide-index a { grid-template-columns: 1fr; }
}
