/* ═══════════════════════════════════════════════════════════════════════════
   THE ONE JAKE — brand system
   Every token below is pulled from the badge: ink band, slate disc,
   bone ring, crimson J, teal rim-light. Montserrat for the stamped
   caps, Source Serif for the reading.
═══════════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #0a0b0e;
  --ink-2: #111318;
  --ink-3: #181b22;
  --ink-4: #23262f;
  --slate: #5a6173;
  --slate-2: #3d4250;
  --slate-3: #8b91a1;
  --bone: #dcddd4;
  --paper: #f3f2ec;
  --white: #fbfbf8;
  --red: #ba072e;
  --red-hi: #e3284f;
  --teal: #1d7f8c;
  --teal-hi: #46b6c4;

  /* semantic (dark is the brand default) */
  --bg: var(--ink);
  --bg-raise: var(--ink-2);
  --bg-card: var(--ink-3);
  --line: #2a2e38;
  --line-2: #3a3f4b;
  --text: #e9e9e3;
  --text-2: #a9adb8;
  --text-3: #7c8190;
  --accent: var(--red-hi);
  --accent-solid: var(--red);
  --rim: var(--teal-hi);
  --focus: var(--teal-hi);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 40px -24px rgba(0,0,0,.8);

  --display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --ui: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --read: 680px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: var(--paper);
  --bg-raise: #ebeae3;
  --bg-card: #ffffff;
  --line: #d9d8cf;
  --line-2: #c5c4ba;
  --text: #15171c;
  --text-2: #4a4f5c;
  --text-3: #6d7282;
  --accent: var(--red);
  --accent-solid: var(--red);
  --rim: var(--teal);
  --focus: var(--teal);
  --shadow: 0 1px 2px rgba(10,11,14,.06), 0 18px 36px -24px rgba(10,11,14,.35);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: var(--paper);
    --bg-raise: #ebeae3;
    --bg-card: #ffffff;
    --line: #d9d8cf;
    --line-2: #c5c4ba;
    --text: #15171c;
    --text-2: #4a4f5c;
    --text-3: #6d7282;
    --accent: var(--red);
    --accent-solid: var(--red);
    --rim: var(--teal);
    --focus: var(--teal);
    --shadow: 0 1px 2px rgba(10,11,14,.06), 0 18px 36px -24px rgba(10,11,14,.35);
    color-scheme: light;
  }
}

