/* Marion County, Arkansas: "Inscription" theme mockup.
   The site is set like the courthouse: a carved limestone band (the lintel),
   round brick arches, slate roof. Cool greys, one brick red, used sparingly. */

/* ---------- Fonts (self-hosted, from Fontsource) ---------- */
@font-face {
  font-family: "Castoro Titling";
  src: url("fonts/castoro-titling-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Castoro";
  src: url("fonts/castoro-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Castoro";
  src: url("fonts/castoro-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --page: #f3f4f3;        /* dressed limestone */
  --band: #e4e7e6;        /* the carved band */
  --line: #c4cac8;        /* hairline, decorative */
  --line-ui: #6f7875;     /* borders of controls (3:1 or better) */
  --ink: #22272b;         /* text */
  --muted: #555d5b;       /* secondary text (6.1:1 on page) */
  --brick: #9a3726;       /* brick arches: links, focus, one rule */
  --slate: #2b3136;       /* slate roof: footer, buttons */
  --on-slate: #f3f4f3;
  --on-slate-muted: #bac1bf;

  --display: "Castoro Titling", "Castoro", Georgia, "Times New Roman", serif;
  --serif: "Castoro", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4.2vw, 60px);
  --gap: 24px;
  --measure: 40rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--brick);
  text-underline-offset: 0.24em;
}
a:hover {
  color: var(--brick);
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--brick);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-weight: 400;
  margin: 0;
}
p {
  margin: 0;
}
address {
  font-style: normal;
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wrap {
  max-width: calc(1320px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.tel {
  white-space: nowrap;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: var(--gutter);
  top: -200px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--slate);
  color: var(--on-slate);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 24px;
  min-height: 92px;
}
.brand {
  display: inline-grid;
  justify-items: start;
  row-gap: 6px;
  padding-block: 14px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.brand:hover {
  color: var(--ink);
}
.brand-name {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  margin-right: -0.14em;
  padding-block: 0.32em 0.26em;
  border-block: 1px solid var(--ink);
}
.brand-state {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.36em;
  color: var(--muted);
}

/* Menu button (phone) */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-ui);
  background: transparent;
  color: var(--ink);
  font: 600 1.0625rem/1 var(--sans);
  cursor: pointer;
}
.menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
  border-block: 2px solid currentColor;
}
.menu-toggle[aria-expanded="true"] .menu-icon {
  border-color: transparent;
}
.menu-toggle[aria-expanded="true"] .menu-icon::before,
.menu-toggle[aria-expanded="true"] .menu-icon::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: 3px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-list > li > a,
.dept-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--ink);
  font: 500 1.0625rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.nav-list > li > a:hover,
.dept-toggle:hover {
  color: var(--brick);
}
.nav-list > li > a[aria-current="page"]::after,
.nav-dept.is-current .dept-toggle::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--brick);
}
.chev {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.dept-toggle[aria-expanded="true"] .chev {
  margin-top: 4px;
  transform: rotate(225deg);
}

.dept-panel {
  display: none;
}
.dept-label {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.15;
}
.dept-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.dept-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dept-list a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem;
  line-height: 1.35;
  text-decoration: none;
}
.dept-list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brick);
}
.dept-list a[aria-current="page"] {
  font-weight: 600;
  color: var(--brick);
}

@media (min-width: 960px) {
  .site-nav {
    display: block;
  }
  /* No script: the panel opens while the button or a link in it has focus, or on hover. */
  html:not(.js) .nav-dept:hover .dept-panel,
  html:not(.js) .nav-dept:focus-within .dept-panel,
  .nav-dept.is-open .dept-panel {
    display: block;
  }
  .dept-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--band);
    border-block: 1px solid var(--line);
    box-shadow: 0 28px 40px -30px rgba(34, 39, 43, 0.35);
  }
  .dept-inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    padding-block: 40px 48px;
  }
  .dept-intro {
    grid-column: 1 / span 3;
  }
  .dept-list {
    grid-column: 4 / span 9;
    columns: 3;
    column-gap: var(--gap);
  }
  .dept-list li {
    break-inside: avoid;
  }
}

@media (max-width: 959.98px) {
  .header-bar {
    min-height: 80px;
  }
  .brand-name {
    font-size: 1.1875rem;
    letter-spacing: 0.12em;
    margin-right: -0.12em;
  }
  .header-bar {
    column-gap: 12px;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .dept-toggle {
    display: none;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: block;
  }
  .site-nav {
    flex-basis: 100%;
    padding-bottom: 24px;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--ink);
  }
  .nav-list > li > a {
    display: flex;
    min-height: 56px;
    padding: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1875rem;
  }
  .nav-list > li > a[aria-current="page"]::after {
    left: 0;
    right: auto;
    width: 32px;
    bottom: -1px;
  }
  .dept-panel {
    display: block;
    padding: 28px 0 20px;
  }
  .dept-inner {
    padding: 0;
  }
  .dept-intro {
    margin-bottom: 8px;
  }
  .dept-note {
    display: none;
  }
  .dept-list {
    border-top: 1px solid var(--line);
  }
  .dept-list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 8px 0 8px 20px;
  }
}

