/* Yafania.music — official music hub
   Dark, deep red, soft white. Plain CSS, no framework. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0608;
  --bg-raised: #14090c;
  --bg-soft: #1a0d11;
  --red: #7c1222;
  --red-deep: #4e0b15;
  --rose: #d9a8ad;
  --rose-bright: #e8c4c7;
  --cream: #f4ece6;
  --cream-dim: #c9bdb6;
  --muted: #9a8c88;
  --line: rgba(217, 168, 173, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --content: 42rem;
  --wide: 68rem;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--cream);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--cream); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--cream);
  color: var(--bg);
  padding: 0.5rem 0.9rem;
  z-index: 1000;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 6, 8, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  line-height: 1;
}
.wordmark:hover { color: var(--rose-bright); }

#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--cream); }
.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--rose);
}
.site-nav a.shop-link { color: var(--rose); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.2rem;
  }
  #nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* Layout */
main { flex: 1 0 auto; }
.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.prose { max-width: var(--content); }
.section { padding: 3.5rem 0; }
.section-tight { padding: 2.5rem 0; }

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 0.6rem;
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cream);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 1rem; }
h3 { font-size: 1.55rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; color: var(--cream-dim); }
.lede { font-size: 1.15rem; color: var(--cream); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; }
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--rose);
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  background: transparent;
}
.btn:hover { background: var(--red); border-color: var(--red); color: var(--cream); }
.btn-solid {
  background: var(--red);
  border-color: var(--red);
}
.btn-solid:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--cream); }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 52rem);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--bg-raised);
}
.hero img.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 6, 8, 0.15) 20%, rgba(11, 6, 8, 0.92) 100%);
  pointer-events: none;
}
.hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 5rem 1.25rem 3rem;
}
.hero .credit {
  position: absolute;
  right: 1.25rem;
  bottom: 0.8rem;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hero h1 { text-transform: uppercase; letter-spacing: 0.16em; }
.hero .tag { margin: 0; color: var(--rose-bright); letter-spacing: 0.08em; }

/* Page intro with portrait */
.page-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.25rem 0 2rem;
}
.page-intro.flip { grid-template-columns: 0.85fr 1.15fr; }
.page-intro.flip .intro-copy { order: 2; }
@media (max-width: 800px) {
  .page-intro,
  .page-intro.flip { grid-template-columns: 1fr; }
  .page-intro.flip .intro-copy { order: 0; }
}

figure { margin: 0; }
figcaption {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.photo-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Featured strip */
.featured {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.featured .kicker { margin-bottom: 0.7rem; }
.featured-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--cream-dim);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
}

/* Cards / listings */
.track, .press-item, .video-block {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.track:first-of-type,
.press-item:first-of-type,
.video-block:first-of-type { border-top: 0; }

.meta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 0.35rem;
}
.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.92rem;
}

/* Embeds */
.embed, .spotify-embed {
  width: 100%;
  max-width: 40rem;
  margin: 0.75rem 0 0;
}
.video-frame {
  position: relative;
  width: 100%;
  max-width: 56rem;
  aspect-ratio: 16 / 9;
  background: #000;
  margin: 1rem 0 0;
}
.video-frame iframe,
.spotify-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.spotify-embed {
  position: relative;
  aspect-ratio: auto;
  height: 152px;
  max-width: 40rem;
}
.spotify-embed iframe { position: absolute; }

/* Quotes */
blockquote {
  margin: 1rem 0;
  padding: 0 0 0 1.1rem;
  border-left: 2px solid var(--red);
  color: var(--cream);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
}
blockquote cite {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Fact sheet / FAQ */
.facts {
  width: 100%;
  border-collapse: collapse;
}
.facts th,
.facts td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 1rem 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.facts th {
  font-weight: 500;
  color: var(--rose);
  width: 11rem;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}
.facts td { color: var(--cream-dim); }

.faq-list { margin: 0; padding: 0; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h2 {
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.gallery figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .split-2 { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
.site-footer h2 {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--rose);
  margin: 0 0 0.7rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.25rem 0; }
.site-footer a { color: var(--cream-dim); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.legal { margin-top: 2rem; font-size: 0.78rem; color: var(--muted); }

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
