/* Marion County, Arkansas: "Postcard" theme.
   Screen-printed in two inks on poster stock: forest green and persimmon red.
   Where the inks overlap they multiply to a near-black (--over). */

@font-face {
  font-family: "Holtwood One SC";
  src: url("fonts/holtwood-one-sc-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders";
  src: url("fonts/big-shoulders-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("fonts/libre-franklin-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("fonts/libre-franklin-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #F3F0E7;      /* uncoated poster stock */
  --green: #17402F;      /* ink 1: forest green, 10.2:1 on paper */
  --red: #EA4A24;        /* ink 2: persimmon, large type and shapes only (3.4:1) */
  --over: #191307;       /* green x red overprint */
  --green-tint: #DCDED3; /* 12% green screen */
  --red-tint: #F5DCCF;   /* 15% persimmon screen */

  --wood: "Holtwood One SC", "Rockwell Extra Bold", "Rockwell", Georgia, serif;
  --gothic: "Big Shoulders", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Libre Franklin", "Franklin Gothic Book", "Segoe UI", system-ui, sans-serif;

  --wrap: 86rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --rule: 5px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--green);
  background-color: var(--paper);
  background-image: url("img/grain.png");
  background-size: 128px 128px;
  background-blend-mode: soft-light;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

img,
svg { max-width: 100%; height: auto; }

a {
  color: var(--green);
  text-decoration-line: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}
a[href^="tel:"] { white-space: nowrap; }
a:hover {
  color: var(--over);
  text-decoration-thickness: 0.22em;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 1px;
}
a:focus-visible {
  background-color: var(--red-tint);
  box-shadow: 0 0 0 3px var(--red-tint);
  text-decoration-thickness: 0.22em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--green);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 1rem;
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.skip:focus-visible { background: var(--green); color: var(--paper); box-shadow: none; }

/* ---------- Two-ink devices ---------- */

/* A double rule printed in both inks, the red plate a hair off register. */
.masthead,
.tasks,
.directory,
.site-foot { position: relative; }

/* Misregistered red plate under green display type. */
.section-title,
.poster-sub {
  text-shadow: 0.035em 0.03em 0 var(--red);
}

/* ---------- Masthead ---------- */

.masthead {
  border-bottom: var(--rule) solid var(--green);
  z-index: 20;
}
.masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--rule) - 7px);
  height: 3px;
  background: var(--red);
  mix-blend-mode: multiply;
}

.masthead-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--green);
  line-height: 1;
  padding: 0.25rem 0;
}
.brand:hover { color: var(--green); }
.brand-name {
  font-family: var(--wood);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: 0.01em;
}
@media (min-width: 60em) {
  .brand-name { text-shadow: 0.05em 0.04em 0 var(--red); }
}
.brand-sub {
  font-family: var(--gothic);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  margin-top: 0.3rem;
}
.brand:focus-visible { background: transparent; box-shadow: none; }

.menu-btn {
  display: none;
}

.menu-top {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
}

.menu-top > li > a,
.sub-btn {
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0.1rem;
}
.menu-top > li > a:hover,
.sub-btn:hover {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.2em;
}
.menu-top > li > a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.2em;
}

.sub-btn {
  background: none;
  border: 0;
  cursor: pointer;
  gap: 0.45rem;
}
.sub-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 0.32em solid transparent;
  border-right: 0.32em solid transparent;
  border-top: 0.4em solid var(--red);
  transition: transform 0.15s ease;
}
.sub-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.sub-btn.is-current {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.2em;
}

.sub-label { display: none; }

.has-sub { position: relative; }

.dept-menu {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.5rem 1.5rem;
}

