/* =====================================================================
   THE LANE LEDGER — Chicken Road observation journal, v5
   Стиль "Japanese minimalism / washi notebook": прохладная васи-бумага,
   тончайшие hairline-линии (1px), тушь-чёрный, индиго-акцент + редкий
   хурмяный штамп-ханко, вертикальные надписи writing-mode, крупные serif
   цифры. Типографика: Zen Old Mincho (заголовки) + Zen Kaku Gothic New
   (текст). Тон: спокойный аналитический журнал наблюдений.
   ===================================================================== */

:root {
  --washi: #F7F5F0;
  --washi-hi: #FDFCF9;
  --ink: #1F1E1B;
  --muted: #7E7A6F;
  --hairline: #DAD5C9;
  --hairline-lo: #E7E3D8;
  --ai: #37537A;          /* индиго */
  --ai-deep: #2A3F5C;
  --persimmon: #C46242;   /* хурма: штампы и мелкие пометки */
  --font-display: "Zen Old Mincho", "Georgia", serif;
  --font-body: "Zen Kaku Gothic New", "Segoe UI", system-ui, sans-serif;
  --measure: 66ch;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E"),
    var(--washi);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16.5px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--ai-deep); text-decoration: none; border-bottom: 1px solid var(--hairline); }
a:hover { color: var(--persimmon); border-bottom-color: currentColor; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
h2 { font-size: clamp(1.65rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.18rem; line-height: 1.4; }

.wrap { width: min(1080px, 92vw); margin: 0 auto; }
.narrow { width: min(740px, 92vw); margin: 0 auto; }

.section-pad { padding: clamp(56px, 9vw, 110px) 0; }

/* этикетка-киндзя: вертикальная мини-надпись рядом с заголовком */
.kanji-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.kanji-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ink);
}

/* штамп-ханко */
.hanko {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--persimmon);
  border-radius: 6px;
  color: var(--persimmon);
  font-size: 0.9rem;
  transform: rotate(-3deg);
}

/* разделитель: одна линия с ромбом */
.rule {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rule::before, .rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.rule::before { background: var(--hairline); }
.rule i {
  font-style: normal;
  font-size: 0.6rem;
  color: var(--persimmon);
}

/* ============================ TICKER ============================ */
.ticker {
  height: 34px;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--washi);
  white-space: nowrap;
}
.ticker__track { display: inline-flex; animation: roll 56s linear infinite; }
.ticker__track span { padding: 0 34px; position: relative; }
.ticker__track span::after { content: "—"; position: absolute; right: 2px; color: var(--hairline); opacity: 0.5; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  width: min(1280px, 96vw);
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); border-bottom: 0; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand__seal {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  font-size: 1.15rem;
  border: 1.5px solid var(--persimmon);
  border-radius: 7px;
  color: var(--persimmon);
  transform: rotate(-3deg);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.brand__name i { font-style: italic; color: var(--ai); }
.brand__sub {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding: 6px 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--persimmon); }

.burger {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--ink);
}

