/* Sathya Home Bakes — premium boutique page styles (scoped) */

body[data-page="bakes"] {
  --hb-ivory: var(--ivory, #faf8f5);
  --hb-cream: #fffcf5;
  --hb-blush: rgba(252, 238, 232, 0.65);
  --hb-maroon: var(--maroon, #4a1520);
  --hb-maroon-deep: var(--maroon-deep, #2d0f14);
  --hb-gold: var(--gold, #d4af37);
  --hb-gold-deep: var(--gold-deep, #8b6914);
  --hb-brown: var(--brown-soft, #3d2a22);
  --hb-section-y: clamp(2rem, 4.5vw, 2.75rem);
  --hb-head-gap: clamp(1.15rem, 2.5vw, 1.65rem);
  background: var(--hb-ivory);
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
}

@media (min-width: 768px) {
  body[data-page="bakes"] {
    --hb-section-y: clamp(2.35rem, 4vw, 3.15rem);
  }
}

@media (min-width: 1100px) {
  body[data-page="bakes"] {
    --hb-section-y: clamp(2.75rem, 4.5vw, 3.5rem);
  }
}

.hb-page {
  overflow-x: clip;
}

/* —— Hero (balanced, conversion-focused) —— */
.hb-hero.home-bakes-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: auto;
  padding-top: calc(var(--header-h, 76px) + clamp(1.25rem, 3vw, 2rem));
  padding-bottom: clamp(28px, 4vh, 40px);
  overflow-x: clip;
  overflow-y: hidden;
  scroll-margin-top: var(--header-h, 76px);
}

.hb-hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 1px, transparent 1.1px);
  background-size: 28px 28px;
}

.hb-hero__glow {
  position: absolute;
  width: min(480px, 62vw);
  height: min(480px, 62vw);
  right: 8%;
  top: 42%;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 152, 0.28) 0%, rgba(243, 228, 184, 0.12) 45%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
}

.hb-hero__grid.home-bakes-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  width: 100%;
}

.hb-hero__content.hero-copy {
  max-width: 40rem;
  padding-right: 0;
  align-self: center;
}

.hb-hero__eyebrow {
  margin: clamp(0.35rem, 1.5vh, 0.75rem) 0 0.6rem;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hb-gold-deep);
}

.hb-hero__title.hero-title,
.hero-title.hb-hero__title {
  margin: 0;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(2.35rem, 4.65vw, 4.55rem);
  line-height: 0.95;
  max-width: 760px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hb-maroon);
}

@media (min-width: 901px) {
  .hb-hero__grid.home-bakes-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: clamp(24px, 3.5vw, 56px);
  }
}

.hb-hero__lead {
  margin: 24px 0 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.65vw, 1.08rem);
  line-height: 1.65;
  color: var(--hb-brown);
}

.hb-hero__actions.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 30px 0 0;
}

.hb-hero__actions .btn {
  padding: 0.78rem 1.25rem;
  font-size: 0.88rem;
  box-shadow: 0 10px 28px rgba(45, 15, 20, 0.12);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    gap 0.3s ease;
}

.hb-hero__actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(45, 15, 20, 0.16);
}

.hb-hero__actions .btn--ghost {
  background: rgba(255, 252, 245, 0.88);
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--hb-maroon);
}

.hb-hero__actions .btn--ghost:hover {
  background: rgba(255, 252, 245, 0.98);
  border-color: rgba(212, 175, 55, 0.6);
}

.hb-hero .hero-trust-row,
.hb-hero .hb-trust-row.hero-trust-row {
  margin-top: 24px;
}

/* Hero collage — compact grid (overrides global style.css .hero-collage) */
body[data-page="bakes"] .hb-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: 100%;
  max-height: min(520px, 58vh);
  min-height: 0;
  overflow: hidden;
}

body[data-page="bakes"] .hb-hero__visual::before {
  content: "";
  position: absolute;
  width: 65%;
  height: 65%;
  right: 14%;
  top: 50%;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(232, 168, 152, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

body[data-page="bakes"] .hero-collage {
  position: relative;
  inset: auto;
  width: min(100%, 520px);
  max-height: min(480px, 54vh);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(12px, 1.5vw, 20px);
  align-items: stretch;
  margin: 0 0 0 auto;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  pointer-events: auto;
}

body[data-page="bakes"] .hero-collage::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 50%, rgba(205, 166, 78, 0.14), transparent 62%),
    linear-gradient(135deg, rgba(255, 248, 235, 0.72), rgba(255, 242, 232, 0.38));
  z-index: -1;
  pointer-events: none;
}

body[data-page="bakes"] .hero-main-card,
body[data-page="bakes"] .hero-mini-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(205, 166, 78, 0.5);
  background: #fff8ef;
  box-shadow: 0 20px 48px rgba(72, 38, 30, 0.14);
  animation: none;
  transform: none;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  justify-self: stretch;
}