@media (min-width: 60em) {
  .masthead-in { position: relative; }
  .has-sub { position: static; }
  .js .dept-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1.1rem);
    right: var(--gutter);
    width: min(46rem, calc(100vw - 2 * var(--gutter) - 12px));
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(7, auto);
    grid-auto-flow: column;
    column-gap: 2rem;
    background-color: var(--paper);
    background-image: url("img/grain.png");
    background-size: 128px 128px;
    background-blend-mode: soft-light;
    border: 4px solid var(--green);
    box-shadow: 10px 10px 0 var(--red);
  }
  .js .dept-menu.is-open { display: grid; }
  html:not(.js) .dept-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
  }
  .dept-menu a {
    display: block;
    padding: 0.45rem 0;
    font-weight: 600;
    font-size: 1.0625rem;
    border-bottom: 2px dotted var(--red);
    text-decoration: none;
  }
  .dept-menu a:hover { text-decoration: underline; text-decoration-color: var(--red); }
  .dept-menu a[aria-current="page"] { color: var(--over); }
  .dept-menu a[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 0.55em;
    height: 0.55em;
    margin-right: 0.45em;
    background: var(--red);
    vertical-align: 0.05em;
  }
}

/* ---------- Buttons ---------- */

.button,
.prose a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.55rem 1.3rem 0.6rem;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.1;
  letter-spacing: 0.015em;
  color: var(--paper);
  background-color: var(--green);
  border: 3px solid var(--green);
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--red);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.button:hover,
.prose a.button:hover {
  color: var(--paper);
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--red);
}
.button:focus-visible,
.prose a.button:focus-visible {
  background-color: var(--green);
  outline: 3px solid var(--green);
  outline-offset: 4px;
  box-shadow: 6px 6px 0 var(--red);
}
.button-quiet {
  color: var(--green);
  background-color: var(--paper);
}
.button-quiet:hover { color: var(--green); }
.button-quiet:focus-visible { background-color: var(--paper); }

/* ---------- Hero ---------- */

.hero-in {
  display: grid;
  gap: 2.5rem 4rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 60em) {
  .hero-in { grid-template-columns: minmax(0, 1fr) auto; }
}

.poster-title {
  margin: 0;
  font-family: var(--wood);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.005em;
}
.hero-text { container-type: inline-size; }
.poster-title .pt {
  position: relative;
  z-index: 0;
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: clamp(3.25rem, 10.4vw, 9.75rem);
  font-size: min(10.25rem, 19.6cqi);
}
/* The second plate: a hatched shade in the other ink, printed a touch off register. */
.poster-title .pt::before {
  content: attr(data-ink) / "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translate(0.055em, 0.05em);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
}
.poster-title .pt-1 { color: var(--green); }
.poster-title .pt-1::before {
  background-image: repeating-linear-gradient(-45deg, var(--red) 0 2px, transparent 2px 5px);
}
.poster-title .pt-2 { color: var(--red); }
.poster-title .pt-2::before {
  background-image: repeating-linear-gradient(-45deg, var(--green) 0 2px, transparent 2px 5px);
}
.poster-title .pt-3 {
  display: block;
  margin-top: 0.35em;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  letter-spacing: 0.32em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0.035em 0.03em 0 var(--red);
}

.lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  margin: 2rem 0 0;
}

