@font-face {
  font-family: "Lydian BT";
  src: url("/assets/lydian-bt-roman.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

:root {
  --background: #140c0b;
  --foreground: #fffbf0;
  --accent: #ffa16b;
  --muted: #e7d0ba;
  color-scheme: dark;
  font-family: "Lydian BT", Georgia, serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 4px;
  text-underline-offset: 0.18em;
  transition: color 120ms ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible {
  border-radius: 0.08em;
  outline: 3px solid var(--accent);
  outline-offset: 0.14em;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.6rem 0.85rem;
  background: var(--foreground);
  color: var(--background);
  font-size: 1rem;
  transform: translateY(-200%);
}

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

.legacy-page {
  padding-top: 23px;
  padding-bottom: 136px;
  text-rendering: auto;
}

.home a,
.about a {
  display: inline-block;
  border-bottom: 4px dotted var(--foreground);
  color: inherit;
  line-height: 0.75;
  text-decoration: none;
}

.home a:hover,
.home a:focus-visible,
.about a:hover,
.about a:focus-visible {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.home {
  display: block;
  width: min(100%, 1080px);
  min-height: 0;
  margin: 0 auto;
  padding: 0 34px 17px;
  text-align: center;
}

.home__content {
  width: 100%;
  padding: 0;
}

.home .home__spacer {
  height: 66px;
  margin: 0;
}

.avatar {
  display: block;
  width: min(140.328125px, calc(11.449776vw - 6.22899px));
  height: auto;
  margin: 34px auto 52px;
  transform: translateX(-0.0078125px);
}

.home h1,
.home p {
  width: 100%;
  margin: 60px 0;
  font-size: 60px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 66px;
  white-space: pre-wrap;
}

.home h1 {
  margin: 0 0 60px;
}

.home .role {
  margin: 60px 0;
}

.home .contact {
  margin: 60px 0;
}

.home .socials {
  display: block;
  margin: 0;
}

.home .socials p {
  margin: 60px 0;
}

.home .home__end {
  height: 66px;
  margin: 60px 0 0;
}

.about {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0 34px;
}

.about p {
  width: calc(83.333333% - 5.6667px);
  margin: 60px auto;
  font-size: 60px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 66px;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.about .about__spacer {
  height: 66px;
  margin-top: 0;
  margin-bottom: 60px;
}

.about .back {
  margin-top: 60px;
  margin-bottom: 0;
}

.page {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 10rem) clamp(1.5rem, 6.5vw, 5rem) 8rem;
}

.page h1,
.page p,
.page li {
  font-size: 60px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

.page h1 {
  margin: 0 0 1.3em;
}

.page p {
  margin: 0;
}

.page p + p {
  margin-top: 1.35em;
}

.page .back {
  margin-top: 1.35em;
}

.policy {
  width: min(100%, 62rem);
}

.policy h1 {
  margin-bottom: 0.45em;
}

.policy h2 {
  margin: 2.1em 0 0.45em;
  color: var(--muted);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
}

.policy p,
.policy li {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.28;
}

.policy ul {
  margin: 0;
  padding-left: 1.15em;
}

.policy li + li {
  margin-top: 0.45em;
}

.policy .updated {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-break {
  white-space: nowrap;
}

@media (max-width: 767px) {
  a {
    text-decoration-thickness: 3px;
  }

  .page {
    padding-top: 5.5rem;
  }

  .policy p,
  .policy li {
    font-size: 1.45rem;
  }
}

@media (max-width: 640px) {
  .legacy-page {
    padding-top: 12.5px;
    padding-bottom: 54.5px;
  }

  .home {
    padding: 0 13.5px 7px;
  }

  .home .home__spacer {
    height: 26.5px;
  }

  .avatar {
    width: 50px;
    margin: 13.5px auto 20.5px;
    transform: translateY(-1.5px);
  }

  .home h1,
  .home p {
    margin: 25px 0;
    font-size: 24px;
    letter-spacing: 0.5px;
    line-height: 26.5px;
  }

  .home h1 {
    margin: 0 0 25px;
  }

  .home .role,
  .home .contact,
  .home .socials p {
    margin: 25px 0;
  }

  .home .home__end {
    height: 26.5px;
    margin: 25px 0 0;
  }

  .home a,
  .about a {
    border-bottom-width: 1.5px;
  }

  .about {
    padding: 0 13.5px;
  }

  .about p {
    width: calc(83.333333% - 2.5px);
    margin: 25px auto;
    font-size: 24px;
    letter-spacing: 0.5px;
    line-height: 26.5px;
  }

  .about .about__spacer {
    height: 26.5px;
    margin-bottom: 25px;
  }

  .about .back {
    margin-top: 25px;
  }
}

@media (min-width: 641px) and (max-width: 767px) {
  .avatar {
    transform: none;
  }
}

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

  a {
    transition: none;
  }
}

