:root {
  --bss-green: #2f6b3b;
  --bss-green-deep: #1f4a2b;
  --bss-green-soft: #7da66d;
  --bss-red: #e54a2b;
  --bss-red-deep: #c53b1f;
  --bss-gold: #f6c948;
  --bss-cream: #f8f4ec;
  --bss-white: #fffdf9;
  --bss-text: #1c2321;
  --bss-muted: #5f5a54;
  --bss-border: #ece2d2;
  --bss-shadow: 0 18px 42px rgba(31, 74, 43, 0.08);
  --bss-radius: 24px;
  --bss-radius-sm: 18px;
  --bss-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--bss-text);
  background: var(--bss-cream);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--bss-red);
  color: var(--bss-white);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 800;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

button:hover,
button:focus-visible,
.button:hover,
.button:focus-visible {
  background: var(--bss-red-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(229, 74, 43, 0.24);
}

.button--ghost {
  background: transparent;
  color: var(--bss-green-deep);
  border: 2px solid var(--bss-green);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(47, 107, 59, 0.06);
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bss-container {
  width: min(calc(100% - 2rem), var(--bss-max));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--bss-border);
  backdrop-filter: blur(10px);
}

.site-header__inner,
.site-navigation,
.menu,
.hero-actions,
.chip-row,
.recipe-card__meta,
.filter-actions,
.site-footer__inner,
.newsletter-form {
  display: flex;
  align-items: center;
}

.site-header__inner {
  justify-content: space-between;
  min-height: 92px;
  gap: 1.5rem;
}

.site-branding img {
  width: clamp(180px, 18vw, 240px);
}

.site-navigation {
  gap: 1.6rem;
}

.menu {
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.menu a {
  font-weight: 700;
  color: var(--bss-text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  background: var(--bss-green);
  color: var(--bss-white);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.site-content > * {
  padding-block: 2rem;
}

.home-hero {
  padding-top: 0.5rem;
}

.home-hero__grid,
.recipe-hero,
.recipe-body,
.recipe-layout,
.notes-grid,
.article-layout {
  display: grid;
  gap: 2rem;
}

.home-hero__grid {
  align-items: stretch;
  grid-template-columns: minmax(0, 0.68fr) minmax(420px, 1fr);
  padding-top: 0.5rem;
}

.home-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 1rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--bss-green);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow--gold {
  color: var(--bss-gold);
}

.home-hero__content h1,
.archive-hero h1,
.recipe-hero h1,
.article-header h1,
.page-header h1 {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.3rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-copy,
.archive-hero p,
.recipe-subtitle {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--bss-muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.hero-actions {
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.8rem 0;
}

.home-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 460px;
}

.hero-splash {
  position: relative;
  width: 100%;
}

.hero-splash::before {
  content: "";
  position: absolute;
  inset: 4% 0 6% 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 0%, rgba(248, 244, 236, 0.94) 68%, rgba(248, 244, 236, 0) 72%);
}

.hero-splash img {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-sticker {
  position: absolute;
  top: 25%;
  left: 8%;
  z-index: 2;
  width: 150px;
  padding: 1.2rem 1rem;
  border-radius: 44% 56% 52% 48% / 52% 48% 52% 48%;
  background: var(--bss-green);
  color: var(--bss-white);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-12deg);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 22px;
  background: var(--bss-white);
  border: 1px solid var(--bss-border);
  box-shadow: var(--bss-shadow);
}

.search-form::before {
  content: "⌕";
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--bss-text);
  font-size: 1.9rem;
}

.search-form input,
.newsletter-form input,
.filter-panel select,
.bss-admin-grid input,
.bss-admin-grid textarea,
.bss-section-card input,
.bss-step-card input,
.bss-step-card textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
}

.search-form input::placeholder,
.newsletter-form input::placeholder {
  color: #9c9488;
}

.search-form button {
  min-width: 132px;
}

.section-heading {
  margin-bottom: 1.3rem;
}

.section-heading h2 {
  margin: 0.15rem 0 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-link {
  color: var(--bss-green);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.section-link::after {
  content: " →";
}

.shortcut-grid,
.recipe-grid,
.post-grid,
.collection-grid {
  display: grid;
  gap: 1.3rem;
}

.shortcut-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shortcut-card,
.recipe-card,
.editorial-card,
.collection-card,
.archive-hero,
.content-panel,
.filter-panel,
.empty-state {
  border-radius: var(--bss-radius);
}

.shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 235px;
  padding: 1.45rem;
  background: var(--bss-white);
}

.shortcut-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--bss-text);
  font-size: 1.8rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(0, 0, 0, 0.06);
}