/* The postcard */
.postcard {
  margin: 0;
  justify-self: center;
  width: min(100%, 24rem);
}
.postcard-card {
  position: relative;
  transform: rotate(2.2deg);
  z-index: 0;
}
.postcard-card::before {
  /* halftone shadow, printed in green */
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  z-index: -1;
  background-image: radial-gradient(circle, var(--green) 1.4px, transparent 1.6px);
  background-size: 6px 6px;
}
.postcard-card img {
  display: block;
  width: 100%;
  border: 6px solid #fbf9f3;
  outline: 1px solid rgba(23, 64, 47, 0.25);
}
.stamp {
  position: absolute;
  top: -1.5rem;
  right: -1.7rem;
  width: 6.25rem;
  transform: rotate(5deg);
}
.s-paper { fill: #fbf9f3; }
.s-ink { fill: var(--green); }
.s-pole { stroke: #fbf9f3; stroke-width: 1.4; }
.s-text {
  fill: #fbf9f3;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.s-year {
  fill: #fbf9f3;
  font-family: var(--wood);
  font-size: 13px;
}
.postmark {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  width: 14.5rem;
  transform: rotate(-9deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.pm-line { fill: none; stroke: var(--red); stroke-width: 2.4; }
.pm-thick { stroke-width: 3.4; }
.pm-wave { stroke-width: 3; stroke-linecap: round; }
.pm-arc,
.pm-small,
.pm-big { fill: var(--red); font-family: var(--gothic); font-weight: 800; }
.pm-arc { font-size: 13.5px; letter-spacing: 0.08em; }
.pm-small { font-size: 11px; letter-spacing: 0.12em; }
.pm-big { font-size: 21px; letter-spacing: 0.02em; }

.postcard figcaption {
  margin-top: 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.4;
  text-align: center;
}

/* ---------- Section titles ---------- */

.section-title {
  margin: 0 0 1.75rem;
  font-family: var(--gothic);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
}

/* ---------- Tasks ---------- */

.tasks {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 3.5rem);
  border-top: var(--rule) solid var(--green);
}
.tasks::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 3px;
  background: var(--red);
  mix-blend-mode: multiply;
}

.task-list {
  list-style: none;
  counter-reset: task;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}
@media (min-width: 52em) {
  .task-list { grid-template-columns: 1fr 1fr; }
}
.task-list li {
  counter-increment: task;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  column-gap: 1rem;
  padding: 1.15rem 0 1.4rem;
  border-top: 4px solid var(--green);
}
.task-list li::before {
  content: counter(task);
  grid-row: 1 / span 2;
  font-family: var(--wood);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--red);
  text-align: center;
  padding-top: 0.12rem;
}
.task-name {
  font-family: var(--gothic);
  font-weight: 800;
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  line-height: 1.05;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
  justify-self: start;
}
.task-list p {
  margin: 0.45rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  max-width: 34rem;
}

/* ---------- Notices ---------- */

.notices {
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(234, 74, 36, 0.32) 1.3px, transparent 1.6px);
  background-size: 6px 6px;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.notices-in {
  display: grid;
  gap: 2.5rem 3rem;
  align-items: stretch;
}
@media (min-width: 60em) {
  .notices-in { grid-template-columns: 1fr 1.35fr 1fr; }
}
.notice-board,
.jobs {
  background-color: var(--paper);
  padding: 1.5rem 1.5rem 1.75rem;
  border: 3px solid var(--green);
}
.notice-board .section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 1rem;
}
.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.notice-list li + li { border-top: 3px dotted var(--red); }
.notice-list a {
  display: block;
  padding: 0.7rem 0;
  font-weight: 700;
  font-size: 1.1875rem;
}

.ticket {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  background-color: var(--paper);
  -webkit-mask:
    radial-gradient(circle 0.85rem at 7.5rem 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 0.85rem at 7.5rem 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle 0.85rem at 7.5rem 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 0.85rem at 7.5rem 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket-stub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.5rem;
  background-color: var(--red);
  background-image: linear-gradient(rgba(234, 74, 36, 0.6), rgba(234, 74, 36, 0.6)), url("img/grain.png");
  background-size: auto, 128px 128px;
  background-blend-mode: normal, soft-light;
  color: var(--paper);
  border-right: 3px dashed var(--paper);
  text-align: center;
}
.ticket-day {
  font-family: var(--gothic);
  font-weight: 900;
  font-size: 1.625rem;
  line-height: 1;
}
.ticket-time {
  font-family: var(--wood);
  font-size: 2.1rem;
  line-height: 1;
}
.ticket-body {
  padding: 1.4rem 1.6rem 1.6rem;
  border: 3px solid var(--green);
  border-left: 0;
}
.ticket-body h3,
.jobs h3 {
  margin: 0 0 0.5rem;
  font-family: var(--gothic);
  font-weight: 900;
  font-size: clamp(1.875rem, 2.8vw, 2.375rem);
  line-height: 1;
  text-shadow: 0.035em 0.03em 0 var(--red);
}
.ticket-body p { margin: 0.5rem 0 0; }
.ticket-body a { font-weight: 700; }

.jobs-none {
  margin: 0.25rem 0 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
}
.jobs p:last-child { margin-bottom: 0; }

/* ---------- Directory ---------- */

.directory {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
}
.directory-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  border-bottom: var(--rule) solid var(--green);
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
}
.directory-head .section-title { margin: 0; }
.directory-head p { margin: 0; max-width: 28rem; }

