:root {
  color-scheme: dark;
  --ink: #f2f4f7;
  --black: #000;
  --content-left: clamp(1.75rem, 20.8vw, 17.75rem);
  --content-width: min(56.9vw, 47.9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.44;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 1px 1px;
}

a:hover,
a:focus-visible {
  background-image: none;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.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;
}

.panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero {
  isolation: isolate;
  background: #52606b url("assets/ocean-poster.jpg") center center / cover no-repeat;
}

.ocean,
.mobile-home-art,
.wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ocean {
  z-index: -2;
  object-fit: cover;
  object-position: center center;
}

.mobile-home-art,
.mobile-links {
  display: none;
}

.wash {
  z-index: -1;
  background: rgba(34, 45, 55, 0.32);
}

.identity {
  position: absolute;
  top: 54.5%;
  left: var(--content-left);
  transform: translateY(-50%);
  letter-spacing: -0.015em;
}

.identity h1 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 700;
}

.identity nav {
  margin-top: 0.1rem;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 400;
}

.about {
  display: flex;
  align-items: center;
  background: var(--black);
}

.bio {
  width: var(--content-width);
  margin-left: var(--content-left);
  padding: 5rem 0;
  font-size: 1.3125rem;
  line-height: 1.43;
  letter-spacing: -0.013em;
}

.bio p {
  margin: 0 0 1.55rem;
}

.bio p:last-child {
  margin-bottom: 0;
}

.page-arrow {
  position: absolute;
  left: 50%;
  bottom: 1.65rem;
  display: grid;
  width: 3rem;
  height: 2.5rem;
  place-items: center;
  transform: translateX(-50%);
  background: none;
}

.page-arrow span {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  transform: translateY(-0.25rem) rotate(45deg);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.page-arrow--up span {
  transform: translateY(0.25rem) rotate(225deg);
}

@media (max-width: 760px) {
  :root {
    --content-left: clamp(1.5rem, 8vw, 3rem);
    --content-width: calc(100vw - (2 * var(--content-left)));
  }

  html {
    scroll-snap-type: y proximity;
  }

  .identity {
    display: none;
  }

  .ocean {
    display: none;
  }

  .wash,
  .hero > .page-arrow {
    display: none;
  }

  .hero {
    min-height: 100svh;
    background: #79a5b7;
  }

  .mobile-home-art {
    z-index: 0;
    display: block;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;
  }

  .mobile-links {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    pointer-events: none;
  }

  .mobile-link {
    position: absolute;
    left: 5.3%;
    display: block;
    width: max-content;
    max-width: 90%;
    padding: 0.2rem 0;
    color: #050505;
    font-size: clamp(1.35rem, 6.4vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
    background: none;
    pointer-events: auto;
    touch-action: manipulation;
    cursor: pointer;
  }

  .mobile-link:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
  }

  .mobile-link--get-together {
    top: 5.8%;
  }

  .mobile-link--100-chats {
    top: 11.9%;
  }

  .mobile-link--radio {
    top: 18.0%;
  }

  .identity h1 {
    font-size: 1.45rem;
  }

  .about {
    display: block;
    min-height: max(100svh, 84rem);
  }

  .bio {
    width: auto;
    margin: 0;
    padding: 6rem 1.65rem 6rem 2.05rem;
    font-size: 1.25rem;
    line-height: 1.30;
    letter-spacing: -0.018em;
  }

  .bio p {
    margin-bottom: 2.05rem;
  }

  .about > .page-arrow {
    display: none;
  }
}

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

  .ocean {
    display: none;
  }
}
