/* Public EPK page. Themes set the palette; --accent comes from the kit. */
.epk { --bg: #0B0B0C; --fg: #F4F2EE; --mute: #A9A49A; --panel: #151517; --line: #26262A; --glow: transparent;
  background: var(--bg); color: var(--fg); font-family: var(--font); margin: 0; }
.epk[data-theme="paper"] { --bg: #F7F4EE; --fg: #15130F; --mute: #6E685C; --panel: #FFFFFF; --line: #DDD5C7; }
.epk[data-theme="neon"] { --bg: #070B1F; --fg: #EAF0FF; --mute: #93A0C7; --panel: #0E1533; --line: #1E2A57; --glow: color-mix(in srgb, var(--accent) 45%, transparent); }
.epk a { color: var(--fg); }
.epk .btn { border-color: var(--line); background: var(--panel); color: var(--fg); }
.epk .btn:hover { border-color: var(--fg); }
.epk .btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 0 var(--glow); }
.epk[data-theme="neon"] .btn-accent { box-shadow: 0 0 30px var(--glow); }
.epk .eyebrow { color: var(--accent); }

.preview-banner { background: var(--accent); color: #fff; text-align: center; padding: .6rem 1rem; font-size: .9rem; }
.preview-banner a { color: #fff; text-decoration: underline; }

.epk-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 600px at 15% 0%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 62%), var(--bg); }
.epk-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .9; transform: scale(1.04); animation: kenburns 14s ease-out forwards; }
.epk-hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 60%, var(--bg) 100%); }
.epk[data-theme="paper"] .epk-hero.has-photo::after { background: linear-gradient(180deg, rgba(247, 244, 238, 0) 0%, rgba(247, 244, 238, .65) 60%, var(--bg) 100%); }
@keyframes kenburns { to { transform: scale(1); } }
.hero-content { padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 6vw, 5rem) clamp(2rem, 5vw, 3.5rem); max-width: 1000px; }
.hero-content > * { animation: rise .8s var(--ease) both; }
.hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-content > *:nth-child(4) { animation-delay: .24s; }
.hero-content > *:nth-child(5) { animation-delay: .32s; }
.hero-content h1 { font-size: clamp(3rem, 9vw, 7rem); text-shadow: 0 4px 40px rgba(0, 0, 0, .35); margin-bottom: .4rem; }
.epk[data-theme="paper"] .hero-content h1 { text-shadow: none; }
.meta-line { font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--mute); margin: 0 0 .9rem; }
.tagline { font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--fg); opacity: .9; max-width: 640px; margin-bottom: 1rem; }
.epk .chips { margin-bottom: 1.3rem; }
.epk .chip { background: color-mix(in srgb, var(--fg) 8%, transparent); border-color: color-mix(in srgb, var(--fg) 18%, transparent); color: var(--fg); cursor: default; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 70%, transparent); }
.stat { flex: 1 1 140px; padding: 1.1rem 1.4rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.02em; }
.stat span { color: var(--mute); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }

.epk-body { max-width: 900px; margin: 0 auto; padding: 1rem clamp(1rem, 5vw, 2rem) 3rem; }
.epk-section { padding: 2.4rem 0; border-top: 1px solid var(--line); }
.epk-section:first-child { border-top: 0; }
.epk-section h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--accent); margin-bottom: 1.2rem; }
.epk .prose p { font-size: 1.1rem; line-height: 1.7; color: var(--fg); opacity: .92; max-width: 70ch; }
.embeds { display: grid; gap: 1rem; }
.embeds iframe { border-radius: 14px; border: 0; background: var(--panel); width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.gallery-item { position: relative; border-radius: 14px; overflow: hidden; background: var(--panel); }
.gallery-item img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; font-size: .8rem; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; }
.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.release { display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: transform .25s var(--ease), border-color .2s; }
.release:hover { transform: translateY(-3px); border-color: var(--accent); text-decoration: none; }
.release b { font-family: var(--font-display); font-size: 1.05rem; display: block; margin-bottom: .2rem; }
.release span { color: var(--mute); font-size: .85rem; }
.quotes { display: grid; gap: 1rem; }
.quotes blockquote { margin: 0; padding: 1.3rem 1.5rem; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 14px 14px 0; }
.quotes p { font-size: 1.15rem; font-style: italic; margin-bottom: .5rem; line-height: 1.5; }
.quotes cite { color: var(--mute); font-style: normal; font-size: .9rem; }
.timeline { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; }
.timeline .when { color: var(--mute); font-size: .88rem; padding-top: .15rem; font-family: var(--font-display); font-weight: 700; }
.timeline b { font-size: 1.05rem; }
.timeline p { color: var(--mute); margin: .15rem 0 0; }
.link-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.link-buttons .btn small { color: var(--mute); font-weight: 500; }
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.booking p { margin-bottom: .35rem; font-size: 1.05rem; }
.booking .contact a { color: var(--accent); font-weight: 600; }
.booking details { margin-top: .8rem; grid-column: 1 / -1; }
.booking summary { cursor: pointer; color: var(--mute); }
.rider { white-space: pre-wrap; font: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin-top: .75rem; }
.epk-footer { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; padding: 2.5rem 1rem 3.5rem; color: var(--mute); font-size: .85rem; border-top: 1px solid var(--line); }
.epk-footer a, .epk-footer button { color: var(--mute); }
.epk-footer .made-with b { color: var(--fg); }

