/* Schuylkill atlas - Refero Dock cream/ivory, forest accent, numbered chapter rail.
   YMYL locator. System stack only. Orange is the desk pill, not a second brand. */

:root {
  --cream: #faf9f7;
  --ivory: #fbfaf7;
  --white: #ffffff;
  --ink: #121722;
  --graphite: #2d2d2d;
  --slate: #777c86;
  --steel: #a5a5a5;
  --hair: #efefef;
  --forest: #046645;
  --forest-deep: #034d34;
  --forest-wash: #e7f2ec;
  --orange: #ff5a1f;
  --orange-press: #d84315;
  --font: ui-sans-serif, system-ui, "Segoe UI", "Helvetica Neue", sans-serif;
  --max: 1240px;
  --prose: 65ch;
  --gap: 80px;
  --mast: 64px;
  --r-card: 16px;
  --r-btn: 48px;
  --r-pill: 100px;
  --shadow: rgba(4, 102, 69, 0.06) 0 1px 1px 0, rgba(18, 23, 34, 0.04) 0 -1px 1px 0 inset, rgba(18, 23, 34, 0.1) 0 0 0 0.5px inset;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-rail: 10;
  --z-band: 30;
  --z-mast: 40;
  --z-dock: 50;
  --z-skip: 100;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font: 16px/1.56 var(--font);
  color: var(--ink);
  background: var(--cream);
}

a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: var(--z-skip);
  background: var(--forest);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

/* --- Mast --- */
.mast {
  position: sticky;
  top: 0;
  z-index: var(--z-mast);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--mast);
  max-height: 80px;
  padding: 10px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--hair);
  transition: padding 0.2s var(--ease);
}
.mast.is-tight { padding: 6px 24px; }

.mark {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.mark:hover { text-decoration: none; color: var(--forest); }

.links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
}
.links > a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.links > a:hover,
.links > a[aria-current="page"] {
  color: var(--forest);
  background: var(--forest-wash);
  text-decoration: none;
}

.fold {
  display: none;
  border: 1px solid var(--hair);
  background: var(--white);
  border-radius: var(--r-btn);
  padding: 8px 14px;
  font: 500 14px/1 var(--font);
  color: var(--ink);
  min-height: 44px;
  cursor: pointer;
}

.drop { position: relative; }
.drop summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.drop summary::-webkit-details-marker { display: none; }
.drop summary::marker { content: ""; }
.drop summary::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  margin-bottom: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.drop[open] > summary,
.drop:hover > summary,
.drop.is-here > summary {
  color: var(--forest);
  background: var(--forest-wash);
}
.drop-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  max-height: min(70vh, calc(100vh - 72px));
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  background: var(--ivory);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: 10px;
  z-index: var(--z-dock);
  box-shadow: var(--shadow);
}
.drop-panel a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: var(--r-pill);
}
.drop-panel a:hover,
.drop-panel a:focus-visible,
.drop-panel a[aria-current="page"] {
  background: var(--forest-wash);
  color: var(--forest);
  text-decoration: none;
}
.drop:nth-child(n+4) .drop-panel {
  left: auto;
  right: 0;
}

/* Orange desk pill - conversion only */
.ring,
.helpline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--r-btn);
  white-space: nowrap;
}
.ring {
  padding: 12px 24px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.ring:hover,
.helpline:hover {
  background: var(--orange-press);
  color: var(--white);
  text-decoration: none;
}
.ring:active,
.helpline:active { transform: translateY(1px); }

.phone-ico,
.helpline-ico svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.helpline {
  border: 1px solid transparent;
  padding: 8px 20px 8px 8px;
  overflow: visible;
}
.helpline-ico {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}
.helpline-ico::before,
.helpline-ico::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  border: 2px solid rgba(4, 102, 69, 0.35);
  pointer-events: none;
}
.helpline-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
  text-align: left;
}
.helpline-copy b {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.helpline-copy small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.92;
}
.helpline-mini {
  padding: 4px 14px 4px 4px;
  gap: 8px;
}
.helpline-mini .helpline-ico {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 10px;
}
.helpline-mini .helpline-copy b { font-size: 12px; }
.helpline-mini .helpline-copy small { font-size: 13px; font-weight: 500; opacity: 1; }
.mast .helpline { margin-left: auto; }

