/* About, Contact, Privacy, 404, admin */
.ph { padding: 160px 0 var(--sp-32); background: radial-gradient(80% 70% at 90% 0%, rgba(239, 161, 58, .2), transparent 60%), var(--paper); }
.ph h1 { font-size: var(--h1); margin: var(--sp-16) 0 var(--sp-24); max-width: 13ch; }
.ph .lede { max-width: 36em; }
/* Compact masthead (Zach 2026-11-11): label, title and intro sit close under the bar so the page's information
   starts on the first screen. The Share button sits on the label line (layout.mjs) instead of its own row. */
.ph { padding: 104px 0 var(--sp-16); }
.ph h1 { font-size: var(--h1-page); margin: var(--sp-8) 0 var(--sp-16); max-width: 18ch; }
.ph .lede { font-size: 1.12rem; max-width: 42em; }
.ph-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-12); min-height: 36px; }
:is(.ph-top, .ph-share) .share-row { margin: 0; flex: none; }
.ph-top.solo { float: right; min-height: 0; margin: var(--sp-8) 0 0 var(--sp-16); } /* header without a label: Share sits beside the title */
.ph h1, .wk-hero h1, .gm-hero h1 { text-wrap: balance; } /* no one-word last line in a title */
.ph .lede, .wk-intro .lede { text-wrap: pretty; }
:is(.ph-top, .ph-share) .share-btn { min-height: 34px; padding: 0 var(--sp-12); font-size: .82rem; }
.ph + .sec, .ph + .pband { padding-top: var(--sp-24); }
.ph + .pband { margin-top: 0; }
.ph + .pband img { height: clamp(150px, 22vw, 300px); }
.ph + .pband + .sec { padding-top: var(--sp-24); }
/* header photo beside the text (layout.mjs splitMasthead) */
.ph-split .pband { margin: 0; padding: 0; }
@media (min-width: 900px) {
  .ph-split .ph-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
  .ph-split .pband img { height: clamp(230px, 24vw, 330px); }
  .ph-split h1 { max-width: 16ch; }
  /* Share on its own short line at the right edge, above the title and photo (layout.mjs splitMasthead) */
  .ph-split .ph-share { display: flex; justify-content: flex-end; margin: 0 0 var(--sp-8); }
}
/* on a narrow page (site.css .page-narrow) the words keep most of the column, so the header is no taller than it was at
   full width */
@media (min-width: 900px) {
  .page-narrow .ph-split .ph-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr); gap: var(--sp-32); }
  .page-narrow .ph-split h1 { max-width: none; }
  .page-narrow .ph-split .pband img { height: clamp(200px, 20vw, 260px); }
}
@media (max-width: 899px) {
  .ph-split .pband { margin-top: var(--sp-16); }
  .ph-split .ph-share { float: right; margin: 1px 0 0 var(--sp-16); } /* on the label line, as in other headers */
  /* a real photo shape on phones, not a 2.75:1 slit (Neon review 2026-11-21). 2:1 is the tallest that keeps every
     split header's content on the first phone screen (scripts/first-screen.mjs; 16:10 pushed /water/, /landmarks/ past it) */
  .ph-split .pband img { height: auto; aspect-ratio: 2 / 1; max-height: 240px; }
}
/* a 360px phone wraps the lede a line longer: the photo stops a little short of 2:1 there (code review 2026-11-22:
   /water/'s content started at 581px; first-screen.mjs now checks 360 too) */
