/* ==========================================================================
   The Liu Smokehouse

   Two themes, both taken from the logo:
     dusk    — the reversed mark, parchment linework on deep navy
     daylight — the original mark, navy linework on warm paper

   Every colour below is a semantic token. The palette blocks are the only
   place a literal hex appears.
   ========================================================================== */

/* ---------------------------------------------------------- dusk (default) */

:root {
  --bg:        #071B2B;
  --surface:   #0B273C;
  --bg-blur:   rgba(7, 27, 43, .86);

  --ink:       #F3E7D3;
  --ink-70:    rgba(243, 231, 211, .70);
  --ink-45:    rgba(243, 231, 211, .45);
  --rule:      rgba(243, 231, 211, .14);
  --rule-soft: rgba(243, 231, 211, .08);

  --accent:       #FBC56A;
  --accent-line:  rgba(251, 197, 106, .38);
  --accent-wash:  rgba(251, 197, 106, .07);
  --accent-fill:  #FBC56A;
  --accent-fill-ink: #071B2B;

  --hot:       #BD5324;
  --hot-wash:  rgba(189, 83, 36, .09);
  --cool:      #5D9EB8;

  --k-smoke:  #5D9EB8;
  --k-finish: #FBC56A;
  --k-sear:   #BD5324;
  --k-rest:   #6E8AA0;

  --logo-full: url("/assets/img/logo.svg");
  --logo-mark: url("/assets/img/logo-mark.svg");
  --shot: saturate(.92);
  --cl-wash: .13;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Latin typesetting */
  --lh-body: 1.62; --lh-head: 1.06; --lh-lede: 1.55; --lh-quote: 1.5;
  --ls-head: -.015em; --ls-display: -.03em;
  --fs-micro: .72rem; --fs-legend: .74rem;
  --mw-lede: 46ch; --mw-quote: 42ch; --mw-promise: 30ch; --mw-note: 42ch;
  --fs-hero: clamp(2.9rem, 8.2vw, 5.6rem);

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --shell: 1180px;

  color-scheme: dark;
}

/* ------------------------------------------------------------- daylight --
   Applied when the reader asks for it, or when their system prefers light
   and they have not chosen otherwise. The two blocks carry the same values. */

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:        #F2EDE1;
    --surface:   #E9E0CE;
    --bg-blur:   rgba(242, 237, 225, .88);

    --ink:       #0B273C;
    --ink-70:    rgba(11, 39, 60, .76);
    --ink-45:    rgba(11, 39, 60, .62);
    --rule:      rgba(11, 39, 60, .20);
    --rule-soft: rgba(11, 39, 60, .11);

    --accent:       #8F6111;
    --accent-line:  rgba(143, 97, 17, .34);
    --accent-wash:  rgba(143, 97, 17, .08);
    --accent-fill:  #FBC56A;
    --accent-fill-ink: #0B273C;

    --hot:       #A8461B;
    --hot-wash:  rgba(168, 70, 27, .09);
    --cool:      #2F6E88;

    --k-smoke:  #2F6E88;
    --k-finish: #A97711;
    --k-sear:   #A8461B;
    --k-rest:   #6B8090;

    --logo-full: url("/assets/img/logo-navy.svg");
    --logo-mark: url("/assets/img/logo-mark-navy.svg");
    --shot: saturate(1);
    --cl-wash: .20;

    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg:        #F2EDE1;
  --surface:   #E9E0CE;
  --bg-blur:   rgba(242, 237, 225, .88);

  --ink:       #0B273C;
  --ink-70:    rgba(11, 39, 60, .76);
  --ink-45:    rgba(11, 39, 60, .62);
  --rule:      rgba(11, 39, 60, .20);
  --rule-soft: rgba(11, 39, 60, .11);

  --accent:       #8F6111;
  --accent-line:  rgba(143, 97, 17, .34);
  --accent-wash:  rgba(143, 97, 17, .08);
  --accent-fill:  #FBC56A;
  --accent-fill-ink: #0B273C;

  --hot:       #A8461B;
  --hot-wash:  rgba(168, 70, 27, .09);
  --cool:      #2F6E88;

  --k-smoke:  #2F6E88;
  --k-finish: #A97711;
  --k-sear:   #A8461B;
  --k-rest:   #6B8090;

  --logo-full: url("/assets/img/logo-navy.svg");
  --logo-mark: url("/assets/img/logo-mark-navy.svg");
  --shot: saturate(1);
  --cl-wash: .20;

  color-scheme: light;
}

