/* ──────────────────────────────────────────────────────────────
   Yulyseus — static site styles
   ────────────────────────────────────────────────────────────── */

/* Display font — drop the file at /fonts/OwnersWide-Medium.woff2.
   Falls back to system sans if missing so the page never breaks. */
@font-face {
  font-family: "Owners Wide";
  src:
    url("/fonts/OwnersWide-Medium.woff2") format("woff2"),
    url("/fonts/OwnersWide-Medium.otf") format("opentype"),
    url("/fonts/OwnersWide-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0908;
  --ink-2: #131210;
  --cream: #f8f8f8;
  --cream-dim: rgba(255, 255, 255, 0.6);
  --muted: #8b8275;
  --muted-2: #5a5448;
  --hair: rgba(245, 240, 230, 0.12);
  --hair-strong: rgba(245, 240, 230, 0.28);

  --font-display: "Owners Wide", "Helvetica Neue", "Arial Narrow", system-ui, sans-serif;
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
}

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

html,
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
}

body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}

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

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

::selection {
  background: var(--cream);
  color: var(--ink);
}

.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-feature-settings: "liga", "ss01";
  letter-spacing: -0.01em;
}

.font-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.text-cream { color: var(--cream); }
.text-cream-dim { color: var(--cream-dim); }
.text-muted { color: var(--muted); }
.text-muted-2 { color: var(--muted-2); }

/* ──────────── Layout ──────────── */

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 640px) { .container { padding-inline: 2.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 4rem; } }

/* ──────────── Hero ──────────── */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      120% 80% at 50% 50%,
      rgba(10, 9, 8, 0.1) 0%,
      rgba(10, 9, 8, 0.4) 55%,
      rgba(10, 9, 8, 0.75) 100%
    );
}

.hero-fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 14rem;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(10, 9, 8, 1));
}

.logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--cream-dim);
}

.top-bar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}
@media (min-width: 640px) { .top-bar { padding: 2rem 2.5rem; } }
@media (min-width: 1024px) { .top-bar { padding: 2.5rem 4rem; } }

.hero-stage {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 6rem;
}
@media (min-width: 640px) { .hero-stage { padding: 4rem 2.5rem 8rem; } }
@media (min-width: 1024px) { .hero-stage { padding: 4rem 4rem 8rem; } }

.hero-info {
  width: 100%;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0;
  color: var(--cream-dim);
}
.eyebrow .sep {
  margin-inline: 0.75rem;
  color: var(--muted-2);
}