/* ── base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 18px/1.65 var(--serif);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: var(--white); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: var(--white); padding: 10px 14px; border-radius: 8px; font: 700 13px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; }
.skip-link:focus { top: 12px; }

/* stamped caps — the logo's lettering */
.caps, .eyebrow, h1, h2, h3, .btn, .nav a, .chip, .kicker {
  font-family: var(--display); text-transform: uppercase;
}
h1, h2, h3 { font-weight: 800; letter-spacing: .06em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 68px); }
h2 { font-size: clamp(24px, 3.4vw, 38px); }
h3 { font-size: 17px; letter-spacing: .1em; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .28em; color: var(--accent); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lede { font-size: clamp(19px, 2vw, 22px); color: var(--text-2); max-width: 60ch; }

/* ── nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s, transform .5s var(--ease), opacity .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 42px; height: 42px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg); }
.brand span { font: 800 15px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-decoration: none; color: var(--text-2); border-radius: 8px; position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
/* on the hero the nav is always light-on-dark */
.home .nav:not(.is-solid) { --text: #e9e9e3; --text-2: #c5c8d0; --line-2: rgba(255,255,255,.25); }
.home .nav:not(.is-solid) .brand img { opacity: 0; transform: scale(.6); }
.home .nav:not(.is-solid) .brand span { opacity: 0; }
.home .nav .brand img, .home .nav .brand span { transition: opacity .5s, transform .6s var(--ease); }
html:not(.intro-done) .home .nav { opacity: 0; transform: translateY(-12px); pointer-events: none; }

@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: fixed; inset: 68px 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 16px var(--gutter) 40px; border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: var(--bg); }
  .nav-links a { font-size: 22px; padding: 18px 4px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .nav-links a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
}
@media (max-width: 420px) { .brand span { display: none; } }

/* ── hero (home) ───────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  background: #05060a; color: #e9e9e3; isolation: isolate;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-ui { position: absolute; inset: auto 0 0 0; z-index: 3; padding: 0 var(--gutter) max(28px, env(safe-area-inset-bottom)); text-align: center; pointer-events: none; }
.hero-ui > * { pointer-events: auto; }
.hero-sections { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0 0 22px; padding: 0; }
.hero-sections a { font: 700 12px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; color: #d6d8de; padding: 8px 2px; display: inline-flex; align-items: center; gap: 10px; }
.hero-sections li + li a::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--red-hi); margin-right: 12px; }
.hero-sections a:hover { color: #fff; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font: 700 10px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: #9ea3b0; text-decoration: none; }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(#9ea3b0, transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--red-hi); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.hero-ui, .hero .skip { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero:not(.is-ready) .hero-ui { opacity: 0; transform: translateY(14px); }
.hero .skip {
  position: absolute; z-index: 4; right: var(--gutter); bottom: 28px;
  font: 700 11px/1 var(--display); letter-spacing: .24em; text-transform: uppercase;
  color: #c9ccd4; background: rgba(10,11,14,.35); border: 1px solid rgba(255,255,255,.2);
  padding: 11px 16px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px);
}
.hero .skip:hover { color: #fff; border-color: var(--red-hi); }
.hero.is-ready .skip, .hero.is-skipped .skip { opacity: 0; pointer-events: none; }
.hero.no-webgl { background: linear-gradient(#1b2336, #7a4f5d 55%, #0b0c10 56%); }

/* ── sections & layout ─────────────────────────────────────────────────── */
main { display: block; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 12px 0 0; color: var(--text-2); max-width: 56ch; }
.link-arrow { font: 700 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: 10px; padding: 12px 0; white-space: nowrap; }
.link-arrow::after { content: "→"; color: var(--accent); transition: transform .3s var(--ease); font-family: var(--ui); }
.link-arrow:hover::after { transform: translateX(4px); }

/* page header with emblem */
.page-head { padding: calc(68px + clamp(48px, 7vw, 96px)) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head::before { /* ring motif echoing the badge band */
  content: ""; position: absolute; right: -18vw; top: -10vw; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; border-radius: 50%;
  border: 1px solid var(--line); box-shadow: 0 0 0 26px color-mix(in srgb, var(--bg-raise) 60%, transparent), 0 0 0 27px var(--line); opacity: .8; pointer-events: none;
}
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 64px); align-items: center; position: relative; }
.page-head h1 { margin: 18px 0 18px; }
.page-head .lede { margin: 0; }
.emblem { width: clamp(120px, 18vw, 210px); height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.emblem text { font-family: var(--display); font-weight: 800; letter-spacing: .2em; }
@media (max-width: 720px) {
  .page-head .wrap { grid-template-columns: 1fr; }
  .page-head .emblem { order: -1; width: 112px; }
}

/* ── pillars (home) ────────────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line); text-decoration: none; color: var(--text); position: relative; overflow: hidden;
  transition: transform .45s var(--ease), border-color .3s;
  box-shadow: var(--shadow);
}
.pillar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pillar:hover { transform: translateY(-4px); border-color: var(--line-2); color: var(--text); }
.pillar:hover::after { transform: scaleX(1); }
.pillar .emblem { width: 112px; filter: none; transition: transform .8s var(--ease); }
.pillar:hover .emblem { transform: rotate(-10deg); }
.pillar h3 { font-size: 16px; }
.pillar p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.pillar .meta { margin-top: auto; font: 700 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); padding-top: 8px; }
.pillar .meta b { color: var(--accent); font-weight: 800; }

/* manifesto strip */
.manifesto { background: var(--ink); color: #e9e9e3; overflow: hidden; border-top: 1px solid #1c1f27; border-bottom: 1px solid #1c1f27; }
.marquee { display: flex; gap: 0; white-space: nowrap; padding: 26px 0; }
.marquee div { display: flex; gap: 42px; padding-right: 42px; animation: marquee 38s linear infinite; font: 800 clamp(28px, 5vw, 58px)/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.marquee span { display: inline-flex; align-items: center; gap: 42px; }
.marquee span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); display: inline-block; }
.marquee em { font-style: normal; -webkit-text-stroke: 1.5px #e9e9e3; color: transparent; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* feature: latest sit */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-raise); box-shadow: var(--shadow); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .sit-no { position: absolute; left: 16px; top: 16px; }
.feature h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .05em; margin: 14px 0 16px; }
.feature p { color: var(--text-2); margin: 0 0 20px; }

/* ── buttons & chips ───────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .2em; padding: 15px 22px; border-radius: 999px; border: 1px solid var(--accent-solid); background: var(--accent-solid); color: var(--white); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { color: var(--white); background: #9b0626; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: transparent; cursor: pointer; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.tag { font: 700 10.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }

/* sit number badge — a mini version of the logo's ring */
.sit-no {
  --s: 64px; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--ink); color: var(--white); box-shadow: 0 0 0 2px var(--bone) inset, 0 0 0 5px var(--ink) inset, 0 0 0 3px var(--slate);
  font: 800 calc(var(--s) * .28)/1 var(--display); letter-spacing: .02em; position: relative;
}
.sit-no small { position: absolute; top: 20%; font-size: calc(var(--s) * .12); letter-spacing: .2em; color: var(--slate-3); font-weight: 700; }
.sit-no b { margin-top: calc(var(--s) * .12); }

