:root {
  --utah-red: #be0000;
  --utah-red-dark: #890000;
  --ink: #242424;
  --muted: #5d5d5d;
  --paper: #fff;
  --soft: #f4f2ef;
  --line: #d8d3cc;
  --max-width: 70rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--utah-red-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: .2rem solid #1c6ea4; outline-offset: .2rem; border-radius: .1rem; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: -5rem;
  left: 1rem;
  padding: .65rem 1rem;
  color: #fff;
  background: #111;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #8d0000 0%, var(--utah-red) 66%, #d63333 100%);
  border-bottom: .45rem solid #202020;
}
.site-header::after {
  content: "∀";
  position: absolute;
  right: max(2vw, calc((100vw - var(--max-width)) / 2));
  bottom: -5rem;
  color: rgb(255 255 255 / 10%);
  font-family: Georgia, serif;
  font-size: clamp(13rem, 30vw, 28rem);
  line-height: 1;
  transform: rotate(-8deg);
}

.header-inner,
main,
footer p {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}
.header-inner { position: relative; z-index: 1; padding: 4.5rem 0 3.5rem; }
.eyebrow,
.section-label {
  margin: 0 0 .55rem;
  font-size: .83rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.eyebrow { color: #fff; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 9vw, 6.6rem); line-height: .95; }
.term { margin: .9rem 0 2rem; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 650; }
.meeting-details { display: flex; flex-wrap: wrap; gap: .7rem 1.8rem; }
.meeting-details span { display: flex; align-items: center; }
.meeting-details span + span::before { content: "◆"; margin-right: 1.8rem; font-size: .55rem; }

main { padding: 4.5rem 0 5rem; }
section + section { margin-top: 5.5rem; }
h2 { margin: 0 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; }
.section-label { color: var(--utah-red-dark); }
.intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.intro p:not(.section-label) { max-width: 44rem; font-size: 1.18rem; }
.mailing-list-link { display: inline-block; padding: .65rem 1rem; color: #fff; background: var(--utah-red-dark); font-size: 1rem; font-weight: 750; text-decoration: none; }
.mailing-list-link::after { content: " →"; }
.mailing-list-link:hover { background: #640000; text-decoration: underline; text-decoration-thickness: .12em; }
.organizers { padding: 1.6rem 1.8rem; background: var(--soft); border-top: .3rem solid var(--utah-red); }
.organizers h2 { font-family: inherit; font-size: 1.15rem; }
.organizers ul { margin: 0; padding-left: 1.2rem; }

.resources { padding: 2.5rem; background: var(--soft); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.resource-card { display: flex; flex-direction: column; min-height: 8.5rem; padding: 1.2rem; color: var(--ink); background: #fff; border: 1px solid var(--line); text-decoration: none; }
.resource-card::after { content: "→"; margin-top: auto; color: var(--utah-red-dark); font-size: 1.35rem; }
.resource-card:hover { border-color: var(--utah-red-dark); box-shadow: 0 .25rem 0 var(--utah-red-dark); }
.resource-title { color: var(--utah-red-dark); font-weight: 750; text-decoration: underline; text-underline-offset: .18em; }
.resource-card span + span { color: var(--muted); font-size: .93rem; }

.schedule-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.schedule-heading h2, .schedule-heading p { margin-bottom: 0; }
.schedule-heading > p { color: var(--muted); }
.meeting-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.meeting { display: grid; grid-template-columns: 6rem 1fr; gap: 1.5rem; padding: 1.65rem 1rem; border-bottom: 1px solid var(--line); }
.meeting time { color: var(--utah-red-dark); font-size: 1.65rem; font-weight: 800; line-height: 1.05; }
.meeting time span { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.meeting h3 { margin: 0 0 .15rem; font-size: 1.18rem; line-height: 1.35; }
.presenter { margin: 0; color: var(--muted); }
.worksheet { display: inline-block; margin-top: .6rem; font-size: .94rem; font-weight: 650; }
.no-meeting { background: var(--soft); }
.no-meeting time, .no-meeting h3 { color: var(--muted); }

footer { padding: 2rem 0; color: #fff; background: #252525; }
footer p { margin-block: 0; }

@media (max-width: 46rem) {
  .header-inner { padding: 3.5rem 0 3rem; }
  .meeting-details { display: grid; gap: .3rem; }
  .meeting-details span + span::before { content: none; }
  main { padding-top: 3.5rem; }
  section + section { margin-top: 4rem; }
  .intro { grid-template-columns: 1fr; }
  .resources { margin-inline: -1.25rem; padding: 2.5rem 1.25rem; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 0; }
  .schedule-heading { display: block; }
  .schedule-heading > p { margin-top: .5rem; }
  .meeting { grid-template-columns: 4.3rem 1fr; gap: .7rem; padding-inline: .2rem; }
}

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