/* ==========================================================================
   Дзен-Кухня — общие стили
   Mobile-first, без фреймворков. Порядок: токены → база → компоненты → экраны.
   ========================================================================== */

/* Fonts: Golos Text (OFL), self-hosted for speed and Cyrillic quality. */
@font-face {
  font-family: "Golos Text";
  src: url("../assets/fonts/golos-text-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("../assets/fonts/golos-text-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  --paper: #f5f0e6;
  --paper-soft: #fbf8f1;
  --paper-deep: #e8dfcf;
  --paper-dark: #ddd2be;
  --ink: #25241f;
  --ink-soft: #545147;
  --ink-muted: #625d52;
  --line: rgba(37, 36, 31, 0.14);
  --line-strong: rgba(37, 36, 31, 0.3);
  --bamboo: #6d7c63;
  --bamboo-deep: #46523e;
  --bamboo-pale: #e3e8da;
  --bamboo-line: #cbd4c1;
  --red: #b33b2e;
  --red-deep: #8e2b21;
  --red-pale: #eed7d0;
  --gold: #b18a54;
  --gold-pale: #e9dcc3;
  --font-sans: "Golos Text", "Segoe UI", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
  --font-jp: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --container: 1280px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --header-height: 72px;
  --radius: 2px;
  --shadow-soft: 0 22px 60px rgba(54, 45, 31, 0.11);
  --shadow-card: 0 14px 40px rgba(54, 45, 31, 0.08);
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--paper);
  background-image: radial-gradient(
    rgba(37, 36, 31, 0.035) 0.65px,
    transparent 0.7px
  );
  background-size: 5px 5px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

p,
h1,
h2,
h3,
h4,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--red);
  color: var(--paper-soft);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.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: 200;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.82rem;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

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

.jp {
  font-family: var(--font-jp);
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-muted);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 25px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--red);
  content: "";
}

.eyebrow--light {
  color: rgba(245, 240, 230, 0.64);
}

.eyebrow--light::before {
  background: #d58a76;
}

.eyebrow__jp {
  font-family: var(--font-jp);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 220ms var(--ease), border-color 220ms var(--ease),
    color 220ms var(--ease);
}

.button:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper-soft);
}

.button svg,
.link-arrow svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  transition: transform 220ms var(--ease);
}

.button:hover svg,
.link-arrow:hover svg {
  transform: translateX(3px);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
}

.button--light {
  border-color: var(--paper-soft);
  background: var(--paper-soft);
  color: var(--ink);
}

