:root {
  --porcelain: #eef2f4;
  --paper: #f8fafb;
  --skin: #d9d3df;
  --ink: #262427;
  --muted: #64666b;
  --amber: #b65f20;
  --amber-light: #f0c17d;
  --leaf: #355b43;
  --line: #cbd2d6;
  --danger: #812f2a;
  --display: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --body: "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", sans-serif;
  --utility: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 7%, rgba(217, 211, 223, .48), transparent 30rem),
    linear-gradient(180deg, var(--porcelain), #f7f9fa 54rem);
  font-family: var(--body);
  font-size: 17px;
  line-height: 2;
  letter-spacing: .025em;
}

img { display: block; max-width: 100%; }
a { color: var(--leaf); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--amber); }
a:focus-visible { outline: 3px solid var(--amber-light); outline-offset: 4px; border-radius: 2px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .6rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 18px;
  border-bottom: 1px solid rgba(38, 36, 39, .22);
}

.site-mark {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}
.site-mark__dot { width: 9px; height: 9px; background: var(--amber); border-radius: 50%; }
.site-header__label, .section-kicker, .eyebrow {
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.site-header__label { color: var(--muted); }

.hero {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 610px;
  margin: 30px auto 80px;
  overflow: hidden;
  background: #e7ecef;
  box-shadow: 0 28px 70px rgba(49, 55, 60, .16);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(239, 244, 246, .97) 0%, rgba(239, 244, 246, .86) 34%, transparent 64%);
  pointer-events: none;
}
.hero__image { width: 100%; height: 100%; min-height: 610px; object-fit: cover; }
.hero__copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(28px, 6vw, 74px);
  width: min(510px, 48%);
  transform: translateY(-50%);
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
}
.eyebrow { margin: 0 0 1.2rem; color: var(--leaf); }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.04em;
}
.hero h1 em { color: var(--leaf); font-style: normal; }
.hero h1 strong { color: var(--amber); font-size: 1.28em; font-weight: 500; }
.hero__lead { margin: 1.6rem 0 0; font-family: var(--display); font-size: 19px; }
.hero__stamp {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 25px;
  display: grid;
  width: 118px;
  height: 118px;
  place-content: center;
  color: white;
  background: rgba(38, 36, 39, .9);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  text-align: center;
  line-height: 1;
}
.hero__stamp span { font: 700 9px/1 var(--utility); letter-spacing: .22em; }
.hero__stamp b { margin: 3px 0; font: 400 48px/1 var(--display); }

.article-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 720px);
  gap: clamp(40px, 7vw, 100px);
  justify-content: center;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.process-rail {
  position: sticky;
  top: 28px;
  align-self: start;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.process-rail__title { margin: 0 0 1rem; font-family: var(--display); font-size: 14px; font-weight: 700; }
.process-rail ol { position: relative; margin: 0; padding: 0; list-style: none; }
.process-rail ol::before { content: ""; position: absolute; top: 16px; bottom: 21px; left: 15px; width: 1px; background: var(--line); }
.process-rail li { position: relative; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; padding: 13px 0; }
.process-rail li span { z-index: 1; width: 31px; height: 31px; color: white; background: var(--ink); border-radius: 50%; font: 700 10px/31px var(--utility); text-align: center; }
.process-rail li b { font-family: var(--display); font-size: 15px; }
.process-rail li small { grid-column: 2; color: var(--muted); font-size: 11px; line-height: 1.4; }
.process-rail li.is-focus span { color: var(--ink); background: var(--amber-light); box-shadow: 0 0 0 5px var(--porcelain); }

.article-body { min-width: 0; }
.article-body > section, .article-body > aside, .article-body > figure { margin: 0 0 110px; }
.article-body section > p, .article-body aside p { max-width: 42em; }
.article-body h2 {
  margin: .3rem 0 2rem;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 45px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.025em;
}
.article-body h3 { margin: 2.2rem 0 .8rem; font-family: var(--display); font-size: 24px; }
.section-kicker { margin: 0; color: var(--amber); line-height: 1.4; }
.article-body sup a { padding: 0 .15em; font-family: var(--utility); font-size: 11px; font-weight: 700; text-decoration: none; }

.opening { padding: 32px 0 35px 34px; border-left: 4px solid var(--skin); }
.opening p { margin: 0 0 .55rem; font-family: var(--display); font-size: clamp(19px, 2.5vw, 24px); line-height: 1.75; }
.opening .opening__answer { margin-top: 1.8rem; color: var(--leaf); font-weight: 700; }

.term-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.15fr;
  gap: 12px;
  align-items: center;
  margin: 38px 0;
  padding: 24px;
  background: rgba(217, 211, 223, .38);
  border: 1px solid rgba(38, 36, 39, .12);
}
.term-card div { display: grid; gap: .1rem; }
.term-card span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.term-card b { font-family: var(--display); font-size: 18px; }
.term-card i { color: var(--muted); font-style: normal; }
.term-card__result { color: var(--leaf); }

