:root {
  --white: #f1ebed;
  --header: #e6dadd;
  --surface: #f7f2f4;
  --rose: #aa526f;
  --rose-dark: #873d56;
  --rose-pale: #eadfe3;
  --ink: #40373a;
  --muted: #7a6d72;
  --border: #d9cbd0;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(960px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  flex-direction: column;
}

main {
  flex: 1;
}

.empty-home {
  min-height: 52vh;
}

.home-intro {
  padding-block: clamp(48px, 6vw, 68px);
}

.home-intro h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 7vw, 4.8rem);
}

.home-intro .lede {
  margin-bottom: 0;
}

.home-collection {
  padding-block: clamp(30px, 4vw, 38px);
  border-top: 1px solid var(--border);
}

.home-collection__heading {
  margin-bottom: 18px;
}

.home-collection__heading h2 {
  margin-bottom: 7px;
  font-size: clamp(1.9rem, 3.5vw, 2.35rem);
}

.home-collection__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.home-projects {
  padding-block: clamp(22px, 3vw, 28px) clamp(38px, 5vw, 48px);
  border-top: 1px solid var(--border);
}

.home-projects__row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 16px;
}

.home-projects h2,
.home-projects p {
  margin: 0;
}

.home-projects p {
  color: var(--muted);
  font-size: 0.82rem;
}

.home-projects h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #e7aabe;
  outline-offset: 3px;
}

::selection {
  background: #f4cfdb;
  color: var(--ink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--rose);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  background: var(--rose-dark);
  color: white;
  transform: translateY(-170%);
}

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

.eyebrow,
.kicker {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--header);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  padding-block: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--rose);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--rose);
}

.hero {
  max-width: 820px;
  min-height: auto;
  padding-block: clamp(76px, 11vw, 112px);
}

.hero-copy h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 7vw, 4.8rem);
}

.hero-copy h1 em {
  color: inherit;
  font-style: normal;
}

.lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid var(--rose);
  border-radius: 2px;
  background: transparent;
  color: var(--rose);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  border-color: var(--rose-dark);
  background: var(--rose-pale);
  color: var(--rose-dark);
}

.button--primary,
.button--ink {
  background: var(--rose);
  color: white;
}

.button--primary:hover,
.button--ink:hover {
  background: var(--rose-dark);
  color: white;
}

.button--quiet {
  color: var(--rose);
}

.section {
  padding-block: clamp(48px, 6vw, 64px);
  border-top: 1px solid var(--border);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading--stacked {
  display: block;
  margin: 0;
}

.section-heading--stacked h2 {
  margin-bottom: 18px;
}

.section-intro {
  max-width: 610px;
  margin-bottom: 24px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
}

.project-grid,
.project-grid--featured {
  display: grid;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 1fr;
}

.project-card {
  min-width: 0;
}

.project-card__link {
  display: block;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}

.project-card__link:hover h3,
.recipe-card__link:hover h3,
.home-recipe:hover h3 {
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.project-card__link:has(.media--image),
.recipe-card__link:has(.media--image) {
  display: grid;
  align-items: start;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
}

.project-card__media,
.recipe-card__art {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--rose-pale);
}

.project-card__media img,
.recipe-card__art img,
.home-recipe__art img,
.detail-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__body,
.recipe-card__body {
  padding: 0;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-meta span + span::before {
  margin-right: 12px;
  color: var(--border);
  content: "·";
}

.card-meta .dietary-label {
  color: var(--rose-dark);
  font-weight: 800;
}

.project-card h3,
.recipe-card h3,
.home-recipe h3 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.project-card p,
.recipe-card p {
  max-width: 700px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.93rem;
}

.card-arrow {
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 700;
}

.kitchen-section {
  padding-block: clamp(64px, 9vw, 84px);
  border-top: 1px solid var(--border);
  background: var(--rose-pale);
  color: var(--ink);
}

.kitchen-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 100px);
}

.home-recipes {
  display: grid;
  gap: 8px;
}

.home-recipe {
  display: inline-flex;
  width: fit-content;
  align-items: baseline;
  gap: 9px;
  padding: 3px 0;
  color: var(--rose);
  text-decoration: none;
}

.home-recipe::after {
  color: var(--rose);
  content: "→";
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 160ms ease, transform 160ms ease;
}