/* practice colours (Calm's three dailies) */
.p-calm { --pc: var(--teal-hi); }
.p-jay { --pc: #d9a441; }
.p-trip { --pc: var(--red-hi); }
.pdot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); display: inline-block; }

/* ── meditation index ──────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); overflow: hidden; }
.stat { padding: 22px 22px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 800 clamp(30px, 4vw, 46px)/1 var(--display); letter-spacing: .02em; color: var(--text); }
.stat span { display: block; margin-top: 10px; font: 700 11px/1.3 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.stat.hot b { color: var(--accent); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.heat-row { display: grid; grid-template-columns: minmax(0, auto) minmax(260px, 1fr); gap: 18px; margin-top: 18px; align-items: stretch; }
.heat-row .heat { margin-top: 0; }
@media (max-width: 1000px) { .heat-row { grid-template-columns: 1fr; } }
.practice-mix { display: flex; flex-direction: column; gap: 14px; }
.practice-mix .bar { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
.practice-mix .bar span { font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.practice-mix .bar b { font: 800 18px/1 var(--display); }
.practice-mix .bar em { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.practice-mix .bar em::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--pc); border-radius: 6px; }
.plus { color: var(--accent); font-weight: 800; }
.heat { margin-top: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); overflow-x: auto; }
.heat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.heat-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 12px); gap: 3px; width: max-content; }
.heat-grid i { width: 12px; height: 12px; border-radius: 3px; background: var(--line); display: block; }
.heat-grid i.on { background: var(--red); }
.heat-grid i.on.multi { background: var(--red-hi); box-shadow: 0 0 0 1px var(--red-hi); }
.heat-grid i.pad { background: transparent; }
.heat-months { display: grid; grid-auto-flow: column; gap: 3px; margin-bottom: 6px; width: max-content; font: 700 10px/1 var(--display); letter-spacing: .12em; color: var(--text-3); text-transform: uppercase; }
.heat-months span { width: 12px; overflow: visible; white-space: nowrap; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 44px 0 26px; }
.search { flex: 1 1 260px; position: relative; }
.search input { width: 100%; font: 500 16px/1 var(--ui); padding: 14px 16px 14px 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-card); color: var(--text); }
.search input::placeholder { color: var(--text-3); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--text-3); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.result-count { font: 700 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin: 0 0 18px; }

.sit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .sit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sit-grid { grid-template-columns: 1fr; } }
.sit-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .4s var(--ease), border-color .3s; box-shadow: var(--shadow); }
.sit-card:hover { transform: translateY(-3px); border-color: var(--line-2); color: var(--text); }
.sit-card .thumb { aspect-ratio: 16/10; background: var(--bg-raise); overflow: hidden; position: relative; }
.sit-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s var(--ease); }
.sit-card:hover .thumb img { transform: scale(1.04); }
.sit-card .thumb .sit-no { --s: 54px; position: absolute; left: 12px; top: 12px; }
.sit-card .thumb.none { display: grid; place-items: center; background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--red) 30%, transparent), transparent 60%), var(--ink-3); }
.sit-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.sit-card .date { font: 700 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; }
.sit-card h3 { font-size: 15px; line-height: 1.35; letter-spacing: .08em; }
.sit-card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sit-card .pdots { display: inline-flex; gap: 5px; }
.more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.empty-note { padding: 40px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--text-2); }

/* ── article ───────────────────────────────────────────────────────────── */
.article-head { padding: calc(68px + clamp(40px, 6vw, 80px)) 0 32px; }
.article-head .wrap { max-width: calc(var(--read) + 2 * var(--gutter)); }
.crumbs { font: 700 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--text-2); }
.crumbs a:hover { color: var(--accent); }
.article-head h1 { font-size: clamp(28px, 4.6vw, 48px); letter-spacing: .04em; margin: 22px 0 18px; }
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--text-2); font: 600 13px/1.4 var(--ui); letter-spacing: .04em; }
.article-meta .sit-no { --s: 60px; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.topic-list span { font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: var(--bg-raise); border: 1px solid var(--line); color: var(--text-2); }
.article-cover { max-width: 860px; margin: 8px auto 48px; padding: 0 var(--gutter); }
.article-cover img { border-radius: var(--radius); width: auto; max-width: 100%; max-height: 82vh; margin: 0 auto; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.prose { max-width: calc(var(--read) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 40px; font-size: clamp(18px, 1.3vw, 20px); line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; margin: 2.2em 0 .8em; line-height: 1.3; }
.prose h2 { font-size: 22px; }
.prose h3 { font-size: 15px; color: var(--text); display: flex; align-items: center; gap: 12px; }
.prose h3::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; }
.prose h4 { font-size: 13px; color: var(--text-2); }
.prose em { color: var(--text); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-style: italic; color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: 10px; margin: 1.6em auto; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose > p:first-child::first-letter { font: 800 3.3em/.8 var(--display); float: left; margin: .08em .12em 0 0; color: var(--accent); }
.post-nav { max-width: calc(var(--read) + 2 * var(--gutter)); margin: 24px auto 0; padding: 32px var(--gutter) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); }
.post-nav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--bg-card); }
.post-nav a:hover { border-color: var(--accent); color: var(--text); }
.post-nav small { display: block; font: 700 10.5px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.post-nav span { font: 700 14px/1.35 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: auto; } }

