/* =========================================================
   うるか — 湿度計 / the humidity instrument
   Direction: dryness is measurable (RH%). うるおい is water in
   the air. The whole site is an environment "filling" with
   moisture across a day's arc (手元→髪→衣類→空気→就寝).
   Signature: a humidity gauge that is BOTH the hero and the
   scroll navigation — one instrument, two placements.

   Palette: a two-temperature world — outside dry & cold
   (periwinkle / misted violet-blue) vs inside warm & moist
   (honey / amber room-light). Honey is the identity color,
   absent from both sister sites.
   Deliberately NOT:
     · cream + mincho + terracotta (AI default #1 / old うるか)
     · near-black + single acid accent (AI default #2)
     · broadsheet hairline columns (AI default #3)
     · coral/pink + Zen Maru rounded  (site16 ぽかぽか手帖)
     · teal/cyan + M PLUS rounded     (site17 ひんやり手帖)
   ========================================================= */

:root {
  /* Air — the dry-but-soft room, cool misted near-white */
  --air: #EEF1F8;
  --air-deep: #E3E8F4;
  --card: #F6F8FC;
  /* frosted condensation surface */
  --glass-surface: rgba(246, 248, 252, 0.62);
  --glass-line: rgba(59, 67, 100, 0.12);

  /* Periwinkle / mist — the cold dry side */
  --mist: #C3CCE6;
  --mist-soft: #D6DCEC;
  /* a11y: --glass #5C6A99 = 4.9:1 on #EEF1F8 — labels/secondary text */
  --glass: #5C6A99;
  --glass-wash: rgba(92, 106, 153, 0.10);

  /* Ink — deep periwinkle-indigo, never pure black */
  /* a11y: --ink #2C3252 = 11.6:1 on #EEF1F8 — body & headings */
  --ink: #2C3252;
  /* a11y: --ink-muted #3B4364 = 9.0:1 on #EEF1F8 */
  --ink-muted: #3B4364;
  /* a11y: --ink-soft #4A5478 = 6.4:1 on #EEF1F8 */
  --ink-soft: #4A5478;
  /* a11y: --ink-faint #5C6A99 = 4.9:1 on #EEF1F8 (≥4.5 AA) */
  --ink-faint: #5C6A99;

  /* Honey / amber — the warm moist interior, the identity color */
  /* a11y: white text on --honey #9A6116 = 5.13:1 (≥4.5 AA) — CTA / button / PR tag bg */
  --honey: #9A6116;
  /* lighter amber for decoration only (glows, active dots) — never carries text */
  --honey-glow: #D69A3C;
  /* a11y: --honey-text #8A5410 = 5.53:1 on #EEF1F8 — honey-toned text/links/eyebrow */
  --honey-text: #8A5410;
  --honey-deep: #7E4F11;
  --honey-wash: rgba(154, 97, 22, 0.12);

  /* moisture gradient — periwinkle (dry) rising into honey (moist/warm) */
  --moist-grad: linear-gradient(180deg, #B5751E 0%, #C98A3E 34%, #8E96C0 72%, #C3CCE6 100%);

  /* Shadow — soft, cool, low */
  --shadow-soft: 0 10px 34px rgba(44, 50, 82, 0.08);
  --shadow-lift: 0 20px 50px rgba(44, 50, 82, 0.16);
  --shadow-honey: 0 12px 30px rgba(181, 117, 30, 0.22);

  /* Type */
  --font-display: 'Klee One', 'Hiragino Sans', 'Zen Kaku Gothic New', system-ui, sans-serif;
  --font-sans: 'Zen Kaku Gothic New', 'Hiragino Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'SFMono-Regular', ui-monospace, monospace;

  /* Radius */
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --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(--air);
  /* drifting mist + one warm pocket of room-light (honey), top-left */
  background-image:
    radial-gradient(120% 80% at 88% -6%, rgba(195, 204, 230, 0.55) 0%, transparent 50%),
    radial-gradient(90% 55% at 4% 2%, rgba(214, 154, 60, 0.10) 0%, transparent 46%);
  background-attachment: fixed;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.92;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

::selection { background: var(--honey); 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; }
  /* gauges show their resting (filled) state, no fill animation */
  .gauge-fill, .rail-fill, .mbar-fill { transition: none !important; }
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  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.28em;
  text-transform: uppercase;
  color: var(--honey-text);
  margin: 0 0 0.9rem;
  font-weight: 400;
}

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

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

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

/* signature mini-mark — a moisture meniscus on a thin column */
.dew-rule {
  display: block;
  position: relative;
  width: 3px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--mist) 0%, var(--mist) 38%, var(--honey-glow) 38%, var(--honey) 100%);
  opacity: 0.9;
}
.dew-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: 11px;
  height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--honey-glow);
  box-shadow: 0 0 8px rgba(214, 154, 60, 0.6);
}

