/* Cotton. One stylesheet, no scripts, nothing loaded from anywhere else. */

@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/fonts/CourierPrime-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/fonts/CourierPrime-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- colour and type: the cloth, then each app's own paper ---------- */

:root {
  color-scheme: light dark;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --type: "Courier Prime", "Courier New", Courier, ui-monospace, monospace;

  --ground: #f3f3f0;
  --ink: #18181a;
  --muted: #5e5e5a;
  --line: #dddcd6;
  --accent: #18181a;
  --edge: rgb(24 24 26 / .1);
  --shade: rgb(30 30 34 / .2);
  --display: var(--serif);
  --body: var(--serif);
  --r: 1.75rem;
  --gutter: clamp(1rem, 4.4vw, 2.5rem);
}

/* The home page's colours (owner, 23 Nov 2026), in one place: the site's own ground and dark ink, with the Green
   ink the apps offer in Look as its accent (crates/cotton-core/kits/look/look.json, Days' and Story's "green":
   light #1C7A44, dark #7ED6A1). Only the colours; the type and the layout are the site's. Each sheet keeps its app's paper. */
.home { --ground: #f3f3f0; --ink: #18181a; --muted: #5e5e5a; --accent: #1c7a44; }

.days { --ground: #e9ecfa; --ink: #19204a; --muted: #555d89; --line: #c9cfed; --accent: #1b3be0; --edge: rgb(25 32 74 / .13); --shade: rgb(27 45 140 / .28); --display: var(--type); --body: var(--type); }
.words { --ground: #1a2858; --ink: #f5f0e4; --muted: #b9c1e0; --line: #34437c; --accent: #9db0ff; --edge: rgb(0 0 0 / .3); --shade: rgb(4 8 30 / .6); --display: var(--sans); --body: var(--sans); }
.story { --ground: #fbfaf5; --ink: #161616; --muted: #5d5d5a; --line: #dedbd0; --accent: #2447d8; --edge: rgb(22 22 22 / .13); --shade: rgb(40 40 36 / .26); --display: var(--type); --body: var(--type); }
.comms { --ground: #f5e2d0; --ink: #2b1c14; --muted: #72503f; --line: #e3c6ae; --accent: #b3421f; --edge: rgb(43 28 20 / .13); --shade: rgb(120 60 30 / .3); --display: var(--sans); --body: var(--sans); }

@media (prefers-color-scheme: dark) {
  :root { --ground: #151311; --ink: #ece6da; --muted: #a8a092; --line: #322d27; --accent: #ece6da; --edge: rgb(255 255 255 / .1); --shade: rgb(0 0 0 / .6); }
  .home { --ground: #151311; --ink: #ece6da; --muted: #a8a092; --accent: #7ed6a1; }
  .days { --ground: #0d1126; --ink: #e2e6fb; --muted: #9ca4d0; --line: #232a52; --accent: #8a9cff; --edge: rgb(255 255 255 / .1); --shade: rgb(0 0 0 / .6); }
  .words { --ground: #17224c; --ink: #f1ecdf; --muted: #b3bbda; --line: #2f3c70; --accent: #9db0ff; }
  .story { --ground: #1c1c1b; --ink: #f1efe8; --muted: #a9a79f; --line: #34332f; --accent: #7f97ff; --edge: rgb(255 255 255 / .1); --shade: rgb(0 0 0 / .6); }
  .comms { --ground: #261a13; --ink: #f6e9dc; --muted: #c6a892; --line: #45301f; --accent: #ef8a63; --edge: rgb(255 255 255 / .1); --shade: rgb(0 0 0 / .6); }
}

/* ---------- ground rules ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
.ring svg { max-width: none; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: .06em; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: .3rem; }
::selection { background: var(--ink); color: var(--ground); }
.nb { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), 73rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--ground); padding: .6rem 1rem; border-radius: 999px; z-index: 5; text-decoration: none; }
.skip:focus { top: 1rem; }

@view-transition { navigation: auto; }

/* ---------- top ---------- */

.top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 1.4rem 0; }
/* On a wide window the bar sat too close under the browser's own bar (owner, 25 Nov 2026). */
@media (min-width: 46rem) { .top { padding-block: 2.6rem 0; } }
.mark { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.45rem; font-weight: 500; letter-spacing: -.015em; text-decoration: none; }
.top nav { display: flex; gap: 1.4rem; font-family: var(--serif); font-size: .98rem; }
.top nav a { text-decoration: none; padding-block: .4rem; border-bottom: 1px solid transparent; transition: border-color .2s; }
.top nav a:hover { border-color: currentColor; }

/* ---------- home: the letter (owner, 25 Nov 2026) ---------- */

/* A note, not a hero: the site's own type at a reading size, no headline, signed in plain type. */
.letter { padding-block: clamp(2.6rem, 9vw, 6rem) 0; font-size: clamp(1.14rem, .9vw + .95rem, 1.36rem); line-height: 1.6; }
.letter > * { max-width: 32em; }
/* On a wide window the words sit left and the two rows of apps beside them, so the page is not one thin column
   hugging the left edge (owner, 25 Nov 2026). */
@media (min-width: 62rem) {
  .letter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4rem; align-items: start; }
  .letter-rows > .letter-lead:first-child { margin-top: 0; }
  .letter-rows { justify-self: end; }
}
.letter h1 { font: inherit; letter-spacing: normal; }
.letter p { margin-top: 1.15em; }
.letter a { text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.letter a:hover { text-decoration-color: currentColor; }
/* Building now and Next as rows of icons, the name below each (owner, 25 Nov 2026). An icon being redrawn is a quiet
   empty tile until its picture comes. */
.letter .letter-lead { margin-top: 1.4em; }
.letter-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 4.75rem)); gap: 1rem; margin-top: .8rem; }
.letter-apps li > * { display: grid; justify-items: center; gap: .5rem; text-decoration: none; font-size: .92rem; line-height: 1.2; }
.letter-apps .icon { width: 100%; max-width: 4.25rem; }
.letter-apps a:hover .icon { transform: translateY(-4px) rotate(-2deg); }
.letter-apps li:nth-child(even) a:hover .icon { transform: translateY(-4px) rotate(2deg); }
.icon.empty { display: block; aspect-ratio: 1; background: color-mix(in srgb, var(--ink) 5%, var(--ground)); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 62rem) { .letter-apps { grid-template-columns: repeat(4, 5.5rem); gap: 1.6rem; } .letter-apps .icon { max-width: 5.5rem; } }
/* The one rule on the home page, between the letter and the apps: the footer's wavy line (owner, 25 Nov 2026). */
.rule { margin-top: clamp(2.6rem, 7vw, 4.5rem); }
/* The same room on both sides of a wavy line (owner, 25 Nov 2026): a section that follows one starts as far below it
   as the last one ended above it, and the home page's footer line keeps that rhythm too. */
.rule + .band { padding-top: clamp(2.6rem, 7vw, 4.5rem); }
.rule + .band > h2 { margin-top: 0; }
.home .foot { margin-top: clamp(2.6rem, 7vw, 4.5rem); }

.icon { width: 4rem; aspect-ratio: 1; height: auto; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--edge), 0 1px 2px rgb(0 0 0 / .05), 0 10px 20px -8px var(--shade); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.others a:hover .icon { transform: translateY(-4px) rotate(-2deg); }
.ring path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Where an app stands (round 2): a small line under its name, its links in its accent, above a sheet's own link. */
.status { margin-top: .8rem; font-size: .98rem; line-height: 1.45; color: var(--muted); }
.status a { color: var(--accent); text-decoration-thickness: .06em; white-space: nowrap; }
.sheet .status { position: relative; z-index: 1; }
.app-head .status { margin-top: 1.3rem; font-size: 1.05rem; }

/* The owner's photos (25 Nov 2026): four in a row under About me, as the app pages show four screens; two by two on
   a phone. His own colours in either theme, rounded as the app icons are. */
.about-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.about-pics img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1rem; box-shadow: 0 0 0 1px var(--edge), 0 10px 24px -12px var(--shade); }
@media (min-width: 46rem) { .about-pics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; } .about-pics img { border-radius: 1.3rem; } }

/* ---------- home: four sheets, each in the app's own hand ---------- */

.sheets { display: grid; gap: clamp(1.1rem, 2vw, 1.5rem); }
.sheet { position: relative; display: grid; background: var(--ground); color: var(--ink); font-family: var(--body); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--edge); }
.sheet-text { padding: clamp(1.9rem, 6.5vw, 4.5rem) clamp(1.5rem, 6.5vw, 4.5rem) 0; }
.sheet h2 { font-family: var(--display); font-size: clamp(1.7rem, 8.2vw, 3.6rem); line-height: 1; letter-spacing: -.02em; }
.sheet .sub { margin-top: .9rem; font-size: 1.12rem; color: var(--muted); }
.sheet-screens { height: 23.5rem; overflow: hidden; }
.rail { display: flex; justify-content: center; align-items: flex-start; gap: 1.6rem; padding: 2.4rem 1.5rem 0; }
.rail .screen { width: min(16.25rem, 78%); flex: none; }
.rail picture { display: contents; }
.rail > :nth-child(n+2) { display: none; }
.screen { height: auto; border-radius: 1.7rem; box-shadow: 0 0 0 1px var(--edge), 0 2px 5px rgb(0 0 0 / .05), 0 28px 56px -18px var(--shade); }

.go { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.7rem; padding: .62rem 1.05rem .62rem 1.15rem; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); text-decoration: none; font-size: .98rem; font-weight: 500; transition: background-color .2s, color .2s; }
.go svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: translate .25s; }
.go:hover { background: var(--accent); color: var(--ground); }
.go:hover svg { translate: 3px 0; }
.sheet .go::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.screen { transition: translate .6s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) {
  .sheet:hover .go { background: var(--accent); color: var(--ground); }
  .sheet:hover .go svg { translate: 3px 0; }
  .sheet:hover .screen { translate: 0 -.5rem; }
  .sheet:hover .screen:nth-child(2) { transition-delay: .06s; }
}

@media (min-width: 62rem) {
  :root { --r: 2.25rem; }
  .sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 39rem; }
  .sheet-text { padding-bottom: 4.5rem; align-self: center; }
  .sheet-screens { position: relative; height: auto; }
  .rail { position: absolute; inset: 0; padding: 4.25rem 1rem 0; gap: 1.75rem; }
  .rail .screen { width: 16.25rem; }
  .sheet h2 { font-size: 3.2rem; }
  .rail > :nth-child(n+2) { display: block; margin-top: 5.5rem; }
  .sheet:nth-child(even) .sheet-text { order: 2; }
}

/* Days: a pen on pale paper */
.days, .story { word-spacing: -.14em; }
.sheet .foot, .app .foot, .app .top { word-spacing: normal; }
.ring { position: relative; display: inline-block; }
.ring svg { position: absolute; left: -16%; top: -24%; width: 132%; height: 150%; overflow: visible; color: var(--accent); pointer-events: none; }
.ring path { stroke-width: 2.4; }
.days .sheet-list, .days .does { --dot: 1.5px solid var(--accent); }
.sheet-list { margin-top: 1.6rem; display: grid; gap: .7rem; max-width: 27em; }
.days .sheet-list li, .days .does li { position: relative; padding-left: 1.75em; }
.days .sheet-list li::before, .days .does li::before { content: ""; position: absolute; left: 0; top: .28em; width: .92em; height: .92em; border: 1.6px solid var(--accent); border-radius: 50%; }

/* Words: ink, and a cursor */
.words h1, .words h2 { font-weight: 700; letter-spacing: -.035em; }
.cursor { display: inline-block; width: .085em; height: .86em; margin-left: .06em; background: var(--accent); translate: 0 .08em; animation: blink 1.15s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.words .sheet-list li, .words .does li { position: relative; padding-left: 1.85em; }
.words .sheet-list li::before, .words .does li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1em; height: 1em; border-radius: .26em; border: 1.6px solid var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.7 2.7L12 5.4' fill='none' stroke='%231a2858' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.words .sheet-list li.open::before { background: none; }
.tag { display: inline-block; margin-top: 1.3rem; color: var(--accent); font-weight: 500; }

/* Story: a script page */
.story h1, .story h2 { font-weight: 700; letter-spacing: -.01em; }
.stop { color: var(--accent); }
.script { margin-top: 1.7rem; max-width: 27em; font-size: 1rem; line-height: 1.45; }
.script .slug { font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.script .action { margin-top: .9rem; }
.script .cue { margin-top: 1.1rem; margin-left: 36%; text-transform: uppercase; }
.script .paren { margin-left: 26%; color: var(--muted); }
.script .line { margin-left: 15%; margin-right: 10%; }

/* Comms: warm paper, an opening quote */
.comms h1, .comms h2 { font-weight: 600; letter-spacing: -.035em; }
.quote { display: block; width: 2.9rem; height: auto; color: var(--accent); margin-bottom: 1.1rem; }
.talk { margin-top: 1.7rem; display: grid; gap: .55rem; max-width: 25em; }
.talk p { width: fit-content; max-width: 88%; padding: .68rem 1rem; border-radius: 1.3rem; background: color-mix(in srgb, var(--ink) 7%, var(--ground)); line-height: 1.4; }
.talk .me { justify-self: end; background: var(--accent); color: var(--ground); border-bottom-right-radius: .4rem; }
.talk p:not(.me) { border-bottom-left-radius: .4rem; }

/* ---------- home: what we hold to ---------- */

.band { padding-block: clamp(4.5rem, 12vw, 9rem) 0; }
.kicker { font-family: var(--serif); font-size: .98rem; color: var(--muted); }
.band > h2 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 340; font-size: clamp(2.1rem, 6.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em; margin-top: .7rem; max-width: 13em; }
.holds { margin-top: clamp(2.2rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.holds > div { padding-block: 1.45rem 1.55rem; border-bottom: 1px solid var(--line); }
.holds dt { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(1.45rem, 3vw + .6rem, 2rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 400; }
.holds dd { margin-top: .55rem; color: var(--muted); max-width: 36em; }
.holds dd a { color: var(--ink); }
.band p.say a { color: var(--accent); }
.band .sheets { margin-top: clamp(2.2rem, 6vw, 4.5rem); }
.band .sheets + p.say { margin-top: clamp(2rem, 5vw, 3.2rem); }
.sheet h2 a { text-decoration: none; }
.sheet h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
@media (min-width: 62rem) {
  .holds > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 4rem; align-items: baseline; padding-block: 1.9rem 2rem; }
  .holds dd { margin-top: 0; font-size: 1.1rem; }
}

/* ---------- getting the apps ---------- */

.band p.say { margin-top: 1.4rem; font-size: clamp(1.12rem, 1.1vw + .9rem, 1.3rem); line-height: 1.45; max-width: 34em; }
.ledger { margin-top: clamp(2rem, 5vw, 3.2rem); border-top: 1px solid var(--line); }
.ledger li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; row-gap: .55rem; align-items: center; padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.ledger .who { display: contents; text-decoration: none; }
.ledger .icon { width: 2.75rem; box-shadow: 0 0 0 1px var(--edge); }
.ledger .name { font-family: var(--serif); font-size: 1.2rem; letter-spacing: -.01em; }
.ledger .name small { display: block; font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.ledger .stores { grid-column: 2; }
@media (min-width: 46rem) {
  .ledger li { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ledger .stores { grid-column: auto; justify-content: flex-end; }
}

/* one store, one state: .not (nothing to tap yet), .soon, or a live link */
.stores { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; align-items: center; }
.store { display: inline-flex; align-items: baseline; gap: .5rem; font-size: .95rem; line-height: 1.3; text-decoration: none; }
.store::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; border: 1.5px solid var(--muted); translate: 0 -.05em; }
.store b { font-weight: 500; }
.store span { color: var(--muted); }
.store.soon::before { background: linear-gradient(90deg, var(--muted) 50%, transparent 50%); }
a.store { align-items: center; padding: .55rem 1.05rem .6rem .95rem; border-radius: 999px; background: var(--accent); color: var(--ground); transition: opacity .2s; }
a.store::before { border-color: currentColor; background: currentColor; }
a.store span { color: inherit; opacity: .85; }
a.store:hover { opacity: .88; }

/* ---------- foot ---------- */

.foot { margin-top: clamp(5rem, 13vw, 10rem); padding-block: 0 2.2rem; font-family: var(--serif); }
.loose { display: block; width: 100%; height: 1.5rem; color: var(--muted); overflow: visible; }
.loose path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.foot-grid { display: grid; gap: 2.2rem; padding-top: 2.4rem; }
.foot .mark { font-size: clamp(2.6rem, 9vw, 4.2rem); font-weight: 340; letter-spacing: -.035em; line-height: 1; }
.foot .made { margin-top: .9rem; color: var(--muted); max-width: 22em; font-size: .98rem; }
.foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 2rem; align-content: start; }
.foot nav a { text-decoration: none; padding-block: .42rem; width: fit-content; border-bottom: 1px solid transparent; transition: border-color .2s; }
.foot nav a:hover { border-color: currentColor; }
.legal { margin-top: 2.8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; font-size: .84rem; color: var(--muted); letter-spacing: .01em; }
@media (min-width: 46rem) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .foot nav { grid-template-columns: auto auto; column-gap: 3.5rem; }
}

/* ---------- an app's own page ---------- */

.app { font-family: var(--body); }
.app .top .mark, .app .top nav { color: var(--ink); }
.app-head { padding-block: clamp(2.6rem, 8vw, 5.5rem) 0; }
.app-head .icon { width: 4.6rem; margin-bottom: 1.7rem; }
.app-head h1 { font-family: var(--display); font-size: clamp(2.7rem, 11vw, 5.6rem); line-height: 1; letter-spacing: -.025em; }
.app-head .sub { margin-top: 1.1rem; font-size: clamp(1.15rem, 1.4vw + .85rem, 1.6rem); line-height: 1.35; max-width: 26em; }
.app-head .now { color: var(--muted); max-width: 34em; }
.days .app-head .sub { margin-top: 1.6rem; }
/* Why I built it, in my own words (owner, 25 Nov 2026): a short paragraph under the name, at reading size. */
.app-head .why { margin-top: 1.4rem; font-size: clamp(1.08rem, .5vw + .98rem, 1.24rem); line-height: 1.55; max-width: 32em; }
.days .app-head .why { margin-top: 1.8rem; }
.app-head .quote { width: 3.4rem; }

.strip { margin-top: clamp(2.6rem, 6vw, 4.5rem); display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem var(--gutter) 3rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: none; width: min(68vw, 16.5rem); scroll-snap-align: start; }
.strip .screen { width: 100%; }
@media (min-width: 62rem) {
  .strip { width: min(100% - 2 * var(--gutter), 73rem); margin-inline: auto; padding-inline: 0; overflow: visible; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .strip figure { width: auto; max-width: 16.5rem; }
  .strip figure:nth-child(even) { margin-top: 3rem; }
}

.part { padding-top: clamp(2.5rem, 7vw, 5rem); }
.part h2 { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw + .7rem, 2.3rem); line-height: 1.1; letter-spacing: -.02em; }
.does { margin-top: 1.5rem; display: grid; gap: .95rem 3.5rem; }
.does li { max-width: 30em; }
.story .does { counter-reset: scene; }
.story .does li { position: relative; padding-left: 2.2em; counter-increment: scene; }
.story .does li::before { content: counter(scene); position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.comms .does li { position: relative; padding-left: 1.4em; }
.comms .does li::before { content: ""; position: absolute; left: 0; top: .52em; width: .5em; height: .5em; border-radius: 50%; background: var(--accent); }
.app .does.nots li { padding-left: 1.75em; position: relative; }
.app .does.nots li::before { content: ""; position: absolute; left: 0; top: .72em; width: .95em; height: 0; border: 0; border-top: 1.6px solid var(--muted); border-radius: 0; background: none; }
.aside { margin-top: 1.4rem; color: var(--muted); max-width: 36em; font-size: .98rem; }
.aside a, .part p a { color: var(--ink); }
@media (min-width: 62rem) {
  .part { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 4rem; border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 7vw, 5rem); padding-top: 2.6rem; }
  .part > :not(h2) { grid-column: 2; }
  .part h2 { grid-row: 1 / span 4; }
  .part .does, .part > p:first-of-type, .part .others { margin-top: 0; }
  .does.two { grid-template-columns: 1fr 1fr; }
}
.part .stores { margin-top: 1.5rem; font-size: 1.05rem; }
/* The account line under What's coming: no heading, no rule of its own. */
.part.plain { padding-top: 1.1rem; }
@media (min-width: 46rem) { .part.plain { border-top: 0; margin-top: 0; padding-top: 1.1rem; } }
.part .lead { font-size: 1.12rem; max-width: 32em; margin-top: 1.1rem; }
.part .lead + .stores, .part .lead + .aside { margin-top: 1.5rem; }

.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.4rem 2rem; margin-top: 1.5rem; }
.others a { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .85rem; text-decoration: none; }
.others .icon { width: 3.25rem; }
.others small { display: block; color: var(--muted); font-size: .88rem; }

/* ---------- the long page: your things ---------- */

.page-head { padding-block: clamp(2.6rem, 9vw, 6.5rem) clamp(1rem, 3vw, 2rem); }
.page-head h1 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 340; font-size: clamp(2.6rem, 9.6vw, 6rem); line-height: 1; letter-spacing: -.035em; max-width: 11em; }
.page-head .lede { max-width: 30em; }
.chapter { border-top: 1px solid var(--line); padding-block: clamp(1.8rem, 4vw, 2.8rem); scroll-margin-top: 1rem; }
.chapter h2 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(1.5rem, 3vw + .6rem, 2rem); line-height: 1.12; letter-spacing: -.02em; }
/* One track no wider than the column: an email address or a long link breaks rather than push the page sideways
   (320 px phones, 25 Nov 2026). */
.chapter .text { margin-top: .9rem; max-width: 36em; display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; font-size: 1.09rem; overflow-wrap: anywhere; }
.chapter .text a { text-decoration-color: var(--muted); }
.sees { display: grid; gap: 0; border-top: 1px solid var(--line); font-size: 1rem; }
.sees > div { padding-block: .8rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: .8rem; }
.sees dt { font-weight: 500; }
.sees dd span { display: block; color: var(--muted); }
.chapter:target h2 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
address { font-style: normal; }
@media (min-width: 62rem) {
  .chapter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 4rem; align-items: baseline; }
  .chapter .text { margin-top: 0; }
}

