/*
Theme Name: Perspectives Junction
Theme URI: https://www.perspectivesjunction.com
Author: Perspectives Junction
Author URI: https://www.perspectivesjunction.com
Description: A premium dark-luxury custom theme for Perspectives Junction, a Christian training and publishing initiative. Deep navy and charcoal foundation, silver-gray and warm sandstone accents, editorial serif headings (Fraunces) with clean sans body text (Inter). Includes a working contact form and real certificate verification.
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
Text Domain: perspectives-junction
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===========================================================
   Perspectives Junction — Luxury Dark Redesign
   Design system: cinematic near-black foundation, refined royal
   blue accent, editorial serif headings (Fraunces) + clean sans
   body (Inter). Glass-panel cards, soft film grain, restrained
   motion. Inspired by premium ministry-platform case studies.
   =========================================================== */

:root{
  --bg: #131824;
  --panel: #1c1d22;
  --panel-deep: #0a0b0f;
  --ink: #f2f0ea;
  --ink-soft: rgba(242,240,234,0.72);
  --slate: rgba(242,240,234,0.62);
  --slate-light: rgba(242,240,234,0.42);
  --card: rgba(255,255,255,0.05);
  --card-border: rgba(255,255,255,0.11);
  --accent: #9aa3ad;
  --accent-deep: #565d66;
  --accent-light: #cfd4da;
  --gold: #c1a179;
  --gold-deep: #8c714f;
  --gold-light: #e3d2b4;
  --sage: #3d5075;
  --sage-deep: #1a2438;
  --sage-light: #7f93b6;
  --line: rgba(255,255,255,0.12);
  --line-soft: rgba(255,255,255,0.08);
  --shadow-sm: 0 2px 14px rgba(0,0,0,0.35);
  --shadow-md: 0 14px 38px rgba(0,0,0,0.45);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.6);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  position: relative;
}
/* subtle cinematic film grain, sitewide */
body::before{
  content:'';
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 999;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

h1,h2,h3,h4{
  font-family:'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.015em;
}
em, .accent-italic{
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}
p{ margin: 0 0 1em; color: var(--slate); }
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:'';
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
section{ position: relative; }
.section-pad{ padding: 108px 0; }
.section-pad-sm{ padding: 72px 0; }

@media (max-width: 860px){
  .section-pad{ padding: 72px 0; }
  .section-pad-sm{ padding: 52px 0; }
  .container{ padding: 0 22px; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #241a0a;
  box-shadow: 0 10px 30px rgba(193,161,121,0.35);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 40px rgba(193,161,121,0.5); }
.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.22);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--accent-light); background: rgba(207,212,218,0.08); }
.btn-on-dark{
  border-color: rgba(255,255,255,0.28);
  color: var(--ink);
}
.btn-on-dark:hover{ border-color: var(--accent-light); background: rgba(207,212,218,0.08); }
.btn-sm{ padding: 10px 20px; font-size: 12px; }
.btn svg{ width: 15px; height: 15px; transition: transform .25s ease; }
.btn:hover svg{ transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19,24,36,0.76);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family:'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}
.brand-mark{
  width: 44px; height: 44px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink: 0;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5), 0 0 0 1px rgba(154,163,173,0.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.brand-mark img{ width: 100%; height: 100%; object-fit: cover; display:block; }
.brand:hover .brand-mark{ transform: translateY(-1px) scale(1.05); box-shadow: 0 10px 24px rgba(0,0,0,0.55), 0 0 0 1px rgba(154,163,173,0.3); }

.brand-mark.brand-mark-full{
  width: auto;
  height: 50px;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.brand-mark.brand-mark-full img{
  width: auto;
  height: 100%;
  object-fit: contain;
  border-radius: 7px;
}
.brand:hover .brand-mark.brand-mark-full{
  box-shadow: none;
  transform: translateY(-1px) scale(1.03);
}
.footer-brand .brand-mark.brand-mark-full{ height: 92px; }

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.brand-text small{
  display:block;
  font-family:'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-top: 2px;
}

.main-nav{ display:flex; align-items:center; gap: 4px; }
.main-nav a{
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all .2s ease;
  position: relative;
}
.main-nav a:hover{ color: var(--ink); background: rgba(255,255,255,0.06); }
.main-nav a.active{ color: var(--accent-light); }
.header-cta{ display:flex; align-items:center; gap: 14px; }

.nav-toggle{
  display:none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: all .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width: 980px){
  .main-nav{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #14161c;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 22px 24px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 2px;
  }
  .main-nav.open{ display: flex; }
  .main-nav a{ padding: 12px 10px; border-radius: 8px; }
  .nav-toggle{ display:flex; }
  .header-cta .btn-sm-hide{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 130px 0 110px;
  background:
    radial-gradient(1200px 560px at 85% -15%, rgba(154,163,173,0.20), transparent 62%),
    radial-gradient(900px 500px at -10% 10%, rgba(86,93,102,0.30), transparent 60%),
    linear-gradient(180deg, #131824 0%, #0a0b0f 100%);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.hero-kicker .dot{
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(150deg, var(--accent-light), var(--accent));
  display:flex; align-items:center; justify-content:center;
}
.hero h1{
  font-size: clamp(2.6rem, 4.8vw, 4.1rem);
  margin-bottom: 26px;
  text-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero-lead{
  font-size: 18px;
  color: var(--slate);
  max-width: 52ch;
  margin-bottom: 40px;
}
.hero-actions{ display:flex; gap: 16px; flex-wrap: wrap; }

.hero-visual{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 22px;
  background: linear-gradient(160deg, #1c2436 0%, #263354 55%, #3d5075 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  display:flex; align-items:flex-end;
}
.hero-visual::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(207,212,218,0.30), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(154,163,173,0.20), transparent 45%);
}
.hero-visual::after{
  content:'';
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 75%);
}
.hero-visual-card{
  position: relative;
  z-index: 2;
  margin: 26px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(19,24,36,0.76);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  width: calc(100% - 52px);
  box-shadow: var(--shadow-md);
}
.hvc-row{ display:flex; align-items:center; gap: 12px; margin-bottom: 14px; }
.hvc-row:last-child{ margin-bottom: 0; }
.hvc-icon{
  width: 38px; height:38px; border-radius: 10px;
  background: rgba(207,212,218,0.12);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.hvc-icon svg{ width:18px; height:18px; color: var(--accent-light); }
.hvc-text strong{ display:block; font-size: 13.5px; color: var(--ink); font-weight:600; }
.hvc-text span{ font-size: 12px; color: var(--slate-light); }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  /* No fixed aspect-ratio here on purpose: at this width the card's three
     rows need more vertical room than a fixed short/wide box provides,
     which was clipping the top row ("Training Minds") via overflow:hidden.
     Letting the box size to its content avoids that regardless of copy
     length changes later. */
  .hero-visual{ max-width: 420px; margin: 0 auto; aspect-ratio: unset; min-height: 220px; }
}

/* ---------- Scripture / pull-quote ---------- */
.scripture-band{
  background: linear-gradient(180deg, var(--panel-deep) 0%, #070a12 100%);
  color: var(--ink);
  padding: 68px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.scripture-band::before, .scripture-band::after{
  content:'';
  position:absolute; left:50%; top:0;
  width: 1px; height: 26px;
  background: var(--accent);
  transform: translateX(-50%);
}
.scripture-band::after{ top: auto; bottom: 0; }
.scripture-mark{
  font-family:'Fraunces', serif;
  font-size: 46px;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 6px;
}
.scripture-text{
  font-family:'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  max-width: 700px;
  margin: 0 auto 14px;
  color: var(--ink);
}
.scripture-ref{
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
}

/* ---------- Section headers ---------- */
.section-head{ max-width: 680px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p{ font-size: 16.5px; }

/* ---------- Pillars ---------- */
.pillars{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 38px 30px;
  position: relative;
  backdrop-filter: blur(6px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pillar-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(207,212,218,0.32); }
.pillar-num{
  font-family:'Fraunces', serif;
  font-size: 13px;
  color: var(--accent-light);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display:block;
  transition: color .3s ease;
}
.pillar-num.num-gold{ color: var(--gold-light); }
.pillar-num.num-navy{ color: var(--sage-light); }
.pillar-num.num-wine{ color: var(--accent-light); }

.pillar-icon{
  width: 60px; height: 60px;
  border-radius: 17px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 22px;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow:
    0 12px 26px -10px var(--icon-shadow, rgba(154,163,173,0.5)),
    inset 0 0 0 1px rgba(255,255,255,0.22),
    inset 0 1px 2px rgba(255,255,255,0.35);
}
.pillar-icon svg{ width: 27px; height: 27px; position: relative; z-index: 1; }
.pillar-card:hover .pillar-icon{
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 18px 32px -10px var(--icon-shadow, rgba(154,163,173,0.6)),
    inset 0 0 0 1px rgba(255,255,255,0.26),
    inset 0 1px 2px rgba(255,255,255,0.4);
}

/* Three badges: warm sandstone, deep navy, silver-gray */
.pillar-icon.icon-gold{
  background: radial-gradient(120% 130% at 25% 15%, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  --icon-shadow: rgba(193,161,121,0.5);
}
.pillar-icon.icon-gold svg{ color:#2b1f0d; stroke:#2b1f0d; }

.pillar-icon.icon-navy{
  background: radial-gradient(120% 130% at 25% 15%, var(--sage-light) 0%, var(--sage) 45%, var(--sage-deep) 100%);
  --icon-shadow: rgba(61,80,117,0.55);
}
.pillar-icon.icon-navy svg{ color:#eef2f8; stroke:#eef2f8; }

.pillar-icon.icon-wine{
  background: radial-gradient(120% 130% at 25% 15%, var(--accent-light) 0%, var(--accent) 45%, var(--accent-deep) 100%);
  --icon-shadow: rgba(154,163,173,0.5);
}
.pillar-icon.icon-wine svg{ color:#20242a; stroke:#20242a; }
.pillar-card h3{ font-size: 21px; margin-bottom: 10px; }
.pillar-card p{ font-size: 15px; margin-bottom: 20px; }
.pillar-link{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.pillar-link svg{ width: 13px; height: 13px; }

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

/* ---------- Alt band ---------- */
.band-alt{ background: var(--panel); }

/* ---------- Values / principles list ---------- */
.principles{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.principle{
  padding-top: 24px;
  border-top: 2px solid var(--accent);
}
.principle h3{ font-size: 18px; margin-bottom: 10px; }
.principle p{ font-size: 14.5px; }
@media (max-width: 900px){ .principles{ grid-template-columns: 1fr; } }

/* ---------- Quote block ---------- */
.quote-block{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 0;
}
.quote-block .scripture-mark{ color: var(--accent-light); }
.quote-block blockquote{
  font-family:'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.4;
}
.quote-block cite{
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
}

/* ---------- Service / resource cards ---------- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card-grid.two{ grid-template-columns: repeat(2, 1fr); }
.service-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(6px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(207,212,218,0.35); }
.service-icon{
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(155deg, #33456b, #171a22);
  border: 1px solid rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.service-icon svg{ width: 22px; height: 22px; color: var(--accent-light); }
.service-card h3{ font-size: 18.5px; margin-bottom: 10px; }
.service-card p{ font-size: 14.5px; margin-bottom: 0; }

@media (max-width: 980px){
  .card-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .card-grid, .card-grid.two{ grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(155deg, #1c2436 0%, #0a0b0f 100%);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: 68px 56px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before{
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(600px 260px at 90% 0%, rgba(154,163,173,0.28), transparent 60%);
}
.cta-band-text{ position: relative; z-index:1; max-width: 560px; }
.cta-band h2{ color:var(--ink); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.cta-band p{ color: var(--slate); margin-bottom: 0; font-size: 15.5px; }
.cta-band-actions{ position: relative; z-index:1; display:flex; gap: 14px; flex-shrink:0; flex-wrap: wrap; }

@media (max-width: 820px){
  .cta-band{ flex-direction: column; align-items: flex-start; padding: 44px 30px; }
}

/* ---------- Footer ---------- */
.site-footer{
  background: linear-gradient(180deg, var(--panel-deep) 0%, #06080e 100%);
  color: var(--slate);
  padding: 76px 0 30px;
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand .brand{ color: var(--ink); margin-bottom: 16px; }
.footer-brand p{ color: var(--slate-light); font-size: 14px; max-width: 34ch; }
.footer-col h4{
  font-family:'Inter', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241,243,248,0.85);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li{ margin-bottom: 11px; }
.footer-col a{ font-size: 14px; color: var(--slate); transition: color .2s ease; }
.footer-col a:hover{ color: var(--accent-light); }
.footer-social{ display:flex; gap: 12px; margin-top: 6px; }
.footer-social a{
  width: 34px; height: 34px;
  display:flex; align-items:center; justify-content:center;
  transition: transform .25s ease, box-shadow .25s ease;
  border-radius: 9px;
}
.footer-social a:hover{ transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.5); }
.footer-social svg{ width: 34px; height: 34px; display:block; border-radius: 9px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 26px;
  font-size: 13px;
  color: var(--slate-light);
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------- Page header (interior pages) ---------- */
.page-header{
  padding: 84px 0 60px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(154,163,173,0.20), transparent 62%),
    linear-gradient(180deg, #131824 0%, #0a0b0f 100%);
}
.page-header h1{ font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 16px; }
.page-header p{ max-width: 620px; margin: 0 auto; font-size: 17px; }
.breadcrumb{
  display:flex; justify-content:center; align-items:center; gap: 8px;
  font-size: 12px; color: var(--slate-light); margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.breadcrumb a:hover{ color: var(--accent-light); }

/* ---------- Generic content blocks ---------- */
.prose{ max-width: 760px; }
.prose p{ font-size: 16.5px; }
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; gap: 36px; } }

.stat-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.stat-card + .stat-card{ margin-top: 20px; }
.stat-card h3{ font-size: 16px; margin-bottom: 8px; color: var(--accent-light); }
.stat-card p{ font-size: 14.5px; margin-bottom: 0; }

.badge-row{ display:flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.badge{
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact-info-card{
  background: linear-gradient(165deg, #1c2436 0%, var(--panel-deep) 100%);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 40px 34px;
}
.contact-info-card h3{ color: var(--ink); font-size: 20px; }
.contact-info-card p{ color: var(--slate); font-size: 14.5px; }
.contact-line{ display:flex; align-items:flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.contact-line:first-of-type{ border-top: none; }
.contact-line .ci-icon{
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(207,212,218,0.12);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-line .ci-icon svg{ width:16px; height:16px; color: var(--accent-light); }
.contact-line strong{ display:block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.contact-line span, .contact-line a{ font-size: 13.5px; color: var(--slate); }
.contact-line a:hover{ color: var(--accent-light); }

.form-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field{ margin-bottom: 18px; }
.field label{
  display:block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 8px;
}
.field input, .field textarea{
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder{ color: var(--slate-light); }
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(154,163,173,0.16);
}
.field textarea{ resize: vertical; min-height: 130px; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }

/* ---------- Verify page ---------- */
.verify-card{
  max-width: 620px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.verify-input-row{ display:flex; gap: 12px; margin-top: 22px; }
.verify-input-row input{
  flex: 1;
  padding: 15px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-family: inherit;
  background: rgba(255,255,255,0.03);
  color: var(--ink);
}
.verify-input-row input::placeholder{ color: var(--slate-light); }
.verify-input-row input:focus{ outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(154,163,173,0.16); }
@media (max-width: 560px){ .verify-input-row{ flex-direction: column; } }

.verify-result-wrap{ margin-top: 22px; text-align: left; }
.verify-result{
  padding: 18px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}
.verify-result strong{ display:block; font-size: 15px; margin-bottom: 6px; }
.verify-result p{ margin: 2px 0; color: var(--slate); }
.verify-result-success{
  background: rgba(144,168,106,0.14);
  border: 1px solid rgba(144,168,106,0.4);
  color: var(--ink);
}
.verify-result-success strong{ color: var(--ink); }
.verify-result-error{
  background: rgba(193,161,121,0.14);
  border: 1px solid rgba(193,161,121,0.4);
  color: var(--ink);
}
.verify-result-error strong{ color: var(--ink); }
.verify-result a{ color: var(--gold-light); font-weight: 600; text-decoration: none; }
.verify-result a:hover{ text-decoration: underline; }

.how-to{
  max-width: 620px;
  margin: 40px auto 0;
  padding: 26px 28px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px dashed var(--line);
}
.how-to h4{ font-size: 14.5px; margin-bottom: 8px; color: var(--ink); }
.how-to p{ font-size: 14px; margin-bottom: 0; color: var(--slate); }
.how-to code{
  background: rgba(255,255,255,0.08);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--accent-light);
}

/* ---------- Reveal animation ---------- */
.js-ready .reveal{ opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js-ready .reveal.in{ opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.divider-orn{ display:flex; align-items:center; justify-content:center; gap: 12px; margin: 0 0 20px; }
.divider-orn span{ width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.divider-orn::before, .divider-orn::after{ content:''; height:1px; width: 40px; background: var(--line); }

/* ---------- LearnPress compatibility ----------
   LearnPress (the course/LMS plugin) renders its own course, lesson,
   quiz, checkout, and profile templates with a light/white background —
   but this theme sets a dark-mode text color sitewide (body{color:
   var(--ink)}), which normally cascades down and makes plain text on
   those LearnPress pages nearly invisible (pale text on white).
   This resets text back to normal, readable dark-on-light colors
   specifically within LearnPress's own templates/output, without
   touching this theme's own dark-luxury design anywhere else — the
   header/footer/nav keep their own explicit color rules regardless. */
body.single-lp_course,
body.single-lp_lesson,
body.single-lp_quiz,
body.post-type-archive-lp_course,
.learnpress,
.learn-press-course,
.lp-content-area{
  color: #333333;
}
body.single-lp_course h1, body.single-lp_course h2, body.single-lp_course h3, body.single-lp_course h4, body.single-lp_course h5, body.single-lp_course h6,
body.single-lp_lesson h1, body.single-lp_lesson h2, body.single-lp_lesson h3, body.single-lp_lesson h4, body.single-lp_lesson h5, body.single-lp_lesson h6,
body.single-lp_quiz h1, body.single-lp_quiz h2, body.single-lp_quiz h3, body.single-lp_quiz h4, body.single-lp_quiz h5, body.single-lp_quiz h6,
body.post-type-archive-lp_course h1, body.post-type-archive-lp_course h2, body.post-type-archive-lp_course h3, body.post-type-archive-lp_course h4,
.learnpress h1, .learnpress h2, .learnpress h3, .learnpress h4, .learnpress h5, .learnpress h6{
  color: #1a1a1a;
}
body.single-lp_course p, body.single-lp_lesson p, body.single-lp_quiz p, body.post-type-archive-lp_course p, .learnpress p{
  color: #444444;
}
/* Pages built around a LearnPress shortcode (Checkout, Profile,
   Instructors, etc.) — same fix, scoped to LearnPress's own wrapper so
   the rest of that page (if any) keeps this theme's normal styling. */
.learnpress a:not(.btn):not(.lp-button){ color: #2e6cd6; }
