/* =============================================
   Veganelle — garden recipe studio
   ============================================= */

:root {
  --ink: #26192f;
  --plum: #37243f;
  --plum-soft: #4b3154;
  --celadon: #e8f0dd;
  --celadon-deep: #d6e3c8;
  --garden: #48623d;
  --leaf: #76924a;
  --marigold: #f2bd55;
  --clay: #bd6347;
  --paper: #f7f2e8;
  --white: #fffdf8;
  --muted: #716878;
  --line: rgba(38, 25, 47, 0.2);

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-utility: "IBM Plex Mono", monospace;

  --max-width: 1240px;
  --page-gutter: clamp(1rem, 3vw, 2rem);
  --section-space: clamp(4.5rem, 10vw, 8rem);
  --shadow-hard: 10px 10px 0 var(--ink);
  --shadow-soft: 0 24px 70px rgba(38, 25, 47, 0.18);
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(242, 189, 85, 0.28) 0 1px, transparent 1.5px) 0 0 / 24px 24px,
    linear-gradient(150deg, var(--celadon) 0%, #edf3e5 48%, var(--celadon-deep) 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 67%, rgba(72, 98, 61, 0.07) 67% 68%, transparent 68%);
}

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

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 4px;
}

[data-lang="en"] {
  display: none !important;
}

.lang-en [data-lang="ro"] {
  display: none !important;
}

.lang-en [data-lang="en"] {
  display: revert !important;
}

/*
 * Keep translated variants in the same grid cell so switching languages does
 * not change the height of cards, hero copy, lists, or buttons. The wrappers
 * are added by lang.js before the active language is applied.
 */
.lang-pair {
  min-width: 0;
  display: grid;
}

.lang-pair > [data-lang] {
  display: revert !important;
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
}

.recipe-hero > [data-lang],
.section-header > [data-lang] {
  display: revert !important;
  visibility: hidden;
  pointer-events: none;
}

body:not(.lang-en) .lang-pair > [data-lang="ro"],
body:not(.lang-en) .recipe-hero > [data-lang="ro"],
body:not(.lang-en) .section-header > [data-lang="ro"],
.lang-en .lang-pair > [data-lang="en"],
.lang-en .recipe-hero > [data-lang="en"],
.lang-en .section-header > [data-lang="en"] {
  visibility: visible;
  pointer-events: auto;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--ink);
  background: rgba(232, 240, 221, 0.94);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100%, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.logo-icon {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--marigold);
  border: 2px solid var(--ink);
  border-radius: 0.85rem 0.85rem 0.85rem 0.2rem;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  transform: rotate(-6deg);
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.3rem, 3vw, 2.7rem);
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.35rem;
  height: 3px;
  background: var(--clay);
  transition: right 180ms var(--ease);
}

.site-nav a:hover::after {
  right: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.header-note {
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--garden);
}

.lang-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink);
  background: var(--white);
}

.lang-btn {
  min-width: 2.6rem;
  border: 0;
  padding: 0.46rem 0.62rem;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-utility);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn + .lang-btn {
  border-left: 2px solid var(--ink);
}

.lang-btn.active {
  background: var(--marigold);
}

/* Homepage hero */

.hero {
  position: relative;
  width: min(100%, calc(var(--max-width) + 2 * var(--page-gutter)));
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) var(--page-gutter) 0;
}

.hero > .floating-leaf {
  display: none;
}

.hero-inner {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  padding: clamp(2.2rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  overflow: hidden;
  color: var(--white);
  background: var(--plum);
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%);
  box-shadow: var(--shadow-soft);
}

