/* =========================================================
   じぶん湯 — Editorial / Prescription Style
   和紙 × 処方箋 × 四要素
   ========================================================= */

:root {
  /* Paper neutrals */
  --paper:       #f4efe4;     /* base washi */
  --paper-2:     #ebe4d3;
  --paper-deep:  #e4dbc5;
  --ink:         #1a1a1a;
  --ink-2:       #3a372f;
  --ink-soft:    #5c584d;
  --ink-faint:   #8a857b;
  --rule:        rgba(26,26,26,0.12);
  --rule-strong: rgba(26,26,26,0.35);

  /* Element accents */
  --solid:       #b4563a;     /* 固形 */
  --liquid:      #34486e;     /* 液体 */
  --flower:      #c4aa6c;     /* 湯の花 */
  --herb:        #5c7a4e;     /* 和ハーブ */
  --herb-deep:   #2f4a3a;

  /* Type */
  --jp:     "Shippori Mincho", "Noto Serif JP", serif;
  --en:     "Cormorant Garamond", "Times New Roman", serif;
  --sans:   "Noto Sans JP", system-ui, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1320px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* subtle paper grain */
  background-image:
    radial-gradient(circle at 12% 18%, rgba(180,86,58,0.05) 0%, transparent 40%),
    radial-gradient(circle at 88% 72%, rgba(92,122,78,0.05) 0%, transparent 45%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.09  0 0 0 0 0.08  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: auto, auto, 200px 200px;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--jp);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}
em {
  font-family: var(--en);
  font-style: italic;
  font-weight: 500;
  color: var(--herb-deep);
}

.sec-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.sec-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.sec-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding-top: 120px;
  margin-bottom: 80px;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
.sec-head .sec-label {
  padding-top: 8px;
  align-self: start;
}
.sec-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.35;
  margin: 0 0 24px;
  font-weight: 500;
  text-wrap: balance;
}
.sec-desc {
  font-family: var(--jp);
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
  text-wrap: pretty;
}

section { padding: 120px 0; position: relative; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.4s ease, transform 1.4s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: linear-gradient(180deg, rgba(244,239,228,0.92) 0%, rgba(244,239,228,0.72) 70%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.logo {
  font-family: var(--jp);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}
.site-nav {
  display: flex;
  gap: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
}
.site-nav a {
  color: var(--ink-soft);
  transition: color .25s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 140px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-content {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 64px;
  align-items: center;
  min-height: 600px;
}
.hero-specimen {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-44%);
  width: 340px;
  z-index: 1;
  opacity: 0.85;
  filter: drop-shadow(0 6px 20px rgba(26,26,26,0.08));
}

.hero-copy { max-width: 680px; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 9px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--ink-2);
  margin-bottom: 28px;
  background: rgba(255,255,255,0.4);
}
.hero-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--herb);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

h1 {
  font-size: clamp(46px, 6.8vw, 96px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 40px;
  position: relative;
  text-wrap: balance;
}
h1 .ln {
  display: block;
  position: relative;
}
h1 .ln:first-child {
  color: var(--ink-soft);
  font-size: 0.62em;
  margin-bottom: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding-left: 42px;
}
h1 .ln:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 28px;
  height: 1px;
  background: var(--ink-faint);
}
h1 .ln:last-child {
  color: var(--ink);
  font-weight: 500;
}
h1 .quoted {
  position: relative;
  display: inline-block;
  color: var(--herb-deep);
  padding: 0 2px;
  font-weight: 600;
}
h1 .quoted::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.28em;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 50%,
    rgba(196,170,108,0.45) 50%,
    rgba(196,170,108,0.45) 100%);
  z-index: -1;
  border-radius: 2px;
}

/* 4 elements row — rhythmic breadcrumb */
.hero-elements {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 10px 18px;
  margin: 0 0 32px;
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--rule);
  border-radius: 2px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-el {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--jp);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 10px;
  letter-spacing: 0.04em;
}
.hero-el .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-el-sep {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.55;
}