@media (min-width: 600px) and (max-width: 959.98px) {
  .contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--gap);
  }
  .contact-list > div:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .dept-list {
    columns: 2;
    column-gap: var(--gap);
  }
  .dept-list li {
    break-inside: avoid;
  }
}

/* ---------- The lintel: carved band with the page title ---------- */
.lintel {
  position: relative;
  background: var(--band);
  border-bottom: 1px solid var(--line);
}
/* Two incised lines, like the edges of the stone band */
.lintel::before,
.lintel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.lintel::before {
  top: 8px;
}
.lintel::after {
  bottom: 8px;
}

.lintel-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 32px;
  row-gap: 14px;
  padding-block: clamp(36px, 5vw, 64px) clamp(30px, 4.2vw, 54px);
  font-family: var(--display);
  line-height: 0.92;
}
.lintel-title .l1 {
  font-size: clamp(2.75rem, 7.1vw, 6.5rem);
  letter-spacing: 0.07em;
  margin-right: -0.07em;
}
.lintel-title .l2 {
  margin-left: auto;
  font-size: clamp(1.125rem, 1.9vw, 1.75rem);
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  color: var(--muted);
}

/* ---------- Arches: images in round-topped masks ---------- */
.arch {
  margin: 0;
}
.arch-frame {
  position: relative;
  overflow: hidden;
  border-radius: 9999px 9999px 0 0;
  aspect-ratio: 4 / 5;
  background: var(--band);
}
.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The brick surround: one thin line set off the opening, like the voussoirs */
.arch--brick .arch-frame {
  outline: 1px solid var(--brick);
  outline-offset: 12px;
}
.arch--brick {
  padding: 13px 13px 0;
}
.arch figcaption {
  margin-top: 22px;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}
.arch--brick figcaption {
  margin-top: 28px;
}

/* ---------- Home: hero ---------- */
.hero-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 56px;
  padding-block: 56px 104px;
}
.hero-main {
  grid-column: 1 / span 7;
}
.hero-figure {
  grid-column: 9 / span 4;
  align-self: start;
}
.hero-figure .arch-frame img {
  object-position: 24% 50%;
}
.lede {
  max-width: 34ch;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 2.125rem);
  line-height: 1.28;
}
.tasks-title {
  margin-top: 52px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.3;
}
.tasks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
}
.tasks li {
  border-bottom: 1px solid var(--line);
}
.tasks a {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 16px;
  padding: 18px 8px 19px 0;
  text-decoration: none;
  height: 100%;
}
/* a small arch as the list mark */
.tasks a::before {
  content: "";
  grid-row: 1 / span 2;
  width: 14px;
  height: 18px;
  margin-top: 4px;
  border: 1.5px solid var(--line-ui);
  border-bottom: 0;
  border-radius: 9999px 9999px 0 0;
}
.task-name {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.task-note {
  margin-top: 3px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.45;
}
.tasks a:hover {
  color: var(--ink);
}
.tasks a:hover .task-name {
  color: var(--brick);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.tasks a:hover::before,
.tasks a:focus-visible::before {
  border-color: var(--brick);
  background: var(--brick);
}

/* ---------- Home: sections on the grid ---------- */
.section {
  border-top: 1px solid var(--line);
  padding-block: 88px 96px;
}
.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 32px;
}
.section-head {
  grid-column: 1 / span 3;
}
.section-body {
  grid-column: 4 / span 9;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 2.9vw, 2.625rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
}
.section-intro {
  margin-top: 18px;
  max-width: 22rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* Quorum Court */
.qc-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 48px;
}
.qc-main {
  grid-column: 1 / span 6;
}
.qc-when {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.05em;
}
.qc-when-rest {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: 0;
  line-height: 1.2;
}
.qc-text {
  margin-top: 26px;
  max-width: var(--measure);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 32px;
}
.notices {
  grid-column: 7 / span 3;
  align-self: start;
  padding-top: 8px;
}
.small-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
}
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.link-list li {
  border-bottom: 1px solid var(--line);
}
.link-list a {
  display: block;
  padding: 14px 0;
  line-height: 1.35;
}

/* Buttons */
.button,
.prose a.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 26px;
  border: 0;
  border-bottom: 3px solid var(--brick);
  background: var(--slate);
  color: var(--on-slate);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  text-decoration: none;
}
.button:hover,
.prose a.button:hover {
  background: var(--brick);
  color: #fff;
  border-bottom-color: var(--slate);
}

