@font-face {
  font-family: "Exposure";
  src: url("fonts/Exposure[-10].woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

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

body {
  background-color: #fefefe;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text selection — Paper frame fill (display-p3 ink @ 7%) */
::selection {
  background-color: rgba(10, 9, 8, 0.07);
  background-color: color(display-p3 0.04 0.037 0.033 / 7%);
  color: inherit;
}

::-moz-selection {
  background-color: rgba(10, 9, 8, 0.07);
  background-color: color(display-p3 0.04 0.037 0.033 / 7%);
  color: inherit;
}

.layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding-top: 72px;
  padding-left: 24px;
  padding-right: 24px;
}

/* Sidebar nav */
nav.site-nav {
  position: relative;
  width: 128px;
  flex-shrink: 0;
  padding-top: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
}

.nav-item:focus-visible {
  outline: 2px solid #0a0908;
  outline-offset: 3px;
}

.nav-item-gutter {
  width: 12px;
  height: 28px;
  flex-shrink: 0;
}

.nav-sliding-dot {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 12px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  contain: layout style;
  transition: transform 0.25s ease-in-out;
}

.nav-sliding-dot.is-ready {
  opacity: 1;
}

.nav-sliding-dot::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #0a0908;
}

.nav-active {
  font-family: "Exposure", Georgia, serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  color: #0a0908;
  -webkit-user-select: none;
  user-select: none;
}

.nav-inactive {
  font-family: "Exposure", Georgia, serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  color: #535250;
  -webkit-user-select: none;
  user-select: none;
}

.nav-item:hover .nav-inactive {
  color: #0a0908;
}

@keyframes stagger-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes main-exit {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Main content */
main {
  width: 100%;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
  overflow-wrap: break-word;
}

main > * {
  opacity: 0;
}

h1 {
  width: 100%;
  margin-top: 4px;
  font-family: "Exposure", Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.04em;
  color: #0a0908;
  -webkit-user-select: none;
  user-select: none;
}

.bio {
  width: 100%;
  color: #535250;
  font-size: 15px;
  line-height: 26px;
  font-weight: 380;
}

.bio p {
  width: 100%;
}

.bio a {
  color: #0a0908;
  font-weight: 380;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(10, 9, 8, 0.149);
  text-decoration-color: color(display-p3 0.04 0.037 0.033 / 14.9%);
  text-underline-offset: 4px;
  transition: text-decoration-color 100ms ease-in-out;
}

.bio a:hover {
  text-decoration-color: rgba(10, 9, 8, 0.25);
  text-decoration-color: color(display-p3 0.04 0.037 0.033 / 25%);
}

.contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact a,
.contact span {
  width: 100%;
  max-width: 100%;
  display: block;
  font-size: 15px;
  line-height: 26px;
  color: #535250;
  font-weight: 380;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact a:hover {
  color: #0a0908;
}

.press-intro {
  width: 100%;
  color: #535250;
  font-size: 15px;
  line-height: 26px;
  font-weight: 380;
}

.press-intro p {
  width: 100%;
  margin-bottom: 0px;
}

.press-intro a {
  color: #0a0908;
  font-weight: 380;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(10, 9, 8, 0.149);
  text-decoration-color: color(display-p3 0.04 0.037 0.033 / 14.9%);
  text-underline-offset: 4px;
  transition: text-decoration-color 100ms ease-in-out;
}

.press-intro a:hover {
  text-decoration-color: rgba(10, 9, 8, 0.25);
  text-decoration-color: color(display-p3 0.04 0.037 0.033 / 25%);
}

.press-list {
  width: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.press-list a {
  font-size: 15px;
  line-height: 26px;
  color: #0a0908;
  font-weight: 380;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(10, 9, 8, 0.149);
  text-decoration-color: color(display-p3 0.04 0.037 0.033 / 14.9%);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  transition: text-decoration-color 100ms ease-in-out;
}

.press-list a:hover {
  text-decoration-color: rgba(10, 9, 8, 0.25);
  text-decoration-color: color(display-p3 0.04 0.037 0.033 / 25%);
}

@media (prefers-reduced-motion: reduce) {
  main > * {
    animation: none;
    opacity: 1;
  }

  .nav-sliding-dot {
    transition: none;
  }
}

@media (max-width: 640px) {
  .layout {
    flex-direction: column;
    padding-top: 48px;
  }

  nav.site-nav {
    width: 100%;
    padding-top: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .nav-item {
    width: auto;
  }
}
