:root {
  color-scheme: light;
  --ink: #24183d;
  --purple: #58328f;
  --cream: #f7b77f;
  --paper: #fffdf7;
  --coral: #ff6f59;
  --yellow: #ffd75e;
  --green: #54c7a5;
  --blue: #81c9e8;
  --line: #2c2042;
  --shadow: 7px 7px 0 var(--line);
  font-family: ui-rounded, "Avenir Next", Avenir, "Trebuchet MS", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: url("public/crostate-pattern.png");
  background-position: center top;
  background-repeat: repeat;
  background-size: 32rem auto;
  opacity: .16;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 800;
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  width: min(78rem, calc(100% - 2.5rem));
  min-height: 5.75rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 2px solid rgb(44 32 66 / 16%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand i { color: var(--coral); font-family: Georgia, serif; font-size: 1.25em; }

.brand-mark {
  display: grid;
  width: 2.15rem;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--line);
}

nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.35rem); }

nav a, .text-link, .back-to-top {
  position: relative;
  font-size: .9rem;
  font-weight: 800;
  text-underline-offset: .25rem;
}

nav a { text-decoration: none; }
nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.35rem;
  left: 0;
  height: .18rem;
  border-radius: 1rem;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 180ms ease;
}
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }

.mini-button {
  padding: .7rem 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--line);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.mini-button:hover, .mini-button:focus-visible { box-shadow: 1px 1px 0 var(--line); transform: translate(2px, 2px); }

.hero {
  width: min(78rem, calc(100% - 2.5rem));
  min-height: 43rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 8vw, 7.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, .82fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--purple);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4.5rem, 9.2vw, 8.5rem);
  font-weight: 950;
  letter-spacing: -.085em;
  line-height: .78;
}

.hero h1 em { position: relative; z-index: 0; color: var(--purple); font-family: Georgia, serif; font-weight: 500; }
.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -.14em;
  bottom: .05em;
  left: -.08em;
  height: .22em;
  border-radius: 100%;
  background: var(--yellow);
  transform: rotate(-2deg);
}

.hero-intro { max-width: 34rem; margin: 2.2rem 0 0; font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; line-height: 1.65; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .85rem 1.3rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--line);
  font-weight: 950;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover, .button:focus-visible { box-shadow: 2px 2px 0 var(--line); transform: translate(3px, 3px); }
.button-primary { background: var(--coral); }

.hero-visual { position: relative; min-height: 31rem; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -3;
  width: min(30rem, 88%);
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 10px 10px 0 var(--line);
}

.orbit { position: absolute; z-index: -2; border: 2px dashed rgb(36 24 61 / 56%); border-radius: 50%; }
.orbit-one { width: 108%; height: 72%; transform: rotate(17deg); }
.orbit-two { width: 74%; height: 112%; transform: rotate(-34deg); }

.chef-card {
  width: min(21.5rem, 76%);
  padding: 2rem;
  border: 2px solid var(--line);
  border-radius: 1.7rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.chef-card-kicker { display: block; margin-bottom: .65rem; color: var(--purple); font-size: .72rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.chef-card > strong { display: block; font-size: clamp(1.7rem, 4vw, 2.45rem); letter-spacing: -.055em; line-height: 1.05; }
.level-path { margin: 2.2rem 0 .8rem; display: flex; align-items: center; }
.path-dot { display: grid; width: 2.35rem; aspect-ratio: 1; flex: 0 0 auto; place-items: center; border: 2px solid var(--line); border-radius: 50%; font-size: .8rem; font-weight: 950; }
.easy { background: var(--green); }
.medium { background: var(--yellow); }
.hard { background: var(--coral); }
.path-line { height: 2px; flex: 1; background: var(--line); }
.chef-card-footer { display: flex; justify-content: space-between; font-size: .67rem; font-weight: 850; }

.sticker { position: absolute; display: grid; place-items: center; border: 2px solid var(--line); box-shadow: 4px 4px 0 var(--line); font-weight: 950; }
.sticker-yum { top: 7%; right: 4%; width: 6rem; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); transform: rotate(12deg); }
.sticker-star { bottom: 8%; left: 3%; width: 4.5rem; aspect-ratio: 1; border-radius: 1rem 50% 1rem 50%; background: var(--coral); font-size: 1.7rem; transform: rotate(-12deg); }
.sticker-spark { top: 3%; left: 8%; border: 0; box-shadow: none; color: var(--purple); font-size: 2.6rem; animation: twinkle 2.5s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: rotate(20deg) scale(1.16); } }

