/* Kitchen Lab: a photographic field notebook, on rasa's shared page grid. */
.kitchen-lab {
  --lab-paper: #0a0d15;
  --lab-surface: #10151e;
  --lab-ink: #f3eee7;
  --lab-body: #bbbcc2;
  --lab-muted: #9a9da6;
  --lab-gold: #f5a623;
  --lab-line: #30333c;
  --lab-display: 'Cormorant Garamond', Georgia, serif;
  --lab-mono: 'JetBrains Mono', monospace;
  --lab-width: 1200px;
  background: var(--lab-paper);
  color: var(--lab-ink);
}
.kitchen-lab [hidden] { display: none !important; }
#kitchenLab { position: relative; }
.sc-hero, .sc-library, .sc-cta { width: min(var(--lab-width), calc(100% - 64px)); margin-inline: auto; }
.sc-eyebrow { font: 400 10px/1.6 var(--lab-mono); text-transform: uppercase; letter-spacing: .16em; color: var(--lab-gold); margin: 0; }
.sc-eyebrow > span { padding-inline: 10px; color: var(--lab-muted); }
.sc-hero { display: grid; grid-template-columns: .95fr 1.05fr; column-gap: 56px; align-items: center; padding-top: calc(var(--nav-height, 94px) + 24px); }
.sc-hero__title { font: 400 clamp(64px, 6vw, 92px)/.99 var(--lab-display); letter-spacing: -.035em; color: var(--lab-ink); margin: 27px 0; }
.sc-hero__title em, .sc-library__intro h2 em, .sc-cta h2 em { color: #e4c5ad; font-weight: 400; }
.sc-hero__sub { color: var(--lab-body); font-size: 16px; line-height: 1.85; max-width: 420px; margin: 0; }
.sc-hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; }
.sc-hero__actions > span { font-size: 12px; color: var(--lab-muted); }
.sc-button { min-height: 48px; padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--lab-gold); color: #17120b; text-decoration: none; border: 1px solid transparent; font: 600 12px/1.5 var(--font-body, sans-serif); transition: background .2s ease; }
.sc-button:hover { background: #ffc064; }
.sc-button:active { transform: translateY(0); }
.kitchen-lab :is(a, button, [role="button"]):focus-visible { outline: 2px solid var(--lab-gold); outline-offset: 5px; }
.sc-study { margin: 0; min-width: 0; }
.sc-study__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sc-study__heading > span:last-child { font-size: 11px; color: var(--lab-muted); }
.sc-study__image { aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: #171714; }
.sc-study__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-study__caption { padding-block: 18px 14px; }
.sc-study__caption h2 { font: 400 29px/1.15 var(--lab-display); letter-spacing: -.02em; margin: 0 0 8px; color: var(--lab-ink); }
.sc-study__caption p { margin: 0; color: var(--lab-body); font-size: 12px; line-height: 1.7; min-height: 3.4em; }
.sc-text-button { font: inherit; font-size: 12px; color: var(--lab-gold); border: 0; border-bottom: 1px solid #806230; padding: 6px 0; margin-top: 8px; min-height: 44px; background: none; cursor: pointer; }
.sc-text-button:hover { color: #ffd393; border-color: currentColor; }
.sc-study__stages { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.sc-study__stages button { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--lab-line); border-radius: 5px; background: transparent; color: var(--lab-body); min-height: 44px; padding: 9px 8px; font: inherit; font-size: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.sc-study__stages button[aria-pressed="true"] { border-color: var(--lab-gold); background: #211b13; color: var(--lab-ink); }
.sc-study__stages button:hover { background: #24211d; }
.sc-study__swatch { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #b89a72; flex-shrink: 0; }
.sc-study__swatch--raw { background: #e0d6b7; }
.sc-study__swatch--gold { background: #b78332; }
.sc-study__swatch--brown { background: #674021; }
.sc-hero__stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; padding-block: 20px; margin-top: 28px; border-top: 1px solid var(--lab-line); border-bottom: 1px solid var(--lab-line); }
.sc-hero__stats > div { display: flex; align-items: center; gap: 20px; min-width: 0; }
.sc-hero__stat-num { font: 400 52px/1.05 var(--lab-display); font-variant-numeric: lining-nums tabular-nums; color: var(--lab-gold); }
.sc-hero__stat-label { font-size: 12px; line-height: 1.7; color: var(--lab-body); }
.sc-library { padding-top: 76px; scroll-margin-top: calc(var(--nav-height, 94px) + 24px); }
.sc-library__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 32px; }
.sc-library__intro h2 { font: 400 56px/1.04 var(--lab-display); letter-spacing: -.025em; margin: 16px 0 0; }
.sc-library__intro > p { color: var(--lab-body); max-width: 410px; font-size: 15px; line-height: 1.85; margin: 0; padding-bottom: 4px; }
.sc-filters-container { padding-block: 20px; border-top: 1px solid var(--lab-line); border-bottom: 1px solid var(--lab-line); }
.sc-dropdown { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-filter-btn { background: none; border: 1px solid transparent; border-radius: 5px; color: var(--lab-body); min-height: 44px; padding: 10px 15px; font: inherit; font-size: 12px; cursor: pointer; transition: background .2s, color .2s; }
.sc-filter-btn.active { background: #272116; color: #ffcb79; border-color: #6b5330; }
.sc-filter-btn:hover { color: var(--lab-ink); background: #1b1f27; }
.sc-filter-status { font: 400 10px/1.6 var(--lab-mono); color: var(--lab-muted); margin: 14px 0 0 15px; }
.sc-chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; padding-top: 52px; margin-bottom: 26px; }
.sc-chapter h3 { margin: 10px 0 0; font: 400 40px/1.1 var(--lab-display); color: var(--lab-ink); letter-spacing: -.015em; }
.sc-chapter__desc { margin: 0; font-size: 13px; line-height: 1.8; color: var(--lab-body); max-width: 405px; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 24px 48px; padding-bottom: 42px; border-bottom: 1px solid var(--lab-line); }
.reaction-row { position: relative; display: grid; grid-template-columns: 144px 1fr; gap: 24px; align-items: center; cursor: pointer; min-width: 0; padding: 0; background: transparent; border: 0; border-radius: 6px; }
.reaction-row__visual { overflow: hidden; border-radius: 6px; background: var(--lab-surface); aspect-ratio: 1; }
.reaction-row__visual img { display: block; width: 100%; height: 100%; object-fit: cover;  }

.reaction-row:hover .reaction-row__name { color: #f6d4a5; }
.reaction-row__body { min-width: 0; }
.reaction-row__num { display: block; font: 400 9px/1.6 var(--lab-mono); text-transform: uppercase; letter-spacing: .13em; color: var(--lab-muted); margin-bottom: 9px; }
.reaction-row__name { font: 400 30px/1.12 var(--lab-display); color: var(--lab-ink); margin: 0 0 10px; transition: color .2s; }
.reaction-row__hook { font-size: 13px; line-height: 1.7; color: var(--lab-body); margin: 0; max-width: 430px; }
.reaction-row__read { display: inline-flex; align-items: center; gap: 16px; min-height: 36px; font-size: 11px; color: #ebba70; margin-top: 9px; }
.reaction-row__plus { font: 300 22px/1 var(--lab-display); }
.reaction-row:first-child { grid-row: 1 / 3; display: block; }
.reaction-row:first-child .reaction-row__visual { aspect-ratio: 16/9; }
.reaction-row:first-child .reaction-row__body { padding-top: 20px; }
.reaction-row:first-child .reaction-row__name { font-size: 36px; }
.sc-grid:has(> .reaction-row:nth-child(2):last-child) { grid-template-rows: auto; }
.sc-grid:has(> .reaction-row:nth-child(2):last-child) .reaction-row:first-child { grid-row: auto; }
.sc-grid:has(> .reaction-row:nth-child(2):last-child) .reaction-row:last-child { display: block; }
.sc-grid:has(> .reaction-row:nth-child(2):last-child) .reaction-row:last-child .reaction-row__visual { aspect-ratio: 16/9; }
.sc-grid:has(> .reaction-row:nth-child(2):last-child) .reaction-row:last-child .reaction-row__body { padding-top: 20px; }
.sc-grid:has(> .reaction-row:nth-child(2):last-child) .reaction-row:last-child .reaction-row__name { font-size: 36px; }
.reaction-row__lock-glyph { position: absolute; right: 0; bottom: 14px; color: var(--lab-gold); }
.sc-unlock { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 28px 32px; margin: 28px 0 0; border-radius: 8px; background: #171713; border-left: 2px solid #b28a47; }
.sc-unlock__eyebrow { font: 400 9px/1.6 var(--lab-mono); text-transform: uppercase; letter-spacing: .15em; color: #edbb6c; margin-bottom: 8px; }
.sc-unlock__title { font: 400 29px/1.2 var(--lab-display); color: var(--lab-ink); }
.sc-unlock__sub { margin: 8px 0 0; max-width: 650px; font-size: 12px; line-height: 1.8; color: var(--lab-body); }
.sc-unlock__btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #81643b; padding: 12px 20px; border-radius: 999px; color: #f3c47e; text-decoration: none; font-size: 12px; transition: background .2s; }
.sc-unlock__btn:hover { background: #30251a; }
.sc-cta { padding-block: 84px 56px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.sc-cta h2 { font: 400 64px/1.02 var(--lab-display); letter-spacing: -.02em; margin: 20px 0; color: var(--lab-ink); }
.sc-cta__copy > p:not(.sc-eyebrow) { font-size: 14px; line-height: 1.85; color: var(--lab-body); max-width: 380px; margin: 0 0 28px; }
.sc-cta__recipes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sc-recipe { color: var(--lab-ink); text-decoration: none; min-width: 0; }
.sc-recipe img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; display: block; margin-bottom: 24px; }
.sc-recipe:is(:hover, :focus-visible) h3 { color: #f6d4a5; }
.sc-recipe .sc-eyebrow { font-size: 8px; letter-spacing: .1em; }
.sc-recipe h3 { font: 400 30px/1.15 var(--lab-display); margin: 10px 0; }
.sc-recipe > span:last-child { color: var(--lab-body); font-size: 12px; }
/* Details keep the existing Maillard composition, with quieter transitions. */
.sc-drawer-overlay { background: #000a; opacity: 0; transition: opacity .22s ease; }
.sc-drawer-overlay.open { opacity: 1; backdrop-filter: none; -webkit-backdrop-filter: none; }
.sc-drawer { background-color: #101218; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-radius: 12px 12px 0 0; }
.sc-drawer-overlay.open .sc-drawer__anim { animation: none; opacity: 1; transform: none; }
.sc-drawer__desc, .sc-drawer__compound-text, .sc-drawer__callout-body { color: var(--lab-body); }
.sc-drawer__close { width: 44px; height: 44px; flex-shrink: 0; }
.sc-drawer__hindi { color: var(--lab-muted); }
.sc-drawer__data-chip { color: #d6c7b3; }
.sc-drawer__paywall-sub { color: var(--lab-body); }

/* A locked lesson falls softly out of focus as the membership invitation
   comes forward. The preview remains recognisable, while the close control
   and paid door stay perfectly sharp and usable. */
.sc-drawer--locked .sc-drawer__header > div {
 filter: blur(1.7px);
 opacity: .42;
}
.sc-drawer--locked .sc-drawer__hero-wrap {
 filter: blur(6px) brightness(.62) saturate(.72);
 opacity: .72;
 transform: scale(.985);
 transform-origin: 50% 50%;
}
.sc-drawer--locked .sc-drawer__data-strip,
.sc-drawer--locked .sc-drawer__desc {
 filter: blur(3px);
 opacity: .3;
}
.sc-drawer--locked .sc-drawer__body {
 padding-bottom: 270px;
}
.sc-drawer--locked .sc-drawer__paywall {
 position: absolute;
 z-index: 3;
 right: 28px;
 bottom: 28px;
 left: 28px;
 margin: 0;
 padding: 30px clamp(22px, 5vw, 42px) 34px;
 overflow: hidden;
 border: 1px solid #765a32;
 background:
  radial-gradient(ellipse 70% 90% at 50% 0%, #f5a62317 0%, transparent 68%),
  #171714;
 box-shadow: 0 -42px 70px #10131a, 0 24px 60px #0005;
}
.sc-drawer--locked .sc-drawer__paywall::before {
 content: '';
 position: absolute;
 inset: 0 12% auto;
 height: 1px;
 background: linear-gradient(90deg, transparent, #f5a623b8, transparent);
}
.sc-drawer__paywall-eyebrow {
 margin-bottom: 10px;
 color: #e7ab50;
 font: 400 9px/1.5 var(--lab-mono);
 letter-spacing: .18em;
 text-transform: uppercase;
}
.sc-drawer--locked .sc-drawer__paywall-title {
 font-size: clamp(24px, 3vw, 31px);
 line-height: 1.12;
}
.sc-drawer--locked .sc-drawer__paywall-sub {
 max-width: 42ch;
 margin-bottom: 22px;
 color: #c8c0b7;
}
.sc-drawer--locked .sc-drawer__paywall .sc-unlock__btn {
 min-width: min(100%, 250px);
 min-height: 48px;
 border-color: #f5a623;
 background: #f5a623;
 color: #12100c;
 font-weight: 600;
 box-shadow: 0 10px 28px #f5a62320;
}
.sc-drawer--locked .sc-drawer__paywall .sc-unlock__btn:is(:hover, :focus-visible) {
 background: #ffc05b;
 border-color: #ffc05b;
}
@media (max-height: 620px) {
 .sc-drawer--locked .sc-drawer__paywall { bottom: 12px; padding-block: 16px 18px; }
 .sc-drawer--locked .sc-drawer__paywall-eyebrow { margin-bottom: 5px; }
 .sc-drawer--locked .sc-drawer__paywall-title { font-size: 23px; }
 .sc-drawer--locked .sc-drawer__paywall-sub { margin-bottom: 10px; font-size: 12px; }
 .sc-drawer--locked .sc-drawer__paywall .sc-unlock__btn { min-height: 44px; }
}
@media (min-width: 768px) { .sc-drawer { border-radius: 12px; } }
@media (max-width: 1100px) {
 .sc-hero { gap: 36px; }
 .sc-hero__title { font-size: 70px; }
 .sc-study__heading { flex-wrap: wrap; gap: 6px; }
 .sc-study__caption h2 { font-size: 26px; }
 .sc-grid { gap: 24px 32px; }
 .reaction-row { grid-template-columns: 110px 1fr; gap: 20px; }
 .reaction-row__name { font-size: 27px; }
 .sc-cta { gap: 40px; }
}
@media (max-width: 767px) {
 .sc-hero, .sc-library, .sc-cta { width: calc(100% - 40px); }
 .sc-hero { grid-template-columns: 1fr; gap: 36px; padding-top: calc(var(--nav-height, 80px) + 28px); }
 .sc-hero__title { font-size: clamp(58px, 10vw, 76px); margin: 22px 0; }
 .sc-hero__sub { max-width: 520px; font-size: 15px; line-height: 1.8; }
 .sc-hero__actions { margin-top: 24px; gap: 10px; }
 .sc-study__heading { flex-wrap: nowrap; }
 .sc-study__image { aspect-ratio: 16/10; }
 .sc-study__caption h2 { font-size: 28px; }
 .sc-hero__stats { grid-column: auto; gap: 12px; margin-top: 0; padding-block: 24px; }
 .sc-drawer--locked .sc-drawer__body { padding-bottom: 260px; }
 .sc-drawer--locked .sc-drawer__paywall { right: 16px; bottom: 16px; left: 16px; padding: 24px 18px 26px; }
 .sc-hero__stats > div { flex-direction: column; align-items: flex-start; gap: 9px; }
 .sc-hero__stat-num { font-size: 42px; }
 .sc-hero__stat-label { font-size: 10px; line-height: 1.7; }
 .sc-library { padding-top: 52px; }
 .sc-library__intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 24px; }
 .sc-library__intro h2 { font-size: 46px; }
 .sc-library__intro > p { font-size: 14px; }
 .sc-filter-btn { padding: 9px 12px; font-size: 11px; }
 .sc-dropdown { gap: 4px; }
 .sc-filter-status { margin-left: 12px; }
 .sc-chapter { grid-template-columns: 1fr; gap: 14px; padding-top: 38px; margin-bottom: 22px; }
 .sc-chapter h3 { font-size: 34px; }
 .sc-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 26px; padding-bottom: 32px; }
 .reaction-row { grid-template-columns: 96px 1fr; gap: 20px; }
 .reaction-row:first-child { grid-row: auto; }
 .reaction-row__name { font-size: 27px; }
 .reaction-row__hook { font-size: 12px; }
 .reaction-row__num { margin-bottom: 5px; }
 .reaction-row:first-child .reaction-row__name { font-size: 32px; }
 .sc-grid:has(> .reaction-row:nth-child(2):last-child) .reaction-row:last-child { display: grid; }
 .sc-grid:has(> .reaction-row:nth-child(2):last-child) .reaction-row:last-child .reaction-row__visual { aspect-ratio: 1; }
 .sc-grid:has(> .reaction-row:nth-child(2):last-child) .reaction-row:last-child .reaction-row__body { padding-top: 0; }
 .sc-grid:has(> .reaction-row:nth-child(2):last-child) .reaction-row:last-child .reaction-row__name { font-size: 27px; }
 .sc-unlock { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
 .sc-unlock__btn { justify-self: start; }
 .sc-unlock__title { font-size: 27px; }
 .sc-cta { grid-template-columns: 1fr; padding-block: 52px 30px; gap: 36px; }
 .sc-cta h2 { font-size: 54px; }
 .sc-cta__recipes { gap: 20px; }
 .sc-recipe h3 { font-size: 26px; }
 .sc-recipe .sc-eyebrow { display: block; min-height: 27px; }
}
@media (max-width: 360px) {
 .sc-hero, .sc-library, .sc-cta { width: calc(100% - 32px); }
 .sc-hero__title { font-size: 54px; }
 .sc-study__heading > span:last-child { font-size: 9px; }
 .sc-study__stages button { gap: 6px; font-size: 10px; }
 .reaction-row { grid-template-columns: 80px 1fr; gap: 16px; }
 .sc-recipe h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
 .kitchen-lab { scroll-behavior: auto; }
 #kitchenLab *, #kitchenLab *::before, #kitchenLab *::after { animation: none !important; transition: none !important; }
}

.sc-study__stages button[aria-busy="true"] { border-color: var(--lab-gold); color: var(--lab-gold); cursor: progress; }

/* Soft vapour over hot cooking photographs. No photo movement or scrim.
   Only opacity and translation animate; the small feathered layers are static. */
.reaction-row__visual { position: relative; isolation: isolate; }
.sc-steam { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 350ms ease; }
.sc-steam i { position: absolute; bottom: 8%; left: 28%; width: 26%; height: 68%; opacity: 0; filter: blur(8px);
 background: radial-gradient(ellipse at 45% 78%, #fff8ec7a 0, #fff8ec25 18%, transparent 42%), radial-gradient(ellipse at 62% 48%, #fff8ec70 0, #fff8ec20 18%, transparent 40%), radial-gradient(ellipse at 40% 20%, #fff8ec40 0, transparent 38%);
 transform-origin: 50% 100%; }
.sc-steam i:nth-child(2) { left: 47%; bottom: 3%; height: 75%; --drift: -14%; --delay: -1.7s; }
.sc-steam i:nth-child(3) { left: 60%; bottom: 12%; width: 20%; height: 58%; --drift: 18%; --delay: -3.1s; }
@media (prefers-reduced-motion: no-preference) {
 .reaction-row:focus-visible .sc-steam { opacity: 1; }
 .reaction-row:focus-visible .sc-steam i { animation: sc-steam-rise 4.8s var(--delay, 0s) ease-in-out both; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
 .reaction-row:hover .sc-steam { opacity: 1; }
 .reaction-row:hover .sc-steam i { animation: sc-steam-rise 4.8s var(--delay, 0s) ease-in-out infinite; }
}
@keyframes sc-steam-rise {
 0% { opacity: 0; transform: translate3d(0, 25%, 0); }
 22% { opacity: .55; }
 65% { opacity: .35; }
 100% { opacity: 0; transform: translate3d(var(--drift, 12%), -38%, 0); }
}
