@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

:root {
  color-scheme: light;
  --page: #DCEBC4;
  --ink: #2B1A1F;
  --primary: #C2185B;
  --primary-hover: #9E1249;
  --second: #6E9A3F;
  --pop: #FFFFFF;
  --paper: var(--page);
  --pale: var(--page);
  --green: var(--ink);
  --rust: var(--primary);
  --muted: var(--ink);
  --line: var(--second);
  font-family: 'DM Sans', Arial, sans-serif;
  background: var(--page);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: 14px;
  background: var(--page);
  color: var(--ink);
}

body::before,
body::after {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 50;
  pointer-events: none;
  content: '';
}

body::before {
  top: 0;
  height: 10px;
  background: var(--primary);
}

body::after {
  top: 10px;
  height: 4px;
  background: var(--pop);
}

h1,
h2,
h3 {
  color: var(--ink) !important;
  font-family: 'Archivo Black', sans-serif !important;
}

body :is(p, li, figcaption, .breadcrumbs, .author, .format-label, .access-note, .health-note, .download-reminder, .recipe-title-note, .contents-footer p, .feature-card p, .faq-item p, .site-footer-inner) {
  color: var(--ink);
}

body :is(.sample-section, .related-section, .wednesday-format) {
  background: var(--page);
  color: var(--ink);
}

body :is(.sample-copy .eyebrow, .wednesday-format .eyebrow) {
  color: var(--primary);
}

body :is(.sample-copy > p:not(.eyebrow), .wednesday-format p) {
  color: var(--ink);
}

body .site-header {
  top: 14px;
  background: var(--page);
  backdrop-filter: none;
}

body .site-header,
body .site-footer-inner,
body :is(.contents-group, .faq-item, .feature-card, .wednesday-note, .planner-day, .sample-figure, .wednesday-figure, .wednesday-video-figure, .wednesday-story-figure, .wednesday-note-pagination > a, .wednesday-note-pagination > span) {
  border-color: var(--second);
}

body .site-footer {
  background: var(--ink);
  color: var(--page);
}

body .site-footer-inner,
body .site-footer-inner :is(a, span) {
  color: var(--page);
}

body .button,
body .nav-order,
body .email-signup button,
body .signup-popup-trigger,
body #mlb2-47058026 .ml-form-embedSubmit button.primary {
  border: 1px solid var(--primary);
  border-radius: 0;
  background: var(--primary);
  color: var(--pop);
  box-shadow: none;
}

body .button:hover,
body .nav-order:hover,
body .email-signup button:hover,
body .signup-popup-trigger:hover,
body #mlb2-47058026 .ml-form-embedSubmit button.primary:hover {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
  color: var(--pop);
}

body .sample-buy,
body .button.secondary {
  border-color: var(--second);
  background: var(--second);
  color: var(--ink);
}

body .sample-figure,
body .cover-stage,
body .content-section,
body .email-signup,
body .guide-callout,
body .wednesday-end,
body .wednesday-experiment-summary-stage,
body .wednesday-note-pagination > a,
body .wednesday-note-pagination > span,
body .planner-day,
body .mailerlite-signup-dialog,
body #mlb2-47058026 input.form-control {
  background: var(--page);
}

body :is(input, select, textarea) {
  border-radius: 0;
  border-color: var(--second);
  background: var(--page);
  color: var(--ink);
}

body :is(input, select, textarea):focus-visible,
body a:focus-visible,
body button:focus-visible {
  outline-color: var(--primary);
}

body :is(.feature-card, .sample-figure, .wednesday-figure, .wednesday-story-figure, .wednesday-video-figure, .planner-day) {
  box-shadow: none;
}

a {
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
}

.site-footer a,
.button,
.nav-order,
.signup-popup-trigger {
  text-decoration: none;
}
a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--green);
  color: var(--paper);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--page);
  backdrop-filter: none;
}

.header-inner,
.page-shell,
.site-footer-inner {
  width: min(100% - 48px, 1220px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
}

.brand-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.25;
  text-transform: uppercase;
}

.brand-tagline {
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  font-size: 13px;
}

.site-nav a {
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--rust);
  text-decoration: underline;
}

.page-shell {
  padding-bottom: 72px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a {
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(38px, 7vw, 92px);
  padding-block: clamp(40px, 7vw, 82px) clamp(68px, 9vw, 112px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--rust);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 1px;
  background: currentColor;
  content: '';
}

.hero h1,
.content-section h2,
.order-copy h2,
.faq-section h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -.045em;
}

.hero h1 {
  max-width: 720px;
  color: var(--green);
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: .99;
}

.hero-lead {
  max-width: 600px;
  margin: 23px 0 0;
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.author {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--second);
  padding: 8px 11px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.buy-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  border-block: 1px solid var(--line);
  padding-block: 18px;
}

.format-label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.price {
  margin: 3px 0 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
}

.access-note {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--green);
  padding: 14px 18px;
  background: var(--green);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease;
}

.button:hover {
  border-color: var(--rust);
  background: var(--rust);
}