body[data-page="bakes"] .hero-main-card {
  min-height: 0;
  max-height: min(480px, 54vh);
  border-radius: 32px;
}

body[data-page="bakes"] .hero-side-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(12px, 1.5vw, 20px);
  min-height: 0;
  max-height: min(480px, 54vh);
}

body[data-page="bakes"] .hero-mini-card {
  min-height: 0;
  border-radius: 26px;
}

body[data-page="bakes"] .hero-main-card img,
body[data-page="bakes"] .hero-mini-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: none;
  box-shadow: none;
  filter: none;
}

@media (min-width: 901px) {
  body[data-page="bakes"] .hero-main-card {
    min-height: clamp(240px, 28vw, 360px);
  }
}

@media (max-width: 980px) {
  body[data-page="bakes"] .hb-hero__visual {
    max-height: none;
  }

  body[data-page="bakes"] .hero-collage {
    width: min(100%, 440px);
    max-height: none;
    margin: clamp(1rem, 3vw, 1.5rem) auto 0;
    grid-template-columns: 1fr;
  }

  body[data-page="bakes"] .hero-main-card {
    min-height: clamp(220px, 48vw, 300px);
    max-height: none;
  }

  body[data-page="bakes"] .hero-side-stack {
    max-height: none;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  body[data-page="bakes"] .hero-mini-card {
    aspect-ratio: 1.35 / 1;
  }
}

@media (max-width: 640px) {
  body[data-page="bakes"] .hero-collage {
    width: min(100%, 380px);
    gap: 12px;
  }

  body[data-page="bakes"] .hero-main-card {
    min-height: 200px;
    border-radius: 24px;
  }

  body[data-page="bakes"] .hero-side-stack {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="bakes"] .hero-mini-card {
    aspect-ratio: 1.35 / 1;
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  body[data-page="bakes"] .hero-collage {
    display: grid;
  }
}

body[data-page="bakes"] .hb-hero__visual.sk-aos,
body[data-page="bakes"] .hb-hero__visual.sk-aos.sk-aos--fade-up {
  opacity: 1;
  transform: none;
}

.hb-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--hb-maroon);
  background: linear-gradient(145deg, rgba(255, 252, 245, 0.98), rgba(252, 238, 232, 0.55));
  border: 1px solid rgba(212, 175, 55, 0.42);
  box-shadow:
    0 8px 22px rgba(45, 15, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.hb-trust-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.58);
  box-shadow: 0 10px 26px rgba(45, 15, 20, 0.09);
}

.hb-trust-pill--fssai {
  position: relative;
  isolation: isolate;
}

.hb-trust-pill--fssai::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.75), rgba(212, 175, 55, 0.15));
  background-size: 220% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: hbGoldShimmer 7s ease-in-out infinite;
  pointer-events: none;
}

.hb-trust-pill__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* —— Sections —— */
.hb-section {
  padding-block: var(--hb-section-y);
}

.hb-section + .hb-section {
  padding-top: calc(var(--hb-section-y) * 0.65);
}

.hb-hero.home-bakes-hero + .hb-section {
  padding-top: calc(var(--hb-section-y) * 0.75);
}

.hb-section--soft {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.35) 0%, rgba(249, 244, 232, 0.88) 50%, rgba(252, 238, 232, 0.35) 100%);
}

.hb-section__head {
  max-width: 44rem;
  margin: 0 auto var(--hb-head-gap);
  text-align: center;
}

.hb-section__head--wide {
  max-width: 50rem;
}

.hb-section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--hb-maroon);
}

.hb-section__lead {
  margin: 0;
  font-size: clamp(1rem, 1.75vw, 1.1rem);
  line-height: 1.7;
  color: var(--hb-brown);
}

.hb-section__lead--left {
  margin-top: 0.85rem;
  text-align: left;
}

/* —— Category cards —— */
.hb-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.2vw, 1.65rem);
}

.hb-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: calc(var(--radius-lg, 1rem) + 2px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(165deg, var(--hb-cream) 0%, var(--hb-blush) 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow:
    0 16px 42px rgba(45, 15, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.hb-cat-card::before,
.hb-cat-card::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 0.65;
  z-index: 3;
}

.hb-cat-card::before {
  top: 0;
  left: 0;
  border-top: 2px solid rgba(212, 175, 55, 0.6);
  border-left: 2px solid rgba(212, 175, 55, 0.6);
  border-radius: calc(var(--radius-lg, 1rem) + 2px) 0 0 0;
}

.hb-cat-card::after {
  right: 0;
  bottom: 0;
  border-bottom: 2px solid rgba(212, 175, 55, 0.45);
  border-right: 2px solid rgba(212, 175, 55, 0.45);
  border-radius: 0 0 calc(var(--radius-lg, 1rem) + 2px) 0;
}

.hb-cat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 26px 56px rgba(45, 15, 20, 0.12);
}

.hb-cat-card__media {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 9.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(255, 248, 235, 0.9);
}

.hb-cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-cat-card:hover .hb-cat-card__media img {
  transform: scale(1.08);
}

.hb-cat-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
  padding: 1.15rem 1.25rem 1.35rem;
}