/* ---- cover styles ---- */
.hero-side { display: none; }
.epk[data-cover="split"] .epk-hero { min-height: 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 0; background: var(--bg); }
.epk[data-cover="split"] .epk-hero .hero-bg { display: none; }
.epk[data-cover="split"] .epk-hero.has-photo::after { display: none; }
.epk[data-cover="split"] .hero-side { display: block; align-self: stretch; min-height: 520px; order: 2; }
.epk[data-cover="split"] .hero-side img { width: 100%; height: 100%; object-fit: cover; }
.epk[data-cover="split"] .hero-content { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem); }
.epk[data-cover="split"] .hero-content h1 { text-shadow: none; font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
.epk[data-cover="minimal"] .epk-hero { min-height: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.epk[data-cover="minimal"] .epk-hero .hero-bg { display: none; }
.epk[data-cover="minimal"] .epk-hero.has-photo::after { display: none; }
.epk[data-cover="minimal"] .hero-content { padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 6vw, 5rem) 2.5rem; }
.epk[data-cover="minimal"] .hero-content h1 { text-shadow: none; font-size: clamp(3rem, 10vw, 8rem); letter-spacing: -.04em; }

/* ---- gallery styles ---- */
.epk[data-gallery="masonry"] .gallery { display: block; columns: 3 220px; column-gap: .8rem; }
.epk[data-gallery="masonry"] .gallery-item { display: block; break-inside: avoid; margin-bottom: .8rem; }
.epk[data-gallery="masonry"] .gallery-item img { aspect-ratio: auto; }
.epk[data-gallery="strip"] .gallery { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.epk[data-gallery="strip"] .gallery-item { flex: 0 0 min(72vw, 420px); scroll-snap-align: start; }
.epk[data-gallery="strip"] .gallery-item img { aspect-ratio: 4 / 5; }

@media (max-width: 640px) {
  .timeline li { grid-template-columns: 1fr; gap: .15rem; }
  .epk[data-cover="split"] .epk-hero { grid-template-columns: 1fr; }
  .epk[data-cover="split"] .hero-side { min-height: 300px; order: -1; }
  .epk[data-cover="split"] .hero-content { padding: 1.5rem 1.1rem 1.8rem; }
  .booking { grid-template-columns: 1fr; }
  .epk-hero { min-height: min(84vh, 84dvh); }
  .hero-content { padding: 3rem 1.1rem 1.6rem; }
  .hero-content h1 { font-size: clamp(2.5rem, 13vw, 4.2rem); }
  .epk[data-cover="minimal"] .hero-content h1 { font-size: clamp(2.6rem, 15vw, 4.6rem); }
  .tagline { font-size: 1.05rem; }
  .meta-line { font-size: .68rem; letter-spacing: .1em; }
  .hero-actions .btn { flex: 1 1 calc(50% - .6rem); justify-content: center; }
  .hero-actions .btn-accent { flex-basis: 100%; }
  .stat { flex-basis: 50%; padding: .9rem 1rem; }
  .stat b { font-size: 1.35rem; }
  .epk-body { padding: .5rem 1rem 2.5rem; }
  .epk-section { padding: 1.8rem 0; }
  .epk .prose p { font-size: 1.02rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .epk[data-gallery="masonry"] .gallery { columns: 2; column-gap: .5rem; }
  .epk[data-gallery="masonry"] .gallery-item { margin-bottom: .5rem; }
  .epk[data-gallery="strip"] .gallery-item { flex-basis: 78vw; }
  .releases { grid-template-columns: 1fr; }
  .quotes p { font-size: 1.05rem; }
  .epk-footer { padding: 2rem 1rem 3rem; gap: .8rem 1.2rem; }
}

@media print {
  .epk, .epk[data-theme] { --bg: #fff; --fg: #111; --mute: #444; --panel: #fff; --line: #ddd; background: #fff; }
  .epk-hero { min-height: auto; background: none; }
  .epk-hero .hero-bg { position: static; opacity: 1; transform: none; max-height: 320px; width: auto; margin: 1rem 0 0 1rem; animation: none; }
  .epk-hero.has-photo::after { display: none; }
  .hero-content h1 { text-shadow: none; }
  .hero-content > * { animation: none; }
  .preview-banner, .print-btn, .made-with, .embeds, .hero-actions .btn:not(.btn-accent) { display: none !important; }
  .epk .btn-accent { border: 1px solid #333; color: #111; background: none; box-shadow: none; }
  .epk-section { page-break-inside: avoid; }
  .epk-section h2 { color: #333; }
  .gallery-item img { aspect-ratio: auto; max-height: 260px; }
  .release, .quotes blockquote, .rider { border: 1px solid #ccc; }
  .reveal { opacity: 1; transform: none; }
}
