@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/IBMPlexSans-Variable.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/IBMPlexSans-Italic-Variable.ttf") format("truetype");
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Serif";
  src: url("../assets/fonts/IBMPlexSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Serif";
  src: url("../assets/fonts/IBMPlexSerif-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Serif";
  src: url("../assets/fonts/IBMPlexSerif-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  color-scheme: only light;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #000;
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

h1, h2, h3 {
  font-family: "IBM Plex Serif", Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  z-index: 20;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid #000;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand-mark {
  width: 3rem;
  height: 3rem;
}

.site-brand-name {
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.site-nav a[aria-current="page"] {
  font-weight: 500;
}

main {
  flex: 1 0 auto;
}

.hero {
  text-align: center;
  padding: 3.25rem 1.5rem 2.5rem;
}

.hero-logo {
  width: min(20rem, 72vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.hero h1 {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  margin-bottom: 1.25rem;
}

.lede {
  font-family: "IBM Plex Serif", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.5;
  max-width: 32rem;
}

.hero .lede {
  margin-left: auto;
  margin-right: auto;
}

.axis-divider {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0 0.5rem;
}

.band {
  padding: 2rem 1.5rem 3.5rem;
  text-align: center;
}

.band .measure {
  margin-left: auto;
  margin-right: auto;
}

.plain-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.plain-links a {
  display: inline-block;
  border: 1px solid #000;
  padding: 0.55rem 1rem;
  text-decoration: none;
}

.plain-links a:hover,
.plain-links a:focus-visible {
  background: #000;
  color: #fff;
  text-decoration: none;
  outline-offset: 3px;
}

.page {
  padding: 2.5rem 1.5rem 3.5rem;
}

.page-head {
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.measure {
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.section-title {
  margin-top: 0.5rem;
}

.placeholder {
  border: 1px dashed #000;
  padding: 1rem 1.15rem;
  margin: 1.75rem 0 0;
}

.placeholder-label {
  display: block;
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.theme-list {
  list-style: none;
  margin: 0 auto 3rem;
  padding: 0;
  max-width: 38rem;
  border-top: 1px solid #000;
}

.theme-list li {
  border-bottom: 1px solid #000;
  padding: 1.1rem 0;
}

.theme-list h2 {
  font-family: "IBM Plex Serif", Georgia, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.theme-list p {
  margin: 0;
}

.alt-marks,
.gallery-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 64rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.75rem 1.5rem;
}

.alt-marks figure,
.gallery-grid figure {
  margin: 0;
}

.frame {
  border: 1px solid #000;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.35rem;
  background: #fff;
}

.frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.frame.is-placeholder {
  border-style: dashed;
  text-align: center;
  gap: 0.35rem;
  font-size: 0.95rem;
}

figcaption {
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid #000;
  padding: 1.15rem 1.5rem;
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 40rem) {
  .site-header {
    padding: 0.85rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    gap: 0.35rem 0.95rem;
  }

  .page,
  .hero,
  .band {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding-top: 2.25rem;
  }
}

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