.hero-inner::before {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -14rem;
  bottom: -17rem;
  z-index: -1;
  border: 1px solid rgba(242, 189, 85, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(242, 189, 85, 0.04), 0 0 0 8rem rgba(242, 189, 85, 0.025);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.section-kicker,
.spotlight-tag,
.cta-kicker {
  margin: 0 0 1.15rem;
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--marigold);
}

.hero-kicker::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7vw, 6.7rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.hero-tagline {
  max-width: 34rem;
  margin: 1.8rem 0 0;
  color: #dfd2e3;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  min-height: 3.25rem;
  padding: 0.8rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  text-decoration: none;
  font-family: var(--font-utility);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn-primary {
  color: var(--ink);
  background: var(--marigold);
  box-shadow: 5px 5px 0 var(--clay);
}

.btn-primary:hover {
  box-shadow: 8px 8px 0 var(--clay);
}

.btn-ghost {
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--ink);
  background: var(--white);
}

.hero-stat-grid {
  margin-top: clamp(2.7rem, 5vw, 4.6rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 248, 0.26);
}

.hero-stat {
  min-width: 0;
  padding: 1rem 0.8rem 0 0;
}

.hero-stat + .hero-stat {
  padding-left: 0.8rem;
  border-left: 1px solid rgba(255, 253, 248, 0.2);
}

.hero-stat p {
  margin: 0;
}

.hero-stat-value {
  color: var(--marigold);
  font-family: var(--font-utility);
  font-size: clamp(0.9rem, 1.5vw, 1.12rem);
  font-weight: 600;
}

.hero-stat-label {
  margin-top: 0.3rem !important;
  color: #cdbed2;
  font-size: 0.72rem;
  line-height: 1.35;
}

.hero-media {
  position: relative;
  z-index: 1;
}

.spotlight-card {
  position: relative;
  padding: 0.9rem 0.9rem 1.3rem;
  color: var(--ink);
  background: var(--celadon);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  transform: rotate(1.5deg);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

.spotlight-tag {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.55rem;
  color: var(--ink);
  background: var(--marigold);
  transform: rotate(-2.5deg);
}

.spotlight-illustration {
  overflow: hidden;
  border: 2px solid var(--ink);
}

.spotlight-illustration picture,
.recipe-card-image picture,
.recipe-illustration picture {
  width: 100%;
  display: block;
}

.recipe-illustration picture {
  height: 100%;
}

.spotlight-illustration img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.spotlight-card:hover .spotlight-illustration img {
  transform: scale(1.035);
}

.spotlight-card h2 {
  margin: 1rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.spotlight-card > p:not(.spotlight-tag) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.spotlight-card > .lang-pair > p:not(.spotlight-tag) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.spotlight-points {
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  list-style: none;
  color: var(--garden);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  line-height: 1.45;
}

.spotlight-points li::before {
  content: "↳ ";
  color: var(--clay);
}

.spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 600;
  text-underline-offset: 0.25rem;
}

.spotlight-link::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform 180ms var(--ease);
}

.spotlight-link:hover::after {
  transform: translateX(0.3rem);
}

/* Shared homepage sections */

.recipes-section,
.experience-section,
.cta-section {
  width: min(100%, calc(var(--max-width) + 2 * var(--page-gutter)));
  margin: 0 auto;
  padding: var(--section-space) var(--page-gutter) 0;
}

.section-header {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.48fr);
  grid-template-areas:
    "kicker subtitle"
    "title subtitle";
  align-items: end;
  column-gap: 3rem;
}

.section-kicker {
  grid-area: kicker;
  color: var(--clay);
}

.section-title {
  grid-area: title;
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.section-subtitle {
  grid-area: subtitle;
  margin: 0 0 0.4rem;
  padding-left: 1.25rem;
  color: #514b54;
  border-left: 4px solid var(--marigold);
  font-size: 1rem;
}

/* Recipe cards */

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: 2.7rem;
}

.recipe-card {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.recipe-card:nth-child(2) {
  transform: translateY(2.5rem);
  background: #f1d895;
}

.recipe-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 15px 15px 0 var(--ink);
}

.recipe-card:nth-child(2):hover {
  transform: translate(-4px, calc(2.5rem - 4px));
}