.hb-cat-card__title {
  margin: 0;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
  line-height: 1.25;
  color: var(--hb-maroon);
}

.hb-cat-card__text {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--hb-brown);
}

.hb-cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--hb-gold-deep);
}

.hb-cat-card__arrow {
  transition: transform 0.35s ease;
}

.hb-cat-card:hover .hb-cat-card__arrow {
  transform: translateX(5px);
}

/* —— Occasion chips —— */
.hb-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.75rem;
  max-width: 54rem;
  margin: 0 auto;
  padding: 0.25rem 0 0;
  list-style: none;
}

.hb-chips li {
  padding: 0.58rem 1.15rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hb-maroon);
  background: rgba(255, 252, 245, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 6px 18px rgba(45, 15, 20, 0.05);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.hb-chips li:nth-child(odd) {
  transform: translateY(-3px);
}

.hb-chips li:nth-child(even) {
  transform: translateY(3px);
}

.hb-chips li:nth-child(3n) {
  margin-inline: 0.15rem;
}

.hb-chips li:hover {
  transform: translateY(-2px);
  background: rgba(255, 252, 245, 1);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow:
    0 10px 28px rgba(45, 15, 20, 0.08),
    0 0 0 1px rgba(243, 228, 184, 0.45);
}

/* —— Product filters & grid —— */
.hb-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: 0 0.25rem;
}

.hb-filter-btn {
  padding: 0.58rem 1.15rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--hb-maroon);
  background: rgba(255, 252, 245, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.34);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(45, 15, 20, 0.04);
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.hb-filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.52);
  box-shadow: 0 8px 20px rgba(45, 15, 20, 0.07);
}

.hb-filter-btn.is-active {
  background: var(--hb-maroon);
  border-color: var(--hb-maroon);
  color: var(--hb-cream);
  box-shadow: 0 10px 24px rgba(45, 15, 20, 0.14);
}

.hb-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2vw, 1.65rem);
}

.hb-product-card {
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius-md, 0.75rem) + 4px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--hb-cream) 0%, rgba(252, 238, 232, 0.35) 100%);
  border: 1px solid rgba(212, 175, 55, 0.34);
  box-shadow: 0 14px 36px rgba(45, 15, 20, 0.07);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    opacity 0.35s ease;
}

.hb-product-card.is-hidden {
  display: none;
}

.hb-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(45, 15, 20, 0.11);
}

.hb-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
}

.hb-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-product-card:hover .hb-product-card__media img {
  transform: scale(1.06);
}

.hb-product-card__badges {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  z-index: 1;
}

.hb-badge {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hb-maroon);
  background: rgba(255, 252, 245, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 10px rgba(45, 15, 20, 0.06);
  backdrop-filter: blur(4px);
}

.hb-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: 1.1rem 1.15rem 1.25rem;
}

.hb-product-card__title {
  margin: 0;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  line-height: 1.22;
  color: var(--hb-maroon);
}

.hb-product-card__text {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--hb-brown);
}

.hb-product-card__price {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  color: rgba(139, 105, 20, 0.75);
}

.hb-product-card__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--hb-cream);
  background: linear-gradient(135deg, var(--hb-maroon) 0%, var(--hb-maroon-deep) 100%);
  border: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow: 0 8px 20px rgba(45, 15, 20, 0.14);
  transition:
    gap 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hb-product-card__wa:hover {
  gap: 0.6rem;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(45, 15, 20, 0.18);
}

/* —— How to order steps —— */
.hb-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.2vw, 1.65rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 901px) {
  .hb-steps {
    position: relative;
  }

  .hb-steps::before {
    content: "";
    position: absolute;
    top: 1.85rem;
    left: 14%;
    right: 14%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(212, 175, 55, 0.35) 15%,
      rgba(212, 175, 55, 0.5) 50%,
      rgba(212, 175, 55, 0.35) 85%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 0;
  }
}

.hb-step {
  position: relative;
  z-index: 1;
  padding: 1.45rem 1.2rem 1.25rem;
  border-radius: calc(var(--radius-lg, 1rem) + 2px);
  background: linear-gradient(165deg, var(--hb-cream), rgba(252, 238, 232, 0.4));
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 32px rgba(45, 15, 20, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.hb-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(45, 15, 20, 0.09);
}

.hb-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hb-maroon);
  background: linear-gradient(145deg, rgba(243, 228, 184, 0.95), rgba(212, 175, 55, 0.5));
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2);
}

