:root {
  --arb-ink: #15253b;
  --arb-muted: #596474;
  --arb-paper: #fbf8f1;
  --arb-panel: #fffdf8;
  --arb-rule: #ccd1d5;
  --arb-accent: #8c2f2f;
}

.arb-city-main,
.arb-directory-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 88px;
  color: var(--arb-ink);
}

.arb-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
  color: var(--arb-muted);
  font-size: 14px;
}

.arb-breadcrumbs a { color: var(--arb-ink); text-decoration: underline; text-underline-offset: 3px; }
.arb-city-hero,
.arb-directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 48px;
  padding: 42px 0 34px;
  border-top: 1px solid var(--arb-ink);
  border-bottom: 1px solid var(--arb-ink);
}

.arb-city-hero .eyebrow,
.arb-directory-hero .eyebrow,
.arb-section-title > span,
.arb-form-section > header > span {
  margin: 0 0 12px;
  color: var(--arb-accent);
  font: 700 12px/1.2 Inter, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.arb-city-hero h1,
.arb-directory-hero h1 {
  margin: 0;
  max-width: 800px;
  font: 700 clamp(40px, 6vw, 72px)/1.02 "Playfair Display", Georgia, serif;
  letter-spacing: -.035em;
}

.arb-city-hero > div > p:last-child,
.arb-directory-hero > p {
  max-width: 740px;
  margin: 20px 0 0;
  color: var(--arb-muted);
  font-size: 18px;
  line-height: 1.65;
}

.arb-city-hero dl,
.arb-directory-hero dl {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--arb-rule);
}

.arb-city-hero dl div,
.arb-directory-hero dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--arb-rule);
}

.arb-city-hero dt,
.arb-directory-hero dt { color: var(--arb-muted); }
.arb-city-hero dd,
.arb-directory-hero dd { margin: 0; font-weight: 700; text-align: right; }
.arb-credit { margin: 14px 0 0; color: var(--arb-muted); font-size: 13px; }

.arb-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--arb-rule);
}

.arb-section-title h2,
.arb-form-section h2 {
  margin: 0;
  font: 700 32px/1.15 "Playfair Display", Georgia, serif;
}

.arb-prose > p:first-child { margin-top: 0; font-size: 20px; line-height: 1.55; }
.arb-boundary { color: var(--arb-muted); font-size: 14px; line-height: 1.55; }
.arb-office-tool { min-width: 0; }
.arb-office-select { display: grid; gap: 8px; margin-bottom: 18px; font-weight: 700; }
.arb-office-select select,
.arb-directory-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--arb-ink);
  border-radius: 2px;
  background: #fff;
  color: var(--arb-ink);
  padding: 10px 12px;
  font: inherit;
}

.arb-office-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--arb-rule);
  background: var(--arb-panel);
}

.arb-office-card.is-focus { border-color: var(--arb-ink); }
.arb-record-kind { color: var(--arb-accent); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.arb-office-card h3 { margin: 10px 0 4px; font: 700 23px/1.25 "Playfair Display", Georgia, serif; }
.arb-office-card p { margin: 8px 0; line-height: 1.5; }
.arb-office-district { color: var(--arb-muted); font-weight: 700; }
.arb-office-card address { display: grid; gap: 7px; margin: 18px 0; font-style: normal; line-height: 1.5; }
.arb-office-card address strong { font-weight: 700; }
.arb-office-card small { display: block; margin-top: 14px; color: var(--arb-muted); line-height: 1.5; }
.arb-office-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.arb-office-actions a,
.arb-office-actions button,
.arb-form-downloads a,
.arb-directory-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--arb-ink);
  border-radius: 2px;
  background: transparent;
  color: var(--arb-ink);
  font: 700 14px/1 Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.arb-office-actions a:first-child { background: var(--arb-ink); color: white; }
.arb-all-offices { grid-column: 2; margin-top: 18px; }
.arb-all-offices > summary,
.arb-sources > summary {
  cursor: pointer;
  border-top: 1px solid var(--arb-ink);
  border-bottom: 1px solid var(--arb-ink);
  padding: 15px 0;
  font-weight: 800;
}

.arb-all-offices > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 18px; }
.arb-section > .arb-boundary { grid-column: 2; }
.arb-channel { border-left: 3px solid var(--arb-accent); padding: 4px 0 4px 20px; }
.arb-channel > strong { font: 700 22px/1.3 "Playfair Display", Georgia, serif; }
.arb-channel p { line-height: 1.65; }
.arb-channel a { color: var(--arb-ink); font-weight: 700; }
.arb-requirements { margin: 0; padding: 0; list-style: none; }
.arb-requirements li { padding: 13px 0 13px 28px; border-top: 1px solid var(--arb-rule); line-height: 1.55; position: relative; }
.arb-requirements li::before { content: "—"; position: absolute; left: 0; color: var(--arb-accent); }
.arb-shared-core { margin: 30px 0 0 268px; padding: 20px 22px; border: 1px solid var(--arb-rule); background: var(--arb-paper); }
.arb-shared-core p { margin: 6px 0 0; line-height: 1.6; }