.recipe-card-image {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.recipe-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

.recipe-card:hover .recipe-card-image img {
  transform: scale(1.035);
}

.recipe-card-content {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--garden);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

.meta-chip + .meta-chip::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--clay);
}

.recipe-card-title {
  margin: 1rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.recipe-card-description {
  max-width: 42ch;
  margin: 0;
  color: #5e5661;
}

.recipe-card-footer {
  margin-top: 1.4rem;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.recipe-card-arrow {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: transform 180ms var(--ease);
}

.recipe-card:hover .recipe-card-arrow {
  transform: rotate(-35deg);
}

/* Cooking flow */

.experience-section {
  margin-top: var(--section-space);
  padding: clamp(3rem, 6vw, 5rem);
  color: var(--white);
  background: var(--garden);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 38px), calc(100% - 38px) 100%, 0 100%);
}

.experience-section .section-kicker {
  color: var(--marigold);
}

.experience-section .section-subtitle {
  color: #e2eadb;
}

.experience-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience-grid::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: rgba(255, 253, 248, 0.35);
}

.experience-card {
  position: relative;
  padding: 0 2rem 0 0;
}

.experience-card + .experience-card {
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 253, 248, 0.2);
}

.experience-index {
  position: relative;
  z-index: 1;
  width: 2.4rem;
  margin: 0 0 2.2rem;
  color: var(--ink);
  background: var(--marigold);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 2.4rem;
  text-align: center;
  border-radius: 50%;
}

.experience-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.experience-card > p:not(.experience-index) {
  margin: 0;
  color: #d7e0d2;
  font-size: 0.9rem;
}

.experience-card > .lang-pair > p:not(.experience-index) {
  margin: 0;
  color: #d7e0d2;
  font-size: 0.9rem;
}

/* CTA and footer */

.cta-section {
  padding-bottom: var(--section-space);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  color: var(--ink);
  background: var(--marigold);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
}

.cta-panel::after {
  content: "V";
  position: absolute;
  right: clamp(0.5rem, 5vw, 4rem);
  top: 50%;
  color: rgba(38, 25, 47, 0.08);
  font-family: var(--font-display);
  font-size: clamp(11rem, 25vw, 20rem);
  font-weight: 800;
  line-height: 0.7;
  transform: translateY(-50%) rotate(-9deg);
}

.cta-kicker {
  position: relative;
  z-index: 1;
  color: var(--garden);
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.cta-panel > p:not(.cta-kicker) {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin: 1.3rem 0 1.8rem;
}

.cta-panel > .lang-pair {
  position: relative;
  z-index: 1;
}

.cta-panel > .lang-pair > p:not(.cta-kicker) {
  max-width: 46ch;
  margin: 1.3rem 0 1.8rem;
}

.cta-panel .btn-primary {
  position: relative;
  z-index: 1;
  color: var(--white);
  background: var(--plum);
  box-shadow: 5px 5px 0 var(--clay);
}

.footer {
  color: var(--white);
  background: var(--ink);
  border-top: 6px solid var(--clay);
}

.footer-inner {
  width: min(100%, var(--max-width));
  min-height: 150px;
  margin: 0 auto;
  padding: 2.5rem var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer p,
.footer small {
  margin: 0;
}

.footer p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.footer small {
  color: #c9bccd;
  font-family: var(--font-utility);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.footer-heart {
  color: var(--marigold);
}

/* Recipe pages */

.back-link {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 1.6rem var(--page-gutter) 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.back-link svg {
  width: 1.15rem;
  transition: transform 180ms var(--ease);
}

.back-link:hover svg {
  transform: translateX(-0.3rem);
}

.recipe-hero {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--max-width));
  min-height: 590px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  color: var(--white);
  background: var(--plum);
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%);
  box-shadow: var(--shadow-soft);
}

.recipe-hero::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -10rem;
  z-index: -1;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(242, 189, 85, 0.35);
  border-radius: 50%;
}

