:root {
  color-scheme: dark;
  --ink: #fff7fb;
  --muted: #cdbbc8;
  --paper: #120d13;
  --panel: rgba(31, 22, 32, 0.86);
  --panel-strong: rgba(43, 28, 43, 0.92);
  --rose: #ff6fa8;
  --coral: #ff8a7c;
  --aqua: #5ed3dd;
  --leaf: #9edb72;
  --gold: #f6c756;
  --line: rgba(255, 247, 251, 0.14);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  background: linear-gradient(135deg, #120d13 0%, #211425 48%, #101819 100%);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 111, 168, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(94, 211, 221, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.78), transparent 74%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.78), transparent 74%);
}

body::after {
  z-index: -1;
  background:
    linear-gradient(122deg, transparent 0 12%, rgba(255, 111, 168, 0.1) 12% 12.8%, transparent 12.8% 100%),
    linear-gradient(148deg, transparent 0 66%, rgba(94, 211, 221, 0.12) 66% 66.7%, transparent 66.7% 100%);
  opacity: 0.9;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.page-shell {
  width: min(100% - 32px, 1020px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 0;
  display: grid;
  gap: 18px;
  align-content: center;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(680px, calc(100vh - 112px));
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 64px);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 111, 168, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(94, 211, 221, 0.08) 1px, transparent 1px),
    var(--panel);
  background-size: 38px 38px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after,
.hero-art {
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero::before,
.hero::after {
  content: "";
}

.hero::before {
  width: 180px;
  height: 180px;
  top: -72px;
  right: -48px;
  border: 28px solid rgba(158, 219, 114, 0.22);
  transform: rotate(17deg);
}

.hero::after {
  width: 220px;
  height: 18px;
  left: -36px;
  bottom: 76px;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--aqua));
  transform: rotate(-10deg);
}

.hero-art {
  width: min(430px, 58vw);
  top: clamp(-22px, -2vw, -10px);
  left: clamp(-54px, -4vw, -18px);
  z-index: 0;
  opacity: 0.16;
  mix-blend-mode: screen;
  filter: brightness(0) invert(1) drop-shadow(0 14px 28px rgba(255, 247, 251, 0.16));
  transform: rotate(-8deg);
}

.identity {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.profile-picture {
  width: clamp(178px, 28vw, 268px);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border: 6px solid #2a1a2a;
  border-radius: 999px;
  background: #2c1727;
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.38),
    0 0 40px rgba(255, 111, 168, 0.18),
    0 0 0 1px var(--line);
}

.handle {
  margin: 24px 0 4px;
  color: var(--rose);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro {
  width: min(100%, 560px);
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2.2vw, 1.28rem);
}

.social-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-links a,
.lately-card {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(31, 22, 32, 0.78);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.social-links a {
  padding: 0 16px;
}

.social-links a:hover,
.lately-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 111, 168, 0.46);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.social-links a:focus-visible,
.lately-card:focus-visible {
  outline: 3px solid rgba(56, 184, 202, 0.48);
  outline-offset: 3px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.lately-section {
  position: relative;
  padding: 0;
}

.lately-card {
  position: relative;
  width: 100%;
  padding: clamp(26px, 5vw, 44px) clamp(20px, 4vw, 36px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 4vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(43, 28, 43, 0.94), rgba(20, 33, 34, 0.88)),
    var(--panel-strong);
  backdrop-filter: blur(18px);
}

.lately-card::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(var(--rose), var(--gold), var(--aqua), var(--leaf));
  content: "";
}

.sonafied-mark {
  width: clamp(72px, 11vw, 124px);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 75, 0.34);
  background:
    linear-gradient(145deg, rgba(17, 17, 20, 0.98), rgba(7, 7, 10, 0.94)),
    #07070a;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.34),
    0 10px 22px rgba(201, 162, 75, 0.16),
    inset 0 0 0 1px rgba(255, 247, 251, 0.06);
  display: grid;
  place-items: center;
  animation: sonafied-mark-glow 6s ease-in-out infinite;
}

.sonafied-mark img {
  width: 68%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(201, 162, 75, 0.36));
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.lately-copy {
  max-width: 690px;
}

.lately-copy > p:not(.section-kicker) {
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.16rem);
}

.card-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 247, 251, 0.08);
  color: var(--ink);
}

.card-arrow svg {
  width: 20px;
  height: 20px;
}

@keyframes sonafied-mark-glow {
  0%,
  100% {
    box-shadow:
      0 16px 36px rgba(0, 0, 0, 0.34),
      0 10px 22px rgba(201, 162, 75, 0.16),
      inset 0 0 0 1px rgba(255, 247, 251, 0.06);
  }

  50% {
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.38),
      0 12px 30px rgba(201, 162, 75, 0.28),
      inset 0 0 0 1px rgba(201, 162, 75, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sonafied-mark {
    animation: none;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, 1020px);
    min-height: 100svh;
    padding: 18px 0;
    gap: 12px;
    align-content: center;
  }

  .hero {
    min-height: auto;
    padding: 28px 14px 22px;
    gap: 22px;
    background-size: 30px 30px;
  }

  .profile-picture {
    width: clamp(148px, 48vw, 188px);
    border-width: 5px;
  }

  .handle {
    margin-top: 18px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.5rem);
  }

  .intro {
    margin-top: 12px;
    font-size: 1rem;
  }

  .hero::before {
    width: 112px;
    height: 112px;
    border-width: 18px;
  }

  .hero::after {
    width: 160px;
    bottom: 30px;
  }

  .hero-art {
    width: 260px;
    top: -12px;
    left: -56px;
    opacity: 0.14;
  }

  .social-links {
    width: 100%;
    gap: 8px;
  }

  .social-links a {
    min-height: 42px;
    flex: 1 1 calc(50% - 8px);
    padding: 0 10px;
    font-size: 0.92rem;
  }

  .lately-card {
    padding: 18px 16px 18px 20px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .sonafied-mark {
    width: 62px;
  }

  .section-kicker {
    margin-bottom: 4px;
    font-size: 0.72rem;
  }

  h2 {
    font-size: 1.38rem;
  }

  .lately-copy {
    padding-right: 38px;
  }

  .lately-copy > p:not(.section-kicker) {
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .card-arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }

  .card-arrow svg {
    width: 17px;
    height: 17px;
  }
}
