/* ============================================
   placeholder for a conversation — EP microsite
   Typography: "lunatix" (the same Typekit font
   used site-wide on keeganjoyce.com)
   ============================================ */

:root {
  --pfac-bg: #17110a;
  --pfac-bg-alt: #1f170e;
  --pfac-card: #241a10;
  --pfac-accent: #f67c31;
  --pfac-accent-bright: #ff9c5c;
  --pfac-cream: #ece3d2;
  --pfac-muted: #b8ab93;
  --pfac-line: rgba(236, 227, 210, 0.14);
  --pfac-maxw: 1180px;
  --pfac-body-font: 'Gilroy', sans-serif;
}

.pfac {
  background: var(--pfac-bg);
  color: var(--pfac-cream);
  font-family: lunatix, sans-serif;
  overflow-x: hidden;
}

.pfac * { box-sizing: border-box; }

.pfac a { text-decoration: none; color: inherit; }

.pfac__wrap {
  max-width: var(--pfac-maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- On-load reveal animation ---------- */
@keyframes pfacFadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pfac__reveal {
  opacity: 0;
  animation: pfacFadeInUp 700ms ease both;
}
.pfac__reveal--1 { animation-delay: .05s; }
.pfac__reveal--2 { animation-delay: .16s; }
.pfac__reveal--3 { animation-delay: .28s; }
.pfac__reveal--4 { animation-delay: .4s; }
.pfac__reveal--5 { animation-delay: .52s; }
.pfac__reveal--6 { animation-delay: .64s; }

/* ---------- Header ---------- */
.pfac__header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pfac__logo {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--pfac-cream);
  opacity: 0.9;
}

.pfac__socials { display: flex; align-items: center; gap: 18px; }
.pfac__socials a {
  color: var(--pfac-cream);
  opacity: 0.75;
  font-size: 18px;
  transition: opacity .2s ease, color .2s ease;
}
.pfac__socials a:hover { opacity: 1; color: var(--pfac-accent-bright); }

.pfac__icon-svg { display: inline-flex; }
.pfac__icon-svg svg { display: block; }

.pfac__contact-trigger {
  background: transparent;
  border: 1px solid var(--pfac-line);
  color: var(--pfac-cream);
  font-family: lunatix, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  padding: 8px 18px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.pfac__contact-trigger:hover {
  border-color: var(--pfac-accent);
  background: rgba(246,124,49,0.12);
  color: var(--pfac-accent-bright);
}

.pfac__footer-links-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: lunatix, sans-serif;
  font-size: 13px;
  color: var(--pfac-muted);
  cursor: pointer;
  transition: color .2s ease;
}
.pfac__footer-links-btn:hover { color: var(--pfac-accent-bright); }

/* ---------- Hero ---------- */
.pfac__hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: #000;
}

.pfac__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 20%;
  opacity: 0.9;
}

.pfac__hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(15,11,6,0.96) 0%, rgba(15,11,6,0.55) 42%, rgba(15,11,6,0.15) 68%, rgba(15,11,6,0.35) 100%),
    linear-gradient(90deg, rgba(15,11,6,0.75) 0%, rgba(15,11,6,0.1) 55%);
}

.pfac__hero-content {
  position: relative;
  z-index: 2;
  padding: 0 32px 84px;
  max-width: var(--pfac-maxw);
  margin: 0 auto;
  width: 100%;
}

.pfac__hero-artwork {
  display: block;
  width: clamp(84px, 9vw, 120px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(236, 227, 210, 0.25);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  margin-bottom: 24px;
}

.pfac__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pfac-accent-bright);
  font-weight: 600;
  margin-bottom: 18px;
}

.pfac__title {
  font-family: lunatix, sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 820px;
  color: var(--pfac-cream);
  text-transform: none;
}

.pfac__accent-dot { color: var(--pfac-accent); }

.pfac__subtitle {
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--pfac-muted);
  max-width: 480px;
  margin: 0 0 34px;
  line-height: 1.5;
}

.pfac__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pfac-accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 16px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.pfac__btn:hover { background: var(--pfac-accent-bright); transform: translateY(-1px); }

.pfac__btn--ghost {
  background: transparent;
  border: 1px solid var(--pfac-line);
  color: var(--pfac-cream);
}
.pfac__btn--ghost:hover { border-color: var(--pfac-accent); background: rgba(246,124,49,0.08); }

.pfac__btn--soon {
  cursor: default;
  opacity: 0.55;
  pointer-events: none;
}
.pfac__btn--soon:hover { border-color: var(--pfac-line); background: transparent; }

.pfac__hero-meta {
  margin-top: 26px;
  font-size: 13px;
  color: var(--pfac-muted);
  letter-spacing: 0.02em;
}
.pfac__hero-meta strong { color: var(--pfac-accent-bright); font-weight: 600; }

/* ---------- Section shell ---------- */
.pfac__section {
  padding: 110px 0;
  border-top: 1px solid var(--pfac-line);
}

.pfac__section-head {
  max-width: 620px;
  margin: 0 0 56px;
}

.pfac__kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pfac-accent);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.pfac__section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--pfac-cream);
}

