/* Recipe – the page as a modern cookbook: white paper, paprika red, butter yellow, hand-drawn icons. */

:root {
  --paprika: #d7301f;
  --paprika-dark: #b3241a;
  --butter: #ffe066;
  --butter-soft: #fff5c2;
  --white: #ffffff;
  --char: #231f20;

  --bg: #ffffff;
  --ink: #231f20;
  --ink-2: #5a5254;
  --line: #ece6e2;
  --accent: #d7301f;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --pad-x: clamp(16px, 5vw, 64px);
}

body { font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 400; }
:focus-visible { outline: 2.5px solid var(--paprika); outline-offset: 3px; border-radius: 3px; }

.rc-hand {
  font-family: var(--font-hand);
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--paprika);
  transform: rotate(-2deg);
  transform-origin: left center;
}
.rc-hand--small { font-size: 1.5rem; }
.rc-hand--inline { display: inline-block; font-size: 1.3125rem; margin-right: 4px; transform: rotate(-2deg); }
.rc-hand--light { color: var(--butter); }
.rc-ico { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.rc-head { border-top: 6px solid var(--paprika); background: var(--white); border-bottom: 1.5px solid var(--line); }
.rc-head__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  max-width: 1240px;
  margin-inline: auto;
  padding: 12px var(--pad-x);
}
.rc-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--char); text-decoration: none; }
.rc-brand__hat { width: 42px; height: 42px; flex: none; }
.rc-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.rc-brand__name { font-family: var(--font-display); font-size: 1.375rem; }
.rc-brand__sub { font-size: 0.8125rem; color: var(--ink-2); }
.rc-nav { order: 3; display: flex; flex-wrap: wrap; gap: 2px 20px; width: 100%; }
.rc-nav a {
  padding: 4px 0;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  background: linear-gradient(var(--butter), var(--butter)) 0 88% / 0 40% no-repeat;
  transition: background-size 0.2s;
}
.rc-nav a:hover { background-size: 100% 40%; }
.rc-lang {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px dashed var(--paprika);
  border-radius: 50%;
  color: var(--paprika);
  font-weight: 800;
  font-size: 0.8125rem;
  text-decoration: none;
  transform: rotate(-8deg);
}
.rc-lang:hover { background: var(--paprika); color: #fff; border-style: solid; }
@media (min-width: 860px) {
  .rc-nav { order: 0; width: auto; }
}

/* ---------- Hero ---------- */
.rc-hero { position: relative; }
.rc-hero__inner {
  display: grid;
  gap: 24px;
  align-items: center;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) var(--pad-x) clamp(24px, 3vw, 40px);
}
.rc-hero h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 12ch;
}
.rc-lead { max-width: 50ch; margin-top: 20px; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); color: var(--ink-2); }
.rc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.rc-btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--paprika);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--paprika-dark);
  transition: transform 0.15s, box-shadow 0.15s;
}
.rc-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--paprika-dark); }
.rc-tel { font-weight: 700; text-decoration-color: var(--butter); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.rc-art { width: min(100%, 540px); margin-inline: auto; }

.rc-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(calc(100% - 2 * var(--pad-x)), calc(1240px - 2 * var(--pad-x)));
  margin-inline: auto;
  border-block: 2px solid var(--char);
}
.rc-info li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 14px 12px;
}
.rc-info li:nth-child(odd) { border-right: 1.5px dashed var(--char); }
.rc-info li:nth-child(-n+2) { border-bottom: 1.5px dashed var(--char); }
.rc-info .rc-ico { grid-row: span 2; width: 36px; height: 36px; color: var(--paprika); }
.rc-info__label { font-size: 0.8125rem; color: var(--ink-2); }
.rc-info__value { font-weight: 700; line-height: 1.3; }

/* ---------- Shared section bits ---------- */
.rc-h2 { margin-top: 6px; font-family: var(--font-display); font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.05; letter-spacing: -0.015em; }
.rc-h3 { font-family: var(--font-display); font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.15; margin-bottom: 8px; }
.rc-intro { max-width: 46ch; margin-top: 16px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--ink-2); }