/* Directory of offices */
.directory {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.directory li {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: baseline;
  padding: 17px 0 18px;
  border-bottom: 1px solid var(--line);
}
.dir-office {
  grid-column: 1 / span 3;
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.35;
  text-decoration: none;
}
.dir-office:hover {
  text-decoration: underline;
}
.dir-detail {
  grid-column: 4 / span 4;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.45;
}
.dir-phone {
  grid-column: 8 / span 2;
  justify-self: end;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 1.1875rem;
}

/* Visit */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 48px;
}
.visit-main {
  grid-column: 1 / span 5;
}
.visit-address {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.6vw, 2.375rem);
  line-height: 1.2;
}
.facts {
  margin: 36px 0 0;
  border-top: 1px solid var(--ink);
}
.facts > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  column-gap: var(--gap);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-weight: 600;
}
.facts dd {
  margin: 0;
}
.visit-note {
  margin-top: 24px;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.0625rem;
}
.visit-figure {
  grid-column: 7 / span 3;
}
.visit-figure .arch-frame {
  aspect-ratio: 3 / 4;
}
.visit-figure .arch-frame img {
  object-position: 12% 82%;
  transform: scale(1.9);
  transform-origin: 20% 78%;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 48px;
}
.about-main {
  grid-column: 1 / span 6;
}
.about-main > p {
  max-width: var(--measure);
}
.about-figure {
  grid-column: 7 / span 3;
}
.about-figure .arch-frame {
  aspect-ratio: 384 / 593;
}
/* trim the worn edge of the postcard */
.about-figure .arch-frame img {
  transform: scale(1.07);
  transform-origin: 50% 46%;
}
/* Figures set like dimensions on a drawing: a line with end ticks over each number */
.dims {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap);
  margin: 48px 0 0;
}
.dims > div {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.dims > div::before,
.dims > div::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 1px;
  height: 11px;
  background: var(--ink);
}
.dims > div::before {
  left: 0;
}
.dims > div::after {
  right: 0;
}
.dims dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
}
.dims dt {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}

/* Jobs, links, follow */
.closing-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 56px;
}
.closing-grid > section:nth-child(1) {
  grid-column: 1 / span 5;
}
.closing-grid > section:nth-child(2) {
  grid-column: 7 / span 3;
}
.closing-grid > section:nth-child(3) {
  grid-column: 10 / span 3;
}
.closing-title {
  font-family: var(--serif);
  font-size: 1.875rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
.jobs-status {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  max-width: 24ch;
}
.jobs-text {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 34rem;
}

/* ---------- Department page ---------- */
.page-head .wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
}
.page-head-text {
  grid-column: 1 / span 8;
  padding-block: 36px clamp(40px, 5vw, 64px);
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  font-size: 1.0625rem;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "/";
  margin: 0 12px;
  color: var(--line-ui);
}
.crumbs a {
  color: var(--ink);
}
.page-title {
  margin-top: clamp(24px, 3.4vw, 44px);
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: 0.07em;
  line-height: 0.92;
  margin-right: -0.07em;
}
.page-lede {
  margin-top: 24px;
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  line-height: 1.3;
}
.page-head-figure {
  grid-column: 10 / span 3;
  align-self: end;
  margin: 0 0 9px;
  padding-top: 40px;
}
.page-head-figure .arch-frame {
  aspect-ratio: 3 / 4;
  max-height: 380px;
  margin-inline: auto;
}
.page-head-figure .arch-frame img {
  transform: scale(2.1);
  transform-origin: 1% 35%;
}

