/*
Theme Name: DJ Matt Daddy
Theme URI: https://djmattdaddy.com
Author: DJ Matt Daddy
Description: A modern country WordPress theme with real weathered barn-wood photography, for DJ Matt Daddy, the Karaoke DJ who makes songs, videos and images with AI. Includes a home page plus Songs, Videos and Images page templates with a built-in audio player, video pop-up and photo lightbox.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dj-matt-daddy
Tags: music, entertainment, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  --charcoal: #15110e;
  --charcoal-2: #1f1915;
  --bone: #f4efe6;
  --bone-2: #e9e1d2;
  --ink: #1d1814;
  --barn: #9a3324;
  --barn-hi: #b8402c;
  --copper: #c9783a;
  --copper-hi: #e0954f;
  --muted: #b3a797;
  --muted-ink: #6b5f52;
  --line: rgba(255, 255, 255, .12);
  --line-ink: rgba(29, 24, 20, .14);

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-accent: "Fraunces", "Georgia", serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);

  /* real barn-wood photos */
  --img-gray: url("assets/images/barn-gray.webp");
  --img-dark: url("assets/images/barn-dark.webp");
  --img-white: url("assets/images/barn-white.webp");
  --img-red: url("assets/images/barn-red.webp");
  --img-door: url("assets/images/barn-door.webp");
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-hi); text-underline-offset: 3px; }
a:hover { color: #f2b27a; }
:focus-visible { outline: 3px solid var(--copper-hi); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; background: var(--copper); color: var(--ink);
  padding: .6rem 1rem; z-index: 2000; left: 1rem; top: 1rem;
}
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  line-height: .98; margin: 0 0 .5em; letter-spacing: .015em;
}
h1 { font-size: clamp(3.4rem, 10vw, 7.6rem); font-weight: 800; line-height: .9; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h1 em, h2 em, h3 em {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: -.01em; color: var(--copper-hi);
}
p { margin: 0 0 1.1em; }

.label {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .26em; color: var(--copper-hi);
}
.label::before { content: ""; width: 34px; height: 2px; background: currentColor; }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
  --bg: var(--barn); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .16em;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg); border-radius: 4px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--barn-hi); border-color: var(--barn-hi); color: #fff; transform: translateY(-2px); }
.btn--ghost { --bg: transparent; --fg: var(--bone); border-color: rgba(244, 239, 230, .7); }
.btn--ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn--red { --bg: var(--barn); }
.section--light .btn--ghost { --fg: var(--ink); border-color: var(--ink); }
.section--light .btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(21, 17, 14, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .85rem 0; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--bone); }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: .06em; color: var(--bone); }
.brand__star { color: var(--copper); margin-right: .45rem; font-size: .7em; vertical-align: .12em; }
.brand__sub { font-family: var(--font-display); font-weight: 500; font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.custom-logo { max-height: 56px; width: auto; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.primary-nav a {
  display: block; padding: .5rem 1rem; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--bone); text-decoration: none;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .15rem; height: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after { transform: scaleX(1); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--copper-hi); }

.nav-toggle { display: none; background: none; border: 1px solid var(--bone); color: var(--bone); font-family: var(--font-display); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: .45rem .9rem; cursor: pointer; border-radius: 4px; }

/* thin divider kept for markup compatibility */
.rope { height: 0; }

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7.5rem);
  background:
    linear-gradient(90deg, rgba(15, 12, 10, .94) 5%, rgba(15, 12, 10, .72) 55%, rgba(15, 12, 10, .5)),
    var(--img-gray) center / cover;
}
.hero__bg { display: none; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero__kicker { margin-bottom: 1.4rem; }
.hero__title { color: var(--bone); margin-bottom: .25em; }
.hero__tagline { font-family: var(--font-accent); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.45; max-width: 30ch; color: #e9dfcf; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.eq { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 2.6rem; }
.eq i { width: 5px; background: linear-gradient(var(--copper-hi), var(--barn)); border-radius: 2px 2px 0 0; animation: eq 1s ease-in-out infinite alternate; height: 20%; }
.eq i:nth-child(2n) { animation-duration: .7s; }
.eq i:nth-child(3n) { animation-duration: 1.25s; animation-delay: -.3s; }
.eq i:nth-child(4n) { animation-duration: .9s; animation-delay: -.5s; }
.eq i:nth-child(5n) { animation-duration: 1.1s; animation-delay: -.2s; }
@keyframes eq { from { height: 12%; } to { height: 100%; } }

.poster { position: relative; max-width: 470px; justify-self: center; margin: 0; }
.poster::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1; border-radius: 22px;
  background: linear-gradient(rgba(60, 12, 8, .35), rgba(60, 12, 8, .35)), var(--img-red) center / cover;
}
.poster__frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.poster__frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.poster__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.5rem 1.3rem;
  background: linear-gradient(transparent, rgba(10, 8, 6, .9));
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bone);
}
.poster__caption small { display: block; font-weight: 500; font-size: .85rem; letter-spacing: .3em; color: var(--copper-hi); margin-top: .2rem; }