.button--light:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper-soft);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.link-arrow::after {
  width: 100%;
  height: 1px;
  position: absolute;
  right: 0;
  bottom: -4px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.link-arrow {
  position: relative;
}

.link-arrow:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.link-arrow--light {
  color: var(--paper-soft);
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(245, 240, 230, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 180ms linear, box-shadow 180ms linear;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(54, 45, 31, 0.045);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand__stamp {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 1px;
  background: var(--red);
  color: var(--paper-soft);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1;
  transform: rotate(-2deg);
  transition: background 220ms var(--ease), transform 220ms var(--ease);
}

.brand:hover .brand__stamp {
  background: var(--red-deep);
  transform: rotate(2deg);
}

.brand__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand__name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  white-space: nowrap;
}

.brand__name > span {
  color: var(--red);
}

.brand__tagline {
  display: none;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.55rem;
  font-weight: 580;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  padding: 8px 0 8px 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle__icon {
  display: grid;
  width: 20px;
  gap: 5px;
}

.nav-toggle__icon span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
  transform-origin: center;
}

.nav-open .nav-toggle__icon span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-open .nav-toggle__icon span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  box-shadow: 0 28px 40px rgba(54, 45, 31, 0.08);
}

.nav-open .site-nav {
  display: block;
}

.site-nav__list {
  display: grid;
  gap: 0;
  padding: 10px var(--gutter) 0;
  list-style: none;
}

.site-nav__link {
  display: flex;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 550;
  text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--red);
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px var(--gutter) 24px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav__cta svg {
  width: 15px;
  height: 15px;
}

.header-link {
  display: none;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--red);
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.header-link svg {
  width: 13px;
  height: 13px;
}

.header-link:hover {
  color: var(--red-deep);
}

/* --------------------------------------------------------------------------
   Advertising containers
   -------------------------------------------------------------------------- */

.ad-strip {
  padding-top: 18px;
}

.ad {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.ad__meta {
  display: flex;
  width: min(100%, 728px);
  justify-content: space-between;
  gap: 16px;
  margin-inline: auto;
  color: var(--ink-muted);
  font-size: 0.56rem;
  font-weight: 550;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ad__meta span:last-child {
  opacity: 0.8;
}

.ad__frame {
  display: grid;
  place-items: center;
  width: min(100%, 728px);
  height: 90px;
  margin-inline: auto;
  border: 1px dashed var(--line-strong);
  background-color: rgba(232, 223, 207, 0.38);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 7px,
    rgba(37, 36, 31, 0.027) 7px,
    rgba(37, 36, 31, 0.027) 8px
  );
  color: var(--ink-muted);
  text-align: center;
}

.ad__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ad__placeholder svg {
  width: 18px;
  height: 18px;
  opacity: 0.45;
}

.ad--sidebar .ad__meta {
  width: 100%;
}

.ad--sidebar .ad__frame {
  width: min(300px, 100%);
  height: 600px;
  margin-inline: 0;
}

.ad--native {
  margin-top: clamp(36px, 5vw, 56px);
}

.ad--native .ad__meta,
.ad--native .ad__frame {
  width: 100%;
  max-width: none;
}

.ad--native .ad__frame {
  height: clamp(180px, 18vw, 250px);
  min-height: 180px;
  aspect-ratio: auto;
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(44px, 7vw, 92px) clamp(56px, 8vw, 110px);
  overflow: clip;
}

.hero::before {
  position: absolute;
  top: 4%;
  right: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(37, 36, 31, 0.075);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(42px, 7vw, 80px);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  position: relative;
}

.hero__title {
  max-width: 830px;
  margin-top: 24px;
  font-size: clamp(2.85rem, 6.2vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.072em;
  line-height: 0.97;
}

.hero__title-line {
  display: block;
}

.hero__title em {
  position: relative;
  color: var(--red);
  font-style: normal;
  white-space: nowrap;
}

.hero__title em::after {
  position: absolute;
  right: 0.02em;
  bottom: -0.08em;
  left: 0.04em;
  height: 0.05em;
  background: currentColor;
  content: "";
  opacity: 0.4;
  transform: scaleX(0.42);
  transform-origin: left;
}

.hero__lead {
  max-width: 575px;
  margin-top: 27px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 32px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 42px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero__stat dt {
  color: var(--ink);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero__stat dd {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 550;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__visual {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 22px 18px 0 0;
}

.hero__sun {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.92;
}

.hero__figure {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--paper);
  border-radius: 48% 48% 2px 2px / 32% 32% 2px 2px;
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  filter: saturate(0.95) contrast(0.98);
}

.hero__caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 13px 15px;
  background: rgba(250, 247, 240, 0.92);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.hero__caption-kicker {
  grid-column: 1 / -1;
  color: var(--red);
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__caption-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.hero__caption-meta {
  color: var(--ink-muted);
  font-size: 0.66rem;
  line-height: 1.45;
  white-space: nowrap;
}

.hero__stamp {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 10%;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  font-family: var(--font-jp);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-7deg);
}

.hero__file {
  position: absolute;
  z-index: 2;
  top: 24%;
  right: 6px;
  color: var(--ink-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.53rem;
  letter-spacing: 0.03em;
  writing-mode: vertical-rl;
}

/* --------------------------------------------------------------------------
   Adaptation statement
   -------------------------------------------------------------------------- */

.adaptation {
  position: relative;
  padding-block: clamp(58px, 8vw, 102px);
  overflow: hidden;
  background-color: var(--ink);
  background-image: radial-gradient(
    rgba(245, 240, 230, 0.07) 0.55px,
    transparent 0.65px
  );
  background-size: 5px 5px;
  color: var(--paper-soft);
}

.adaptation::before {
  position: absolute;
  right: -0.04em;
  bottom: -0.26em;
  color: rgba(245, 240, 230, 0.04);
  content: "代";
  font-family: var(--font-jp);
  font-size: clamp(16rem, 34vw, 34rem);
  line-height: 1;
  pointer-events: none;
}

.adaptation__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(38px, 6vw, 70px);
}

.adaptation__title {
  max-width: 740px;
  margin-top: 24px;
  color: var(--paper-soft);
  font-size: clamp(2.05rem, 5.8vw, 4rem);
  letter-spacing: -0.058em;
  line-height: 1.04;
}

.adaptation__title em {
  color: #d7b991;
  font-style: normal;
}

.adaptation__text {
  max-width: 550px;
  margin-top: 23px;
  color: rgba(245, 240, 230, 0.68);
  font-size: 0.97rem;
  line-height: 1.75;
}

.adaptation__link {
  margin-top: 28px;
}

.adaptation__list {
  align-self: end;
}

.adaptation__label {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.25);
  color: rgba(245, 240, 230, 0.56);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.swap-demo__row {
  display: grid;
  grid-template-columns: minmax(82px, auto) 22px 1fr;
  align-items: baseline;
  gap: 8px;
  padding-block: 17px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.16);
}

.swap-demo__from {
  color: var(--paper-soft);
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.4;
}

.swap-demo__from .jp {
  margin-right: 7px;
  color: rgba(245, 240, 230, 0.48);
  font-size: 0.68rem;
}

.swap-demo__arrow {
  color: #d9846f;
  font-size: 0.92rem;
  line-height: 1.4;
}

.swap-demo__to {
  color: rgba(245, 240, 230, 0.7);
  font-size: 0.83rem;
  line-height: 1.5;
}

.adaptation__footnote {
  margin-top: 18px;
  color: rgba(245, 240, 230, 0.52);
  font-size: 0.69rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Section headings and filters
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: clamp(30px, 5vw, 50px);
}

.section-head__title {
  margin-top: 17px;
  font-size: clamp(2.25rem, 5.8vw, 3.75rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-head__note {
  max-width: 390px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.catalog {
  border-top: 1px solid var(--line);
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 0 clamp(20px, 3.4vw, 38px);
  overflow: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 7px;
  margin-right: 0;
  padding: 13px 0;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 180ms var(--ease);
}

.filter::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

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

.filter[aria-pressed="true"] {
  color: var(--ink);
}

.filter[aria-pressed="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.filter__count {
  color: var(--ink-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.85;
}

.filter-note {
  display: none;
  padding-bottom: 12px;
  color: var(--ink-muted);
  font-size: 0.65rem;
  letter-spacing: 0.025em;
}

/* --------------------------------------------------------------------------
   Recipe cards
   -------------------------------------------------------------------------- */

.recipe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.3vw, 34px) clamp(16px, 2vw, 24px);
  padding-top: clamp(24px, 3.6vw, 38px);
}

.recipe-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(251, 248, 241, 0.52);
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}

.recipe-card:hover,
.recipe-card:focus-within {
  border-color: rgba(37, 36, 31, 0.34);
  background: var(--paper-soft);
}

.recipe-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.recipe-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

.recipe-card:hover .recipe-card__image {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.recipe-card__cat {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  background: rgba(251, 248, 241, 0.92);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  line-height: 1.15;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.recipe-card__time {
  position: absolute;
  z-index: 1;
  bottom: 13px;
  left: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.65rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.recipe-card__time svg {
  width: 12px;
  height: 12px;
  opacity: 0.72;
}

.recipe-card__file {
  position: absolute;
  z-index: 1;
  right: 13px;
  bottom: 14px;
  max-width: 60%;
  overflow: hidden;
  padding: 4px 6px;
  background: rgba(22, 21, 18, 0.4);
  color: rgba(255, 255, 255, 0.8);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recipe-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(17px, 2.2vw, 23px);
}

.recipe-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 550;
  letter-spacing: 0.075em;
  line-height: 1.3;
  text-transform: uppercase;
}

.recipe-card__title {
  margin-top: 10px;
  font-size: clamp(1.36rem, 2.1vw, 1.62rem);
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.recipe-card__title a {
  text-decoration: none;
  background-image: linear-gradient(var(--red), var(--red));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 280ms var(--ease), color 180ms var(--ease);
}

.recipe-card__title a:hover {
  color: var(--red-deep);
  background-size: 100% 1px;
}

.recipe-card__fact {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.62;
}

.fact-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 3px;
  color: var(--red);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.095em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fact-label::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.card-adapt {
  margin-top: 17px;
  padding: 14px;
  background: var(--bamboo-pale);
}

.card-adapt__head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bamboo-deep);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.card-adapt__seal {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(70, 82, 62, 0.42);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-jp);
  font-size: 0.62rem;
  line-height: 1;
}

.card-adapt__list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  list-style: none;
}

.card-adapt__row {
  display: grid;
  grid-template-columns: auto 12px minmax(0, 1fr);
  align-items: baseline;
  gap: 3px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.card-adapt__from {
  color: var(--bamboo-deep);
  font-weight: 620;
}

.card-adapt__arrow {
  color: var(--red);
  font-size: 0.7rem;
}

.recipe-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 11px 16px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.recipe-card__difficulty {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-muted);
  font-size: 0.66rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.recipe-card__difficulty::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--bamboo);
  content: "";
}

.recipe-card[data-difficulty="Средне"] .recipe-card__difficulty::before {
  background: var(--gold);
}

.recipe-card[data-difficulty="Сложно"] .recipe-card__difficulty::before {
  background: var(--red);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.card-link svg {
  width: 13px;
  height: 13px;
  transition: transform 220ms var(--ease);
}

.card-link:hover {
  color: var(--red);
}

.card-link:hover svg {
  transform: translateX(3px);
}

.card-link--soon {
  color: var(--ink-muted);
  cursor: default;
}

.card-link--soon::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paper-dark);
  content: "";
}

/* --------------------------------------------------------------------------
   Category tiles
   -------------------------------------------------------------------------- */

.categories {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.category-tile {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background 300ms var(--ease), color 300ms var(--ease);
}

.category-tile__num {
  position: relative;
  z-index: 1;
  color: var(--ink-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  transition: color 300ms var(--ease);
}

.category-tile__kanji {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 8px;
  color: rgba(37, 36, 31, 0.055);
  font-family: var(--font-jp);
  font-size: clamp(6rem, 10vw, 8.6rem);
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: color 300ms var(--ease), transform 500ms var(--ease);
}

.category-tile__body {
  position: relative;
  z-index: 1;
}

.category-tile h3 {
  font-size: 1.62rem;
  letter-spacing: -0.045em;
}

.category-tile p {
  margin-top: 7px;
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  transition: color 300ms var(--ease);
}

.category-tile__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 19px;
  color: var(--ink-muted);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 300ms var(--ease);
}

.category-tile__arrow {
  width: 17px;
  height: 17px;
  transition: transform 300ms var(--ease);
}

.category-tile:hover,
.category-tile:focus-visible {
  background: var(--ink);
  color: var(--paper-soft);
}

.category-tile:hover .category-tile__kanji,
.category-tile:focus-visible .category-tile__kanji {
  color: rgba(245, 240, 230, 0.07);
  transform: translateY(-50%) scale(1.06);
}

.category-tile:hover .category-tile__num,
.category-tile:hover .category-tile__bottom,
.category-tile:hover p,
.category-tile:focus-visible .category-tile__num,
.category-tile:focus-visible .category-tile__bottom,
.category-tile:focus-visible p {
  color: rgba(245, 240, 230, 0.62);
}

.category-tile:hover .category-tile__arrow,
.category-tile:focus-visible .category-tile__arrow {
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   Interior page furniture: breadcrumbs, category hero, guide
   -------------------------------------------------------------------------- */

.breadcrumbs {
  padding-top: clamp(24px, 3.4vw, 36px);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  list-style: none;
  color: var(--ink-muted);
  font-size: 0.65rem;
  letter-spacing: 0.025em;
  line-height: 1.4;
}

.breadcrumbs__item:not(:last-child)::after {
  display: inline-block;
  margin-left: 7px;
  color: var(--line-strong);
  content: "/";
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-soft);
}

.category-hero {
  position: relative;
  padding-block: clamp(28px, 4.5vw, 46px) clamp(46px, 7vw, 82px);
  overflow: clip;
}

.category-hero__grid {
  display: grid;
  gap: 34px;
}

.category-hero__title {
  margin-top: 19px;
  font-size: clamp(3.7rem, 12vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.88;
}

.category-hero__title--long {
  font-size: clamp(2.9rem, 9vw, 6.5rem);
  letter-spacing: -0.07em;
  line-height: 0.93;
}

.category-hero__intro {
  max-width: 580px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.72;
}

.category-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 27px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.65rem;
  font-weight: 550;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.category-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.category-hero__meta span::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.category-hero__art {
  position: relative;
  min-height: 210px;
}

.category-hero__kanji {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 3%;
  color: rgba(37, 36, 31, 0.075);
  font-family: var(--font-jp);
  font-size: clamp(11rem, 29vw, 22rem);
  line-height: 0.9;
  transform: translateY(-50%);
}

.category-hero__sun {
  position: absolute;
  z-index: 0;
  top: 2%;
  left: 7%;
  width: clamp(100px, 24vw, 170px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.9;
}

.category-hero__photo {
  position: absolute;
  z-index: 1;
  right: 14%;
  bottom: 0;
  width: clamp(145px, 32vw, 245px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 7px solid var(--paper);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  transform: rotate(3deg);
}

.category-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-hero__stamp {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 7%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  font-family: var(--font-jp);
  font-size: 0.78rem;
  transform: rotate(-6deg);
}

.category-hero__file {
  position: absolute;
  z-index: 2;
  right: 12%;
  bottom: 14%;
  color: var(--ink-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.5rem;
  transform: rotate(3deg);
}

.category-list {
  padding-bottom: clamp(64px, 9vw, 110px);
}

.category-list__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-block: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.63rem;
  font-weight: 550;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.recipe-grid--category {
  padding-top: 26px;
}

.category-guide {
  display: grid;
  gap: 30px;
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: clamp(36px, 5vw, 50px);
  border-top: 1px solid var(--line);
}

.category-guide__title {
  max-width: 540px;
  margin-top: 17px;
  font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.prose {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.78;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h3 {
  margin-top: 30px;
  color: var(--ink);
  font-size: 1.17rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.prose strong {
  color: var(--ink);
  font-weight: 620;
}

.prose a {
  color: var(--red-deep);
  text-decoration-color: rgba(142, 43, 33, 0.45);
}

.tip {
  padding: 18px 20px;
  border-left: 2px solid var(--red);
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.68;
}

.tip strong {
  color: var(--ink);
}

.next-category {
  margin-top: clamp(60px, 8vw, 90px);
  border-top: 1px solid var(--line);
}

.next-category__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: clamp(25px, 4vw, 38px);
  text-decoration: none;
}

.next-category__label {
  display: block;
  color: var(--ink-muted);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.next-category__title {
  display: block;
  margin-top: 7px;
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.next-category__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  transition: transform 240ms var(--ease);
}

.next-category__link:hover .next-category__icon {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Recipe page
   -------------------------------------------------------------------------- */

.recipe-header {
  display: grid;
  gap: 32px;
  padding-block: clamp(26px, 4vw, 40px) clamp(30px, 4.5vw, 48px);
  border-bottom: 1px solid var(--line);
}

.recipe-header__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.recipe-header__kicker a {
  color: var(--red-deep);
  text-decoration: none;
}

.recipe-header__kicker a:hover {
  text-decoration: underline;
}

.recipe-header__kicker .sep {
  color: var(--line-strong);
}

.recipe-title {
  max-width: 880px;
  margin-top: 18px;
  font-size: clamp(3rem, 9.5vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.072em;
  line-height: 0.94;
}

.recipe-title span {
  display: block;
}

.recipe-lead {
  max-width: 690px;
  margin-top: 23px;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.72;
}

.recipe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
  list-style: none;
}

.recipe-tags li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.6rem;
  font-weight: 550;
  letter-spacing: 0.065em;
  line-height: 1.3;
  text-transform: uppercase;
}

.recipe-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recipe-fact {
  min-width: 0;
  padding: 15px 12px;
  border-right: 1px solid var(--line);
}

.recipe-fact:last-child {
  border-right: 0;
}

.recipe-fact dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 0.56rem;
  font-weight: 550;
  letter-spacing: 0.085em;
  line-height: 1.35;
  text-transform: uppercase;
}

.recipe-fact dt svg {
  width: 13px;
  height: 13px;
  opacity: 0.75;
}

.recipe-fact dd {
  margin-top: 8px;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.recipe-fact dd small {
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0;
}

.recipe-layout {
  display: grid;
  gap: clamp(44px, 6vw, 64px);
  padding-block: clamp(30px, 4.5vw, 48px) 0;
}

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

.recipe-photo {
  margin: 0;
}

.recipe-photo__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-deep);
}

.recipe-photo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-photo__label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: rgba(251, 248, 241, 0.92);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.recipe-photo figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding-top: 9px;
  color: var(--ink-muted);
  font-size: 0.61rem;
  line-height: 1.4;
}

.recipe-photo__file {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.56rem;
}

.fact-note {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 15px;
  margin-top: clamp(26px, 4vw, 38px);
  padding: clamp(19px, 3vw, 28px);
  border-left: 2px solid var(--red);
  background: #efe7d8;
}

.fact-note__mark {
  color: var(--red);
  font-family: var(--font-jp);
  font-size: 1.8rem;
  line-height: 1;
}

.fact-note h2 {
  max-width: 560px;
  margin-top: 9px;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.fact-note p {
  max-width: 670px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.recipe-section {
  padding-top: clamp(48px, 7vw, 76px);
}

.recipe-section__head {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.recipe-section__title {
  margin-top: 15px;
  font-size: clamp(1.9rem, 4.6vw, 2.75rem);
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.recipe-section__note {
  max-width: 490px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.65;
}

.ingredient-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px 18px;
  margin-bottom: 14px;
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ingredient-toolbar__reset {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  line-height: 1.35;
  text-transform: uppercase;
  transition: color 160ms linear, border-color 160ms linear;
}

.ingredient-toolbar__reset:hover {
  border-color: var(--red);
  color: var(--red);
}

.ingredient-list {
  border-top: 1px solid var(--line);
  list-style: none;
}

.ingredient {
  border-bottom: 1px solid var(--line);
}

.ingredient__label {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) minmax(84px, max-content);
  align-items: baseline;
  gap: 12px;
  padding-block: 13px;
  cursor: pointer;
}

.ingredient__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ingredient__box {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: transparent;
  transform: translateY(2px);
  transition: border-color 160ms linear, background 160ms linear,
    color 160ms linear;
}

.ingredient__box svg {
  width: 11px;
  height: 11px;
  opacity: 0;
  transition: opacity 160ms linear;
}

.ingredient__input:focus-visible + .ingredient__box {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.ingredient__input:checked + .ingredient__box {
  border-color: var(--bamboo-deep);
  background: var(--bamboo-deep);
  color: var(--paper-soft);
}

.ingredient__input:checked + .ingredient__box svg {
  opacity: 1;
}

.ingredient__text {
  color: var(--ink-soft);
  font-size: 0.91rem;
  line-height: 1.5;
  transition: color 160ms linear;
}

.ingredient__text small {
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.ingredient__amount {
  max-width: none;
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  overflow-wrap: normal;
  text-align: right;
  white-space: nowrap;
}

.ingredient__swap {
  display: inline-flex;
  margin-left: 7px;
  padding: 2px 5px;
  background: var(--bamboo-pale);
  color: var(--bamboo-deep);
  font-size: 0.52rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .ingredient__label {
    grid-template-columns: 21px minmax(0, 1fr) minmax(78px, 42%);
  }

  .ingredient__amount {
    max-width: none;
    overflow-wrap: normal;
    white-space: normal;
  }
}

.ingredient__label:hover .ingredient__text {
  color: var(--ink);
}

.ingredient__input:checked ~ .ingredient__text,
.ingredient__input:checked ~ .ingredient__amount {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(109, 104, 92, 0.42);
}

.ingredient-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
}

.ingredient-progress__track {
  height: 2px;
  flex: 1;
  overflow: hidden;
  background: var(--line);
}

.ingredient-progress__bar {
  width: 0;
  height: 100%;
  background: var(--bamboo);
  transition: width 240ms var(--ease);
}

.ingredient-progress__text {
  color: var(--ink-muted);
  font-size: 0.61rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.045em;
  line-height: 1.3;
  white-space: nowrap;
}

/* Replacement panel */

.swap-panel {
  position: relative;
  margin-top: clamp(48px, 7vw, 76px);
  padding: clamp(22px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid var(--bamboo-line);
  background: var(--bamboo-pale);
}

.swap-panel::after {
  position: absolute;
  right: -0.08em;
  bottom: -0.28em;
  color: rgba(70, 82, 62, 0.055);
  content: "替";
  font-family: var(--font-jp);
  font-size: clamp(11rem, 25vw, 20rem);
  line-height: 1;
  pointer-events: none;
}

.swap-panel > * {
  position: relative;
  z-index: 1;
}

.swap-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 13px;
}

.swap-panel__seal {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper-soft);
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 1;
  transform: rotate(-5deg);
}

.swap-panel__title {
  margin-top: 7px;
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.swap-panel__intro {
  max-width: 630px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.7;
}

.swap-list {
  margin-top: 25px;
  border-top: 1px solid var(--bamboo-line);
}

.swap-item {
  display: grid;
  gap: 8px;
  padding-block: 19px;
  border-bottom: 1px solid var(--bamboo-line);
}

.swap-item__from {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}

.swap-item__name {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.swap-item__qty {
  color: var(--ink-muted);
  font-size: 0.62rem;
  line-height: 1.4;
}

.swap-item__jp {
  color: var(--bamboo-deep);
  font-family: var(--font-jp);
  font-size: 0.7rem;
}

.swap-item__arrow {
  display: none;
  color: var(--red);
  font-size: 1rem;
}

.swap-item__label {
  color: var(--bamboo-deep);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.swap-item__answer {
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1.55;
}

.swap-item__note {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.6;
}

.swap-panel__footnote {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

/* Steps */

.steps {
  list-style: none;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding-block: clamp(20px, 3.2vw, 28px);
  border-bottom: 1px solid var(--line);
}

.step__number {
  padding-top: 3px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.step__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px 18px;
}

.step__title {
  font-size: clamp(1.1rem, 2.4vw, 1.28rem);
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.step__time {
  flex: 0 0 auto;
  color: var(--ink-muted);
  font-size: 0.59rem;
  font-weight: 550;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.step__text {
  max-width: 680px;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 0.91rem;
  line-height: 1.75;
}

.step__tip {
  display: block;
  margin-top: 11px;
  padding-left: 11px;
  border-left: 1px solid var(--red);
  color: var(--ink-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* Recipe sidebar */

.recipe-aside {
  display: grid;
  align-content: start;
  gap: 24px;
}

.toc {
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}

.toc__title {
  color: var(--ink-muted);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.toc__list {
  margin-top: 13px;
  list-style: none;
}

.toc__list li + li {
  border-top: 1px solid var(--line);
}

.toc a {
  display: flex;
  min-height: 37px;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.3;
  text-decoration: none;
  transition: color 160ms linear;
}

.toc a::before {
  color: var(--ink-muted);
  content: attr(data-index);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.55rem;
}

.toc a:hover {
  color: var(--red);
}

.aside-note {
  padding: 17px;
  background: var(--paper-deep);
}

.aside-note__title {
  color: var(--ink-muted);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.aside-note__list {
  display: grid;
  gap: 7px;
  margin-top: 11px;
  list-style: none;
}

.aside-note__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.aside-note__list strong {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.aside-note__link {
  display: inline-flex;
  margin-top: 13px;
  color: var(--red-deep);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.print-button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.075em;
  line-height: 1.3;
  text-transform: uppercase;
  transition: background 160ms linear, color 160ms linear,
    border-color 160ms linear;
}

.print-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
}

.print-button svg {
  width: 14px;
  height: 14px;
}

.recipe-aside .ad {
  margin-top: 4px;
}

/* FAQ and recipe outro */

.recipe-faq {
  margin-top: clamp(48px, 7vw, 76px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.recipe-faq h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  letter-spacing: -0.05em;
}

.faq-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 17px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.45;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: 0 0 auto;
  color: var(--red);
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 180ms var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 690px;
  padding: 0 0 19px;
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.72;
}

.recipe-outro {
  margin-top: clamp(56px, 8vw, 88px);
  padding-block: clamp(26px, 4vw, 38px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recipe-outro__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
}

.recipe-outro__label {
  display: block;
  color: var(--ink-muted);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.recipe-outro__title {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.recipe-outro__link svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  transition: transform 220ms var(--ease);
}

.recipe-outro__link:hover svg {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 72px) 24px;
  background: var(--ink);
  color: rgba(245, 240, 230, 0.62);
}

.site-footer::after {
  position: absolute;
  right: -0.12em;
  bottom: -0.35em;
  color: rgba(245, 240, 230, 0.035);
  content: "禅";
  font-family: var(--font-jp);
  font-size: clamp(16rem, 34vw, 32rem);
  line-height: 1;
  pointer-events: none;
}

.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
}

.footer__brand .brand {
  color: var(--paper-soft);
}

.footer__brand .brand__stamp {
  background: var(--red);
}

.footer__brand .brand__tagline {
  color: rgba(245, 240, 230, 0.55);
}

.footer__about {
  max-width: 330px;
  margin-top: 19px;
  color: rgba(245, 240, 230, 0.62);
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer__heading {
  color: rgba(245, 240, 230, 0.55);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer__list {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  list-style: none;
}

.footer__list a {
  color: rgba(245, 240, 230, 0.78);
  font-size: 0.8rem;
  line-height: 1.5;
  text-decoration: none;
}

.footer__list a:hover {
  color: var(--paper-soft);
  text-decoration: underline;
}

.footer__note {
  max-width: 290px;
  margin-top: 13px;
  color: rgba(245, 240, 230, 0.6);
  font-size: 0.74rem;
  line-height: 1.65;
}

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 17px;
  border-top: 1px solid rgba(245, 240, 230, 0.14);
  color: rgba(245, 240, 230, 0.55);
  font-size: 0.62rem;
  line-height: 1.5;
}

.footer__jp {
  color: rgba(245, 240, 230, 0.5);
  font-family: var(--font-jp);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 899px) {
  body.nav-open::after {
    position: fixed;
    z-index: 90;
    inset: var(--header-height) 0 0;
    background: rgba(37, 36, 31, 0.24);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    content: "";
  }
}

@media (min-width: 560px) {
  .site-nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }

  .site-nav__cta {
    margin-top: 18px;
  }

  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-tile {
    min-height: 205px;
  }

  .recipe-facts {
    max-width: 620px;
  }

  .recipe-fact {
    padding: 17px 18px;
  }

  .swap-item {
    grid-template-columns: 145px 24px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .swap-item__arrow {
    display: block;
    padding-top: 1px;
  }

  .recipe-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .recipe-aside .ad {
    grid-column: 1 / -1;
  }

  .ad--sidebar .ad__frame {
    margin-inline: auto;
  }

  .recipe-aside .print-button {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .brand__tagline {
    display: block;
  }

  .hero__caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 15px 17px;
  }

  .hero__caption-title {
    font-size: 1.1rem;
  }

  .hero__stamp {
    right: -4px;
    width: 76px;
    height: 76px;
    font-size: 0.98rem;
  }

  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .section-head__note {
    padding-bottom: 5px;
  }

  .filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .filter-note {
    display: block;
    flex: 0 0 auto;
    padding-bottom: 0;
  }

  .swap-demo__row {
    grid-template-columns: 130px 32px 1fr;
    padding-block: 19px;
  }

  .swap-demo__from {
    font-size: 1rem;
  }

  .swap-demo__to {
    font-size: 0.88rem;
  }

  .category-hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
    align-items: end;
  }

  .category-hero__art {
    min-height: 300px;
  }

  .category-hero__stamp {
    right: 3%;
    bottom: 4%;
    width: 64px;
    height: 64px;
  }

  .category-hero__file {
    right: 12%;
    bottom: 9%;
  }

  .recipe-section__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
  }

  .recipe-section__note {
    padding-bottom: 3px;
    text-align: right;
  }

  .step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
  }

  .step__number {
    font-size: 0.8rem;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 46px;
  }

  .footer__bottom {
    margin-top: 52px;
  }
}

@media (min-width: 900px) {
  :root {
    --header-height: 82px;
  }

  .nav-toggle,
  .nav-open .nav-toggle {
    display: none;
  }

  .site-nav,
  .nav-open .site-nav {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 32px);
    padding: 0;
  }

  .site-nav__link {
    position: relative;
    min-height: 32px;
    padding: 7px 0;
    border: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .site-nav__link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 200ms var(--ease);
  }

  .site-nav__link:hover::after,
  .site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .site-nav__cta {
    display: none;
  }

  .header-link {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.78fr);
    gap: clamp(30px, 5vw, 74px);
  }

  .hero__visual {
    width: 100%;
    max-width: 430px;
    justify-self: end;
  }

  .adaptation__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
    align-items: end;
    gap: clamp(50px, 8vw, 110px);
  }

  .adaptation__list {
    padding-bottom: 5px;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-tile {
    min-height: 250px;
    padding: 25px;
  }

  .category-tile h3 {
    font-size: 1.8rem;
  }

  .recipe-header {
    grid-template-columns: minmax(0, 1fr) minmax(225px, 0.34fr);
    align-items: end;
    gap: 40px;
  }

  .recipe-facts {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    border-bottom: 0;
  }

  .recipe-fact {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .recipe-fact dt {
    font-size: 0.59rem;
  }

  .recipe-fact dd {
    margin-top: 0;
    text-align: right;
  }

  .recipe-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: clamp(34px, 5vw, 66px);
  }

  .recipe-aside {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .recipe-aside .ad {
    grid-column: auto;
  }

  .recipe-aside .print-button {
    grid-column: auto;
  }

  .category-guide {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
  }

  .category-guide__title {
    position: sticky;
    top: calc(var(--header-height) + 30px);
  }
}

@media (max-width: 1199px) {
  .hero__caption {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__caption-meta {
    grid-column: 1;
    margin-top: 2px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .site-header .header-link {
    display: none;
  }

  .site-nav__list {
    gap: 14px;
  }

  .site-nav__link {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
  }
}

@media (min-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .recipe-grid:not(.recipe-grid--category) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .recipe-card__body {
    padding: 23px;
  }

  .recipe-title {
    letter-spacing: -0.075em;
  }

  .category-hero__title {
    letter-spacing: -0.085em;
  }

  .category-hero__art {
    min-height: 340px;
  }

  .category-hero__photo {
    right: 17%;
  }

  .category-hero__kanji {
    right: 2%;
  }
}

@media (min-width: 1280px) {
  .hero__title {
    font-size: 5.45rem;
  }

  .hero__lead {
    font-size: 1.13rem;
  }
}

/* --------------------------------------------------------------------------
   Motion & print
   -------------------------------------------------------------------------- */

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

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

@media print {
  @page {
    margin: 16mm;
  }

  body {
    background: #fff !important;
    color: #111;
  }

  .site-header,
  .ad-strip,
  .ad,
  .recipe-aside,
  .breadcrumbs,
  .site-footer,
  .skip-link,
  .recipe-outro,
  .recipe-photo__label {
    display: none !important;
  }

  .container {
    width: 100%;
  }

  .recipe-header {
    display: block;
    padding-top: 0;
  }

  .recipe-facts {
    display: flex;
    margin-top: 18px;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
  }

  .recipe-fact {
    border-right: 1px solid #bbb;
  }

  .recipe-fact:last-child {
    border-right: 0;
  }

  .recipe-layout {
    display: block;
  }

  .recipe-photo__frame {
    max-height: 85mm;
  }

  .fact-note,
  .swap-panel,
  .tip {
    background: #f4f1e9 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .step,
  .swap-item,
  .fact-note,
  .recipe-card {
    break-inside: avoid;
  }

  .recipe-faq details {
    display: none;
  }

  .recipe-section {
    padding-top: 24px;
  }

  .card-adapt,
  .swap-panel {
    border: 1px solid #bbb;
  }

  a[href]::after {
    content: none !important;
  }
}

/* --- recipe preview page ------------------------------------------------ */
.preview-article {
  max-width: 1080px;
}

.preview-layout {
  max-width: 900px;
  margin: clamp(26px, 4vw, 40px) auto 0;
}

.preview-layout .recipe-photo {
  width: 100%;
}

.preview-layout .fact-note,
.preview-layout .swap-panel,
.preview-layout .preview-coming {
  margin-top: 30px;
}

.preview-layout .swap-panel {
  margin-top: 36px;
}

.preview-swap {
  display: grid;
  grid-template-columns: minmax(130px, 0.72fr) auto minmax(0, 1.35fr);
  gap: 8px 18px;
  align-items: baseline;
  padding-block: 16px;
  border-bottom: 1px solid var(--bamboo-line);
}

.preview-swap__from {
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.preview-swap__arrow {
  color: var(--red);
  font-size: 1rem;
  line-height: 1;
}

.preview-swap__to {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.preview-coming {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.preview-coming h2 {
  max-width: 620px;
  margin-top: 10px;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.preview-coming p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

.preview-coming__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 22px;
}

.preview-coming__actions .link-arrow {
  color: var(--ink);
}

@media (max-width: 560px) {
  .preview-swap {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .preview-swap__arrow {
    display: none;
  }

  .preview-coming__actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Whole-card pointer target; real links remain keyboard-accessible. */
.recipe-card[data-href] {
  cursor: pointer;
}

/* Practical tips before FAQ */
.recipe-tips {
  margin-top: clamp(34px, 5vw, 48px);
  padding: clamp(20px, 3.5vw, 30px);
  border-left: 2px solid var(--gold);
  background: #f3ead9;
}

.recipe-tips h2 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.tips-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-left: 1.1em;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.65;
}

.tips-list li::marker {
  color: var(--red);
}
