@font-face {
  font-family: "IBM Plex Sans";
  src: url("/rig-plex-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --chalk: #f8f5ee;
  --ink: #24282a;
  --oxblood: #852c36;
  --rule: #d8d1c6;
  --steel: #435562;
  color: var(--ink);
  background: var(--chalk);
  font: 1rem/1.55 "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule); }
.mark { color: var(--ink); display: flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; }
.mark img { width: 34px; height: 34px; object-fit: contain; background: var(--ink); }
.hero, .access { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 70px); }
.hero { padding-block: clamp(36px, 7vw, 100px); }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5.3rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.035em; }
p { margin-block: 12px 20px; }
.intro p { max-width: 45ch; }
figure { margin: 0; }
figure img, .access img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
figure img { object-position: 54% center; }
figcaption { color: var(--steel); font-size: .875rem; padding-top: 6px; }
.action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 15px; border: 1px solid var(--oxblood); color: #fff; background: var(--oxblood); text-decoration: none; font: inherit; font-weight: 600; cursor: pointer; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }
.tally { border-block: 1px solid var(--rule); padding-block: clamp(28px, 5vw, 60px); }
label { display: block; font-weight: 600; }
.search { display: flex; gap: 8px; max-width: 560px; }
input { min-width: 0; flex: 1; border: 1px solid var(--steel); min-height: 44px; padding: 8px 10px; font: inherit; }
#results-status { color: var(--steel); margin-bottom: 6px; }
#results { list-style: none; padding: 0; margin: 0; }
#results li { display: grid; grid-template-columns: 1fr 1fr; padding-block: 9px; border-top: 1px solid var(--rule); gap: 8px; }
#results li span { color: var(--steel); }
.access { padding-block: clamp(36px, 6vw, 78px); }
.access img { aspect-ratio: 16 / 9; }
footer { border-top: 1px solid var(--rule); padding-block: 18px; color: var(--steel); }
@media (max-width: 680px) {
  .hero, .access { grid-template-columns: 1fr; }
  .access img { order: 1; }
  #results li { grid-template-columns: 1fr; gap: 2px; }
}
