/* Talia: taliamusic.uk
   Keeps the original gold, red and Cormorant/Raleway look without Bootstrap or jQuery. */

:root {
  --red: #c8102e;
  --red-dark: #9e0c24;
  --green: #005e00;
  --ink: #222;
  --ink-soft: #444;
  --gold-light: #f6e3a8;
  --gold: #e2bd62;
  --cream: rgba(255, 250, 235, 0.72);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 124px; }

body {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--gold) url("../img/background-gold.webp") center top / cover fixed;
}

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

a { color: var(--green); text-underline-offset: 3px; transition: color .3s; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 400; color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 8px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, #ecd28a, #e6c36e 60%, #ddb45a);
  box-shadow: 0 6px 9px rgba(0, 0, 0, .08);
}
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .6); }
.topbar-inner { display: flex; justify-content: flex-end; gap: 4px; padding: 6px 0; }
.topbar a { display: grid; place-items: center; width: 32px; height: 32px; color: #555; }
.topbar a:hover { color: var(--red); }
.topbar svg { width: 16px; height: 16px; fill: currentColor; }

.navbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
/* Same as the original site's logo text: pure red, 36px */
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 36px; line-height: 1;
  color: #ff0000; text-decoration: none;
}
.wordmark:hover { color: #ff0000; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav a {
  display: block; padding: 10px 10px; color: #555; font-weight: 700; font-size: .9rem;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="true"] { color: var(--red); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block; width: 24px; height: 3px; background: #555; border-radius: 2px;
  position: relative; transition: transform .3s, background .3s;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 760px) {
  :root { --header-h: 56px; }
  html { scroll-padding-top: 72px; }
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #f3dc98; box-shadow: 0 10px 18px rgba(0, 0, 0, .12);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .site-nav a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(0, 0, 0, .06); }
}

/* Hero */
.hero {
  position: relative; min-height: min(60vh, 620px); display: grid; place-items: center;
  overflow: hidden; background: #f3e4c4;
}
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: hero-fade 24s infinite;
}
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 6s; }
.hero-slides img:nth-child(3) { animation-delay: 12s; }
.hero-slides img:nth-child(4) { animation-delay: 18s; }
@keyframes hero-fade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  25% { opacity: 1; }
  29% { opacity: 0; }
  100% { opacity: 0; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .62);
}
.hero-content {
  position: relative; z-index: 1; text-align: center; padding: 48px 16px;
}
.hero h1 { margin: 0 auto; width: min(640px, 90vw); }
.tagline {
  font-family: var(--serif); font-weight: 700; color: #000; text-transform: uppercase;
  font-size: clamp(1.15rem, 3.2vw, 1.9rem); letter-spacing: .03em; margin: 12px 0 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 10px 22px; border-radius: var(--radius); border: 2px solid var(--red);
  font: 700 .85rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .55); color: var(--red); }
.btn-ghost:hover { background: #fff; color: var(--red-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 24px; }

/* Sections */
.section { padding: 64px 0; }
.section + .section { padding-top: 24px; }
.section-title {
  font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.2rem); text-transform: uppercase;
  letter-spacing: .02em; position: relative; padding-bottom: 16px; margin-bottom: 28px;
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--red);
}

.prose p { margin: 0 0 1.1em; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.15rem; font-weight: 700; margin-top: 1.4em; }
.lead { font-size: 1.2rem; color: var(--ink); }
.name { color: var(--red); font-weight: 700; font-size: 1.15em; }
.eyebrow {
  margin: 0 0 .3em !important; color: var(--red); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
}

/* Expandable text */
.more {
  margin-top: 8px; border-top: 1px solid rgba(0, 0, 0, .12); padding-top: 14px;
}
.more summary {
  cursor: pointer; font-weight: 700; color: var(--green); list-style: none;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before {
  content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 1rem; line-height: 1;
}
.more[open] summary::before { content: "–"; }
.more[open] summary { margin-bottom: 12px; }
.more summary:hover { color: var(--red); }

/* Panels sit on a light cream wash so text stays readable over the gold */
.about,
.album,
.launch,
.workshops,
.press,
.video-block,
.contact-form,
.paypal {
  background: var(--cream); border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(120, 80, 0, .08);
}

/* About */
.about {
  display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 36px; padding: 32px;
}
.about-img { border-radius: var(--radius); width: 100%; }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .about-img { max-width: 260px; margin-inline: auto; }
}

