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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #191919;
  color: #F0EEEC;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.7;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: relative;
  font-size: 0.875rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 24px 24px 0;
}

.site-header a {
  color: #F0EEEC;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.site-header a:hover,
.site-header a:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  color: #F0EEEC;
  outline: none;
}

.site-header .separator {
  color: #777;
  margin: 0 0.125rem;
  padding: 6px 4px;
}

.site-header .breadcrumb-current {
  color: #F0EEEC;
  padding: 6px 8px;
}

.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.25rem 4rem;
}

.content {
  max-width: 650px;
  margin: 0 auto;
  width: 100%;
}

main {
  margin-bottom: 0;
}

h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #F0EEEC;
}

p {
  margin-bottom: 1.5rem;
  color: #F0EEEC;
}

a {
  color: #B0AEAD;
  text-decoration: underline;
}

a:hover {
  color: #F0EEEC;
}

ul {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #F0EEEC;
}

.label {
  color: #F0EEEC;
  font-size: 0.875rem;
}

@media (min-width: 800px) and (min-height: 700px) {
  .site-header {
    position: fixed;
    top: 24px;
    left: 24px;
    padding: 0;
  }

  .content-wrapper {
    padding: 5rem 1.25rem 4rem;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 20px 20px 0;
  }

  .content-wrapper {
    padding: 1.5rem 1rem 3rem;
  }

  h1 {
    font-size: 1.25rem;
  }
}

/* Homepage */
.homepage {
  --home-accent: #BDCDB5;
  --home-muted: #ADACA7;
  --home-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: #191A18;
  color: #F0EEEA;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.homepage .home-shell {
  width: calc(100% - 4rem);
  max-width: 880px;
  margin-inline: auto;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2rem;
  font-family: var(--home-mono);
  font-size: 0.875rem;
}

.home-header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.home-wordmark {
  color: #F0EEEA;
}

.home-nav-contact {
  color: var(--home-muted);
}

.home-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 4rem 6rem;
}

.home-introduction {
  width: 100%;
  max-width: 640px;
}

.home-main h1 {
  margin-bottom: 2rem;
  color: #F0EEEA;
  font-size: clamp(2.75rem, 5.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.home-main h1 em {
  color: var(--home-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.home-lead {
  margin-bottom: 1rem;
  color: #E3E1DC;
  font-size: 1.375rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.home-intro {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

.home-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid #373A34;
  font-style: normal;
  font-size: 0.875rem;
  scroll-margin-top: 2rem;
}

.home-contact-label {
  color: var(--home-muted);
}

.home-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--home-accent);
  font-family: var(--home-mono);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  overflow-wrap: anywhere;
}

.home-footer {
  padding-bottom: 1.5rem;
  font-family: var(--home-mono);
  font-size: 0.8125rem;
}

.home-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--home-muted);
  text-decoration: none;
}

.homepage a:hover {
  color: #E0EAD9;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.homepage a:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 5px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .homepage .home-shell {
    width: calc(100% - 3rem);
  }

  .home-main {
    align-items: flex-start;
    padding-block: 3.5rem 4rem;
  }
}

@media (max-width: 480px) {
  .home-header {
    padding-block: 1.25rem;
  }

  .home-main h1 {
    font-size: 2.5rem;
    margin-bottom: 1.75rem;
  }

  .home-lead {
    font-size: 1.25rem;
  }

  .home-contact {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2.5rem;
    gap: 0.25rem;
  }
}