/* ------------------------------------------------- 中文排版 · Chinese setting
   Han characters need more leading, no negative tracking, and a touch more
   size at small optical sizes than their Latin counterparts. */

html[lang="zh-CN"] {
  --display: "Fraunces", "Noto Serif SC", "Songti SC", Georgia, serif;
  --body: "Karla", "Noto Serif SC", "Songti SC", -apple-system, BlinkMacSystemFont, sans-serif;

  --lh-body: 1.78; --lh-head: 1.26; --lh-lede: 1.85; --lh-quote: 1.72;
  --ls-head: 0; --ls-display: .01em;
  --fs-micro: .78rem; --fs-legend: .8rem;
  --mw-lede: 30em; --mw-quote: 24em; --mw-promise: 22em; --mw-note: 24em;
  --fs-hero: clamp(2rem, 4.6vw, 3.5rem);
}

/* ------------------------------------------------------------------ base */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; max-width: var(--measure); }

a { color: var(--cool); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

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

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-fill); color: var(--accent-fill-ink);
  padding: .6rem 1rem; font-weight: 700; z-index: 99;
}
.skip:focus { left: 0; }

/* the logo, swapped with the theme so the mark always sits on its own ground */
.logo-full {
  display: block; width: 100%; aspect-ratio: 600 / 536;
  background: var(--logo-full) center / contain no-repeat;
}

/* --------------------------------------------------------------- masthead */

.masthead {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg-blur);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.masthead__in {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .6rem 1.5rem; min-height: 68px;
  padding-block: .5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand__mark {
  flex: 0 0 auto; width: 52px; aspect-ratio: 556 / 256;
  background: var(--logo-mark) center / contain no-repeat;
}
.brand__name {
  font-family: var(--display); font-weight: 700; font-size: 1.06rem;
  letter-spacing: var(--ls-head);
  font-variation-settings: "SOFT" 30, "WONK" 1; letter-spacing: -.01em; line-height: 1.1;
}
.brand__tag {
  display: block; font-family: var(--body); font-size: .68rem; font-weight: 500;
  letter-spacing: .13em; color: var(--ink-45); text-transform: uppercase;
}

.nav { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.nav a { color: var(--ink-70); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

/* language switch — leads to the counterpart page, not a translated overlay */
.nav .lang {
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: .3rem .62rem; border: 1px solid var(--rule); border-radius: 2px;
  color: var(--ink-70); text-decoration: none;
  transition: color .18s, border-color .18s;
}
.nav .lang:hover { color: var(--accent); border-color: var(--accent-line); }

/* theme switch */
.themer {
  flex: 0 0 auto; width: 36px; height: 36px; padding: 0;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--rule); border-radius: 50%;
  color: var(--ink-70); cursor: pointer;
  transition: color .18s, border-color .18s;
}
.themer:hover { color: var(--accent); border-color: var(--accent-line); }
.themer svg { width: 17px; height: 17px; display: block; }
.themer .i-sun { display: none; }
.themer .i-moon { display: block; }
:root[data-theme="light"] .themer .i-sun { display: block; }
:root[data-theme="light"] .themer .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .themer .i-sun { display: block; }
  :root:not([data-theme="dark"]) .themer .i-moon { display: none; }
}

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

.hero { padding-block: clamp(3.5rem, 9vw, 7rem) 0; position: relative; overflow: hidden; }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}
.hero h1 {
  font-size: var(--fs-hero);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  letter-spacing: var(--ls-display);
  margin-bottom: 1.4rem;
}
.hero__cite {
  font-family: var(--body); font-size: .88rem; font-weight: 500;
  letter-spacing: .08em; color: var(--ink-45); margin: -.7rem 0 1.5rem;
}
.hero__lede { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--ink-70); max-width: var(--mw-lede); line-height: var(--lh-lede); }
.hero__logo { justify-self: center; width: min(360px, 78vw); }