.hb-step__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--hb-maroon);
}

.hb-step__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--hb-brown);
}

/* —— Flavours —— */
.hb-flavour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.5vw, 1.85rem);
  align-items: stretch;
}

.hb-flavour-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.5rem, 2.8vw, 2rem);
  border-radius: calc(var(--radius-lg, 1rem) + 4px);
  background:
    linear-gradient(165deg, rgba(255, 252, 245, 0.98) 0%, rgba(252, 238, 232, 0.45) 100%),
    radial-gradient(ellipse at 100% 0%, rgba(212, 175, 55, 0.08), transparent 55%);
  border: 1px solid rgba(212, 175, 55, 0.34);
  box-shadow: 0 14px 38px rgba(45, 15, 20, 0.07);
}

.hb-flavour-panel h3 {
  position: relative;
  margin: 0 0 1.25rem;
  padding-bottom: 0.85rem;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--hb-maroon);
}

.hb-flavour-panel h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hb-gold), rgba(212, 175, 55, 0.2));
}

.hb-flavour-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-flavour-panel li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1.65rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--hb-brown);
}

.hb-flavour-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 1.1rem;
  height: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--hb-maroon);
  background: rgba(243, 228, 184, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
}

/* —— Flavours & Customisation (premium 2×2 grid) —— */
.hb-section--customisation {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.92), rgba(249, 244, 232, 0.55));
}

.bakes-customisation__header {
  max-width: 42rem;
  margin: 0 auto 1.35rem;
  text-align: center;
}

.bakes-customisation__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.15;
  color: var(--hb-maroon);
}

.bakes-customisation__lead {
  margin: 0;
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  line-height: 1.7;
  color: var(--hb-brown);
}

.bakes-customisation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.bakes-customisation__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: clamp(1.75rem, 2.5vw, 2.125rem);
  background:
    linear-gradient(165deg, rgba(255, 252, 245, 0.98) 0%, rgba(252, 238, 232, 0.42) 100%),
    radial-gradient(ellipse at 100% 0%, rgba(212, 175, 55, 0.1), transparent 52%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 16px 40px rgba(45, 15, 20, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.bakes-customisation__card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-top-right-radius: clamp(1.75rem, 2.5vw, 2.125rem);
  background: radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.22), transparent 68%);
  pointer-events: none;
}

.bakes-customisation__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(45, 15, 20, 0.1);
}

.bakes-customisation__card-title {
  position: relative;
  margin: 0 0 0.5rem;
  padding-bottom: 0.6rem;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.2;
  color: var(--hb-maroon);
}

.bakes-customisation__card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hb-gold), rgba(212, 175, 55, 0.15));
}

.bakes-customisation__intro {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--hb-brown);
}

.bakes-customisation__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bakes-customisation__list li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--hb-brown);
}

.bakes-customisation__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.05rem;
  height: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--hb-maroon);
  background: rgba(243, 228, 184, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50%;
}

.bakes-customisation__card--order {
  justify-content: flex-start;
}

.bakes-customisation__card--order .bakes-customisation__steps {
  flex: 1 1 auto;
}

.bakes-customisation__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}

.bakes-customisation__steps li {
  margin: 0;
  padding: 0;
}

.bakes-customisation__step-pill {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--hb-maroon);
  background: rgba(255, 252, 245, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.42);
  box-shadow: 0 4px 12px rgba(45, 15, 20, 0.04);
}

.bakes-customisation__cta {
  width: 100%;
  margin-top: auto;
  justify-content: center;
  text-align: center;
}

@media (max-width: 767px) {
  .bakes-customisation__header {
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .bakes-customisation__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .bakes-customisation__card {
    padding: 1.5rem;
  }

  .bakes-customisation__card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bakes-customisation__card {
    transition: none;
  }

  .bakes-customisation__card:hover {
    transform: none;
  }
}

/* —— Kitchen touch —— */
.hb-kitchen {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: calc(var(--radius-xl, 1.25rem) + 4px);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 252, 245, 0.98), rgba(252, 238, 232, 0.5));
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 24px 60px rgba(45, 15, 20, 0.09);
}

.hb-kitchen__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.14) 1.5px, transparent 1.6px),
    radial-gradient(circle at 50% 50%, rgba(232, 168, 152, 0.1) 1px, transparent 1.1px);
  background-size: 32px 32px, 16px 16px;
}

.hb-kitchen__content {
  position: relative;
  z-index: 1;
}

.hb-kitchen__content .hb-section__title {
  text-align: left;
  margin-bottom: 1rem;
}