/* ==========================================================================
   6. SECTIONS (real barn wood backgrounds)
   ========================================================================== */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section--dark {
  background: linear-gradient(rgba(16, 12, 10, .74), rgba(16, 12, 10, .84)), var(--img-dark) center / cover;
}
.section--light {
  background: linear-gradient(rgba(246, 241, 231, .76), rgba(244, 238, 227, .86)), var(--img-white) center / cover;
  color: var(--ink);
}
.section--light h2, .section--light h3 { color: var(--ink); }
.section--light h2 em, .section--light h3 em { color: var(--barn); }
.section--light .label { color: var(--barn); }
.section--light .entry-content a, .section--light .admin-hint a, .section--light .page-intro-text a { color: var(--barn); }

.section-head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .label::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.section-head .label { margin-bottom: 1rem; }
.divider { display: none; }

/* ==========================================================================
   7. FEATURE CARDS
   ========================================================================== */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.ticket {
  position: relative; display: flex; flex-direction: column;
  padding: 2.2rem 2rem 2rem; color: var(--ink); text-decoration: none;
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-ink); border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(40, 28, 18, .12);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.ticket:hover { transform: translateY(-8px); border-color: var(--barn); box-shadow: 0 24px 50px rgba(40, 28, 18, .22); color: var(--ink); }
.ticket__no { font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: 1; color: rgba(154, 51, 36, .22); letter-spacing: .02em; }
.ticket__icon { width: 46px; height: 46px; margin: .8rem 0 1rem; color: var(--barn); }
.ticket h3 { color: var(--ink); margin-bottom: .35em; }
.ticket p { font-size: 1rem; flex: 1; color: var(--muted-ink); }
.ticket__go { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: 1rem; color: var(--barn); }