.dir-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
@media (min-width: 60em) {
  .dir-list { grid-template-columns: 1fr 1fr; }
}
.dir-list li {
  display: grid;
  grid-template-columns: auto minmax(1.5rem, 1fr) auto;
  grid-template-areas:
    "office leader tel"
    "who who who";
  align-items: baseline;
  column-gap: 0.6rem;
  padding: 0.85rem 0 0.9rem;
  border-bottom: 3px solid var(--green-tint);
}
.dir-list li:not(:has(.dir-tel))::after { visibility: hidden; }
.dir-list li::after {
  content: "";
  grid-area: leader;
  align-self: end;
  margin-bottom: 0.55em;
  border-bottom: 3px dotted var(--red);
}
.dir-office {
  grid-area: office;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
}
span.dir-office { color: var(--green); }
.dir-tel {
  grid-area: tel;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dir-note {
  font-weight: 700;
  font-size: 1.25rem;
}
.dir-who {
  grid-area: who;
  font-size: 1.0625rem;
  margin-top: 0.15rem;
}
.dir-more-title {
  margin: 2.5rem 0 0.25rem;
  font-family: var(--gothic);
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1.1;
}
.dir-more li { grid-template-areas: "office leader tel"; }

/* ---------- Postcard back ---------- */

.postback-wrap {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 5.5rem);
}
.postback-grid {
  display: grid;
  gap: 3rem 4rem;
  align-items: center;
}
@media (min-width: 64em) {
  .postback-grid { grid-template-columns: 1.55fr 1fr; }
}

.postback {
  display: grid;
  gap: 0 2.5rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  background-color: #f7f5ee;
  border: 3px solid var(--green);
  box-shadow: 12px 12px 0 var(--red);
}
@media (min-width: 46em) {
  .postback { grid-template-columns: 1.15fr 1fr; }
}
.postback-head {
  grid-column: 1 / -1;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--green);
  font-family: var(--wood);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: 0.3em;
  text-align: center;
  line-height: 1.1;
}
.postback-message h2 {
  margin: 0 0 1rem;
  font-family: var(--gothic);
  font-weight: 900;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  text-shadow: 0.035em 0.03em 0 var(--red);
}
.postback-message p { margin: 0 0 1rem; }
.postback-message p:last-child { margin-bottom: 0; }

.postback-address {
  position: relative;
  padding-top: 0.25rem;
}
@media (min-width: 46em) {
  .postback-address {
    border-left: 3px solid var(--green);
    padding-left: 2.25rem;
  }
}
@media (max-width: 45.99em) {
  .postback-address {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 3px solid var(--green);
  }
}
.stampbox {
  position: absolute;
  top: 0.25rem;
  right: 0;
  display: grid;
  place-items: center;
  width: 5.25rem;
  height: 6rem;
  padding: 0.4rem;
  border: 3px dashed var(--green);
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.05;
  text-align: center;
}
.postback-address h3 {
  min-height: 6.5rem;
  padding-right: 6.75rem;
  margin: 0 0 0.5rem;
  font-family: var(--gothic);
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1.05;
}
.postback-address address {
  clear: both;
  font-style: normal;
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 2.3rem;
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(2.3rem - 3px), var(--green) calc(2.3rem - 3px) 2.3rem);
  padding-top: 0.2rem;
  margin-bottom: 1.25rem;
}
.hours { margin: 0; }

.halftone {
  margin: 0;
}
.halftone img {
  display: block;
  width: 100%;
  mix-blend-mode: multiply;
}
.halftone figcaption {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  border-top: 3px solid var(--green);
  padding-top: 0.6rem;
}

/* ---------- Elsewhere ---------- */