.hb-kitchen__quote {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--hb-gold);
  border-radius: 0 calc(var(--radius-md, 0.75rem) + 2px) calc(var(--radius-md, 0.75rem) + 2px) 0;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--hb-maroon);
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 10px 28px rgba(45, 15, 20, 0.05);
}

.hb-kitchen__visual {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: calc(var(--radius-lg, 1rem) + 4px);
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.48);
  box-shadow:
    0 20px 48px rgba(74, 21, 32, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hb-kitchen__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.hb-kitchen__visual:hover img {
  transform: scale(1.03);
}

/* —— Gallery bento —— */
.hb-gallery-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(130px, 150px);
  gap: 0.85rem;
  max-height: none;
}

.hb-gallery-item {
  position: relative;
  display: block;
  border-radius: calc(var(--radius-md, 0.75rem) + 2px);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.34);
  box-shadow: 0 12px 28px rgba(45, 15, 20, 0.08);
}

.hb-gallery-item--wide {
  grid-column: span 2;
}

.hb-gallery-item--tall {
  grid-row: span 2;
}

.hb-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-gallery-item::after {
  content: "View Gallery";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-cream);
  background: rgba(45, 15, 20, 0.42);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hb-gallery-item:hover img {
  transform: scale(1.06);
}

.hb-gallery-item:hover::after {
  opacity: 1;
}

.hb-gallery-cta {
  margin-top: 1.25rem;
  text-align: center;
}

.hb-gallery-cta .btn {
  padding: 0.85rem 1.5rem;
}

/* —— Reviews placeholders —— */
.hb-reviews-note {
  margin: -0.5rem auto 1.5rem;
  max-width: 42rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(61, 42, 34, 0.78);
}

.hb-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.hb-review-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.5rem 1.35rem;
  border-radius: calc(var(--radius-lg, 1rem) + 2px);
  text-align: center;
  background: linear-gradient(165deg, var(--hb-cream), rgba(252, 238, 232, 0.35));
  border: 1px dashed rgba(212, 175, 55, 0.45);
  box-shadow: 0 10px 28px rgba(45, 15, 20, 0.05);
}

.hb-review-card--pending .hb-review-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: normal;
  font-weight: 500;
  color: rgba(61, 42, 34, 0.82);
}

.hb-review-card[data-placeholder="true"] .hb-review-card__label,
.hb-review-card[data-placeholder="true"] .hb-review-card__stars,
.hb-review-card[data-placeholder="true"] cite {
  display: none;
}

/* —— Final CTA —— */
.hb-final-cta {
  position: relative;
  text-align: center;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: calc(var(--radius-xl, 1.25rem) + 6px);
  background: linear-gradient(155deg, rgba(74, 21, 32, 0.97) 0%, rgba(45, 15, 20, 0.99) 55%, rgba(61, 42, 34, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.42);
  box-shadow:
    0 28px 64px rgba(45, 15, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hb-final-cta::before {
  content: "";
  display: block;
  width: min(140px, 35%);
  height: 3px;
  margin: 0 auto 1.65rem;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--hb-gold), transparent);
}

.hb-final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12), transparent 55%);
}

.hb-final-cta__title,
.hb-final-cta__lead,
.hb-final-cta__actions {
  position: relative;
  z-index: 1;
}

.hb-final-cta__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.18;
  color: #fff8e8;
}

.hb-final-cta__lead {
  max-width: 38rem;
  margin: 0 auto 1.65rem;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255, 248, 232, 0.9);
}

