/* ==========================================================================
   pcSHOWme — Shared Stylesheet
   Design concept: "Harmony Line" — dissonance (jagged waveform) resolving
   into a smooth glowing arc, echoing the brand's Synergistic Harmony theme.
   Palette: deep night indigo grounding warm dawn gold + ember accents.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #10132A;
  --bg-alt: #0A0C1C;
  --panel: #191E3B;
  --panel-line: rgba(232, 173, 92, 0.16);
  --gold: #E8AD5C;
  --gold-soft: #F2CE94;
  --ember: #DA7350;
  --text: #F4EFE3;
  --text-dim: #C9C4D6;
  --muted: #9AA1C4;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', Menlo, monospace;

  --max-w: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse 120% 60% at 50% -10%, #1A2044 0%, var(--bg) 55%), var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img, svg { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Skip link / accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: #10132A;
  padding: 10px 16px;
  border-radius: 4px;
  z-index: 100;
}
.skip-link:focus {
  left: 28px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 28, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: 0.01em;
  color: var(--text);
}
.brand span { color: var(--gold); }

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav.primary-nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  padding: 4px 2px;
}
nav.primary-nav a:hover,
nav.primary-nav a[aria-current="page"] {
  color: var(--gold-soft);
}
nav.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-toggle { display: none; }

@media (max-width: 720px) {
  nav.primary-nav ul {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

/* ---------- Harmony Line (signature element) ---------- */
.harmony-line {
  width: 100%;
  height: auto;
  margin: 8px 0;
}
.harmony-line .jagged {
  stroke: var(--ember);
  stroke-width: 2;
  fill: none;
  opacity: 0.85;
}
.harmony-line .smooth {
  stroke: var(--gold);
  stroke-width: 2.5;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(232,173,92,0.55));
}
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--panel-line) 20%, var(--panel-line) 80%, transparent);
  margin: 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 56px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  margin: 22px 0 20px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .tagline {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 36px;
}
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--ember));
  color: #14142A;
}
.btn-primary:hover { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); }
.btn-ghost {
  color: var(--text);
  border-color: var(--panel-line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-tight { padding: 44px 0; }

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 38px);
  margin: 10px 0 18px;
  letter-spacing: -0.005em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 10px;
}
p { color: var(--text-dim); margin: 0 0 16px; }
.lede {
  font-size: 19px;
  color: var(--text);
  max-width: 680px;
}

/* ---------- Pillar cards ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.pillar-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .18s ease, transform .18s ease;
}
.pillar-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.pillar-card .tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pillar-card h3 { margin-top: 8px; color: var(--gold-soft); }
.pillar-card p { margin-bottom: 0; font-size: 15px; }

@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Spotlight (flagship song) ---------- */
.spotlight {
  background: linear-gradient(135deg, rgba(232,173,92,0.08), rgba(218,115,80,0.05));
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .spotlight { grid-template-columns: 1fr; }
}
.spotlight .eyebrow { margin-bottom: 14px; }
.spotlight h3 {
  font-size: 30px;
  margin-bottom: 10px;
}
.spotlight .prayer-line {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 16.5px;
}

/* ---------- Callout (season / fighting from victory) ---------- */
.callout {
  border-left: 3px solid var(--ember);
  padding: 6px 0 6px 26px;
  margin: 8px 0;
}
.callout .eyebrow { color: var(--ember); }
.callout .eyebrow::before { background: var(--ember); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Placeholder / coming soon blocks ---------- */
.coming-soon {
  border: 1px dashed var(--panel-line);
  border-radius: 6px;
  padding: 34px;
  text-align: left;
  margin-top: 18px;
}
.coming-soon .eyebrow { margin-bottom: 12px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.stub-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  padding: 22px 24px;
}
.stub-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Quote / phrase block ---------- */
.phrase-block {
  text-align: center;
  padding: 50px 20px;
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
}
.phrase-block p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 32px);
  color: var(--gold-soft);
  max-width: 720px;
  margin: 0 auto 10px;
}
.phrase-block span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--panel-line);
  padding: 48px 0 40px;
  margin-top: 40px;
  background: var(--bg-alt);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-grid nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-grid nav a { text-decoration: none; color: var(--text-dim); font-size: 14px; }
.footer-grid nav a:hover { color: var(--gold-soft); }
.footer-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 22px;
}

/* ---------- Contact form ---------- */
.contact-panel {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  padding: 36px;
  max-width: 560px;
}
label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 18px 0 6px;
}
label:first-of-type { margin-top: 0; }
input, textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--panel-line);
  border-radius: 4px;
  color: var(--text);
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 15px;
}
input:focus, textarea:focus { border-color: var(--gold); outline: none; }
textarea { min-height: 130px; resize: vertical; }

.contact-links {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-links a {
  text-decoration: none;
  color: var(--gold-soft);
  font-size: 15px;
}

/* ==========================================================================
   Visual polish layer — glow, motion, texture
   ========================================================================== */

/* Grain texture overlay for warmth/depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { position: relative; z-index: 2; }
header.site-header, footer.site-footer { position: relative; z-index: 5; }

/* Ambient glow blobs, sit behind hero content */
.blob-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob-a {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  top: -140px; left: -80px;
}
.blob-b {
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--ember), transparent 70%);
  top: 60px; right: -120px;
  animation-delay: -8s;
}
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 40px) scale(1.08); }
}

/* Entrance animation for hero content */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow { animation: fadeUp 0.7s ease both; }
.hero h1 { animation: fadeUp 0.8s ease 0.08s both; }
.hero .tagline { animation: fadeUp 0.8s ease 0.16s both; }
.hero .cta-row { animation: fadeUp 0.8s ease 0.24s both; }

/* Harmony line draw-in + glow pulse */
.harmony-line .jagged,
.harmony-line .smooth {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.2s cubic-bezier(.4,0,.2,1) 0.3s forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.harmony-line .smooth {
  animation: draw 2.2s cubic-bezier(.4,0,.2,1) 0.3s forwards, glowPulse 3.5s ease-in-out 2.6s infinite;
}
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(232,173,92,0.5)); }
  50% { filter: drop-shadow(0 0 14px rgba(232,173,92,0.85)); }
}

/* Richer hover states */
.btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(232,173,92,0.18);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(232,173,92,0.32);
}
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--gold) inset; }

.pillar-card {
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(180px circle at 50% 0%, rgba(232,173,92,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pillar-card:hover::before { opacity: 1; }
.pillar-card:hover {
  box-shadow: 0 14px 34px rgba(0,0,0,0.35), 0 0 0 1px rgba(232,173,92,0.25) inset;
}

.spotlight {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.spotlight::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -80px; top: -80px;
  background: radial-gradient(circle, rgba(232,173,92,0.22), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stub-card, .coming-soon, .contact-panel {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.stub-card:hover {
  border-color: var(--panel-line);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}

.phrase-block { position: relative; }
.phrase-block::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 480px; height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(232,173,92,0.10), transparent 72%);
  pointer-events: none;
}

.brand {
  background: linear-gradient(120deg, var(--text), var(--text) 60%);
  transition: letter-spacing 0.2s ease;
}
.brand:hover { letter-spacing: 0.015em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .pillar-card:hover { transform: none; }
  .blob { animation: none; }
  .hero .eyebrow, .hero h1, .hero .tagline, .hero .cta-row { animation: none; }
  .harmony-line .jagged, .harmony-line .smooth { animation: none; stroke-dashoffset: 0; }
}
