/* paultate.men
   Navy page, ice type, and one run of blues that lightens through the twelve letters.
   The Mars glyph is the mark: it carries each letter's number and fills in once that letter is read. */

@font-face { font-family: 'Archivo'; src: url('../fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-ext.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata-ext.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata-ext-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --night: #0a1423; --deep: #0e1c30; --raised: #132540; --line: #2a4367; --paper: #eef4fc; --dim: #9cb3d1; --cobalt: #164dc8;
  --h0: #538cff; --h1: #5b95ff; --h2: #649fff; --h3: #6ea8ff; --h4: #78b0ff; --h5: #83b9ff;
  --h6: #8ec1ff; --h7: #9ac9ff; --h8: #a6d1ff; --h9: #b2d9ff; --h10: #bfe1ff; --h11: #cce8ff;
  --hue: var(--h4);
  --sans: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --wide: 73.75rem;
  color-scheme: dark;
}
.hue-0 { --hue: var(--h0); } .hue-1 { --hue: var(--h1); } .hue-2 { --hue: var(--h2); } .hue-3 { --hue: var(--h3); }
.hue-4 { --hue: var(--h4); } .hue-5 { --hue: var(--h5); } .hue-6 { --hue: var(--h6); } .hue-7 { --hue: var(--h7); }
.hue-8 { --hue: var(--h8); } .hue-9 { --hue: var(--h9); } .hue-10 { --hue: var(--h10); } .hue-11 { --hue: var(--h11); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--night); color: var(--paper); font: 400 1.0625rem/1.5 var(--sans); font-stretch: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, blockquote, figure { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--hue); outline-offset: 3px; }
::selection { background: var(--paper); color: var(--night); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The mark. */
.mars { display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: butt; stroke-linejoin: miter; }
.mars text { fill: currentColor; stroke: none; font: 900 36px/1 var(--sans); font-stretch: 62%; text-anchor: middle; dominant-baseline: central; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--paper); color: var(--night); padding: .6rem .9rem; font-weight: 700; z-index: 10; }
.skip:focus { top: 1rem; }