/* ==========================================================================
   8. KARAOKE / VINYL
   ========================================================================== */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.vinyl { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.vinyl__disc {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 34%, rgba(255,255,255,.05) 34.5% 35%, transparent 35.5% 100%),
    repeating-radial-gradient(circle, #0d0d0d 0 2px, #1b1b1b 2px 4px), #0d0d0d;
  box-shadow: var(--shadow), inset 0 0 0 6px #000;
  animation: spin 14s linear infinite;
}
.vinyl__disc::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 10%, rgba(255,255,255,.14) 15%, transparent 22% 60%, rgba(255,255,255,.1) 66%, transparent 72%);
}
.vinyl__label { position: absolute; inset: 31%; border-radius: 50%; overflow: hidden; border: 4px solid var(--copper); box-shadow: 0 0 0 3px #000; }
.vinyl__label img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.7); }
.vinyl__label::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--bone); border: 2px solid #000; }
.vinyl__arm { position: absolute; right: -4%; top: -6%; width: 46%; height: 8px; background: linear-gradient(90deg, #888, #ddd); border-radius: 6px; transform-origin: 96% 50%; transform: rotate(48deg); box-shadow: 0 6px 10px rgba(0,0,0,.4); }
.vinyl__arm::after { content: ""; position: absolute; left: -10px; top: -6px; width: 26px; height: 18px; background: #333; border-radius: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 2rem; padding: 0; list-style: none; }
.chips li { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; padding: .35rem 1rem; border: 1px solid rgba(244, 239, 230, .45); border-radius: 30px; }

/* ==========================================================================
   9. SONGS (track list + mini player)
   ========================================================================== */
.tracklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.track {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 1.2rem; align-items: center;
  background: rgba(22, 17, 14, .9); color: var(--bone);
  border: 1px solid var(--line); border-radius: 14px;
  padding: .95rem 1.2rem; box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  transition: border-color .2s, transform .2s;
}
.track:hover { transform: translateX(4px); border-color: rgba(201, 120, 58, .6); }
.track.is-playing { border-color: var(--copper); background: rgba(40, 22, 14, .95); }
.track__cover { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: #000; position: relative; box-shadow: 0 0 0 3px rgba(201, 120, 58, .55); }
.track__cover img { width: 100%; height: 100%; object-fit: cover; }
.track.is-playing .track__cover { animation: spin 5s linear infinite; }
.track__cover::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--charcoal); border: 2px solid var(--copper); }
.track__title { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; text-transform: uppercase; letter-spacing: .03em; color: var(--bone); margin: 0; line-height: 1.1; }
.track__title a { color: inherit; text-decoration: none; }
.track__title a:hover { color: var(--copper-hi); }
.track__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-family: var(--font-display); font-weight: 500; font-size: .88rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.track__note { margin: .4rem 0 0; font-family: var(--font-accent); font-style: italic; font-size: .98rem; color: #d8cdbb; }
.tag { display: inline-block; padding: 0 .6rem; border: 1px solid var(--muted); color: var(--muted); border-radius: 30px; }
.tag--ai { border-color: var(--copper); color: var(--copper-hi); }
.track__bar { display: none; margin-top: .7rem; height: 5px; background: rgba(255,255,255,.14); border-radius: 4px; overflow: hidden; cursor: pointer; }
.track.is-active .track__bar { display: block; }
.track__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--copper), var(--barn-hi)); }
.track details { margin-top: .6rem; font-size: .95rem; color: #d8cdbb; }
.track summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; color: var(--copper-hi); }
.track details div { margin-top: .6rem; white-space: pre-line; max-height: 260px; overflow: auto; padding-right: .5rem; }
.track__actions { display: flex; align-items: center; gap: .6rem; }

.play-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--barn); color: #fff; display: grid; place-items: center;
  transition: transform .2s, background .2s;
}
.play-btn:hover { transform: scale(1.1); background: var(--barn-hi); color: #fff; }
.play-btn svg { width: 22px; height: 22px; }
.play-btn .i-pause { display: none; }
.is-playing .play-btn .i-play { display: none; }
.is-playing .play-btn .i-pause { display: block; }
.play-btn--ext { background: transparent; border: 2px solid var(--muted); color: var(--bone); }
.play-btn--ext:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.miniplayer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: rgba(15, 12, 10, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 2px solid var(--copper);
  transform: translateY(110%); transition: transform .35s ease;
  box-shadow: 0 -10px 30px rgba(0,0,0,.5);
}
.miniplayer.is-open { transform: translateY(0); }
.miniplayer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: .7rem 0; }
.miniplayer__ctrl { display: flex; gap: .5rem; align-items: center; }
.miniplayer__ctrl button { background: none; border: 0; color: var(--bone); cursor: pointer; padding: .3rem; }
.miniplayer__ctrl button:hover { color: var(--copper-hi); }
.miniplayer__ctrl svg { width: 22px; height: 22px; display: block; }
.miniplayer .play-btn { width: 46px; height: 46px; }
.miniplayer__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--bone); font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.miniplayer__bar { height: 6px; background: rgba(255,255,255,.16); border-radius: 4px; margin-top: .35rem; cursor: pointer; overflow: hidden; }
.miniplayer__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--copper), var(--barn-hi)); }
.miniplayer__time { font-family: var(--font-display); font-weight: 500; letter-spacing: .1em; font-size: .95rem; color: var(--muted); }
body.has-player { padding-bottom: 84px; }

