/* Editorial blog home — standalone styles (does not affect product pages) */

:root {
  --hb-bg: #fbf8f2;
  --hb-bg-alt: #f3ede1;
  --hb-surface: #ffffff;
  --hb-ink: #17150f;
  --hb-muted: #6b6355;
  --hb-line: rgba(28, 22, 12, 0.1);
  --hb-gold: #b8892e;
  --hb-gold-soft: #f0e0b6;
  --hb-olive: #4a5d44;
  --hb-shadow: 0 18px 44px rgba(38, 30, 16, 0.09);
  --hb-shadow-sm: 0 8px 22px rgba(38, 30, 16, 0.07);
  --hb-radius: 1.15rem;
  --hb-max: 1180px;
  --hb-font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --hb-display: "Fraunces", "Outfit", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.hb {
  margin: 0;
  font-family: var(--hb-font);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--hb-ink);
  background: var(--hb-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.hb-container {
  width: 100%;
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hb-skip {
  position: absolute;
  left: -9999px;
}

.hb-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--hb-surface);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
}

/* ——— Header ——— */
.hb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hb-line);
}

.hb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.hb-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--hb-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.hb-logo span {
  color: var(--hb-gold);
}

.hb-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.hb-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--hb-muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.hb-nav a:hover,
.hb-nav a:focus-visible {
  color: var(--hb-ink);
  border-bottom-color: var(--hb-gold);
}

.hb-nav__cta {
  padding: 0.6rem 1.15rem !important;
  border-radius: 999px;
  background: linear-gradient(140deg, #f0d060 0%, #d4a43a 45%, #b8892e 100%);
  color: #1c1408 !important;
  border-bottom: 0 !important;
  box-shadow: var(--hb-shadow-sm);
}

.hb-nav__cta:hover {
  filter: brightness(1.05);
}

.hb-burger {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid var(--hb-line);
  border-radius: 0.75rem;
  background: var(--hb-surface);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.hb-burger span,
.hb-burger span::before,
.hb-burger span::after {
  position: absolute;
  left: 50%;
  width: 1.15rem;
  height: 2px;
  background: var(--hb-ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hb-burger span {
  top: 50%;
  margin-top: -1px;
}

.hb-burger span::before,
.hb-burger span::after {
  content: "";
  left: 0;
  transform: none;
}

.hb-burger span::before {
  top: -6px;
}

.hb-burger span::after {
  top: 6px;
}

.hb-burger[aria-expanded="true"] span {
  background: transparent;
}

.hb-burger[aria-expanded="true"] span::before {
  transform: rotate(45deg) translateY(6px);
}

.hb-burger[aria-expanded="true"] span::after {
  transform: rotate(-45deg) translateY(-6px);
}

@media (max-width: 880px) {
  .hb-burger {
    display: block;
  }

  .hb-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--hb-bg);
    border-bottom: 1px solid var(--hb-line);
    box-shadow: var(--hb-shadow);
    display: none;
  }

  .hb-nav.is-open {
    display: flex;
  }

  .hb-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hb-line);
    font-size: 1.05rem;
  }

  .hb-nav__cta {
    margin-top: 0.9rem;
    text-align: center;
  }
}

/* ——— Hero ——— */
.hb-hero {
  padding: 3.25rem 0 2rem;
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(240, 208, 96, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 5% 20%, rgba(74, 93, 68, 0.1) 0%, transparent 52%);
}

.hb-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hb-gold);
  margin: 0 0 0.85rem;
}

.hb-hero__title {
  font-family: var(--hb-display);
  font-size: clamp(2.1rem, 5.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 1rem;
  max-width: 34ch;
}

.hb-hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: var(--hb-muted);
  margin: 0 0 1.75rem;
  max-width: 58ch;
}

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

.hb-hero__chips a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  background: var(--hb-surface);
  border: 1px solid var(--hb-line);
  box-shadow: var(--hb-shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.hb-hero__chips a:hover {
  transform: translateY(-2px);
  border-color: var(--hb-gold);
}

/* ——— Featured ——— */
.hb-section {
  padding: 3rem 0;
}

.hb-section--alt {
  background: var(--hb-bg-alt);
}

.hb-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hb-section__title {
  font-family: var(--hb-display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0;
}

.hb-section__hint {
  margin: 0;
  color: var(--hb-muted);
  font-size: 0.95rem;
}

.hb-featured {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  background: var(--hb-surface);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  overflow: hidden;
  box-shadow: var(--hb-shadow);
}

.hb-featured__media {
  position: relative;
  min-height: 15rem;
  background: linear-gradient(160deg, #1c1a14, #2c2a20);
}

.hb-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hb-featured__body {
  padding: 1.5rem 1.5rem 1.85rem;
}

@media (min-width: 860px) {
  .hb-featured {
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    align-items: stretch;
  }

  .hb-featured__body {
    padding: 2.5rem;
    align-self: center;
  }

  .hb-featured__media {
    min-height: 26rem;
  }
}

.hb-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--hb-gold-soft);
  color: #7a5a12;
  margin-bottom: 0.9rem;
}

.hb-tag--sugar {
  background: #fbe4f6;
  color: #86198f;
}

.hb-tag--memo {
  background: #e9e3ff;
  color: #5b21b6;
}

.hb-tag--boost {
  background: #e3ecfb;
  color: #1e3a8a;
}

.hb-featured__title {
  font-family: var(--hb-display);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 0.85rem;
}

.hb-featured__title a {
  text-decoration: none;
}

.hb-featured__title a:hover {
  color: var(--hb-gold);
}

.hb-featured__excerpt {
  color: var(--hb-muted);
  margin: 0 0 1.35rem;
}

.hb-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--hb-muted);
  margin: 0 0 1.35rem;
}

