/* Sarlisa — official artist site. Dark jewel tones, gold accents. No cream/white page backgrounds. */
:root {
  --bg: #10060c;
  --bg-deep: #0a0408;
  --bg-panel: #1a0c14;
  --bg-card: #1e1018;
  --gold: #e0c070;
  --gold-bright: #f0d78a;
  --gold-deep: #a8853a;
  --line: rgba(224, 192, 112, 0.28);
  --text: #f3e6c8;
  --text-dim: #c9b48a;
  --ruby: #7a1f3a;
  --header-h: 3.75rem;
  --radius: 0.4rem;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: Outfit, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--bg-panel); padding: 0.5rem 0.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 1.15rem;
  background: rgba(10, 4, 8, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.logo:hover { color: var(--gold-bright); }

#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  margin-right: -0.4rem;
}
.burger span {
  display: block;
  height: 1.5px;
  width: 22px;
  margin-left: auto;
  background: var(--gold);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#nav-toggle:checked + .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#nav-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
#nav-toggle:checked + .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(12, 5, 10, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.15rem 1.1rem;
  flex-direction: column;
  gap: 0.15rem;
}
#nav-toggle:checked ~ .nav { display: flex; }
.nav a {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid rgba(224, 192, 112, 0.12);
}
.nav a:hover, .nav a:focus-visible { color: var(--gold); }

@media (min-width: 800px) {
  .burger { display: none; }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 1.6rem;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .nav a {
    border: 0;
    padding: 0.3rem 0;
    font-size: 0.78rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 18%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 4, 8, 0.04) 0%, rgba(10, 4, 8, 0.00) 32%, rgba(10, 4, 8, 0.28) 68%, rgba(10, 4, 8, 0.78) 100%),
    linear-gradient(90deg, rgba(10, 4, 8, 0.20) 0%, rgba(10, 4, 8, 0.00) 42%, rgba(10, 4, 8, 0.08) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(3rem, 14vw, 7.5rem);
  letter-spacing: 0.16em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 10px 40px rgba(0, 0, 0, 0.35);
}
.tagline {
  margin: 0.85rem 0 1.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 3.4vw, 1.85rem);
  color: var(--text);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: #1a1008;
  border: 1px solid var(--gold);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--gold-bright);
  color: #1a1008;
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ---------- Sections ---------- */
.section {
  padding: 4rem 1.25rem;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 3.1rem);
  letter-spacing: 0.04em;
  color: var(--gold);
}
.section-lead {
  margin: 0 0 2.2rem;
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 34rem;
}

/* Featured release */
.featured {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.play-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.embed-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  cursor: pointer;
  display: block;
}
.embed-poster img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 20%;
}
.embed-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 4, 8, 0.12) 30%, rgba(10, 4, 8, 0.4) 100%);
  pointer-events: none;
}
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}
.play-btn::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 24px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #1a1008;
}
.embed-poster:hover .play-btn,
.embed-poster:focus-visible .play-btn {
  background: var(--gold-bright);
  transform: scale(1.06);
}
.play-toggle:checked + .embed-poster { display: none; }
.featured-copy { padding: 0 1.25rem 1.5rem; }
@media (min-width: 900px) {
  .featured {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
  }
  .featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2rem 2rem 0.5rem;
  }
}
.eyebrow {
  margin: 1.25rem 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4b56a;
}
.featured-copy h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--gold);
}
.featured-copy p {
  margin: 0 0 1.2rem;
  color: var(--text-dim);
}

/* Music cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (min-width: 800px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(224, 192, 112, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--gold);
  color: inherit;
  transform: translateY(-2px);
}
.card picture, .card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-deep);
}
.card-body { padding: 0.75rem 0.8rem 0.95rem; }
.card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--gold);
}
.card .meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (min-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.gown {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(224, 192, 112, 0.16);
  color: inherit;
  background: var(--bg-deep);
}
.gown picture, .gown img {
  width: 100%;
  display: block;
}
.gown img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gown:hover img { transform: scale(1.04); }
.gown figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.7rem 0.6rem;
  background: linear-gradient(transparent, rgba(10, 4, 8, 0.9));
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
}

/* CSS-only lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 3, 6, 0.94);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.lightbox:target { display: flex; }
.lightbox img {
  max-width: min(92vw, 720px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
}
.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
}

/* About */
#about {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(122, 31, 58, 0.28), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-text {
  max-width: 38rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.55;
  color: var(--text);
}
.about-text p { margin: 0 0 1rem; }
.about-text p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  padding: 3rem 1.25rem 2.4rem;
  background: var(--bg-deep);
  text-align: center;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.4rem;
  margin-bottom: 1.4rem;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 44px;
}
.socials a:hover { color: var(--gold-bright); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.copy {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

@media (min-width: 800px) {
  .section { padding: 5.5rem 2rem; }
  .hero-copy { padding: 4rem 2rem 4.5rem; }
  .site-header { padding: 0 2rem; }
}
