/* sushi-roll.com — The Sushi Roll Field Guide
   Layout: a field-guide page. Left-aligned reading column; roll cross-sections
   act as specimen plates, set out on a hinoki-wood band for the identification key. */

@font-face {
  font-family: "Shippori Mincho B1";
  src: url("/assets/fonts/shippori-mincho-b1-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Shippori Mincho B1";
  src: url("/assets/fonts/shippori-mincho-b1-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("/assets/fonts/zen-kaku-gothic-new-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("/assets/fonts/zen-kaku-gothic-new-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour: rice paper, nori ink, tuna red, hinoki wood */
  --rice: #f5f6f1;
  --surface: #eaede4;
  --ink: #17251d;
  --ink-soft: #4a574f;
  --rule: #d2d8cb;
  --akami: #a8232d;
  --on-akami: #ffffff;
  --hinoki: #e9dcc2;
  --hinoki-grain: rgba(122, 88, 44, 0.075);
  --hinoki-ink: #5a4529;
  --tamago: #f2c14e;
  --roll-shadow: rgba(78, 52, 18, 0.24);
  --panel: #17251d;
  --on-panel: #f5f6f1;
  --on-panel-soft: #b8c4ba;
  --panel-rule: #34463b;

  /* type: Japanese mincho for reading and display, Japanese gothic for small interface text */
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.5rem, 1.55rem + 4.2vw, 4.75rem);

  --measure: 38rem;
  --page: 74rem;
  --gutter: 20px;
  --section: clamp(4rem, 3rem + 4vw, 7rem);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --rice: #111a15;
    --surface: #18241d;
    --ink: #e8ece4;
    --ink-soft: #a8b3a9;
    --rule: #2b3a31;
    --akami: #ec6b72;
    --on-akami: #1a0f10;
    --hinoki: #2a241b;
    --hinoki-grain: rgba(255, 240, 210, 0.035);
    --hinoki-ink: #d8c6a4;
    --tamago: #e8bc4a;
    --roll-shadow: rgba(0, 0, 0, 0.45);
    --panel: #e9dcc2;
    --on-panel: #1d1a14;
    --on-panel-soft: #5a4b33;
    --panel-rule: #cdbd9c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --rice: #111a15;
  --surface: #18241d;
  --ink: #e8ece4;
  --ink-soft: #a8b3a9;
  --rule: #2b3a31;
  --akami: #ec6b72;
  --on-akami: #1a0f10;
  --hinoki: #2a241b;
  --hinoki-grain: rgba(255, 240, 210, 0.035);
  --hinoki-ink: #d8c6a4;
  --tamago: #e8bc4a;
  --roll-shadow: rgba(0, 0, 0, 0.45);
  --panel: #e9dcc2;
  --on-panel: #1d1a14;
  --on-panel-soft: #5a4b33;
  --panel-rule: #cdbd9c;
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--rice);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.75;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  text-wrap: balance;
}
p,
ul,
ol,
dl,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--akami);
}
:focus-visible {
  outline: 3px solid var(--akami);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: var(--tamago);
  color: #17251d;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: max(var(--gutter), env(safe-area-inset-left, 0px));
  top: -100px;
  z-index: 20;
  padding: 0.5rem 0.875rem;
  background: var(--ink);
  color: var(--rice);
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.75rem;
  color: var(--rice);
}
[lang="ja"] {
  font-feature-settings: "palt" 0;
}

/* ---------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 48rem) {
  :root {
    --gutter: 32px;
  }
}
.section {
  padding-block: var(--section) 0;
}
.section-head {
  display: grid;
  align-content: start;
  gap: 0.875rem;
  max-width: var(--measure);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.section-head h2 {
  font-size: var(--step-3);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.section-head p {
  color: var(--ink-soft);
}
.prose {
  max-width: var(--measure);
}
.prose > * + * {
  margin-top: 1em;
}
.ja {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- header */
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: 0.005em;
}
.brand svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.375rem;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
}
.site-nav a {
  display: inline-block;
  padding-block: 0.375rem;
  text-decoration: none;
  color: var(--ink-soft);
}
.site-nav a:hover {
  color: var(--akami);
}

