/* Strides — blog
 *
 * Loaded after site.css, so it inherits the tokens, nav, footer, pills and the
 * Home dialect's shape rule (cards 26, panels 18, cells 12). What it adds is a
 * reading experience: the serif carries the long sentences, figures sit on white
 * slabs, and charts keep one colour story: pink is hard, anaerobic work (the
 * app's speed hue), blue is aerobic work (the app's easy hue).
 */

@font-face { font-family: "Newsreader"; src: url("/assets/fonts/Newsreader-Italic-Variable.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(root) { animation: blog-out .22s var(--ease) both; }
::view-transition-new(root) { animation: blog-in .42s var(--ease-out) both; }
::view-transition-group(title-power) { z-index: 2; }
::view-transition-old(title-power) { animation: blog-out .1s linear both; }
::view-transition-new(title-power) { animation: blog-in-plain .3s var(--ease) both; }
@keyframes blog-in-plain { from { opacity: 0; } }
.blog .nav { view-transition-name: site-nav; }
@keyframes blog-out { to { opacity: 0; } }
@keyframes blog-in { from { opacity: 0; transform: translateY(8px); } }

:root {
  --measure: 724px;
  --text-measure: 640px;
  --hard: #a62f5c;
  --aerobic: #3a78b5;
  --body: color-mix(in srgb, var(--ink) 90%, var(--canvas));
}
@media (prefers-color-scheme: dark) {
  :root { --hard: #d45a8a; --aerobic: #5798e0; }
}
.fill-swatch-hard { background: var(--hard); }
.fill-swatch-aer { background: var(--aerobic); }

.blog { padding-top: 68px; }
@media (max-width: 860px) { .blog { padding-top: 60px; } }

/* ---------- Cover art: ground force, step by step ---------- */

.cover-art { display: block; width: 100%; height: auto; font-family: var(--sans); }
.cover-art .cover-area { fill: url(#cover-fill); }
.cover-art .cover-edge { fill: none; stroke: #f3a0bf; stroke-width: 2; stroke-linejoin: round; }
.cover-art .cover-bw { stroke: #ffffff26; stroke-width: 1; }
.cover-art .cover-ground { stroke: #ffffff3d; stroke-width: 1; }
.cover-art .cover-bracket { fill: none; stroke: #ffffff59; stroke-width: 1.25; }
.cover-art .cover-dot { fill: #f5f5f7; stroke: #0e0e10; stroke-width: 2; }
.cover-art .cover-note { fill: #8e8e94; font-size: 14px; letter-spacing: .01em; }
.cover-art .cover-strong { fill: #f5f5f7; font-weight: 600; }
.cover-art .cover-step { transform-box: fill-box; transform-origin: 50% 100%; }

/* The steps rise from the ground one after another, once. */
.js .cover-art[data-develop] .cover-step { transform: scaleY(0); }
.js .cover-art[data-develop] :is(.cover-dot, .cover-note, .cover-bracket) { opacity: 0; }
.js .cover-art[data-develop].is-in .cover-step { transform: none; transition: transform .9s var(--ease-out) calc(var(--i) * 90ms + 150ms); }
.js .cover-art[data-develop].is-in :is(.cover-dot, .cover-note, .cover-bracket) { opacity: 1; transition: opacity .7s var(--ease-out) 800ms; }

/* Arriving by page transition, everything is already in place. */
.vt-arrive [data-enter] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
.vt-arrive .cover-art[data-develop] .cover-step { transform: none !important; transition: none !important; }
.vt-arrive .cover-art[data-develop] :is(.cover-dot, .cover-note, .cover-bracket) { opacity: 1 !important; transition: none !important; }

.cover { --cover: #0e0e10; position: relative; background: #0e0e10; border-radius: var(--r-card); overflow: hidden; }
@media (prefers-color-scheme: dark) { .cover { --cover: #161618; background: #161618; box-shadow: inset 0 0 0 1px var(--card-edge); } }

/* ---------- Index ---------- */

.blog-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: end; column-gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0 clamp(26px, 3vw, 36px); }
.blog-head .label { grid-column: 1 / -1; margin-bottom: 16px; }
.blog-head h1 { font-size: clamp(50px, 6.9vw, 84px); }
.blog-head .lede { font-size: 17px; line-height: 1.48; padding-bottom: .55em; }
@media (max-width: 900px) {
  .blog-head { grid-template-columns: minmax(0, 1fr); }
  .blog-head .lede { margin-top: 18px; padding-bottom: 0; }
}

.feature { display: block; position: relative; color: #f5f5f7; transition: transform .5s var(--ease-out); }
.feature:focus-visible { outline-offset: 5px; border-radius: var(--r-card); }
.feature .cover { padding-top: clamp(16px, 3vw, 36px); }
.feature-copy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 20px clamp(24px, 5vw, 72px); padding: clamp(20px, 3vw, 28px) clamp(24px, 4vw, 44px) clamp(28px, 4vw, 44px); }
.feature-copy .label { grid-column: 1 / -1; color: #9a9aa0; }
.feature-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 68px); line-height: 1; letter-spacing: -.028em; text-wrap: balance; }
.feature-side p { color: #b6b6bc; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.feature-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: #f5f5f7; color: #0b0b0c; font-size: 15.5px; font-weight: 500; transition: background-color .2s var(--ease); }
.feature-go .icon { font-size: 17px; transition: transform .35s var(--ease-out); }
@media (hover: hover) {
  .feature:hover { transform: translateY(-3px); }
  .feature:hover .feature-go .icon { transform: translate(2px, -2px); }
  .feature:hover .feature-go { background: #ffffff; }
}
.feature:active { transform: scale(.995); }


.more { padding-top: clamp(64px, 8vw, 96px); }
.more h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -.022em; margin-bottom: 22px; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .4s var(--ease-out); }
.post-card .cover { border-radius: 0; }
.post-card-copy { padding: 22px 26px 28px; }
.post-card h3 { font-family: var(--serif); font-weight: 400; font-size: 29px; line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 10px; text-wrap: balance; }
.post-card p:not(.label) { color: var(--text-2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
@media (hover: hover) { .post-card:hover { transform: translateY(-3px); } }

.follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 12px; padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 36px); }
.follow h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.follow p { color: var(--text-2); font-size: 16px; margin-top: 6px; }
.follow-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--strong-hairline); }
.pill-line .icon { font-size: 18px; }
@media (hover: hover) { .pill-line:hover { box-shadow: inset 0 0 0 1px var(--secondary); } }

@media (max-width: 860px) {
  .feature-copy { grid-template-columns: minmax(0, 1fr); }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  /* Crop in on phones, so the steps stay large enough to read. */
  .cover .cover-art { width: 150%; margin-left: -4%; }
  .cover .cover-art :is(.cover-note, .cover-bracket) { display: none; }
  .feature .cover, .cover { border-radius: 22px; }
  .follow { border-radius: 22px; }
  .follow-actions, .follow-actions .pill { width: 100%; }
}

/* ---------- Article: head ---------- */

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--read, 0)); background: var(--ink); will-change: transform; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-left: -10px; padding: 7px 12px 7px 8px; border-radius: 999px; color: var(--text-2); font-size: 15px; transition: color .2s var(--ease), background-color .2s var(--ease); }
.back .icon { font-size: 18px; transition: transform .3s var(--ease-out); }
@media (hover: hover) {
  .back:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
  .back:hover .icon { transform: translateX(-2px); }
}

.article-head { padding: clamp(30px, 5vw, 58px) 0 clamp(30px, 4vw, 46px); }
.article-head .inner { max-width: 920px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.article-head > .back { margin-bottom: clamp(24px, 4vw, 40px); }
.article-head .label { margin-bottom: 20px; }
.article-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 8.6vw, 112px); line-height: .97; letter-spacing: -.03em; text-wrap: balance; }
.dek { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 27px); line-height: 1.32; letter-spacing: -.012em; color: var(--text-2); max-width: 30em; margin-top: 24px; text-wrap: balance; }
.byline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin-top: 24px; font-size: 14.5px; color: var(--secondary); }
.byline i { width: 3px; height: 3px; border-radius: 50%; background: var(--tertiary); }
.blog .footer nav { margin-left: 0; }
.byline-author { color: var(--ink); font-weight: 500; }

/* ---------- Article: layout ---------- */

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--measure)) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 48px); align-items: start; }
.toc { position: sticky; top: 100px; max-width: 208px; }
.toc-head { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); margin-bottom: 12px; }
.toc-list { position: relative; display: grid; gap: 1px; margin-left: -12px; }
.toc-list a { position: relative; z-index: 1; display: block; padding: 6px 12px; border-radius: 12px; font-size: 14px; line-height: 1.3; color: var(--secondary); transition: color .25s var(--ease); text-wrap: pretty; }
.toc-list a:hover { color: var(--ink); }
.toc-list a.is-current { color: var(--ink); font-weight: 500; }
.toc-mark { position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6.5%, transparent); transition: transform .45s var(--ease-out), height .45s var(--ease-out), opacity .3s var(--ease); opacity: 0; }
.toc-left { margin-top: 14px; font-size: 13px; color: var(--secondary); font-variant-numeric: tabular-nums; }