.health-note {
  max-width: 610px;
  margin: 18px 0 0;
  border-left: 2px solid var(--rust);
  padding-left: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.sample-section {
  padding-block: clamp(56px, 7vw, 92px);
  background: var(--green);
  color: var(--paper);
}

.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
}

.sample-copy .eyebrow {
  color: var(--primary);
}

.sample-copy h2 {
  max-width: 570px;
  margin: 0;
  color: var(--paper);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 4.3vw, 54px);
  font-weight: 500;
  line-height: 1.08;
}

.sample-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 18px 0 0;
  color: rgb(247 244 235 / 84%);
  font-size: 15px;
  line-height: 1.75;
}

.sample-copy > .sample-note {
  border-left: 2px solid var(--rust);
  padding-left: 13px;
  font-size: 12px;
}

.sample-buy {
  margin-top: 24px;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--green);
}

.sample-buy:hover {
  border-color: var(--rust);
  background: var(--rust);
  color: var(--paper);
}

.sample-figure {
  max-width: 600px;
  margin: 0;
  justify-self: end;
  border: 1px solid rgb(247 244 235 / 55%);
  padding: 12px;
  background: var(--paper);
  color: var(--green);
  box-shadow: none;
}

.sample-image-link {
  display: block;
  line-height: 0;
}

.sample-image-link img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.sample-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 12px 2px 2px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

.sample-figure figcaption a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 3px;
}

.cover-stage {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
  overflow: hidden;
  background: var(--pale);
}

.cover-stage::after {
  position: absolute;
  inset: 8% 7%;
  border: 1px solid var(--second);
  content: '';
  transform: rotate(4deg);
}

.cover-stage img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(72%, 370px);
  height: auto;
  box-shadow: none;
  transform: rotate(-2deg);
}

.content-section {
  background: var(--pale);
  padding-block: clamp(58px, 8vw, 100px);
}

.content-section .page-shell {
  padding-bottom: 0;
}

.content-section h2,
.order-copy h2 {
  max-width: 740px;
  color: var(--green);
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.08;
}

.content-intro {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
}

.contents-link {
  margin: 18px 0 0;
  font-weight: 700;
}

.cookbook-index-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cookbook-index-links a {
  border: 1px solid var(--green);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contents-page {
  padding-block: clamp(48px, 7vw, 88px);
}

.contents-page h1 {
  max-width: 860px;
  margin: 16px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.04;
}

.contents-intro {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
}

.contents-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 48px;
  margin-top: 48px;
}

.contents-group {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.contents-group h2 {
  margin: 0 0 14px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 27px;
  font-weight: 500;
}

.contents-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents-group li {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.qualified-recipe-title > span {
  display: block;
}

.recipe-title {
  font-weight: 600;
}

.recipe-title-note {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.contents-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.contents-footer p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.contents-footer .button {
  margin-top: 12px;
}

.contents-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.contents-footer-actions .text-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.feature-card {
  min-height: 154px;
  border-top: 1px solid var(--second);
  padding: 18px 8px 16px 0;
}

.feature-card h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}

.feature-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.faq-section {
  background: var(--paper);
  padding-block: clamp(58px, 8vw, 94px);
}

.faq-section .page-shell {
  padding-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin-top: 28px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 18px 8px 16px 0;
}

.faq-item h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

.faq-item p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.order-section {
  padding-block: clamp(58px, 8vw, 94px);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 50px;
}

.order-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

.order-copy .button {
  margin-top: 24px;
}

.related-section {
  background: var(--green);
  color: var(--paper);
  padding-block: 34px;
}

.related-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.related-inner p {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 3vw, 34px);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links a {
  border: 1px solid var(--second);
  padding: 12px 15px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.related-links a:hover {
  background: var(--paper);
  color: var(--green);
}

.site-footer {
  padding-block: 22px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

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

  .sample-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sample-copy {
    max-width: 720px;
  }

  .sample-figure {
    width: min(100%, 720px);
    justify-self: center;
  }

  .cover-stage {
    min-height: min(112vw, 560px);
  }

  .cover-stage img {
    width: min(66%, 350px);
  }

  .order-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .page-shell,
  .site-footer-inner {
    width: min(100% - 36px, 1220px);
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand-name {
    font-size: 9px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .site-nav {
    gap: 12px;
    font-size: 11px;
  }

  .site-nav a:last-child {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  .sample-section {
    padding-block: 52px;
  }

  .sample-figure {
    padding: 8px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 62px);
  }

  .buy-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .buy-panel .button {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contents-sections,
  .contents-group ul {
    grid-template-columns: 1fr;
  }

  .cookbook-index-links {
    flex-direction: column;
  }

  .feature-card {
    min-height: 0;
  }

  .related-inner,
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-links {
    width: 100%;
    flex-direction: column;
  }

  .related-links a {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

.sample-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr));
  gap: 1rem;
  align-content: start;
}

.sample-gallery-primary {
  grid-row: span 2;
}

.buy-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.download-reminder {
  margin: 0;
  color: var(--ink);
  font-size: .75rem;
}

@media (max-width: 760px) {
  .sample-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sample-gallery-primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
