:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: rgba(18, 20, 23, 0.72);
  --panel-strong: rgba(31, 33, 38, 0.86);
  --text: #f6f3ee;
  --muted: #a6a39c;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ff4d2e;
  --accent-2: #f2c14e;
  --cyan: #5ad7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 77, 46, 0.22), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(90, 215, 255, 0.13), transparent 26%),
    linear-gradient(135deg, #090a0c 0%, #060607 48%, #11100d 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 84%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, 0.05) 42% 43%, transparent 43% 100%),
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(255, 255, 255, 0.025) 27px 28px);
  opacity: 0.65;
}

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.hero {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(360px, 420px) minmax(260px, 0.82fr);
  gap: 42px;
  align-items: center;
}

.profile {
  min-width: 0;
  padding: 34px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 6.1vw, 6.35rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 .surname {
  font-size: 0.82em;
}

.subtitle {
  max-width: 470px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.7;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.status-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.055);
  color: #ddd9d2;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.links {
  display: grid;
  gap: 14px;
}

.link-card {
  position: relative;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.link-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.link-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: linear-gradient(var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 220ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 77, 46, 0.16), rgba(255, 255, 255, 0.045)),
    var(--panel-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  outline: none;
}

.link-card:hover::before,
.link-card:focus-visible::before {
  opacity: 1;
}

.link-card-accent {
  border-color: rgba(242, 193, 78, 0.28);
}

.link-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 800;
}

.link-card strong,
.link-card small {
  display: block;
}

.link-card strong {
  font-size: 1.02rem;
}

.link-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.visual {
  min-height: 560px;
  display: grid;
  align-items: center;
}

.track-card {
  position: relative;
  min-height: 510px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    linear-gradient(145deg, rgba(255, 77, 46, 0.18), rgba(90, 215, 255, 0.1) 62%, rgba(0, 0, 0, 0.06));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(900px) rotateX(calc(var(--tilt-y, 0deg) * -0.35)) rotateY(calc(var(--tilt-x, 0deg) * 0.35));
  transition: transform 180ms ease;
}

.track-card::before {
  position: absolute;
  inset: 42px -20px auto;
  height: 310px;
  content: "";
  border: 16px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  transform: rotate(-12deg);
}

.track-card::after {
  position: absolute;
  right: 22px;
  bottom: 118px;
  width: 42%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  box-shadow: 0 28px 0 rgba(255, 255, 255, 0.15), 0 56px 0 rgba(255, 255, 255, 0.08);
}

.track-top,
.track-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.track-bottom {
  display: grid;
  gap: 8px;
}

.track-bottom strong {
  color: var(--text);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.9;
}

.track-bottom span {
  color: var(--muted);
}

.aperture {
  position: relative;
  z-index: 1;
  width: min(72%, 250px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(5, 5, 6, 0.95) 0 28%, transparent 29%),
    conic-gradient(from 20deg, rgba(255, 77, 46, 0.88), rgba(242, 193, 78, 0.86), rgba(90, 215, 255, 0.64), rgba(255, 77, 46, 0.88));
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.6);
}

.aperture span {
  position: absolute;
  width: 64%;
  height: 2px;
  background: rgba(255, 255, 255, 0.34);
}

.aperture span:nth-child(2) {
  transform: rotate(60deg);
}

.aperture span:nth-child(3) {
  transform: rotate(-60deg);
}

.speed-lines {
  position: absolute;
  inset: auto 0 8%;
  z-index: -1;
  display: grid;
  gap: 18px;
  pointer-events: none;
}

.speed-lines span {
  width: 44%;
  height: 2px;
  margin-left: auto;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 46, 0.55), transparent);
  transform: skewX(-22deg);
}

.speed-lines span:nth-child(2) {
  width: 34%;
  margin-right: 8%;
  background: linear-gradient(90deg, transparent, rgba(242, 193, 78, 0.5), transparent);
}

.speed-lines span:nth-child(3) {
  width: 56%;
  margin-right: 16%;
}

.speed-lines span:nth-child(4) {
  width: 28%;
  margin-right: 26%;
  background: linear-gradient(90deg, transparent, rgba(90, 215, 255, 0.42), transparent);
}

@media (max-width: 980px) {
  .page-shell {
    place-items: start center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(3.6rem, 16vw, 6rem);
  }

  h1 .surname {
    font-size: 0.9em;
  }

  .visual {
    min-height: auto;
    order: -1;
  }

  .track-card {
    min-height: 330px;
  }

  .aperture {
    width: min(48%, 210px);
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
    padding: 26px 0;
  }

  .profile {
    padding: 0;
  }

  .subtitle {
    margin-top: 20px;
  }

  .link-card {
    min-height: 72px;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .link-icon {
    width: 46px;
    height: 46px;
  }

  .track-card {
    min-height: 290px;
    padding: 20px;
  }
}