/*
Theme Name: PERGA Cinematic
Theme URI: https://example.com/perga-cinematic
Author: PERGA
Description: A dark, cinematic custom WordPress theme for the PERGA band. Includes editable hero, music, and contact sections via the WordPress Customizer.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perga-cinematic
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, full-width-template, dark
*/
:root {
  --bg: #08090c;
  --panel: #111319;
  --panel-2: #191c23;
  --text: #f3f3f4;
  --muted: #a5a8b1;
  --line: rgba(255,255,255,.15);
  --accent: #d8d8dc;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, "Helvetica Neue", Arial, sans-serif; line-height: 1.65; }
body, button, input, textarea { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-size: 1rem; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: #fff; color: #000; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.wrap { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(8,9,12,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .85rem; font-weight: 950; letter-spacing: .19em; font-size: 1.4rem; }
.custom-logo { max-height: 48px; width: auto; }
.brand-text { display: inline-block; }
.main-nav ul { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #d5d6da; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 750; }
.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 3px; padding: .65rem .8rem; }
.hero { min-height: min(820px, calc(100vh - 78px)); position: relative; display: flex; align-items: end; overflow: hidden; background: #111318; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--hero-image, linear-gradient(120deg,#222 0%,#0a0b0e 60%)); background-size: cover; background-position: center; transform: scale(1.02); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.3) 65%,rgba(0,0,0,.62)), linear-gradient(0deg,#08090c 0%,transparent 55%); }
.hero-content { padding-block: 7rem 5rem; }
.eyebrow { text-transform: uppercase; font-size: .72rem; letter-spacing: .28em; font-weight: 800; color: #c4c5ca; }
.hero h1 { font-size: clamp(3.5rem, 12vw, 9.5rem); line-height: .82; letter-spacing: -.075em; margin: 1.25rem 0; font-weight: 950; }
.hero h1 .hero-subtitle { display: block; font-size: clamp(.9rem, 2.2vw, 1.4rem); line-height: 1.4; letter-spacing: .28em; margin-top: 1.5rem; font-weight: 700; }
.hero-copy { max-width: 560px; color: #d0d1d5; font-size: clamp(1rem, 2vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .85rem 1.2rem; border: 1px solid rgba(255,255,255,.68); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 850; transition: background .2s ease, color .2s ease; }
.button-primary { background: #f2f2f3; color: #090a0d; }
.button-primary:hover { background: #c7c8cc; color: #000; text-decoration: none; }
.button-ghost:hover { background: #fff; color: #08090c; text-decoration: none; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.4rem; }
.kicker { color: #9da1ab; font-size: .7rem; letter-spacing: .25em; font-weight: 800; text-transform: uppercase; }
.section h2 { font-size: clamp(2.3rem, 6vw, 5rem); line-height: .95; letter-spacing: -.06em; margin: .65rem 0 0; text-transform: uppercase; }
.section-intro { max-width: 480px; color: var(--muted); }
.music-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.release-card { background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.release-art { aspect-ratio: 1 / 1; background: linear-gradient(135deg,#242832,#07080b); display: grid; place-items: center; overflow: hidden; }
.release-art img { width: 100%; height: 100%; object-fit: cover; }
.release-placeholder { font-size: clamp(2rem, 6vw, 5rem); font-weight: 950; letter-spacing: -.1em; color: rgba(255,255,255,.75); }
.release-info { padding: 1.25rem; }
.release-info h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .3rem; }
.release-meta { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.release-links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin-top: 1rem; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.release-links a { border-bottom: 1px solid #70737b; padding-bottom: .2rem; }
.music-note { color: var(--muted); margin-top: 1.5rem; font-size: .9rem; }
.contact-section { background: #101217; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-copy { color: var(--muted); max-width: 500px; }
.contact-card { border: 1px solid var(--line); padding: clamp(1.5rem,4vw,3rem); background: rgba(255,255,255,.02); }
.contact-card h3 { margin-top: 0; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card p { color: var(--muted); }
.contact-email { display: inline-block; font-size: clamp(1rem,2.5vw,1.45rem); font-weight: 800; border-bottom: 1px solid #777; overflow-wrap: anywhere; }
.social-links { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; margin-top: 1.5rem; }
.social-links a { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #d5d6da; border-bottom: 1px solid #5b5e66; padding-bottom: .2rem; }
.site-footer { padding-block: 2rem; color: #888c96; font-size: .75rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 1rem; }
.page-content { padding-block: 4rem; min-height: 50vh; }
.page-content h1 { font-size: clamp(2.5rem,7vw,5rem); line-height: 1; }
.entry-content { max-width: 820px; color: #d1d2d7; }
.entry-content a { text-decoration: underline; }
@media (max-width: 800px) {
  .header-inner { min-height: 68px; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #0c0d11; border-bottom: 1px solid var(--line); padding: 1.2rem 1.25rem; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 1.15rem; }
  .main-nav a { display: block; padding: .25rem 0; }
  .hero { min-height: 680px; }
  .hero-content { padding-block: 6rem 4rem; }
  .music-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 520px) {
  .wrap { width: min(calc(100% - 1.5rem), var(--max)); }
  .hero { min-height: 620px; }
  .hero h1 { font-size: clamp(3.25rem, 19vw, 5.5rem); }
  .music-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-intro { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
