/* vjarjan.com — inner pages (blog, essays, pages). Palette matches the homepage. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0E0D0C; --bg2: #161512;
  --text-1: rgba(238,232,220,0.92); --text-2: rgba(238,232,220,0.62); --text-3: rgba(238,232,220,0.36);
  --border: rgba(238,232,220,0.08); --border-2: rgba(238,232,220,0.16);
  --accent: #C4A97D; --accent-dim: rgba(196,169,125,0.14);
  --display: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --read: 'Lora', Georgia, serif;
}
html.light {
  --bg: #F6F4F0; --bg2: #EDEAE4;
  --text-1: rgba(18,16,14,0.88); --text-2: rgba(18,16,14,0.62); --text-3: rgba(18,16,14,0.40);
  --border: rgba(18,16,14,0.08); --border-2: rgba(18,16,14,0.16);
  --accent: #8C6D3F; --accent-dim: rgba(140,109,63,0.10);
}
html { font-size: 106%; background: var(--bg); }
body { font-family: var(--sans); font-weight: 300; color: var(--text-1); background: var(--bg); min-height: 100vh;
  -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent-dim); }

/* reading progress */
#read-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 60; opacity: .8; }
body:not(.reading) #read-progress { display: none; }

/* nav */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 60px; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-nav.scrolled { background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--border); }
.nav-logo { text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-vj { font-family: var(--display); font-style: italic; font-size: 1.55rem; color: var(--accent); letter-spacing: -0.04em; }
.logo-rule { width: 100%; height: 1px; margin: .22rem 0 .18rem; background: linear-gradient(to right, transparent, var(--accent), transparent); opacity: .6; }
.logo-url { font-size: .45rem; letter-spacing: .2em; color: var(--accent); opacity: .6; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text-1); }
.nav-links a.on { box-shadow: 0 1px 0 var(--accent); }
.theme-btn { background: none; border: none; cursor: pointer; color: var(--text-3); font-size: 1rem; transition: color .2s; }
.theme-btn:hover { color: var(--text-1); }

main { padding-top: 60px; }
.eyebrow { display: inline-block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 500; text-decoration: none; margin-bottom: 1.1rem; }
.lede { color: var(--text-2); font-size: 1.08rem; line-height: 1.75; max-width: 620px; }

/* listing */
.list-head { max-width: 1100px; margin: 0 auto; padding: 5.5rem 2rem 2.5rem; }
.list-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; margin-bottom: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip { font-size: .8rem; padding: .45rem 1rem; border-radius: 40px; border: 1px solid var(--border-2); color: var(--text-2); text-decoration: none; transition: all .2s; }
.chip:hover { color: var(--text-1); border-color: var(--accent); }
.chip.on { color: var(--text-1); border-color: var(--accent); background: var(--accent-dim); }
.post-list { max-width: 1100px; margin: 0 auto; padding: 1rem 2rem 6rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.5rem 2rem; margin-top: 3.5rem; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.pc-img { overflow: hidden; border-radius: 6px; aspect-ratio: 16/9; background: var(--bg2); margin-bottom: 1.2rem; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.9); }
.post-card:hover .pc-img img { transform: scale(1.04); filter: saturate(1.05); }
.pc-cat { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.pc-title { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.2; margin: .5rem 0 .6rem; transition: color .2s; }
.post-card:hover .pc-title { color: var(--accent); }
.pc-ex { color: var(--text-2); font-size: .95rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-meta { display: block; margin-top: .9rem; font-size: .76rem; color: var(--text-3); letter-spacing: .03em; }
.post-card.big { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: center; padding-bottom: 3.5rem; border-bottom: 1px solid var(--border); }
.post-card.big .pc-img { margin: 0; aspect-ratio: 16/10; }
.post-card.big .pc-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; }
.post-card.big .pc-ex { -webkit-line-clamp: 5; font-size: 1.02rem; }

/* article */
.post { padding: 5rem 1.5rem 3rem; }
.post-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.post-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.08; letter-spacing: -0.01em; }
.post-meta { margin-top: 1.4rem; color: var(--text-3); font-size: .82rem; letter-spacing: .06em; }
.post-meta span { margin: 0 .4rem; }
.post-hero { max-width: 1100px; margin: 0 auto 4rem; }
.post-hero img { width: 100%; height: auto; border-radius: 8px; }