/* ==========================================================================
   10. VIDEOS
   ========================================================================== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.6rem; }
.vcard { background: rgba(22, 17, 14, .92); color: var(--bone); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 36px rgba(0,0,0,.3); transition: transform .25s, border-color .25s; }
.vcard:hover { transform: translateY(-6px); border-color: rgba(201, 120, 58, .6); }
.vcard__thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.vcard__thumb video, .vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; opacity: .85; }
.vcard:hover .vcard__thumb video, .vcard:hover .vcard__thumb img { transform: scale(1.05); opacity: 1; }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px; border-radius: 50%; background: var(--barn); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,255,255,.18); transition: transform .2s, background .2s; }
.vcard:hover .vcard__play { transform: scale(1.12); background: var(--barn-hi); }
.vcard__play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.vcard__thumb--empty { background: var(--charcoal-2); }
.vcard__body { padding: 1.1rem 1.3rem 1.4rem; }
.vcard__body h3 { font-size: 1.55rem; color: var(--bone); margin-bottom: .2em; }
.vcard__body p { font-size: .95rem; color: var(--muted); margin: 0; }
.vcard__body .label { font-size: .8rem; margin-bottom: .4rem; }
.vcard__body .label::before { display: none; }

.modal { position: fixed; inset: 0; z-index: 1500; background: rgba(8,6,5,.94); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.modal.is-open { display: flex; }
.modal__box { width: min(100%, 1040px); position: relative; }
.modal__stage { aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 0 80px rgba(0,0,0,.8); }
.modal__stage iframe, .modal__stage video { width: 100%; height: 100%; border: 0; }
.modal__close, .lightbox__close { position: fixed; top: 1rem; right: 1rem; z-index: 5; background: none; border: 1px solid var(--bone); color: var(--bone); font-family: var(--font-display); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: .45rem 1rem; cursor: pointer; border-radius: 4px; }
.modal__close:hover, .lightbox__close:hover { background: var(--bone); color: var(--ink); }
.modal__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.5rem; margin-top: .9rem; color: var(--bone); }

/* ==========================================================================
   11. IMAGES / GALLERY
   ========================================================================== */