.prose { grid-column: 2; min-width: 0; }
.prose > p, .prose > ul, .prose > h2, .prose > .pull, .prose > .caveats, .prose > .answers, .prose > .refs, .prose > .further, .prose > .disclaimer, .prose > .share { max-width: var(--text-measure); margin-inline: auto; }
.prose > p, .prose > ul, .prose > ol { font-family: var(--serif); font-size: 21px; line-height: 1.56; letter-spacing: -.003em; color: var(--body); font-variant-numeric: lining-nums; text-wrap: pretty; }
.prose > p { margin-top: 1.05em; }
.prose > p:first-child { margin-top: 0; }
.prose > p:first-child::first-letter { float: left; font-size: 4.25em; line-height: .8; padding: .07em .06em 0 0; color: var(--ink); }
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .prose > p:first-child::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0 .16em 0 0; -webkit-initial-letter: 3; initial-letter: 3; }
}
.prose em { font-style: italic; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose > p a:not(.cite), .answers a, .refs a, .caption a, .further a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--tertiary); transition: text-decoration-color .2s var(--ease); }
.prose > p a:not(.cite):hover, .answers a:hover, .refs a:hover, .caption a:hover, .further a:hover { text-decoration-color: var(--ink); }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.5vw, 41px); line-height: 1.06; letter-spacing: -.024em; color: var(--ink); margin-top: clamp(60px, 7vw, 84px); margin-bottom: -.06em; text-wrap: balance; scroll-margin-top: 92px; }
.prose > ul { display: grid; gap: .45em; margin-top: .9em; }
.prose > ul li { position: relative; padding-left: 1.05em; }
.prose > ul li::before { content: ""; position: absolute; left: .1em; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--tertiary); }