.helpline-sentinel { height: 1px; margin: 0; padding: 0; }

.helpline-band {
  position: sticky;
  top: var(--mast);
  z-index: var(--z-band);
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  overflow: visible;
}
.helpline-band.is-stuck {
  background: var(--cream);
  border-bottom: 1px solid var(--hair);
}
.helpline-band .helpline {
  width: min(720px, 100%);
  padding: 10px 24px 10px 10px;
  gap: 16px;
}
.helpline-band .helpline-ico {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}
.helpline-band .helpline-ico svg,
.helpline-band .helpline-ico .phone-ico { width: 20px; height: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .helpline-ico { animation: sk-beat 1.8s var(--ease) infinite; }
  .helpline-ico::before,
  .helpline-ico::after { animation: sk-ring 2s ease-out infinite; }
  .helpline-ico::after { animation-delay: 0.7s; }
}
@keyframes sk-beat {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.05); }
}
@keyframes sk-ring {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}

.notice {
  margin: 0;
  padding: 10px 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
  background: var(--forest-wash);
  border-bottom: 1px solid var(--hair);
}
.notice a { color: var(--forest); font-weight: 500; }

/* --- Hero: left-aligned, not Inlet-centered --- */
.hero {
  text-align: left;
  padding: 48px 24px 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero .chip {
  display: inline-block;
  background: var(--ivory);
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 16px;
}
.hero h1 {
  margin: 0 0 16px;
  max-width: 18ch;
  font-size: clamp(36px, 5.4vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.hero .lede {
  margin: 0 0 24px;
  max-width: var(--prose);
  font-size: 18px;
  line-height: 1.5;
  color: var(--graphite);
}
.hero .pair {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--hair);
  border-radius: var(--r-btn);
  padding: 12px 24px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.ghost:hover {
  color: var(--forest);
  text-decoration: none;
  border-color: var(--forest);
  background: var(--ivory);
}
.ghost:active { transform: translateY(1px); }

.hero-shot {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
}
.hero-shot img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: var(--max);
  margin: 0 auto 8px;
  padding: 0 24px;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.metrics div {
  padding: 22px 20px 24px;
  border-right: 1px solid var(--hair);
}
.metrics div:last-child { border-right: 0; }
.metrics strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--forest);
  line-height: 1.1;
}
.metrics span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--slate);
}

.trail {
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  margin: 0 0 16px;
}
.trail a { color: var(--slate); text-decoration: none; }
.trail a:hover { color: var(--forest); }

.desk-stamp {
  font-size: 13px;
  color: var(--slate);
  margin: 0 0 16px;
}

.crumb {
  font-size: 13px;
  color: var(--steel);
  margin: 0 0 20px;
}
.crumb a { color: var(--slate); }

/* --- Numbered chapter rail (unique vs Inlet / Hudson / Channel) --- */
.sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 40px;
  counter-reset: chap;
}
.sheet:has(.rail a) {
  grid-template-columns: 248px minmax(0, 1fr);
}

.rail {
  position: sticky;
  top: calc(var(--mast) + 12px);
  z-index: var(--z-rail);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100dvh - var(--mast) - 24px);
  overflow-y: auto;
  padding: 4px 8px 8px 0;
  border-right: 1px solid var(--hair);
  counter-reset: ch;
}
.rail a {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 10px;
  counter-increment: ch;
}
.rail a::before {
  content: counter(ch, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--forest);
}
.rail a:hover {
  background: var(--ivory);
  color: var(--ink);
  text-decoration: none;
}
.rail a.is-on {
  background: var(--forest-wash);
  color: var(--ink);
}
.rail a.is-on::before { color: var(--forest-deep); }