.home-recipe:hover::after {
  color: var(--rose-dark);
  transform: translateX(3px);
}

.home-recipe:has(.media--image) {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
}

.home-recipe__art {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.home-recipe__body {
  display: block;
  padding: 0;
}

.home-recipe .card-meta {
  color: var(--muted);
}

.home-recipe__title {
  display: block;
}

.home-recipe h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: #c98ba0;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.home-recipe__details {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.74rem;
}

.about-preview {
  padding-block: clamp(64px, 9vw, 88px);
  border-top: 1px solid var(--border);
}

.about-preview__copy {
  max-width: 720px;
}

.about-preview__copy h2 {
  margin-bottom: 20px;
}

.about-preview__copy p:not(.eyebrow) {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 1rem;
}

.site-footer {
  padding-block: 34px 22px;
  border-top: 1px solid var(--border);
  background: var(--header);
}

.footer-inner {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.brand--footer {
  margin-bottom: 9px;
}

.footer-inner > div:first-child p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-note {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-heart {
  color: #d69bb0;
  font-size: 0.82rem;
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--rose);
  text-decoration: underline;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  grid-column: 1 / -1;
}

.page-hero {
  position: static;
  min-height: 0;
  padding-block: clamp(68px, 10vw, 96px) 56px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 4.6rem);
}

.page-hero h1::after {
  content: none;
}

.page-intro {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.archive-stat {
  position: static;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 24px;
  color: var(--muted);
}

.archive-stat strong {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.archive-stat span {
  font-size: 0.68rem;
  line-height: 1.35;
  text-transform: lowercase;
}

.archive-stat span br {
  display: none;
}

.archive {
  padding-block: 28px clamp(56px, 7vw, 72px);
}

.archive--standalone {
  padding-top: clamp(44px, 6vw, 58px);
}

.coming-soon {
  padding-block: clamp(56px, 8vw, 84px);
}

.coming-soon h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 4.6rem);
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.filter-button {
  min-height: 42px;
  padding: 7px 0 5px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.filter-button:hover {
  color: var(--rose);
}

.filter-button[aria-pressed="true"] {
  border-bottom-color: var(--rose);
  color: var(--rose);
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.recipe-grid {
  display: grid;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 1fr;
}

.recipe-card {
  min-width: 0;
}

.recipe-card__link {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}

.recipe-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.loading-note,
.empty-note {
  padding: 28px 0;
  color: var(--muted);
  font-family: var(--serif);
  grid-column: 1 / -1;
}

.about-hero {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 72px);
  padding-block: clamp(54px, 7vw, 72px);
}

.about-hero h1 {
  font-size: clamp(3.2rem, 7vw, 4.8rem);
}

.about-hero__intro {
  max-width: 610px;
  padding-top: 24px;
}

.about-hero__intro p {
  color: var(--ink);
  font-size: 0.98rem;
}

.about-hero__intro .about-deck {
  color: var(--rose);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.45;
}

.principles-section {
  padding-block: clamp(48px, 6vw, 62px);
  border-block: 1px solid var(--border);
  background: var(--rose-pale);
  color: var(--ink);
}

.principles-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle {
  padding: 10px 30px 0;
  border-left: 1px solid var(--border);
}

.principle:first-child {
  padding-left: 0;
  border-left: 0;
}

.principle span {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.72rem;
}

.principle h2 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.principle p {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
}

.contact-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 64px);
}

.contact-panel h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.detail-main {
  min-height: 68vh;
  padding-block: 30px clamp(56px, 7vw, 72px);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.72rem;
}

.breadcrumb a {
  font-weight: 650;
}

.detail-hero {
  max-width: 820px;
  padding-bottom: clamp(44px, 6vw, 60px);
}

.detail-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 4.8rem);
}

.detail-summary {
  max-width: 700px;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.7;
}

.detail-art {
  width: 100%;
  max-width: 760px;
  overflow: hidden;
  margin-top: 42px;
  aspect-ratio: 16 / 9;
  background: var(--rose-pale);
}

.detail-meta {
  display: grid;
  max-width: 650px;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(3, 1fr);
}

.detail-meta div {
  padding: 14px 16px 0 0;
}

.detail-meta dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-meta dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
}