/* Superscript citation; the popover lives at the end of the body. */
.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5em; height: 1.5em; margin: 0 .08em 0 .14em; padding: 0 .3em; border-radius: 999px; vertical-align: .32em; font-family: var(--sans); font-size: .54em; font-weight: 600; line-height: 1; color: var(--secondary); background: color-mix(in srgb, var(--ink) 7%, transparent); transition: background-color .2s var(--ease), color .2s var(--ease); position: relative; }
.cite::after { content: ""; position: absolute; inset: -9px -5px; } /* A finger-sized target. */
.cite:hover, .cite.is-open { background: var(--ink); color: var(--on-ink); }
.pop { position: absolute; z-index: 60; width: min(360px, calc(100vw - 24px)); padding: 16px 18px 15px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-float); font-size: 14.5px; line-height: 1.42; color: var(--text-2); opacity: 0; transform: translateY(4px) scale(.985); transform-origin: var(--ox, 50%) var(--oy, 100%); transition: opacity .16s var(--ease), transform .24s var(--ease-out); pointer-events: none; visibility: hidden; }
.pop.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.pop b { display: block; font-weight: 600; color: var(--ink); letter-spacing: -.005em; margin-bottom: 1px; }
.pop .pop-source { color: var(--secondary); font-size: 13px; margin-bottom: 8px; }
.pop a { display: inline-flex; align-items: center; gap: 4px; margin-top: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.pop a .icon { font-size: 15px; }

/* ---------- Article: blocks ---------- */

.short { margin-top: 34px; padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 32px) clamp(24px, 3vw, 32px); }
.short .label { margin-bottom: 14px; }
.short ul { display: grid; gap: 12px; }
.short li { position: relative; padding-left: 26px; font-size: 16.5px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.short li strong { color: var(--ink); font-weight: 600; }
.short li .icon { position: absolute; left: 0; top: .22em; font-size: 17px; color: var(--ink); }

.fig { margin-top: 34px; margin-bottom: 8px; padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 28px) clamp(18px, 2.6vw, 24px); }
.fig + p, .duo + p, .pull + p, .sessions + p, .short + p { margin-top: 30px; }
.fig-q { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 26px); line-height: 1.16; letter-spacing: -.018em; color: var(--ink); text-wrap: balance; }
.fig-sub { color: var(--text-2); font-size: 14.5px; line-height: 1.4; margin-top: 7px; text-wrap: pretty; }
.fig-plot { margin-top: 18px; position: relative; }
.fig-plot svg { display: block; width: 100%; overflow: visible; touch-action: pan-y; }
.caption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 13px; line-height: 1.42; color: var(--secondary); text-wrap: pretty; }
.chart-ink { fill: var(--ink); } .chart-2 { fill: var(--text-2); } .chart-3 { fill: var(--secondary); }
.chart-txt { font-family: var(--sans); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.chart-big { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.chart-grid { stroke: var(--hairline); stroke-width: 1; }
.base-line { stroke: var(--strong-hairline); stroke-width: 1; }
.chart-hard { stroke: var(--hard); } .chart-aer { stroke: var(--aerobic); }
.fill-hard { fill: var(--hard); } .fill-aer { fill: var(--aerobic); }

.scrub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; margin-top: 16px; min-height: 26px; font-size: 14.5px; color: var(--text-2); }
.scrub b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.scrub .swatch { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 7px; vertical-align: .04em; }
.fig .chips { margin-top: 16px; }
.fig .chip { height: 34px; padding: 0 13px; font-size: 14px; }
.chart-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13.5px; }
.chart-table th, .chart-table td { padding: 6px 8px 6px 0; text-align: left; border-top: 1px solid var(--hairline); font-weight: 400; }
.chart-table th { color: var(--secondary); }
.js .chart-table.is-charted { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }

/* The trial ledger is a real table: the bars are its cells. */
.ledger { width: 100%; border-collapse: collapse; margin-top: 16px; }
.ledger th { padding: 0 0 8px; text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); }
.ledger td { padding: 14px 0; border-top: 1px solid var(--hairline); vertical-align: top; }
.ledger .who { width: 31%; padding-right: 14px; font-size: 14.5px; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; }
.ledger .who span { display: block; font-weight: 400; font-size: 13px; color: var(--secondary); margin-top: 2px; letter-spacing: 0; }
.ledger .cut { width: 25%; padding-right: 20px; }
.ledger .res { font-size: 14.5px; line-height: 1.38; color: var(--text-2); }
.ledger .res b { display: block; color: var(--ink); font-weight: 600; letter-spacing: -.005em; }
.cut-val { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cut-bar { display: block; height: 6px; margin-top: 7px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.cut-bar i { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 999px; background: var(--ink); transform-origin: 0 50%; }
.js .fig[data-reveal] .cut-bar i, .js .fig[data-reveal] .econ-bar i { transform: scaleX(0); }
.js .fig[data-reveal].is-in .cut-bar i, .js .fig[data-reveal].is-in .econ-bar i { transform: none; transition: transform 1.05s var(--ease-out) calc(var(--n, 0) * 70ms + 120ms); }
.ledger tr.is-null .cut-bar i { background: var(--ink); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin-top: 7px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--secondary); background: color-mix(in srgb, var(--ink) 6%, transparent); }

.econ { width: 100%; border-collapse: collapse; margin-top: 16px; }
.econ td { padding: 12px 0; border-top: 1px solid var(--hairline); vertical-align: middle; }
.econ tr:first-child td { border-top: 0; }
.econ .what { width: 44%; padding-right: 16px; font-size: 14.5px; line-height: 1.28; font-weight: 600; letter-spacing: -.005em; }
.econ .what span { display: block; font-weight: 400; font-size: 13px; color: var(--secondary); margin-top: 2px; letter-spacing: 0; }
.econ-bar { position: relative; display: block; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.econ-bar i { position: absolute; top: 0; bottom: 0; left: calc(var(--from, 0) * 1%); width: calc((var(--to) - var(--from, 0)) * 1%); border-radius: 999px; background: var(--hard); transform-origin: 0 50%; }
.econ .val { width: 68px; padding-left: 12px; text-align: right; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; padding: 0; }
.duo > div { padding: clamp(20px, 3vw, 26px) clamp(20px, 3vw, 28px); }
.duo > div + div { border-left: 1px solid var(--hairline); }
.duo .figure { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 52px); line-height: 1; letter-spacing: -.025em; font-variant-numeric: lining-nums; margin-top: 10px; }
.duo p:not(.label):not(.figure) { color: var(--text-2); font-size: 15px; line-height: 1.4; margin-top: 8px; text-wrap: pretty; }

.pull { margin-block: 42px 0; padding: 4px 0 4px clamp(20px, 3vw, 28px); border-left: 2px solid var(--ink); }
.pull p { font-family: var(--serif); font-size: clamp(27px, 3.3vw, 36px); line-height: 1.14; letter-spacing: -.022em; color: var(--ink); text-wrap: balance; }
.pull cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--secondary); }
.pull cite a { text-decoration: underline; text-decoration-color: var(--tertiary); text-underline-offset: 3px; }