/* переключатель языков EN/DE/PT */
.lang-switch {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.lang-switch button {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lang-switch button:hover { color: var(--ink); border-color: var(--ink); }
.lang-switch button.is-active {
  background: var(--ai);
  border-color: var(--ai);
  color: var(--washi-hi);
}
.lang-switch--drawer {
  margin: 18px 0 6px;
  align-self: flex-start;
}

/* левый drawer */
.ldrawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.ldrawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(31, 30, 27, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ldrawer__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(330px, 82vw);
  background: var(--washi-hi);
  border-right: 1px solid var(--hairline);
  padding: 30px 30px 40px;
  transform: translateX(-104%);
  transition: transform 0.34s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.ldrawer.is-open { pointer-events: auto; }
.ldrawer.is-open .ldrawer__backdrop { opacity: 1; }
.ldrawer.is-open .ldrawer__panel { transform: translateX(0); }
.ldrawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.ldrawer__top h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.ldrawer__top button {
  width: 40px; height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
}
.ldrawer__panel a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--ink);
  padding: 13px 2px;
  border-bottom: 1px solid var(--hairline-lo);
}
.ldrawer__panel a:hover { color: var(--persimmon); }
.ldrawer__vertical {
  margin-top: auto;
  writing-mode: vertical-rl;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
  padding-top: 30px;
}

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--washi); border-color: var(--ink); }
.btn--ai { border-color: var(--ai); color: var(--ai-deep); }
.btn--ai:hover { background: var(--ai); border-color: var(--ai); color: var(--washi-hi); }
.btn--quiet { border-color: var(--hairline); color: var(--muted); }
.btn--quiet:hover { border-color: var(--ink); color: var(--ink); background: var(--washi-hi); }
.btn--sm { padding: 9px 18px; font-size: 0.74rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ============================ HERO ============================ */
.hero {
  border-bottom: 1px solid var(--hairline);
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(30px, 6vw, 70px);
}
.hero .kanji-label { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  margin-bottom: 24px;
  max-width: 20ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--ai);
}
.hero__lede {
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__side {
  display: flex;
  gap: 18px;
  align-items: stretch;
  justify-content: flex-end;
}
.hero__motto {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  color: var(--ink);
  border-left: 1px solid var(--hairline);
  padding-left: 18px;
  white-space: nowrap;
}
.hero__motto b {
  color: var(--persimmon);
  font-weight: 600;
}
.hero__figurecol {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero__sealrow {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__sealrow .hanko { flex: 0 0 40px; width: 40px; height: 40px; }
.hero__sealrow small {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* фото: тонкая рамка с полями */
.print-frame {
  background: var(--washi-hi);
  border: 1px solid var(--hairline);
  padding: 10px;
  box-shadow: 0 1px 0 var(--hairline);
}
.print-frame img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.97);
  background: linear-gradient(150deg, var(--hairline-lo), var(--ai) 160%);
  min-height: 300px;
}
.print-frame figcaption {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 2px 2px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.print-frame--narrow { max-width: none; }
.print-frame--narrow img { height: 340px; min-height: 340px; }

/* ============================ TIMELINE (hero interactive) ============================ */
.timeline-band {
  border-bottom: 1px solid var(--hairline);
  padding: clamp(40px, 6vw, 64px) 0;
  background: var(--washi-hi);
}
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.tp-lede { color: var(--muted); margin: 14px 0 26px; }
.tp-facts { display: grid; gap: 14px; }
.tp-fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
}
.tp-fact b {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ai);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tp-fact span { font-size: 0.92rem; color: var(--muted); }

/* вертикальный таймлайн */
.tl {
  position: relative;
  padding-left: 34px;
  list-style: none;
}
.tl::before {
  content: "";
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--hairline);
}
.tl-node { position: relative; padding: 7px 0 17px; }
.tl-node::before {
  content: "";
  position: absolute;
  left: -30px; top: 14px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--washi-hi);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.tl-node.is-passed::before { background: var(--ai); border-color: var(--ai); }
.tl-node.is-crash::before {
  background: var(--persimmon);
  border-color: var(--persimmon);
  box-shadow: 0 0 0 4px rgba(196, 98, 66, 0.18);
}
.tl-node small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.tl-node .tl-score {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ai);
  font-variant-numeric: tabular-nums;
}
.tl-node.is-crash .tl-score { color: var(--persimmon); }
.tl-controls { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.tl-msg {
  min-height: 2.6em;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 16px 0 14px;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--ai);
  background: var(--washi);
}
.tl-note {
  margin-top: 14px;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================ CHECKLIST ============================ */
.check-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.check-list { display: grid; gap: 4px; }
.chk {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 6px;
  border-bottom: 1px solid var(--hairline-lo);
  cursor: pointer;
  transition: background 0.2s ease;
}
.chk:first-child { border-top: 1px solid var(--hairline-lo); }
.chk:hover { background: var(--washi-hi); }
.chk input { display: none; }
.chk .enso {
  flex: 0 0 26px;
  width: 26px; height: 26px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: transparent;
  margin-top: 3px;
  transition: all 0.2s ease;
}
.chk input:checked ~ .enso {
  border-color: var(--ai);
  background: var(--ai);
  color: var(--washi-hi);
}
.chk .chk-txt strong { display: block; font-weight: 600; font-size: 0.97rem; }
.chk .chk-txt span { font-size: 0.84rem; color: var(--muted); }

.check-card {
  border: 1px solid var(--hairline);
  background: var(--washi-hi);
  padding: 30px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  text-align: center;
}
.check-card .hanko { margin-bottom: 18px; }
.check-card__count {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--ai);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.check-card__of { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.check-card__verdict {
  margin: 18px 0 22px;
  font-size: 0.94rem;
  color: var(--ink);
  min-height: 4.2em;
}
.check-card .rule { margin-bottom: 18px; }

/* ============================ STATS ============================ */
.stats-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--washi);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: clamp(30px, 4.5vw, 52px) clamp(18px, 3vw, 34px);
  border-left: 1px solid var(--hairline);
}
.stat-cell:first-child { border-left: 0; }
.stat-cell__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-cell__num i { font-style: italic; color: var(--persimmon); }
.stat-cell__label {
  margin-top: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================ EDITORIAL GRID (what is) ============================ */
.editorial {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: stretch;
}
.ed-main {
  border-top: 1px solid var(--ink);
  padding-top: 26px;
}
.ed-main .ed-kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.ed-main .ed-kicker b {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--persimmon);
  font-weight: 600;
}
.ed-main h3 { margin-bottom: 12px; font-size: 1.5rem; }
.ed-main p { color: var(--muted); font-size: 0.97rem; max-width: 60ch; }
.ed-side {
  border-top: 1px solid var(--hairline);
  padding-top: 26px;
  display: grid;
  gap: 34px;
  align-content: start;
}
.ed-side h3 { font-size: 1.18rem; margin-bottom: 10px; }
.ed-side p { color: var(--muted); font-size: 0.93rem; }