.prose { max-width: 720px; min-width: 0; }
.prose > .hero {
  padding: 0 0 20px;
  max-width: none;
}
.sheet-city .hero h1 {
  max-width: none;
  font-size: clamp(28px, 5vw, 44px);
}
.prose h2,
.chapter h2 {
  margin: 48px 0 12px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  counter-increment: chap;
}
.prose h2:first-child,
.chapter h2:first-child { margin-top: 0; }
.prose h2::before,
.chapter h2::before {
  content: counter(chap, decimal-leading-zero);
  display: inline-block;
  min-width: 2.1rem;
  margin-right: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}
.prose p,
.chapter p {
  margin: 0 0 14px;
  color: var(--graphite);
  max-width: var(--prose);
}
.prose p:last-child,
.chapter p:last-child { margin-bottom: 0; }
.chapter ul,
.chapter ol {
  margin: 0 0 14px;
  padding-left: 1.3em;
  color: var(--graphite);
  max-width: var(--prose);
}
.chapter li { margin: 0 0 4px; }

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 40px;
}
.toc a {
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
}
.toc a:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.inkbox {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 28px;
  margin: 0 0 48px;
}
.inkbox h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
}
.inkbox > p {
  margin: 0 0 20px;
  color: var(--slate);
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}
.pair a {
  display: block;
  background: var(--ivory);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--ink);
}
.pair a:hover {
  border-color: var(--forest);
  color: var(--forest);
}
.pair a strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: inherit;
}
.pair a span {
  display: block;
  margin-top: 8px;
  color: var(--slate);
  font-size: 15px;
  font-weight: 400;
}

.chapter {
  margin: 0 0 40px;
  padding-top: 4px;
}
.chapter h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.atlas-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 24px 56px;
}
.atlas-wrap h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.atlas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
}
.atlas a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.atlas a:hover { color: var(--forest); }
.atlas span {
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 36px;
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--shadow);
}
.folio {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}
.folio caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}
.folio th,
.folio td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}
.folio tr:last-child td { border-bottom: 0; }
.folio th {
  font-weight: 500;
  color: var(--slate);
  font-size: 13px;
  background: var(--ivory);
}
.folio .print {
  color: var(--slate);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.city-map {
  width: 100%;
  max-width: none;
  margin: 0 0 20px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.city-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.city-map figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--slate);
  border-top: 1px solid var(--hair);
}
.city-media { margin: 0 0 28px; }
.sheet-city .hero-shot { margin: 0 0 16px; }
.sheet-city .hero-shot img {
  border-radius: var(--r-card);
  aspect-ratio: 16 / 8;
}

.city-near { margin: 40px 0 8px; }
.city-near h2 { margin: 0 0 12px; }
@media (min-width: 901px) {
  .sheet-city .city-jump { display: none; }
}