.hero__acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.btn {
  display: inline-block; padding: .82rem 1.5rem; border-radius: 2px;
  font-family: var(--body); font-weight: 700; font-size: .96rem;
  text-decoration: none; border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}
.btn--solid { background: var(--accent-fill); color: var(--accent-fill-ink); }
.btn--solid:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--rule); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* the temperature ladder closing the hero: every heat used on this site */
.ladder { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.ladder svg { display: block; width: 100%; height: auto; }
.ladder__path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.ladder__tick { fill: var(--ink-45); font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.ladder__cap { fill: var(--hot); }

@media (prefers-reduced-motion: no-preference) {
  .ladder__path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.1s cubic-bezier(.65,.02,.3,1) .25s forwards; }
  .ladder__tick, .ladder__cap { opacity: 0; animation: fade .5s ease 1.7s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* --------------------------------------------------------------- sections */

.band { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band--rule { border-top: 1px solid var(--rule-soft); }
.band__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.band__head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .6rem; }
.band__head p { color: var(--ink-70); }

/* a moment of stillness before the footer */
.closing__grid {
  display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
@media (max-width: 760px) { .closing__grid { grid-template-columns: 1fr; } }

.closing__head {
  font-size: var(--fs-micro); font-family: var(--body); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45);
  margin: .5rem 0 0; line-height: 1.6;
}
.closing__text {
  font-family: var(--display); font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-size: clamp(1.28rem, 2.3vw, 1.72rem);
  line-height: var(--lh-quote); letter-spacing: .005em;
  max-width: var(--mw-quote); color: var(--ink-70);
  margin-bottom: 1.1rem;
}
.closing__text:first-of-type { color: var(--ink); }
.closing__text:last-child { margin-bottom: 0; }

/* the couplet that closes the Chinese edition */
.closing__poem {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.5; letter-spacing: .05em;
  color: var(--accent); margin: 2rem 0 .55rem; max-width: none;
}
.closing__cite {
  font-family: var(--body); font-size: .85rem; letter-spacing: .08em;
  color: var(--ink-45); margin: 0;
}

/* ------------------------------------------------------------ recipe list */

.cooks { display: grid; gap: 1px; background: var(--rule-soft); border-block: 1px solid var(--rule-soft); }

.cook {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 290px;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  background: var(--bg);
  text-decoration: none; color: inherit;
  transition: background .2s;
}
.cook:hover, .cook:focus-visible { background: var(--surface); }
.cook__shot { width: 190px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; filter: var(--shot); }
.cook:hover .cook__shot { filter: saturate(1.05); }

.cook__name { font-size: clamp(1.5rem, 2.9vw, 2.05rem); margin-bottom: .45rem; }
.cook:hover .cook__name { color: var(--accent); }
.cook__promise { color: var(--ink-70); margin-bottom: .9rem; max-width: 40ch; }
.cook__facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .85rem; color: var(--ink-45); }
.cook__facts b { color: var(--ink-70); font-weight: 600; }
.cook__facts span { color: var(--ink-70); }

.cook__line { width: 100%; }
.cook__line svg { display: block; width: 100%; height: auto; }

/* the cook line: a real temperature-over-time profile */
.cl__grid { stroke: var(--rule-soft); stroke-width: 1; }
.cl__fill { opacity: var(--cl-wash); }
.cl__path { fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.cl__seg-smoke  { stroke: var(--k-smoke); }
.cl__seg-finish { stroke: var(--k-finish); }
.cl__seg-sear   { stroke: var(--k-sear); }
.cl__seg-rest   { stroke: var(--k-rest); }
.cl__label { font-family: var(--body); font-weight: 600; letter-spacing: .05em; fill: var(--ink-70); }
.cl__axis  { font-family: var(--body); font-size: 11px; font-weight: 600; fill: var(--ink-45); }
.cl__temp  { font-family: var(--body); font-weight: 700; fill: var(--ink-70); }

.legend { display: flex; flex-wrap: wrap; gap: .35rem .85rem; margin: .55rem 0 0; font-size: var(--fs-legend); line-height: 1.5; color: var(--ink-45); }
.legend .leg { display: inline-flex; align-items: baseline; gap: .32rem; }
.legend .leg::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: 0 0 auto; }
.legend b { color: var(--ink-70); font-weight: 700; }
.leg--smoke  { --c: var(--k-smoke); }
.leg--finish { --c: var(--k-finish); }
.leg--sear   { --c: var(--k-sear); }
.leg--rest   { --c: var(--k-rest); }

/* -------------------------------------------------------------- method */

.method { display: grid; gap: clamp(1.5rem, 4vw, 2.75rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.method__item { border-top: 2px solid var(--rule); padding-top: 1.1rem; }
.method__item h3 { font-size: 1.32rem; margin-bottom: .55rem; color: var(--accent); }
.method__item p { color: var(--ink-70); font-size: .98rem; margin: 0; }

/* ================================================== recipe page ========== */

.rhead { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.rhead__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: end; }
.rhead h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); font-variation-settings: "SOFT" 40, "WONK" 1; letter-spacing: var(--ls-display); margin-bottom: .8rem; }
.rhead__promise { font-size: clamp(1.14rem, 2vw, 1.4rem); color: var(--accent); font-family: var(--display); font-weight: 500; line-height: 1.55; max-width: var(--mw-promise); margin-bottom: 1.3rem; }
.rhead__blurb { color: var(--ink-70); max-width: 48ch; }
.rhead__shot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; filter: var(--shot); }

.crumb { margin-bottom: 1.5rem; font-size: .95rem; }
.crumb a { color: var(--ink-45); text-decoration: none; }
.crumb a:hover { color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule-soft); margin-top: clamp(2rem, 4vw, 3rem); }
.stat { background: var(--bg); padding: 1.1rem 1.25rem; }
.stat dt { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .12em; color: var(--ink-45); text-transform: uppercase; margin-bottom: .35rem; }
.stat dd { margin: 0; font-family: var(--display); font-size: 1.22rem; font-weight: 600; font-variation-settings: "SOFT" 30, "WONK" 0; line-height: 1.2; }
.stat dd small { display: block; font-family: var(--body); font-size: .8rem; font-weight: 400; color: var(--ink-45); margin-top: .2rem; letter-spacing: 0; }

