.states-page {
  --ink: #26233b;
  --muted: #505463;
  --plum: #2c233b;
  --rust: #903e2d;
  --gold: #ffd16e;
  --green: #19483c;
  --rule: #d9d5dd;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

.states-page :is(h1, h2, h3, p, figure, ol, ul) {
  margin: 0;
}

.states-page :is(h1, h2, h3) {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.07;
}

.states-page h1 {
  max-width: 11ch;
  font-size: clamp(2.55rem, 4.6vw, 5rem);
  font-weight: 400;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.states-page h2 {
  font-size: clamp(2.05rem, 3.6vw, 3.85rem);
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.states-page h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
}

.states-page a {
  color: inherit;
  text-decoration: none;
}

.states-page :is(a, summary):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.states-page .wrap {
  width: min(76rem, 100% - 3.5rem);
  margin-inline: auto;
}

.states-page .skip {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .65rem 1rem;
  background: #fff;
  color: var(--ink);
  transform: translateY(-250%);
}

.states-page .skip:focus {
  transform: translateY(0);
}

.states-page .masthead {
  border-bottom: 1px solid var(--rule);
}

.states-page .masthead-inner,
.states-page .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: 1rem;
}

.states-page .brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font: 700 1.45rem/1 Georgia, serif;
}

.states-page .brand::before {
  width: .75rem;
  height: 1rem;
  background: #bd623d;
  border-radius: 65% 35% 64% 36%;
  content: "";
  transform: rotate(23deg);
}

.states-page .site-links {
  display: flex;
  gap: .15rem 1.45rem;
  flex-wrap: wrap;
  font-size: .9rem;
  font-weight: 700;
}

.states-page .site-links a,
.states-page .crumbs a {
  padding-block: .45rem;
}

.states-page .masthead a:hover,
.states-page .crumbs a:hover {
  color: var(--rust);
}

.states-page .crumbs ol {
  display: flex;
  gap: .25rem .65rem;
  flex-wrap: wrap;
  padding: .8rem 0;
  list-style: none;
  color: var(--muted);
  font-size: .84rem;
}

.states-page .crumbs li + li::before {
  margin-right: .65rem;
  color: var(--rust);
  content: "/";
}

.states-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--plum);
  color: #fff;
}

.states-page .hero-copy {
  align-self: center;
  padding: clamp(1.75rem, 4vw, 4.25rem);
}

.states-page .eyebrow {
  margin-bottom: .8rem;
  color: var(--rust);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.states-page .hero .eyebrow,
.states-page .fleece .eyebrow {
  color: var(--gold);
}

.states-page .hero-intro {
  max-width: 36ch;
  margin-top: 1.2rem;
  color: #f3eaf4;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.states-page picture {
  display: block;
}

.states-page img {
  display: block;
  width: 100%;
  height: auto;
}

.states-page .hero picture {
  position: relative;
  min-height: 24rem;
  background: #8b7358;
}

.states-page .hero img {
  position: absolute;
  height: 100%;
  object-fit: cover;
  object-position: 62% 52%;
}

.states-page .directory {
  padding-block: clamp(2.75rem, 6vw, 5.75rem);
}

.states-page .directory-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
  align-items: end;
  gap: .85rem 2.5rem;
  margin-bottom: 1.4rem;
}

.states-page .directory-intro,
.states-page figcaption {
  color: var(--muted);
}

.states-page .region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.75rem, 5vw, 5rem);
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--plum);
}

.states-page .region-list li {
  display: flex;
  border-bottom: 1px solid var(--rule);
}

.states-page .region-link {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: start;
  gap: .4rem .8rem;
  padding: 1.05rem .25rem 1.15rem;
}

.states-page .region-link:hover {
  background: #f6f3f7;
}

.states-page .region-link:hover :is(h3, .region-code) {
  color: var(--rust);
}

.states-page .region-code {
  grid-column: 2;
  grid-row: 1;
  border: 1px solid #b9acbf;
  padding: .15rem .42rem;
  color: #5a4264;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .07em;
}