.recipe-hero > .floating-leaf {
  display: none;
}

.recipe-illustration {
  grid-column: 1;
  grid-row: 1 / 5;
  height: 100%;
  min-height: 558px;
  overflow: hidden;
  border: 2px solid var(--ink);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}

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

.recipe-title {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: clamp(2.5rem, 6vw, 5rem) 1.2rem 1.2rem 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.5vw, 5.4rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.divider {
  grid-column: 2;
  grid-row: 2;
  margin-right: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.divider-line {
  height: 2px;
  flex: 1;
  background: rgba(255, 253, 248, 0.3);
}

.divider-icon {
  color: var(--marigold);
}

.recipe-subtitle {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  margin: 1rem 1.2rem 0 0;
  color: #d8cadd;
  font-size: 1rem;
}

.recipe-meta-strip {
  grid-column: 2;
  grid-row: 4;
  align-self: end;
  margin: 2rem 1.2rem 1.5rem 0;
  display: grid;
  border-bottom: 1px solid rgba(255, 253, 248, 0.25);
}

.recipe-meta-pill {
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-top: 1px solid rgba(255, 253, 248, 0.25);
  color: #f0e9f1;
  font-family: var(--font-utility);
  font-size: 0.72rem;
}

.meta-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--marigold);
  border-radius: 50%;
}

.recipe-content {
  width: min(100%, calc(var(--max-width) + 2 * var(--page-gutter)));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-gutter) 0;
}