.elsewhere {
  border-top: var(--rule) solid var(--green);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(3rem, 6vw, 4.5rem);
}
.elsewhere-in {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: start;
}
@media (min-width: 60em) {
  .elsewhere-in { grid-template-columns: auto 1fr auto; align-items: center; }
  .elsewhere .section-title { margin: 0; font-size: 2.5rem; }
}
.link-list,
.social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
}
.link-list a,
.social a {
  display: inline-block;
  padding: 0.35rem 0;
  font-weight: 700;
  font-size: 1.1875rem;
}
.social a {
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.5rem;
}

/* ---------- Footer ---------- */

.site-foot {
  color: var(--paper);
  background-color: var(--green);
  background-image: linear-gradient(rgba(23, 64, 47, 0.62), rgba(23, 64, 47, 0.62)), url("img/grain.png");
  background-size: auto, 128px 128px;
  background-blend-mode: normal, soft-light;
  border-top: 8px solid var(--red);
  padding-block: 3rem 2.5rem;
}
.site-foot a {
  color: var(--paper);
  text-decoration-color: var(--red);
}
.site-foot a:hover { color: #fff; }
.site-foot :focus-visible {
  outline-color: var(--paper);
}
.site-foot a:focus-visible {
  background: transparent;
  box-shadow: none;
}
.foot-in {
  display: grid;
  gap: 2rem 3rem;
}
@media (min-width: 48em) {
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.foot-brand p { margin: 0; }
.foot-name {
  font-family: var(--wood);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  text-shadow: 0.05em 0.045em 0 var(--red);
}
.foot-brand p + p {
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.foot-title {
  margin: 0 0 0.5rem;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
}
.foot-col address { font-style: normal; }
.foot-col p,
.foot-col address { margin: 0 0 0.75rem; }
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-col li a {
  display: inline-block;
  padding: 0.2rem 0;
}
.copyright {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 1.25rem;
  border-top: 3px solid rgba(243, 240, 231, 0.35);
  font-size: 1.0625rem;
}

/* ---------- Department page ---------- */

.crumbs {
  padding-top: 1.25rem;
}
.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  font-size: 1.0625rem;
}
.crumbs li + li::before {
  content: "/";
  margin: 0 0.6rem;
  color: var(--red);
  font-weight: 700;
}

.page-head {
  display: grid;
  gap: 1rem 2rem;
  align-items: end;
  padding-block: clamp(1.25rem, 3vw, 2rem) clamp(1.75rem, 4vw, 2.75rem);
}
@media (min-width: 52em) {
  .page-head { grid-template-columns: minmax(0, 1fr) auto; }
}
.page-head-text { container-type: inline-size; }
.page-title .pt {
  font-size: clamp(2.5rem, 9.5vw, 8.5rem);
  font-size: min(8.5rem, 14cqi);
  line-height: 0.95;
}
.page-sub {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.5;
}
.office-mark {
  width: 17rem;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
  margin-bottom: 0.25rem;
}
@media (max-width: 51.99em) {
  .office-mark { display: none; }
}

/* Contact card: a ticket with a green stub */
.contact-card {
  display: grid;
  background-color: #f7f5ee;
  border: 3px solid var(--green);
  box-shadow: 12px 12px 0 var(--red);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 52em) {
  .contact-card { grid-template-columns: minmax(15rem, 0.8fr) 2.2fr; }
}
.cc-stub {
  position: relative;
  padding: 1.5rem 1.75rem 1.75rem;
  color: var(--paper);
  background-color: var(--green);
  background-image: linear-gradient(rgba(23, 64, 47, 0.62), rgba(23, 64, 47, 0.62)), url("img/grain.png");
  background-size: auto, 128px 128px;
  background-blend-mode: normal, soft-light;
}
@media (min-width: 52em) {
  .cc-stub { border-right: 3px dashed var(--paper); outline: 3px solid var(--green); }
}
.cc-stub h2 {
  margin: 0 0 1rem;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.1;
  color: var(--paper);
}
.cc-name {
  margin: 0;
  font-family: var(--gothic);
  font-weight: 900;
  font-size: clamp(2.25rem, 3.6vw, 3rem);
  line-height: 0.95;
  text-shadow: 0.04em 0.035em 0 var(--red);
}
.cc-title {
  margin: 0.5rem 0 0;
  font-weight: 600;
  font-size: 1.1875rem;
}
.cc-phone-label {
  margin: 1.5rem 0 0.2rem;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
}
.cc-phone {
  display: inline-block;
  font-family: var(--gothic);
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--paper);
  text-decoration-color: var(--red);
}
.cc-stub a:focus-visible {
  outline-color: var(--paper);
  background: transparent;
  box-shadow: none;
}
.cc-details {
  margin: 0;
  padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem) 1.75rem;
  display: grid;
  gap: 1.1rem 2rem;
}
@media (min-width: 36em) {
  .cc-details { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 80em) {
  .cc-details { grid-template-columns: 1fr 1fr 1fr; }
  .cc-details .cc-wide { grid-column: span 2; }
}
.cc-details div {
  border-top: 3px dotted var(--red);
  padding-top: 0.6rem;
}
.cc-details dt {
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
}
.cc-details dd {
  margin: 0.2rem 0 0;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}
.cc-details dd a { font-weight: 600; }

.dept-layout {
  display: grid;
  gap: 3rem clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 64em) {
  .dept-layout { grid-template-columns: minmax(0, 1fr) 19rem; }
}

/* Generic editable body */
.prose {
  max-width: 42rem;
  font-size: 1.1875rem;
  line-height: 1.65;
}
.prose > :first-child { margin-top: 0; }
.prose h2 {
  margin: 2.75rem 0 0.75rem;
  font-family: var(--gothic);
  font-weight: 900;
  font-size: clamp(2rem, 3.4vw, 2.625rem);
  line-height: 1.02;
  text-shadow: 0.035em 0.03em 0 var(--red);
}
.prose h3 {
  margin: 2rem 0 0.5rem;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.625rem;
  line-height: 1.1;
}
.prose p,
.prose ul,
.prose ol,
.prose table,
.prose figure { margin: 0 0 1.15rem; }
.prose ul,
.prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.35rem; }
.prose ul li::marker { color: var(--red); font-size: 1.15em; }
.prose ol li::marker { color: var(--red); font-family: var(--gothic); font-weight: 900; }
.prose strong { font-weight: 700; }
.prose img { display: block; border: 6px solid #fbf9f3; outline: 3px solid var(--green); }
.prose figcaption { font-size: 1.0625rem; margin-top: 0.5rem; }
.prose a.button { margin: 0.5rem 0 0.75rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.prose caption {
  text-align: left;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  padding-bottom: 0.5rem;
}
.prose thead th {
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.25rem;
  text-align: left;
  color: var(--paper);
  background: var(--green);
  padding: 0.55rem 0.85rem;
}
.prose td,
.prose tbody th {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.85rem;
  border-bottom: 3px solid var(--green-tint);
}
.prose tbody th { font-weight: 700; white-space: nowrap; }
.prose tbody tr:last-child > * { border-bottom: 4px solid var(--green); }

.side-index h2 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: var(--rule) solid var(--green);
  font-family: var(--gothic);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
}
.side-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-index li { border-bottom: 3px dotted var(--red); }
.side-index a {
  display: block;
  padding: 0.55rem 0;
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}
.side-index a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.side-index a[aria-current="page"] {
  font-weight: 800;
  color: var(--over);
}
.side-index a[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-right: 0.5em;
  background: var(--red);
}
.side-index .side-note {
  margin-top: 2rem;
  padding: 1.25rem 1.25rem 1.4rem;
  background-color: var(--green-tint);
  border-top: var(--rule) solid var(--green);
}
.side-note h3 {
  margin: 0 0 0.35rem;
  font-family: var(--gothic);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
}
.side-note p { margin: 0; font-size: 1.0625rem; }

/* ---------- Phone ---------- */

@media (max-width: 59.99em) {
  .masthead-in { padding-block: 0.7rem; flex-wrap: wrap; }
  .js .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.4rem 0.9rem 0.45rem;
    font-family: var(--gothic);
    font-weight: 800;
    font-size: 1.375rem;
    line-height: 1;
    color: var(--green);
    background: var(--paper);
    border: 3px solid var(--green);
    box-shadow: 4px 4px 0 var(--red);
    cursor: pointer;
  }
  .js .menu-btn::before {
    content: "";
    width: 1.1rem;
    height: 0.85rem;
    background:
      linear-gradient(var(--green), var(--green)) 0 0 / 100% 3px no-repeat,
      linear-gradient(var(--green), var(--green)) 0 50% / 100% 3px no-repeat,
      linear-gradient(var(--green), var(--green)) 0 100% / 100% 3px no-repeat;
  }
  .js .menu-btn[aria-expanded="true"]::before {
    background:
      linear-gradient(45deg, transparent calc(50% - 1.5px), var(--green) calc(50% - 1.5px) calc(50% + 1.5px), transparent calc(50% + 1.5px)),
      linear-gradient(-45deg, transparent calc(50% - 1.5px), var(--green) calc(50% - 1.5px) calc(50% + 1.5px), transparent calc(50% + 1.5px));
    width: 0.95rem;
    height: 0.95rem;
  }
  .menu { width: 100%; }
  .js .menu { display: none; }
  .js .menu.is-open { display: block; }
  .menu-top {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 0.5rem;
    border-top: 4px solid var(--green);
  }
  .menu-top > li { border-bottom: 3px dotted var(--red); }
  .menu-top > li > a {
    display: flex;
    min-height: 3.25rem;
    font-size: 1.625rem;
  }
  .sub-btn { display: none; }
  .sub-label {
    display: block;
    padding: 0.85rem 0 0.25rem;
    font-family: var(--gothic);
    font-weight: 800;
    font-size: 1.625rem;
    line-height: 1;
  }
  .dept-menu {
    display: block;
    padding: 0.25rem 0 0.75rem 1rem;
    border-left: 4px solid var(--red);
    margin: 0.5rem 0 0.9rem;
  }
  .dept-menu a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.25;
    text-decoration: none;
  }
  .dept-menu a[aria-current="page"] {
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--red);
  }

  .postcard { width: min(72%, 19rem); margin-top: 0.5rem; }
  .stamp { width: 4.6rem; right: -1rem; top: -1.2rem; }
  .postmark { width: 10.5rem; right: 0.6rem; }

  .dir-list li { grid-template-columns: 1fr auto; grid-template-areas: "office tel" "who who"; }
  .dir-list li::after { display: none; }
  .dir-office, .dir-tel { font-size: 1.375rem; }
  .dir-more li { grid-template-areas: "office tel"; }
}