/* ============ Compliance bar (ファーストビュー上部・ステマ規制) ============ */
.compliance-bar {
  background: var(--ink);
  color: #E6E9F4;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
}
.compliance-bar strong {
  display: inline-block;
  background: var(--honey);
  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 humidity bar (signature carrier when rail is hidden) ============ */
.mbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 99;
  height: 3px;
  background: var(--air-deep);
}
.mbar-fill {
  height: 100%;
  width: 8%;
  background: var(--moist-grad);
  background-size: 100% 600%;
  background-position: 0 100%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-position 0.5s ease;
  box-shadow: 0 0 10px rgba(214, 154, 60, 0.5);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 241, 248, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--glass-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(--ink); }
/* logo mark — a tiny humidity gauge glyph */
.logo-mark {
  position: relative;
  width: 16px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--air-deep);
  border: 1.5px solid var(--glass);
  overflow: hidden;
  flex: none;
  font-size: 0; /* hide the 露 fallback char visually, keep for SR */
}
.logo-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64%;
  background: var(--moist-grad);
  background-size: 100% 160%;
  background-position: 0 100%;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  display: block;
  line-height: 1.2;
  color: var(--ink);
}
.logo-tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a {
  color: var(--ink-soft);
  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(--honey);
  transition: width 0.28s ease;
}
.nav a:hover { color: var(--honey-text); }
.nav a:hover::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--honey-text); }
.nav a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--glass-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(--ink);
  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 — instrument + headline ============ */
.hero {
  padding: clamp(3.25rem, 6vw, 6rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey-text);
  margin: 0 0 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--honey);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.6vw, 3.6rem);
  line-height: 1.42;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 1.6rem;
}
.hero-title .accent {
  color: var(--honey-text);
  position: relative;
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin: 0 0 1.7rem;
}
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-lead {
  color: var(--ink-soft);
  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: 500;
  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(--honey);
  color: #fff;
  box-shadow: var(--shadow-honey);
}
.btn-primary:hover { background: var(--honey-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--glass);
  color: var(--ink-muted);
}
.btn-ghost:hover { border-color: var(--honey); color: var(--honey-text); transform: translateY(-2px); }

/* ----- The hero gauge instrument (CSS/SVG, no photo) ----- */
.hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
}
.gauge {
  position: relative;
  width: min(290px, 80%);
  aspect-ratio: 5 / 7;
  border-radius: var(--radius-l);
  background:
    linear-gradient(180deg, rgba(246,248,252,0.7), rgba(227,232,244,0.5));
  border: 1px solid var(--glass-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);
  padding: 1.4rem 1.3rem;
  overflow: hidden;
}
/* the column that fills */
.gauge-tube {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  bottom: 4.2rem;
  width: 30%;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: var(--air-deep);
  border: 1px solid var(--glass-line);
  overflow: hidden;
}
.gauge-fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8%;
  background: var(--moist-grad);
  background-size: 100% 1000%;
  background-position: 0 100%;
  border-radius: var(--radius-pill);
  transition: height 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gauge.is-filled .gauge-fill { height: 62%; }