.arb-form-section { margin-top: 64px; padding-top: 48px; border-top: 3px solid var(--arb-ink); }
.arb-form-section > header { max-width: 760px; }
.arb-form-section > header p { color: var(--arb-muted); line-height: 1.6; }
.arb-form-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.arb-inline-builder > .city-builder-page > .city-editorial-hero { display: none !important; }
.arb-inline-builder .city-builder-page { margin: 0; padding: 0; }

.arb-sources { margin-top: 64px; }
.arb-sources > summary { display: flex; justify-content: space-between; gap: 20px; }
.arb-sources > p { max-width: 760px; color: var(--arb-muted); line-height: 1.55; }
.arb-sources > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.arb-sources a { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--arb-rule); color: var(--arb-ink); text-decoration: none; }
.arb-sources a span { color: var(--arb-accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.arb-sources a strong { font-size: 15px; }
.arb-sources a small { color: var(--arb-muted); line-height: 1.4; }
.arb-next-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.arb-next-links a { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--arb-ink); color: var(--arb-ink); text-decoration: none; }
.arb-next-links span { color: var(--arb-muted); font-size: 13px; }

.arb-directory-hero { grid-template-columns: minmax(0, 1fr) 220px; }
.arb-directory-hero > p { grid-column: 1; }
.arb-directory-hero dl { grid-column: 2; grid-row: 1 / span 3; }
.arb-directory-search { margin: 36px 0; }
.arb-directory-search > label { display: block; margin-bottom: 9px; font-weight: 800; }
.arb-directory-search > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.arb-directory-search p { color: var(--arb-muted); font-size: 14px; }
.arb-directory-group { margin-top: 48px; }
.arb-directory-group > header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--arb-ink); }
.arb-directory-group h2 { margin: 0 0 12px; font: 700 30px/1.2 "Playfair Display", Georgia, serif; }
.arb-directory-group > header span { color: var(--arb-muted); }
.arb-directory-group > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--arb-rule); border: 1px solid var(--arb-rule); }
.arb-directory-group a { display: grid; align-content: start; min-height: 165px; padding: 18px; background: var(--arb-panel); color: var(--arb-ink); text-decoration: none; }
.arb-directory-group a > span { color: var(--arb-accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.arb-directory-group h3 { margin: 12px 0 8px; font: 700 23px/1.2 "Playfair Display", Georgia, serif; }
.arb-directory-group h3 small { font: 500 15px/1.2 Inter, sans-serif; }
.arb-directory-group p { margin: 0 0 16px; color: var(--arb-muted); }
.arb-directory-group strong { margin-top: auto; font-size: 14px; }
.arb-directory-boundary { margin-top: 56px; padding: 24px; border: 1px solid var(--arb-ink); }
.arb-directory-boundary p { max-width: 760px; line-height: 1.6; }
.arb-directory-boundary span { color: var(--arb-muted); font-size: 13px; }
.arb-directory-empty { padding: 24px; border: 1px solid var(--arb-rule); }

@media (max-width: 780px) {
  .arb-city-main,
  .arb-directory-main { width: min(100% - 30px, 1120px); padding-top: 24px; }
  .arb-city-hero,
  .arb-directory-hero,
  .arb-section { grid-template-columns: 1fr; gap: 24px; }
  .arb-city-hero,
  .arb-directory-hero { padding: 30px 0; }
  .arb-city-hero h1,
  .arb-directory-hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .arb-section { padding: 42px 0; }
  .arb-all-offices,
  .arb-section > .arb-boundary { grid-column: 1; }
  .arb-all-offices > div,
  .arb-sources > div,
  .arb-next-links,
  .arb-directory-group > div { grid-template-columns: 1fr; }
  .arb-shared-core { margin-left: 0; }
  .arb-directory-hero > p,
  .arb-directory-hero dl { grid-column: 1; grid-row: auto; }
  .arb-office-card { padding: 18px; }
}

@media print {
  .arb-city-main > :not(.arb-form-section),
  .arb-form-section > header,
  .arb-form-downloads,
  .site-header,
  .site-footer,
  .bottom-bar { display: none !important; }
  .arb-form-section { border: 0; margin: 0; padding: 0; }
}