.dept {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 56px;
  padding-block: 64px 112px;
}
.contact {
  grid-column: 1 / span 4;
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 30px 30px 26px;
  background: var(--band);
  border-top: 3px solid var(--slate);
}
.contact-label {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.contact-name {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
}
.contact-role {
  margin-top: 6px;
  color: var(--muted);
  font-size: 1.0625rem;
}
.contact-phone {
  display: block;
  margin-top: 22px;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}
.contact-list {
  margin: 22px 0 0;
  border-top: 1px solid var(--line-ui);
}
.contact-list > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.contact-list dt {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.contact-list dd {
  margin: 2px 0 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.contact-hours-note {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Prose: the part of a page the county edits ---------- */
.prose {
  grid-column: 6 / span 7;
  max-width: 44rem;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  position: relative;
  margin-top: 2.2em;
  padding-top: 0.75em;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  line-height: 1.15;
}
.prose > h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}
.prose h3 {
  margin-top: 1.8em;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.6em;
}
.prose h2 + * {
  margin-top: 0.8em;
}
.prose p,
.prose li {
  max-width: 40rem;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose ul > li::marker {
  color: var(--brick);
}
.prose strong {
  font-weight: 650;
}
.prose a[href^="tel:"] {
  white-space: nowrap;
}
.prose a.button {
  margin-top: 1.2em;
}
.prose a.button + * {
  margin-top: 1.6em;
}
.prose img {
  margin-block: 1.6em;
}
.prose table {
  width: 100%;
  margin-top: 1.4em;
  border-collapse: collapse;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.prose caption {
  padding-bottom: 12px;
  text-align: left;
  font-weight: 600;
  font-size: 1.125rem;
}
.prose th,
.prose td {
  padding: 13px 16px 13px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.prose thead th {
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
.prose tbody th {
  font-weight: 600;
}
@media (min-width: 600px) {
  .prose tbody th:first-child {
    min-width: 11.5rem;
  }
}

/* ---------- Footer: the slate ---------- */
.site-footer {
  background: var(--slate);
  color: var(--on-slate);
  padding-block: 72px 40px;
}
.site-footer a {
  color: var(--on-slate);
  text-decoration-color: var(--on-slate-muted);
}
.site-footer a:hover {
  color: #fff;
  text-decoration-color: #fff;
}
.site-footer :focus-visible {
  outline-color: var(--on-slate);
}
.footer-inscription {
  padding-block: 0.5em 0.42em;
  border-block: 1px solid rgba(243, 244, 243, 0.4);
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.4vw, 3.875rem);
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  white-space: normal;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 36px;
  margin-top: 56px;
}
.footer-grid > div {
  grid-column: span 3;
}
.footer-head {
  margin-bottom: 10px;
  color: var(--on-slate-muted);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-grid li + li {
  margin-top: 4px;
}
.footer-grid li a {
  display: inline-block;
  padding-block: 5px;
}
.footer-base {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 244, 243, 0.2);
  color: var(--on-slate-muted);
  font-size: 1rem;
}

/* ---------- Narrower screens ---------- */
@media (max-width: 1180px) and (min-width: 960px) {
  .dims {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
  .hero-main {
    grid-column: 1 / span 7;
  }
  .hero-figure {
    grid-column: 8 / span 5;
  }
  .tasks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 959.98px) {
  .hero-body,
  .section-grid,
  .qc-grid,
  .visit-grid,
  .about-grid,
  .closing-grid,
  .page-head .wrap,
  .dept,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-main,
  .hero-figure,
  .section-head,
  .section-body,
  .qc-main,
  .notices,
  .visit-main,
  .visit-figure,
  .about-main,
  .about-figure,
  .closing-grid > section:nth-child(n),
  .page-head-text,
  .contact,
  .prose,
  .footer-grid > div {
    grid-column: 1 / -1;
  }
  .hero-body {
    padding-block: 36px 72px;
    row-gap: 48px;
  }
  .hero-figure {
    max-width: 420px;
  }
  .section {
    padding-block: 64px 72px;
  }
  .section-grid {
    row-gap: 28px;
  }
  .section-intro {
    max-width: none;
  }
  .directory li {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 2px;
  }
  .dir-office {
    grid-column: 1;
    grid-row: 1;
  }
  .dir-detail {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .dir-phone {
    grid-column: 2;
    grid-row: 1;
  }
  .visit-figure,
  .about-figure {
    justify-self: start;
    max-width: 300px;
  }
  .dims {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
  .page-head-figure {
    display: none;
  }
  .page-head-text {
    padding-block: 24px 40px;
  }
  .dept {
    padding-block: 32px 80px;
    row-gap: 48px;
  }
  .contact {
    position: static;
    padding: 22px 20px 18px;
  }
  .contact-phone {
    margin-top: 16px;
  }
  .contact-list {
    margin-top: 16px;
  }
  .contact-list > div {
    padding: 10px 0;
  }
  .facts > div {
    grid-template-columns: 5.5rem 1fr;
  }
  .footer-grid > div {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599.98px) {
  body {
    font-size: 1.125rem;
  }
  .lintel-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .lintel-title .l1 {
    font-size: clamp(2.5rem, 14.5vw, 4rem);
    line-height: 1;
  }
  .lintel-title .l1 .w {
    display: block;
  }
  .lintel-title .l2 {
    margin-left: 0;
  }
  .tasks {
    grid-template-columns: 1fr;
  }
  .tasks-title {
    margin-top: 36px;
  }
  .page-title {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }
  .prose th,
  .prose td {
    padding-right: 12px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inscription .w {
    display: block;
  }
}

@media (max-width: 374.98px) {
  .brand-name {
    font-size: 0.9375rem;
    letter-spacing: 0.1em;
    margin-right: -0.1em;
  }
  .brand-state {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
  }
  .menu-toggle {
    gap: 8px;
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