/* ── reviews ───────────────────────────────────────────────────────────── */
.score-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.score-legend div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raise); }
.score-legend b { display: block; font: 800 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.score-legend span { font-size: 15px; color: var(--text-2); line-height: 1.5; display: block; }
.jmeter { display: inline-flex; gap: 4px; align-items: center; }
.jmeter i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; overflow: hidden; }
.jmeter i.full { background: var(--red); border-color: var(--red); }
.jmeter i.half { border-color: var(--red); background: linear-gradient(90deg, var(--red) 50%, transparent 50%); }
.jmeter .n { font: 800 14px/1 var(--display); margin-left: 8px; letter-spacing: .04em; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.review-card:hover { transform: translateY(-3px); color: var(--text); }
.review-card .thumb { background: var(--bg-raise); }
.review-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.review-card h3 { font-size: 16px; letter-spacing: .08em; }
.review-card p { margin: 0; font-size: 15.5px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 460px) { .review-card { grid-template-columns: 1fr; } .review-card .thumb { aspect-ratio: 16/9; } }
.empty-state { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--bg-raise); }
.empty-state .emblem { width: 110px; filter: none; opacity: .9; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; }
.empty-state p { margin: 0; color: var(--text-2); }
@media (max-width: 560px) { .empty-state { grid-template-columns: 1fr; text-align: center; } .empty-state .emblem { margin: 0 auto; } }
.fieldnotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.fieldnote { padding: 26px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.fieldnote blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text); }
.fieldnote blockquote::before { content: "“"; display: block; font: 800 48px/.6 var(--display); color: var(--accent); margin-bottom: 6px; }
.fieldnote h3 { font-size: 15px; }
.fieldnote .src { margin-top: auto; }
.review-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font: 600 13px/1.4 var(--ui); color: var(--text-2); }
.review-facts b { font: 800 10.5px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 6px; }
.scorecard { max-width: calc(var(--read) + 2 * var(--gutter)); margin: 0 auto 40px; padding: 0 var(--gutter); }
.scorecard table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scorecard td, .scorecard th { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; font: 700 12px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.scorecard tr:last-child td { border-bottom: 0; }
.scorecard td:last-child { text-align: right; }
.verdict { max-width: calc(var(--read) + 2 * var(--gutter)); margin: 0 auto 36px; padding: 0 var(--gutter); }
.verdict div { padding: 22px 24px; border-left: 4px solid var(--red); background: var(--bg-raise); border-radius: 0 12px 12px 0; font: 600 20px/1.5 var(--serif); font-style: italic; }

/* ── writings ──────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; }
.tabs button { font: 800 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); background: none; border: 0; padding: 16px 14px; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--accent); }
.tabs button .count { color: var(--accent); margin-left: 6px; }
.entry-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.entry-list li { border-bottom: 1px solid var(--line); }
.entry-list a { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 24px 4px; text-decoration: none; color: var(--text); transition: padding .3s var(--ease), background .3s; }
.entry-list a:hover { padding-left: 14px; background: var(--bg-raise); color: var(--text); }
.entry-list time { font: 700 11px/1.4 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.entry-list h3 { font-size: 17px; letter-spacing: .06em; line-height: 1.3; }
.entry-list p { margin: 8px 0 0; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.entry-list .go { color: var(--accent); font-family: var(--ui); }
@media (max-width: 640px) { .entry-list a { grid-template-columns: 1fr; gap: 8px; } .entry-list .go { display: none; } }
.vault-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--ink); color: #e9e9e3; border: 1px solid #262a33; position: relative; overflow: hidden; text-decoration: none; }
.vault-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 240px at 90% 120%, rgba(186,7,46,.35), transparent 60%), repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 12px); pointer-events: none; }
.vault-card > * { position: relative; }
.vault-card h3 { font-size: 20px; margin-bottom: 8px; }
.vault-card p { margin: 0; color: #a9adb8; }
.vault-card .emblem { width: 120px; filter: none; }
.vault-card:hover { color: #fff; }
.vault-card .btn { pointer-events: none; }
@media (max-width: 720px) { .vault-card { grid-template-columns: 1fr; text-align: left; } }

/* vault page */
.vault-gate { min-height: 100svh; display: grid; place-items: center; padding: 100px var(--gutter) 60px; background: radial-gradient(900px 500px at 50% 110%, rgba(186,7,46,.22), transparent 60%), var(--ink); color: #e9e9e3; }
.gate { width: 100%; max-width: 420px; text-align: center; }
.gate .emblem { width: 180px; margin: 0 auto 28px; }
.gate h1 { font-size: 30px; margin-bottom: 12px; }
.gate p { color: #a9adb8; margin: 0 0 26px; font-size: 17px; }
.gate form { display: flex; gap: 8px; }
.gate input { flex: 1; min-width: 0; font: 600 16px/1 var(--ui); letter-spacing: .08em; padding: 15px 18px; border-radius: 999px; border: 1px solid #3a3f4b; background: #111318; color: #fff; }
.gate input:focus { border-color: var(--red-hi); outline: none; box-shadow: 0 0 0 3px rgba(227,40,79,.25); }
.gate .err { min-height: 22px; margin-top: 14px; font: 700 12px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); }
.gate.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.vault-open { display: none; }
.is-unlocked .vault-gate { display: none; }
.is-unlocked .vault-open { display: block; }
.vault-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── about ─────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-badge { position: sticky; top: 100px; }
.about-badge img { width: 100%; max-width: 420px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 28px; max-width: 420px; margin-inline: auto; }
.palette i { aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); }

/* ── footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #c5c8d0; padding: 72px 0 36px; border-top: 1px solid #1c1f27; }
.footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.footer img { width: 120px; }
.footer .tagline { font: 800 clamp(18px, 2.4vw, 26px)/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #e9e9e3; }
.footer .tagline span { color: var(--red-hi); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 28px; }
.footer a { font: 700 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: #a9adb8; }
.footer a:hover { color: #fff; }
.footer .fine { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid #1c1f27; font: 600 12px/1.4 var(--ui); color: #6d7282; letter-spacing: .04em; }
@media (max-width: 820px) { .footer .wrap { grid-template-columns: 1fr; text-align: left; } }

/* reveal-on-scroll */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }
