/* Daisy Correia — dark fado aesthetic */
:root {
  --bg: #0a0909;
  --bg-elev: #141111;
  --bg-alt: #121010;
  --text: #f3ebe3;
  --muted: #a89a90;
  --gold: #c9a227;
  --burgundy: #7a1f2b;
  --burgundy-soft: #a33a48;
  --line: rgba(201, 162, 39, 0.22);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --header-h: 4.25rem;
  --max: 1120px;
  --radius: 6px;
  --ease: cubic-bezier(.4,0,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
html {
  max-width: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: #e0c35a; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: #111; padding: .5rem 1rem; z-index: 10000;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,9,9,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.logo img { height: 36px; width: auto; filter: brightness(1.05); }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .25rem 1.15rem; align-items: center;
}
.site-nav a {
  color: var(--text); text-decoration: none; font-size: .86rem; letter-spacing: .02em;
  padding: .4rem 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav li.active a {
  color: var(--gold); border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 2.75rem; height: 2.75rem; padding: .55rem;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle-bar {
  display: block; height: 2px; width: 100%; background: var(--text);
  transition: transform .25s var(--ease), opacity .2s;
}
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 998;
}
.nav-overlay[hidden] { display: none !important; }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    width: auto;
    max-width: none;
    z-index: 999;
    background: #080707;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    /* Stay inside the viewport box — never translate off-screen (that inflates scrollWidth). */
    transform: none;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    clip-path: inset(0 0 0 100%);
    transition: clip-path .3s var(--ease), visibility .3s;
  }
  body.nav-open .site-nav {
    clip-path: inset(0);
  }
  body:not(.nav-open) .site-nav {
    visibility: hidden;
    pointer-events: none;
  }
  body.nav-open .site-nav {
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .site-nav a {
    display: block; font-size: 1.35rem; font-family: var(--font-serif);
    padding: 1rem 0; border-bottom: 1px solid var(--line);
  }
}

/* Carousel — normal 16/9 (not ultrawide cinematic crop) */
.hero-carousel {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: min(56vh, 640px);
  overflow: hidden;
}
@media (max-width: 700px) {
  .hero-carousel {
    max-height: min(42vh, 360px);
  }
}
.carousel-viewport { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.carousel-controls {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: .75rem;
  z-index: 2; background: rgba(0,0,0,.35); padding: .35rem .6rem; border-radius: 999px;
}
.carousel-btn, .carousel-pause {
  background: transparent; border: 0; color: #fff; font-size: 1.25rem;
  cursor: pointer; width: 2.2rem; height: 2.2rem; border-radius: 50%;
}
.carousel-btn:hover, .carousel-pause:hover { background: rgba(255,255,255,.12); }
.carousel-pause {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: rgba(0,0,0,.4);
}
.carousel-dots { display: flex; gap: .4rem; }
.carousel-dot {
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff;
  background: transparent; padding: 0; cursor: pointer;
}
.carousel-dot.is-active { background: var(--gold); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: none; }
}

/* Player */
.hero-player {
  background: linear-gradient(180deg, #1a1214 0%, var(--bg-elev) 100%);
  border-bottom: 1px solid var(--line);
}
.player-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 1.25rem 1.25rem;
  display: flex; gap: 1.25rem; align-items: center;
}
.player-cover {
  width: 120px; height: 120px; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  flex-shrink: 0;
}
.player-body { flex: 1; min-width: 0; }
.player-album {
  margin: 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.player-title {
  margin: .15rem 0 .75rem; font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 600;
}
.player-controls { display: flex; gap: .5rem; margin-bottom: .65rem; }
.player-controls button {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: var(--text); font-size: 1rem; cursor: pointer;
}
.player-controls button:hover { border-color: var(--gold); color: var(--gold); }
#btn-play {
  background: var(--burgundy); border-color: var(--burgundy-soft);
  width: 3rem; height: 3rem;
}
#btn-play:hover { background: var(--burgundy-soft); color: #fff; }
.player-progress {
  display: flex; align-items: center; gap: .65rem;
}
.player-progress .time { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 2.4rem; }
#seek {
  flex: 1; accent-color: var(--gold); height: 4px; cursor: pointer;
}
@media (max-width: 600px) {
  .player-inner { flex-direction: column; align-items: flex-start; }
  .player-cover { width: 96px; height: 96px; }
}

/* Sections */
.section {
  max-width: var(--max); margin: 0 auto; padding: 2rem 1.25rem;
}
.section.alt { background: var(--bg-alt); max-width: none; }
.section.alt > .section-head,
.section.alt > .card-grid,
.section.alt > .prose,
.section.alt > .content-wide,
.section.alt > .content-narrow { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.section.alt { padding-left: 0; padding-right: 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: .75rem;
}
.section-head h2, .page-hero h1, .prose h2 {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: .02em;
}
.section-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.more { font-size: .9rem; text-decoration: none; color: var(--muted); }
.more:hover { color: var(--gold); }

.card-grid {
  display: grid; gap: 1.25rem;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid.cols-4, .card-grid.cols-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg-elev);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 1rem;
  text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s;
}
a.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card h3 {
  font-family: var(--font-serif); font-size: 1.15rem; margin: .5rem 0 .25rem; font-weight: 600;
}
.meta, .muted { color: var(--muted); font-size: .9rem; }
.event-date {
  color: var(--gold); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.media-thumb {
  position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px;
  background: #1c1616;
}
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute; inset: auto auto .6rem .6rem;
  background: rgba(122,31,43,.9); color: #fff;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem;
}
.news-card time { color: var(--gold); font-size: .8rem; }

.about-split {
  max-width: none !important;
  background-size: cover; background-position: center;
  padding: 4.5rem 1.25rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.about-inner { max-width: 560px; }
.about-inner h2 { font-family: var(--font-serif); font-size: 2rem; margin-top: 0; }
.btn {
  display: inline-block; margin-top: .75rem;
  background: var(--burgundy); color: #fff !important; text-decoration: none;
  padding: .65rem 1.25rem; border-radius: var(--radius); border: 0;
  font: inherit; cursor: pointer; letter-spacing: .03em;
}
.btn:hover { background: var(--burgundy-soft); color: #fff !important; }

.tracklisting { background: #1d1d1d; max-width: none !important; }
.tracklisting .section-head, .tracklisting .track-list {
  max-width: var(--max); margin-left: auto; margin-right: auto;
}
.tracklisting .section-head { padding: 0 1.25rem; }
.track-list {
  list-style: none; margin: 0; padding: 0 1.25rem 1rem;
  columns: 2; gap: 2rem;
}
@media (max-width: 700px) { .track-list { columns: 1; } }
.track-list li { break-inside: avoid; border-bottom: 1px solid rgba(255,255,255,.06); }
.track-pick {
  width: 100%; text-align: left; background: transparent; border: 0;
  color: var(--text); font: inherit; padding: .65rem 0; cursor: pointer;
  display: flex; gap: .75rem; align-items: baseline;
}
.track-pick:hover, .track-pick.is-current { color: var(--gold); }
.track-pick .num { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 1.6rem; }

/* Inner pages */
.page-hero {
  background: linear-gradient(135deg, #1a1012, #0a0909 60%);
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 1.25rem 1rem;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 {
  margin: 0; font-size: clamp(2rem, 4vw, 2.75rem);
}
.content-narrow { max-width: 720px; margin: 0 auto; }
.content-wide { max-width: var(--max); margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 1.75rem; color: var(--gold); }
.prose p { margin: .85rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose td, .prose th { padding: .4rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }

.album-list { display: flex; flex-direction: column; gap: 2rem; }
.album-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem;
  background: var(--bg-elev); padding: 1.25rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
}
.album-card img { border-radius: 4px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.album-card h2 { margin-top: 0; font-family: var(--font-serif); }
@media (max-width: 640px) {
  .album-card { grid-template-columns: 1fr; }
}

.agenda-list { display: flex; flex-direction: column; gap: 1rem; }
.agenda-item {
  display: grid; grid-template-columns: 140px 1fr; gap: 1rem;
  padding: 1rem; background: var(--bg-elev); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
}
.agenda-when strong { display: block; color: var(--gold); }
@media (max-width: 560px) { .agenda-item { grid-template-columns: 1fr; } }
.legacy-agenda { margin-top: 2rem; color: var(--muted); }
.legacy-agenda summary { cursor: pointer; color: var(--gold); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form label {
  display: block; margin-bottom: 1rem; font-size: .9rem; color: var(--muted);
}
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: .35rem;
  background: #0e0c0c; border: 1px solid rgba(255,255,255,.12);
  color: var(--text); padding: .65rem .75rem; border-radius: var(--radius);
  font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 1px solid var(--gold); border-color: var(--gold);
}
.links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 640px) { .links-grid { grid-template-columns: 1fr; } }
.links-grid ul { padding-left: 1.1rem; }
.pers-list a { display: inline; }
.pers-list { line-height: 1.9; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #070606;
  padding: 2.5rem 1.25rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.footer-brand {
  font-family: var(--font-serif); font-size: 1.4rem; margin: 0 0 1rem;
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.25rem; margin-bottom: 1rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { color: var(--muted); font-size: .85rem; margin: 0; }
.lede { font-size: 1.1rem; color: var(--muted); }
.placeholder { width: 100%; height: 100%; background: #2a2020; min-height: 120px; }

/* Gallery photo grid */
.crumb {
  font-size: .9rem; color: var(--muted); margin: 0 0 .75rem;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--gold); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
@media (max-width: 900px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
.photo-item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: #1c1616;
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color .2s, transform .2s;
}
.photo-item:hover, .photo-item:focus-visible {
  border-color: var(--gold);
  transform: translateY(-2px);
  outline: none;
}
.photo-item img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 4rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox-figure {
  margin: 0; max-width: min(1100px, 100%); max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.lightbox-figure img {
  max-width: 100%; max-height: calc(90vh - 2.5rem);
  width: auto; height: auto; object-fit: contain;
  border-radius: 4px;
}
.lightbox-cap {
  color: var(--muted); font-size: .9rem; text-align: center;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: transparent; border: 0; color: var(--text);
  cursor: pointer; font-size: 2rem; line-height: 1;
  padding: .5rem .75rem;
  opacity: .85;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--gold); opacity: 1; }
.lightbox-close { top: .75rem; right: 1rem; font-size: 2.4rem; }
.lightbox-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: .5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 3rem 2.5rem; }
  .lightbox-prev, .lightbox-next { font-size: 1.5rem; }
}
body.lightbox-open { overflow: hidden; }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
  margin-right: .5rem;
  flex-shrink: 0;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lang-switch .lang-link {
  color: var(--muted);
  text-decoration: none;
  padding: .25rem .2rem;
  border-bottom: 1px solid transparent;
}
.lang-switch .lang-link:hover,
.lang-switch .lang-link.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.lang-sep { color: var(--line); user-select: none; }
.header-inner { flex-wrap: wrap; }
.header-inner .logo { order: 0; }
.header-inner .site-nav { order: 1; flex: 1 1 auto; justify-content: flex-end; }
.header-inner .lang-switch { order: 2; margin-left: 1rem; margin-right: 0; }
.header-inner .nav-toggle { order: 3; }
@media (min-width: 921px) {
  .header-inner .site-nav ul { justify-content: flex-end; }
}
@media (max-width: 920px) {
  .lang-switch {
    margin-right: .25rem;
    font-size: .85rem;
  }
  /* Also show language links inside mobile nav drawer */
  .site-nav .lang-switch-mobile {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: .5rem;
    font-size: 1rem;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
}


/* Homepage primary heading (SEO + a11y) */
.home-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space:nowrap;
  border: 0;
}


/* Visually hidden (SEO H1) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header booking CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: .5rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff !important;
  text-decoration: none !important;
  font-size: .82rem;
  letter-spacing: .03em;
  white-space: nowrap;
  border: 1px solid var(--burgundy-soft);
}
.header-cta:hover {
  background: var(--burgundy-soft);
  color: #fff !important;
}
.header-inner .header-cta { order: 2; }
.header-inner .lang-switch { order: 3; }
.header-inner .nav-toggle { order: 4; }
@media (max-width: 920px) {
  .header-cta {
    margin-left: auto;
    margin-right: .35rem;
    padding: .35rem .7rem;
    font-size: .78rem;
  }
  .header-inner .lang-switch { margin-left: 0; }
}

/* Under-hero CTA strip */
.cta-strip {
  background: linear-gradient(90deg, #1a1012, #121010);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem;
}
.cta-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
}
.cta-strip-inner p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
}
.cta-strip .btn { margin-top: 0; }

/* Agenda empty state */
.agenda-empty {
  background: var(--bg-elev);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.agenda-empty .lede { margin: 0 0 .5rem; color: var(--text); }
.agenda-empty .btn { margin-top: 1rem; }
.past-agenda {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.past-agenda summary {
  cursor: pointer;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.past-agenda[open] summary { margin-bottom: 1.25rem; }

/* Clearer audio listen CTA */
#btn-play {
  width: auto;
  min-width: 3rem;
  height: 3rem;
  padding: 0 .95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
#btn-play .listen-label {
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 420px) {
  #btn-play .listen-label { display: none; }
  #btn-play { width: 3rem; padding: 0; border-radius: 50%; }
}

/* Tighter bio/disco first section after hero */
.page-hero + .section { padding-top: 1.35rem; }

/* Soft retest: contain mobile width; shrink header cluster */
.site-header, .header-inner, .hero-carousel, .hero-player, .player-inner,
.section, .cta-strip, .cta-strip-inner, main, footer, .site-footer {
  max-width: 100%;
}
.hero-carousel, .hero-player, .player-progress, .carousel-viewport {
  max-width: 100%;
}
@media (max-width: 420px) {
  .logo img { height: 28px; }
  .header-inner { padding: .65rem .85rem; gap: .5rem; }
  .header-cta { padding: .3rem .55rem; font-size: .72rem; }
}