/* Albums */
.album {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 36px;
  padding: 32px; margin-bottom: 28px;
}
.album-media img { border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.album-body .album-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); color: var(--ink);
  margin-bottom: .2em;
}
.price { font-weight: 700; color: var(--ink); }

.launch {
  display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 36px; padding: 32px; margin-bottom: 28px;
}
.launch img { border-radius: var(--radius); }

.video-block { padding: 32px; }
.video-block h3 { font-size: 1.5rem; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.review {
  background: var(--cream); border-radius: var(--radius); box-shadow: 0 2px 14px rgba(120, 80, 0, .08);
  border-left: 5px solid var(--red); padding: 32px 36px; margin-bottom: 28px;
}
.review-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.review blockquote { margin: 0; position: relative; }
.review blockquote .lead { font-style: italic; }
.review blockquote .lead::before {
  content: "“"; font-family: var(--serif); font-size: 3.5rem; line-height: 0; color: var(--red);
  vertical-align: -0.45em; margin-right: 4px; font-style: normal;
}
.review .cite { margin-top: 14px; font-weight: 700; color: var(--ink); }
.review .cite::before { content: "– "; }
@media (max-width: 760px) { .review { padding: 20px; } }
.video-wide { aspect-ratio: 1280 / 591; box-shadow: 0 10px 30px rgba(90, 50, 0, .25); }
.highlights { padding-top: 40px; }
.video-caption { margin: 12px 0 0; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }

@media (max-width: 760px) {
  .album, .launch { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .album-media { max-width: 360px; }
  .launch img { max-width: 300px; }
  .video-block { padding: 20px; }
}

/* Workshops */
.workshops {
  display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 36px; padding: 32px; margin-bottom: 28px;
}
.workshops-flyer img { border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.press { margin: 0; display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 32px; padding: 32px; }
.press img { border-radius: var(--radius); }
.press h3 { font-size: 1.35rem; }
.press h3 a { color: var(--ink); }
.press h3 a:hover { color: var(--red); }
.press blockquote { margin: 0 0 12px; font-style: italic; }
.press blockquote p { margin: 0; }
.cite { margin: 0; font-size: .95rem; }

@media (max-width: 760px) {
  .workshops, .press { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .workshops-flyer { max-width: 220px; }
}

/* Contact */
.contact-form { padding: 28px; margin-top: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } .contact-form { padding: 20px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; color: #333; margin-bottom: 6px; }
.field input,
.field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 11px 14px; min-height: 46px;
  border: 1px solid #b9a26a; border-radius: var(--radius); background: #fff;
}
.field input:focus,
.field textarea:focus { border-color: var(--red); outline: 2px solid rgba(200, 16, 46, .25); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 6px 0 0; color: var(--red-dark); font-size: .9rem; font-weight: 700; min-height: 0; }
.field-error:empty { display: none; }
.form-note { font-size: .9rem; }
.form-messages:empty { display: none; }
.alert { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 700; }
.alert-success { background: #e3f3e3; color: #0b5a0b; border: 1px solid #9bcf9b; }
.alert-danger { background: #fde8eb; color: var(--red-dark); border: 1px solid #f0a6b1; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }

.paypal { margin-top: 20px; padding: 20px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.paypal p { margin: 0; }

/* Footer */
.site-footer {
  background: rgba(255, 250, 235, .85); text-align: center; padding: 28px 0; font-size: .9rem; margin-top: 40px;
}
.site-footer p { margin: 4px 0; }
.credits { color: #555; }

/* Back to top */
.back-to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: var(--radius); background: var(--red); color: #fff;
  opacity: 0; pointer-events: none; transition: opacity .4s, background .3s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--red-dark); color: #fff; }
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* Gentle fade-up as sections enter (replaces WOW.js) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides img { animation: none; }
  .hero-slides img:first-child { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .section { padding: 40px 0; }
  .hero { min-height: 0; }
  .hero-content { padding: 40px 16px; }
}