/* ---------- header ---------- */
.top { max-width: var(--wide); margin-inline: auto; padding: 1.1rem clamp(1rem, 4vw, 2rem); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.name { display: inline-flex; align-items: center; gap: .5rem; font: 900 1.5rem/1 var(--sans); font-stretch: 70%; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.name .mars { width: 1.3rem; height: 1.3rem; color: var(--h1); stroke-width: 12; }
.top nav { display: flex; gap: .25rem 1.5rem; flex-wrap: wrap; }
.top nav a { font-weight: 600; font-size: 1rem; text-decoration: none; padding: .35rem 0; border-bottom: 3px solid transparent; }
.top nav a:hover, .top nav a:focus-visible { border-bottom-color: var(--hue); }
.top nav a { --hue: var(--h2); }

/* ---------- hero ---------- */
.hero { max-width: var(--wide); margin-inline: auto; padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2rem) 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1rem, 4vw, 3rem); align-items: end; }
.hero-text { padding-bottom: clamp(2rem, 5vw, 4rem); }
.hero h1 { font: 900 clamp(3.4rem, 15.5vw, 12.25rem)/.8 var(--sans); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.005em; margin-left: -.03em; }
.hero h1 span { display: block; }
.subtitle { font: italic 400 clamp(1.25rem, 2.6vw, 1.9rem)/1.2 var(--serif); margin-top: clamp(1rem, 2.2vw, 1.6rem); color: var(--h8); }
.salutation { font: 400 clamp(1.15rem, 1.9vw, 1.5rem)/1.5 var(--serif); max-width: 34ch; margin-top: clamp(1.4rem, 3vw, 2.4rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.button { display: inline-flex; align-items: center; min-height: 3.25rem; padding: .7rem 1.4rem; background: var(--h1); color: var(--night); border: 0; border-radius: 3px; font: 800 1.15rem/1 var(--sans); font-stretch: 88%; text-decoration: none; }
.button:hover { background: var(--h6); }
.quiet { color: var(--dim); text-underline-offset: .25em; }
.quiet:hover { color: var(--paper); }

/* Paul. The still is the background; the canvas takes over once his sheet has loaded. */
.paul { aspect-ratio: 1; background: center / contain no-repeat; }
.paul canvas { display: block; width: 100%; height: 100%; visibility: hidden; }
.paul.is-live { background-image: none !important; }
.paul.is-live canvas { visibility: visible; }
.paul.author { background-image: url('../paul/day-still.webp'); }
html[data-outfit='night'] .paul.author { background-image: url('../paul/night-still.webp'); }
.paul.date { background-image: url('../paul/date-still.webp'); }
.paul.gym { background-image: url('../paul/workout-still.webp'); }
.emblem { position: relative; width: clamp(12rem, 34vw, 27rem); margin-bottom: -6.5%; }
.emblem .mars { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--h1); stroke-width: 5.5; }
.emblem .mars circle { fill: var(--cobalt); }
.emblem .paul { position: relative; cursor: pointer; }

.ground { height: .75rem; background: var(--cobalt); }

/* ---------- bands ---------- */
.band { max-width: var(--wide); margin-inline: auto; padding: clamp(3rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2rem) 0; }
/* On the home page each section sits on its own shade, edge to edge. */
.home .band { --bg: var(--night); padding-block: clamp(2.5rem, 6vw, 4.75rem); background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
.home #dating, .home #ask { --bg: var(--deep); }
.home #book { --bg: var(--cobalt); --hue: #fff; --dim: #d6e4fb; --line: #4b78dc; }
.home .foot { margin-top: 0; border-top: 0; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.band-head { display: grid; gap: .9rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.band-head h1, .band-head h2 { font: 900 clamp(2.5rem, 7vw, 5rem)/.92 var(--sans); font-stretch: 66%; letter-spacing: -.005em; }
.band-head p { font: 400 clamp(1.1rem, 1.7vw, 1.3rem)/1.5 var(--serif); max-width: 46ch; }

/* The run: twelve letters, each under its own numbered mark. A letter the reader has reached is a full row;
   the ones still ahead stand in a rack below. */
.run { list-style: none; padding: 0 0 .6rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(4.4rem, 8vw, 5.6rem), 1fr)); }
.run li.open { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.run a { display: block; padding: .9rem .6rem .5rem .35rem; text-decoration: none; }
.run li.open a { display: grid; grid-template-columns: clamp(3.4rem, 7vw, 5rem) minmax(0, 1fr) auto; align-items: center; gap: .5rem clamp(.9rem, 2vw, 1.5rem); padding: .9rem .75rem .9rem .35rem; }
.run a:hover, .run a:focus-visible { background: color-mix(in srgb, var(--hue) 13%, transparent); }
.run .num { width: clamp(3.4rem, 7vw, 5rem); max-width: 100%; aspect-ratio: 1; color: var(--hue); }
.run [data-read] .num circle { fill: var(--hue); }
.run [data-read] .num text { fill: var(--night); }
.run .what { display: grid; gap: .2rem; }
.run strong { font: 800 clamp(1.3rem, 2.6vw, 1.85rem)/1.05 var(--sans); font-stretch: 75%; }
.run .what span { font: 400 1.03rem/1.45 var(--serif); color: var(--dim); max-width: 62ch; }
.run a:hover .what span { color: var(--paper); }
.run .state { font-weight: 700; font-size: .92rem; color: var(--hue); white-space: nowrap; }

/* ---------- the tools ---------- */
.tool-body { display: grid; grid-template-columns: minmax(13rem, 25rem) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); align-items: start; }
.tool .paul { position: sticky; top: 1rem; margin-top: -2.5rem; }
.panel { min-width: 0; padding-top: .4rem; }
.panel h3 { font: 800 1.35rem/1.1 var(--sans); font-stretch: 80%; }

.tabs { display: flex; flex-wrap: wrap; gap: .45rem; }
.tab { min-height: 2.75rem; padding: .45rem .85rem; background: transparent; border: 1px solid var(--line); border-radius: 3px; font-weight: 600; font-size: .98rem; }
.tab:hover { border-color: var(--hue); }
.tab[aria-selected='true'] { background: var(--hue); border-color: var(--hue); color: var(--night); }
.tab[data-done='true']::after { content: ' \2713'; }
.moment { margin-top: 1.5rem; }
.count { color: var(--dim); font-size: .95rem; font-weight: 600; }
.scene { font: 400 clamp(1.25rem, 2.4vw, 1.6rem)/1.35 var(--serif); margin-top: .5rem; }
.choices { display: grid; gap: .55rem; margin-top: 1.2rem; }
.choice { text-align: left; min-height: 3.25rem; padding: .75rem 1rem; background: transparent; border: 1px solid var(--line); border-radius: 3px; font: 400 1.08rem/1.4 var(--serif); }
.choice:hover { border-color: var(--paper); }
.choice[data-state='good'] { border-color: var(--hue); background: color-mix(in srgb, var(--hue) 15%, transparent); }
.choice[data-state='miss'] { border-style: dashed; color: var(--dim); }
.take { margin-top: 1.1rem; padding-left: 1rem; border-left: 4px solid var(--hue); font: 400 1.12rem/1.5 var(--serif); min-height: 1.6rem; }
.take:empty { border-left-color: transparent; }
.steps { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.steps button, .plain-button { min-height: 2.9rem; padding: .5rem 1.1rem; background: transparent; border: 1px solid var(--line); border-radius: 3px; font-weight: 700; }
.steps button:hover, .plain-button:hover { border-color: var(--paper); }
.steps .go-on, .solid { background: var(--hue); border-color: var(--hue); color: var(--night); }
.steps button[disabled] { visibility: hidden; }

/* workout */
.gym-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem clamp(1.2rem, 3vw, 2.4rem); }
.gym-grid > div { min-width: 0; }
.gym-grid .wide { grid-column: 1 / -1; }
.field { display: grid; gap: .35rem; font-weight: 600; }
.field select, .field input, .rest select { min-height: 3rem; width: 100%; padding: .5rem .7rem; background: var(--night); border: 1px solid var(--line); border-radius: 3px; }
.tip { font: 400 1.1rem/1.5 var(--serif); margin-top: .9rem; }
.cue { font: italic 400 1.05rem/1.5 var(--serif); color: var(--dim); margin-top: .3rem; }
.row { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; margin-top: .9rem; }
.row .field { flex: 1 1 7rem; }
.note-line { color: var(--dim); font-size: .95rem; margin-top: .6rem; min-height: 1.4rem; }
.clock { display: block; font: 900 clamp(2.8rem, 7vw, 4rem)/1 var(--sans); font-stretch: 70%; font-variant-numeric: tabular-nums; margin-top: .3rem; }
.rest .row { align-items: center; }
.rest select { width: auto; flex: 1 1 6rem; }
.today ol { list-style: none; padding: 0; margin-top: .6rem; }
.today li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.today li span { color: var(--dim); }
.today .none { color: var(--dim); margin-top: .6rem; }
.text-link { background: none; border: 0; padding: .4rem 0; color: var(--dim); text-decoration: underline; text-underline-offset: .2em; }
.text-link:hover { color: var(--paper); }

/* ask */
.asks h3 { margin-top: 1.8rem; margin-bottom: .5rem; }
.asks h3:first-child { margin-top: 0; }
.asks details { border-top: 1px solid var(--line); }
.asks details:last-of-type { border-bottom: 1px solid var(--line); }
.asks summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.25rem; padding: .7rem 0; cursor: pointer; list-style: none; font: 700 1.2rem/1.2 var(--sans); font-stretch: 88%; }
.asks summary::-webkit-details-marker { display: none; }
.asks summary::after { content: '+'; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--hue); }
.asks details[open] summary::after { content: '\2212'; }
.asks summary:hover { color: var(--hue); }
.answer { padding: 0 0 1.2rem; }
.answer p { font: 400 1.1rem/1.6 var(--serif); max-width: 60ch; margin-top: .7rem; }
.answer p:first-child { margin-top: 0; }
.go { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.go a, .person a { font: 600 1rem/1.3 var(--sans); text-decoration-color: var(--hue); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.person { list-style: none; padding: 0; display: grid; gap: .2rem; }
.person a { display: block; padding: .7rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.person a:hover { color: var(--hue); }

/* book */
.book { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.cover { container-type: inline-size; position: relative; overflow: hidden; width: clamp(11rem, 24vw, 17rem); aspect-ratio: 2 / 3; background: var(--night); color: var(--paper); border-radius: 2px 5px 5px 2px; box-shadow: 0 1.4rem 2.6rem rgb(3 9 22 / .5); }
.cover .mars { position: absolute; left: 13%; bottom: 9%; width: 94%; color: var(--h1); stroke-width: 10; }
.cover b, .cover em, .cover span { position: absolute; left: 7cqw; right: 7cqw; }
.cover b { top: 8cqw; font: 900 14.5cqw/.86 var(--sans); font-stretch: 62%; text-transform: uppercase; }
.cover em { top: 36cqw; font: italic 400 6.4cqw/1.25 var(--serif); color: var(--h9); }
.cover span { bottom: 7cqw; font: 800 6.6cqw/1 var(--sans); font-stretch: 75%; text-transform: uppercase; letter-spacing: .04em; }
.book-text { display: grid; gap: 1rem; }
.book-text h2 { font: 900 clamp(2.5rem, 7vw, 5rem)/.92 var(--sans); font-stretch: 66%; }
.book-text p { font: 400 1.15rem/1.55 var(--serif); max-width: 52ch; }
.book-text .promise { font: 900 clamp(1.7rem, 4vw, 2.6rem)/1 var(--sans); font-stretch: 70%; color: var(--hue); }
.book-text .only { color: var(--dim); }
.book-text a { text-decoration-color: var(--hue); text-decoration-thickness: 2px; text-underline-offset: .25em; }

/* ---------- footer ---------- */
.foot { max-width: var(--wide); margin: clamp(4rem, 10vw, 8rem) auto 0; padding: 2rem clamp(1rem, 4vw, 2rem) 3rem; border-top: 1px solid var(--line); display: grid; gap: 1.4rem; }
.closer { font: 900 clamp(2.6rem, 10vw, 7.5rem)/.86 var(--sans); font-stretch: 62%; text-transform: uppercase; }
.foot nav { display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
.foot nav a { font-weight: 600; text-underline-offset: .25em; }
.fine { color: var(--dim); font-size: .95rem; }

/* ---------- reading ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 5; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--hue); }
.letter { max-width: 41rem; margin-inline: auto; padding: clamp(1.5rem, 5vw, 3.5rem) 1.15rem 0; }
.which { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-weight: 600; font-size: 1rem; color: var(--dim); }
.which a { color: var(--paper); text-underline-offset: .25em; }
.letter header > .mars { width: clamp(4rem, 12vw, 5.5rem); aspect-ratio: 1; color: var(--hue); margin: 0 0 1.4rem .1rem; }
.letter h1 { font: 900 clamp(2.7rem, 9vw, 5.25rem)/.9 var(--sans); font-stretch: 64%; margin-top: 1rem; overflow-wrap: break-word; }
.letter .sub { font: italic 400 1.35rem/1.3 var(--serif); color: var(--dim); margin-top: .9rem; }
.epigraph { margin-top: 2rem; padding-left: 1.1rem; border-left: 4px solid var(--hue); }
.epigraph p { font: italic 400 1.2rem/1.5 var(--serif); }
.epigraph cite { display: block; margin-top: .5rem; font: 600 .98rem/1.3 var(--sans); font-style: normal; color: var(--dim); }
.letter .body { margin-top: 2.5rem; }
.letter .body p { font: 400 1.1875rem/1.7 var(--serif); margin-top: 1.1em; }
.letter .body h2 { font: 800 clamp(1.7rem, 4.4vw, 2.2rem)/1.05 var(--sans); font-stretch: 72%; margin-top: 2.5em; scroll-margin-top: 1.5rem; }
.letter .body h2 + p { margin-top: .7em; }
.letter .body a { text-decoration-color: var(--hue); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.letter .body ol { padding-left: 1.5rem; margin-top: 1.1em; }
.letter .body li { font: 400 1.1875rem/1.65 var(--serif); margin-top: .7em; padding-left: .2rem; }
.letter .body li::marker { font-family: var(--sans); font-weight: 800; color: var(--hue); }
.letter .body .lines span { display: block; margin-top: .45em; }
.letter .body .lines span:first-child { margin-top: 0; }
.chat { margin-top: 1.6em; padding: .9rem 1.1rem; background: var(--raised); border: 1px solid var(--line); border-left: 4px solid var(--hue); border-radius: 3px; }
.letter .body .chat p { font: 500 1.02rem/1.45 var(--sans); font-stretch: 92%; margin-top: .45em; }
.letter .body .chat p:first-child { margin-top: 0; }
.chat b { font-weight: 800; color: var(--dim); margin-right: .35em; }
.chat .you b { color: var(--hue); }
.chat .aside { color: var(--dim); font-style: italic; }
.after { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.send output { color: var(--dim); overflow-wrap: anywhere; }
.turn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.turn a { display: grid; gap: .3rem; padding: 1rem 1rem 1.1rem; border: 1px solid var(--line); border-top: 5px solid var(--hue); border-radius: 3px; text-decoration: none; font: 800 1.35rem/1.05 var(--sans); font-stretch: 75%; }
.turn a:hover { background: color-mix(in srgb, var(--hue) 13%, transparent); }
.turn a span { font: 700 .95rem/1 var(--sans); font-stretch: 100%; color: var(--hue); }
.turn a[rel='next'] { text-align: right; }

/* ---------- help and sources ---------- */
.plain .band-head { margin-bottom: 1rem; }
.help > section { max-width: 44rem; padding-top: 3rem; scroll-margin-top: 1rem; }
.help > section:focus { outline: none; }
.help h2, .sources h2 { font: 800 clamp(1.6rem, 4vw, 2.2rem)/1.05 var(--sans); font-stretch: 75%; }
.help p, .help li { font: 400 1.15rem/1.6 var(--serif); margin-top: .7rem; }
.help ol { padding-left: 1.4rem; }
.resource { margin-top: 1.3rem; padding: 1rem 1.1rem 1.1rem; background: var(--raised); border: 1px solid var(--line); border-radius: 3px; }
.resource h3 { font: 800 1.25rem/1.1 var(--sans); font-stretch: 82%; }
.resource p { margin-top: .4rem; }
.resource a { font: 600 1.02rem/1.3 var(--sans); text-underline-offset: .25em; }
.note { max-width: 44rem; margin-top: 3rem; color: var(--dim); font: 400 1.05rem/1.5 var(--serif); }
.sources { padding-top: 3rem; }
.sources h2 a { text-decoration: none; box-shadow: inset 0 -.18em 0 color-mix(in srgb, var(--hue) 55%, transparent); }
.sources dl { margin-top: 1rem; border-top: 1px solid var(--line); }
.sources dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .4rem 2rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.sources dt { font: 400 1.05rem/1.5 var(--serif); }
.sources dd { font-size: .98rem; line-height: 1.45; color: var(--dim); }

/* ---------- narrow screens ---------- */
@media (max-width: 760px) {
  .top { padding-block: .9rem .4rem; }
  .top nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 1.3rem; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; width: calc(100% + 2rem); }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
  .top nav a { white-space: nowrap; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding-bottom: 1rem; }
  .emblem { justify-self: end; width: min(62vw, 15.5rem); margin-top: -1.5rem; }
  .salutation { max-width: none; }
  .run li.open a { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .run .state { grid-column: 2; }
  .run .state:empty { display: none; }
  .tool-body { grid-template-columns: minmax(0, 1fr); }
  .tool .paul { position: static; width: min(66vw, 16rem); margin: -1.5rem auto -1rem; }
  .gym-grid { grid-template-columns: minmax(0, 1fr); }
  .book { grid-template-columns: minmax(0, 1fr); }
  .sources dl div { grid-template-columns: minmax(0, 1fr); }
  .turn { grid-template-columns: minmax(0, 1fr); }
  .turn a[rel='next'] { text-align: left; }
}
@media print {
  .top nav, .foot, .progress, .after, .paul, .emblem { display: none; }
  body { background: #fff; color: #000; }
}