/* ---------- Ingredients spread ---------- */
.rc-spread { padding: clamp(80px, 10vw, 140px) var(--pad-x); }
.rc-spread__inner {
  display: grid;
  gap: 40px;
  max-width: 1240px;
  margin-inline: auto;
}
.rc-spot { width: min(100%, 360px); margin-top: 32px; }
.rc-group > p { max-width: 58ch; }
.rc-group + .rc-pair, .rc-pair { margin-top: 44px; padding-top: 36px; border-top: 2px solid var(--char); }
.rc-page--right > .rc-group:first-child { padding-top: 0; }
.rc-group .rc-hand--small { margin-top: 20px; }
.rc-ing { margin-top: 10px; }
.rc-ing li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1.5px dashed #d8cfca;
}
.rc-ing li:first-child { border-top: 1.5px dashed #d8cfca; }
.rc-ing .rc-ico { width: 40px; height: 40px; padding: 4px; border-radius: 50%; background: var(--butter); color: var(--char); }
.rc-ing strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1875rem; line-height: 1.25; margin-bottom: 2px; hyphens: manual; }
.rc-ing span { hyphens: auto; }
.rc-note { margin-top: 18px; padding: 12px 16px; background: var(--butter-soft); border-left: 4px solid var(--butter); font-size: 0.9375rem; max-width: 58ch; }
.rc-pair { display: grid; gap: 36px; }
.rc-checks { margin-top: 14px; }
.rc-checks li { position: relative; padding: 7px 0 7px 32px; hyphens: auto; }
.rc-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--char);
  border-radius: 6px 8px 5px 7px;
  transform: rotate(-4deg);
}
.rc-checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 7px;
  height: 13px;
  border: solid var(--paprika);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}

/* ---------- Method ---------- */
.rc-method { padding: clamp(80px, 10vw, 140px) var(--pad-x); background: var(--butter); }
.rc-method__inner { max-width: 1240px; margin-inline: auto; }
.rc-method .rc-intro { color: var(--char); }
.rc-steps { display: grid; gap: 20px; margin-top: clamp(36px, 5vw, 60px); counter-reset: none; }
.rc-steps li {
  position: relative;
  padding: 26px 24px 26px 96px;
  background: var(--white);
  border-radius: 6px 18px 8px 14px;
  box-shadow: 0 2px 0 rgb(35 31 32 / 0.12);
}
.rc-steps__no {
  position: absolute;
  left: 22px;
  top: 14px;
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 1;
  color: var(--paprika);
}
.rc-steps__ico { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; color: var(--char); opacity: 0.85; }
.rc-steps h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; margin-bottom: 6px; padding-right: 44px; }
.rc-steps p { hyphens: auto; }

.rc-extras { display: grid; gap: 28px; margin-top: clamp(48px, 6vw, 80px); }
.rc-chef {
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgb(35 31 32 / 0.1), 0 18px 30px -20px rgb(35 31 32 / 0.5);
  background-image: repeating-linear-gradient(transparent 0 31px, #f1d9d4 31px 32px);
  background-position: 0 14px;
}
.rc-chef p { max-width: 56ch; line-height: 32px; }
.rc-chef p + p { margin-top: 0; }
.rc-chef .rc-h3 { margin-bottom: 12px; }
.rc-tips { padding: clamp(24px, 3vw, 36px); background: var(--white); border-radius: 18px 6px 14px 8px; }
.rc-tips .rc-h3 { margin-bottom: 14px; }
.rc-tips details { border-top: 1.5px dashed #d8cfca; }
.rc-tips summary {
  position: relative;
  padding: 14px 40px 14px 0;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.rc-tips summary::-webkit-details-marker { display: none; }
.rc-tips summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 6px;
  font-family: var(--font-hand);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--paprika);
  transition: transform 0.2s;
}
.rc-tips details[open] summary::after { transform: rotate(45deg); }
.rc-tips details p { padding-bottom: 16px; color: var(--ink-2); max-width: 60ch; }

/* ---------- More recipes ---------- */
.rc-more { padding: clamp(80px, 10vw, 140px) var(--pad-x); }
.rc-more__inner { max-width: 1240px; margin-inline: auto; }
.rc-more__head { display: grid; gap: 4px; }
.rc-cards { display: grid; gap: 24px; margin-top: clamp(36px, 5vw, 56px); }
.rc-card {
  display: flex;
  flex-direction: column;
  padding: 26px clamp(20px, 2.4vw, 30px) 26px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-top: 10px solid var(--paprika);
  border-radius: 4px;
}
.rc-card:nth-child(2) { border-top-color: var(--butter); }
.rc-card__ico { width: 46px; height: 46px; color: var(--paprika); margin-bottom: 10px; }
.rc-card h3 { font-family: var(--font-display); font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.15; margin-bottom: 10px; hyphens: auto; }
.rc-card p { hyphens: auto; }
.rc-card__meta { margin-top: 12px; margin-bottom: 18px; font-weight: 600; font-size: 0.9375rem; }
.rc-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 18px;
  border: 2px solid var(--char);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  background: var(--white);
}
.rc-card__link:hover { background: var(--butter); }