@media (max-width: 374px) { .ph-split .pband img { max-height: 144px; } }
@media (max-width: 560px) {
  .ph { padding-top: 92px; }
  /* icon only on phones; the word stays for screen readers as the button's name (code review 2026-11-22: display:none left it nameless) */
  :is(.ph-top, .ph-share) .share-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  :is(.ph-top, .ph-share) .share-btn { position: relative; padding: 0; width: 34px; justify-content: center; }
  .ph .lede { font-size: 1rem; line-height: 1.5; }
}
.prose-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 7vw, 110px); align-items: start; }
.prose h2 { margin: var(--sp-48) 0 var(--sp-12); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); font-size: 1.12rem; }
.prose a { color: var(--tile); font-weight: 600; }
.prose-art { position: sticky; top: 110px; }
.caption { font: 500 italic 1rem var(--sans); color: var(--ink-3); margin-top: var(--sp-16); text-align: center; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: 1fr; } .prose-art { position: static; max-width: 320px; } }
/* About: a photo in the text, and the newest issue on a phone screen (misc.mjs latestIssue) */
.pprose { margin: var(--sp-24) 0 var(--sp-32); }
.pprose img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: #e9e1d2; }
.pprose .pcap { margin-top: var(--sp-8); font-size: .82rem; }
/* About: the editor's own photo beside "Who writes it" (public/photos/editor*.jpg, his selfie, 2026-11-10) */
.ab-me { float: right; width: 200px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin: var(--sp-4) 0 var(--sp-16) var(--sp-24); border-radius: var(--radius); background: #e9e1d2; }
.pprose { clear: both; }
@media (max-width: 559px) { .ab-me { width: 132px; margin: var(--sp-4) 0 var(--sp-8) var(--sp-16); } }
.ab-issue { margin: 0; }
.ab-phone { width: min(100%, 300px); margin-inline: auto; padding: var(--sp-12); border-radius: 46px; background: #18222e; box-shadow: var(--shadow-2), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.ab-screen { position: relative; height: 560px; overflow: hidden; border-radius: 36px; background: #fffdf8; color: var(--ink); font: 400 .75rem/1.55 var(--sans); }
.ab-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: var(--radius-sm); background: #18222e; z-index: 1; }
.ab-screen::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, #fffdf8 82%); }
.ab-mail { padding: var(--sp-48) var(--sp-16) var(--sp-8); border-bottom: 1px solid var(--line); }
.ab-from { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: .75rem; color: var(--ink-3); }
.ab-from b { font: 600 1rem/1 var(--sans); color: var(--ink); }
.ab-subj { margin: var(--sp-8) 0 0; font-weight: 600; font-size: .82rem; line-height: 1.3; }
.ab-body { padding: var(--sp-12) var(--sp-16); }
.ab-body p { margin: 0 0 .9em; }
.ab-body h2.is-sec { font: 600 .62rem/1 var(--sans); letter-spacing: .16em; color: var(--tile); margin: 1.6em 0 .8em; padding-top: 1em; border-top: 1px solid var(--line); }
.ab-body img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); margin: .8em 0 .3em; }
.ab-body img + p { font-size: .62rem; color: var(--ink-3); }
.ab-cap { margin-top: var(--sp-16); text-align: center; font-size: .9rem; color: var(--ink-2); }
.ab-cap a { color: var(--tile); font-weight: 600; }
@media (max-width: 860px) { .prose-art:has(.ab-issue) { max-width: none; } .ab-screen { height: 520px; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-16); }
/* three to a row; a last row of two shares it half and half, a last card alone takes the row (no empty third).
   Desktop only: the spans outrank a phone reset and would add implicit columns to the one-column grid */
@media (min-width: 861px) {
  .contact-grid { grid-template-columns: repeat(6, 1fr); }
  .contact-grid > * { grid-column: span 2; }
  .contact-grid > :nth-child(3n+1):nth-last-child(2), .contact-grid > :nth-child(3n+2):last-child { grid-column: span 3; }
  .contact-grid > :nth-child(3n+1):last-child { grid-column: 1 / -1; }
}
.contact-card { padding: var(--sp-32) var(--sp-32); border-radius: var(--radius); background: #fffaf2; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: var(--sp-16); align-items: flex-start; }
.contact-card p { color: var(--ink-2); margin: 0 0 var(--sp-8); flex: 1; }
.ig-line { display: flex; align-items: center; gap: var(--sp-8); margin-top: var(--sp-48); color: var(--ink-2); }
.ig-line a { color: var(--tile); font-weight: 600; }
.nf { min-height: 100svh; display: flex; align-items: center; }
.nf .h1 { margin: var(--sp-16) auto; max-width: 12ch; color: #fff8ee; }
.nf { padding-block: var(--sp-64); }
.nf-search { margin: var(--sp-24) auto 0; }
.nf-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-24); max-width: 960px; margin: var(--sp-48) auto 0; text-align: left; }
.nf .nf-h { margin: 0 0 var(--sp-8); max-width: none; font: 600 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sun-2); }
.nf-col ul { list-style: none; margin: 0; padding: 0; }
.nf-col a { display: inline-flex; align-items: center; min-height: 40px; color: #fff8ee; font-weight: 500; text-decoration: none; }
.nf-col a:hover, .nf-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nf-foot { margin: var(--sp-32) 0 0; font-size: .9rem; color: rgba(255, 248, 238, .75); }
.nf-foot a { color: #fff8ee; }
@media (max-width: 760px) { .nf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-16) var(--sp-24); } }
.nf-page .site-foot { display: none; }