/* ---------------------------------------------------------------- hero */
.hero .wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(1.5rem, 1rem + 3vw, 4rem) 0;
}
@media (min-width: 60rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 2.5rem;
  }
}
.hero-text {
  display: grid;
  align-content: start;
  gap: 1.5rem;
  min-width: 0;
}
.hero h1 {
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero .lede {
  max-width: 31rem;
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-family: var(--sans);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--rice);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.button:hover {
  background: var(--akami);
  color: var(--on-akami);
}
.text-link {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.hero-figure {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}
.plate {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 520;
}
.plate-roll,
.plate-callouts {
  position: absolute;
  display: block;
}
.plate-roll {
  left: 25%;
  top: 11.538%;
  width: 50%;
  height: 76.923%;
  filter: drop-shadow(0 8px 14px var(--roll-shadow));
}
.plate-callouts {
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
@media (max-width: 37.5rem) {
  .plate {
    aspect-ratio: 1 / 1;
    max-width: 24rem;
    margin-inline: auto;
  }
  .plate-roll {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
  .plate-callouts {
    display: none;
  }
}
.hero-figure figcaption {
  max-width: 34rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-soft);
}
.callout-line {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.25;
}
.callout-dot {
  fill: var(--ink);
  stroke: var(--rice);
  stroke-width: 2;
}
.callout-text {
  fill: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 19px;
}
.callout-sub {
  fill: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
}

/* ---------------------------------------------------------------- the five shapes */
.shapes {
  display: grid;
  gap: 1.75rem;
  padding: 0;
  list-style: none;
}
.shape {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  align-content: start;
}
.shape svg {
  width: 6.5rem;
  height: 6.5rem;
}
.shape h3 {
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.25;
}
.shape h3 .ja {
  margin-left: 0.5rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.shape p {
  margin-top: 0.375rem;
  font-size: 1rem;
  line-height: 1.7;
}
.shape .mark {
  margin-top: 0.5rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
}
@media (min-width: 64rem) {
  .shapes {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
  }
  .shape {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .shape svg {
    width: 8rem;
    height: 8rem;
  }
}

/* ---------------------------------------------------------------- identification key on a hinoki band */
.counter {
  margin-top: var(--section);
  padding-block: clamp(3rem, 2.5rem + 2.5vw, 5rem);
  background-color: var(--hinoki);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 13px, var(--hinoki-grain) 13px 14px, transparent 14px 31px),
    repeating-linear-gradient(90deg, transparent 0 47px, var(--hinoki-grain) 47px 49px, transparent 49px 83px);
  color: var(--hinoki-ink);
}
.counter .section-head {
  margin-bottom: 1.75rem;
}
.counter .section-head h2 {
  color: var(--ink);
}
.counter .section-head p {
  color: var(--hinoki-ink);
}
.filters {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.filters[hidden] {
  display: none;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  appearance: none;
  min-height: 2.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid color-mix(in srgb, var(--hinoki-ink) 45%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--hinoki-ink);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.chip:hover {
  border-color: var(--hinoki-ink);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--rice);
}
.chip .count {
  margin-left: 0.375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}
.filter-status {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
}
.key-group + .key-group {
  margin-top: 2rem;
}
.key-group h3 {
  margin-bottom: 0.75rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--hinoki-ink);
}
.key {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr));
  gap: 1.25rem 0.75rem;
  padding: 0;
  list-style: none;
}
.key li[hidden] {
  display: none;
}
.key a {
  display: grid;
  justify-items: center;
  gap: 0.375rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}
.key a:hover {
  color: var(--akami);
}
.key svg {
  width: 5.5rem;
  height: 5.5rem;
  filter: drop-shadow(0 3px 4px var(--roll-shadow));
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .key svg {
    transition: transform 160ms ease-out;
  }
  .key a:hover svg {
    transform: scale(1.06);
  }
}
@media (max-width: 30rem) {
  .key {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 0.375rem;
  }
  .key a {
    font-size: 0.75rem;
  }
  .key svg {
    width: 4.5rem;
    height: 4.5rem;
  }
}
@media (min-width: 64rem) {
  .key {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- roll entries */
.entries {
  display: grid;
  gap: 0;
}
@media (min-width: 60rem) {
  .entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3.5rem;
  }
}
.roll {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 2rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1.5rem;
}
.roll[hidden] {
  display: none;
}
.roll > svg {
  width: 5.5rem;
  height: 5.5rem;
  filter: drop-shadow(0 3px 4px var(--roll-shadow));
}
@media (min-width: 40rem) {
  .roll {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 1.75rem;
  }
  .roll > svg {
    width: 8.5rem;
    height: 8.5rem;
  }
}
.roll-body {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-width: 0;
}
.roll h3 {
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.2;
}
.roll h3 .ja {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.375rem;
  padding: 0;
  list-style: none;
}
.tag {
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.6;
}
.tag-raw {
  background: color-mix(in srgb, #b3212d 14%, var(--rice));
  color: var(--ink);
}
.tag-veg {
  background: color-mix(in srgb, #6f9a3c 18%, var(--rice));
  color: var(--ink);
}
.roll-body > p {
  font-size: 1.0625rem;
  line-height: 1.75;
}
.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.65;
}
.facts div {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0.75rem;
}
.facts dt {
  padding-top: 0.125rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink-soft);
}
.facts dd {
  margin: 0;
}
@media (max-width: 30rem) {
  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

/* ---------------------------------------------------------------- roll your own */
.howto {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 60rem) {
  .howto {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
}
.recipe {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 0.75rem;
  background: var(--surface);
}
.recipe h3,
.steps-head h3 {
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.25;
}
.recipe .yield {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
}
.ingredients {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
  font-size: 1rem;
}
.ingredients li {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}
.ingredients .qty {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.recipe .method {
  display: grid;
  gap: 0.625rem;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.steps-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.steps {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
}
.steps h4 {
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.35;
}
.steps p {
  margin-top: 0.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.layout-figure {
  margin-top: 2.25rem;
  display: grid;
  gap: 0.75rem;
}
.layout-figure svg {
  width: 100%;
  max-width: 34rem;
  height: auto;
}
.layout-figure figcaption {
  max-width: 34rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
}
.diagram-nori {
  fill: #1d2c23;
  stroke: #4c6a58;
  stroke-width: 1.5;
}
.diagram-rice {
  fill: url(#rice);
}
.diagram-filling {
  fill: #d4e6a7;
  stroke: #3f6e2a;
  stroke-width: 2;
}
.diagram-line {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.5;
}
.diagram-text {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
}
.notes {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 48rem) {
  .notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}
.note h4 {
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.35;
}
.note p {
  margin-top: 0.375rem;
  font-size: 1rem;
  line-height: 1.7;
}
.note-safety {
  padding-left: 1.25rem;
  border-left: 3px solid var(--akami);
}

/* ---------------------------------------------------------------- etiquette and glossary */
.two-up {
  display: grid;
  gap: var(--section);
}
@media (min-width: 60rem) {
  .two-up {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
}
.manners {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}
.manners li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.manners strong {
  display: block;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.4;
}
.manners span {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.glossary {
  display: grid;
  gap: 0;
}
.glossary div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.875rem;
  border-top: 1px solid var(--rule);
}
.glossary dt {
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.glossary dt .ja {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.glossary dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}
@media (max-width: 30rem) {
  .glossary div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}

/* ---------------------------------------------------------------- sources */
.sources {
  display: grid;
  gap: 0.5rem;
  max-width: 48rem;
  padding-left: 1.25rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-soft);
}
.sources a {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.sources-note {
  max-width: var(--measure);
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------------------------------------------------------------- domain for sale */
.for-sale {
  padding-block: var(--section);
}
.sale-box {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
  border-radius: 1rem;
  background: var(--panel);
  color: var(--on-panel);
}
@media (min-width: 52rem) {
  .sale-box {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
  }
}
.sale-box h2 {
  color: var(--on-panel);
  font-size: var(--step-3);
  font-weight: 800;
  line-height: 1.15;
}
.sale-box p {
  max-width: 36rem;
  margin-top: 0.75rem;
  color: var(--on-panel-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.sale-actions {
  display: grid;
  gap: 0.625rem;
  justify-items: start;
}
.button-sale {
  min-height: 3.25rem;
  padding-inline: 1.75rem;
  background: var(--akami);
  color: var(--on-akami);
  font-size: 1.0625rem;
}
.button-sale:hover {
  background: var(--on-panel);
  color: var(--panel);
}
.sale-actions small {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--on-panel-soft);
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--rule);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 2rem 2.5rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- 404 */
.lost {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  padding-block: clamp(3rem, 2rem + 5vw, 7rem);
}
.lost svg {
  width: 9rem;
  height: 9rem;
  filter: drop-shadow(0 4px 6px var(--roll-shadow));
}
.lost h1 {
  font-size: var(--step-3);
  font-weight: 800;
  line-height: 1.15;
}
.lost p {
  max-width: var(--measure);
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- motion and print */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-nav,
  .filters,
  .skip-link {
    display: none;
  }
  .counter {
    background: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* ---------------------------------------------------------------- small notes */
.filter-note {
  max-width: var(--measure);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hinoki-ink);
}
.recipe-note {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- history */
.timeline {
  display: grid;
  max-width: 52rem;
  padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.125rem;
  border-top: 1px solid var(--rule);
}
.timeline .when {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
}
.timeline p {
  font-size: 1.0625rem;
  line-height: 1.7;
}
@media (max-width: 30rem) {
  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}

/* ---------------------------------------------------------------- phone refinements */
@media (max-width: 30rem) {
  .recipe {
    padding: 1.25rem;
  }
  .ingredients li {
    grid-template-columns: 6.25rem minmax(0, 1fr);
    gap: 0.5rem;
  }
  .ingredients .qty {
    font-size: 0.875rem;
  }
}
