:root {
  color-scheme: dark;
  --ink: #f7f5ff;
  --muted: rgba(241, 238, 255, 0.68);
  --line: rgba(255, 255, 255, 0.2);
  --night: #050713;
  --violet: #a78bfa;
  --magenta: #d779dd;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--night);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.home-art,
.home-wash {
  position: absolute;
  inset: 0;
}

.home-art {
  z-index: -3;
  background-image: url("./assets/at-sea-logo.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.home-wash {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 42%, rgba(43, 30, 84, 0.32), rgba(5, 8, 25, 0.84) 58%),
    linear-gradient(145deg, rgba(4, 12, 41, 0.84) 5%, rgba(24, 11, 49, 0.72) 54%, rgba(40, 11, 58, 0.76) 100%);
  backdrop-filter: saturate(0.58) contrast(0.94);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 49.88%, rgba(255, 255, 255, 0.07) 50%, transparent 50.12%),
    linear-gradient(0deg, transparent 49.88%, rgba(255, 255, 255, 0.05) 50%, transparent 50.12%);
  opacity: 0.28;
  pointer-events: none;
}

.home-content {
  position: absolute;
  left: 50%;
  bottom: clamp(3.5rem, 9vh, 7rem);
  width: min(90vw, 44rem);
  transform: translateX(-50%);
  text-align: center;
  animation: rise-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.script-logo {
  margin: 0 0 0.3rem;
  color: rgba(250, 247, 255, 0.96);
  font-family: "Snell Roundhand", "Segoe Script", "URW Chancery L", cursive;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-shadow: 0 8px 34px rgba(35, 13, 68, 0.55);
}

.home-intro {
  margin: 0 0 1.6rem;
  color: rgba(248, 244, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 400;
  letter-spacing: 0.015em;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(8, 10, 29, 0.25);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
  backdrop-filter: blur(10px);
}

.primary-link:hover,
.primary-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(132, 87, 181, 0.28);
  transform: translateY(-2px);
}

.primary-link:focus-visible,
.artist-links a:focus-visible,
.wordmark:focus-visible,
.artist-footer a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.arrow {
  font-size: 1rem;
}

.home-mark {
  position: absolute;
  right: 1.5rem;
  bottom: 1.35rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
}

.artist-shell {
  min-height: 100svh;
  overflow: hidden;
  background: var(--night);
}

.artist-hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
}

.artist-image,
.artist-wash {
  position: absolute;
  inset: 0;
}

.artist-image {
  z-index: -2;
  background-image: url("./assets/my-friend.png");
  background-position: center 34%;
  background-size: cover;
  transform: scale(1.01);
}

.artist-wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 8, 22, 0.18) 0%, transparent 45%, rgba(4, 6, 18, 0.16) 100%),
    linear-gradient(0deg, rgba(3, 6, 18, 0.92) 0%, transparent 42%, rgba(3, 8, 20, 0.28) 100%);
}

.artist-nav,
.artist-footer {
  position: absolute;
  left: clamp(1.25rem, 4vw, 4rem);
  right: clamp(1.25rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.artist-nav {
  top: clamp(1.25rem, 4vw, 3rem);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.script-nav {
  font-family: "Snell Roundhand", "Segoe Script", "URW Chancery L", cursive;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.wave-mark {
  display: grid;
  place-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.wave-mark span {
  display: block;
  width: 1rem;
  height: 0.18rem;
  margin: 0.08rem 0;
  border-radius: 999px;
  background: var(--violet);
  transform: skewX(-26deg);
}

.nav-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artist-heading {
  position: absolute;
  left: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(3rem, 8vh, 6rem);
  animation: rise-in 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow,
.bio-kicker {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.artist-heading h1 {
  margin: 0;
  font-size: clamp(4.7rem, 11vw, 10rem);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 0.74;
  text-shadow: 0 5px 40px rgba(0, 0, 0, 0.35);
}

.bio-section {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 4vw, 4rem) clamp(4.5rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 80% 0%, rgba(83, 43, 121, 0.2), transparent 37rem),
    linear-gradient(145deg, #050713, #09081b 60%, #10091f);
}

.bio-card {
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(6, 9, 25, 0.68), rgba(22, 11, 45, 0.78));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px) saturate(1.1);
  animation: rise-in 900ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bio-copy {
  display: grid;
  gap: 0.9rem;
}

.bio-copy p {
  margin: 0;
  color: rgba(249, 247, 255, 0.88);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.48;
}

.artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.artist-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}

.artist-links a:hover,
.artist-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(167, 139, 250, 0.18);
}

.artist-footer {
  position: static;
  padding: 1.35rem clamp(1.25rem, 4vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050713;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.artist-footer a {
  text-decoration: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .home-art {
    background-size: auto 100%;
  }

  .home-content {
    bottom: clamp(3.5rem, 8vh, 5rem);
    padding: 0 0.6rem;
  }

  .home-mark {
    display: none;
  }

  .artist-nav {
    left: 1.15rem;
    right: 1.15rem;
  }

  .artist-hero {
    min-height: auto;
    padding-top: 5.5rem;
    background: #07101f;
  }

  .artist-image {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1911 / 1274;
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    transform: none;
  }

  .artist-wash {
    top: 5.5rem;
    background: linear-gradient(0deg, rgba(3, 6, 18, 0.82) 0%, transparent 56%);
    pointer-events: none;
  }

  .artist-heading {
    left: 1.15rem;
    bottom: 1.5rem;
  }

  .artist-heading h1 {
    font-size: clamp(3.7rem, 20vw, 6rem);
  }

  .bio-section {
    padding: 2rem 1.15rem 4.5rem;
  }

  .bio-card {
    padding: 1.35rem;
  }

  .artist-footer {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
  }
}

@media (max-width: 520px) {
  .home-intro {
    width: min(100%, 20rem);
    margin-right: auto;
    margin-left: auto;
    line-height: 1.45;
  }

  .primary-link {
    gap: 1.2rem;
  }

  .nav-label {
    max-width: 7rem;
    text-align: right;
    line-height: 1.35;
  }

  .artist-footer span {
    display: none;
  }

  .artist-footer {
    justify-content: flex-end;
    letter-spacing: 0.07em;
    text-transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