.sessions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.session { display: flex; flex-direction: column; padding: 22px 24px 22px; border-radius: 22px; }
.session h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; margin-top: 8px; }
.session .rx { font-size: 15px; font-weight: 500; margin-top: 5px; letter-spacing: -.005em; }
.session .profile { margin: 16px 0 14px; height: 34px; }
.session p:not(.label):not(.rx):not(.who) { color: var(--text-2); font-size: 14.5px; line-height: 1.44; text-wrap: pretty; }
.nb { white-space: nowrap; }
.session .who { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--secondary); }

.caveats { margin-top: 26px; display: grid; width: 100%; }
.caveats > div { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 15px 0; border-top: 1px solid var(--strong-hairline); }
.caveats > div:last-child { border-bottom: 1px solid var(--strong-hairline); }
.caveats .n { font-size: 13px; font-weight: 600; color: var(--secondary); line-height: 1.75; font-variant-numeric: tabular-nums; }
.caveats p { font-family: var(--serif); font-size: 19.5px; line-height: 1.42; color: var(--body); font-variant-numeric: lining-nums; text-wrap: pretty; }

/* ---------- Article: foot ---------- */

.article-cta { margin-top: clamp(52px, 7vw, 76px); color: #f5f5f7; background: #0e0e10; border-radius: var(--r-card); padding: clamp(26px, 4vw, 40px); box-shadow: inset 0 0 0 1px var(--card-edge); }
.article-cta h2 { margin: 0 !important; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.06; letter-spacing: -.024em; color: inherit; text-wrap: balance; }
.article-cta p { margin-top: 12px; color: #b6b6bc; font-size: 16.5px; line-height: 1.48; text-wrap: pretty; max-width: 31em; }
.article-cta .pill { margin-top: 22px; background: #f5f5f7; color: #0b0b0c; }
@media (prefers-color-scheme: dark) { .article-cta { background: #161618; } }

.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prose > .share { max-width: none; }
.share .pill .icon { font-size: 17px; }

.prose .foot-h { font-size: clamp(28px, 3vw, 34px); letter-spacing: -.02em; margin-top: clamp(56px, 7vw, 76px); margin-bottom: 16px; }
.answers details { border-top: 1px solid var(--strong-hairline); }
.answers details:last-child { border-bottom: 1px solid var(--strong-hairline); }
.answers summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; letter-spacing: -.008em; line-height: 1.3; }
.answers summary::-webkit-details-marker { display: none; }
.answers summary .icon { font-size: 20px; flex: none; color: var(--secondary); transition: transform .35s var(--ease-out); }
.answers details[open] summary .icon { transform: rotate(45deg); }
.answers .a { padding: 0 34px 18px 0; color: var(--text-2); font-size: 16px; line-height: 1.5; text-wrap: pretty; }

.refs { counter-reset: none; display: grid; gap: 0; }
.refs li { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 11px 0; border-top: 1px solid var(--hairline); font-size: 14.5px; line-height: 1.42; color: var(--text-2); scroll-margin-top: 92px; transition: background-color .6s var(--ease); }
.refs li > span { color: var(--secondary); font-size: 13px; font-weight: 600; line-height: 1.6; font-variant-numeric: tabular-nums; }
.refs li:target { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.refs em { font-style: italic; font-family: var(--serif); font-size: 1.04em; }
.further { display: grid; gap: 7px; font-size: 15px; line-height: 1.4; color: var(--text-2); }
.disclaimer { margin-top: 24px; font-size: 13.5px; line-height: 1.45; color: var(--secondary); }

/* ---------- Contents pill (phones) ---------- */

.toc-pill, .toc-sheet { display: none; }
@media (max-width: 1080px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .prose { grid-column: 1; width: min(var(--measure), 100%); margin-inline: auto; }
  .toc { display: none; }
  .toc-pill { position: fixed; z-index: 45; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); height: 46px; padding: 0 18px 0 13px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--card) 88%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: var(--shadow-float); font-size: 14.5px; font-weight: 500; letter-spacing: -.005em; transform: translate(-50%, 90px); transition: transform .5s var(--ease-out); }
  .toc-pill.is-shown { transform: translate(-50%, 0); }
  .toc-pill:active { transform: translate(-50%, 0) scale(.97); }
  .toc-pill span.t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .toc-ring { flex: none; width: 22px; height: 22px; transform: rotate(-90deg); }
  .toc-ring circle { fill: none; stroke-width: 2.5; }
  .toc-ring .bg { stroke: var(--strong-hairline); }
  .toc-ring .fg { stroke: var(--ink); stroke-linecap: round; }
  .toc-sheet { display: block; position: fixed; z-index: 46; left: 12px; right: 12px; bottom: 12px; max-height: 70vh; overflow: auto; padding: 20px 20px 14px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-float); transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; }
  .toc-sheet.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
  .toc-sheet .toc-head { margin-bottom: 8px; }
  .toc-sheet a { display: block; padding: 11px 0; border-top: 1px solid var(--hairline); font-size: 16px; line-height: 1.3; color: var(--text-2); }
  .toc-sheet a.is-current { color: var(--ink); font-weight: 500; }
  .toc-scrim { position: fixed; inset: 0; z-index: 44; background: #00000040; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
  .toc-scrim.is-open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1081px) { .toc-scrim { display: none; } }

@media (max-width: 640px) {
  .prose > p, .prose > ul { font-size: 19.5px; line-height: 1.54; }
  .fig, .short { border-radius: 22px; }
  .duo { border-radius: 22px; }
  .duo .figure { font-size: 36px; }
  .sessions { grid-template-columns: minmax(0, 1fr); }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: auto; }
  .ledger thead { display: none; }
  .ledger tr { padding: 14px 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px 14px; }
  .ledger td { padding: 0; border: 0; }
  .ledger .who { width: auto; padding: 0; }
  .ledger .cut { width: auto; padding: 0; }
  .ledger .res { grid-column: 1 / -1; }
  .econ .what { width: 56%; }
  .pop { position: fixed; left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; transform-origin: 50% 100%; transform: translateY(16px); }
  .caveats p { font-size: 18px; }
}

/* ---------- Motion ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(14px); filter: blur(5px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease-out), transform 1.05s var(--ease-out), filter .9s var(--ease-out); }

.js [data-enter] { opacity: 0; transform: translateY(16px); filter: blur(6px); }
.fonts-ready.js [data-enter] { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease-out), transform 1.15s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .js [data-reveal], .js [data-enter] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .js .cover-art[data-develop] .cover-step { transform: none !important; transition: none !important; }
  .js .cover-art[data-develop] :is(.cover-dot, .cover-note, .cover-bracket) { opacity: 1 !important; transition: none !important; }
  .js .cut-bar i, .js .econ-bar i { transform: none !important; transition: none !important; }
  .toc-mark, .toc-pill, .toc-sheet, .feature, .post-card { transition: none !important; }
}