.donecue {
  margin: 1rem 0 0; padding: .95rem 1.15rem;
  border-left: 3px solid var(--hot);
  background: var(--hot-wash);
  font-family: var(--display); font-size: 1.12rem; font-weight: 500;
  font-variation-settings: "SOFT" 30, "WONK" 0; line-height: 1.4; max-width: none;
}
.donecue span {
  display: block; font-family: var(--body); font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--hot); margin-bottom: .3rem;
}

.profile { padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(.5rem, 1.5vw, 1rem); }
.profile svg { display: block; width: 100%; height: auto; }
.profile--compact { display: none; max-width: 420px; }
@media (max-width: 760px) {
  .profile--wide { display: none; }
  .profile--compact { display: block; }
}

.rbody { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: clamp(3rem, 7vw, 5rem); }

.panel { position: sticky; top: 92px; }
.panel h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.panel__note { font-size: .9rem; color: var(--ink-45); margin-bottom: 1.4rem; line-height: 1.5; }

.igroup { margin-bottom: 1.4rem; }
.igroup h3 { font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cool); margin-bottom: .55rem; }
.igroup ul { list-style: none; margin: 0; padding: 0; }
.igroup li { margin-bottom: .1rem; }

.check { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; padding: .28rem .4rem .28rem 0; font-size: .96rem; line-height: 1.45; border-radius: 2px; }
.check input { appearance: none; flex: 0 0 auto; width: 15px; height: 15px; margin: .22rem 0 0; border: 1.5px solid var(--ink-45); border-radius: 2px; background: transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked + span { color: var(--ink-45); text-decoration: line-through; text-decoration-color: var(--ink-45); }
.check:hover input { border-color: var(--accent); }

.stages { counter-reset: stage; }
.stages > h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 1.75rem; }

