:root {
  --cream: #fff3d6;
  --ink: #24120f;
  --persimmon: #f15a3c;
  --purple: #6c4aef;
  --lime: #c9f45b;
  --white: #ffffff;
  --active-accent: var(--persimmon);
  --font-display: "Arial Black", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-ui: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --content-max: 96rem;
  --header-height: 7rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
}

button:not(:disabled),
a[href] {
  cursor: pointer;
}

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

::selection {
  background: var(--purple);
  color: var(--cream);
}

.skip-link {
  position: fixed;
  inset: 0 auto auto 1rem;
  z-index: 100;
  padding: 0.8rem 1.1rem;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  transform: translateY(-130%);
}

.skip-link:focus {
  transform: translateY(1rem);
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand,
.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 2.1rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 4rem);
  font-size: 1rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding-block: 0.75rem;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0.5rem;
  left: 0;
  height: 3px;
  background: var(--persimmon);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-width: 9rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
}

.nav-cta:hover {
  background: var(--purple);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
}

.menu-toggle svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(27rem, 0.96fr);
  align-items: center;
  min-height: max(48rem, 100svh);
  max-width: var(--content-max);
  margin-inline: auto;
  padding: calc(var(--header-height) + 2rem) var(--gutter) 6.5rem;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding-block: 2rem;
}

.hero h1,
.recipes h2,
.mixer h2,
.selection-summary h3,
.confirmation h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 950;
  letter-spacing: -0.075em;
}

.hero h1 {
  max-width: 8.3em;
  font-size: clamp(4rem, 8.2vw, 8.8rem);
  line-height: 0.88;
}

.hero h1 span {
  display: block;
}

.hero-copy > p {
  max-width: 31rem;
  margin: clamp(1.8rem, 3vw, 3rem) 0 2rem;
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  font-weight: 800;
  line-height: 1.65;
}

.button,
.final-cta,
.dialog-action {
  display: inline-flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.button-primary {
  min-width: min(100%, 28rem);
  padding: 0.75rem 0.75rem 0.75rem clamp(1.4rem, 3vw, 2.5rem);
  border-radius: 2rem;
  background: var(--persimmon);
  color: var(--ink);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  box-shadow: 0 0.5rem 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button-primary:hover {
  box-shadow: 0 0.25rem 0 var(--ink);
  transform: translateY(0.25rem);
}

.button-primary:active {
  box-shadow: 0 0 0 var(--ink);
  transform: translateY(0.5rem);
}

.button-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
}

.button-icon svg,
.recipe-status svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.hero-art {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(55vw, 48rem);
  justify-self: end;
  aspect-ratio: 1;
}

.hero-art img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: product-float 5s ease-in-out infinite;
}

.shape,
.bubble {
  position: absolute;
  display: block;
  pointer-events: none;
}

.shape {
  z-index: 1;
  width: 42%;
  border-radius: 48% 52% 63% 37% / 45% 39% 61% 55%;
  aspect-ratio: 1;
}

.shape-purple {
  bottom: 2%;
  left: -4%;
  background: var(--purple);
  transform: rotate(22deg);
}

.shape-lime {
  right: -6%;
  bottom: 6%;
  background: var(--lime);
  transform: rotate(-25deg) scale(0.8);
}

.bubble {
  z-index: 4;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset -0.35rem -0.4rem 0 rgba(255, 255, 255, 0.16);
}

.bubble-one {
  top: 17%;
  left: 8%;
  width: 1.8rem;
  height: 1.8rem;
  animation: bubble-drift 4s ease-in-out infinite;
}

.bubble-two {
  top: 29%;
  right: 4%;
  width: 3.4rem;
  height: 3.4rem;
  animation: bubble-drift 5.5s 500ms ease-in-out infinite reverse;
}

