:root {
  --cream: #faf7f2;
  --mint: #e8f5ef;
  --white: #ffffff;
  --text: #2a2f28;
  --muted: #5d6658;
  --green: #3d8b5a;
  --green-dark: #2d6b44;
  --coral: #e07a5f;
  --coral-soft: #fceee9;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito Sans", system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 10px 36px rgba(42, 47, 40, 0.09);
  --shell: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text);
  background: var(--cream);
}

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

a {
  color: var(--green-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 139, 90, 0.14);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.site-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.site-name span {
  color: var(--green);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.topnav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
}

.topnav a:hover {
  color: var(--green-dark);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.masthead {
  padding: 3rem 0 4rem;
  background: linear-gradient(160deg, var(--mint) 0%, var(--cream) 55%, var(--coral-soft) 100%);
}

.masthead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.badge {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}

.masthead h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 600;
}

.deck {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 36ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  display: inline-block;
  padding: 0.78rem 1.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: transform 0.15s;
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 5px 18px rgba(61, 139, 90, 0.4);
}

.button.primary:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
}

.button.secondary {
  border: 2px solid var(--green);
  color: var(--green-dark);
}

.button.secondary:hover {
  background: rgba(61, 139, 90, 0.08);
}

.masthead-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.masthead-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Panels */
.panel {
  padding: 3.75rem 0;
}

.panel-head {
  margin-bottom: 2rem;
}

.panel-head.centered {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}

.panel-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 0.4rem;
}

.panel-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0;
  font-weight: 600;
}

.panel-head .sub {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

/* About */
.about {
  background: var(--white);
}

.cards-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.info-card {
  padding: 1.6rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--green);
}

.info-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Methods */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.recipe {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.recipe img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.recipe-body {
  padding: 1.35rem 1.5rem 1.5rem;
  flex: 1;
}

.recipe-body h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  margin: 0 0 0.55rem;
}

.recipe-body p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.65rem;
  background: var(--mint);
  color: var(--green-dark);
  border-radius: 6px;
}

.recipe-wide {
  grid-column: 1 / -1;
  flex-direction: row;
}

.recipe-wide img {
  width: 38%;
  min-height: 200px;
  aspect-ratio: auto;
}

.recipe-wide .recipe-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Plan */
.plan {
  background: var(--mint);
}

.week {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.day {
  background: var(--white);
  padding: 1.2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(42, 47, 40, 0.06);
}

.day strong {
  display: block;
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.day p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Caution */
.caution-box {
  background: var(--coral-soft);
  border: 1px solid #f0c4b8;
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}

.caution-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.caution-list li {
  margin-bottom: 0.4rem;
}

.legal {
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px dashed #e8b4a8;
  font-size: 0.93rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  background: var(--white);
}

.qa {
  max-width: 38rem;
  margin-inline: auto;
}

.qa details {
  border-bottom: 1px solid var(--mint);
  padding: 0.95rem 0;
}

.qa summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  padding-right: 1.75rem;
  position: relative;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--coral);
  font-size: 1.2rem;
}

.qa details[open] summary::after {
  content: "−";
}

.qa p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

/* Footer */
.bottom {
  background: var(--text);
  color: #d5dbd0;
  padding-top: 2.75rem;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.75rem;
  padding-bottom: 1.75rem;
}

.bottom-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 0.2rem;
}

.bottom-text {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  opacity: 0.8;
  max-width: 28ch;
}

.bottom-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.55;
  margin: 0 0 0.5rem;
}

.bottom a {
  color: #a8ddb8;
  text-decoration: none;
}

.bottom-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bottom-line {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.82rem;
  opacity: 0.5;
}

.bottom-line p {
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .masthead-grid,
  .cards-three,
  .recipe-grid,
  .week,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .recipe-wide {
    flex-direction: column;
  }

  .recipe-wide img {
    width: 100%;
  }

  .topnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(61, 139, 90, 0.14);
    box-shadow: var(--shadow);
  }

  .topnav.open {
    display: flex;
  }

  .menu-btn {
    display: flex;
  }

  .topbar .shell {
    position: relative;
  }
}
