:root {
  color-scheme: dark;
  --navy: #061f46;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --quiet: rgba(255, 255, 255, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  font-family: Avenir Next, Avenir, Montserrat, Futura, Gill Sans, Helvetica Neue, Arial, sans-serif;
  background: var(--navy);
}

a {
  color: inherit;
}

.home {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem;
  text-align: center;
}

.press-name,
.site-title,
.primary-nav a,
.content-block h1 {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.press-name {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.brand-mark {
  width: clamp(8rem, 22vw, 13rem);
  height: clamp(8rem, 22vw, 13rem);
  margin: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3.3rem);
  object-fit: cover;
  border-radius: 50%;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.6rem, 5vw, 4.8rem);
}

.primary-nav a {
  position: relative;
  font-size: clamp(0.86rem, 2vw, 1.06rem);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.primary-nav a::after,
.email-link::after,
.site-title::after {
  position: absolute;
  right: 0;
  bottom: -0.34rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after,
.email-link:hover::after,
.email-link:focus-visible::after,
.site-title:hover::after,
.site-title:focus-visible::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.content-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 7vw, 5rem);
  text-align: center;
}

.site-title {
  position: fixed;
  top: clamp(1.2rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.content-block {
  width: min(100%, 42rem);
}

.content-block h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.85rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
}

.content-block p {
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.email-link {
  position: relative;
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.page-nav {
  margin-top: clamp(3rem, 8vw, 5.5rem);
}

:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid var(--white);
  outline-offset: 0.42rem;
}

@media (max-width: 520px) {
  .home,
  .content-page {
    padding: 1.5rem;
  }

  .press-name {
    font-size: 2.55rem;
  }

  .primary-nav {
    gap: 1.15rem;
  }

  .site-title {
    position: static;
    margin-bottom: 5rem;
  }
}