.hb-meta__dot::before {
  content: "·";
  margin-right: 0.5rem;
}

.hb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  background: linear-gradient(140deg, #f0d060 0%, #d4a43a 45%, #b8892e 100%);
  color: #1c1408;
  box-shadow: var(--hb-shadow-sm);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.hb-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.hb-btn--ghost {
  background: transparent;
  color: var(--hb-ink);
  border: 1px solid var(--hb-line);
  box-shadow: none;
}

.hb-btn--ghost:hover {
  border-color: var(--hb-gold);
}

/* ——— Post grid ——— */
.hb-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .hb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .hb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hb-card {
  display: flex;
  flex-direction: column;
  background: var(--hb-surface);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  overflow: hidden;
  box-shadow: var(--hb-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hb-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hb-shadow);
}

.hb-card__media {
  aspect-ratio: 16 / 10;
  background: var(--hb-bg-alt);
  overflow: hidden;
}

.hb-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.hb-card__body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hb-card__title {
  font-family: var(--hb-display);
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0 0 0.6rem;
}

.hb-card__title a {
  text-decoration: none;
}

.hb-card__title a:hover {
  color: var(--hb-gold);
}

.hb-card__excerpt {
  color: var(--hb-muted);
  font-size: 0.96rem;
  margin: 0 0 1.1rem;
}

.hb-card__link {
  margin-top: auto;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--hb-gold);
}

.hb-card__link:hover {
  text-decoration: underline;
}

/* ——— Product strip ——— */
.hb-products {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .hb-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .hb-products {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hb-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1.4rem;
  background: var(--hb-surface);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  box-shadow: var(--hb-shadow-sm);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.hb-product:hover {
  transform: translateY(-4px);
  border-color: var(--hb-gold);
}

.hb-product__shot {
  width: 100%;
  height: 9.5rem;
  object-fit: contain;
}

.hb-product__name {
  font-family: var(--hb-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

.hb-product__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--hb-muted);
}

.hb-product__go {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--hb-gold);
}

/* ——— Newsletter ——— */
.hb-cta {
  background: linear-gradient(150deg, #1b1912 0%, #2a2519 55%, #3a3122 100%);
  color: #f7f2e6;
  border-radius: var(--hb-radius);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--hb-shadow);
}

.hb-cta__title {
  font-family: var(--hb-display);
  font-size: clamp(1.45rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}

.hb-cta__text {
  color: rgba(247, 242, 230, 0.78);
  margin: 0 auto 1.5rem;
  max-width: 46ch;
}

.hb-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 30rem;
  margin: 0 auto;
}

.hb-form input {
  flex: 1 1 14rem;
  min-height: 3.1rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 242, 230, 0.25);
  background: rgba(255, 255, 255, 0.07);
  color: #f7f2e6;
  font: inherit;
  font-size: 1rem;
}

.hb-form input::placeholder {
  color: rgba(247, 242, 230, 0.5);
}

.hb-form input:focus-visible {
  outline: 2px solid var(--hb-gold);
  outline-offset: 2px;
}

.hb-form button {
  min-height: 3.1rem;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(140deg, #f0d060 0%, #d4a43a 45%, #b8892e 100%);
  color: #1c1408;
}

.hb-form__note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: rgba(247, 242, 230, 0.55);
}

/* ——— Footer ——— */
.hb-footer {
  padding: 2.75rem 0 2rem;
  border-top: 1px solid var(--hb-line);
  margin-top: 3rem;
}

.hb-footer__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .hb-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.hb-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-muted);
  margin: 0 0 0.85rem;
}

.hb-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.hb-footer a {
  text-decoration: none;
  color: var(--hb-ink);
  font-size: 0.96rem;
}

.hb-footer a:hover {
  color: var(--hb-gold);
}

.hb-footer__about {
  color: var(--hb-muted);
  font-size: 0.96rem;
  margin: 0.75rem 0 0;
  max-width: 40ch;
}

.hb-footer__legal {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--hb-line);
  font-size: 0.85rem;
  color: var(--hb-muted);
}

.hb-footer__legal p {
  margin: 0 0 0.5rem;
}

/* ——— Reveal ——— */
@media (prefers-reduced-motion: no-preference) {
  .hb-reveal {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .hb-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