.ticker { overflow: hidden; border-block: 2px solid var(--line); background: #f4bfd0; color: #111; transform: rotate(-1deg) scale(1.01); }
.ticker div { width: max-content; padding: .9rem 0; display: flex; gap: 2.1rem; font-size: .84rem; font-weight: 950; letter-spacing: .14em; animation: ticker 24s linear infinite; }
.ticker b { color: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { width: min(78rem, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(5rem, 9vw, 8rem) 0; }
.section-heading { margin-bottom: 3rem; display: grid; grid-template-columns: 1fr minmax(18rem, 31rem); align-items: end; gap: 2rem; }
.section-heading h2, .cookbook-top h2, .pantry-copy h2, .mission-card h2, .safety-section h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 950; letter-spacing: -.07em; line-height: .98; }
.section-heading > p { margin: 0; font-size: 1.04rem; font-weight: 600; line-height: 1.65; }

.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.level-card {
  position: relative;
  min-height: 31rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.level-card:hover { box-shadow: 10px 10px 0 var(--line); transform: translateY(-4px) rotate(-.4deg); }
.level-easy { background: #c9f3df; }
.level-medium { background: #ffe99d; }
.level-hard { background: #ffb2a4; }
.level-number { position: absolute; top: 1.3rem; right: 1.6rem; font-family: Georgia, serif; font-size: 1.1rem; font-style: italic; font-weight: 800; }
.level-icon { display: grid; width: 4.8rem; aspect-ratio: 1; margin-bottom: 3rem; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--paper); box-shadow: 3px 3px 0 var(--line); font-size: 1.5rem; }
.level-label { margin: 0 0 .45rem; font-size: .72rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.level-card h3 { margin: 0 0 .85rem; font-size: 2rem; letter-spacing: -.055em; }
.level-card > p:not(.level-label) { margin: 0; font-weight: 600; line-height: 1.55; }
.level-card ul { margin: 1.25rem 0 2rem; padding: 0; list-style: none; font-size: .84rem; font-weight: 800; }
.level-card li { padding: .45rem 0; border-bottom: 1px solid rgb(36 24 61 / 32%); }
.level-card li::before { content: "✓"; margin-right: .5rem; }
.level-button { width: 100%; min-height: 3rem; margin-top: auto; padding: .65rem 1rem; display: flex; align-items: center; justify-content: space-between; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 950; cursor: pointer; }
.level-button:hover, .level-button:focus-visible { background: var(--ink); color: white; }

.cookbook-section { width: 100%; max-width: none; padding-inline: max(1.25rem, calc((100% - 78rem) / 2)); border-block: 2px solid var(--line); background: #f6d0b2; }
.cookbook-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.cookbook-top > div:first-child { text-align: left; }
.cookbook-top h2 { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 600; letter-spacing: -.055em; }
.filter-group { display: flex; flex-wrap: wrap; gap: .55rem; }
.filter { min-height: 2.7rem; padding: .55rem .9rem; display: inline-flex; align-items: center; gap: .45rem; border: 2px solid var(--line); border-radius: 999px; background: white; font-size: .8rem; font-weight: 900; cursor: pointer; }
.filter:hover, .filter:focus-visible, .filter.is-active { background: var(--ink); color: white; }
.filter-dot { width: .75rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }

.recipe-grid { min-height: 22rem; margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.recipe-card { overflow: hidden; display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 1.5rem; background: white; box-shadow: 5px 5px 0 var(--line); }
.recipe-card-image { min-height: 13rem; display: grid; place-items: center; border-bottom: 2px solid var(--line); background: var(--yellow); font-size: 3rem; }
.recipe-card[data-category="dolci"] .recipe-card-image { background: #f6b4c4; }
.recipe-card[data-category="merende"] .recipe-card-image { background: #f7dfa0; }
.recipe-card[data-category="salato"] .recipe-card-image { background: #bee5d7; }
.recipe-card-body { height: 100%; padding: 1.35rem; display: flex; flex-direction: column; }
.recipe-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .73rem; font-weight: 900; text-transform: uppercase; }
.recipe-category { padding: .22rem .5rem; border: 1px solid currentColor; border-radius: 999px; }
.recipe-level { margin: 1rem 0 0; color: var(--purple); font-size: .7rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.recipe-card h3 { margin: .4rem 0 0; font-size: 1.55rem; line-height: 1.08; }
.recipe-card-intro { margin: .8rem 0 1.25rem; font-size: .9rem; font-weight: 600; line-height: 1.55; }
.recipe-open { width: 100%; min-height: 2.85rem; margin-top: auto; padding: .6rem 1rem; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 950; cursor: pointer; }
.recipe-open:hover, .recipe-open:focus-visible { background: var(--ink); color: white; }

.recipe-dialog { width: min(70rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; overflow: auto; border: 2px solid var(--line); border-radius: 1.5rem; background: var(--paper); color: var(--ink); box-shadow: 10px 10px 0 var(--line); }
.recipe-dialog::backdrop { background: rgb(36 24 61 / 66%); backdrop-filter: blur(3px); }
.recipe-dialog-shell { position: relative; padding: clamp(1.4rem, 4vw, 3rem); }
.recipe-dialog-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 2.8rem; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 1.8rem; font-weight: 900; line-height: 1; cursor: pointer; }
.recipe-dialog-close:hover, .recipe-dialog-close:focus-visible { background: var(--yellow); }
.recipe-dialog-header { padding-right: 3.5rem; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(1.25rem, 4vw, 2.5rem); }
.recipe-dialog-symbol { display: grid; width: clamp(5rem, 10vw, 8rem); aspect-ratio: 1; place-items: center; border: 2px solid var(--line); border-radius: 1.5rem; background: var(--yellow); box-shadow: 5px 5px 0 var(--line); font-size: clamp(2.5rem, 6vw, 4rem); }
.recipe-dialog-category { width: fit-content; margin: 0 0 .65rem; padding: .25rem .65rem; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.recipe-dialog-category[data-category="dolci"] { background: #f6b4c4; }
.recipe-dialog-category[data-category="merende"] { background: #f7dfa0; }
.recipe-dialog-category[data-category="salato"] { background: #bee5d7; }
.recipe-dialog h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.07em; line-height: .92; }
.recipe-dialog-intro { max-width: 48rem; margin: 1rem 0 0; font-weight: 650; line-height: 1.6; }
.recipe-dialog-meta { margin: .8rem 0 0; color: var(--purple); font-size: .78rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.recipe-dialog-content { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.2fr); gap: 1.25rem; }
.recipe-dialog-content section { padding: clamp(1.25rem, 3vw, 2rem); border: 2px solid var(--line); border-radius: 1.25rem; background: white; }
.recipe-dialog-content section:first-child { background: #fff0b8; }
.recipe-dialog-content h3 { margin: 0 0 1rem; font-size: 1.5rem; }
.recipe-dialog-content ul, .recipe-dialog-content ol { margin: 0; padding-left: 1.35rem; }
.recipe-dialog-content li { padding: .45rem 0; font-weight: 600; line-height: 1.5; }
.recipe-dialog-content li + li { border-top: 1px solid rgb(36 24 61 / 20%); }
.recipe-adult-note { margin-top: 1.25rem; padding: 1rem 1.2rem; display: flex; align-items: flex-start; gap: .75rem; border: 2px solid var(--line); border-radius: 1rem; background: #f6b4c4; line-height: 1.5; }
.recipe-adult-note strong { flex: 0 0 auto; }
.recipe-source { margin: 1rem 0 0; font-size: .8rem; font-weight: 650; }
.recipe-source a { color: var(--purple); font-weight: 900; }

.empty-state { position: relative; isolation: isolate; overflow: hidden; grid-column: 1 / -1; min-height: 22rem; padding: clamp(3.25rem, 6vw, 4.5rem) 2rem; display: grid; place-items: center; border: 1px solid rgb(36 24 61 / 28%); border-radius: 1.5rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 20'%3E%3Cpath d='M-9 10C0 18 9 18 18 10S36 2 45 10s18 8 27 0S90 2 99 10' fill='none' stroke='%234d9ac2' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left top 1.25rem / 4.5rem clamp(1.15rem, 2.2vw, 1.7rem) repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 20'%3E%3Cpath d='M-9 10C0 18 9 18 18 10S36 2 45 10s18 8 27 0S90 2 99 10' fill='none' stroke='%234d9ac2' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left bottom 1.25rem / 4.5rem clamp(1.15rem, 2.2vw, 1.7rem) repeat-x, white; text-align: center; }
.empty-state::before, .empty-state::after { content: ""; position: absolute; inset-block: 1.25rem; width: clamp(1.15rem, 2.2vw, 1.7rem); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 72'%3E%3Cpath d='M10-9C18 0 18 9 10 18S2 36 10 45s8 18 0 27S2 90 10 99' fill='none' stroke='%236f52b8' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center top / 100% 4.5rem repeat-y; opacity: .9; pointer-events: none; }
.empty-state::before { left: clamp(.75rem, 2.5vw, 1.75rem); }
.empty-state::after { right: clamp(.75rem, 2.5vw, 1.75rem); transform: scaleX(-1); }
.empty-state-inner { position: relative; z-index: 1; width: 100%; max-width: 32rem; padding-inline: clamp(2rem, 6vw, 4rem); }
.empty-symbol { display: grid; width: 5.8rem; aspect-ratio: 1; margin: 0 auto 1.4rem; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--yellow); box-shadow: 4px 4px 0 var(--line); font-size: 2rem; }
.empty-state h3 { margin: 0 0 .7rem; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.05em; }
.empty-state p { margin: 0; font-weight: 600; line-height: 1.6; }

.pantry-card { padding: clamp(2rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, .85fr) minmax(20rem, 1fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); border: 1px solid rgb(36 24 61 / 45%); border-radius: .75rem; background: #afd4e3; box-shadow: 0 1.2rem 2.8rem rgb(36 24 61 / 14%); }
.pantry-card h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.045em; }
.pantry-copy p:last-child { max-width: 33rem; margin: 1.5rem 0 0; font-weight: 650; line-height: 1.65; }
.category-cloud { min-height: 18rem; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: .75rem; }
.category { display: flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid rgb(36 24 61 / 42%); border-radius: .45rem; box-shadow: 0 .35rem .8rem rgb(36 24 61 / 10%); font-family: Georgia, "Times New Roman", serif; font-weight: 700; transform: none; }
.category b { font-size: 1.25rem; }
.category-coral { grid-area: 1 / 1 / 2 / 2; background: #f6b4a8; }
.category-yellow { grid-area: 1 / 2 / 2 / 3; background: #f7dfa0; }
.category-green { grid-area: 2 / 1 / 3 / 3; background: #bee5d7; }

.mission-section { padding-top: 0; }
.mission-card { padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); border: 2px solid var(--line); border-radius: 2rem; background: var(--purple); box-shadow: var(--shadow); color: white; }
.mission-card .eyebrow { color: var(--yellow); }
.mission-card h2 { max-width: 14ch; font-size: clamp(2rem, 4vw, 3.7rem); }
.mission-card p:not(.eyebrow) { max-width: 38rem; margin: 1rem 0 0; color: #eee4ff; font-weight: 650; line-height: 1.6; }
.mission-symbol { display: grid; width: clamp(5rem, 9vw, 8rem); aspect-ratio: 1; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--yellow); box-shadow: 5px 5px 0 var(--line); color: var(--ink); font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); font-style: italic; }
.button-mission { flex: 0 0 auto; border-color: white; background: var(--coral); box-shadow: 5px 5px 0 white; color: var(--ink); cursor: pointer; }
.button-mission:hover, .button-mission:focus-visible { box-shadow: 2px 2px 0 white; }

.safety-section { padding-top: 0; display: grid; grid-template-columns: .8fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.safety-list { margin: 0; padding: 0; list-style: none; }
.safety-list li { padding: 1.25rem 0; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; border-top: 2px solid var(--line); }
.safety-list li:last-child { border-bottom: 2px solid var(--line); }
.safety-list span { color: var(--purple); font-family: Georgia, serif; font-style: italic; font-weight: 800; }
.safety-list p { margin: 0; font-weight: 650; line-height: 1.5; }

footer { padding: 2rem max(1.25rem, calc((100% - 78rem) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 2px solid var(--line); background: var(--yellow); }
footer p { margin: 0; font-size: .85rem; font-weight: 750; text-align: center; }
.footer-brand { flex: 0 0 auto; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 43rem; }
  .hero-visual { width: min(35rem, 100%); margin: 0 auto; }
  .level-grid { grid-template-columns: 1fr; }
  .level-card { min-height: auto; }
  .level-card .level-icon { margin-bottom: 2rem; }
  .pantry-card, .safety-section { grid-template-columns: 1fr; }
  .mission-card { grid-template-columns: auto 1fr; }
  .button-mission { grid-column: 2; justify-self: start; }
}

@media (max-width: 680px) {
  body::before { background-size: 26rem auto; opacity: .17; }
  .site-header, .hero, .section { width: min(100% - 1.5rem, 78rem); }
  .mini-button { display: none; }
  .hero { min-height: auto; padding-top: 3.75rem; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6.4rem); }
  .hero-visual { min-height: 25rem; }
  .sticker-yum { right: 0; width: 4.9rem; }
  .section-heading, .cookbook-top { display: flex; flex-direction: column; align-items: stretch; }
  .filter-group { display: grid; grid-template-columns: repeat(2, 1fr); }
  .filter { justify-content: center; }
  .recipe-grid { grid-template-columns: 1fr; }
  .recipe-dialog-header, .recipe-dialog-content { grid-template-columns: 1fr; }
  .recipe-dialog-header { padding-right: 2.75rem; }
  .recipe-dialog-symbol { width: 5rem; }
  .recipe-adult-note { flex-direction: column; }
  .pantry-card { padding: 1.5rem; }
  .category-cloud { min-height: 18rem; }
  .mission-card { grid-template-columns: 1fr; }
  .mission-symbol { width: 5rem; }
  .button-mission { grid-column: auto; justify-self: stretch; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