/* ---------- small movements ---------- */

@media (prefers-reduced-motion: no-preference) {
  .draw path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.5s cubic-bezier(.3, 0, .3, 1) .45s forwards; }
  .ring.draw path { animation-delay: .6s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }

  @supports (animation-timeline: view()) {
    .sheet, .holds > div, .strip figure { animation: rise linear both; animation-timeline: view(); animation-range: entry 0 entry 170px; }
    @keyframes rise { from { opacity: 0; translate: 0 1.4rem; } to { opacity: 1; translate: 0 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
  * { transition: none !important; }
}

@media print {
  .sheet, .strip figure { break-inside: avoid; }
}

/* ---------- carried over into this look: the policy, terms, help and 404 (cottondb.com) ---------- */

.sees dd .nb { display: inline; color: inherit; }
.chapter .text h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.22rem; line-height: 1.2; margin-top: .8rem; }
.chapter .text ul { display: grid; gap: .45rem; padding-left: 1.1rem; list-style: disc; }
.chapter .text li::marker { color: var(--muted); }
.page-head .updated { margin-top: 1rem; color: var(--muted); font-size: .98rem; }
.toc { margin-top: clamp(1.4rem, 4vw, 2.2rem); font-size: 1rem; }
.toc ul { display: grid; gap: .35rem; margin-top: .5rem; }
.toc p { color: var(--muted); }
@media (min-width: 46rem) { .toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }

/* A draft on the preview only (`<!-- preview -->`): framed and labelled so it can never be taken for the page's words. */
.draft { border: 2px dashed var(--accent, #b4441e); border-radius: .6rem; padding: 1rem 1.1rem; display: grid; gap: .7rem; }
.draft-label { font-weight: 700; color: var(--accent, #b4441e); }
