:root {
  --ink: #11110f;
  --paper: #f2ecde;
  --paper-deep: #ddd4c2;
  --rule: rgba(17, 17, 15, 0.26);
  --blue: #1f45d7;
  --white: #fffdf7;
  --display: "Avenir Next Condensed", "Franklin Gothic Condensed", "DIN Condensed", Impact, sans-serif;
  --body: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --page: min(94vw, 1440px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(17, 17, 15, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.45;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  width: var(--page);
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr auto;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-header p {
  margin: 0;
}

.monogram {
  width: fit-content;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.07em;
}

.monogram span {
  color: var(--blue);
}

.header-date {
  justify-self: end;
}

.index-link {
  padding: 8px 13px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.index-link:hover {
  color: var(--ink);
  background: transparent;
}

.hero {
  position: relative;
  width: var(--page);
  min-height: 690px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 132px) 0 56px;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 18px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 25%;
  right: 6%;
  width: clamp(150px, 20vw, 310px);
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 16px var(--paper), inset 0 0 0 17px var(--ink);
  opacity: 0.82;
  animation: rotate 18s linear infinite;
}

.hero::after {
  content: "12 / SEP / 26 · 12 / SEP / 26 ·";
  position: absolute;
  top: calc(25% + clamp(66px, 8.6vw, 134px));
  right: calc(6% - 25px);
  width: clamp(200px, 24vw, 360px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  transform: rotate(-7deg);
  color: var(--blue);
}

.hero-kicker {
  grid-column: 1 / 6;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: rise 700ms 80ms both cubic-bezier(.2,.7,.2,1);
}

.hero h1 {
  position: relative;
  z-index: 2;
  grid-column: 1 / 13;
  align-self: center;
  margin: 30px 0;
  font-family: var(--display);
  font-size: clamp(90px, 16.3vw, 244px);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  animation: rise 850ms both cubic-bezier(.2,.7,.2,1);
}

.hero h1 span:nth-child(2) {
  padding-left: 8.5vw;
  animation-delay: 100ms;
}

.hero h1 i {
  color: var(--blue);
  font-style: normal;
}

.hero-note {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-note p {
  margin: 0;
}

.hero-marker {
  grid-column: 11 / 13;
  justify-self: end;
  align-self: end;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.calendar,
.section-index {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 160px) 0;
}

.section-index {
  border-top: 1px solid var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 2fr 7fr 3fr;
  gap: 18px;
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 100px);
}

.section-heading > span,
.eyebrow,
.section-aside {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-heading h2 {
  margin: 3px 0 0;
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 138px);
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.section-aside {
  justify-self: end;
  text-align: right;
}

.calendar-list {
  border-top: 1px solid var(--ink);
}

.calendar-day {
  min-height: 190px;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 2fr 8fr 2fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.calendar-day:hover {
  padding-inline: 18px;
  color: var(--white);
  background: var(--blue);
}

.day-number {
  font-family: var(--display);
  font-size: clamp(80px, 9vw, 138px);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.06em;
}

.day-copy h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
  text-transform: uppercase;
}

.day-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.day-copy li + li {
  margin-top: 4px;
}

.day-link {
  justify-self: end;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none;
}

.section-rows {
  display: block;
  border-top: 1px solid var(--ink);
}

.section-row {
  min-height: 112px;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 5fr 4fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  text-decoration: none;
  transition: padding 180ms ease, color 180ms ease, background 180ms ease;
}

.section-row:hover {
  padding-inline: 18px;
  color: var(--white);
  background: var(--ink);
}

.section-number,
.section-summary {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-name {
  font-family: var(--display);
  font-size: clamp(28px, 3.3vw, 52px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.section-arrow {
  justify-self: end;
  font-size: 26px;
}

.site-footer {
  width: var(--page);
  min-height: 150px;
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.site-footer p:nth-child(2) {
  justify-self: center;
}

.site-footer p:last-child {
  justify-self: end;
}

.footer-monogram {
  font-size: 34px;
}

.file-page {
  width: var(--page);
  margin: 0 auto;
}

.file-hero {
  position: relative;
  min-height: 570px;
  padding: clamp(76px, 10vw, 150px) 0 54px;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  overflow: hidden;
}

.file-label,
.file-summary {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.file-label {
  grid-column: 1 / 5;
}

.file-number {
  position: absolute;
  top: 30px;
  right: -0.03em;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule);
  font-family: var(--display);
  font-size: clamp(210px, 38vw, 570px);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.08em;
}

.file-hero h1 {
  position: relative;
  z-index: 1;
  grid-column: 1 / 11;
  align-self: center;
  margin: 36px 0;
  max-width: 1100px;
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 170px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-wrap: balance;
  animation: rise 800ms both cubic-bezier(.2,.7,.2,1);
}

.file-summary {
  grid-column: 8 / 13;
  justify-self: end;
  max-width: 260px;
  text-align: right;
}

.content-sheet {
  width: min(100%, 1120px);
  margin: clamp(70px, 10vw, 150px) auto;
}

.content-sheet > h2 {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 20px;
  margin: 90px 0 34px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font-family: var(--display);
  font-size: clamp(42px, 5.7vw, 82px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.content-sheet > h2:first-child {
  margin-top: 0;
}

.content-sheet h3 {
  margin: 48px 0 18px 30%;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.content-sheet > p,
.content-sheet > ul,
.content-sheet > ol,
.content-sheet > .table-wrap {
  width: 70%;
  margin-right: 0;
  margin-left: auto;
}

.content-sheet p {
  font-size: clamp(17px, 1.5vw, 21px);
}

.content-sheet ul,
.content-sheet ol {
  padding-left: 1.2em;
  font-size: clamp(17px, 1.5vw, 21px);
}

.content-sheet li {
  padding: 8px 0 12px 8px;
  border-bottom: 1px solid var(--rule);
}

.content-sheet li::marker {
  color: var(--blue);
  font-family: var(--mono);
}

.content-sheet li ul,
.content-sheet li ol {
  width: 100%;
  margin-top: 10px;
  padding-left: 1.4em;
}

.content-sheet strong {
  font-weight: 650;
}

.status-tbc {
  display: inline-block;
  padding: 1px 6px;
  color: var(--white);
  background: var(--blue);
  font-family: var(--mono);
  font-size: 0.72em;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.05em;
  vertical-align: 0.12em;
}

.table-wrap {
  overflow-x: auto;
  border-top: 2px solid var(--ink);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--ink);
  text-align: left;
  vertical-align: top;
}

th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.has-check {
  list-style: none;
  margin-left: -1.2em;
  padding-left: 0 !important;
}

.check-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.check-item input {
  width: 20px;
  height: 20px;
  margin: 4px 0 0;
  appearance: none;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  opacity: 1;
}

.check-item input:checked {
  background: var(--blue);
  box-shadow: inset 0 0 0 4px var(--paper);
}

.file-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.file-navigation.is-final {
  grid-template-columns: 1fr;
}

.file-navigation a {
  min-height: 160px;
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: padding 180ms ease, color 180ms ease, background 180ms ease;
}

.file-navigation a + a {
  padding-left: 30px;
  border-left: 1px solid var(--ink);
}

.file-navigation a:hover {
  padding-inline: 24px;
  color: var(--white);
  background: var(--blue);
}

.file-navigation span {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.file-navigation strong {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.95;
  text-transform: uppercase;
}

.extra-body {
  min-height: 100vh;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(242, 236, 222, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 236, 222, 0.06) 1px, transparent 1px);
}

.extra-header,
.extra-footer,
.extra-page {
  width: var(--page);
  margin: 0 auto;
}

.extra-header {
  min-height: 76px;
  border-bottom: 1px solid var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.extra-hero {
  position: relative;
  min-height: 520px;
  padding: 110px 0 55px;
  border-bottom: 1px solid var(--paper);
  overflow: hidden;
}

.extra-hero p {
  margin: 0;
  color: var(--paper-deep);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.extra-hero h1 {
  position: relative;
  z-index: 1;
  width: 80%;
  margin: 60px 0 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(86px, 14vw, 210px);
  line-height: 0.78;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.extra-hero > span {
  position: absolute;
  right: 0;
  bottom: -0.2em;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(230px, 37vw, 560px);
  font-weight: 900;
  line-height: 0.7;
}

.extra-sheet {
  color: var(--paper);
}

.extra-sheet > h2,
.extra-sheet li,
.extra-sheet .table-wrap,
.extra-sheet th,
.extra-sheet td {
  border-color: rgba(242, 236, 222, 0.42);
}

.extra-sheet .check-item input {
  border-color: var(--paper);
}

.extra-sheet .check-item input:checked {
  box-shadow: inset 0 0 0 4px var(--ink);
}

.extra-footer {
  min-height: 140px;
  border-top: 1px solid var(--paper);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms cubic-bezier(.2,.7,.2,1) var(--delay, 0ms), transform 650ms cubic-bezier(.2,.7,.2,1) var(--delay, 0ms);
}

.js .reveal.is-visible,
.reduced-motion .reveal {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@media (max-width: 800px) {
  :root {
    --page: calc(100vw - 30px);
  }

  body {
    font-size: 16px;
    background-size: 18px 18px;
  }

  .site-header {
    min-height: 64px;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .header-label {
    display: none;
  }

  .header-date {
    justify-self: auto;
  }

  .hero {
    min-height: 610px;
    padding: 76px 0 34px;
  }

  .hero::before {
    top: 22%;
    right: -13%;
    width: 210px;
  }

  .hero::after {
    display: none;
  }

  .hero-kicker {
    grid-column: 1 / 10;
  }

  .hero h1 {
    grid-column: 1 / 13;
    font-size: clamp(74px, 24vw, 126px);
    line-height: 0.77;
  }

  .hero h1 span:nth-child(2) {
    padding-left: 0;
  }

  .hero-note {
    grid-column: 1 / 10;
  }

  .hero-marker {
    grid-column: 10 / 13;
    font-size: 34px;
  }

  .calendar,
  .section-index {
    padding: 82px 0;
  }

  .section-heading {
    grid-template-columns: 50px 1fr;
    margin-bottom: 50px;
  }

  .section-heading h2 {
    font-size: clamp(58px, 18vw, 90px);
  }

  .section-aside {
    display: none;
  }

  .calendar-day {
    min-height: 150px;
    grid-template-columns: 78px 1fr;
    gap: 14px;
  }

  .calendar-day:hover {
    padding-inline: 0;
    color: inherit;
    background: transparent;
  }

  .day-number {
    font-size: 74px;
  }

  .day-copy h3 {
    font-size: 32px;
  }

  .day-copy ul {
    font-size: 14px;
  }

  .day-link {
    grid-column: 2;
    justify-self: start;
    margin-top: -8px;
    padding: 0 0 10px;
    color: var(--blue);
  }

  .section-row {
    min-height: 126px;
    grid-template-columns: 40px 1fr 30px;
    gap: 10px;
  }

  .section-row:hover {
    padding-inline: 0;
    color: inherit;
    background: transparent;
  }

  .section-summary {
    grid-column: 2;
    align-self: start;
  }

  .section-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .site-footer {
    min-height: 130px;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }

  .file-hero {
    min-height: 500px;
    padding: 84px 0 38px;
  }

  .file-label {
    grid-column: 1 / 9;
  }

  .file-number {
    top: 70px;
    font-size: 270px;
  }

  .file-hero h1 {
    grid-column: 1 / 13;
    font-size: clamp(64px, 19vw, 104px);
  }

  .file-summary {
    grid-column: 5 / 13;
  }

  .content-sheet {
    margin: 70px auto 100px;
  }

  .content-sheet > h2 {
    display: block;
    margin-top: 72px;
    font-size: clamp(38px, 12vw, 60px);
  }

  .content-sheet h3 {
    margin-left: 0;
  }

  .content-sheet > p,
  .content-sheet > ul,
  .content-sheet > ol,
  .content-sheet > .table-wrap {
    width: 100%;
  }

  .content-sheet ul,
  .content-sheet ol {
    padding-left: 1.1em;
  }

  .file-navigation {
    grid-template-columns: 1fr;
  }

  .file-navigation a {
    min-height: 130px;
  }

  .file-navigation a + a {
    padding-left: 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .file-navigation a:hover {
    padding-inline: 0;
    color: inherit;
    background: transparent;
  }

  .extra-hero {
    min-height: 470px;
  }

  .extra-hero h1 {
    width: 100%;
    font-size: clamp(78px, 24vw, 126px);
  }

  .extra-hero > span {
    right: -0.12em;
    font-size: 300px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .file-navigation,
  .file-number {
    display: none;
  }

  .file-hero {
    min-height: 0;
    padding: 0 0 24pt;
  }

  .file-hero h1 {
    font-size: 44pt;
  }

  .content-sheet {
    width: 100%;
    margin: 24pt 0;
  }

  .content-sheet > p,
  .content-sheet > ul,
  .content-sheet > ol,
  .content-sheet > .table-wrap {
    width: 100%;
  }
}