/* the meniscus / surface highlight */
.gauge-fill::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), transparent);
  opacity: 0.8;
}
/* tick marks on the tube */
.gauge-ticks {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  bottom: 4.2rem;
  width: 30%;
  transform: translateX(-50%);
  pointer-events: none;
}
.gauge-ticks span {
  position: absolute;
  right: -16px;
  width: 9px; height: 1px;
  background: var(--glass);
  opacity: 0.5;
}
.gauge-ticks span:nth-child(1) { top: 12%; }
.gauge-ticks span:nth-child(2) { top: 38%; }
.gauge-ticks span:nth-child(3) { top: 62%; }
.gauge-ticks span:nth-child(4) { top: 88%; }
/* the readout */
.gauge-readout {
  position: absolute;
  left: 0; right: 0;
  bottom: 1.2rem;
  text-align: center;
  font-family: var(--font-mono);
}
.gauge-num {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--honey-text);
  letter-spacing: 0.01em;
  line-height: 1;
}
.gauge-unit { font-size: 0.78rem; color: var(--ink-faint); margin-left: 0.12em; }
.gauge-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-top: 0.45rem;
}
/* comfort band marker beside the tube */
.gauge-band {
  position: absolute;
  left: calc(50% - 15% - 38px);
  top: calc(1.5rem + ((100% - 1.5rem - 4.2rem) * 0.38));
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  color: var(--honey-text);
  text-align: right;
  line-height: 1.4;
  width: 40px;
}

/* ============ About / intro ============ */
.about-intro .science-note {
  background: var(--glass-wash);
  border-left: 3px solid var(--glass);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 1.8rem;
}
.about-intro p { color: var(--ink-soft); }
.about-intro strong { color: var(--ink); font-weight: 600; }

/* a measurable fact strip — RH science, the subject's vernacular */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.6rem;
}
.fact {
  background: var(--glass-surface);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-m);
  padding: 1.4rem 1.4rem 1.5rem;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.fact-num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--honey-text);
  line-height: 1;
  letter-spacing: 0.01em;
}
.fact-num small { font-size: 0.9rem; color: var(--ink-faint); font-weight: 400; }
.fact-text {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0.8rem 0 0;
}

/* ============ Journal: gauge-rail + lanes ============ */
.journal {
  position: relative;
  padding: var(--space-xl) 0 var(--space-2xl);
}
.journal-inner {
  display: grid;
  grid-template-columns: 188px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* the chapter-rail IS the gauge — a vertical instrument that fills as you scroll */
.chapter-rail {
  position: sticky;
  top: 110px;
  align-self: start;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 0.9rem;
  /* the moisture column behind everything */
}
.chapter-rail::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / -1;
  width: 8px;
  margin-left: 13px;
  border-radius: var(--radius-pill);
  background: var(--air-deep);
  border: 1px solid var(--glass-line);
}
/* the rising fill — driven by JS setting --rail-level (0..1) */
.chapter-rail::after {
  content: "";
  grid-column: 1;
  grid-row: 1 / -1;
  width: 8px;
  margin-left: 13px;
  border-radius: var(--radius-pill);
  align-self: end;
  height: calc(8% + 92% * var(--rail-level, 0));
  background: var(--moist-grad);
  background-size: 100% 100%;
  box-shadow: 0 0 12px rgba(214, 154, 60, 0.35);
  transition: height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.chapter-link {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 0.9rem;
  align-items: center;
  padding: 0.7rem 0;
  position: relative;
  color: var(--ink-faint);
  z-index: 1;
}
.chapter-dot {
  grid-column: 1;
  justify-self: center;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--glass);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.chapter-num {
  display: none; /* number lives in dot context; keep node for JS/SR */
}
.chapter-name {
  grid-column: 2;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  transition: color 0.3s ease;
}
.chapter-link.is-active .chapter-name { color: var(--honey-text); font-weight: 700; }
.chapter-link.is-active .chapter-dot {
  background: var(--honey-glow);
  border-color: var(--honey);
  box-shadow: 0 0 0 4px var(--honey-wash), 0 2px 8px rgba(181, 117, 30, 0.4);
  transform: scale(1.05);
}
.chapter-link:hover .chapter-name { color: var(--honey-text); }
/* zones already filled (passed) read as "moist" */
.chapter-link.is-passed .chapter-dot { background: var(--honey-wash); border-color: var(--honey-glow); }

/* ============ Lanes (zones) — alternating editorial bands ============ */
.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;
  gap: clamp(1.2rem, 3.5vw, 3rem);
  align-items: center;
}
.lane--text-right .lane-intro { grid-template-columns: 0.82fr 1fr; grid-template-areas: "fig text"; }
.lane--text-right .lane-figure { grid-area: fig; }
.lane--text-right .lane-meta,
.lane--text-right .lane-title,
.lane--text-right .lane-motif,
.lane--text-right .lane-desc { order: 2; }
.lane--text-right .lane-figure { order: 1; }
.lane--text-right .lane-meta { grid-area: text; align-self: end; }