.gallery { columns: 3 280px; column-gap: 1.3rem; }
.shot { break-inside: avoid; margin: 0 0 1.3rem; }
.shot a { display: block; position: relative; overflow: hidden; border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.shot img { width: 100%; transition: transform .6s ease; }
.shot a:hover img { transform: scale(1.06); }
.shot figcaption { font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; padding: .7rem .2rem 0; display: flex; justify-content: space-between; gap: .6rem; }
.shot figcaption em { font-style: normal; color: var(--copper-hi); white-space: nowrap; }
.section--light .shot figcaption em { color: var(--barn); }

.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(8,6,5,.95); display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem 2rem; }
.lightbox.is-open { display: flex; }
.lightbox__fig { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox__fig img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: 8px; box-shadow: 0 0 80px rgba(0,0,0,.8); }
.lightbox__fig figcaption { font-family: var(--font-display); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-top: .9rem; color: var(--bone-2); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.5); border: 1px solid var(--bone); color: var(--bone); width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.lightbox__nav:hover { background: var(--copper); color: var(--ink); border-color: var(--copper); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* ==========================================================================
   12. PAGE HEADER, CONTENT, PAGINATION
   ========================================================================== */
.page-hero {
  position: relative; text-align: center;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.2rem, 7vw, 5.5rem);
  background: linear-gradient(rgba(14, 11, 9, .58), rgba(14, 11, 9, .8)), var(--img-door) center / cover;
}
.page-hero h1 { font-size: clamp(3.2rem, 9vw, 6.4rem); color: var(--bone); text-shadow: 0 4px 30px rgba(0,0,0,.5); margin-bottom: .2em; }
.page-hero p, .page-intro-text { max-width: 56ch; margin-inline: auto; color: #e9dfcf; font-size: 1.15rem; }
.page-intro-text p:last-child { margin-bottom: 0; }
.page-hero .label { margin-bottom: 1rem; color: #f0b27a; }
.page-hero .label::after { content: ""; width: 34px; height: 2px; background: currentColor; }

.entry { max-width: 780px; margin-inline: auto; }
.entry-content > * { max-width: 100%; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { border-left: 4px solid var(--copper); margin: 1.5rem 0; padding: .2rem 1.2rem; font-family: var(--font-accent); font-style: italic; font-size: 1.2rem; }
.entry-content .wp-block-image figcaption { font-size: .85rem; color: var(--muted); }
.entry__media { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pagination .page-numbers { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; padding: .5rem 1rem; border: 1px solid currentColor; color: inherit; text-decoration: none; border-radius: 4px; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--barn); border-color: var(--barn); color: #fff; }
.section--light .pagination .page-numbers { color: var(--ink); }
.section--light .pagination .page-numbers.current, .section--light .pagination .page-numbers:hover { color: #fff; }

.empty-state { text-align: center; padding: 3rem 1.5rem; border: 1px dashed rgba(244,239,230,.35); border-radius: var(--radius); background: rgba(0,0,0,.3); max-width: 680px; margin-inline: auto; color: var(--bone); }
.empty-state h3 { color: var(--copper-hi); }
.empty-state svg { width: 60px; height: 60px; color: var(--copper-hi); margin: 0 auto 1rem; }
.admin-hint { font-family: var(--font-display); font-weight: 500; letter-spacing: .08em; font-size: 1rem; color: var(--copper-hi); border: 1px dashed currentColor; padding: .5rem .9rem; margin-top: 1rem; display: inline-block; border-radius: 4px; }

/* ==========================================================================
   13. CTA + FOOTER
   ========================================================================== */
.cta { text-align: center; color: #fff; background: linear-gradient(rgba(70, 14, 8, .6), rgba(50, 10, 6, .78)), var(--img-red) center / cover; }
.cta h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.cta h2 em { color: #ffd2a8; }
.cta p { max-width: 52ch; margin-inline: auto; font-size: 1.15rem; color: #f6e7d6; }
.cta .btn { --bg: var(--bone); --fg: var(--ink); }
.cta .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

.ticker { background: var(--barn); color: var(--bone); overflow: hidden; white-space: nowrap; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 1.5rem; padding: .5rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.ticker__track { display: inline-block; animation: ticker 40s linear infinite; }
.ticker span { padding: 0 1.4rem; }
.ticker span::after { content: "/"; margin-left: 2.8rem; color: var(--copper-hi); font-weight: 500; }
@keyframes ticker { to { transform: translateX(-50%); } }

.site-footer {
  background: linear-gradient(rgba(12, 9, 7, .9), rgba(12, 9, 7, .95)), var(--img-gray) center / cover;
  padding: 4rem 0 2rem; color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.site-footer h4 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .26em; font-size: .95rem; color: var(--copper-hi); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--bone); text-decoration: none; }
.site-footer a:hover { color: var(--copper-hi); }
.footer-brand .brand__name { font-size: 2rem; }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(244,239,230,.5); border-radius: 50%; transition: all .2s; }
.socials a:hover { background: var(--copper); border-color: var(--copper); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.copyright { margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: .88rem; text-align: center; }

/* ==========================================================================
   14. MOTION + RESPONSIVE
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero__copy > * { animation: rise .8s ease both; }
.hero__copy > *:nth-child(2) { animation-delay: .12s; }
.hero__copy > *:nth-child(3) { animation-delay: .24s; }
.hero__copy > *:nth-child(4) { animation-delay: .36s; }
.hero__copy > *:nth-child(5) { animation-delay: .48s; }
.poster { animation: rise .9s ease .25s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .poster { max-width: 380px; order: -1; margin-right: 24px; }
  .tickets { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: rgba(21,17,14,.98); border-bottom: 1px solid var(--line); display: none; padding: .6rem 1.25rem 1rem; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; }
  .primary-nav a { padding: .9rem .4rem; border-bottom: 1px solid var(--line); }
  .header-inner { position: relative; }
}
@media (max-width: 600px) {
  .track { grid-template-columns: 56px 1fr; }
  .track__cover { width: 56px; height: 56px; }
  .track__title { font-size: 1.4rem; }
  .track__actions { grid-column: 1 / -1; }
  .miniplayer__inner { grid-template-columns: 1fr auto; }
  .miniplayer__time { display: none; }
  .vinyl__arm { display: none; }
}
.vinyl__arm { display: none; }
.section--light .track__title a { color: var(--bone); }
.section--light .track__title a:hover { color: var(--copper-hi); }
.section--light .track summary { color: var(--copper-hi); }
.section--light .play-btn--ext { color: var(--bone); }
@media (max-width: 600px) { .site-header .brand__sub { display: none; } }
