/* =========================================================
   ほの — 目を休めるリズム / a place to rest the eyes
   Direction: the screen's blue light (tension) gives way to a
   restful green space lit by one faint warm light (ほの = a
   faint glow). The whole site is the "far green" you look at
   to rest your eyes — the real 20-20-20 eye-care guideline made
   into an environment. The day's screen-time travels as an arc:
   朝の光 → 昼の集中 → 夕の減光 → 夜の就寝.

   Signature: 「目休めのリズム」— a three-beat rest clock reading
   20分 / 20秒 / 20フィート, that softly dims the cool screen-blue
   into warm light once per cycle. A rhythm, not a level filling up.

   Palette — restful green ground (~135°, yellow-leaning) + a small
   warm clay glow (ほの) + cool slate confined to the signature.
   Deliberately NOT:
     · cream + mincho + terracotta            (AI default #1)
     · near-black + single acid accent        (AI default #2)
     · broadsheet hairline columns            (AI default #3)
     · purple / periwinkle                    (うるか・hsp)
     · honey-amber identity / dark warm room  (site18 / site01)
     · coral / pink                           (site16 ぽかぽか手帖)
     · teal / cyan (~190°)                     (site17 ひんやり手帖)
     · 明朝 / 丸ゴシック / 手書き display       (sister faces)
   ========================================================= */

:root {
  /* Rest — the soft eucalyptus room, the far green */
  --rest: #EAF0E7;
  --rest-deep: #DDE6D8;
  --card: #F3F6F1;
  --leaf-line: rgba(46, 58, 44, 0.12);
  --leaf-wash: rgba(94, 115, 85, 0.10);

  /* Moss / sage — the green ink */
  /* a11y: --moss #2E3A2C = 10.31:1 on --rest — headings & body emphasis */
  --moss: #2E3A2C;
  /* a11y: --body #3A4A38 = 8.17:1 on --rest — body text */
  --body: #3A4A38;
  /* a11y: --sage #4C6043 = 5.92:1 on --rest, 5.35:1 on --rest-deep — labels/secondary */
  --sage: #4C6043;
  --sage-soft: #5E7355;

  /* Hono — the one faint warm light (clay). The brand accent, used small. */
  /* a11y: --hono #A8531F = 4.62:1 on --rest — warm text/links/eyebrow */
  --hono: #A8531F;
  /* a11y: white on --hono-cta #9C4D1C = 6.01:1 — CTA bg / PR tag bg */
  --hono-cta: #9C4D1C;
  --hono-deep: #843E12;
  /* lighter clay for decoration only (glows, active dots) — never carries text */
  --hono-glow: #D08A4A;
  --hono-wash: rgba(168, 83, 31, 0.12);

  /* Slate — the screen's cool blue. SIGNATURE ONLY (rest-clock dim state). */
  /* a11y: --slate #4A5A68 = 5.92:1 on --rest */
  --slate: #4A5A68;
  --slate-soft: #7E8C98;

  /* Shadow — soft, green-shadowed, low */
  --shadow-soft: 0 10px 32px rgba(46, 58, 44, 0.09);
  --shadow-lift: 0 20px 48px rgba(46, 58, 44, 0.15);
  --shadow-hono: 0 12px 28px rgba(132, 62, 18, 0.20);

  /* Type — Zen Kaku Gothic Antique (humanist gothic display, antique warmth),
     Murecho (warm humanist body sans), Red Hat Mono (Latin numerals only) */
  --font-display: 'Zen Kaku Gothic Antique', 'Hiragino Sans', system-ui, sans-serif;
  --font-sans: 'Murecho', 'Hiragino Sans', system-ui, sans-serif;
  /* Red Hat Mono is Latin-only — JP glyphs in mono-styled elements fall to Murecho (controlled), not an uncontrolled system font */
  --font-mono: 'Red Hat Mono', 'SFMono-Regular', ui-monospace, 'Murecho', 'Hiragino Sans', monospace;

  /* Radius — soft, leaf-rounded */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --radius-pill: 999px;

  /* Rhythm */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.75rem;
  --space-l: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --measure: 34rem;
  --container-max: 72rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rest);
  /* a soft far-green field with one faint warm light, top-right */
  background-image:
    radial-gradient(120% 70% at 92% -8%, rgba(208, 138, 74, 0.10) 0%, transparent 48%),
    radial-gradient(95% 60% at 6% 4%, rgba(94, 115, 85, 0.16) 0%, transparent 52%);
  background-attachment: fixed;
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--hono);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover { color: var(--hono-deep); }