.hero-sub {
  font-family: var(--jp);
  font-size: 18px;
  line-height: 2.1;
  color: var(--ink-2);
  margin: 0 0 44px;
  max-width: 520px;
  text-wrap: pretty;
  padding-left: 24px;
  border-left: 1px solid var(--rule-strong);
  font-weight: 400;
}
.hero-sub em {
  font-family: var(--jp);
  font-style: normal;
  color: var(--herb-deep);
  font-weight: 600;
  position: relative;
  padding: 0 2px;
}
.hero-sub em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--herb-deep);
  opacity: 0.5;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  font-family: var(--jp);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: all .3s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn .arrow { transition: transform .3s; display: inline-block; }
.btn:hover .arrow { transform: translateX(6px); }
.btn-solid {
  background: var(--ink);
  color: var(--paper);
}
.btn-solid:hover { background: var(--herb-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.hero-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  border: 1px solid var(--rule);
  padding: 20px 18px;
  background: rgba(255,255,255,0.35);
}
.hero-meta .lat {
  font-family: var(--en);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
}
.hero-meta .dv {
  border-top: 1px solid var(--rule);
  margin: 12px 0;
}
.hero-meta .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 3px 0;
}
.hero-meta .row span:last-child { color: var(--ink-2); }

.hero-ing {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  display: flex;
  gap: 36px;
  justify-content: flex-start;
  z-index: 2;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.hero-ing .ing {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}
.hero-ing .dot {
  width: 10px; height: 10px; border-radius: 50%;
}

/* ---------- Empathy ---------- */
.empathy { background: var(--paper-2); }
.empathy-list {
  border-top: 1px solid var(--rule-strong);
  margin-top: 20px;
}
.empathy-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding .3s ease, background .3s ease;
}
.empathy-row:hover {
  padding-left: 20px;
  background: rgba(255,255,255,0.3);
}
.empathy-n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.empathy-jp {
  font-family: var(--jp);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 500;
  color: var(--ink);
}
.empathy-en em {
  color: var(--ink-faint);
  font-size: 18px;
}
.empathy-whisper {
  margin-top: 80px;
  text-align: center;
  font-family: var(--jp);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink-2);
  letter-spacing: 0.08em;
}
.empathy-whisper .sep {
  display: inline-block;
  width: 24px;
  margin: 0 8px;
  height: 1px;
  background: var(--rule-strong);
  vertical-align: middle;
}

/* ---------- Concept ---------- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.concept-figure svg {
  width: 100%;
  height: auto;
  max-height: 560px;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}
.concept-copy h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.5;
  margin: 0 0 32px;
  font-weight: 500;
}
.concept-copy p {
  font-family: var(--jp);
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.concept-formula {
  margin-top: 40px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--rule);
  font-family: var(--jp);
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.concept-formula .plus {
  color: var(--ink-faint);
  font-family: var(--mono);
  margin: 0 2px;
}
.concept-formula .eq {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--rule-strong);
  margin: 0 8px;
  position: relative;
}
.concept-formula .eq::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule-strong);
}
.concept-formula .result {
  font-weight: 600;
  color: var(--herb-deep);
  font-family: var(--en);
  font-style: italic;
  font-size: 18px;
}

/* ---------- Four Elements ---------- */
.three { background: var(--paper-2); }
.four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.four-col {
  padding: 48px 32px;
  border-right: 1px solid var(--rule);
  transition: background .3s;
}
.four-col:last-child { border-right: none; }
.four-col:hover { background: rgba(255,255,255,0.4); }
.four-col .ic {
  margin-bottom: 28px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.four-col .kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.four-col .name {
  font-family: var(--jp);
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--ink);
}
.four-col .en {
  font-family: var(--en);
  font-size: 15px;
  margin-bottom: 14px;
}
.four-col .en em { color: var(--ink-soft); }
.four-col .role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 6px 10px;
  background: rgba(255,255,255,0.5);
  display: inline-block;
  margin-bottom: 16px;
  color: var(--ink-2);
}
.four-col p {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0;
}