/* ============================ TIPS (staggered) ============================ */
.tip-stagger { display: grid; gap: 30px; }
.tip-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  max-width: 720px;
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
}
.tip-note:nth-child(odd) { margin-left: 0; }
.tip-note:nth-child(even) { margin-left: auto; border-top-color: var(--ink); }
.tip-note__no {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--hairline);
  line-height: 1;
}
.tip-note:nth-child(even) .tip-note__no { color: var(--persimmon); }
.tip-note h3 { display: flex; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.tip-note p { color: var(--muted); font-size: 0.95rem; max-width: 62ch; }

/* ============================ MODE TABLE (hairline) ============================ */
.h_table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--washi-hi); }
.h_table th {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ink);
}
.h_table td {
  padding: 18px;
  border-bottom: 1px solid var(--hairline);
  color: var(--muted);
  vertical-align: top;
}
.h_table td:first-child {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  white-space: nowrap;
}
.h_table tr:hover td { background: var(--washi); color: var(--ink); }
.h_level {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--washi-hi);
  background: var(--ai);
  border-radius: 2px;
  padding: 3px 10px;
  margin-right: 9px;
  vertical-align: 2px;
}
.h_level--medium { background: var(--muted); }
.h_level--hard { background: var(--ai-deep); }
.h_level--hardcore { background: var(--persimmon); }
.h_note {
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 2px solid var(--persimmon);
  padding: 4px 0 4px 16px;
  max-width: 640px;
}

