.path-frontpage {
  background: linear-gradient(180deg, #faf4ef 0%, #f6ede5 60%, #fefefe 100%);
  min-height: 100vh;
}

.frontpage {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl, 3rem);
  margin: var(--spacing-xl, 2.5rem) auto var(--spacing-3xl, 4rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  max-width: 1240px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 48px;
  box-shadow: 0 40px 120px rgba(71, 53, 40, 0.12);
}

.frontpage__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 1rem;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.frontpage__header::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(139, 76, 50, 0.08);
  pointer-events: none;
}

.frontpage__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b4c32, #c57547);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: #452719;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy p {
  margin: 0;
  font-size: 0.85rem;
  color: #7a5a46;
  font-weight: 500;
}

.front-nav {
  display: flex;
  justify-content: center;
}

.front-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.front-nav li {
  display: flex;
}

.front-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #694531;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.front-nav a:hover,
.front-nav a:focus {
  border-color: #8b4c32;
}

.front-nav__cta {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  background: #1d1c1c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.front-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border-radius: 36px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.85), rgba(255, 248, 240, 0.95)),
    linear-gradient(120deg, #fff4ec, #ffe8d9);
  box-shadow: 0 30px 60px rgba(78, 45, 25, 0.12);
  position: relative;
  overflow: hidden;
}

.front-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.front-hero__text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.front-hero__text .eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #927158;
}

.front-hero__text .lead {
  font-size: 1.125rem;
  color: #5c4a3f;
}

.front-hero__image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(46, 32, 20, 0.25);
  position: relative;
  min-height: clamp(320px, 55vh, 520px);
  display: flex;
  align-items: stretch;
}

.front-hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.front-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta .primary-button,
.hero-cta .secondary-button {
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.hero-cta .primary-button {
  background: #8b4c32;
  color: #fff;
}

.hero-cta .secondary-button {
  border: 2px solid rgba(139, 76, 50, 0.3);
  color: #8b4c32;
}

.front-quick {
  background: #fff;
  border-radius: 28px;
  padding: 1.75rem 2.25rem;
  box-shadow: 0 20px 45px rgba(21, 34, 50, 0.08);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.chip {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(117, 92, 72, 0.12);
  color: #5b3f31;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.chip:hover {
  background: rgba(117, 92, 72, 0.2);
  transform: translateY(-2px);
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.recipe-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.recipe-card--compact {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.recipe-card__media {
  height: 220px;
  background: #f2ebe3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.recipe-grid--latest .recipe-card__media {
  height: 180px;
}

.recipe-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-card__media--placeholder {
  color: #9a897d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.recipe-card__body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.front-featured,
.front-latest {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recipe-card__meta {
  display: flex;
  gap: 1rem;
  color: #6d5d4f;
  font-size: 0.9rem;
  margin-top: auto;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-heading a {
  text-decoration: none;
  font-weight: 600;
  color: #8b4c32;
}

@media (max-width: 820px) {
  .front-hero {
    grid-template-columns: 1fr;
  }

  .front-hero__image {
    min-height: clamp(260px, 40vh, 420px);
  }

  .frontpage__header {
    grid-template-columns: 1fr;
    justify-items: flex-start;
    gap: 1rem;
  }

  .front-nav {
    width: 100%;
  }

  .front-nav ul {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .front-nav__cta {
    justify-self: stretch;
    text-align: center;
  }
}