.lane-meta {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.lane-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--honey-text);
  line-height: 1;
  letter-spacing: 0.02em;
}
.lane-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.lane-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.7rem;
}
.lane-motif {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--honey-text);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}
.lane-desc { color: var(--ink-soft); margin: 0; max-width: 32rem; }

/* lane figure = the OLD sage photo, bridged into the periwinkle world
   via a cool frosted frame + duotone-ish filter so it doesn't clash */
.lane-figure {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--glass-line);
}
.lane-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.72) hue-rotate(-12deg) brightness(1.02) contrast(0.98);
  transition: transform 0.7s ease;
}
.lane-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(195,204,230,0.10) 0%, rgba(92,106,153,0.22) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.lane-figure:hover img { transform: scale(1.04); }

/* deliberate pause */
.lane-pause {
  display: flex;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
}
.lane-thesis {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 2.05;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  max-width: 40rem;
  margin: 0 auto var(--space-l);
  text-align: center;
  font-feature-settings: "palt" 1;
}

/* product list */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.6rem);
}
.product {
  background: var(--glass-surface);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--honey-glow);
}
/* keep figure panel WHITE so mix-blend multiply on amazon photos stays correct */
.product-figure {
  background: #fff;
  padding: 1.3rem;
  border-bottom: 1px solid var(--glass-line);
}
.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
}
.product-reason {
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.amazon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--honey);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, transform 0.25s ease;
  margin-top: 0.2rem;
}
.amazon-link:hover { background: var(--honey-deep); color: #fff; transform: translateY(-2px); }
.pr-tag {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.08rem 0.45rem;
  border-radius: var(--radius-pill);
}
.search-note {
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin: 0;
  text-align: center;
}

/* ============ Reading ============ */
.reading-list { list-style: none; margin: 0; padding: 0; }
.reading-list li { border-top: 1px solid var(--glass-line); }
.reading-list li:last-child { border-bottom: 1px solid var(--glass-line); }
.reading-list a {
  display: block;
  padding: 1.15rem 0.4rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: padding-left 0.3s ease, color 0.3s ease;
}
.reading-list a:hover { padding-left: 0.9rem; color: var(--honey-text); }

/* ============ Disclosure ============ */
.section-disclosure { background: var(--air-deep); }
.disclosure-block p { color: var(--ink-soft); font-size: 0.95rem; }
.disclosure-block strong { color: var(--ink); }
.amazon-required {
  border-top: 1px solid var(--glass-line);
  padding-top: 1.2rem;
  margin-top: 1.5rem;
  font-size: 0.86rem !important;
  color: var(--ink-soft) !important;
}

/* ============ Footer ============ */
.site-footer {
  --ink-soft: #C7CEE4;
  --ink-faint: #97A0C4;
  --glass-line: rgba(255, 255, 255, 0.14);
  background: var(--ink);
  color: #DDE2F2;
  padding: var(--space-xl) 0 var(--space-l);
  margin-top: var(--space-xl);
}
.site-footer .container { display: grid; gap: 1.6rem; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin: 0;
  color: #fff;
}
.footer-tagline { color: #C7CEE4; font-family: var(--font-mono); font-size: 0.76rem; margin: 0.3rem 0 0; letter-spacing: 0.06em; }
.footer-meta { color: #C7CEE4; 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: #DDE2F2; font-size: 0.82rem; letter-spacing: 0.04em; }
.footer-nav a:hover { color: var(--honey-glow); }
.footer-related { font-size: 0.82rem; color: #C7CEE4; margin: 0; }
.footer-related a { color: #DDE2F2; text-decoration: underline; text-underline-offset: 3px; }
.footer-related a:hover { color: var(--honey-glow); }
.footer-copy { font-family: var(--font-mono); font-size: 0.7rem; color: #97A0C4; margin: 0; letter-spacing: 0.06em; }

.note { color: var(--ink-faint); font-size: 0.9rem; }

/* ============ Article pages (read-mode) ============ */
.article-main { padding: var(--space-l) 0 var(--space-2xl); }
.article-main h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.article-main h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  letter-spacing: 0.01em;
  margin-top: 2.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-line);
}
.article-main p, .article-main li { color: var(--ink-soft); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-faint); margin-bottom: 1.5rem; letter-spacing: 0.03em; }
.breadcrumb a { color: var(--honey-text); }

/* ============ Editorial list styles (about / categories) ============ */
.article-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-top: 2.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--glass-line);
}
.numbered-list { counter-reset: item; list-style: none; margin: 1.4rem 0; padding: 0; }
.numbered-list li {
  position: relative;
  padding-left: 2.8rem;
  margin-bottom: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.92;
}
.numbered-list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--honey-text);
  letter-spacing: 0.02em;
}
.numbered-list strong { color: var(--ink); }
.numbered-list a { color: var(--honey-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--glass-line); }
.numbered-list a:hover { text-decoration-color: var(--honey); }
.reference-list { list-style: none; margin: 1.2rem 0; padding: 0; }
.reference-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--glass-line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.reference-list strong { color: var(--ink); margin-right: 0.5rem; }