::selection { background: var(--hono-cta); color: #fff; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .product:hover, .lane-figure:hover img, .btn:hover,
  .amazon-link:hover, .reading-list a:hover { transform: none !important; }
  .restclock { animation: none !important; }
  .restclock-screen { background: var(--rest-deep) !important; }
}

/* ============ Focus ============ */
:focus-visible {
  outline: 2.5px solid var(--hono-cta);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--moss);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 var(--radius-s) 0;
  z-index: 300;
}
.skip-link:focus { left: 0; color: #fff; }

/* ============ Layout primitives ============ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: 46rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--hono);
  margin: 0 0 0.9rem;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.42;
  letter-spacing: 0.02em;
  color: var(--moss);
  margin: 0 0 1.2rem;
}
.section-title.small { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }

.section-lead {
  color: var(--sage);
  max-width: var(--measure);
  margin: 0 0 2.2rem;
}

.section { padding: var(--space-2xl) 0; }

/* signature mini-mark — a leaf-tip pause rule (far-green pause between lanes) */
.leaf-rule {
  display: block;
  position: relative;
  width: 3px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--sage-soft) 0%, var(--sage-soft) 42%, var(--hono-glow) 42%, var(--hono) 100%);
  opacity: 0.85;
}
.leaf-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px 10px 2px 10px;
  background: var(--hono-glow);
  box-shadow: 0 0 9px rgba(208, 138, 74, 0.55);
}

/* ============ Compliance bar (ファーストビュー上部・ステマ規制) ============ */
.compliance-bar {
  background: var(--moss);
  color: #E8EEE4;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
}
.compliance-bar strong {
  display: inline-block;
  background: var(--hono-cta);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.05rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-right: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

/* ============ Mobile rest-arc bar (signature carrier when rail is hidden) ============ */
.dbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 99;
  height: 3px;
  background: var(--rest-deep);
}
.dbar-fill {
  height: 100%;
  width: 8%;
  /* morning light → focus → evening dim → night: green into a warm dusk */
  background: linear-gradient(90deg, var(--slate) 0%, var(--sage-soft) 40%, var(--hono-glow) 78%, var(--hono) 100%);
  background-size: 260% 100%;
  background-position: 0 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-position 0.5s ease;
  box-shadow: 0 0 10px rgba(208, 138, 74, 0.45);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(234, 240, 231, 0.84);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--leaf-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.logo { display: flex; align-items: center; gap: 0.7rem; color: var(--moss); }
/* logo mark — a small warm light easing out of a cool screen (the brand thesis) */
.logo-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 8px;
  background: radial-gradient(circle at 64% 60%, var(--hono-glow) 0%, var(--hono) 38%, var(--slate) 100%);
  flex: none;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 0 4px 12px rgba(168, 83, 31, 0.22);
  font-size: 0; /* hide fallback char, keep for SR */
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  display: block;
  line-height: 1.2;
  color: var(--moss);
}
.logo-tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--sage);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a {
  color: var(--body);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  position: relative;
  padding: 0.2rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  border-radius: var(--radius-pill);
  background: var(--hono);
  transition: width 0.28s ease;
}
.nav a:hover { color: var(--hono); }
.nav a:hover::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--hono); }
.nav a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--leaf-line);
  background: transparent;
  border-radius: var(--radius-s);
  cursor: pointer;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  border-radius: var(--radius-pill);
  background: var(--moss);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-bars::before { transform: translate(-50%, -8px); }