.pfac__section-copy {
  color: var(--pfac-muted);
  font-family: var(--pfac-body-font);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.pfac__thanks-note {
  color: var(--pfac-muted);
  font-family: var(--pfac-body-font);
  font-size: 13px;
  line-height: 1.5;
  margin: 14px 0 0;
}
.pfac__thanks-note a { color: var(--pfac-muted); text-decoration: underline; text-underline-offset: 2px; }
.pfac__thanks-note a:hover { color: var(--pfac-accent-bright); }

/* ---------- Lyrics accordion ---------- */
.pfac__lyrics-list {
  border-top: 1px solid var(--pfac-line);
}

.pfac__lyrics-item {
  border-bottom: 1px solid var(--pfac-line);
}

.pfac__lyrics-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--pfac-cream);
}
.pfac__lyrics-item summary::-webkit-details-marker { display: none; }

.pfac__lyrics-item summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 400;
  color: var(--pfac-accent);
  transition: transform .2s ease;
}
.pfac__lyrics-item[open] summary::after { content: '–'; }

.pfac__lyrics-item summary .pfac__lyrics-track-no {
  color: var(--pfac-muted);
  font-weight: 500;
  font-size: 14px;
  margin-right: 14px;
}

.pfac__lyrics-body {
  padding: 0 4px 32px;
  color: var(--pfac-muted);
  font-family: var(--pfac-body-font);
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
  max-width: 640px;
}

/* ---------- Singles ---------- */
.pfac__singles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.pfac__single-card {
  background: var(--pfac-card);
  border: 1px solid var(--pfac-line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pfac__single-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.pfac__single-body { padding: 26px 26px 30px; }

.pfac__single-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pfac-accent);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.pfac__single-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--pfac-cream);
}

.pfac__single-date {
  font-size: 14px;
  color: var(--pfac-muted);
  margin: 0 0 20px;
}

/* ---------- Mystery single (unrevealed) ---------- */
.pfac__single-art-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.pfac__single-art--mystery {
  filter: blur(28px) saturate(1.1) brightness(0.65);
  transform: scale(1.25); /* hide blur edge artifacts */
}

.pfac__mystery-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: lunatix, sans-serif;
  font-weight: 600;
  font-size: 64px;
  color: rgba(236, 227, 210, 0.85);
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.pfac__single-title--mystery {
  color: var(--pfac-muted);
  font-style: italic;
  font-weight: 500;
}

/* ---------- Gallery ---------- */
.pfac__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pfac__gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  filter: saturate(1.02);
  transition: transform .5s ease;
}
.pfac__gallery a { display: block; overflow: hidden; border-radius: 10px; }
.pfac__gallery a:hover img { transform: scale(1.045); }

.pfac__gallery li:nth-child(3n+2) { margin-top: 34px; }

/* ---------- Free download ---------- */
.pfac__download {
  background: var(--pfac-card);
  border: 1px solid var(--pfac-line);
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.pfac__download-copy .pfac__section-title { margin-bottom: 12px; }

.pfac__form { display: flex; flex-direction: column; gap: 14px; }

.pfac__form-row { display: flex; gap: 10px; flex-wrap: wrap; }

.pfac__input {
  flex: 1 1 220px;
  background: rgba(236, 227, 210, 0.06);
  border: 1px solid var(--pfac-line);
  border-radius: 100px;
  padding: 15px 20px;
  color: var(--pfac-cream);
  font-family: lunatix, sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease;
}
.pfac__input::placeholder { color: var(--pfac-muted); }
.pfac__input:focus { border-color: var(--pfac-accent); }

.pfac__form-note {
  font-size: 12.5px;
  color: var(--pfac-muted);
  line-height: 1.5;
}

/* Mailchimp / contact form anti-bot honeypot */
.pfac__hp { position: absolute; left: -5000px; }

.pfac__textarea {
  border-radius: 20px;
  width: 100%;
  resize: vertical;
  font-family: lunatix, sans-serif;
  line-height: 1.5;
}

/* ---------- Contact lightbox ---------- */
.pfac__modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pfac__modal.is-open { display: flex; }

.pfac__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 4, 0.78);
  backdrop-filter: blur(2px);
}

.pfac__modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--pfac-card);
  border: 1px solid var(--pfac-line);
  border-radius: 20px;
  padding: 40px;
  color: var(--pfac-cream);
  font-family: lunatix, sans-serif;
  animation: pfacFadeInUp 260ms ease both;
}

.pfac__modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--pfac-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
  transition: color .2s ease;
}
.pfac__modal-close:hover { color: var(--pfac-accent-bright); }

@media (max-width: 480px) {
  .pfac__modal-box { padding: 30px 24px; }
}

/* ---------- Footer ---------- */
.pfac__footer {
  border-top: 1px solid var(--pfac-line);
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.pfac__footer-copy { font-size: 13px; color: var(--pfac-muted); }
.pfac__footer-links { display: flex; gap: 22px; font-size: 13px; }
.pfac__footer-links a { color: var(--pfac-muted); transition: color .2s ease; }
.pfac__footer-links a:hover { color: var(--pfac-accent-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pfac__download { grid-template-columns: 1fr; padding: 40px 28px; }
  .pfac__singles { grid-template-columns: 1fr; }
  .pfac__section { padding: 76px 0; }
}

@media (max-width: 640px) {
  .pfac__wrap, .pfac__hero-content { padding-left: 20px; padding-right: 20px; }
  .pfac__gallery { grid-template-columns: repeat(2, 1fr); }
  .pfac__gallery li:nth-child(3n+2) { margin-top: 0; }
  .pfac__hero-content { padding-bottom: 56px; }
  .pfac__header { padding: 20px; }
  .pfac__socials { gap: 12px; }
  .pfac__contact-trigger { padding: 7px 14px; font-size: 12px; }
  .pfac__logo { font-size: 12px; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .pfac__reveal { animation: none; opacity: 1; }
}
