:root {
  color-scheme: dark;
  --white: #fffdf8;
  --accent: #ef806f;
  --shell: 74rem;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  background: #14201f;
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.55;
}

a:focus-visible {
  border-radius: 0.15rem;
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-150%);
  border-radius: 0.25rem;
  background: var(--white);
  color: #071012;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.backdrop,
.shade {
  position: fixed;
  inset: 0;
}

.backdrop {
  z-index: -2;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: #071012;
}

.backdrop picture,
.backdrop-center {
  display: block;
  width: 100%;
  height: 100%;
}

.backdrop-center {
  object-fit: cover;
  object-position: center top;
}

.shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 13, 16, 0.82) 0%, rgba(5, 13, 16, 0.58) 24%, rgba(5, 13, 16, 0.58) 76%, rgba(5, 13, 16, 0.82) 100%),
    linear-gradient(0deg, rgba(5, 12, 14, 0.84) 0%, rgba(5, 12, 14, 0.1) 70%);
}

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
}

.header-inner {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  align-self: stretch;
  gap: clamp(1.25rem, 4vw, 2.5rem);
}

nav a {
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: var(--white);
  font-size: 0.92rem;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

main {
  display: flex;
  min-height: calc(100svh - 5.5rem);
  align-items: flex-end;
  padding-block: 4rem;
}

.content {
  max-width: 47rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 6.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.32);
}

.intro {
  max-width: 41rem;
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.bio {
  max-width: 44rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.details {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.details ul {
  display: flex;
  gap: 1.75rem;
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
}

.details a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.details a span {
  color: var(--accent);
}

.details address {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.details address span {
  margin-right: 0.8rem;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 44rem) and (min-aspect-ratio: 6 / 5) {
  main.shell {
    width: min(47rem, calc(100% - 3rem));
    margin-right: 0;
    margin-left: max(1.5rem, calc((100vw - 111.1vh) / 2 + 3rem));
  }
}

@media (max-width: 43rem) {
  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .header-inner {
    min-height: 4.5rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.82rem;
  }

  main {
    min-height: calc(100svh - 4.5rem);
    padding-block: 2rem 1.5rem;
  }

  .shade {
    background:
      linear-gradient(0deg, rgba(5, 12, 14, 0.92) 0%, rgba(5, 12, 14, 0.48) 66%, rgba(5, 12, 14, 0.32) 100%);
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 4.3rem);
  }

  .intro {
    font-size: 1.05rem;
  }

  .bio {
    font-size: 0.9rem;
  }
}

@media (max-height: 44rem) and (min-width: 44rem) {
  main {
    padding-block: 2rem;
  }

  h1 {
    font-size: 4.25rem;
  }

  .bio {
    font-size: 0.92rem;
  }
}