.hb-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.hb-final-cta__actions .btn {
  padding: 0.9rem 1.45rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hb-final-cta__actions .btn:hover {
  transform: translateY(-2px);
}

.hb-btn-arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

.btn:hover .hb-btn-arrow,
.hb-product-card__wa:hover .hb-btn-arrow {
  transform: translateX(4px);
}

/* Stagger product cards when visible */
.hb-product-grid .hb-product-card[data-sk-animate] {
  transition-delay: calc(var(--sk-delay, 0ms) + 0ms);
}

.hb-product-grid .hb-product-card:nth-child(2) {
  transition-delay: 60ms;
}

.hb-product-grid .hb-product-card:nth-child(3) {
  transition-delay: 120ms;
}

.hb-product-grid .hb-product-card:nth-child(4) {
  transition-delay: 180ms;
}

/* —— Animations —— */
@keyframes hbHeroFloat {
  0%,
  100% {
    transform: translateY(-18px);
  }
  50% {
    transform: translateY(-26px);
  }
}

@keyframes hbGoldShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* —— Responsive —— */
@media (min-width: 901px) and (max-width: 1100px) {
  .hb-hero__grid.home-bakes-hero-grid {
    gap: clamp(24px, 3.5vw, 48px);
  }

  body[data-page="bakes"] .hero-collage {
    width: min(100%, 480px);
  }

  body[data-page="bakes"] .hero-main-card {
    min-height: clamp(220px, 26vw, 320px);
  }
}

@media (max-width: 1100px) {
  .hb-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hb-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hb-steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .hb-hero.home-bakes-hero {
    align-items: flex-start;
    min-height: auto;
    padding-top: calc(var(--header-h, 76px) + clamp(1.25rem, 4vw, 2rem));
    padding-bottom: clamp(32px, 4vh, 48px);
  }

  .hb-hero__grid.home-bakes-hero-grid,
  .hb-kitchen {
    grid-template-columns: 1fr;
  }

  body[data-page="bakes"] .hb-hero__visual {
    order: 2;
    margin-top: clamp(0.5rem, 2vw, 1rem);
    margin-bottom: 0;
    max-height: none;
    justify-content: center;
  }

  body[data-page="bakes"] .hero-collage {
    margin-inline: auto;
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }

  body[data-page="bakes"] .hb-hero__content.hero-copy {
    order: 1;
    max-width: none;
    text-align: center;
  }

  .hb-hero__title.hero-title {
    margin-inline: auto;
    font-size: clamp(2rem, 7vw, 3.2rem);
    max-width: 100%;
  }

  .hb-hero__lead {
    margin-inline: auto;
  }

  .hb-hero__actions.hero-actions {
    justify-content: center;
  }

  .hb-hero .hero-trust-row {
    justify-content: center;
  }

  .hb-hero__glow {
    right: 50%;
    top: 28%;
    translate: 50% -50%;
  }

  .hb-kitchen__content .hb-section__title {
    text-align: center;
  }

  .hb-section__lead--left {
    text-align: center;
  }

  .hb-kitchen__quote {
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--hb-gold);
    border-radius: var(--radius-md, 0.75rem);
  }

  .hb-reviews-grid {
    grid-template-columns: 1fr;
  }

  .hb-gallery-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(115px, 135px);
  }

  .hb-gallery-item--tall {
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .hb-cat-grid,
  .hb-flavour-grid,
  .hb-steps {
    grid-template-columns: 1fr;
  }

  .hb-hero__title.hero-title {
    font-size: clamp(1.85rem, 8.5vw, 2.65rem);
    line-height: 1;
  }

  .hb-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hb-product-grid {
    grid-template-columns: 1fr;
  }

  .hb-gallery-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(100px, 120px);
  }

  .hb-gallery-item--wide {
    grid-column: span 2;
  }

  .hb-chips li:nth-child(odd),
  .hb-chips li:nth-child(even) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="bakes"] .hero-collage {
    transform: none;
  }

  .hb-trust-pill--fssai::before {
    animation: none;
  }

  .hb-cat-card:hover,
  .hb-product-card:hover,
  .hb-step:hover,
  .hb-gallery-item:hover img,
  body[data-page="bakes"] .hero-collage:hover .hero-main-card img,
  body[data-page="bakes"] .hero-collage:hover .hero-mini-card img,
  .hb-hero__actions .btn:hover,
  .hb-final-cta__actions .btn:hover {
    transform: none;
  }

  .hb-chips li:hover {
    transform: none;
  }
}

/* =============================================================================
   Mockup-aligned layout (header, trio, split, showcase)
   ============================================================================= */

body[data-page="bakes"] .container {
  width: min(1240px, 100% - 2.5rem);
}

/* Header — active nav (layout: assets/css/upgrades.css) */
body[data-page="bakes"] .nav-link.is-active,
body[data-page="bakes"] .nav-link--active {
  color: var(--hb-maroon);
  font-weight: 600;
}

body[data-page="bakes"] .nav-link.is-active::after,
body[data-page="bakes"] .nav-link--active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Section eyebrows */
.hb-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hb-gold-deep);
}

.hb-eyebrow--left {
  text-align: left;
}

.hb-hero__eyebrow-mark {
  color: var(--hb-gold);
  margin-right: 0.15rem;
}

/* Category row — 6 across on large screens */
@media (min-width: 1180px) {
  .hb-cat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .hb-cat-card__media {
    aspect-ratio: 1 / 1;
    min-height: 7.5rem;
  }

  .hb-cat-card__body {
    padding: 0.9rem 0.85rem 1rem;
  }

  .hb-cat-card__text {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .hb-cat-card__title {
    font-size: 0.95rem;
  }
}

@media (min-width: 900px) and (max-width: 1179px) {
  .hb-cat-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .hb-cat-card {
    flex: 0 0 clamp(200px, 38vw, 260px);
    width: clamp(200px, 38vw, 260px);
    max-width: none;
    scroll-snap-align: start;
  }

  .hb-cat-card__media {
    aspect-ratio: 4 / 3;
  }
}

.hb-cat-card__body::before {
  content: "";
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin-bottom: 0.35rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(145deg, rgba(243, 228, 184, 0.7), rgba(212, 175, 55, 0.25));
}

/* Chips — icon + label */
.hb-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hb-chips li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: linear-gradient(145deg, rgba(243, 228, 184, 0.5), transparent);
}

