@font-face {
  font-family: "CRCS Text";
  src: local("Helvetica"), local("Helvetica Neue"), url("/fonts/texgyreheros-regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "CRCS Text";
  src: local("Helvetica Bold"), local("Helvetica-Bold"), local("HelveticaNeue-Bold"), url("/fonts/texgyreheros-bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --coral: #f05a47;
  --rust: #b75d42;
  --basalt: #242a2b;
  --paper: #faf8f4;
  --sandstone: #e8d8c3;
  --divider: #d9d6d0;
  --ink: #171717;
  --body-type: "CRCS Text", Arial, sans-serif;
  --display-type: Futura, "Jost", sans-serif;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --section-space: clamp(2.5rem, 5vw, 5rem);
  font: 100%/1.55 var(--body-type);
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
main { flex: 1; padding-bottom: var(--section-space); }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-family: var(--display-type); font-weight: 600; line-height: 1.03; }
h1 { font-size: clamp(2.75rem, 7vw, 6.6rem); overflow-wrap: anywhere; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; line-height: 1.2; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(76rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.editorial-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--paper); border: 1px solid; transform: translateY(-200%); z-index: 1; }
.skip:focus { transform: none; }

.header-inner, .footer-inner, nav { display: flex; align-items: center; gap: .5rem 1.25rem; }
.header-inner, .footer-inner { justify-content: space-between; }
.header-inner { min-height: 5.75rem; border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; align-items: center; text-decoration: none; gap: 1.1rem; flex: 0 0 auto; }
.brand img { width: clamp(6.75rem, 11vw, 8.75rem); mix-blend-mode: multiply; }
.brand span { border-left: 1px solid var(--divider); padding-left: 1.1rem; font-size: .85rem; font-weight: 700; line-height: 1.15; }
nav { flex-wrap: wrap; justify-content: flex-end; gap: 0 1rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .93rem; font-weight: 700; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; }

.hero { align-items: start; padding-block: var(--section-space); }
.hero-title { grid-column: 1 / 9; border-top: .6rem solid var(--coral); padding-top: .6rem; }
.hero-summary { grid-column: 9 / -1; align-self: end; padding-bottom: .3rem; }
.hero.with-photo .hero-title, .hero.with-photo .hero-summary { grid-column: 1 / 7; }
.hero.with-photo .photo { grid-column: 7 / -1; grid-row: 1 / 3; }
.hero .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.landing-page .hero h1 { max-width: 15ch; }
.intro { max-width: 41ch; font-size: clamp(1.1rem, 1.65vw, 1.3rem); }
.measure { max-width: 60ch; }
.hero-summary .button { margin-top: 1.3rem; }

.direction-link { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; }
.direction-link:hover { text-decoration-thickness: 2px; text-decoration-color: var(--rust); }
.button { width: fit-content; min-height: 2.75rem; padding: .55rem .95rem; border: 1px solid var(--ink); background: var(--coral); text-decoration: none; }
.button:hover { background: var(--paper); }
.wayfinding { padding-block: 0 2rem; }
.wayfinding-group { grid-column: span 6; background: var(--ink); color: var(--paper); padding-inline: 1rem; }
.wayfinding-group.upcoming { background: var(--coral); color: var(--ink); }
.wayfinding-group .direction-link { min-height: 3.1rem; display: flex; gap: .8rem; text-decoration: none; }
.wayfinding-group .direction-link span { order: -1; }
.wayfinding-group .direction-link + .direction-link { border-top: 1px solid currentColor; }
.wayfinding-group .direction-link:hover { text-decoration: underline; text-decoration-color: currentColor; }
.wayfinding-group .direction-link:focus-visible { outline-color: currentColor; outline-offset: -3px; }

.home-section { padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--divider); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.3rem; margin-bottom: 1rem; }
.news-events > div { grid-column: span 6; min-width: 0; }
.wayfinding-group:only-child, .news-events > div:only-child { grid-column: 1 / -1; }
.news-events > div > h2 { margin-bottom: .65rem; }
.news-events > div > p + a { margin-top: .65rem; }
.news-events .entry-row { display: block; }
.news-events .entry-row .photo { display: none; }
.news-events .entry-marker { margin-bottom: .2rem; }
.page-heading { margin-block: var(--section-space) 1.75rem; }
.page-heading .intro { margin-top: .9rem; }
.identification-band { border: 1px solid var(--ink); }
.identity-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; background: var(--coral); padding: .55rem 1rem; }
.identification-band .heading-copy { padding: clamp(1rem, 3vw, 2rem); }
.section-label { font-size: .9rem; font-weight: 700; margin-bottom: .5rem; }