@media (max-width: 30em) {
  .task-list li { grid-template-columns: 2.4rem 1fr; column-gap: 0.75rem; }
  .task-list li::before { font-size: 2rem; }
  .ticket { grid-template-columns: 5.25rem 1fr;
    -webkit-mask:
      radial-gradient(circle 0.75rem at 5.25rem 0, transparent 98%, #000) top / 100% 51% no-repeat,
      radial-gradient(circle 0.75rem at 5.25rem 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
    mask:
      radial-gradient(circle 0.75rem at 5.25rem 0, transparent 98%, #000) top / 100% 51% no-repeat,
      radial-gradient(circle 0.75rem at 5.25rem 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  }
  .ticket-day { font-size: 1.375rem; }
  .ticket-time { font-size: 1.6rem; }
  .ticket-body { padding: 1.1rem 1.1rem 1.25rem; }
  .dir-list li { grid-template-columns: 1fr; grid-template-areas: "office" "tel" "who"; }
  .dir-more li { grid-template-areas: "office" "tel"; }
  .dir-tel { margin-top: 0.2rem; }
}

@media (max-width: 23em) {
  .masthead-in { gap: 0.5rem; }
  .brand-name { font-size: 1.0625rem; }
  .brand-sub { font-size: 1rem; }
  .js .menu-btn { padding-inline: 0.6rem; font-size: 1.25rem; gap: 0.45rem; }
}

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

@media (forced-colors: active) {
  .poster-title .pt::before { display: none; }
  .button { border-color: ButtonText; }
}

@media print {
  .masthead::after, .tasks::before, .menu, .menu-btn, .postmark { display: none; }
  body { background: #fff; }
}