/* "All text is double-spaced and there is an emphasis on brevity." */
.prose { max-width: 680px; margin: 0 auto; font-family: var(--read); font-weight: var(--read-w, 400); font-size: calc(1.14rem * var(--read-scale, 1)); line-height: 2; color: var(--text-1); }
.prose > * + * { margin-top: 1.6em; }
/* Justified, with hyphenation so narrow screens don't open gaps between words */
.prose p, .prose li, .prose blockquote { text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 6 3 3; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { font-weight: 500; color: var(--text-1); }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); font-weight: 400; line-height: 1.25; margin-top: 2.6em; }
.prose h2 { font-size: 1.9rem; } .prose h3 { font-size: 1.5rem; } .prose h4 { font-size: 1.25rem; }
.prose blockquote { border-left: 2px solid var(--accent); padding: .2em 0 .2em 1.5em; font-style: italic; color: var(--text-2); }
.prose blockquote p + p { margin-top: .8em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .5em; }
.prose hr { border: none; text-align: center; height: 1em; }
.prose hr::before { content: "· · ·"; color: var(--accent); letter-spacing: .6em; }
.prose figure { margin: 3em -6vw; }
@media (min-width: 900px) { .prose figure { margin-left: -110px; margin-right: -110px; } }
.prose figure img { width: 100%; border-radius: 6px; }
.prose figcaption { text-align: center; font-family: var(--sans); font-size: .82rem; color: var(--text-3); margin-top: .8em; line-height: 1.5; }
.prose .cramped { font-family: var(--sans); font-size: .9rem; line-height: 1.05; letter-spacing: -0.01em; color: var(--text-2); padding: 0 8%; text-align: justify; }

.post-foot { max-width: 680px; margin: 4.5rem auto 0; }
.sign { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--accent); }
.share { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.btn-line { font-family: var(--sans); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-2);
  border: 1px solid var(--border-2); background: none; border-radius: 40px; padding: .55rem 1.2rem; cursor: pointer; text-decoration: none; transition: all .2s; }
.btn-line:hover { color: var(--accent); border-color: var(--accent); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.2rem; }
.pn { text-decoration: none; display: flex; flex-direction: column; gap: .4rem; }
.pn:last-child { text-align: right; }
.pn span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.pn strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.3; transition: color .2s; }
.pn:hover strong { color: var(--accent); }

.callout { max-width: 680px; margin: 4.5rem auto 0; padding: 2.4rem; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-dim); }
.callout h2 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; margin-bottom: .8rem; }
.callout p:not(.eyebrow) { color: var(--text-2); line-height: 1.75; margin-bottom: 1.6rem; }
.btn-solid { display: inline-block; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 500;
  color: var(--bg); background: var(--accent); border-radius: 40px; padding: .75rem 1.6rem; text-decoration: none; transition: opacity .2s; }
.btn-solid:hover { opacity: .85; }

.notfound { max-width: 680px; margin: 0 auto; padding: 9rem 2rem; text-align: center; }
.notfound h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.notfound .lede { margin: 0 auto 2.2rem; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem; margin-top: 2rem; }
.foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: var(--text-3); letter-spacing: .03em; }
.foot-top a { color: var(--text-2); text-decoration: none; }
.foot-top a:hover { color: var(--accent); }
.foot-disc { margin-top: 1.4rem; font-size: .74rem; line-height: 1.7; color: var(--text-1); max-width: 900px; }
.foot-disc strong { font-weight: 700; color: var(--text-1); }

@media (max-width: 760px) {
  .site-nav { padding: 0 1.1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .66rem; letter-spacing: .05em; }
  .list-head { padding: 3.5rem 1.3rem 1.5rem; }
  .post-list { padding: 1rem 1.3rem 4rem; }
  .post-card.big { grid-template-columns: 1fr; gap: 1.2rem; }
  .post { padding: 3rem 1.25rem 2rem; }
  .prose { font-size: calc(1.06rem * var(--read-scale, 1)); }
  .prose figure { margin-left: -1.25rem; margin-right: -1.25rem; }
  .prose figure img { border-radius: 0; }
  .post-hero { margin-left: -1.25rem; margin-right: -1.25rem; margin-bottom: 2.5rem; }
  .post-hero img { border-radius: 0; }
  .prevnext { grid-template-columns: 1fr; }
  .pn:last-child { text-align: left; }
  .site-footer { padding: 2rem 1.3rem; }
}
@media (max-width: 420px) { .nav-links a[href="/practice/"] { display: none; } }