.hero-title {
  margin: 1.25rem 0 0;
  line-height: 0.95;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.hero-title .artist,
.hero-title .album-title {
  display: block;
  font-size: clamp(2rem, 5.6vw, 4.4rem);
}
.hero-title .artist {
  color: var(--cream-dim);
}
.hero-title .album-title {
  color: var(--cream);
}

.subtitle {
  margin: 1rem auto 0;
  max-width: 36rem;
  line-height: 1.6;
  color: var(--cream-dim);
  font-size: 1rem;
  text-wrap: balance;
}
@media (min-width: 640px) { .subtitle { font-size: 1.125rem; } }

.meta-grid {
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-grid > div { text-align: center; }
.meta-grid dt { color: var(--cream-dim); margin: 0; font-weight: 600; }
.meta-grid--dark dt { color: rgba(0, 0, 0, 0.75); }
.meta-grid dd {
  margin: 0.25rem 0 0;
  color: var(--cream);
  text-transform: none;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.meta-grid--dark dd { color: var(--cream-dim); }

.player {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 560px;
}
.player-frame {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px var(--hair-strong);
  background: rgba(10, 9, 8, 0.65);
  backdrop-filter: blur(8px);
}
.player iframe {
  display: block;
  width: 100%;
  height: 406px;
  border: 0;
}

.listen {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.listen .label { color: var(--muted-2); }
.listen a { color: var(--cream-dim); }
.listen a:hover { color: var(--cream); }

/* ──────────── Links block (public page) ──────────── */

.links-block {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.links-row .label { color: var(--muted); min-width: 3.5rem; }
.links-row a { color: var(--cream-dim); }
.links-row a:hover { color: var(--cream); }

.links-block--dark .label { color: rgba(0, 0, 0, 0.6); }
.links-block--dark a { color: rgba(0, 0, 0, 0.85); }
.links-block--dark a:hover { color: rgba(0, 0, 0, 1); }

.scroll-hint {
  position: absolute;
  inset-inline: 0;
  bottom: 1.5rem;
  z-index: 10;
  display: flex;
  justify-content: center;
}
.scroll-hint a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.2s;
}
.scroll-hint a:hover { color: var(--cream); }

/* ──────────── Press section ──────────── */

.press {
  position: relative;
  background: var(--ink);
  padding-block: 7rem;
}
@media (min-width: 640px) { .press { padding-block: 8rem; } }
@media (min-width: 1024px) { .press { padding-block: 10rem; } }

.press-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}
.press-head h2 {
  margin: 1rem 0 0;
  max-width: 56rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-wrap: balance;
}

.two-col {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem 3.5rem;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .two-col .bio { grid-column: span 7; }
  .two-col .tracks { grid-column: span 5; }
}

.bio-body {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--cream-dim);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.bio-body p { margin: 0; }
@media (min-width: 640px) { .bio-body { font-size: 1.125rem; } }

.tracklist {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.tracklist li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--hair);
}
.tracklist li:first-child { border-top: 0; }
.tracklist .track-meta {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}
.tracklist .num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.tracklist .title { font-size: 1rem; color: var(--cream); letter-spacing: -0.01em; }
@media (min-width: 640px) { .tracklist .title { font-size: 1.125rem; } }
.tracklist .length { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }

.downloads {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .downloads { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.dl-card {
  display: block;
  border-top: 1px solid var(--hair-strong);
  padding-top: 1.5rem;
  transition: border-color 0.3s;
}
.dl-card:hover { border-top-color: var(--cream); }
.dl-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dl-card .num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.dl-card .cta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: transform 0.5s;
}
.dl-card:hover .cta { transform: translateY(-2px); }
.dl-card h3 {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--cream);
}
.dl-card p {
  margin: 0.75rem 0 0;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--cream-dim);
}

.contact {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .contact .blurb { grid-column: span 7; }
  .contact .email { grid-column: span 5; align-self: end; }
}
.contact .blurb p {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--cream-dim);
  text-wrap: pretty;
}
.contact .email a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  color: var(--cream);
}

footer.site {
  margin-top: 8rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  footer.site { flex-direction: row; align-items: center; }
}

/* ──────────── Lang switch ──────────── */

.lang { display: inline-flex; align-items: center; gap: 0; }
.lang a {
  color: var(--muted);
  transition: color 0.2s;
}
.lang a:hover { color: var(--cream); }
.lang a[aria-current="page"] { color: var(--cream); }
.lang .sep { margin-inline: 0.75rem; color: var(--muted-2); }

/* ──────────── Effects ──────────── */

.grain::before {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 60;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.65'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.hairline {
  margin-block: 4rem;
  background: linear-gradient(
    to right,
    transparent,
    var(--hair-strong) 20%,
    var(--hair-strong) 80%,
    transparent
  );
  height: 1px;
}
.hairline.tight { margin-block: 4rem; }
.hairline.loose { margin-block: 6rem; }

@keyframes drift {
  0%   { transform: scale(1.08) translate3d(0, 0, 0); }
  50%  { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.08) translate3d(0, 0, 0); }
}
.drift { animation: drift 38s ease-in-out infinite; }

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 1rem, 0); filter: blur(8px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
.rise { animation: rise 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.20s; }
.rise-3 { animation-delay: 0.35s; }
.rise-4 { animation-delay: 0.55s; }
.rise-5 { animation-delay: 0.80s; }
.rise-6 { animation-delay: 1.00s; }

@keyframes glow {
  0%, 100% { box-shadow: 0 30px 80px -10px rgba(0,0,0,0.7), 0 0 0 1px rgba(245,240,230,0.06); }
  50%      { box-shadow: 0 40px 110px -10px rgba(0,0,0,0.8), 0 0 0 1px rgba(245,240,230,0.10); }
}
.cover-glow { animation: glow 8s ease-in-out infinite; }

.link-rule {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.link-rule:hover {
  background-size: 0% 1px;
  background-position: 100% 100%;
}

@media (prefers-reduced-motion: reduce) {
  .rise, .drift, .cover-glow {
    animation: none !important;
  }
}