blockquote {
  position: relative;
  margin: 45px 0 0;
  padding: 34px 36px 33px 42px;
  color: white;
  background: var(--leaf);
}
blockquote::before { content: "“"; position: absolute; top: -25px; left: 18px; color: var(--amber-light); font: 100px/1 var(--display); }
blockquote p { position: relative; margin: 0; font-family: var(--display); font-size: clamp(22px, 3vw, 30px); line-height: 1.55; }
blockquote cite { display: block; margin-top: .8rem; color: rgba(255,255,255,.72); font-size: 13px; font-style: normal; }

.process-figure { position: relative; width: min(940px, calc(100vw - 40px)); margin-left: clamp(-110px, -8vw, -40px) !important; }
.process-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.process-figure__labels { position: absolute; right: 0; bottom: 60px; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 3%; pointer-events: none; }
.process-figure__labels span { justify-self: center; padding: 5px 12px; color: white; background: rgba(38,36,39,.82); font-family: var(--display); font-size: 13px; }
.process-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.evidence-note {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  margin: 36px 0;
  padding: 20px 24px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.evidence-note__number { color: var(--amber); font: 500 68px/1 var(--display); }
.evidence-note p { margin: 0; font-size: 14px; line-height: 1.7; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 36px; background: var(--line); border: 1px solid var(--line); }
.choice-grid div { padding: 27px; background: var(--paper); }
.choice-grid span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.choice-grid b { display: block; margin: .6rem 0 .3rem; color: var(--leaf); font-family: var(--display); font-size: 18px; line-height: 1.6; }
.choice-grid p { margin: 0; font-size: 12px; }

.recipe { border: 1px solid var(--ink); background: var(--paper); }
.recipe__head { position: relative; padding: 38px 42px 32px; color: white; background: var(--ink); overflow: hidden; }
.recipe__head::after { content: "10"; position: absolute; right: -8px; bottom: -50px; color: rgba(255,255,255,.07); font: 220px/1 var(--display); }
.recipe__head h2 { position: relative; z-index: 1; margin-bottom: 1rem; }
.recipe__head .section-kicker { color: var(--amber-light); }
.recipe__meta { position: relative; z-index: 1; display: flex; gap: 8px; }
.recipe__meta span { padding: 4px 9px; border: 1px solid rgba(255,255,255,.35); font-size: 11px; }
.recipe__content { padding: 12px 42px 44px; }
.ingredients { margin: 0; border-top: 1px solid var(--line); }
.ingredients div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ingredients dt, .ingredients dd { margin: 0; }
.ingredients dd { color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.steps li span { width: 34px; height: 34px; color: white; background: var(--leaf); border-radius: 50%; font: 700 13px/34px var(--utility); text-align: center; }
.steps li p { margin: 0; line-height: 1.8; }
.cook-note { margin-top: 30px; padding: 20px 22px; background: #f1e2cd; border-left: 4px solid var(--amber); }
.cook-note b { font-family: var(--display); }
.cook-note p { margin: .3rem 0 0; font-size: 14px; line-height: 1.8; }

.safety {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  padding: 34px;
  color: #fdf7f5;
  background: var(--danger);
}
.safety__mark { width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font: 500 34px/56px var(--display); text-align: center; }
.safety .section-kicker { color: #ffd5b2; }
.safety h2 { margin-bottom: 1rem; font-size: clamp(25px, 3.5vw, 34px); }
.safety p { margin: .8rem 0; }
.safety a { color: white; }

.conclusion { padding: 70px 60px !important; background: var(--skin); text-align: center; }
.conclusion > p:first-child { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.conclusion h2 { margin: 1rem 0; font-size: clamp(42px, 7vw, 70px); line-height: 1.25; }
.conclusion h2 strong { color: var(--amber); font-weight: 500; }
.conclusion > p:last-child { margin: 0 auto; font-family: var(--display); }

.references { padding-top: 30px; border-top: 1px solid var(--ink); }
.references h2 { font-size: 30px; }
.references ol { padding-left: 1.5rem; }
.references li { margin-bottom: 1rem; color: var(--muted); font-size: 12px; line-height: 1.7; }
.references__note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  width: min(1080px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
footer p { margin: 0; }

@keyframes rise {
  from { opacity: 0; transform: translateY(calc(-50% + 18px)); }
  to { opacity: 1; transform: translateY(-50%); }
}

@media (max-width: 900px) {
  .hero { min-height: 580px; }
  .hero::after { background: linear-gradient(90deg, rgba(239,244,246,.98), rgba(239,244,246,.7) 52%, transparent 90%); }
  .hero__copy { width: 65%; }
  .article-shell { grid-template-columns: 1fr; }
  .process-rail { position: static; z-index: 2; margin-bottom: 35px; background: transparent; }
  .process-rail ol { display: grid; grid-template-columns: repeat(3, 1fr); }
  .process-rail ol::before { top: 28px; right: 16%; bottom: auto; left: 16%; width: auto; height: 1px; }
  .process-rail li { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .process-rail li small { grid-column: 1; }
  .process-figure { width: 100%; margin-left: 0 !important; }
}

@media (max-width: 620px) {
  body { font-size: 16px; line-height: 1.9; }
  .site-header { width: min(100% - 28px, 1180px); padding-top: 16px; }
  .site-header__label { display: none; }
  .hero { display: flex; flex-direction: column; width: 100%; min-height: 0; margin-top: 0; margin-bottom: 54px; box-shadow: none; overflow: visible; }
  .hero::after { display: none; }
  .hero__image { order: 2; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; object-position: 62% center; }
  .hero__copy { position: static; order: 1; width: auto; padding: 46px 22px 36px; transform: none; animation-name: mobile-rise; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero__lead { font-size: 16px; }
  .hero__stamp { right: 18px; bottom: -38px; width: 92px; height: 92px; }
  .hero__stamp b { font-size: 38px; }
  .article-shell { width: min(100% - 32px, 1080px); }
  .article-body > section, .article-body > aside, .article-body > figure { margin-bottom: 76px; }
  .opening { padding-left: 20px; }
  .term-card { grid-template-columns: 1fr; gap: 7px; }
  .term-card i { transform: rotate(90deg); justify-self: center; }
  .process-figure__labels { bottom: 56px; padding: 0 1%; }
  .process-figure__labels span { padding: 3px 6px; font-size: 10px; }
  .evidence-note { grid-template-columns: 72px 1fr; padding: 18px; }
  .evidence-note__number { font-size: 56px; }
  .choice-grid { grid-template-columns: 1fr; }
  .recipe__head, .recipe__content { padding-right: 24px; padding-left: 24px; }
  .recipe__head::after { font-size: 180px; }
  .ingredients div { font-size: 14px; }
  .safety { grid-template-columns: 1fr; padding: 26px 24px; }
  .safety__mark { width: 46px; height: 46px; font-size: 27px; line-height: 44px; }
  .conclusion { padding: 52px 20px !important; }
  footer { display: block; width: min(100% - 32px, 1080px); }
  footer a { display: inline-block; margin-top: 1rem; }
}

@keyframes mobile-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

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