/* Recipe Book landing page. The art and its existing motion hooks stay intact. */
.recipe-hero {
  background: linear-gradient(115deg, var(--brand-surface-light), var(--brand-white) 75%);
  border-bottom: 1px solid var(--line);
}
.recipe-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-areas: 'promise art' 'signup art';
  align-items: start;
  gap: 24px clamp(30px, 5vw, 76px);
  padding-block: clamp(40px, 5vw, 72px);
}
.recipe-promise { grid-area: promise; }
.recipe-promise .eyebrow { margin-bottom: 15px; font-size: .8125rem; }
.recipe-promise h1 { font-size: clamp(2.3rem, 3.95vw, 3.65rem); line-height: 1.1; }
.recipe-promise h1 span { display: block; color: var(--purple); }
.recipe-deck { margin-top: 18px; max-width: 540px; font-size: 1rem; line-height: 1.75; }
.recipe-art {
  grid-area: art;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 480px;
  padding-bottom: 17px;
  background: var(--brand-lavender-light-alt);
  border-radius: 50% 50% 14px 14px;
}
.recipe-art img {
  width: 100%;
  height: auto;
  filter: drop-shadow(8px 14px 10px color-mix(in srgb, var(--brand-shadow-28113f) 14.9%, transparent));
}
.recipe-signup {
  grid-area: signup;
  min-width: 0;
  max-width: 555px;
  padding: clamp(17px, 2.25vw, 28px);
  background: var(--brand-white);
  border: 1px solid var(--brand-border-card);
  border-radius: 18px;
  box-shadow: 0 8px 26px color-mix(in srgb, var(--brand-shadow-purple) 7%, transparent);
}
.recipe-signup h2 { max-width: 31ch; text-wrap: balance; font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.recipe-signup .kit-embed { margin-top: 14px; }
.recipe-signup .formkit-form[data-uid="85b7375149"],
.recipe-signup .formkit-form[data-uid="85b7375149"] > div {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.recipe-signup .small { margin-top: 14px; font-size: .8125rem; line-height: 1.65; }
.recipe-signup .kit-fallback a { color: var(--deep); font-weight: 600; }
/* A real page from the book, paired with a short, playable exercise. */
.recipe-inside { padding-block: clamp(54px, 7vw, 94px); background: var(--brand-surface-pale); }
.recipe-inside-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  grid-template-areas: 'intro sample' 'taster sample';
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: clamp(38px, 7vw, 100px);
  row-gap: 24px;
}
.recipe-inside-intro { grid-area: intro; }
.recipe-inside h2 { font-size: clamp(2.2rem, 4.3vw, 3.65rem); }
.recipe-inside-deck { max-width: 460px; margin-top: 13px; }
.recipe-sample { grid-area: sample; width: min(100%, 320px); justify-self: center; align-self: center;
  display: block;
  position: relative;
  border: 1px solid var(--brand-border-card);
  border-radius: 12px;
  box-shadow: 9px 10px 0 var(--brand-lavender-strong);
  background: var(--brand-white);
}
.recipe-sample img { width: 100%; height: auto; border-radius: 11px; }
.recipe-sample-tag {
  position: absolute;
  top: 14px;
  left: -12px;
  background: var(--yellow);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 5px;
  transform: rotate(-4deg);
  font-family: var(--brand-heading-font);
  font-weight: 800;
  font-size: .8rem;
}
.recipe-taster {
  grid-area: taster;
  min-width: 0;
  padding: clamp(20px, 2.8vw, 32px);
  border: 1px solid var(--brand-border-card);
  border-top: 4px solid var(--yellow);
  border-radius: 16px;
  background: var(--brand-white);
}
.recipe-taster .eyebrow { font-size: .72rem; margin-bottom: 8px; }
.recipe-taster h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.recipe-taster-intro { font-size: .9rem; margin-top: 9px; }
.recipe-taster-options:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.recipe-taster-options button {
  min-height: 42px;
  padding: 5px 13px;
  color: var(--deep);
  background: var(--brand-white);
  border: 1px solid var(--brand-border-card);
  border-radius: 999px;
  cursor: pointer;
  font-size: .875rem;
}
.recipe-taster-options button:hover { background: var(--brand-lavender-light); }
.recipe-taster-options button[aria-pressed="true"] { background: var(--deep); color: var(--brand-white); border-color: var(--deep); }
.recipe-taster-tip { margin-top: 15px; padding: 13px 16px; min-height: 105px; background: var(--brand-lavender-light); border-radius: 11px; }
.recipe-taster-tip strong { color: var(--deep); font-family: var(--brand-heading-font); font-size: .875rem; }
.recipe-taster-tip p { margin-top: 3px; font-size: .875rem; line-height: 1.6; }
.recipe-close { background: var(--brand-dark); padding: clamp(42px, 6vw, 68px) 0; text-align: center; }
.recipe-close h2 { color: var(--brand-white); font-size: clamp(1.95rem, 3.6vw, 3.15rem); }
.recipe-close p { color: var(--brand-lavender-pale); margin-top: 12px; }
.recipe-close .btn { margin-top: 22px; }
@media (min-width: 761px) and (max-width: 980px) {
  .recipe-hero-grid { column-gap: 28px; }
  .recipe-promise h1 { font-size: clamp(2.15rem, 4.05vw, 2.55rem); }
}
@media (max-width: 760px) {
  .recipe-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'promise' 'art' 'signup';
    row-gap: 22px;
    padding-block: 30px 40px;
  }
  .recipe-promise h1 { font-size: clamp(1.65rem, 8vw, 2.25rem); }
  .recipe-promise .eyebrow { font-size: .72rem; margin-bottom: 10px; }
  .recipe-deck { font-size: .9375rem; margin-top: 13px; }
  .recipe-art { max-width: clamp(155px, 45vw, 265px); padding-bottom: 8px; }
  .recipe-signup { width: 100%; max-width: none; padding: 18px; }
  .recipe-inside-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'sample' 'taster'; grid-template-rows: auto; gap: 26px; }
  .recipe-sample { width: min(calc(100% - 32px), 270px); }
}