/* Product CTA full width */
.hb-product-card__wa {
  width: 100%;
  margin-top: auto;
}

/* Founder story — premium split layout */
.hb-section--trio {
  background: linear-gradient(180deg, rgba(249, 244, 232, 0.5), rgba(255, 252, 245, 0.9));
}

.hb-section--customisation + .hb-section--trio {
  padding-top: calc(var(--hb-section-y) * 0.45);
}

.hb-section--trio .container {
  min-width: 0;
}

.hb-founder-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: clamp(1.75rem, 2.5vw, 2.25rem);
  background:
    radial-gradient(circle at 12% 10%, rgba(212, 175, 55, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 252, 244, 0.96), rgba(250, 244, 230, 0.88));
  box-shadow: 0 24px 70px rgba(67, 31, 36, 0.08);
  overflow: hidden;
  min-width: 0;
}

.hb-founder-story__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.14) 1.5px, transparent 1.6px),
    radial-gradient(circle at 50% 50%, rgba(232, 168, 152, 0.1) 1px, transparent 1.1px);
  background-size: 32px 32px, 16px 16px;
}

.hb-founder-story::before,
.hb-founder-story::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  border-color: rgba(212, 175, 55, 0.45);
  pointer-events: none;
  z-index: 0;
}

.hb-founder-story::before {
  top: 22px;
  left: 22px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-top-left-radius: 28px;
}

.hb-founder-story::after {
  right: 22px;
  bottom: 22px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-bottom-right-radius: 28px;
}

.hb-founder-story__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 720px;
}

.hb-founder-story__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--hb-maroon);
}

.hb-founder-story__text {
  max-width: 680px;
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.75;
  color: var(--hb-brown);
}

.hb-founder-story__quote {
  margin: 1.15rem 0 0;
  padding: 0.75rem 0 0.75rem 1.15rem;
  border-left: 4px solid var(--hb-gold);
  font-family: var(--font-display, "Playfair Display", serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.75vw, 1.45rem);
  line-height: 1.45;
  color: var(--hb-maroon);
  background: transparent;
  box-shadow: none;
}

.hb-founder-story__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.hb-founder-story__badges li {
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--hb-maroon);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hb-founder-story__cta {
  margin-top: 1.15rem;
  width: fit-content;
  max-width: 100%;
}

.hb-founder-story__visual {
  position: relative;
  z-index: 1;
  width: clamp(260px, 30vw, 380px);
  max-width: 380px;
  justify-self: start;
  align-self: start;
  margin: 0;
  min-width: 0;
}

.hb-founder-story__image-frame {
  width: 100%;
  height: auto;
  max-height: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 26px 60px rgba(67, 31, 36, 0.16);
  background: #fffaf0;
}

.hb-founder-story__image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hb-founder-story__caption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--hb-maroon);
}

.hb-founder-story__caption strong {
  display: block;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.hb-founder-story__caption span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(61, 42, 34, 0.72);
}

@media (max-width: 980px) {
  .hb-founder-story {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 1.75rem) clamp(1.25rem, 3vw, 1.5rem);
  }

  .hb-founder-story__visual {
    order: 2;
    justify-self: center;
    width: min(100%, 420px);
    max-width: 420px;
  }

  .hb-founder-story__content {
    order: 1;
  }

  .hb-founder-story__image-frame {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 560px) {
  .hb-founder-story {
    border-radius: 1.875rem;
    padding: 1.875rem 1.375rem;
  }

  .hb-founder-story__title {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }

  .hb-founder-story__quote {
    padding-left: 1.125rem;
    font-size: 1.1rem;
  }

  .hb-founder-story__badges {
    gap: 0.5rem;
  }

  .hb-founder-story__badges li {
    font-size: 0.74rem;
    padding: 0.5rem 0.75rem;
  }

  .hb-founder-story__cta {
    width: 100%;
    justify-content: center;
  }
}

.hb-steps--vertical {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.hb-steps--vertical .hb-step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  box-shadow: none;
  background: rgba(255, 252, 245, 0.7);
}

.hb-steps--vertical .hb-step__num {
  grid-row: 1 / 3;
  align-self: start;
  width: 2rem;
  height: 2rem;
  margin: 0;
  font-size: 0.85rem;
}

.hb-steps--vertical .hb-step__title {
  margin: 0;
  font-size: 0.92rem;
}