.recipe-columns {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.section {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.recipe-columns .section:first-child {
  position: sticky;
  top: 6.5rem;
}

.section h2 {
  margin: 0 0 1.7rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.section h3 {
  margin: 2rem 0 0.8rem;
  color: var(--clay);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.icon {
  font-size: 1.35rem;
}

.ingredients-list,
.instructions-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ingredients-list {
  display: grid;
}

.ingredient-item {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  align-items: start;
  gap: 0.75rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}

.ingredient-checkbox {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.18rem 0 0;
  accent-color: var(--garden);
  cursor: pointer;
}

.ingredient-label {
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.55;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.ingredient-checkbox:checked ~ .ingredient-label {
  color: #968e98;
  text-decoration: line-through;
  text-decoration-color: var(--clay);
}

.ingredient-checkbox:checked ~ .lang-pair .ingredient-label {
  color: #968e98;
  text-decoration: line-through;
  text-decoration-color: var(--clay);
}

.instructions-list {
  counter-reset: step;
}

.instruction-item {
  counter-increment: step;
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 3.7rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.instruction-item:first-child {
  border-top: 0;
}

.instruction-number::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--clay);
  font-family: var(--font-utility);
  font-size: 1.25rem;
  font-weight: 600;
}

.instruction-text {
  line-height: 1.75;
}

.recipe-credit {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 2.5rem var(--page-gutter) var(--section-space);
  color: #5a525d;
  font-family: var(--font-utility);
  font-size: 0.68rem;
}

.recipe-credit p {
  margin: 0;
}

.recipe-credit a {
  color: var(--garden);
  font-weight: 600;
  text-underline-offset: 0.2rem;
}

/* Reveal motion */

.js-motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-motion .hero-media.reveal {
  transform: translateY(24px) rotate(-2deg);
}

.js-motion .hero-media.reveal.is-visible {
  transform: translateY(0) rotate(0);
}

/* Responsive */

@media (max-width: 1040px) {
  .header-note,
  .header-tools > .lang-pair {
    display: none !important;
  }

  .hero-inner {
    min-height: 620px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 7.7vw, 5.3rem);
  }

  .recipe-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.75fr);
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .site-nav {
    display: none;
  }

  .header-tools {
    justify-self: end;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: clamp(2rem, 7vw, 3.5rem);
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-media {
    width: min(100%, 34rem);
    justify-self: center;
  }

  .section-header {
    grid-template-columns: 1fr;
    grid-template-areas: "kicker" "title" "subtitle";
    gap: 0;
  }

  .section-subtitle {
    max-width: 38rem;
    margin-top: 1.5rem;
  }

  .recipes-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 0;
  }

  .recipe-card:nth-child(2),
  .recipe-card:nth-child(2):hover {
    transform: none;
  }

  .experience-section {
    margin-left: var(--page-gutter);
    margin-right: var(--page-gutter);
    width: auto;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .experience-grid::before {
    top: 1rem;
    bottom: 1rem;
    left: 1.15rem;
    right: auto;
    width: 2px;
    height: auto;
  }

  .experience-card,
  .experience-card + .experience-card {
    padding: 0 0 0 4rem;
    border-left: 0;
  }

  .experience-index {
    position: absolute;
    left: 0;
    top: 0;
  }

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

  .recipe-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);
    padding: 0.8rem 0.8rem 2rem;
  }

  .recipe-illustration,
  .recipe-title,
  .divider,
  .recipe-subtitle,
  .recipe-meta-strip {
    grid-column: 1;
  }

  .recipe-illustration {
    grid-row: 1;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .recipe-title {
    /* Both translations share a row, including the hidden variant. */
    grid-row: 2;
    margin: 2.3rem 1.2rem 1rem;
  }

  .divider {
    grid-row: 3;
  }

  .recipe-subtitle {
    grid-row: 4;
  }

  .divider,
  .recipe-subtitle,
  .recipe-meta-strip {
    margin-left: 1.2rem;
  }

  .recipe-meta-strip {
    grid-row: 5;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .recipe-meta-pill {
    padding-right: 0.7rem;
  }

  .recipe-meta-pill + .recipe-meta-pill {
    padding-left: 0.7rem;
    border-left: 1px solid rgba(255, 253, 248, 0.25);
  }

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

  .recipe-columns .section:first-child {
    position: static;
  }
}

@media (max-width: 560px) {
  :root {
    --page-gutter: 0.85rem;
    --section-space: 4.5rem;
    --shadow-hard: 6px 6px 0 var(--ink);
  }

  body {
    font-size: 15px;
  }

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

  .logo-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .logo-wordmark {
    font-size: 1.35rem;
  }

  .lang-btn {
    min-width: 2.35rem;
    padding: 0.4rem 0.45rem;
  }

  .hero {
    padding-top: 0.85rem;
  }

  .hero-inner {
    padding: 2rem 1.25rem 2.4rem;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 4.4rem);
  }

  .hero-tagline {
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat,
  .hero-stat + .hero-stat {
    padding: 0.8rem 0;
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    align-items: baseline;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  }

  .hero-stat-label {
    margin-top: 0 !important;
  }

  .spotlight-card {
    transform: none;
  }

  .section-title,
  .cta-panel h2 {
    font-size: clamp(2.65rem, 13vw, 3.6rem);
  }

  .recipe-card-title {
    font-size: 2.55rem;
  }

  .experience-section {
    padding: 2.2rem 1.25rem 2.8rem;
  }

  .cta-panel {
    padding: 2.3rem 1.25rem 2.6rem;
  }

  .cta-panel::after {
    display: none;
  }

  .back-link {
    padding-top: 1.1rem;
  }

  .recipe-hero {
    width: calc(100% - 2 * var(--page-gutter));
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
  }

  .recipe-title {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .recipe-meta-strip {
    margin-right: 1.2rem;
    grid-template-columns: 1fr;
  }

  .recipe-meta-pill,
  .recipe-meta-pill + .recipe-meta-pill {
    padding: 0.7rem 0;
    border-left: 0;
  }

  .recipe-content {
    padding-top: 3rem;
  }

  .section {
    padding: 1.25rem;
  }

  .instruction-item {
    grid-template-columns: 2.5rem 1fr;
  }
}

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

  .js-motion .reveal,
  .js-motion .hero-media.reveal {
    opacity: 1;
    transform: none;
  }
}
