@font-face {
  font-family: "Exposure";
  src: url("./static/Exposure%5B0%5D.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #252525;
  --foreground: #f5f3ee;
  --muted: #bdb9b0;
  --quiet: #86827a;
  --header-height: 92px;
  --gutter: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--background);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.035), transparent 28rem),
    linear-gradient(180deg, #242424 0%, #282828 100%);
  color: var(--foreground);
  font-family: "Exposure", Georgia, serif;
  font-size: 18px;
  line-height: 1.26;
  min-width: 320px;
}

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

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

picture {
  display: block;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 32px;
  height: var(--header-height);
  justify-content: space-between;
  left: 0;
  padding: 0 var(--gutter);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.92;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.progress-rail {
  display: grid;
  gap: 20px;
  left: 18px;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
}

.progress-rail a {
  background: #030303;
  border-radius: 999px;
  display: block;
  height: 10px;
  opacity: 0.88;
  outline-offset: 5px;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
  width: 10px;
}

.progress-rail a.is-active {
  background: var(--foreground);
  opacity: 1;
  transform: scale(1.08);
}

.slide {
  align-items: center;
  display: grid;
  min-height: 100svh;
  padding: var(--header-height) var(--gutter) 44px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.intro-slide {
  align-items: center;
  justify-items: center;
  padding-top: 44px;
}

.intro-copy {
  margin-left: 0;
  max-width: 980px;
  text-align: center;
}

.intro-copy h1 {
  line-height: 2;
}

h1,
p,
blockquote {
  margin: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.12;
}

.split-slide {
  column-gap: 72px;
  grid-template-columns: minmax(250px, 0.83fr) minmax(360px, 1.17fr);
  margin: 0 auto;
  max-width: 1240px;
  width: 100%;
}

.copy {
  font-size: 31px;
  font-weight: 700;
  max-width: 560px;
}

.copy p + p {
  margin-top: 32px;
}

.smaller-copy {
  font-size: 23px;
  max-width: 430px;
}

.contact-copy {
  font-size: 22px;
  max-width: 560px;
}

.contact-copy p + p {
  margin-top: 24px;
}

.kicker {
  font-size: 17px;
}

.location-line {
  align-items: baseline;
  display: flex;
  gap: 10px;
}

.social-links {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.social-links a {
  align-items: center;
  color: var(--foreground);
  display: inline-flex;
  height: 28px;
  justify-content: center;
  opacity: 0.82;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
  width: 28px;
}

.social-links a:hover,
.social-links a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.social-links svg {
  display: block;
  fill: currentColor;
  height: 22px;
  width: 22px;
}

.contact-only-slide {
  justify-items: start;
}

.contact-card {
  margin-left: clamp(0px, 8vw, 120px);
}

blockquote {
  color: #ded7bd;
  font-size: 31px;
  font-weight: 700;
  margin-top: 32px;
}

.media-frame {
  justify-self: end;
  margin: 0;
  max-width: 100%;
  opacity: 0;
  transform: translateY(18px) scale(0.992);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.slide.is-visible .media-frame,
.intro-slide.is-visible .intro-copy {
  opacity: 1;
  transform: none;
}

.intro-copy {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.media-frame img {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}

.media-wide img {
  max-height: 48svh;
  width: min(58vw, 620px);
}

.media-chart img {
  box-shadow: none;
  max-height: 62svh;
  width: min(46vw, 560px);
}

.media-book img {
  max-height: 66svh;
  width: auto;
}

.media-map img {
  box-shadow: none;
  width: min(58vw, 640px);
}

.media-product img {
  width: min(60vw, 700px);
}

.media-photo img {
  max-height: 50svh;
  object-fit: cover;
  object-position: center 42%;
  width: min(42vw, 460px);
}

figcaption {
  align-items: baseline;
  color: var(--quiet);
  display: flex;
  flex-wrap: wrap;
  font-family: Georgia, serif;
  font-size: 11px;
  gap: 6px 12px;
  justify-content: flex-end;
  line-height: 1.3;
  margin-top: 12px;
}

figcaption a {
  color: var(--muted);
  opacity: 0.72;
}

figcaption a:hover,
figcaption a:focus-visible {
  opacity: 1;
}

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
    --gutter: 28px;
  }

  .brand {
    font-size: 25px;
  }

  .nav-links {
    gap: 22px;
  }

  .split-slide {
    column-gap: 38px;
    grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  }

  .copy,
  blockquote {
    font-size: 27px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-snap-type: y proximity;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding: 0 20px;
  }

  .brand {
    font-size: 22px;
  }

  .nav-links {
    font-size: 13px;
    gap: 16px;
  }

  .progress-rail {
    display: none;
  }

  .slide {
    align-content: center;
    min-height: 100svh;
    padding: calc(var(--header-height) + 28px) 24px 42px;
  }

  .intro-slide {
    padding-top: 42px;
  }

  .intro-copy {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .split-slide {
    gap: 34px;
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .copy,
  blockquote {
    font-size: 28px;
  }

  .smaller-copy,
  .contact-copy {
    font-size: 22px;
  }

  .contact-card {
    margin-left: 0;
  }

  .media-frame {
    justify-self: center;
    width: 100%;
  }

  .media-frame img,
  .media-wide img,
  .media-chart img,
  .media-book img,
  .media-map img,
  .media-product img,
  .media-photo img {
    max-height: 48svh;
    width: 100%;
  }

  .media-frame img {
    margin-inline: auto;
  }

  .media-book img {
    object-fit: contain;
    width: auto;
    max-width: 100%;
  }

  .media-photo img {
    object-fit: cover;
    width: 100%;
  }

  figcaption {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 18px;
  }

  .brand {
    font-size: 20px;
  }

  .nav-links {
    gap: 12px;
  }

  h1,
  .copy,
  blockquote {
    font-size: 25px;
  }

  .smaller-copy,
  .contact-copy {
    font-size: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