.nav-toggle-bars::after { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ============ Hero — rest clock + headline ============ */
.hero {
  position: relative;
  padding: clamp(3.25rem, 6vw, 6rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  /* a soft green veil so text stays readable over the photo */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.hero-bg.is-loaded { opacity: 0.5; }
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hono);
  margin: 0 0 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}
.hero-eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--hono);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.05rem, 5.4vw, 3.5rem);
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--moss);
  margin: 0 0 1.6rem;
}
.hero-title .accent {
  color: var(--hono);
  position: relative;
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--sage);
  margin: 0 0 1.7rem;
}
.hero-sub b { color: var(--moss); font-weight: 700; }
.hero-lead {
  color: var(--body);
  max-width: 31rem;
  margin: 0 0 2.2rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary {
  background: var(--hono-cta);
  color: #fff;
  box-shadow: var(--shadow-hono);
}
.btn-primary:hover { background: var(--hono-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--sage-soft);
  color: var(--moss);
}
.btn-ghost:hover { border-color: var(--hono); color: var(--hono); transform: translateY(-2px); }

/* ----- The hero rest clock (CSS, no photo) — the signature ----- */
.hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
}
.restclock {
  position: relative;
  width: min(300px, 84%);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 120% at 30% 22%, rgba(243, 246, 241, 0.85), rgba(221, 230, 216, 0.55));
  border: 1px solid var(--leaf-line);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* the "screen" core that dims from cool slate → warm hono once per cycle */
.restclock-screen {
  position: relative;
  width: 38%;
  aspect-ratio: 1 / 1;
  border-radius: 26%;
  background: var(--slate);
  box-shadow: 0 0 0 6px rgba(74, 90, 104, 0.10), 0 8px 22px rgba(46, 58, 44, 0.18);
  animation: dim 9s ease-in-out infinite;
  display: grid;
  place-items: center;
}
@keyframes dim {
  0%, 22%   { background: var(--slate); box-shadow: 0 0 0 6px rgba(74,90,104,0.10), 0 8px 22px rgba(46,58,44,0.18); }
  55%, 78%  { background: var(--hono); box-shadow: 0 0 0 10px rgba(208,138,74,0.16), 0 0 30px rgba(208,138,74,0.45); }
  100%      { background: var(--slate); box-shadow: 0 0 0 6px rgba(74,90,104,0.10), 0 8px 22px rgba(46,58,44,0.18); }
}
.restclock-screen span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.9);
}
/* three orbiting beats: 20分 / 20秒 / 20フィート, set on a ring */
.restclock-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(94, 115, 85, 0.32);
}
.restclock-beat {
  position: absolute;
  top: 50%; left: 50%;
  --r: 41%;
  transform:
    rotate(var(--a))
    translateX(var(--r))
    rotate(calc(-1 * var(--a)));
  display: grid;
  justify-items: center;
  gap: 1px;
  text-align: center;
}
.restclock-beat .b-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--moss);
}
.restclock-beat .b-lab {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--sage);
}
.restclock-beat::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hono-glow);
  box-shadow: 0 0 8px rgba(208, 138, 74, 0.55);
  opacity: 0.4;
  animation: beatglow 9s ease-in-out infinite;
}
.restclock-beat.beat-2::before { animation-delay: 3s; }
.restclock-beat.beat-3::before { animation-delay: 6s; }
@keyframes beatglow {
  0%, 18%, 100% { opacity: 0.35; transform: translateX(-50%) scale(1); }
  9% { opacity: 1; transform: translateX(-50%) scale(1.3); }
}

/* ============ About intro ============ */
.about-intro .container { position: relative; }
.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin: 2.6rem 0 2.2rem;
}
.fact {
  background: var(--card);
  border: 1px solid var(--leaf-line);
  border-radius: var(--radius-m);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.fact-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--hono);
  margin: 0 0 0.5rem;
}
.fact-num small { font-size: 0.85rem; color: var(--sage); font-weight: 500; }
.fact-text {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--body);
  margin: 0;
}

