/* Agency finder */
.finder { display: grid; grid-template-columns: minmax(0, calc(50% - min(4vw, 48px))) minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.route-sign { background: var(--rust); color: var(--white); padding: clamp(28px,3.3vw,54px) clamp(25px,3.8vw,64px) clamp(30px,3.5vw,54px) var(--edge); }
.sign-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sign-label { display: flex; align-items: center; gap: 8px; }
.sign-label .icon { width: 22px; height: 22px; }
#lookup-title { margin: 16px 0 12px; font-size: clamp(4rem,7.2vw,6.25rem); line-height: .86; letter-spacing: -.045em; }
.region-map { width: clamp(55px,6.7vw,96px); height: auto; flex: none; color: #fbd8b7; }
.state-outline { fill: #74321e; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.pin-ring { fill: none; stroke: #ffc98e; stroke-width: 1.2; }
.pin-dot { fill: var(--white); }
.finder-deck { max-width: 36ch; margin: 8px 0 20px; font-size: clamp(1rem,1.35vw,1.16rem); line-height: 1.4; color: #fff6ea; }
#lookup-form { display: grid; gap: 14px; max-width: 480px; }
#lookup-form label, .route-picker { display: grid; gap: 5px; min-width: 0; }
#lookup-form label > span:first-child { color: #ffe5d3; }
.selector { position: relative; display: block; }
.selector::after { content: ""; position: absolute; right: 15px; top: calc(50% - 5px); width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); pointer-events: none; }
select, button { font: 680 1rem/1.2 var(--body); }
select { appearance: none; width: 100%; min-height: 46px; color: inherit; border: 1px solid; border-radius: 2px; padding: 8px 38px 8px 12px; cursor: pointer; }
#lookup-form select { background: #74321f; border-color: #cc947a; }
select option { color: var(--ink); background: white; }
button, .primary-source { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; padding: 9px 17px; border: 0; border-radius: 2px; text-decoration: none; cursor: pointer; font-weight: 750; }
#lookup-form button { justify-self: start; background: var(--white); color: var(--rust-deep); margin-top: 2px; }
#lookup-form button:hover { background: #f4d5bd; }
button .icon, .primary-source .icon { width: 20px; height: 20px; }
.no-script { margin-top: 10px; }
.results { padding: clamp(28px,3.5vw,56px) var(--edge) clamp(25px,3.3vw,52px) clamp(26px,4.4vw,78px); min-width: 0; align-self: start; }
.route-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 17px; border-bottom: 2px solid var(--ink); }
.route-heading h2 { margin-top: 4px; font-size: clamp(2.2rem,3.65vw,3.7rem); text-transform: uppercase; }
.route-heading .eyebrow { display: block; color: var(--rust); }
.route-glyph { width: clamp(34px,4vw,60px); height: auto; color: var(--rust); stroke-width: 2.8px; }
.route-picker { margin-top: 14px; }
.route-picker > span:first-child { color: var(--muted); }
.route-picker select { min-height: 44px; background: var(--white); border-color: #a2a997; }
.itinerary { margin: 20px 0 6px; }
.stop { position: relative; padding: 0 0 20px 45px; min-width: 0; }
.stop:last-child { padding-bottom: 0; }
.stop:not(:last-child)::before { content: ""; position: absolute; top: 20px; bottom: -8px; left: 14px; border-left: 2px solid #b4b9a7; }
.stop .node { position: absolute; top: 0; left: 0; width: 30px; height: 30px; padding: 5px; background: var(--ground); border: 1.5px solid var(--rust); color: var(--rust); border-radius: 50%; }
.stop dt { padding-top: 1px; color: var(--muted); }
.stop dd { margin-top: 5px; }
.operator, .destination { font: 800 clamp(1.6rem,2.65vw,2.7rem)/1.02 var(--sign); font-stretch: condensed; letter-spacing: -.028em; overflow-wrap: break-word; }
.access-note { margin-top: 8px; max-width: 58ch; font-size: .96rem; color: var(--muted); }
.primary-source { background: var(--forest); color: white; font-size: .96rem; }
.primary-source:hover { color: white; background: #253828; }
.source-domain, .domain { font-size: .79rem; color: var(--muted); overflow-wrap: anywhere; }
.source-domain { margin-left: 8px; }
.secondary-links { display: flex; flex-wrap: wrap; column-gap: 16px; }
.secondary-links a { font-size: .86rem; }
.source-index { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 9px 0 0 45px; font-size: .87rem; font-weight: 650; }
.source-index .icon:first-child { width: 17px; height: 17px; }
/* Desks, destinations and city directory */
.home-section { margin-top: clamp(34px,4.8vw,68px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); padding-bottom: 11px; }
.section-head h2, .more-guides h2, .directory-section > h2 { text-transform: uppercase; }
.desks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,4vw,62px); padding-top: 22px; }
.desks > div { position: relative; padding-left: 62px; }
.desk-icon { position: absolute; left: 0; top: 3px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--forest); color: white; border-radius: 3px; }
.desks > div + div .desk-icon { background: var(--rust); }
.desk-icon .icon { width: 30px; height: 30px; }
.desks h3 a, .place-list h3 a { font-size: inherit; font-weight: 800; text-decoration: none; }
.desks h3 a:hover, .place-list h3 a:hover { text-decoration: underline; }
.desks p, .place-list p { color: var(--muted); }
.desks > div > .text-link { margin-right: 13px; }
.desks h3 .icon, .place-list h3 .icon { width: 20px; height: 20px; }
.place-list article { display: grid; grid-template-columns: minmax(110px, .52fr) minmax(150px, .95fr) minmax(0, 1.4fr); grid-template-rows: auto auto; align-items: center; gap: 0 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.place-list article > a { grid-area: 1/1/3/2; }
.place-list img { width: 100%; height: auto; }
.place-list .kicker { grid-area: 1/2; align-self: end; }
.place-list h3 { grid-area: 2/2; align-self: start; }
.place-list p { grid-area: 1/3; align-self: end; }
.place-list small { grid-area: 2/3; align-self: start; color: var(--rust); margin-top: 4px; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(195px,100%),1fr)); gap: 18px; padding-top: 16px; }
.region-group h3 { font-size: 1.4rem; color: var(--forest); }
.region-group ul { list-style: none; margin: 10px 0 0; padding: 0; }
.region-group a { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--rule); text-decoration: none; }
.region-group a:hover { text-decoration: underline; }
.footnote { margin-top: 22px; }
/* City routes */
.city-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px,.34fr); align-items: end; gap: 40px; }
.city-head nav { display: grid; align-self: end; }
.city-head nav a { display: flex; align-items: center; gap: 11px; min-height: 48px; border-top: 1px solid #c08c73; color: white; text-decoration: none; font-weight: 700; }
.city-head nav .icon:last-child { margin-left: auto; }
.city-layout { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); gap: clamp(24px,5vw,76px); }
.city-office, .city-visit { min-width: 0; }
.city-office { align-self: start; padding: 0 clamp(20px,2.5vw,40px) 0 0; border-right: 1px solid var(--rule); }
.desk-label { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); }
.desk-label .icon { width: 32px; height: 32px; color: white; background: var(--forest); padding: 5px; border-radius: 2px; }
.city-visit .desk-label { color: var(--rust); }
.city-visit .desk-label .icon { background: var(--rust); }
.city-office h2, .city-visit > h2 { margin: 14px 0 12px; }
.city-office .authority { margin: 12px 0 6px; color: var(--forest); }
.city-office > a, .city-office > p a { color: var(--forest); }
.office-end { display: flex; align-items: center; gap: 6px; color: var(--muted); border-top: 1px solid var(--rule); margin-top: 16px; padding-top: 13px; }
.office-end .icon { width: 17px; }
.city-visit p, .topic-article p, .prose p { max-width: 70ch; }
.city-art { float: right; width: min(38%,240px); margin: 0 0 12px 18px; }
.city-art img { width: 100%; height: auto; }
.city-art figcaption { color: var(--muted); font-size: .72rem; line-height: 1.4; margin-top: 5px; }
.stops { clear: both; padding: 15px 0 0; }
.stops > div { display: grid; grid-template-columns: minmax(95px,.65fr) minmax(0,1fr); align-items: center; gap: 16px; border-bottom: 1px solid var(--rule); padding-block: 5px; }
.city-visit section, .topic-article section { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); }
.city-visit section h2, .topic-article h2, .prose h2 { margin-bottom: 9px; font-size: clamp(1.65rem,2.5vw,2.55rem); }
.city-visit section > a, .official-links a, .more-guides a { margin-right: 16px; }
.more-guides { margin-top: 34px; }
.more-guides h2 { font-size: 1.7rem; }
/* Topic desks and official source directory */
.topic-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(210px,.82fr); gap: clamp(30px,6vw,100px); }
.topic-article section:first-child { margin-top: 0; padding-top: 0; border: 0; }
.topic-rail { align-self: start; padding: clamp(20px,2.6vw,34px); background: var(--forest); color: white; }
.topic-rail h2 { margin: 10px 0; font-size: clamp(1.7rem,2.3vw,2.35rem); }
.topic-rail .kicker { color: #e2e9d2; }
.topic-rail a { color: white; }
.topic-rail hr { border-color: #83947b; }
.official-links { margin-top: 6px; }
.guide-list > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.guide-list h3 { font-size: 1.52rem; }
.guide-list p { font-size: .96rem; margin-top: 5px; color: var(--muted); }
.directory-section { margin: 32px 0; }
.directory-section h2 { margin-bottom: 12px; }
.source-group summary { cursor: pointer; background: var(--forest); color: white; padding: 10px 16px; font-weight: 700; min-height: 44px; }
.source-group summary .icon { margin: 0 6px; }
.source-group { margin-top: 10px; }
.source-row { display: grid; grid-template-columns: minmax(0,2fr) minmax(155px,1fr); column-gap: 25px; border-bottom: 1px solid var(--rule); padding: 17px 0; }
.row-copy h3 { font-size: 1.6rem; margin: 4px 0 7px; }
.row-copy p:last-child { font-size: .96rem; color: var(--muted); max-width: 70ch; }
.row-links { display: flex; flex-direction: column; align-items: flex-start; }
.row-links a { font-size: .87rem; }
.prose { max-width: 760px; }
.prose section { margin-block: 25px; }
.contact-form { width: 100%; height: 760px; margin-top: 12px; background: white; border: 1px solid var(--rule); }
@media (max-width: 930px) and (min-width: 701px) {
  .finder { grid-template-columns: minmax(0,42fr) minmax(0,58fr); }
  .sign-heading { align-items: flex-start; position: relative; }
  .region-map { width: 30px; position: absolute; top: 0; right: 0; }
  #lookup-title { font-size: clamp(3.65rem,6.6vw,4.7rem); margin-top: 24px; }
  .results { padding-left: 25px; }
  .sign-label { font-size: .65rem; }
}
@media (max-width: 700px) {
  .finder, .city-layout, .topic-layout, .desks, .city-head { grid-template-columns: minmax(0,1fr); }
  .route-sign { padding: 20px var(--edge) 19px; }
  .sign-heading { position: relative; display: block; padding-right: 50px; }
  .region-map { position: absolute; width: 42px; right: 0; top: 2px; }
  .sign-label { font-size: .65rem; }
  .sign-label .icon { width: 16px; height: 16px; }
  #lookup-title { font-size: clamp(2.25rem,9.6vw,4rem); line-height: 1; margin: 4px 0 3px; }
  #lookup-title br { display: none; }
  .finder-deck { margin: 7px 0 12px; font-size: .92rem; max-width: 45ch; }
  #lookup-form { grid-template-columns: 1fr 1.15fr; gap: 10px; max-width: none; }
  #lookup-form button { grid-column: 1/-1; min-height: 44px; font-size: .91rem; }
  #lookup-form select, .route-picker select { font-size: .91rem; min-height: 44px; }
  #lookup-form label > span:first-child { font-size: .65rem; }
  .results { padding: 19px var(--edge) 15px; }
  .route-heading { padding-bottom: 10px; }
  .route-heading h2 { font-size: clamp(1.95rem,7vw,2.8rem); }
  .route-glyph { width: 35px; }
  .itinerary { margin-top: 14px; }
  .stop { padding: 0 0 15px 39px; }
  .operator, .destination { font-size: clamp(1.5rem,5.9vw,2rem); }
  .access-note { margin-top: 5px; font-size: .9rem; }
  .source-domain { font-size: .72rem; }
  .source-index { margin-left: 39px; }
  .section-head { align-items: center; gap: 12px; }
  .section-head h2 { font-size: clamp(1.65rem,6.7vw,2.3rem); }
  .desks { gap: 18px; }
  .desks > div { padding-left: 48px; }
  .desk-icon { width: 35px; height: 35px; }
  .desk-icon .icon { width: 24px; height: 24px; }
  .place-list article { grid-template-columns: minmax(72px,.45fr) minmax(0,1.55fr); gap: 2px 12px; }
  .place-list article > a { grid-area: 1/1/5/2; }
  .place-list h3, .place-list .kicker, .place-list p, .place-list small { grid-column: 2; grid-row: auto; }
  .place-list p, .place-list small { font-size: .88rem; }
  .city-head { gap: 15px; }
  .city-head nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .city-head nav a { min-height: 44px; font-size: .9rem; }
  .city-head nav a .icon { width: 17px; }
  .city-office { border-right: 0; padding: 0 0 20px; border-bottom: 2px solid var(--forest); }
  .stops > div { grid-template-columns: minmax(0,1fr); gap: 0; padding: 8px 0 4px; }
  .source-row { grid-template-columns: 1fr; }
  .row-links { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 12px; }
  .row-links .domain { flex-basis: 100%; margin-top: 6px; }
}
@media (max-width: 460px) {
  #lookup-form { grid-template-columns: minmax(0,1fr); gap: 6px; }
  #lookup-form label { grid-template-columns: 52px minmax(0,1fr); align-items: center; }
  #lookup-form button { margin-left: 57px; }
  .region-grid { grid-template-columns: minmax(0,1fr); }
  .city-art { float: none; width: min(100%,290px); margin: 0 0 12px; }
}