.hero-scroll {
  position: absolute;
  z-index: 5;
  bottom: 2rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-scroll svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.recipes {
  background: var(--purple);
  color: var(--cream);
  overflow: hidden;
}

.recipes-heading {
  position: relative;
  display: flex;
  min-height: 19rem;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(4rem, 7vw, 7rem) var(--gutter) 5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.recipes h2 {
  max-width: 13em;
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  line-height: 0.96;
}

.recipes-heading p {
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  font-weight: 800;
}

.heading-motif {
  position: absolute;
  right: var(--gutter);
  bottom: 1.5rem;
  width: min(28vw, 25rem);
  height: 14rem;
}

.heading-motif span {
  position: absolute;
  display: block;
}

.heading-motif span:nth-child(1) {
  right: 18%;
  bottom: 0;
  width: 9rem;
  height: 13rem;
  border-radius: 90% 10% 80% 20%;
  background: var(--lime);
  transform: rotate(34deg);
}

.heading-motif span:nth-child(2) {
  right: 39%;
  bottom: 1rem;
  width: 9rem;
  height: 9rem;
  border-radius: 55% 45% 35% 65%;
  background: var(--persimmon);
  transform: rotate(-20deg);
}

.heading-motif span:nth-child(3) {
  right: 65%;
  bottom: 3rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 0.5rem rgba(255, 243, 214, 0.14);
}

.recipe-stage {
  position: relative;
  border-radius: 50% 50% 0 0 / 4rem 4rem 0 0;
  background: var(--cream);
  color: var(--ink);
  padding: clamp(4rem, 7vw, 7rem) var(--gutter) clamp(4rem, 7vw, 6rem);
}

.recipe-tabs {
  display: grid;
  max-width: var(--content-max);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recipe-option {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(1rem, 2vw, 2rem);
  border: 0 solid transparent;
  background: transparent;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.recipe-option + .recipe-option {
  border-left: 2px solid rgba(36, 18, 15, 0.45);
}

.recipe-option:hover {
  background: rgba(255, 255, 255, 0.34);
}

.recipe-option.is-selected {
  z-index: 2;
  border: 4px solid var(--active-accent);
  background: rgba(255, 255, 255, 0.44);
  transform: translateY(-1rem);
}

.recipe-option.is-selected + .recipe-option {
  border-left-color: transparent;
}

.recipe-visual {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.recipe-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms ease;
}

.recipe-option:hover .recipe-visual img,
.recipe-option.is-selected .recipe-visual img {
  transform: rotate(-2deg) scale(1.035);
}

.recipe-number {
  margin-top: 0.4rem;
  color: var(--recipe-accent, var(--persimmon));
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
}

.recipe-option[data-recipe="grape"] {
  --recipe-accent: var(--purple);
}

.recipe-option[data-recipe="pomelo"] {
  --recipe-accent: #8db31f;
}

.recipe-name {
  width: fit-content;
  margin-top: 0.5rem;
  border-bottom: 0.35rem solid var(--recipe-accent, var(--persimmon));
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 3.25rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1.15;
}

.recipe-note {
  margin-top: 1rem;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.5;
}

.recipe-status {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.75rem -2rem -2rem;
  padding: 0.85rem 2rem;
  background: var(--recipe-accent, var(--persimmon));
  color: var(--ink);
  font-weight: 950;
  opacity: 0;
}

.recipe-status svg {
  width: 1.4rem;
}

.recipe-option.is-selected .recipe-status {
  opacity: 1;
}

.cycle-button {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 3.5rem auto 0;
  padding: 0.6rem 1.2rem;
  background: transparent;
  font-size: 1.25rem;
  font-weight: 950;
}

.cycle-button::before,
.cycle-button::after {
  width: clamp(3rem, 8vw, 8rem);
  height: 2px;
  background: var(--ink);
  content: "";
  opacity: 0.45;
}

.cycle-button svg {
  width: 3rem;
  height: 3rem;
  padding: 0.65rem;
  border-radius: 50%;
  background: var(--lime);
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 220ms ease;
}

.cycle-button:hover svg {
  transform: rotate(100deg);
}

.mixer {
  display: grid;
  min-height: 56rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(26rem, 0.9fr);
  background: var(--persimmon);
}

.mixer-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 7vw, 7rem) var(--gutter);
  color: var(--cream);
}

.mixer h2 {
  max-width: 12em;
  font-size: clamp(3.2rem, 5.7vw, 6.2rem);
  line-height: 0.97;
}

.mixer-intro > p {
  margin: 1rem 0 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 800;
}

.option-group {
  margin: 1.35rem 0 0;
  padding: 0;
  border: 0;
}

.option-group + .option-group {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 243, 214, 0.6);
}

.option-group legend {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  font-weight: 950;
}

.segmented-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segmented-controls button {
  position: relative;
  display: flex;
  min-height: 7.8rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-size: 1.25rem;
  font-weight: 950;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.segmented-controls button + button {
  border-left: 0;
}

.segmented-controls button:hover {
  background: rgba(255, 243, 214, 0.16);
}

.segmented-controls button.is-selected {
  z-index: 2;
  background: var(--cream);
  color: var(--persimmon);
  box-shadow: inset 0 0 0 0.2rem var(--persimmon);
}

.segmented-controls button.is-selected::after {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  content: "✓";
  font-size: 1.2rem;
  font-weight: 950;
}

.segmented-controls svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cube-icon {
  min-height: 2.25rem;
  font-family: monospace;
  font-size: 1.75rem;
  line-height: 1;
}

.final-cta {
  width: 100%;
  margin-top: 2.4rem;
  padding: 0.8rem 1rem 0.8rem clamp(1.4rem, 3vw, 2.5rem);
  border: 3px solid var(--cream);
  background: var(--cream);
  color: var(--persimmon);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
  box-shadow: 0.6rem 0.6rem 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.final-cta:hover {
  box-shadow: 0.25rem 0.25rem 0 var(--ink);
  transform: translate(0.35rem, 0.35rem);
}

.final-cta .button-icon {
  background: var(--persimmon);
  color: var(--cream);
}

.selection-summary {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}

.summary-copy {
  position: relative;
  z-index: 3;
  padding: clamp(4rem, 6vw, 6rem) var(--gutter) 0;
}

.summary-copy p {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 950;
}

.selection-summary h3 {
  width: fit-content;
  margin-top: 0.45rem;
  border-bottom: 0.45rem solid var(--active-accent);
  font-size: clamp(3.6rem, 6vw, 6.8rem);
  line-height: 1;
}

.summary-art {
  position: relative;
  z-index: 1;
  width: min(100%, 43rem);
  align-self: center;
  margin: -2rem auto -2rem;
  aspect-ratio: 1;
}

.summary-art img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 120ms ease, transform 220ms ease;
}

.summary-art img.is-changing {
  opacity: 0;
  transform: scale(0.94) rotate(2deg);
}

.summary-leaf {
  position: absolute;
  z-index: 1;
  right: -5%;
  bottom: 12%;
  width: 45%;
  border-radius: 90% 10% 70% 30%;
  background: var(--lime);
  aspect-ratio: 0.7;
  transform: rotate(28deg);
}

.site-footer {
  position: relative;
  display: grid;
  min-height: 14rem;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 3.5rem var(--gutter);
  background: var(--purple);
  color: var(--cream);
  overflow: hidden;
}

.site-footer > div:first-child,
.site-footer nav {
  position: relative;
  z-index: 2;
}

.site-footer p {
  margin: 0.8rem 0 0;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 900;
}

.site-footer nav a {
  padding: 0.7rem 2rem;
}

.site-footer nav a + a {
  border-left: 1px solid rgba(255, 243, 214, 0.6);
}

.site-footer nav a:hover {
  color: var(--lime);
}

.footer-motif {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 18rem;
  height: 15rem;
}

.footer-motif span {
  position: absolute;
  display: block;
}

.footer-motif span:first-child {
  right: 1rem;
  bottom: 0;
  width: 9rem;
  height: 13rem;
  border-radius: 90% 10% 80% 20%;
  background: var(--lime);
  transform: rotate(30deg);
}

.footer-motif span:last-child {
  right: 8rem;
  bottom: 1rem;
  width: 8rem;
  height: 8rem;
  border-radius: 55% 45% 35% 65%;
  background: var(--persimmon);
  transform: rotate(-22deg);
}

.confirmation {
  width: min(90vw, 38rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 4px solid var(--ink);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 1rem 1rem 0 var(--purple);
  text-align: center;
}

.confirmation::backdrop {
  background: rgba(36, 18, 15, 0.72);
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: transparent;
}

.dialog-close svg {
  width: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.dialog-mark {
  margin: 0 0 1rem;
  color: var(--persimmon);
  font-size: 1.6rem;
  letter-spacing: 0.35em;
}

.confirmation h2 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
}

.confirmation > p:not(.dialog-mark) {
  margin: 1.5rem 0;
  font-size: 1.2rem;
  font-weight: 850;
}

.dialog-action {
  min-height: 3.8rem;
  padding: 0.8rem 2rem;
  border: 2px solid var(--ink);
  background: var(--lime);
  box-shadow: 0.35rem 0.35rem 0 var(--ink);
}

.dialog-action:hover {
  box-shadow: 0.15rem 0.15rem 0 var(--ink);
  transform: translate(0.2rem, 0.2rem);
}

.is-ready [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 500ms ease, transform 500ms ease;
}

.is-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes product-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-0.8rem) rotate(-1deg);
  }
}