.states-page .region-link p {
  grid-column: 1 / -1;
  max-width: 55ch;
  color: var(--muted);
  font-size: .95rem;
}

.states-page .highlands {
  background: #edf2f5;
  border-block: 1px solid #d9e1e8;
}

.states-page .story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4.5rem);
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.states-page .highlands h2 {
  color: #263854;
}

.states-page .story-copy > p + p,
.states-page .story-copy > h2 + p,
.states-page .visit-copy > p + p,
.states-page .visit-copy > h2 + p {
  margin-top: .95rem;
}

.states-page .story-grid picture {
  border-top: 4px solid #465c80;
}

.states-page figcaption {
  margin-top: .55rem;
  font-size: .83rem;
}

.states-page .text-link {
  box-shadow: inset 0 -1px currentColor;
  color: #5f3d74;
  font-weight: 750;
}

.states-page .text-link:hover {
  color: var(--rust);
  background: #fff2d4;
}

.states-page .dry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: stretch;
  margin-block: clamp(2.5rem, 6vw, 5.5rem);
  background: #f8ede7;
}

.states-page .dry-copy {
  padding: clamp(1.5rem, 4vw, 3.75rem);
  border-top: 4px solid #a45036;
}

.states-page .dry figure {
  position: relative;
  background: #937756;
}

.states-page .dry img {
  position: absolute;
  height: 100%;
  object-fit: cover;
  object-position: 49% center;
}

.states-page .fleece {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 3.75rem);
  background: var(--green);
  color: #fff;
}

.states-page .fleece figcaption {
  color: #e0eee7;
}

.states-page .fleece .text-link {
  color: var(--gold);
}

.states-page .fleece .text-link:hover {
  color: #fff;
  background: #306553;
}

.states-page .visit {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 1.75rem clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

.states-page .visit details {
  border-bottom: 1px solid var(--rule);
}

.states-page .visit details:first-child {
  border-top: 3px solid var(--plum);
}

.states-page .visit summary {
  padding: .9rem .35rem;
  font-weight: 750;
  cursor: pointer;
}

.states-page .visit summary::marker {
  color: var(--rust);
}

.states-page .visit summary:hover {
  background: #f6f3f7;
}

.states-page .visit details p {
  padding: 0 .35rem .95rem;
  color: var(--muted);
}

.states-page .references {
  margin-bottom: 2.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .9rem;
}

.states-page .references h2 {
  margin-bottom: .4rem;
  color: var(--ink);
  font: 800 .9rem/1.4 system-ui, sans-serif;
  letter-spacing: 0;
}

.states-page .references ul {
  padding-left: 1.15rem;
}

.states-page .footer {
  background: var(--plum);
  color: #fff;
}

.states-page .footer-inner {
  padding-block: 1.5rem;
}

.states-page .footer a:hover {
  color: var(--gold);
}

@media (max-width: 800px) {
  .states-page .wrap {
    width: min(100% - 2rem, 44rem);
  }

  .states-page .hero,
  .states-page .directory-head,
  .states-page .story-grid,
  .states-page .dry,
  .states-page .fleece,
  .states-page .visit {
    grid-template-columns: minmax(0, 1fr);
  }

  .states-page h1 {
    max-width: 16ch;
  }

  .states-page .hero picture,
  .states-page .dry figure {
    min-height: 0;
  }

  .states-page .hero img,
  .states-page .dry img {
    position: static;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .states-page .dry figure {
    order: -1;
  }
}

@media (max-width: 600px) {
  .states-page .masthead-inner {
    gap: .35rem 1rem;
  }

  .states-page .site-links {
    column-gap: 1rem;
  }

  .states-page .hero img {
    aspect-ratio: 4 / 4.35;
  }

  .states-page :is(.story-grid, .dry, .fleece) img {
    aspect-ratio: 4 / 4.5;
    object-fit: cover;
  }

  .states-page .region-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