/* ---------- Serving ---------- */
.rc-serve { padding: clamp(80px, 10vw, 140px) var(--pad-x); background: var(--paprika); color: #fff; }
.rc-serve__inner { display: grid; gap: 40px; max-width: 1240px; margin-inline: auto; align-items: center; }
.rc-serve .rc-h2 { max-width: 14ch; color: #fff; }
.rc-serve__lead { max-width: 44ch; margin-top: 18px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.rc-serve :focus-visible { outline-color: var(--butter); }
.rc-ticket {
  position: relative;
  padding: 28px clamp(20px, 3vw, 36px) 24px;
  background: var(--white);
  color: var(--char);
  border-radius: 6px;
  transform: rotate(1.5deg);
  box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.55);
}
.rc-ticket::before, .rc-ticket::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(circle at 8px 0, var(--paprika) 6px, transparent 6.5px) 0 0 / 16px 10px repeat-x;
}
.rc-ticket::before { top: 0; }
.rc-ticket::after { bottom: 0; transform: scaleY(-1); }
.rc-ticket :focus-visible { outline-color: var(--paprika); }
.rc-ticket__head { padding-bottom: 8px; border-bottom: 2px solid var(--char); }
.rc-ticket__list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1.5px dashed #d8cfca; }
.rc-ticket__list dt { font-size: 0.875rem; color: var(--ink-2); padding-top: 2px; }
.rc-ticket__list dd { font-weight: 600; overflow-wrap: anywhere; }
.rc-ticket__list a { color: var(--paprika-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rc-ticket__list div:first-child dd { font-size: 1.125rem; font-weight: 700; }
.rc-ticket__foot { margin-top: 14px; text-align: right; font-family: var(--font-hand); font-size: 1.75rem; font-weight: 700; color: var(--paprika); transform: rotate(-3deg); }

/* ---------- Footer ---------- */
.rc-foot { position: relative; background: var(--white); padding-top: 18px; }
.rc-foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  background:
    linear-gradient(90deg, rgb(215 48 31 / 0.55) 50%, transparent 50%) 0 0 / 18px 18px,
    linear-gradient(rgb(215 48 31 / 0.55) 50%, transparent 50%) 0 0 / 18px 18px;
}
.rc-foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  max-width: 1240px;
  margin-inline: auto;
  padding: 28px var(--pad-x) 32px;
  font-size: 0.9375rem;
}
.rc-foot__brand { font-family: var(--font-display); font-size: 1.0625rem; }
.rc-foot__tag { margin-right: auto; color: var(--ink-2); }
.rc-foot__links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; }
.rc-foot__links a { text-decoration-color: var(--paprika); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rc-foot__copy { color: var(--ink-2); }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(3rem, 7vw, 5rem); }
.legal__inner { padding: clamp(24px, 4vw, 48px); border-top: 10px solid var(--paprika); border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgb(35 31 32 / 0.5); }
.legal h1 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; color: var(--paprika-dark); }
.legal a { color: var(--paprika-dark); }

/* ---------- Wider screens ---------- */
@media (min-width: 720px) {
  .rc-info { grid-template-columns: repeat(4, 1fr); }
  .rc-info li { border-bottom: 0 !important; border-right: 1.5px dashed var(--char); padding: 16px 18px; }
  .rc-info li:last-child { border-right: 0; }
  .rc-pair { grid-template-columns: 1fr 1fr; }
  .rc-steps { grid-template-columns: 1fr 1fr; }
  .rc-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .rc-hero__inner { grid-template-columns: 6fr 5fr; gap: 48px; }
  .rc-spread__inner {
    grid-template-columns: 5fr 7fr;
    gap: 0;
    padding: clamp(36px, 4vw, 56px) 0;
    background:
      linear-gradient(90deg, transparent calc(41.6667% - 28px), rgb(35 31 32 / 0.05) calc(41.6667% - 2px), rgb(35 31 32 / 0.16) 41.6667%, rgb(35 31 32 / 0.05) calc(41.6667% + 2px), transparent calc(41.6667% + 28px));
  }
  .rc-page--left { position: sticky; top: 24px; align-self: start; padding-right: clamp(40px, 5vw, 80px); }
  .rc-page--right { padding-left: clamp(40px, 5vw, 80px); }
  .rc-method__head { display: grid; grid-template-columns: 5fr 7fr; column-gap: 48px; align-items: end; }
  .rc-method__head .rc-hand { grid-column: 1 / -1; }
  .rc-method__head .rc-intro { margin-top: 0; padding-bottom: 8px; }
  .rc-steps { grid-template-columns: repeat(4, 1fr); }
  .rc-steps li { padding: 88px 22px 26px; }
  .rc-steps__no { top: 16px; font-size: 4.5rem; }
  .rc-steps h3 { padding-right: 0; }
  .rc-steps li:nth-child(even) { transform: translateY(24px); }
  .rc-extras { grid-template-columns: 5fr 7fr; align-items: start; gap: 40px; }
  .rc-chef { transform: rotate(-1.2deg); }
  .rc-more__head { grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: end; }
  .rc-more__head .rc-hand { grid-column: 1 / -1; }
  .rc-more__head .rc-intro { margin-top: 0; padding-bottom: 8px; }
  .rc-serve__inner { grid-template-columns: 7fr 5fr; gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 999px) {
  .rc-spot { display: none; }
}
