:root {
  --red: #e4022e;
  --red-dark: #b60225;
  --black: #000;
  --ink: #222;
  --muted: #555;
  --line: #e6e6e6;
  --paper: #f2f2f2;
  --white: #fff;
  --display: "Calistoga", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, p {
  margin: 0;
}

h1, h2, .brand-name {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 5;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--black);
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

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

.site-header {
  background: var(--black);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
  padding: 0 20px 0 0;
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  text-decoration: none;
  min-height: 48px;
}

.mark {
  width: 74px;
  height: 96px;
  background: var(--red);
  border-radius: 0 0 38px 38px;
  display: grid;
  place-items: center;
  flex: none;
}

.mark svg {
  width: 54px;
  height: 54px;
  margin-top: 8px;
}

.brand-name {
  color: var(--red);
  font-size: 1.7rem;
  line-height: 1;
  padding-bottom: 18px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  padding-bottom: 10px;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--red);
}

.hero {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 72px 20px 64px;
  scroll-margin-top: 96px;
}

.hero h1 {
  color: var(--red);
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.95;
}

.hero p {
  margin-top: 16px;
  font-size: 1.25rem;
}

.status {
  color: var(--white);
  font-size: 1rem;
  margin-top: 22px;
}

.strip,
.block,
.gift {
  scroll-margin-top: 108px;
}

.strip {
  background: var(--paper);
}

.strip ul {
  list-style: none;
  margin: 0 auto;
  padding: 8px 20px;
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.strip li {
  min-height: 88px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px 8px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--black);
}

.gift {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 48px 20px;
}

.gift h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.gift p {
  margin-top: 8px;
  font-size: 1.15rem;
}

.block {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.block h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--black);
  margin-bottom: 8px;
}

.block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.block li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  min-height: 52px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem;
}

.block time {
  color: var(--red);
  font-weight: 700;
  min-width: 4.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

th {
  font-weight: 700;
}

tr.is-today th,
tr.is-today td {
  color: var(--red);
}

.site-footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 28px 20px;
}

.site-footer p {
  font-family: var(--display);
  color: var(--red);
  font-size: 1.4rem;
}

@media (min-width: 760px) {
  .strip ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-header {
    padding-right: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-wrap: wrap;
    align-items: flex-end;
    padding-bottom: 8px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    padding: 0 8px 4px 12px;
  }

  .brand-name {
    font-size: 1.35rem;
    padding-bottom: 14px;
  }
}

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