.science-note {
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--sage);
  background: var(--leaf-wash);
  border-left: 3px solid var(--sage-soft);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 1.1rem 1.3rem;
  margin: 0;
}
.science-note strong { color: var(--moss); }

/* ============ Journal: chapter rail + alternating lanes ============ */
.journal { padding: var(--space-2xl) 0; }
.journal-inner {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2.5rem;
}
/* chapter rail = the day's screen-time arc; a soft light dot travels it */
.chapter-rail {
  position: sticky;
  top: 92px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 1.1rem;
}
.chapter-rail::before {
  /* the arc spine: morning slate → midday sage → dusk hono */
  content: "";
  position: absolute;
  left: 4px; top: 6px; bottom: 6px;
  width: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--slate) 0%, var(--sage-soft) 45%, var(--hono-glow) 80%, var(--hono) 100%);
  opacity: 0.5;
}
.chapter-link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.85rem 0;
  color: var(--sage);
}
.chapter-dot {
  position: absolute;
  left: -1.1rem;
  top: 1.15rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--rest);
  border: 2px solid var(--sage-soft);
  transition: all 0.3s ease;
}
.chapter-num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sage); /* AA: 5.92:1 on rest (was slate-soft 2.97) */
}
.chapter-name {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--body);
  transition: color 0.25s ease;
}
.chapter-link.is-active .chapter-name { color: var(--hono); font-weight: 700; }
.chapter-link.is-active .chapter-dot {
  background: var(--hono);
  border-color: var(--hono);
  box-shadow: 0 0 0 4px var(--hono-wash), 0 0 12px rgba(208,138,74,0.5);
}
.chapter-link:hover .chapter-name { color: var(--hono); }
.chapter-link.is-passed .chapter-dot { background: var(--hono-wash); border-color: var(--hono-glow); }

.lanes { display: flex; flex-direction: column; gap: var(--space-2xl); min-width: 0; }
.lane { scroll-margin-top: 100px; }

.lane-intro {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-areas: "text fig";
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
}
.lane--text-right .lane-intro { grid-template-columns: 0.82fr 1fr; grid-template-areas: "fig text"; }

.lane-meta {
  grid-area: text;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}
.lane-text-wrap { grid-area: text; }
.lane-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hono); /* AA: 4.62:1 on rest — numerals carry text, not hono-glow */
  letter-spacing: 0.02em;
}
.lane-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--leaf-line);
  border-radius: var(--radius-pill);
}
.lane-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--moss);
  margin: 0.4rem 0 0.5rem;
}
.lane-motif {
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--hono);
  margin: 0 0 0.7rem;
  letter-spacing: 0.04em;
}
.lane-desc { color: var(--body); margin: 0; max-width: 32rem; }
.lane-figure {
  grid-area: fig;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--leaf-line);
  aspect-ratio: 4 / 3;
  background: var(--rest-deep);
}
.lane-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}
.lane-figure:hover img { transform: scale(1.04); }

.lane-pause {
  display: flex;
  justify-content: center;
  margin: 2rem 0 0.5rem;
}
.lane-thesis {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.85;
  color: var(--sage);
  border: 0;
  margin: 1.6rem auto 2.2rem;
  max-width: 40rem;
  text-align: center;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 1.4rem;
}