/* ============================ FAQ ============================ */
.acc { border-bottom: 1px solid var(--hairline); }
.acc__head {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 20px 2px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}
.acc__head:hover .acc-mark { color: var(--persimmon); }
.acc-mark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ai);
  transition: transform 0.25s ease;
  line-height: 1;
}
.acc.is-open .acc-mark { transform: rotate(45deg); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.acc__body-in {
  padding: 0 2px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 74ch;
}

/* ============================ BADGES ============================ */
.bdg-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline);
  background: var(--washi-hi);
}
.bdg {
  padding: 26px 22px;
  border-left: 1px solid var(--hairline);
  text-align: center;
}
.bdg:first-child { border-left: 0; }
.bdg .b-ico { font-size: 1.4rem; display: block; margin-bottom: 10px; }
.bdg b {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bdg span { font-size: 0.8rem; color: var(--muted); }

/* ============================ CTA ============================ */
.cta-quiet {
  border-top: 1px solid var(--hairline);
  padding: clamp(48px, 7vw, 84px) 0;
  text-align: center;
}
.cta-quiet h2 { max-width: 24ch; margin: 0 auto 16px; }
.cta-quiet h2 em { font-style: italic; color: var(--ai); }
.cta-quiet p { color: var(--muted); max-width: 54ch; margin: 0 auto 30px; }

/* ============================ FOOTER ============================ */
.site-footer {
  border-top: 1px solid var(--ink);
  padding: clamp(46px, 6vw, 72px) 0 26px;
  font-size: 0.9rem;
  background: var(--washi-hi);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-brand p { color: var(--muted); margin: 14px 0 20px; max-width: 36ch; }
.site-footer h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer ul a { font-size: 0.88rem; }
.foot-disclaimer {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.9;
}
.foot-bottom {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================ COOKIE ============================ */
.cookie-strip {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--washi);
  transform: translateY(110%);
  transition: transform 0.45s ease;
}
.cookie-strip.is-visible { transform: translateY(0); }
.cookie-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.cookie-strip h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-strip h4::before {
  content: "🍗";
  font-size: 0.95rem;
}
.cookie-strip p { font-size: 0.83rem; color: var(--hairline); max-width: 62ch; }
.cookie-strip a { color: var(--washi); border-bottom-color: var(--hairline); font-size: 0.8rem; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-strip .btn { border-color: var(--hairline); color: var(--washi); padding: 10px 18px; }
.cookie-strip .btn:hover { background: var(--washi); color: var(--ink); }

/* ============================ SUBPAGE HEADS & PROSE ============================ */
.page-head {
  border-bottom: 1px solid var(--hairline);
  padding: clamp(44px, 6vw, 80px) 0 clamp(30px, 4vw, 44px);
}
.page-head h1 { font-size: clamp(2.1rem, 4.8vw, 3.2rem); margin-bottom: 16px; max-width: 22ch; }
.page-head .lede { color: var(--muted); max-width: 60ch; }

.prose h2 { margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 15px; color: #4B483F; max-width: 74ch; }
.prose ul, .prose ol { margin: 0 0 18px 24px; display: grid; gap: 9px; color: #4B483F; max-width: 72ch; }
.prose li::marker { color: var(--persimmon); }

.brush-list { list-style: none; border-left: 1px solid var(--hairline); display: grid; gap: 0; margin: 24px 0; }
.brush-list li { position: relative; padding: 6px 0 24px 28px; }
.brush-list li::before {
  content: "";
  position: absolute;
  left: -5.5px; top: 14px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--washi-hi);
  border: 1.5px solid var(--ai);
}
.brush-list b { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.brush-list p { color: var(--muted); font-size: 0.93rem; margin: 0; max-width: 66ch; }

.note-brush {
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--ai);
  background: var(--washi-hi);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.94rem;
  color: #4B483F;
  max-width: 70ch;
}
.note-brush::before {
  content: "✒️ ";
}

.seal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
.seal-card {
  border: 1px solid var(--hairline);
  background: var(--washi-hi);
  padding: 22px 24px;
  position: relative;
}
.seal-card::after {
  content: "印";
  position: absolute;
  top: 18px; right: 18px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--persimmon);
  border-radius: 5px;
  color: var(--persimmon);
  font-size: 0.8rem;
  transform: rotate(-3deg);
  opacity: 0.85;
}
.seal-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.seal-card p { color: var(--muted); font-size: 0.92rem; }

.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.side-sheet {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--hairline);
  background: var(--washi-hi);
  padding: 24px 26px;
  font-size: 0.9rem;
}
.side-sheet h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 12px; }
.side-sheet ul { list-style: none; display: grid; gap: 9px; }
.side-sheet .sheet-note { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.82rem; }

.gloss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 26px 0;
}
.gloss-card {
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--ai);
  background: var(--washi-hi);
  padding: 18px 20px;
}
.gloss-card dt { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 6px; }
.gloss-card dd { color: var(--muted); font-size: 0.87rem; }