.entry-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.entry-row { border-top: 1px solid var(--divider); padding-block: 1rem; align-items: start; }
.entry-marker { grid-column: 1 / 3; font-size: .95rem; }
.entry-marker span { font-family: var(--display-type); font-weight: 600; font-size: 1.85rem; line-height: 1; }
.entry-copy { grid-column: 3 / 9; }
.entry-copy p { margin-top: .4rem; }
.entry-row .photo { grid-column: 9 / -1; width: 100%; }
.entry-row .photo img { max-height: 11rem; width: auto; }
.sponsor-list .entry-copy { grid-column: 1 / 9; }
.sponsor-list .entry-copy p { max-width: 65ch; }
.metadata { font-size: .92rem; color: var(--basalt); }
.photo figcaption { margin-top: .5rem; font-size: .9rem; }

.detail-back { padding-top: 1.5rem; }
.detail-back + .page-heading { margin-top: 1rem; }
.detail-info { grid-column: 1 / 4; }
.detail-info .direction-link { margin-top: 1rem; }
.detail-body { grid-column: 4 / 11; }
.info-panel { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: .6rem; border: 1px solid var(--ink); }
.info-panel dt, .info-panel dd { padding-inline: 1rem; overflow-wrap: anywhere; }
.status-label { padding-top: .55rem; }
.status-value { background: var(--ink); color: var(--paper); padding-block: .5rem; }
.info-panel dt, .discipline-list dt { font-weight: 700; }
.info-panel dd + dt, .discipline-list dd + dt { margin-top: .65rem; }
.prose { max-width: 70ch; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1rem; }
.prose section h2 { margin-bottom: .65rem; }
.prose a { max-width: 100%; }
.about-grid { align-items: start; }
.about-grid > .prose { grid-column: 1 / 7; }
.about-illustration { grid-column: 7 / -1; }
.about-grid .about-illustration .emdash-image { float: none; width: 100%; max-width: none; margin: 0; }
.about-illustration .emdash-image figcaption { text-align: left; }
.footer-sponsors { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; border-top: 1px solid var(--divider); padding-block: 1rem; font-size: .9rem; }
.footer-sponsors p { font-weight: 700; }
.footer-sponsors ul { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-sponsors a { display: inline-block; padding-block: .25rem; }
.footer-sponsors img { width: auto; max-width: 8.25rem; max-height: 2.5rem; object-fit: contain; }
.footer-inner { border-top: 1px solid var(--divider); padding-block: 1rem; font-size: .9rem; }
.footer-inner a { overflow-wrap: anywhere; }

@media (max-width: 58rem) {
  .header-inner { flex-wrap: wrap; padding-block: .75rem; }
  nav { justify-content: flex-start; }
  .hero-title { grid-column: 1 / 8; }
  .hero-summary { grid-column: 8 / -1; }
}
@media (max-width: 41rem) {
  .editorial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-title, .hero-summary, .hero.with-photo .hero-title, .hero.with-photo .hero-summary,
  .hero.with-photo .photo, .news-events > div, .detail-info, .detail-body, .wayfinding-group { grid-column: 1 / -1; }
  .hero.with-photo .photo { grid-row: auto; }
  .hero-summary { padding: 0; }
  .entry-marker { grid-column: 1; }
  .entry-copy, .entry-row .photo { grid-column: 2 / -1; }
  .sponsor-list .entry-copy, .sponsor-list .entry-row .photo { grid-column: 1 / -1; }
  .about-grid > .prose, .about-illustration { grid-column: 1 / -1; }
  .footer-inner { align-items: start; flex-direction: column; }
}