.detail-content {
  display: grid;
  padding-top: clamp(54px, 8vw, 80px);
  border-top: 1px solid var(--border);
  grid-template-columns: minmax(170px, 0.38fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 90px);
}

.detail-content__label h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.prose {
  max-width: 680px;
}

.prose > p:first-child {
  color: var(--ink);
  font-size: 1.04rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

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

.tag-list li {
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.tag-list li::before {
  content: "#";
}

.note-list {
  padding-left: 1.2em;
}

.placeholder-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  margin-bottom: 36px;
  border: 1px solid var(--border);
  background: var(--rose-pale);
  color: var(--muted);
  font-size: 0.75rem;
}

.recipe-detail__layout {
  display: grid;
  padding-top: clamp(42px, 6vw, 60px);
  border-top: 1px solid var(--border);
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 72px);
}

.ingredient-panel {
  align-self: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.ingredient-panel h2,
.directions h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.ingredient-group + .ingredient-group {
  margin-top: 26px;
}

.ingredient-group h3 {
  margin-bottom: 9px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ingredient-list {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
  list-style: none;
}

.ingredient-list li {
  padding: 9px 0;
  border-top: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.86rem;
}

.directions-list {
  padding: 0;
  margin: 0 0 38px;
  list-style: none;
  counter-reset: directions;
}

.directions-list li {
  position: relative;
  min-height: 44px;
  padding: 0 0 26px 42px;
  color: var(--ink);
  font-size: 0.92rem;
  counter-increment: directions;
}

.directions-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--rose);
  content: counter(directions) ".";
  font-family: var(--serif);
  font-size: 1.15rem;
}

.directions-list li strong {
  color: var(--rose);
  font-weight: 700;
}

.recipe-notes {
  padding: 22px;
  border-left: 2px solid var(--rose);
  background: var(--rose-pale);
}

.recipe-notes h3 {
  font-size: 1.2rem;
}

.recipe-notes p,
.recipe-notes li {
  color: var(--ink);
  font-size: 0.84rem;
}

.not-found {
  max-width: 650px;
  padding-block: 80px;
}

.not-found h1,
.error-card h1 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.error-card {
  display: grid;
  width: min(760px, 100%);
  min-height: 460px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--border);
  background: var(--surface);
  grid-template-rows: auto 1fr;
}

.error-card > div {
  align-self: end;
}

.error-card p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--ink);
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 40px, 680px);
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 60px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 8px 20px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--header);
    flex-direction: column;
    gap: 0;
  }

  .site-header[data-open="true"] .site-nav {
    display: flex;
  }

  .site-header[data-open="true"] .menu-button > span:nth-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .site-header[data-open="true"] .menu-button > span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-nav a {
    min-height: 44px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .hero {
    padding-block: 64px 70px;
  }

  .home-intro {
    padding-block: 42px;
  }

  .home-intro h1 {
    font-size: clamp(2.75rem, 13vw, 3.5rem);
  }

  .home-collection {
    padding-block: 28px;
  }

  .home-projects {
    padding-block: 22px 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 13vw, 3.5rem);
  }

  .section-heading,
  .archive-toolbar,
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .kitchen-layout,
  .about-hero,
  .detail-content,
  .recipe-detail__layout {
    grid-template-columns: 1fr;
  }

  .kitchen-layout {
    gap: 38px;
  }

  .about-hero {
    gap: 12px;
  }

  .about-hero__intro {
    padding-top: 0;
  }

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

  .principle,
  .principle:first-child {
    padding: 26px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .project-card__link:has(.media--image),
  .recipe-card__link:has(.media--image) {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
  }

  .detail-content,
  .recipe-detail__layout {
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .button-row .button {
    width: 100%;
  }

  .project-card__link:has(.media--image),
  .recipe-card__link:has(.media--image),
  .home-recipe:has(.media--image) {
    grid-template-columns: 1fr;
  }

  .project-card__media,
  .recipe-card__art,
  .home-recipe__art {
    aspect-ratio: 16 / 9;
  }

  .filter-group {
    width: 100%;
    gap: 4px 16px;
  }

  .footer-inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .copyright {
    grid-column: auto;
  }

  .detail-meta {
    grid-template-columns: 1fr 1fr;
  }

  .detail-meta div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .placeholder-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .filter-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filter-button {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
