@font-face {
  font-family: Inter;
  src: url("/fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/inter-v20-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #23223a;
  --paper: #fffdf4;
  --desk: #eee9dd;
  --rule: #c9c6bc;
  --muted: #53515c;
  font: 400 100%/1.5 Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--desk);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-image: radial-gradient(#34245321 .8px, transparent .8px);
  background-size: 9px 9px;
  min-height: 100vh;
}

main {
  width: min(42rem, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(1.5rem, 7vh, 4.75rem) 2rem;
}

.bulletin {
  --tile: #14775e;
  --tint: #acd6a7;
  --signal: #e7d56b;
  --contrast: #d7ceef;
  --stamp: #d5eaca;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: .5rem;
  box-shadow: 0 .22rem 0 #bdb7ab, 0 .8rem 1.8rem -.9rem #332e3c40;
}

.fold {
  --tile: #9b505e;
  --tint: #f1beca;
  --signal: #efb860;
  --contrast: #bcb9de;
  --stamp: #f5d2c8;
}

.handbook, .help {
  --tile: #635194;
  --tint: #c8bade;
  --signal: #efba60;
  --contrast: #c9e1cf;
  --stamp: #e2dbf8;
}

.masthead, .content { padding-inline: clamp(1.1rem, 5vw, 2.4rem); }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  padding-block: .78rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: .4rem .4rem 0 0;
}

.wordmark {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.04em;
}

.wordmark::before {
  content: "";
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0 40% 0 40%;
  background: conic-gradient(#f5daa0 0 25%, #a3d3ac 0 50%, #c9b8eb 0 75%, #f2ad99 0);
}

.masthead small { font-size: .82rem; }
.content { padding-block: clamp(1.15rem, 3vw, 1.8rem); }

.heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .8rem;
}

h1, h2, p, dl, dd { margin: 0; }
h1, h2, strong { font-weight: 600; }

.kind {
  margin-bottom: .5rem;
  color: var(--muted);
  font-size: .83rem;
  font-weight: 600;
}

.id {
  display: inline-block;
  margin-inline-start: .25rem;
  padding: .08em .5em;
  border: 1px solid currentColor;
  border-radius: .2rem;
  background: var(--stamp);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

h1 {
  font-size: clamp(2.15rem, 8vw, 3.75rem);
  letter-spacing: -.065em;
  line-height: 1.03;
  overflow-wrap: anywhere;
}

.date { margin-top: .45rem; }

.quilt {
  width: clamp(4rem, 14vw, 6.25rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 2px;
  background: var(--ink);
  border-radius: .2rem;
  box-shadow: .16rem .16rem 0 #d7cfc0;
  transform: rotate(3deg);
}

.quilt i {
  aspect-ratio: 1;
  background: radial-gradient(circle at left bottom, var(--signal) 0 65%, transparent 67%), var(--tile);
}
.quilt i:nth-child(2) {
  background: linear-gradient(45deg, var(--contrast) 49%, var(--tint) 50%);
}
.quilt i:nth-child(3) {
  background: linear-gradient(45deg, var(--tile) 49%, var(--signal) 50%);
}
.quilt i:nth-child(4) {
  background: radial-gradient(circle at right top, var(--ink) 0 65%, transparent 67%), var(--contrast);
}
.fold .quilt i:first-child, .fold .quilt i:last-child {
  background: conic-gradient(from 45deg, var(--tint) 0 25%, var(--tile) 0 50%, var(--signal) 0 75%, var(--contrast) 0);
}

.deadline, .instructions {
  margin-top: clamp(1.1rem, 4vw, 1.75rem);
  padding-top: clamp(.8rem, 3vw, 1.2rem);
  border-top: 1px dashed var(--rule);
}

dt { font-size: 1rem; color: var(--muted); }
.deadline time {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(2.8rem, 11vw, 4.75rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.14;
  letter-spacing: -.075em;
}
.zone {
  font-size: .42em;
  letter-spacing: -.04em;
}

.bring { margin-top: .4rem; }
h2 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.025em; }
.instructions p { margin-top: .3rem; max-width: 49ch; }
.instructions h2:not(:first-child) { margin-top: 1rem; }

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .17em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

footer {
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--muted);
}
footer p { max-width: 65ch; }
nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.15rem;
  margin-top: .65rem;
}

@media print {
  body { background: white; }
  main { width: 100%; padding: 0; }
  .bulletin { box-shadow: none; }
  footer { display: none; }
}
