/* Schilbi — official link-in-bio  |  schilbi.com */

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Syne";
  src: url("assets/fonts/syne-latin.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070910;
  --bg-2: #0c1020;
  --ink: #f6f1ea;
  --ink-soft: #c9c0b4;
  --ink-mute: #8e867c;
  --amber: #f0b15a;
  --amber-2: #ffd08a;
  --amber-dim: rgba(240, 177, 90, 0.16);
  --blue: #6aa8ff;
  --blue-dim: rgba(80, 150, 255, 0.18);
  --spotify: #1db954;
  --spotify-ink: #04150a;
  --glass: rgba(18, 22, 36, 0.62);
  --glass-2: rgba(255, 255, 255, 0.055);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke-strong: rgba(255, 255, 255, 0.2);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 26.5rem;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Syne", "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.skip:focus {
  top: 1rem;
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.atmosphere__photo {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: center 30%;
  filter: blur(36px) saturate(1.15) brightness(0.42);
  transform: scale(1.08);
}

.atmosphere__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 60% at 18% 0%, rgba(240, 170, 70, 0.28), transparent 55%),
    radial-gradient(80% 50% at 88% 4%, rgba(70, 130, 255, 0.28), transparent 58%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.35) 0%, rgba(7, 9, 16, 0.72) 42%, rgba(7, 9, 16, 0.94) 100%);
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background: url("assets/grain.jpg") repeat;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.05rem 0 2.1rem;
}

/* Social */
.social {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.social a {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass-2);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social a svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.social a:hover,
.social a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--stroke-strong);
  color: var(--amber-2);
  outline: none;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 1.15rem;
}

.portrait {
  width: 7.85rem;
  height: 7.85rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  padding: 3px;
  background:
    linear-gradient(140deg, var(--amber) 0%, #f3d9a8 28%, #7eb0ff 70%, #3d6bff 100%);
  box-shadow:
    0 0 0 6px rgba(240, 177, 90, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(80, 140, 255, 0.18);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--bg);
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.35rem, 9vw, 2.85rem);
  letter-spacing: 0.14em;
  line-height: 0.95;
  margin-left: 0.14em; /* optical balance for tracking */
  color: var(--ink);
}

.kicker {
  display: block;
  margin-top: 0.58rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tagline {
  display: block;
  margin-top: 0.7rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--amber);
}

/* Cards */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.featured {
  padding: 0.9rem 0.9rem 0.85rem;
  margin-bottom: 0.95rem;
  position: relative;
  overflow: hidden;
}

.featured::before {
  content: "";
  position: absolute;
  inset: auto -20% -50% 30%;
  height: 70%;
  background: radial-gradient(circle, rgba(240, 177, 90, 0.16), transparent 70%);
  pointer-events: none;
}

.featured__top {
  display: flex;
  gap: 0.95rem;
  align-items: center;
  margin-bottom: 0.85rem;
  position: relative;
}

.featured__cover {
  width: 6.1rem;
  height: 6.1rem;
  border-radius: 1rem;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.featured__meta {
  min-width: 0;
  text-align: left;
}

.badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(90deg, var(--amber), #ffd08a);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.featured__meta h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.featured__meta p {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.actions {
  display: grid;
  gap: 0.5rem;
  position: relative;
}

.actions__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.actions__row .btn {
  padding-inline: 0.5rem;
  font-size: 0.84rem;
  gap: 0.38rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn--spotify {
  background: var(--spotify);
  color: var(--spotify-ink);
  box-shadow: 0 8px 22px rgba(29, 185, 84, 0.28);
}

.btn--spotify:hover,
.btn--spotify:focus-visible {
  filter: brightness(1.08);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  border-color: var(--stroke-strong);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.btn--link {
  background: transparent;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.88rem;
  min-height: 2.2rem;
  padding: 0.25rem;
}

.btn--link:hover,
.btn--link:focus-visible {
  color: var(--amber-2);
}

/* Sections */
.section {
  margin-bottom: 0.95rem;
}

.section__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0.2rem 0.55rem;
}

.release {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.5rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.release:hover,
.release:focus-visible {
  transform: translateY(-1px);
  border-color: var(--stroke-strong);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.release img {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.7rem;
  object-fit: cover;
  flex: 0 0 auto;
}

.release__text {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.release__text strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.release__text span {
  display: block;
  color: var(--ink-mute);
  font-size: 0.8rem;
}

.release__go {
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.release__go svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: #1db954;
}

/* Platforms */
.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.5rem;
  padding: 0.7rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.platform svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.platform:hover,
.platform:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--stroke-strong);
  outline: none;
}

/* Teaser */
.teaser {
  text-align: center;
  padding: 0.95rem 1rem;
  margin-bottom: 1.1rem;
  border-style: dashed;
  background: rgba(240, 177, 90, 0.05);
}

.teaser span {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.2rem;
}

.teaser p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.teaser em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

/* Footer */
.footer {
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.82rem;
  padding-bottom: 0.4rem;
}

.footer p + p {
  margin-top: 0.2rem;
}

.footer a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--amber-2);
  border-bottom-color: currentColor;
  outline: none;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.55rem;
}

/* Focus ring for keyboard users */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.social a:focus-visible,
.btn:focus-visible,
.release:focus-visible,
.platform:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .wrap {
    padding-top: 3.25rem;
    padding-bottom: 3rem;
  }

  .portrait {
    width: 8.75rem;
    height: 8.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