.shortcut-card strong {
  display: block;
  margin-bottom: 0.6rem;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.shortcut-card span:not(.shortcut-card__icon) {
  color: var(--bss-muted);
  line-height: 1.5;
}

.shortcut-card em {
  margin-top: auto;
  padding-top: 1.3rem;
  color: var(--bss-green);
  font-style: normal;
  font-weight: 800;
}

.shortcut-card em::after {
  content: " →";
}

.shortcut-card--protein {
  background: #eef3df;
}

.shortcut-card--budget {
  background: #f7efd7;
}

.shortcut-card--warm {
  background: #f8e2da;
}

.shortcut-card--prep {
  background: #dfeef0;
}

.recipe-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.recipe-grid--compact,
.editorial-grid,
.collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recipe-card,
.editorial-card,
.collection-card {
  overflow: hidden;
  background: var(--bss-white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 22px rgba(31, 74, 43, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.recipe-card:hover,
.editorial-card:hover,
.collection-card:hover,
.shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(31, 74, 43, 0.1);
}

.recipe-card--feature {
  display: grid;
  grid-template-columns: minmax(290px, 0.95fr) minmax(0, 1.05fr);
}

.recipe-card__image,
.editorial-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  background: #ede4d5;
}

.recipe-card__image img,
.editorial-card__image img,
.article-image img,
.recipe-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--bss-gold);
  color: var(--bss-text);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.recipe-card__body,
.editorial-card__body,
.collection-card__body {
  padding: 1.15rem 1.2rem 1.25rem;
}

.recipe-card__body h3,
.editorial-card__body h3,
.collection-card__body h2 {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.7rem;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.recipe-card__body > p,
.editorial-card__body > p,
.collection-card__body > p {
  margin: 0.55rem 0 0;
  color: var(--bss-muted);
  line-height: 1.55;
}

.recipe-card__meta {
  gap: 0.8rem;
  margin-top: 0.75rem;
  color: var(--bss-muted);
  font-size: 0.95rem;
}

.recipe-card__meta span + span::before {
  content: "•";
  margin-right: 0.8rem;
}

.recipe-card__footer {
  margin-top: 0.9rem;
}

.taxonomy-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #dce9d6;
  color: var(--bss-white);
  font-size: 0.88rem;
  font-weight: 800;
}

.taxonomy-chip--protein {
  background: var(--bss-green);
}

.archive-hero,
.content-panel,
.filter-panel,
.empty-state {
  background: var(--bss-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--bss-shadow);
}

.archive-hero,
.content-panel,
.filter-panel,
.empty-state,
.stat-badge {
  padding: 1.5rem;
}

.filter-panel__top,
.filter-panel__body {
  display: grid;
  gap: 1rem;
}

.filter-panel__top {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.filter-panel__top h2 {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.7rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.filter-grid label,
.filter-grid span {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.filter-panel select {
  min-height: 52px;
  border: 1px solid var(--bss-border);
  background: var(--bss-cream);
}

.filter-toggle {
  display: none;
}

.recipe-hero {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
}

.recipe-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.descriptor-stars {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.descriptor-stars span {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #edf2e8;
  color: var(--bss-green-deep);
  font-weight: 700;
}

.recipe-meta {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.stat-badge {
  border-radius: 20px;
  background: var(--bss-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 18px rgba(31, 74, 43, 0.05);
}

.stat-badge span {
  display: block;
  color: var(--bss-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stat-badge strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--bss-green-deep);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.3rem;
}

.recipe-body,
.article-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
}

.recipe-layout,
.notes-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.ingredient-section + .ingredient-section {
  margin-top: 1.4rem;
}

.ingredient-list,
.method-list {
  margin: 0;
  padding: 0;
}

.ingredient-list {
  list-style: none;
}

.ingredient-list li + li,
.method-list li + li {
  margin-top: 0.85rem;
}

.ingredient-list label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #eef3ea;
}

.ingredient-list input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.method-list {
  list-style: none;
  counter-reset: method;
}

.method-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
}

.method-list li::before {
  counter-increment: method;
  content: counter(method);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bss-green);
  color: var(--bss-white);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.step-tip {
  margin-top: 0.4rem;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid var(--bss-gold);
  background: #fff2c8;
  color: var(--bss-text);
}

.accent-panel {
  background: #fff2c8;
}

.about-strip {
  position: relative;
  margin-top: 2rem;
}

.about-strip__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  padding: 3rem 2.5rem;
  color: var(--bss-white);
  background: var(--bss-green-deep);
  border-radius: 32px;
  overflow: hidden;
}

.about-strip__shell::before,
.about-strip__shell::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  height: 26px;
  background: var(--bss-green-deep);
  filter: blur(1px);
}

.about-strip__shell::before {
  top: -10px;
  border-radius: 50% 50% 0 0;
}

.about-strip__shell::after {
  bottom: -10px;
  border-radius: 0 0 50% 50%;
}

.about-strip h2,
.about-strip h3,
.about-strip p {
  color: var(--bss-white);
}

.about-strip h2 {
  margin: 0 0 1rem;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-strip__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-feature {
  padding-left: 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.about-feature__icon {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--bss-gold);
  font-size: 2rem;
}

.about-feature h3 {
  margin: 0 0 0.55rem;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 0;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 32px;
  background: #fee7a1;
}

.newsletter-panel__art {
  height: 100%;
  background: #f1d77b;
}

.newsletter-panel__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-panel__card {
  padding: 2.3rem 2.2rem;
  background: #fee7a1;
}

.newsletter-panel__card h2 {
  margin: 0.25rem 0 0.7rem;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.newsletter-panel__card p {
  margin: 0;
  color: var(--bss-text);
}

.newsletter-form {
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.newsletter-form input {
  min-height: 56px;
  padding-inline: 1.2rem;
  border-radius: 999px;
  background: var(--bss-white);
}

.newsletter-form button {
  min-width: 160px;
}

.site-footer {
  margin-top: 0;
  padding: 2rem 0;
  background: #262523;
}

.site-footer__inner {
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer__brand img {
  width: 180px;
  margin-bottom: 0.9rem;
}

.site-footer,
.site-footer a,
.site-footer p,
.site-footer h2 {
  color: var(--bss-white);
}

.site-footer .menu {
  display: grid;
  gap: 0.7rem;
}

.site-footer__newsletter h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: "Outfit", "Segoe UI", sans-serif;
}

.empty-state {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.empty-state img {
  width: 56px;
}

.single-page,
.single-article,
.collection-copy {
  display: grid;
  gap: 1.5rem;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3 {
  font-family: "Outfit", "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
}

@media (max-width: 1150px) {
  .home-hero__grid,
  .recipe-hero,
  .recipe-body,
  .recipe-layout,
  .notes-grid,
  .article-layout,
  .recipe-card--feature,
  .newsletter-panel,
  .about-strip__shell {
    grid-template-columns: 1fr;
  }

  .shortcut-grid,
  .recipe-grid,
  .recipe-grid--compact,
  .editorial-grid,
  .collection-grid,
  .recipe-meta,
  .about-strip__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__visual {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-navigation {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
    background: var(--bss-white);
    border-bottom: 1px solid var(--bss-border);
  }

  .site-navigation.is-open {
    display: grid;
  }

  .menu {
    display: grid;
    gap: 1rem;
  }

  .section-heading--split,
  .search-form,
  .newsletter-form,
  .site-footer__inner {
    display: grid;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .filter-panel__body {
    display: none;
  }

  .filter-panel__body.is-open {
    display: grid;
  }

  .shortcut-grid,
  .recipe-grid,
  .recipe-grid--compact,
  .editorial-grid,
  .collection-grid,
  .recipe-meta,
  .filter-grid,
  .about-strip__features {
    grid-template-columns: 1fr;
  }

  .search-form button,
  .newsletter-form button {
    width: 100%;
  }

  .hero-sticker {
    top: 8%;
    left: 3%;
    width: 120px;
    font-size: 1.15rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .recipe-actions,
  .related-section,
  .newsletter-panel,
  .filter-panel,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .content-panel,
  .recipe-card,
  .archive-hero,
  .stat-badge {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