.admin { background: var(--paper); }
.admin::after { display: none; }
.adm { padding: var(--sp-48) 0 80px; }
.adm-head { display: flex; align-items: center; gap: var(--sp-20); flex-wrap: wrap; margin-bottom: var(--sp-24); }
.adm-modes { display: flex; gap: var(--sp-4); flex: 1; flex-wrap: wrap; padding: var(--sp-4); border-radius: calc(var(--r-ctl) + 3px); background: var(--paper-2); width: fit-content; max-width: max-content; }
.adm-modes button { font: 600 .9rem var(--sans); padding: .6em 1.1em; border-radius: var(--r-ctl); border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.adm-modes button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.adm-head .adm-out { margin-left: auto; }
.adm-tabs { display: flex; gap: var(--sp-8); flex-wrap: wrap; margin-bottom: var(--sp-20); }
.adm-tabs:empty { display: none; }
.adm-tabs button { font: 600 .9rem var(--sans); padding: .6em 1em; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.adm-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.adm-tabs span { opacity: .6; margin-left: var(--sp-4); }
.adm-login { max-width: 420px; display: grid; gap: var(--sp-8); }
.adm-list { display: grid; gap: var(--sp-16); }
.adm-card { display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-24); background: #fff; border-radius: var(--radius); padding: var(--sp-16); box-shadow: var(--shadow-1); }
.adm-ph { border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); display: grid; place-items: center; min-height: 180px; color: var(--ink-3); }
.adm-ph img { width: 100%; height: 100%; object-fit: cover; }
.adm-b h2 { font-size: 1.3rem; margin: var(--sp-8) 0 var(--sp-12); }
.adm-b dl { display: grid; grid-template-columns: 90px 1fr; gap: var(--sp-8) var(--sp-16); margin: 0 0 var(--sp-16); font-size: .9rem; }
.adm-b dt { color: var(--ink-3); font-weight: 600; }
.adm-b dd { margin: 0; }
.adm-b dd a { color: var(--sea); margin-left: var(--sp-8); }
.adm-act { display: flex; gap: var(--sp-8); flex-wrap: wrap; }
.adm-act .btn { padding: .8em 1.2em; font-size: .9rem; }
.adm-del { color: #a1301c; }
.adm-empty { color: var(--ink-3); font: 500 italic 1.3rem var(--serif); padding: var(--sp-48) 0; }
@media (max-width: 700px) { .adm-card { grid-template-columns: 1fr; } }

.adm-polls { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--sp-16); }
.adm-poll { background: #fff; border-radius: var(--radius); padding: var(--sp-24) var(--sp-24) var(--sp-16); box-shadow: var(--shadow-1); display: grid; gap: var(--sp-8); align-content: start; }
.adm-poll header { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-8); }
.adm-poll h2 { font-size: 1.3rem; margin: 0; }
.adm-state { font: 600 .75rem var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: .3em .7em; border-radius: var(--r-tag); background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.adm-state.st-open { background: #e3f1e6; color: #1e6b35; }
.adm-meta { color: var(--ink-3); font-size: .9rem; margin: 0; }
.adm-meta b { color: var(--ink); }
.adm-tally { list-style: none; counter-reset: t; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: var(--sp-8); }
.adm-tally li { counter-increment: t; display: flex; justify-content: space-between; gap: var(--sp-12); padding: var(--sp-8) var(--sp-12); border-radius: var(--radius-sm); background: var(--paper); }
.adm-tally li::before { content: counter(t); font-weight: 700; color: var(--ink-3); min-width: 1.2em; }
.adm-tally li span { flex: 1; }
.adm-tally li:first-child { background: #fff1d6; }
.adm-tally li.gone, .adm-tally li.gone:first-child { background: var(--paper-2); color: var(--ink-2); }
.adm-tally li.gone small { color: var(--ink-2); }
.adm-tally small, .adm-qs small { color: var(--ink-3); }
.adm-qs { margin: 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: var(--sp-4); }
.adm-empty.sm { font-size: 1rem; padding: var(--sp-8) 0; }
.adm-conn summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.adm-conn p { color: var(--ink-3); font-size: .9rem; }
.adm-conn ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-8); }
.adm-conn li { display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap; font-size: .9rem; }
.adm-conn .btn, .adm-poll > .btn { padding: .5em 1em; font-size: .82rem; justify-self: start; }
.adm-ask { background: #fff; border-radius: var(--radius); padding: var(--sp-24); box-shadow: var(--shadow-1); display: grid; gap: var(--sp-12); max-width: 720px; margin-bottom: var(--sp-24); }
.adm-ask h2 { margin: 0; font-size: 1.3rem; }
.adm-dates { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
.adm-dates > div, .adm-q { display: grid; gap: var(--sp-8); }
.adm-q { padding-top: var(--sp-8); border-top: 1px solid var(--line); }
.adm-ask .btn { justify-self: start; }
@media (max-width: 560px) { .adm-dates { grid-template-columns: 1fr; } }

/* "More around it" links to the keyword hubs (src/more-links.mjs): one quiet line, like the e-bike dock line */
.more-line { font-size: .82rem; color: var(--ink-2); margin: var(--sp-16) 0; }
.more-line a { color: inherit; }
/* Breadcrumb trail on guide, story and history pages (src/crumbs.mjs): sits on the header label's line */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-8); align-items: center; font: 600 .82rem var(--sans); }
.crumbs a { color: var(--tile); text-decoration: none; white-space: nowrap; padding: var(--sp-4) 0; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--ink-3); }