/* ============ Product card ============ */
.product {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--leaf-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.product-figure {
  aspect-ratio: 4 / 3;
  background: var(--rest);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.product-image {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-body {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem 1.35rem;
  flex: 1;
}
.product-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--moss);
  margin: 0 0 0.6rem;
}
.product-reason {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--body);
  margin: 0 0 1.1rem;
  flex: 1;
}
.amazon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--hono-cta);
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, transform 0.25s ease;
}
.amazon-link:hover { background: var(--hono-deep); color: #fff; transform: translateY(-1px); }
.pr-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(255,255,255,0.22);
  border-radius: var(--radius-pill);
  padding: 0.05rem 0.45rem;
}
.search-note {
  font-size: 0.68rem;
  color: var(--sage);
  margin: 0.6rem 0 0;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============ Reading ============ */
.reading-list { list-style: none; margin: 0; padding: 0; }
.reading-list li { border-top: 1px solid var(--leaf-line); }
.reading-list li:last-child { border-bottom: 1px solid var(--leaf-line); }
.reading-list a {
  display: block;
  padding: 1.1rem 0;
  color: var(--moss);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: padding 0.25s ease, color 0.25s ease;
}
.reading-list a:hover { padding-left: 0.9rem; color: var(--hono); }

/* ============ Disclosure ============ */
.section-disclosure { background: var(--rest-deep); }
.disclosure-block p { color: var(--body); font-size: 0.95rem; }
.disclosure-block strong { color: var(--moss); }
.amazon-required {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--sage);
  border-top: 1px solid var(--leaf-line);
  padding-top: 1.1rem;
  margin-top: 1.4rem;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--moss);
  color: #D6DFD0;
  padding: var(--space-xl) 0 var(--space-l);
}
.site-footer .container { display: flex; flex-direction: column; gap: 1.6rem; }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  color: #fff;
  margin: 0;
}
.footer-tagline { color: #BBC9B4; font-family: var(--font-mono); font-size: 0.74rem; margin: 0.3rem 0 0; letter-spacing: 0.05em; }
.footer-meta { color: #BBC9B4; font-size: 0.8rem; line-height: 1.9; margin: 0; }
.footer-meta strong { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { color: #D6DFD0; font-size: 0.82rem; letter-spacing: 0.04em; }
.footer-nav a:hover { color: var(--hono-glow); }
.footer-related { font-size: 0.82rem; color: #BBC9B4; margin: 0; }
.footer-related a { color: #D6DFD0; text-decoration: underline; text-underline-offset: 3px; }
.footer-related a:hover { color: var(--hono-glow); }
.footer-copy { font-family: var(--font-mono); font-size: 0.7rem; color: #8FA088; margin: 0; letter-spacing: 0.05em; }

/* ============ About page specifics ============ */
.about-body p { color: var(--body); }
.about-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--moss);
  margin: 2.2rem 0 0.8rem;
  letter-spacing: 0.02em;
}
.about-body ul { color: var(--body); padding-left: 1.2rem; }
.about-body li { margin-bottom: 0.5rem; }

/* ============ Categories index ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.cat-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--leaf-line);
  border-radius: var(--radius-m);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cat-card .cat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--hono); /* AA: 4.91:1 on card — numerals carry text */
}
.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--moss);
  margin: 0.5rem 0 0.6rem;
  letter-spacing: 0.02em;
}
.cat-card p { font-size: 0.85rem; color: var(--body); margin: 0; }

.note {
  font-size: 0.85rem;
  color: var(--sage);
  background: var(--leaf-wash);
  border-radius: var(--radius-s);
  padding: 0.9rem 1.1rem;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .journal-inner { grid-template-columns: 1fr; }
  .chapter-rail { display: none; }
  .dbar { display: block; }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--card);
    border: 1px solid var(--leaf-line);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-lift);
    padding: 0.5rem;
    min-width: 200px;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { width: 100%; padding: 0.7rem 0.9rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .site-header .container { position: relative; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 320px; margin: 0 auto 0.5rem; }
  .hero-bg { -webkit-mask-image: none; mask-image: none; opacity: 0; }
  .hero-bg.is-loaded { opacity: 0.18; }

  .fact-strip { grid-template-columns: 1fr; }
  .lane-intro,
  .lane--text-right .lane-intro {
    grid-template-columns: 1fr;
    grid-template-areas: "fig" "text";
  }
  .lane-meta { margin-top: 1.1rem; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .product-list { grid-template-columns: 1fr; }
  .container { padding: 0 1.15rem; }
  .restclock-beat .b-num { font-size: 1.25rem; }
}