@keyframes bubble-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0.5rem, -1.1rem, 0);
  }
}

@media (max-width: 72rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
  }

  .hero h1 {
    font-size: clamp(4rem, 8.5vw, 7rem);
  }

  .recipe-option {
    padding: 1rem;
  }

  .recipe-status {
    margin: 1.5rem -1rem -1rem;
    padding-inline: 1rem;
  }

  .mixer {
    grid-template-columns: 1fr 0.9fr;
  }

  .site-footer nav {
    margin-right: 8rem;
  }
}

@media (max-width: 56.25rem) {
  :root {
    --header-height: 5.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 5rem;
  }

  .hero-copy {
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: 7.6em;
    font-size: clamp(4rem, 13vw, 7rem);
  }

  .hero-art {
    width: min(90vw, 39rem);
    margin-top: -2rem;
    justify-self: center;
  }

  .hero-scroll {
    display: none;
  }

  .recipes-heading {
    min-height: 22rem;
  }

  .heading-motif {
    opacity: 0.78;
  }

  .recipe-tabs {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .recipe-option,
  .recipe-option + .recipe-option {
    display: grid;
    grid-template-columns: minmax(10rem, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto auto 1fr auto;
    column-gap: 1.5rem;
    border: 3px solid rgba(36, 18, 15, 0.25);
  }

  .recipe-option.is-selected {
    border: 4px solid var(--recipe-accent, var(--persimmon));
    transform: none;
  }

  .recipe-visual {
    grid-row: 1 / 6;
  }

  .recipe-number,
  .recipe-name,
  .recipe-note,
  .recipe-status {
    grid-column: 2;
  }

  .recipe-status {
    align-self: end;
    margin: 1rem -1rem -1rem 0;
  }

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

  .mixer-controls,
  .summary-copy {
    padding-inline: var(--gutter);
  }

  .selection-summary {
    min-height: 45rem;
  }

  .summary-art {
    width: min(90vw, 40rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 8rem;
  }

  .site-footer nav {
    flex-wrap: wrap;
    margin-right: 0;
  }

  .site-footer nav a:first-child {
    padding-left: 0;
  }
}

@media (max-width: 45rem) {
  .site-header {
    min-height: var(--header-height);
  }

  .brand {
    max-width: 11rem;
    font-size: 1.25rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 31;
    display: flex;
  }

  .site-nav {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.75rem;
    padding: 6rem var(--gutter) 3rem;
    background: var(--purple);
    color: var(--cream);
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 2px solid rgba(255, 243, 214, 0.35);
    font-family: var(--font-display);
    font-size: clamp(2rem, 10vw, 4rem);
    line-height: 1.1;
  }

  .site-nav .nav-cta {
    min-width: 0;
    border: 2px solid var(--cream);
    border-radius: 0;
    background: var(--persimmon);
    color: var(--ink);
  }

  .hero {
    padding-top: calc(var(--header-height) + 2.8rem);
  }

  .hero h1 {
    font-size: clamp(3.6rem, 19vw, 6rem);
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .button-primary {
    min-height: 4.25rem;
    min-width: 100%;
    border-radius: 1.5rem;
  }

  .hero-art {
    width: 112vw;
    margin-right: -6vw;
    margin-left: -6vw;
  }

  .recipes-heading {
    min-height: 25rem;
    padding-top: 4.5rem;
  }

  .recipes h2,
  .mixer h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .heading-motif {
    right: -4rem;
    width: 20rem;
    opacity: 0.6;
  }

  .recipe-stage {
    border-radius: 50% 50% 0 0 / 2rem 2rem 0 0;
    padding-top: 3rem;
  }

  .recipe-option,
  .recipe-option + .recipe-option {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .recipe-visual,
  .recipe-number,
  .recipe-name,
  .recipe-note,
  .recipe-status {
    grid-column: 1;
    grid-row: auto;
  }

  .recipe-visual {
    max-width: 25rem;
    margin-inline: auto;
  }

  .recipe-status {
    margin: 1.5rem -1rem -1rem;
  }

  .cycle-button {
    width: 100%;
  }

  .mixer-controls {
    padding-block: 4.5rem;
  }

  .segmented-controls button {
    min-height: 6.7rem;
    font-size: 1.05rem;
  }

  .final-cta {
    font-size: clamp(1.5rem, 8vw, 2.35rem);
  }

  .selection-summary {
    min-height: 38rem;
  }

  .selection-summary h3 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav a,
  .site-footer nav a:first-child {
    width: 100%;
    padding: 0.65rem 0;
  }

  .site-footer nav a + a {
    border-top: 1px solid rgba(255, 243, 214, 0.35);
    border-left: 0;
  }
}

@media (max-width: 25rem) {
  .hero h1 {
    font-size: 3.35rem;
  }

  .segmented-controls {
    grid-template-columns: 1fr;
  }

  .segmented-controls button + button {
    border-top: 0;
    border-left: 2px solid var(--cream);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .button-primary,
  .nav-cta,
  .recipe-option.is-selected,
  .segmented-controls button.is-selected,
  .final-cta {
    border: 3px solid ButtonText;
  }

  .shape,
  .bubble,
  .heading-motif,
  .footer-motif,
  .summary-leaf {
    display: none;
  }
}