.hb-steps--vertical .hb-step__text {
  grid-column: 2;
  font-size: 0.8rem;
  line-height: 1.5;
}

.hb-flavour-grid--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  flex: 1;
}

.hb-flavour-grid--compact .hb-flavour-panel {
  padding: 0.85rem 0.75rem;
  box-shadow: none;
  background: rgba(255, 252, 245, 0.75);
}

.hb-flavour-grid--compact .hb-flavour-panel h3 {
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
}

.hb-flavour-grid--compact .hb-flavour-panel li {
  font-size: 0.78rem;
  padding: 0.28rem 0 0.28rem 1.35rem;
}

/* Split — gallery left, reviews right */
.hb-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.hb-split__title {
  margin: 0 0 1rem;
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: var(--hb-maroon);
}

.hb-gallery-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.65rem;
  min-height: 280px;
}

.hb-gallery-showcase__main {
  display: block;
  border-radius: calc(var(--radius-md, 0.75rem) + 2px);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.34);
  box-shadow: 0 12px 28px rgba(45, 15, 20, 0.08);
}

.hb-gallery-showcase__main img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hb-gallery-showcase__main:hover img {
  transform: scale(1.04);
}

.hb-gallery-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
}

.hb-gallery-showcase__item {
  display: block;
  border-radius: calc(var(--radius-md, 0.75rem) - 2px);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.hb-gallery-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  transition: transform 0.45s ease;
}

.hb-gallery-showcase__item:hover img {
  transform: scale(1.05);
}

.hb-gallery-cta--left {
  margin-top: 1rem;
  text-align: left;
}

.hb-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hb-maroon);
  text-decoration: none;
}

.hb-text-link:hover {
  color: var(--hb-gold-deep);
}

.hb-reviews-note--left {
  margin: 0 0 1rem;
  text-align: left;
}

.hb-reviews-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hb-reviews-stack .hb-review-card {
  min-height: 100px;
  padding: 1.1rem 1rem;
}

body[data-page="bakes"] .hb-split__col--reviews .grev-widget {
  margin-top: 0.35rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background: rgba(255, 252, 245, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.32);
}

body[data-page="bakes"] .hb-split__col--reviews .grev-widget__grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: min(62vh, 540px);
  overflow-y: auto;
  scrollbar-width: thin;
}

body[data-page="bakes"] .hb-split__col--reviews .grev-card {
  flex-shrink: 0;
}

/* Final CTA — blurred cake background */
.hb-final-cta--image {
  background:
    linear-gradient(155deg, rgba(74, 21, 32, 0.92) 0%, rgba(45, 15, 20, 0.94) 100%),
    url("../images/home-bakes/hero-cake.webp") center / cover no-repeat;
}

.hb-final-cta--image::after {
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.15), transparent 60%);
}

/* Responsive — layout fixes */
@media (max-width: 1100px) {
  .hb-trio {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hb-split,
  .hb-gallery-showcase {
    grid-template-columns: 1fr;
  }

  .hb-flavour-grid--compact {
    grid-template-columns: 1fr;
  }

  .hb-gallery-showcase__main {
    min-height: 200px;
  }
}

@media (max-width: 560px) {
  .hb-gallery-showcase__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Layout polish (v6) —— */
body[data-page="bakes"] {
  scroll-padding-top: calc(var(--header-h, 76px) + 8px);
}

body[data-page="bakes"] #main {
  overflow-x: clip;
}

body[data-page="bakes"] .hb-hero__content.hero-copy {
  padding-top: 0.15rem;
}

body[data-page="bakes"] .hb-trust-row.hero-trust-row {
  max-width: 36rem;
}

@media (max-width: 900px) {
  body[data-page="bakes"] .hb-trust-row.hero-trust-row {
    margin-inline: auto;
    justify-content: center;
  }
}

body[data-page="bakes"] .hb-hero__visual {
  max-width: 100%;
}

.hb-cat-card__body {
  min-height: 0;
}

.hb-cat-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

@media (min-width: 1180px) {
  .hb-cat-card__text {
    -webkit-line-clamp: 3;
  }
}

.hb-split__col {
  min-width: 0;
}

.hb-founder-story {
  min-width: 0;
}

.hb-gallery-showcase,
.hb-gallery-showcase__main,
.hb-gallery-showcase__grid {
  min-width: 0;
}

/* Prevent horizontal scroll from wide grids */
@media (max-width: 1100px) {
  .hb-split {
    gap: clamp(1.25rem, 4vw, 2rem);
  }
}

/* Safer AOS: show content if observer never fires */
@media (prefers-reduced-motion: reduce) {
  body[data-page="bakes"] .sk-aos {
    opacity: 1 !important;
    transform: none !important;
  }
}