/* ============================ FORM ============================ */
.form-paper {
  background: var(--washi-hi);
  border: 1px solid var(--hairline);
  padding: clamp(26px, 4vw, 40px);
}
.f-row { margin-bottom: 20px; }
.f-row label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.f-row input, .f-row select, .f-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--washi);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 13px 15px;
}
.f-row input:focus, .f-row select:focus, .f-row textarea:focus {
  outline: none;
  border-color: var(--ai);
  background: var(--washi-hi);
}
.f-row .f-err { display: none; margin-top: 7px; font-size: 0.8rem; color: var(--persimmon); }
.f-row.is-bad input, .f-row.is-bad textarea, .f-row.is-bad select { border-color: var(--persimmon); }
.f-row.is-bad .f-err { display: block; }
.f-status {
  display: none;
  margin-top: 20px;
  border: 1px solid var(--ai);
  background: var(--ai);
  color: var(--washi-hi);
  padding: 14px 18px;
  font-size: 0.9rem;
}
.f-status.is-live { display: block; }

.legal h2 { font-size: 1.45rem; }
.legal p { font-size: 0.95rem; color: #4B483F; }
code { font-family: inherit; font-size: 0.88em; background: var(--hairline-lo); border-radius: 2px; padding: 2px 7px; color: var(--ai-deep); }

/* ============================ REVEAL ============================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1240px) {
  .brand__sub { display: none; }
}

@media (max-width: 1340px) {
  .nav { gap: 14px; }
  .nav a { font-size: 0.7rem; letter-spacing: 0.1em; }
  .site-header .wrap { gap: 18px; }
}

@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__side { justify-content: flex-start; }
  .hero__figurecol { flex: 0 1 420px; }
  .timeline-grid { grid-template-columns: 1fr; }
  .check-wrap { grid-template-columns: 1fr; }
  .check-card { position: static; }
  .editorial { grid-template-columns: 1fr; }
  .ed-side { border-top: 1px solid var(--hairline); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(3) { border-left: 0; }
  .stat-cell { border-top: 1px solid var(--hairline); }
  .stat-cell:nth-child(-n+2) { border-top: 0; }
  .bdg-band { grid-template-columns: 1fr 1fr; }
  .bdg:nth-child(3) { border-left: 0; }
  .bdg { border-top: 1px solid var(--hairline); }
  .bdg:nth-child(-n+2) { border-top: 0; }
  .two-col { grid-template-columns: 1fr; }
  .side-sheet { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero__side { flex-direction: row; }
  .tp-fact { grid-template-columns: 1fr; gap: 4px; align-items: start; }
  .tp-fact b { white-space: normal; }
  .hero__motto { display: none; }
  .seal-list { grid-template-columns: 1fr; }
  .h_table-wrap { overflow-x: auto; }
  .h_table { min-width: 600px; }
  .bdg-band { grid-template-columns: 1fr; }
  .bdg { border-left: 0; border-top: 1px solid var(--hairline); }
  .bdg:first-child { border-top: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-cell { border-left: 0; border-top: 1px solid var(--hairline); }
  .stat-cell:first-child { border-top: 0; }
  .tip-note { grid-template-columns: 44px 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie-strip .wrap { padding: 14px 0; }
}
@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .site-header { --header-h: 62px; }
  .site-header .lang-switch { display: none; }
  .brand__seal { width: 34px; height: 34px; font-size: 1rem; }
  .brand__name { font-size: 1.05rem; }
  .hero__sealrow small { display: none; }
  .hero__figurecol { flex: 1 1 auto; }
}
