html {
  scroll-behavior: smooth;
}

body {
  background-color: #1f2022;
  color: #e8dfc0;
  font-size: 12pt;
  line-height: 1.4em;
  width: min(760px, calc(100vw - 40px));
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 70px;
}

a {
  color: #f48441;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: 36px;
  padding: 10px 0 12px;
  background-color: #1f2022;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-bottom: 1px solid rgba(232, 223, 192, 0.18);
  padding-bottom: 10px;
}

.intro {
  font-size: 48pt;
  line-height: 0.95em;
  font-weight: 300;
  letter-spacing: -0.03rem;
  margin-bottom: 44px;
}

.section-label {
  margin-top: 0;
  margin-bottom: 8px;
  color: #e8dfc0;
}

.font-overview {
  margin-top: 52px;
}

.font-section {
  margin-top: 64px;
}

.font-section h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 28pt;
  line-height: 1em;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.slider {
  margin: 22px 0 18px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 240ms ease;
}

.slide {
  flex: 0 0 100%;
  margin: 0;
}

.slide-frame {
  padding: 12px;
  background-color: #fff;
}

.software-shot {
  margin: 22px 0 18px;
  background-color: transparent;
}

.software-shot img {
  width: 100%;
  height: auto;
}

.slide-frame.has-backdrop {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.slide-frame img {
  width: 100%;
  height: 460px;
  margin: 0 auto;
  object-fit: contain;
}

.photo-slide .slide-frame img {
  object-fit: cover;
}

.slide figcaption {
  margin-top: 8px;
  color: rgba(232, 223, 192, 0.82);
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.slider-buttons,
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-button,
.slider-dot {
  border: 1px solid rgba(232, 223, 192, 0.2);
  background: transparent;
  color: #e8dfc0;
  cursor: pointer;
  font: inherit;
}

.slider-button {
  padding: 2px 9px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
}

.slider-dot[aria-current="true"] {
  background-color: #f48441;
  border-color: #f48441;
}

.font-links {
  margin-top: 0;
}

.meta-list {
  padding-left: 18px;
}

.meta-list li {
  margin-bottom: 8px;
}

.awards-list {
  margin-top: 18px;
}

footer {
  margin-top: 64px;
}

.dim {
  opacity: 0.6;
}

@media (max-width: 720px) {
  body {
    width: calc(100vw - 32px);
    padding-top: 16px;
  }

  .intro {
    font-size: 34pt;
  }

  .font-section h2 {
    font-size: 24pt;
  }

  .slide-frame img {
    height: 320px;
  }
}