/* Listings table */
.listings,
.pan {
  overflow-x: auto;
  margin: 20px 0 36px;
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--shadow);
}
.grid-sheet,
.listings table,
table.listings {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
.grid-sheet th,
.grid-sheet td,
.listings th,
.listings td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}
.grid-sheet tr:last-child td,
.listings tr:last-child td { border-bottom: 0; }
.grid-sheet th,
.listings th {
  font-weight: 500;
  color: var(--slate);
  font-size: 13px;
  background: var(--ivory);
}
.grid-sheet .print,
.listings .print {
  color: var(--slate);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.listing {
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: 24px;
  margin: 0 0 16px;
  background: var(--ivory);
}
.listing h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.neighbors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 32px;
}
.neighbors > p {
  flex: 1 0 100%;
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--slate);
}
.prose > section.neighbors,
.prose > .city-near {
  display: block;
}
.neighbors a {
  background: var(--ivory);
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.neighbors a:hover {
  background: var(--forest-wash);
  color: var(--forest);
  text-decoration: none;
}

.faq {
  margin: 8px 0 48px;
  counter-reset: faq;
  max-width: 720px;
}
.faq details,
.faq > div,
.faq dt {
  counter-increment: faq;
  padding: 18px 0;
  border-top: 1px solid var(--hair);
}
.faq details:last-child,
.faq > div:last-child,
.faq dd:last-of-type { border-bottom: 1px solid var(--hair); }
.faq summary,
.faq dt,
.faq h3 {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq dt::before,
.faq h3::before {
  content: counter(faq, decimal-leading-zero);
  display: inline-block;
  min-width: 2rem;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}
.faq p,
.faq dd {
  margin: 8px 0 0 2.2rem;
  color: var(--graphite);
}

.bleed {
  margin: 24px 0 0;
  padding: 64px 24px 72px;
  text-align: left;
  background: var(--forest-wash);
  border-top: 1px solid var(--hair);
}
.bleed h2 {
  margin: 0 auto 12px;
  max-width: var(--max);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.bleed p {
  margin: 0 auto 24px;
  max-width: var(--max);
  color: var(--graphite);
}
.bleed .ring { margin-left: 0; }
.bleed h2,
.bleed p,
.bleed .ring {
  display: block;
  max-width: var(--max);
}
.bleed .ring { display: inline-flex; }

.colophon {
  background: var(--white);
  border-top: 1px solid var(--hair);
  padding: 48px 24px 104px;
  color: var(--slate);
  font-size: 14px;
}
.cols {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.cols strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.cols a {
  display: block;
  color: var(--slate);
  margin: 6px 0;
}

.floor,
.dock-call { display: none; }

@media (max-width: 960px) {
  .sheet { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
  .city-map iframe { height: 240px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:nth-child(n+3) { border-top: 1px solid var(--hair); }
}

@media (max-width: 900px) {
  .sheet,
  .sheet:has(.rail a) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 28px;
  }
  .rail { display: none; }
  .atlas { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
  .prose h2::before,
  .chapter h2::before { display: none; }
  .links { display: none; }
  .links[data-open="1"] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--mast);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--hair);
    padding: 12px 24px 16px;
    z-index: var(--z-mast);
    gap: 4px;
  }
  .drop { width: 100%; }
  .drop-panel {
    position: static;
    min-width: 0;
    grid-template-columns: 1fr;
    margin-top: 4px;
    box-shadow: none;
  }
  .fold { display: inline-flex; align-items: center; }
}

@media (max-width: 720px) {
  .mast .ring,
  .mast .helpline { display: none; }
  .helpline-band {
    display: flex;
    position: sticky;
    top: var(--mast);
  }
  .helpline-band .helpline { width: 100%; justify-content: center; }
  .atlas { grid-template-columns: 1fr; }
  .pair,
  .cols { grid-template-columns: 1fr; }
  .hero { padding: 28px 0 24px; }
  .prose > .hero { padding: 0 0 16px; }
  .prose > .hero h1,
  .sheet-city .hero h1 {
    max-width: none;
    font-size: clamp(26px, 8vw, 36px);
  }
  .prose p,
  .chapter p {
    font-size: 15px;
    line-height: 1.62;
  }
  .prose h2,
  .chapter h2 {
    margin: 32px 0 10px;
    font-size: 21px;
  }
  .sheet-city .chapter {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hair);
    margin-bottom: 8px;
  }
  .sheet-city .chapter:last-of-type { border-bottom: 0; }
  .city-map iframe { height: 200px; }
  .sheet-city .hero-shot { display: none; }
  .toc { margin-bottom: 24px; }
  .metrics { grid-template-columns: 1fr; padding: 0; }
  .metrics div {
    border-right: 0;
    border-top: 1px solid var(--hair);
  }
  .metrics div:first-child { border-top: 0; }
  .floor,
  .dock-call {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-dock);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--hair);
  }
  .floor .ring,
  .dock-call .helpline,
  .dock-call .ring {
    width: 100%;
    padding: 14px;
    font-size: 17px;
    justify-content: center;
  }
  .dock-call .helpline { padding: 10px 18px 10px 10px; }
  .dock-call .helpline-copy b { font-size: 17px; }
  .colophon { padding-bottom: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .helpline-ico,
  .helpline-ico::before,
  .helpline-ico::after { animation: none; }
  .mast,
  .ring,
  .helpline,
  .ghost { transition: none; }
}