/* ============ Deep-dive article pages ============ */
.article { padding: var(--space-l) 0 var(--space-2xl); }
.article .section-title { margin-bottom: 1rem; }
.article-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin: 0 0 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--glass-line);
}
.article-hero {
  position: relative;
  margin: 0 0 2.4rem;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--glass-line);
}
.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  /* bridge the old sage palette into periwinkle */
  filter: saturate(0.7) hue-rotate(-12deg) brightness(1.02) contrast(0.98);
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(195,204,230,0.08) 0%, rgba(92,106,153,0.20) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.article-hero figcaption {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  padding: 0.7rem 0.2rem 0;
  text-align: right;
}
.article-lead {
  font-size: 1.04rem;
  line-height: 2.0;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}
.article-lead strong { color: var(--ink); font-weight: 600; }
.article .article-h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 2rem 0 0.4rem;
}
.article-callout {
  background: var(--honey-wash);
  border-left: 3px solid var(--honey);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  color: var(--ink-soft);
  margin: 2.4rem 0;
}
.article-callout strong { color: var(--ink); }
.article .product-list { margin: 1.6rem 0 0.4rem; }
.ad-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  margin: 0.6rem 0 0;
}
.ref-note {
  margin: 3rem 0 0;
  padding: 1.3rem 1.5rem;
  background: var(--air-deep);
  border-radius: var(--radius-m);
  font-size: 0.85rem;
  line-height: 1.92;
  color: var(--ink-soft);
}
.ref-note strong { color: var(--ink); }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .journal-inner { grid-template-columns: 1fr; }
  .chapter-rail { display: none; }
  .mbar { display: block; } /* signature carrier takes over on tablet/mobile */
  .fact-strip { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(238, 241, 248, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-line);
    padding: 0.5rem 1.5rem 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav[data-open="true"] { max-height: 24rem; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--glass-line); }
  .nav a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-figure { order: -1; }
  .gauge { width: min(240px, 70%); }

  .lane-intro,
  .lane--text-right .lane-intro {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .lane--text-right .lane-figure,
  .lane--text-right .lane-meta { grid-area: auto; }
  .lane--text-right .lane-meta,
  .lane--text-right .lane-title,
  .lane--text-right .lane-motif,
  .lane--text-right .lane-desc { order: 0; }
  .lane--text-right .lane-figure { order: 5; }
  .lane-figure { margin-top: 1.5rem; }

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

@media (max-width: 420px) {
  body { font-size: 16px; }
  .product-list { grid-template-columns: 1fr; }
}