.stage { position: relative; padding: 0 0 2.1rem 3.4rem; border-left: 1px solid var(--rule); margin-left: .9rem; }
.stage:last-of-type { border-left-color: transparent; padding-bottom: .5rem; }
.stage::before {
  counter-increment: stage; content: counter(stage);
  position: absolute; left: -.9rem; top: -.1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--rule);
  font-family: var(--body); font-size: .8rem; font-weight: 700; color: var(--ink-70);
}
.stage h3 { font-size: 1.42rem; margin-bottom: .55rem; }

.stage__meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .85rem; }
.pill { font-size: .76rem; font-weight: 700; letter-spacing: .04em; padding: .22rem .6rem; border-radius: 2px; border: 1px solid; }
.pill--heat { color: var(--accent); border-color: var(--accent-line); background: var(--accent-wash); }
.pill--time { color: var(--ink-70); border-color: var(--rule); }

.stage ul { margin: 0 0 .9rem; padding-left: 1.15rem; }
.stage li { margin-bottom: .32rem; max-width: 58ch; }
.stage li::marker { color: var(--ink-45); }

.cue { border-left: 2px solid var(--cool); padding: .15rem 0 .15rem .9rem; color: var(--ink-70); font-size: .95rem; max-width: 54ch; line-height: 1.5; }
.cue b { color: var(--cool); font-weight: 700; }

.tips { margin-top: 1rem; background: var(--surface); border: 1px solid var(--rule-soft); padding: clamp(1.4rem, 3vw, 2rem); border-radius: 2px; }
.tips h2 { font-size: 1.45rem; margin-bottom: .9rem; }
.tips ul { margin: 0; padding-left: 1.15rem; }
.tips li { margin-bottom: .45rem; color: var(--ink-70); max-width: 56ch; }
.tips li::marker { color: var(--hot); }

.original { margin-top: 2rem; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.25rem; align-items: center; border: 1px solid var(--rule-soft); padding: 1.1rem; border-radius: 2px; text-decoration: none; color: inherit; transition: border-color .2s, background .2s; }
.original:hover { border-color: var(--accent-line); background: var(--surface); }
.original img { width: 96px; border-radius: 2px; }
.original h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.original p { font-size: .9rem; color: var(--ink-45); margin: 0; }

.pager { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; border-top: 1px solid var(--rule-soft); padding-block: 2rem; }
.pager a { text-decoration: none; color: var(--ink-70); }
.pager a:hover { color: var(--accent); }
.pager small { display: block; font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); margin-bottom: .2rem; }
.pager b { font-family: var(--display); font-size: 1.2rem; font-weight: 600; font-variation-settings: "SOFT" 30, "WONK" 1; }

/* ----------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--rule-soft); padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--surface); }
.foot__in { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; align-items: center; }
.foot__logo { width: 160px; }
.foot__note { font-size: .95rem; line-height: var(--lh-lede); color: var(--ink-70); max-width: var(--mw-note); margin: 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__logo { order: -1; width: min(260px, 60vw); }
  .rbody { grid-template-columns: 1fr; }
  .panel { position: static; }
  .rhead__grid { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .cook { grid-template-columns: 150px minmax(0, 1fr); }
  .cook__shot { width: 150px; }
  .cook__line { grid-column: 1 / -1; max-width: 420px; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .masthead__in { gap: .75rem; }
  .nav { gap: .95rem; }
  .nav a { font-size: .88rem; }
  .brand { gap: .55rem; }
  .brand__mark { width: 44px; }
  .brand__name { font-size: .98rem; }
  .brand__tag { display: none; }
  .themer { width: 32px; height: 32px; }
  .cook { grid-template-columns: 1fr; gap: .9rem; }
  .cook__shot { width: 100%; aspect-ratio: 2 / 1; }
  .cook__line { max-width: 100%; }
  .stage { padding-left: 2.6rem; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .brand__name { display: none; }
}

@media print {
  body { background: #fff; color: #111; }
  .masthead, .pager, .foot, .profile, .original { display: none; }
  .rbody { grid-template-columns: 1fr; }
  a { color: #111; }
}
