/* Shared desks and local atlas leaves */
.task-pair, .desk-pair, .directory-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.home-desks, .nearby, .local-directory { margin-top: clamp(2rem,4.2vw,4rem); }
.home-desks h2, .nearby h2, .local-directory h2 { margin: .3rem 0 1rem; }
.desk-pair { gap: clamp(1rem,2.8vw,2.5rem); }
.desk-pair > a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: baseline; gap: .9rem; padding: 1.25rem 0; border-block: 1px solid var(--ink); text-decoration: none; }
.desk-pair > a > .icon:first-child { width: 2.5rem; height: 2.5rem; padding: .48rem; align-self: start; background: var(--prairie); }
.desk-pair > a + a > .icon:first-child { background: var(--blue); }
.desk-pair h3 { font-size: clamp(1.5rem,2.4vw,2.1rem); }
.desk-pair p { margin-top: .4rem; color: var(--muted); }
.city-intro { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(230px,.85fr); margin-top: .7rem; border: 1px solid var(--ink); }
.west-bank { --leaf-paper: var(--prairie); --local-wash: var(--gold-soft); }
.east-bank { --leaf-paper: var(--blue); --local-wash: var(--blue-soft); }
.city-intro .page-intro { display: flex; flex-direction: column; justify-content: center; margin: 0; border: 0; background-color: var(--leaf-paper); background-image: linear-gradient(90deg,transparent 96%,rgb(21 27 28 / .045)); }
.leaf-locator { display: flex; align-items: center; gap: .6rem; }
.leaf-locator .region-map { flex: none; width: 50px; height: 31px; }
.city-intro h1 { margin: .6rem 0 .9rem; }
.office-index { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.15rem,2.5vw,2.2rem); border-left: 5px double var(--river); background: var(--light); }
.office-index h2 { margin-bottom: .35rem; font-size: clamp(1.45rem,2.1vw,2rem); }
.office-index dl > div { margin-top: .55rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.office-index dt { margin-bottom: .1rem; font-size: .62rem; color: var(--muted); }
.office-index dd { font-weight: 600; line-height: 1.3; }
.office-index dd a { display: inline-block; padding-block: .18rem; }
.office-index dd span { white-space: nowrap; color: var(--river); }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.6rem; margin: 0 0 1.5rem; border-bottom: 1px solid var(--ink); }
.jump a { padding-block: .73rem; font-weight: 600; font-size: .9rem; }
.task-pair { gap: 1.2rem; }
.task-sheet { display: flex; flex-direction: column; padding: clamp(1.2rem,2.5vw,2.35rem); border-top: 3px solid var(--ink); background: var(--local-wash); }
.task-sheet h2 { margin: .65rem 0 .85rem; font-size: clamp(1.85rem,2.8vw,2.6rem); }
.task-sheet > p:not(.kicker), .reading p { max-width: 65ch; }
.sheet-source { margin-top: auto; padding-top: .55rem; }
.reading-grid, .contact-layout { display: grid; grid-template-columns: minmax(0,2.2fr) minmax(215px,1fr); gap: clamp(2rem,6vw,6rem); margin-top: 2.3rem; align-items: start; }
.reading section { padding: 1.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.reading h2 { font-size: clamp(1.7rem,2.6vw,2.4rem); }
.reading .kicker { margin-bottom: .55rem; }
.reading p:not(.kicker) { margin: .75rem 0 .3rem; }
.reading, .source-note, .office-index { overflow-wrap: anywhere; }
.source-note { padding: 1.4rem; background: var(--blue-soft); border-top: 3px solid var(--river); }
.source-note h2 { margin-top: .4rem; font-size: 1.85rem; }
.source-note p:not(.kicker) { margin: .8rem 0; font-size: .95rem; }
.source-note a { display: flex; width: fit-content; font-size: .9rem; }
.nearby { border-top: 3px double var(--ink); padding-top: 1.15rem; }
.check-line { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.more-links, .operator-links { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.topic-layout { display: grid; grid-template-columns: minmax(160px,.8fr) minmax(0,2.5fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.contents { padding: 1rem; border-top: 3px solid var(--river); background: var(--blue-soft); }
.contents .kicker { margin-bottom: .55rem; }
.contents a { display: block; padding: .6rem 0; border-top: 1px solid var(--line); }
.topic-reading section:first-child { border-top: 3px solid var(--ink); }
.prose { max-width: 52rem; }
.desk-links { border-top: 2px solid var(--ink); }
.desk-links > a { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) auto; align-items: center; gap: 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.desk-links h2 { font-size: clamp(1.8rem,2.7vw,2.4rem); }
.desk-links p { color: var(--muted); }
.directory-pair { gap: 2rem; }
.directory-pair h3 { padding: .7rem .85rem; border-block: 1px solid var(--ink); background: var(--prairie); }
.directory-pair > section + section h3 { background: var(--blue); }
.directory-pair ul { list-style: none; padding: 0; margin: 0; }
.directory-pair a { display: grid; grid-template-columns: minmax(60px,.8fr) minmax(0,1.6fr) auto; align-items: baseline; gap: .5rem; padding: .75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.directory-pair strong { font-weight: 500; text-decoration: underline; }
.directory-pair span { color: var(--muted); }
.contact-layout { margin-top: 0; }
.contact-layout .source-note { grid-column: 2; grid-row: 1; }
.contact-layout > section { grid-column: 1; grid-row: 1; }
iframe { width: 100%; border: 1px solid var(--line); background: var(--light); }
.city-observation { margin-top: 2rem; border-top: 1px solid var(--ink); }
.city-observation img { display: block; width: 100%; height: auto; }
.city-observation figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; padding-block: .45rem; color: var(--muted); font: .75rem/1.5 var(--mono); }
@media (max-width: 700px) {
  .task-pair, .desk-pair, .directory-pair, .topic-layout, .reading-grid, .contact-layout, .city-intro { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .city-intro { gap: 0; margin-top: .4rem; }
  .leaf-locator .region-map { width: 40px; height: 24px; }
  .office-index { padding: .9rem 1.1rem; border: 0; border-top: 4px double var(--river); }
  .office-index dl > div { display: grid; grid-template-columns: minmax(66px,.65fr) minmax(0,1.6fr); gap: .55rem; align-items: baseline; margin: 0; padding: .28rem 0; }
  .office-index dd { font-size: .9rem; }
  .office-index dt { font-size: .57rem; }
  .jump { gap: 0 1rem; margin-bottom: 1rem; }
  .jump a { font-size: .85rem; }
  .desk-pair { gap: 0; }
  .desk-pair > a + a { border-top: 0; }
  .desk-links > a { grid-template-columns: minmax(0,1fr) auto; gap: .4rem; }
  .desk-links > a .icon { grid-column: 2; grid-row: 1/3; }
  .reading-grid { margin-top: 1.3rem; }
  .contact-layout .source-note { grid-column: 1; grid-row: 1; }
  .contact-layout > section { grid-row: 2; }
}
