/* Brand red #d71412 and blue #0146a1 are sampled from the logo.
   On white, red text is 5.25:1 and blue text is 8.78:1 (WCAG AA). */

:root {
  --red: #d71412;
  --red-deep: #b50f0e;
  --blue: #0146a1;
  --ink: #1b1414;
  --muted: #3d3434;
  --paper: #ffffff;
  --sand: #f6f3f0;
  --line: #e4dcd6;
  --footer: #1b1414;
  --footer-muted: #efe6e2;
  --max: 66rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-offset: 8.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red-deep);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.belt {
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0 64%, var(--blue) 64% 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.header-inner,
.wrap,
.footer-inner,
.hero-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.55rem 0.65rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
}

.brand-name {
  font-size: 1.05rem;
  line-height: 1.15;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (max-width: 699px) {
  .nav {
    flex: 1 0 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
}

.hero {
  padding: 1.75rem 0 2.75rem;
}

.hero-inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
}

.hero-mark {
  display: block;
  width: min(240px, 72vw);
}

.hero-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  width: min(100%, 34rem);
}

.hero-copy h1 {
  margin: 0;
}

.hero-copy picture {
  display: block;
  width: min(100%, 30rem);
  margin-inline: auto;
}

.wordmark {
  display: block;
  width: 100%;
  height: auto;
}

.hero-place {
  margin: 0.95rem 0 0;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-when {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0.7rem 0 0;
}

.hero-days {
  color: var(--muted);
  font-weight: 700;
}

.hero-times {
  color: var(--red);
  font-size: clamp(1.7rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 2px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
}

.button:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--red);
}

.button.secondary:hover {
  background: #fff5f4;
  border-color: var(--red-deep);
  color: var(--red-deep);
}

.section {
  padding: 3.25rem 0;
  scroll-margin-top: var(--header-offset);
}

.sand {
  background: var(--sand);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: 0.65rem;
  background: var(--red);
}

.lede,
.section p {
  max-width: 40rem;
}

.lede {
  margin: 0;
  font-size: 1.125rem;
}

.values,
.days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.values {
  margin-bottom: 1.25rem;
}

.day,
.visit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.values li {
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--sand);
  border-top: 4px solid var(--red);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.values li:nth-child(2) {
  border-top-color: var(--blue);
}

.section .about-copy {
  margin: 0 0 0.75rem;
}

.section .about-copy:last-child {
  margin-bottom: 0;
}

.days {
  margin-top: 1.25rem;
}

.day {
  padding: 1.15rem 1.2rem 1.3rem;
}

.day h3 {
  margin: 0;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.day p {
  margin: 0.4rem 0 0;
  max-width: none;
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.person {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.rank {
  margin: 0.4rem 0 0;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 700;
}

.visit-lead {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.visit-card {
  max-width: 36rem;
  padding: 1.2rem 1.2rem 1.35rem;
}

.visit-card address {
  font-style: normal;
}

.street {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.city {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.15rem;
}

.email {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.visit-card .button {
  width: 100%;
  margin-top: 1.15rem;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding-bottom: calc(2.25rem + env(safe-area-inset-bottom));
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.footer-inner {
  padding-top: 1.75rem;
  display: grid;
  gap: 0.35rem;
}

.footer-name {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.site-footer address {
  margin: 0;
  font-style: normal;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
}

.site-footer a:hover {
  color: #fff;
}

.legal {
  margin: 0.85rem 0 0;
  color: var(--footer-muted);
  font-size: 0.95rem;
}

.missing {
  padding: 3rem 0 4rem;
}

.missing h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.missing p {
  margin: 0 0 1.25rem;
}

@media (min-width: 700px) {
  .values,
  .days {
    grid-template-columns: 1fr 1fr;
  }

  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 800px) {
  .hero {
    padding: 2.75rem 0 4rem;
  }

  .hero-inner {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 3rem;
    text-align: left;
  }

  .hero-mark {
    width: 320px;
    max-width: none;
  }

  .hero-copy picture {
    margin-inline: 0;
  }

  .hero-when {
    align-items: flex-start;
  }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .visit-card .button {
    width: auto;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .skip-link,
  .belt {
    display: none;
  }

  .button {
    border: 1px solid #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    font-weight: 400;
  }
}
