.trial-hero {
  min-height: calc(100svh - 84px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
}

.trial-hero::before {
  content: "";
  position: absolute;
  inset: auto -14vw -25vw auto;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(196, 90, 51, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(196, 90, 51, 0.04), 0 0 0 98px rgba(196, 90, 51, 0.025);
  pointer-events: none;
}

.trial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.trial-hero-copy { position: relative; z-index: 2; }
.trial-hero-copy .display { max-width: 780px; margin: 22px 0 24px; }
.trial-hero-copy .lede { margin-bottom: 28px; }

.offer-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 30px 0;
}

.offer-price strong {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.9;
  color: var(--terracotta);
}

.offer-price span {
  max-width: 120px;
  color: var(--muted-brown);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.offer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
}

.offer-facts span {
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--forest);
  background: rgba(255, 253, 248, 0.55);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trial-box-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.trial-box-frame {
  position: relative;
  width: min(100%, 620px);
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(107, 90, 69, 0.2);
  border-radius: 48% 48% 22px 22px;
  background: linear-gradient(155deg, rgba(255, 253, 248, 0.92), rgba(228, 215, 192, 0.78));
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.trial-box-frame img {
  width: 100%;
  min-height: 430px;
  border-radius: 42% 42% 14px 14px;
  object-fit: cover;
}

.trial-seal {
  position: absolute;
  right: -24px;
  top: 12%;
  width: 130px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-md);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
}

.clarity-strip {
  position: relative;
  z-index: 3;
  background: var(--forest);
  color: var(--parchment);
}

.clarity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.clarity-item {
  padding: 28px clamp(18px, 3vw, 38px);
  border-right: 1px solid rgba(250, 246, 238, 0.14);
}

.clarity-item:last-child { border-right: 0; }
.clarity-item span { display: block; color: #e2a07e; font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; }
.clarity-item strong { display: block; margin-top: 7px; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; line-height: 1.15; }

.recipes-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 52px;
}

.recipes-heading .h2 { margin-top: 18px; }
.recipes-heading .lede { justify-self: end; }

.trial-recipes {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.trial-recipe {
  position: relative;
  grid-column: span 3;
  min-height: 450px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.trial-recipe:nth-child(even) { transform: translateY(28px); }
.trial-recipe img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.trial-recipe:hover img { transform: scale(1.035); }
.trial-recipe::after { content: ""; position: absolute; inset: 32% 0 0; background: linear-gradient(transparent, rgba(26, 44, 34, 0.96)); }

.trial-recipe-copy {
  position: absolute;
  z-index: 2;
  inset: auto 22px 22px;
}

.trial-recipe-copy span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f0b89d; }
.trial-recipe-copy h3 { margin: 7px 0 6px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.trial-recipe-copy p { color: rgba(255, 253, 248, 0.8); font-size: 0.82rem; line-height: 1.5; }

.testimonials-section { overflow: hidden; }

.testimonials-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}

.testimonials-heading .h2 { margin-top: 16px; }
.testimonials-heading .lede { justify-self: end; }

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.testimonials-supporting {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.testimonial {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(107, 90, 69, 0.16);
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
}

.testimonial::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -64px;
  width: 170px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.08;
  box-shadow: 0 0 0 28px currentColor;
  pointer-events: none;
}

.testimonial--featured {
  min-height: 500px;
  background: var(--forest);
  color: var(--parchment);
  box-shadow: var(--shadow-md);
}

.testimonial--parchment { background: var(--parchment); color: var(--charcoal); }
.testimonial--terracotta { background: var(--terracotta); color: var(--white); }
.testimonial--cream { background: rgba(255, 253, 248, 0.72); color: var(--forest); }
.testimonial--charcoal { background: var(--charcoal); color: var(--parchment); }

.testimonial-mark {
  display: block;
  height: 54px;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 6.3rem;
  font-weight: 600;
  line-height: 0.82;
}

.testimonial--terracotta .testimonial-mark,
.testimonial--charcoal .testimonial-mark { color: rgba(255, 253, 248, 0.42); }

.testimonial blockquote {
  position: relative;
  z-index: 1;
  margin: auto 0;
}

.testimonial blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.012em;
}

.testimonial--featured blockquote p {
  max-width: 25ch;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.28;
}

.testimonial figcaption {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.testimonials-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  padding-top: 38px;
  border-top: 1px solid rgba(107, 90, 69, 0.26);
}

.testimonials-cta h3 { margin: 8px 0 6px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.testimonials-cta p { color: var(--muted-brown); }

.testimonials-cta-action {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 16px;
  align-items: baseline;
  justify-items: end;
}

.testimonials-cta-action strong {
  font-family: var(--serif);
  color: var(--terracotta);
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  line-height: 1;
}

.testimonials-cta-action > span {
  color: var(--muted-brown);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.testimonials-cta-action .btn { grid-column: 1 / -1; margin-top: 16px; }

.trial-order-section { scroll-margin-top: 74px; }
.order-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.order-intro { margin-bottom: 44px; }
.order-intro .h2 { margin: 16px 0; }

.trial-form {
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.form-section { padding: clamp(26px, 4vw, 44px); border-bottom: 1px solid var(--border-soft); }
.form-section:last-of-type { border-bottom: 0; }
.form-section-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.form-step { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--white); font-family: var(--mono); font-size: 0.72rem; }
.form-section-heading h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.form-section-heading p { margin-top: 5px; color: var(--muted-brown); font-size: 0.9rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .weight-legend { color: var(--charcoal); font-size: 0.77rem; font-weight: 700; letter-spacing: 0.04em; }
.field .optional { color: var(--muted-brown); font-weight: 500; }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 16px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(196, 90, 51, 0.1); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a33c2c; }
.field-error { min-height: 16px; color: #8d2f22; font-size: 0.72rem; line-height: 1.25; }

.weight-fieldset { border: 0; min-width: 0; }
.weight-legend { margin-bottom: 14px; }
.weight-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.weight-option { position: relative; }
.weight-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.weight-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.weight-card:hover { transform: translateY(-2px); border-color: var(--terracotta); }
.weight-option input:focus-visible + .weight-card { outline: 3px solid rgba(196, 90, 51, 0.35); outline-offset: 2px; }
.weight-option input:checked + .weight-card { border-color: var(--terracotta); background: #fff7ed; box-shadow: 0 8px 22px rgba(168, 66, 31, 0.13); }
.weight-option input:checked + .weight-card::before { content: "✓"; position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--terracotta); color: var(--white); font-size: 0.72rem; font-weight: 700; }
.weight-name { padding-right: 14px; font-size: 0.77rem; font-weight: 700; line-height: 1.3; }
.weight-price { font-family: var(--serif); color: var(--terracotta); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.weight-price small { display: block; margin-bottom: 6px; color: var(--muted-brown); font-family: var(--mono); font-size: 0.55rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.weight-help { margin-top: 12px; color: var(--muted-brown); font-size: 0.75rem; }

.selected-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--white);
}

.selected-price span { font-size: 0.82rem; color: rgba(255, 253, 248, 0.74); }
.selected-price strong { flex: 0 0 auto; font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 600; }

.summary-card {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--forest);
  color: var(--parchment);
  box-shadow: var(--shadow-lg);
}

.summary-image { position: relative; height: 210px; overflow: hidden; }
.summary-image img { width: 100%; height: 100%; object-fit: cover; }
.summary-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--forest)); }
.summary-content { padding: 0 28px 30px; }
.summary-content .eyebrow { color: #e2a07e; }
.summary-content .eyebrow::before { background: #e2a07e; }
.summary-content h3 { margin: 14px 0 24px; font-size: 1.65rem; }
.summary-list { display: grid; gap: 0; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(250, 246, 238, 0.12); font-size: 0.82rem; }
.summary-row span { color: rgba(250, 246, 238, 0.62); }
.summary-row strong { max-width: 58%; text-align: right; font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; }
.summary-total span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.summary-total strong { font-family: var(--serif); color: #f0b89d; font-size: 2.6rem; line-height: 1; }
.summary-card .btn { width: 100%; }
.summary-note { margin-top: 14px; color: rgba(250, 246, 238, 0.58); font-size: 0.72rem; line-height: 1.5; text-align: center; }

.form-alert { display: none; margin: 20px clamp(26px, 4vw, 44px) 0; padding: 13px 15px; border-radius: 10px; font-size: 0.86rem; }
.form-alert.is-visible { display: block; }
.form-alert--error { background: #f7dfd7; color: #75281c; border: 1px solid #e7b8a9; }
.submit-wrap { padding: 0 clamp(26px, 4vw, 44px) clamp(26px, 4vw, 44px); }
.submit-wrap .btn { width: 100%; }
.submit-wrap .btn:disabled { cursor: wait; opacity: 0.68; transform: none; }
.submit-subtext { margin-top: 12px; color: var(--muted-brown); font-size: 0.75rem; line-height: 1.5; text-align: center; }

.trial-success {
  display: none;
  min-height: 560px;
  place-items: center;
  padding: clamp(36px, 7vw, 76px);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.trial-success.is-visible { display: grid; }
.success-mark { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; background: var(--forest); color: var(--white); }
.success-mark svg { width: 34px; }
.trial-success .h2 { margin: 16px 0; }
.success-recap { width: min(100%, 470px); margin: 30px auto 0; padding: 20px; border-radius: 14px; background: var(--cream); text-align: left; }
.success-recap .summary-row { border-color: var(--border-soft); }
.success-recap .summary-row span { color: var(--muted-brown); }
.success-recap .summary-row strong { color: var(--charcoal); }

.trial-mobile-bar { display: none; }

@media (max-width: 1050px) {
  .trial-hero-grid { grid-template-columns: 1fr 0.85fr; gap: 44px; }
  .trial-box-visual { min-height: 440px; }
  .trial-box-frame img { min-height: 360px; }
  .trial-recipe { grid-column: span 6; }
  .trial-recipe:nth-child(even) { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial--featured { min-height: 410px; }
  .testimonial--featured blockquote p { max-width: 30ch; }
  .weight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .trial-hero { min-height: auto; padding-bottom: 42px; }
  .trial-hero-grid, .recipes-heading, .order-shell { grid-template-columns: 1fr; }
  .trial-hero-copy { padding-top: 10px; }
  .trial-box-visual { min-height: 390px; }
  .trial-box-frame { width: min(88%, 500px); }
  .trial-box-frame img { min-height: 320px; }
  .trial-seal { right: 0; width: 112px; }
  .clarity-grid { grid-template-columns: repeat(2, 1fr); }
  .clarity-item:nth-child(2) { border-right: 0; }
  .clarity-item:nth-child(-n+2) { border-bottom: 1px solid rgba(250, 246, 238, 0.14); }
  .recipes-heading .lede { justify-self: start; }
  .testimonials-heading { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-heading .lede { justify-self: start; }
  .testimonials-cta { grid-template-columns: 1fr; gap: 24px; }
  .testimonials-cta-action { justify-items: start; justify-content: start; }
  .summary-card { position: relative; top: auto; }
  .order-summary-column { order: -1; }
  .summary-image { height: 180px; }
}

@media (max-width: 620px) {
  body { padding-bottom: 74px; }
  .trial-hero-copy .display { font-size: clamp(2.65rem, 13.5vw, 4rem); }
  .trial-hero-copy .btn { width: 100%; }
  .offer-price { margin: 24px 0; }
  .trial-box-visual { min-height: 340px; }
  .trial-box-frame { width: 94%; padding: 12px; border-radius: 42% 42% 18px 18px; }
  .trial-box-frame img { min-height: 285px; border-radius: 38% 38% 12px 12px; }
  .trial-seal { top: 5%; right: -4px; width: 96px; padding: 15px; font-size: 0.6rem; }
  .clarity-grid { grid-template-columns: 1fr 1fr; }
  .clarity-item { padding: 20px 16px; }
  .trial-recipes { gap: 12px; }
  .trial-recipe { grid-column: span 6; min-height: 330px; }
  .trial-recipe-copy { inset: auto 15px 15px; }
  .trial-recipe-copy h3 { font-size: 1.25rem; }
  .trial-recipe-copy p { display: none; }
  .testimonials-section .container { padding-right: 0; }
  .testimonials-heading, .testimonials-cta { margin-right: var(--gutter); }
  .testimonials-grid {
    display: flex;
    gap: 14px;
    margin-right: 0;
    padding-right: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-supporting { display: contents; }
  .testimonial,
  .testimonial--featured {
    flex: 0 0 min(84vw, 360px);
    min-height: 390px;
    scroll-snap-align: start;
  }
  .testimonial--featured blockquote p { font-size: 1.35rem; }
  .testimonial blockquote p { font-size: 1.08rem; }
  .testimonials-cta { margin-top: 42px; padding-top: 30px; }
  .testimonials-cta-action { grid-template-columns: 1fr; gap: 5px; }
  .testimonials-cta-action .btn { grid-column: auto; width: 100%; margin-top: 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .field--full { grid-column: auto; }
  .weight-grid { grid-template-columns: 1fr; }
  .weight-card { min-height: 82px; flex-direction: row; align-items: center; padding: 15px 17px; }
  .weight-price { text-align: right; }
  .selected-price { align-items: flex-end; }
  .selected-price span { max-width: 145px; }
  .summary-image { display: none; }
  .summary-content { padding-top: 28px; }
  .trial-mobile-bar {
    position: fixed;
    z-index: 90;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(31, 27, 23, 0.96);
    color: var(--white);
    backdrop-filter: blur(12px);
    transform: translateY(120%);
    transition: transform 0.35s var(--ease);
  }
  .trial-mobile-bar.is-visible { transform: translateY(0); }
  .trial-mobile-price span { display: block; color: rgba(255, 253, 248, 0.6); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; }
  .trial-mobile-price strong { font-family: var(--serif); color: #f0b89d; font-size: 1.5rem; }
  .trial-mobile-bar .btn { padding: 12px 16px; font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  .trial-box-frame, .trial-recipe:nth-child(even) { transform: none; }
  .trial-recipe img, .trial-mobile-bar { transition: none; }
}