/* charts (static, single series) */
.prose figure.chart { margin: 3em 0; padding: 1.6rem 1.6rem 1.3rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg2); font-family: var(--sans); line-height: 1.4; }
.chart-title { text-align: left !important; font-size: .92rem !important; color: var(--text-1) !important; font-weight: 500; margin: 0 0 1.2rem !important; }
.bars { display: grid; gap: .55rem; }
.bar-row { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 1rem; align-items: center; padding: .15rem .3rem; margin: 0 -.3rem; border-radius: 4px; cursor: default; }
.bar-row:hover { background: var(--accent-dim); }
.bar-row dt { font-size: .8rem; color: var(--text-2); text-align: right; }
.bar-row dd { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.bar { display: block; height: 10px; width: var(--w); min-width: 2px; background: var(--accent); border-radius: 0 4px 4px 0; transition: filter .2s; }
.bar-row:hover .bar { filter: brightness(1.15); }
.bar-val { font-size: .78rem; color: var(--text-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-note { font-size: .78rem; color: var(--text-3); margin-top: 1rem; }
.prose .footnote { font-family: var(--sans); font-size: .82rem; line-height: 1.75; color: var(--text-2); }
@media (max-width: 760px) {
  .bar-row { grid-template-columns: 1fr; gap: .25rem; }
  .bar-row dt { text-align: left; }
  .prose figure.chart { padding: 1.2rem 1rem; }
}

/* ── Book mode (essays): Kindle-style pages ─────────────────────────────── */
body.paged { overflow: hidden; height: 100vh; height: 100dvh; }
body.paged .site-footer, body.paged #read-progress { display: none; }
.reader { position: fixed; top: 60px; bottom: 58px; left: 0; right: 0; padding: 26px 28px 6px; cursor: default; touch-action: none; }
.reader-view { height: 100%; margin: 0 auto; overflow: hidden; }
body.paged .post { padding: 0; height: 100%; column-fill: auto; transition: opacity .36s ease; }
.reader-view { position: relative; }
.page-ghost { position: absolute; top: 0; left: 0; pointer-events: none; }
body.paged .post-head { max-width: none; margin: 0 0 1.6rem; padding-top: 1.5rem; }
body.paged .post-head h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
body.paged .post-hero { max-width: none; margin: 0; break-after: column; break-inside: avoid; }
/* The cover is never cropped: it scales down to the room left under the title (--hero-h, measured in site.js). */
body.paged .post-hero img { aspect-ratio: auto; width: auto; height: auto; max-width: 100%; max-height: var(--hero-h, calc(var(--page-h) * .55)); object-fit: contain; margin: 0 auto; border-radius: 8px; }
body.paged .prose { max-width: none; margin: 0; }
body.paged .prose figure { margin: 1.6em 0 0; break-inside: avoid; }
body.paged .prose figure img { width: auto; max-width: 100%; max-height: calc(var(--page-h) - 5rem); margin: 0 auto; border-radius: 6px; }
body.paged .prose figure.chart { padding: 1rem 1.1rem; }
body.paged .prose figure.chart .bars { gap: .3rem; }
body.paged .prose h2, body.paged .prose h3, body.paged .prose h4 { break-after: avoid; }
body.paged .prose p, body.paged .prose li { orphans: 2; widows: 2; }
body.paged .post-foot { max-width: none; margin-top: 3rem; break-inside: avoid; }

.reader-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 58px; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  border-top: 1px solid var(--border); background: var(--bg); font-size: .78rem; color: var(--text-3); letter-spacing: .04em; }
.reader-bar button { background: none; border: 1px solid var(--border-2); color: var(--text-2); border-radius: 40px; height: 34px; min-width: 44px; padding: 0 .9rem;
  font-family: var(--sans); font-size: .95rem; cursor: pointer; transition: all .2s; }
.reader-bar button:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); }
.reader-bar button:disabled { opacity: .3; cursor: default; }
.reader-count { min-width: 11rem; text-align: center; font-variant-numeric: tabular-nums; }
.reader-count strong { color: var(--text-1); font-weight: 500; }
.bar-right { position: absolute; right: 1.2rem; display: inline-flex; gap: .5rem; }
.reader-bar .mode-btn, .reader-bar .fs-btn, .mode-float { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.mode-float { position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 40; background: var(--bg2); border: 1px solid var(--border-2); color: var(--text-2);
  border-radius: 40px; padding: .6rem 1rem; cursor: pointer; font-family: var(--sans); }
.mode-float:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) {
  .reader { padding: 18px 22px 4px; }
  body.paged .post-hero, body.paged .prose figure { margin-left: 0; margin-right: 0; }
  body.paged .post-hero img, body.paged .prose figure img { border-radius: 6px; }
  .reader-bar { gap: .6rem; justify-content: flex-start; padding-left: 1rem; }
  .reader-count { min-width: 0; flex: 1; text-align: center; }
  .bar-right { position: static; margin-right: 1rem; }
  .reader-bar .fs-txt { display: none; }
  .reader-bar .fs-btn { padding: 0 .75rem; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { body.paged .post { transition: none; } }
body.paged .site-nav { background: var(--bg); border-bottom-color: var(--border); }

/* Menu fades back until the pointer comes near the top (mouse/trackpad only; touch keeps it fully visible). */
@media (hover: hover) and (pointer: fine) {
  /* Fade only the logo and links; the bar's background stays solid so text scrolling underneath never shows through. */
  .site-nav > * { opacity: .3; transition: opacity .35s ease; }
  html.nav-near .site-nav > *, .site-nav:hover > *, .site-nav:focus-within > * { opacity: 1; }
}
/* One / two column switch (book mode) */
.cols-ctl { position: absolute; left: 1.2rem; display: inline-flex; border: 1px solid var(--border-2); border-radius: 40px; overflow: hidden; }
.cols-ctl[hidden] { display: none; }
.reader-bar .cols-ctl button { border: none; border-radius: 0; height: 30px; min-width: 0; padding: 0 .85rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.reader-bar .cols-ctl button[aria-pressed="true"] { background: var(--accent-dim); color: var(--text-1); }
.reader-bar .cols-ctl button:hover { color: var(--accent); border-color: transparent; }

/* Full-screen reading: hide the site menu and give the page the whole screen. */
body.paged.fs .site-nav { display: none; }
body.paged.fs .reader { top: 0; padding-top: 34px; }

/* Reading bar fades back like the menu, until the pointer comes near the bottom (mouse/trackpad only). */
@media (hover: hover) and (pointer: fine) {
  .reader-bar > * { opacity: .3; transition: opacity .35s ease; }
  html.bar-near .reader-bar > *, .reader-bar:hover > *, .reader-bar:focus-within > * { opacity: 1; }
}

/* For the first few seconds after a page loads, menu and reading bar stay fully visible (see INTRO_MS). */
@media (hover: hover) and (pointer: fine) {
  html.ui-intro .site-nav > *, html.ui-intro .reader-bar > * { opacity: 1; }
  html.ui-intro-out .site-nav > *, html.ui-intro-out .reader-bar > * { transition-duration: 1.5s; }   /* FIRST_FADE_MS */
}

/* Reading-font menu (the "Aa" button in the menu bar) */
.font-btn { background: none; border: none; cursor: pointer; color: var(--text-2); font-family: var(--display); font-size: 1.05rem; padding: 0 .1rem; transition: color .2s; }
.font-btn:hover, .font-btn[aria-expanded="true"] { color: var(--accent); }
.font-menu { position: fixed; top: 64px; right: 1.6rem; z-index: 70; width: 250px; padding: .5rem; border-radius: 12px;
  background: var(--bg2); border: 1px solid var(--border-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.font-menu[hidden] { display: none; }
.font-menu .fm-label { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); padding: .55rem .7rem .4rem; }
.font-menu button { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 1px solid transparent; border-radius: 8px;
  padding: .55rem .7rem; color: var(--text-2); font-size: 1.05rem; cursor: pointer; text-align: left; }
.font-menu button:hover { background: var(--accent-dim); color: var(--text-1); }
.font-menu button[aria-checked="true"] { color: var(--text-1); border-color: var(--accent); }
.font-menu button[aria-checked="true"]::after { content: "✓"; color: var(--accent); font-family: var(--sans); font-size: .85rem; }
@media (max-width: 760px) { .font-menu { right: .8rem; top: 58px; } }

/* Aa in the bottom reading bar */
.reader-bar .font-btn { font-family: var(--display); font-size: .95rem; text-transform: none; letter-spacing: 0; padding: 0 .8rem; }

/* Phones: fit ‹ count › Aa ⛶ Scroll on one line */
@media (max-width: 760px) {
  .reader-bar { gap: .35rem; padding: 0 .6rem; justify-content: space-between; }
  .reader-bar button { min-width: 34px; height: 34px; padding: 0 .55rem; }
  .reader-count { white-space: nowrap; font-size: .74rem; }
  .bar-right { margin-right: 0; gap: .35rem; }
  .reader-bar .mode-btn { padding: 0 .65rem; letter-spacing: .06em; }
  .reader-bar .font-btn { padding: 0 .55rem; }
}

/* ── Full-screen sections (Teachings): one screen per principle ─────────── */
body.snap-page main { padding-top: 0; }
.panel { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; position: relative;
  padding: calc(60px + clamp(16px, 4vh, 48px)) 1.6rem clamp(28px, 6vh, 64px); border-bottom: 1px solid var(--border); }
.panel-inner { position: relative; width: 100%; max-width: 720px; }
.panel-intro { text-align: center; background-image: var(--bg, none); background-size: cover; background-position: center; }
.panel-intro::before { content: ""; position: absolute; inset: 0; background: rgba(14,13,12,0.74); }
.panel-intro { --text-1: rgba(238,232,220,0.94); --text-2: rgba(238,232,220,0.68); --text-3: rgba(238,232,220,0.42); color: var(--text-1); }
.panel-intro h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, min(9vw, 12vh), 6rem); line-height: 1; margin-bottom: 1.2rem; }
.panel-intro .lede { margin: 0 auto; color: var(--text-2); }
.scroll-cue { margin-top: clamp(1.6rem, 7vh, 3.5rem); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.scroll-cue span { display: inline-block; margin-left: .3rem; animation: cueBob 2.4s ease-in-out infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.p-num { font-family: var(--display); font-style: italic; color: var(--accent); font-size: clamp(2.4rem, 8vh, 4.4rem); line-height: 1; margin-bottom: clamp(.5rem, 2vh, 1.2rem); }
.panel h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, min(5.5vw, 6vh), 3.1rem); line-height: 1.12; margin-bottom: clamp(.8rem, 3vh, 1.6rem); }
.p-text { font-family: var(--read); font-weight: var(--read-w, 400); font-size: calc(clamp(1.02rem, 2.4vh, 1.24rem) * var(--read-scale, 1)); line-height: 2; color: var(--text-2); }
.p-text p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.panel-end .callout { margin: 0 auto; }
.panel-dots { position: fixed; right: 1.3rem; top: 50%; transform: translateY(-50%); z-index: 45; display: flex; flex-direction: column; gap: .75rem; }
.panel-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid var(--text-3); background: transparent; cursor: pointer; transition: all .3s; }
.panel-dots button:hover { border-color: var(--accent); }
.panel-dots button.on { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
@media (max-width: 760px) {
  .panel { padding: calc(56px + 2.2vh) 1.9rem 3vh 1.3rem; }
  .p-num { font-size: clamp(1.9rem, 6vh, 3rem); margin-bottom: .4rem; }
  .panel h2 { font-size: clamp(1.45rem, 4.2vh, 2.1rem); margin-bottom: clamp(.5rem, 1.8vh, 1rem); }
  .p-text { font-size: calc(clamp(.9rem, 2.3vh, 1.04rem) * var(--read-scale, 1)); line-height: 1.68; }
  .panel-dots { right: .55rem; gap: .6rem; }
  .panel-dots button { width: 7px; height: 7px; }
}

/* Several paragraphs on one section screen (e.g. Start Here #2), and its "cramped Internet text" demo */
.p-text p + p { margin-top: 1em; }
.p-text .cramped { font-family: var(--sans); font-size: .82rem; line-height: 1.05; letter-spacing: -0.01em; color: var(--text-3); padding: 0 6%; text-align: justify; }