.layers-diagram {
  margin-top: 64px;
  padding: 36px 40px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.layers-diagram h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  margin: 0 0 28px;
  color: var(--ink-faint);
  font-weight: 400;
}
.layer {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  gap: 24px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
}
.layer:last-child { border-bottom: none; }
.layer-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.layer-bar {
  height: 10px;
  background: rgba(26,26,26,0.04);
  position: relative;
  overflow: hidden;
}
.layer-bar span {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  transition: width 1.2s ease;
}
.reveal .layer-bar span { width: 0 !important; }
.reveal.on .layer-bar span { /* let inline width take */ }
.layer-name {
  font-family: var(--jp);
  font-size: 16px;
  color: var(--ink-2);
  text-align: right;
}

/* ---------- Herb Intro ---------- */
.herb-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.herb-intro-fig svg {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.herb-intro-copy h3 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.4;
  margin: 0 0 28px;
}
.herb-intro-copy p {
  font-family: var(--jp);
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.herb-intro-copy .lead {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--en);
  font-style: italic;
  font-size: 22px;
  color: var(--herb-deep);
  line-height: 1.6;
}

/* ---------- Herb Story ---------- */
.herb-story { background: linear-gradient(180deg, var(--paper) 0%, #eef1e8 100%); }

.story-chapter {
  display: grid;
  grid-template-columns: 200px 1fr 320px;
  gap: 60px;
  padding: 80px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.story-ch-meta {
  position: sticky;
  top: 120px;
}
.story-ch-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.story-ch-q {
  font-family: var(--en);
  font-style: italic;
  font-size: 56px;
  color: var(--herb-deep);
  line-height: 1;
  margin-bottom: 20px;
}
.story-ch-dv {
  width: 40px;
  height: 1px;
  background: var(--herb-deep);
  opacity: 0.4;
  margin-bottom: 16px;
}
.story-ch-label {
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.story-ch-body h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.5;
  margin: 0 0 24px;
}
.story-ch-body > p {
  font-family: var(--jp);
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 36px;
}

.story-examples {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story-ex {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px dotted var(--rule-strong);
  align-items: start;
}
.story-ex-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--herb-deep);
  padding-top: 4px;
}
.story-ex-name {
  font-family: var(--jp);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.story-ex-detail {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.story-ch-fig {
  position: sticky;
  top: 120px;
}
.story-ch-fig svg {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  background: #eef1e8;
}
.story-ch-fig .caption {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-top: 10px;
  text-align: right;
}

.story-culture-quote {
  margin: 120px auto 0;
  text-align: center;
  font-family: var(--jp);
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: 0.14em;
  color: var(--herb-deep);
  font-weight: 500;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ---------- Diagnosis (see component for internals) ---------- */
.dx-section { background: var(--paper); }

/* ---------- Story Recipes grid ---------- */
.story-recipes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story-recipe {
  border: 1px solid var(--rule-strong);
  padding: 28px 26px;
  background: rgba(255,255,255,0.4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.story-recipe:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(26,26,26,0.15);
}
.story-recipe-season {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--herb-deep);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.story-recipe-name {
  font-family: var(--jp);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--ink);
}
.story-recipe-blend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.story-recipe-ing {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-soft);
}
.story-recipe-ing .dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.story-recipe-ing .kind {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  min-width: 54px;
}
.story-recipe-story {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-style: italic;
}

/* ---------- Three Pillars ---------- */
.three-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.pillar {
  padding: 44px 36px;
  border: 1px solid var(--rule-strong);
  background: rgba(255,255,255,0.4);
  position: relative;
}
.pillar-n {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.pillar-icon {
  width: 60px; height: 60px;
  margin-bottom: 24px;
}
.pillar-label {
  font-family: var(--en);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.pillar-jp {
  font-family: var(--jp);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 22px;
  color: var(--ink);
}
.pillar-body {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0;
}

.evidence-panel {
  border: 1px solid var(--rule-strong);
  padding: 44px 48px;
  background: var(--paper-2);
}
.evidence-panel h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin: 0 0 32px;
  font-weight: 400;
}
.evidence-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}
.evidence-item { display: flex; flex-direction: column; }
.ev-val {
  font-family: var(--en);
  font-style: italic;
  font-size: 56px;
  font-weight: 500;
  color: var(--herb-deep);
  line-height: 1;
  margin-bottom: 16px;
}
.ev-val small {
  font-family: var(--mono);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-left: 4px;
  color: var(--ink-soft);
}
.ev-text {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.ev-text cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ink-faint);
}
.evidence-note {
  font-family: var(--jp);
  font-size: 11px;
  line-height: 1.85;
  color: var(--ink-faint);
}

/* ---------- Experience ---------- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.exp {
  padding: 40px 36px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  position: relative;
}
.exp-n {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 20px;
}
.exp-ic {
  margin-bottom: 28px;
  height: 80px;
}
.exp-title {
  font-family: var(--jp);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
}
.exp-body {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Safety ---------- */
.safety-section { background: var(--paper-2); }
.safety-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
}
.safety-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.safety-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.safety-item .n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  padding-top: 4px;
}
.safety-item .t {
  font-family: var(--jp);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.safety-item .d {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.safety-caution {
  margin-top: 60px;
  padding: 28px 32px;
  border: 1px dashed var(--solid);
  background: rgba(180,86,58,0.05);
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-2);
}
.safety-caution strong {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--solid);
  margin-bottom: 10px;
  font-weight: 400;
}

/* ---------- Plan ---------- */
.plan-section { background: var(--paper); }

/* ---------- Season ---------- */
.season-section { background: linear-gradient(180deg, #eef1e8 0%, var(--paper) 100%); }

/* ---------- Mood ---------- */
.mood-section { background: var(--paper-2); }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 160px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(180,86,58,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(92,122,78,0.2) 0%, transparent 45%);
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta .sec-label { color: rgba(244,239,228,0.5); }
.final-cta h2 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 28px;
  font-weight: 500;
}
.final-cta h2 em { color: #c4aa6c; }
.final-cta .tagline {
  font-family: var(--en);
  font-style: italic;
  font-size: 22px;
  color: rgba(244,239,228,0.7);
  margin: 0 0 50px;
  letter-spacing: 0.04em;
}
.final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta .btn-solid { background: var(--paper); color: var(--ink); }
.final-cta .btn-solid:hover { background: #c4aa6c; color: var(--ink); }
.final-cta .btn-ghost {
  color: var(--paper);
  border-color: rgba(244,239,228,0.3);
}
.final-cta .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ---------- Footer ---------- */
footer {
  background: var(--paper-deep);
  padding: 100px 40px 40px;
  border-top: 1px solid var(--rule);
}
.foot-grid {
  max-width: var(--wrap);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot-brand .logo { margin-bottom: 20px; }
.foot-brand p {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 38ch;
}
.foot-contact {
  margin: 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
}
.foot-contact dt { color: var(--ink-faint); padding-top: 2px; }
.foot-contact dd {
  margin: 0;
  color: var(--ink-2);
  font-family: var(--jp);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.foot-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin: 0 0 20px;
  font-weight: 400;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-col a {
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-2);
  transition: color .2s;
}
.foot-col a:hover { color: var(--solid); }
.foot-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 14px;
}

/* =========================================================
   Diagnosis component
   ========================================================= */
.dx-card {
  border: 1px solid var(--rule-strong);
  background: rgba(255,255,255,0.5);
  padding: 56px 64px;
  max-width: 960px;
  margin: 0 auto;
}
.dx-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}
.dx-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(26,26,26,0.08);
  position: relative;
  overflow: hidden;
}
.dx-progress-bar span {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--herb);
  transition: width .6s ease;
}
.dx-q-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--herb-deep);
  margin-bottom: 14px;
}
.dx-q-title {
  font-family: var(--jp);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 36px;
  color: var(--ink);
}
.dx-options {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}
.dx-option {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all .25s;
  text-align: left;
  font: inherit;
}
.dx-option:hover {
  border-color: var(--ink);
  background: #fff;
  transform: translateX(4px);
}
.dx-option.is-selected {
  border-color: var(--herb-deep);
  background: rgba(92,122,78,0.08);
}
.dx-option-n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}
.dx-option-label {
  font-family: var(--jp);
  font-size: 16px;
  color: var(--ink);
}
.dx-option-arrow {
  font-family: var(--en);
  color: var(--ink-faint);
  font-size: 18px;
}

.dx-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.dx-result-head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--herb-deep);
  margin-bottom: 16px;
}
.dx-result-title {
  font-family: var(--jp);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.35;
}
.dx-result-title em { color: var(--herb-deep); }
.dx-result-caption {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.dx-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 20px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.dx-spec { text-align: center; }
.dx-spec-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.dx-spec-val {
  font-family: var(--en);
  font-style: italic;
  font-size: 26px;
  color: var(--herb-deep);
  font-weight: 500;
}
.dx-spec-val small {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  margin-left: 3px;
  color: var(--ink-soft);
}

.dx-blend {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.dx-blend-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--rule);
}
.dx-blend-swatch {
  width: 30px; height: 30px; border-radius: 50%;
}
.dx-blend-kind {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin-bottom: 2px;
}
.dx-blend-name {
  font-family: var(--jp);
  font-size: 16px;
  color: var(--ink);
}

.dx-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

/* =========================================================
   Recipe Builder
   ========================================================= */
.rb-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.rb-palette {
  border: 1px solid var(--rule-strong);
  padding: 32px;
  background: rgba(255,255,255,0.4);
}
.rb-palette h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin: 0 0 24px;
  font-weight: 400;
}
.rb-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rb-cat-head {
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.rb-cat-head .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.rb-cat-head .mono {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin-left: auto;
}
.rb-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.rb-item {
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.6);
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-2);
  cursor: grab;
  text-align: left;
  transition: all .2s;
  position: relative;
}
.rb-item:hover {
  border-color: var(--ink);
  background: #fff;
  transform: translateY(-2px);
}
.rb-item.is-selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.rb-item.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.rb-item:active { cursor: grabbing; }

.rb-canvas {
  border: 1px solid var(--rule-strong);
  padding: 32px;
  background: var(--paper-2);
  position: sticky;
  top: 100px;
}
.rb-canvas h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin: 0 0 8px;
  font-weight: 400;
}
.rb-counter {
  font-family: var(--en);
  font-style: italic;
  font-size: 16px;
  color: var(--herb-deep);
  margin-bottom: 20px;
}
.rb-tub {
  position: relative;
  height: 240px;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, #f5f0e4 0%, #ddd4be 100%);
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  margin-bottom: 24px;
}
.rb-drop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  pointer-events: none;
}
.rb-drop.is-over { background: rgba(92,122,78,0.08); }
.rb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.85;
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.rb-selected {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.rb-sel-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--rule);
}
.rb-sel-swatch {
  width: 14px; height: 14px; border-radius: 50%;
}
.rb-sel-name {
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-2);
}
.rb-sel-name small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin-right: 8px;
}
.rb-sel-remove {
  background: none;
  border: none;
  color: var(--ink-faint);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
}
.rb-sel-remove:hover { color: var(--solid); }
.rb-empty {
  font-family: var(--jp);
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
  padding: 14px 0;
  font-style: italic;
}
.rb-summary {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.rb-summary em { color: var(--herb-deep); }
.rb-reset {
  margin-top: 14px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--rule-strong);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.rb-reset:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =========================================================
   Mood Slider (improved pad)
   ========================================================= */
.mood-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.mood-pad-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Frame = outer container that holds the pad + edge labels outside it */
.mood-pad-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  /* Reserve space on all 4 sides for the edge labels */
  padding: 34px 38px;
}
.mood-pad {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.9) 0%, var(--paper-2) 100%);
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  user-select: none;
  touch-action: none;
  cursor: crosshair;
  overflow: hidden;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.mood-pad:focus-visible,
.mood-pad.is-hover {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(92,122,78,0.15);
}
.mood-pad.is-dragging { cursor: grabbing; }

.mood-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mood-corner {
  position: absolute;
  font-family: var(--jp);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0.6;
  z-index: 2;
}
.mood-corner.tl { top: 12px;    left: 12px; }
.mood-corner.tr { top: 12px;    right: 12px; }
.mood-corner.bl { bottom: 12px; left: 12px; }
.mood-corner.br { bottom: 12px; right: 12px; }

/* Edge labels are positioned relative to the FRAME, not the pad —
   so they live in the reserved padding outside the clipped pad. */
.mood-edge {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
}
.mood-edge.top {
  top: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}
.mood-edge.bottom {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.mood-edge.left {
  left: 0;
  top: 50%;
  transform: translate(50%, -50%) rotate(-90deg);
  transform-origin: center;
}
.mood-edge.right {
  right: 0;
  top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
}

.mood-aura {
  position: absolute;
  width: 280px; height: 280px;
  margin-left: -140px; margin-top: -140px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(16px);
  transition: background .4s;
}

.mood-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mood-handle {
  position: absolute;
  width: 64px; height: 64px;
  margin-left: -32px; margin-top: -32px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--paper);
  box-shadow:
    0 8px 20px -6px rgba(26,26,26,0.35),
    0 0 0 1px rgba(26,26,26,0.1);
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  pointer-events: none;
  transition: background .3s, width .2s, height .2s;
}
.mood-handle-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mood-handle-inner span {
  position: relative;
  z-index: 2;
}
.mood-handle-pulse {
  position: absolute;
  inset: -10px;
  border: 2px solid;
  border-radius: 50%;
  opacity: 0;
  animation: moodPulse 2.2s ease-out infinite;
}
@keyframes moodPulse {
  0%   { transform: scale(0.8); opacity: 0.7; }
  80%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
.mood-pad.is-dragging .mood-handle {
  width: 72px; height: 72px;
  margin-left: -36px; margin-top: -36px;
}

.mood-coord {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  padding: 3px 8px;
  transform: translate(-50%, calc(-50% - 52px));
  pointer-events: none;
  white-space: nowrap;
  border-radius: 2px;
}

/* Presets */
.mood-presets {
  max-width: 596px;
  margin: 0 auto;
  width: 100%;
  padding: 8px 38px 0;
  border-top: 1px solid var(--rule);
}
.mood-presets-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-bottom: 10px;
  padding-top: 14px;
}
.mood-presets-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mood-preset {
  padding: 7px 12px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.5);
  font-family: var(--jp);
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s;
}
.mood-preset:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Hint */
.mood-hint {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dotted var(--rule);
  font-family: var(--jp);
  font-size: 11px;
  color: var(--ink-faint);
  line-height: 1.8;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.mood-hint .mono {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--herb-deep);
  flex-shrink: 0;
  padding-top: 2px;
}
.mood-readout {
  padding: 32px;
  border: 1px solid var(--rule-strong);
  background: rgba(255,255,255,0.4);
}
.mood-readout h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin: 0 0 18px;
  font-weight: 400;
}
.mood-state {
  font-family: var(--jp);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.4;
}
.mood-state em { color: var(--herb-deep); }
.mood-state-en {
  font-family: var(--en);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.mood-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.mood-spec-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.mood-spec-val {
  font-family: var(--en);
  font-style: italic;
  font-size: 26px;
  color: var(--herb-deep);
  font-weight: 500;
}
.mood-spec-val small {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  margin-left: 3px;
  color: var(--ink-soft);
}
.mood-suggest {
  margin-top: 22px;
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.mood-pills {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.mood-pill {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 6px 12px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mood-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
}

/* =========================================================
   Season Recipes
   ========================================================= */
.sr-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: 48px;
}
.sr-tab {
  padding: 24px 20px;
  text-align: left;
  background: transparent;
  border: none;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  font: inherit;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sr-tab:last-child { border-right: none; }
.sr-tab:hover { background: rgba(255,255,255,0.4); }
.sr-tab.is-active { background: var(--ink); color: var(--paper); }
.sr-tab-en {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}
.sr-tab.is-active .sr-tab-en { color: rgba(244,239,228,0.6); }
.sr-tab-jp {
  font-family: var(--jp);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}
.sr-tab-sub {
  font-family: var(--jp);
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.sr-tab.is-active .sr-tab-sub { color: rgba(244,239,228,0.7); }

.sr-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.sr-art {
  aspect-ratio: 4/5;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.sr-art svg { width: 100%; height: 100%; }
.sr-copy h3 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.4;
  margin: 0 0 16px;
}
.sr-copy > p {
  font-family: var(--jp);
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.sr-blend {
  border-top: 1px solid var(--rule-strong);
  padding-top: 24px;
}
.sr-blend-head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.sr-blend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.sr-ing {
  display: grid;
  grid-template-columns: 24px 60px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--rule);
}
.sr-ing .dot {
  width: 14px; height: 14px; border-radius: 50%;
}
.sr-ing-kind {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.sr-ing-name {
  font-family: var(--jp);
  font-size: 14px;
  color: var(--ink-2);
}

/* =========================================================
   Plan Table
   ========================================================= */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan-card {
  border: 1px solid var(--rule-strong);
  padding: 44px 36px;
  background: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(26,26,26,0.2);
}
.plan-card.is-featured {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.plan-card.is-featured em { color: #c4aa6c; }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 36px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  padding: 6px 14px;
  background: var(--paper);
  color: var(--herb-deep);
  border: 1px solid var(--herb-deep);
}
.plan-kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.plan-card.is-featured .plan-kind { color: rgba(244,239,228,0.6); }
.plan-name {
  font-family: var(--jp);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.3;
}
.plan-name-en {
  font-family: var(--en);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.plan-card.is-featured .plan-name-en { color: rgba(244,239,228,0.5); }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}
.plan-card.is-featured .plan-price {
  border-color: rgba(244,239,228,0.2);
}
.plan-price-val {
  font-family: var(--en);
  font-style: italic;
  font-size: 48px;
  font-weight: 500;
  color: inherit;
  line-height: 1;
}
.plan-price-val::before {
  content: "¥";
  font-size: 22px;
  margin-right: 4px;
  color: var(--ink-faint);
}
.plan-card.is-featured .plan-price-val::before { color: rgba(244,239,228,0.5); }
.plan-price-unit {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.plan-card.is-featured .plan-price-unit { color: rgba(244,239,228,0.6); }
.plan-desc {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.plan-card.is-featured .plan-desc { color: rgba(244,239,228,0.75); }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan-features li {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
}
.plan-card.is-featured .plan-features li { color: rgba(244,239,228,0.9); }
.plan-features li::before {
  content: "—";
  color: var(--herb-deep);
  font-family: var(--mono);
}
.plan-card.is-featured .plan-features li::before { color: #c4aa6c; }
.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--jp);
  font-size: 13px;
  letter-spacing: 0.08em;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all .25s;
}
.plan-cta:hover { background: var(--ink); color: var(--paper); }
.plan-card.is-featured .plan-cta {
  border-color: var(--paper);
  color: var(--paper);
  background: transparent;
}
.plan-card.is-featured .plan-cta:hover {
  background: var(--paper);
  color: var(--ink);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { background: var(--paper-2); }

.faq-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 120px;
  padding-right: 24px;
  border-right: 1px solid var(--rule);
}
.faq-aside-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-strong);
}
.faq-toc {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-toc a {
  display: block;
  padding: 10px 0;
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  border-bottom: 1px dotted var(--rule);
  transition: color .2s, padding-left .2s;
}
.faq-toc a:hover {
  color: var(--herb-deep);
  padding-left: 6px;
}
.faq-aside-note {
  font-family: var(--jp);
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-soft);
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.faq-aside-note a {
  color: var(--herb-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--herb-deep);
}
.faq-aside-note a:hover { color: var(--solid); border-bottom-color: var(--solid); }

.faq-cat {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}
.faq-cat:last-child { margin-bottom: 0; }

.faq-cat-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--rule-strong);
}
.faq-cat-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}
.faq-cat-t {
  font-family: var(--jp);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.faq-cat-en {
  font-family: var(--en);
  font-size: 16px;
  color: var(--ink-faint);
  margin-left: auto;
}
.faq-cat-en em { color: var(--ink-faint); }

.faq-item {
  border-bottom: 1px solid var(--rule);
  transition: background .25s;
}
.faq-item[open] { background: rgba(255,255,255,0.4); }

.faq-item summary {
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  gap: 18px;
  align-items: center;
  padding: 22px 20px 22px 4px;
  cursor: pointer;
  list-style: none;
  transition: padding .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary:hover { padding-left: 10px; }

.faq-q-n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}
.faq-q-t {
  font-family: var(--jp);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.faq-q-x {
  width: 24px;
  height: 24px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1;
  padding-bottom: 2px;
  transition: transform .3s, background .25s, color .25s, border-color .25s;
  flex-shrink: 0;
}
.faq-item[open] .faq-q-x {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.faq-a {
  grid-column: 2;
  padding: 0 44px 26px 74px;
  font-family: var(--jp);
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 68ch;
  text-wrap: pretty;
  animation: faqFade .35s ease;
}
.faq-a em {
  color: var(--herb-deep);
  font-family: var(--jp);
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(transparent 65%, rgba(196,170,108,0.3) 65%);
  padding: 0 2px;
}
.faq-a a {
  color: var(--herb-deep);
  border-bottom: 1px solid var(--herb-deep);
}
.faq-a a:hover { color: var(--solid); border-bottom-color: var(--solid); }

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Screen-reader only (SEO & a11y) ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 56px;
  padding: 16px 0 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px -10px rgba(26,26,26,0.25);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease, background .25s, color .25s, border-color .25s;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top::before,
.back-to-top::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--rule);
}
.back-to-top::before { top: 4px; }
.back-to-top::after  { bottom: 4px; }
.back-to-top svg {
  transition: transform .3s ease;
  color: var(--herb-deep);
}
.back-to-top .btt-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}
.back-to-top .btt-jp {
  font-family: var(--jp);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  writing-mode: vertical-rl;
  line-height: 1;
  padding: 2px 0;
  border-top: 1px solid var(--rule);
}
.back-to-top:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.back-to-top:hover svg { color: #c4aa6c; transform: translateY(-3px); }
.back-to-top:hover .btt-label { color: rgba(244,239,228,0.6); }
.back-to-top:hover .btt-jp {
  color: var(--paper);
  border-top-color: rgba(244,239,228,0.2);
}

@media (max-width: 720px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    padding: 12px 0 10px;
  }
  .back-to-top .btt-jp { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-specimen { display: none; }
  .hero-meta { max-width: 240px; }
  .concept-grid,
  .herb-intro-grid,
  .story-chapter,
  .mood-wrap,
  .sr-panel,
  .rb-grid { grid-template-columns: 1fr; gap: 40px; }
  .mood-pad-frame { max-width: 460px; padding: 30px 34px; }
  .mood-presets { padding: 8px 34px 0; }
  .story-ch-meta, .story-ch-fig { position: static; }
  .rb-canvas { position: static; }
  .four-grid,
  .three-pillars,
  .experience-grid,
  .story-recipes,
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .evidence-list { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-aside { position: static; border-right: none; border-bottom: 1px solid var(--rule); padding-right: 0; padding-bottom: 24px; }
  .faq-toc { margin-bottom: 24px; }
}
@media (max-width: 720px) {
  .container { padding: 0 24px; }
  .site-header { padding: 16px 24px; }
  .site-nav { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .empathy-row { grid-template-columns: 60px 1fr; }
  .empathy-en { grid-column: 2; }
  .four-grid,
  .three-pillars,
  .experience-grid,
  .story-recipes,
  .plan-grid,
  .evidence-list,
  .foot-grid { grid-template-columns: 1fr; }
  .dx-card { padding: 32px 24px; }
  .dx-result { grid-template-columns: 1fr; }
  .sr-tabs { grid-template-columns: 1fr 1fr; }
  .sr-tab { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .hero-ing { flex-wrap: wrap; gap: 14px; }
  h1 .ln:first-child { padding-left: 32px; }
  h1 .ln:first-child::before { width: 20px; }
  .hero-elements { padding: 8px 12px; gap: 2px; }
  .hero-el { font-size: 13px; padding: 3px 6px; gap: 6px; }
  .hero-sub { font-size: 16px; padding-left: 18px; }
  .foot-bottom { flex-direction: column; }
  .faq-cat-head { flex-wrap: wrap; gap: 8px 14px; }
  .faq-cat-en { margin-left: 0; font-size: 14px; }
  .faq-item summary { grid-template-columns: 44px 1fr 22px; gap: 12px; padding: 18px 0; }
  .faq-q-t { font-size: 14px; }
  .faq-a { padding: 0 0 22px 56px; font-size: 13px; }
}
