/*
Theme Name: Pikes Peak
Author: OpenAI
Version: 2.0
Text Domain: pikes-peak
*/

:root{
  --ppfc-purple:#4c1d95;
  --ppfc-purple-dark:#3d1778;
  --ppfc-green:#2e7d32;
  --ppfc-text:#1f2430;
  --ppfc-muted:#667085;
  --ppfc-light:#f7f7fb;
  --ppfc-white:#ffffff;
  --ppfc-border:#e8e8ef;
  --ppfc-shadow:0 10px 30px rgba(29, 41, 57, 0.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,sans-serif;
  color:var(--ppfc-text);
  background:#fff;
  line-height:1.6;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none}
.container{width:min(1180px,92%);margin:0 auto}

.site-header{
  background:var(--ppfc-purple);
  color:#fff;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.header-inner{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-branding .brand-link,
.site-branding .custom-logo-link{
  display:inline-flex;
  align-items:center;
}
.site-branding img{
  max-height:62px;
  width:auto;
}
.site-title{
  color:#fff;
  font-weight:700;
  font-size:1.35rem;
}

.main-menu,.main-menu ul{
  list-style:none;
  margin:0;
  padding:0;
}
.main-menu{
  display:flex;
  align-items:center;
  gap:22px;
}
.main-menu > li{position:relative}
.main-menu a{
  color:#fff;
  font-weight:600;
  font-size:.98rem;
}
.main-menu .sub-menu{
  position:absolute;
  left:0;
  top:100%;
  min-width:240px;
  background:var(--ppfc-purple-dark);
  border-radius:12px;
  padding:12px 0;
  display:none;
  box-shadow:var(--ppfc-shadow);
}
.main-menu .sub-menu li a{
  display:block;
  padding:10px 16px;
}
.main-menu li:hover > .sub-menu{display:block}

.hero{
  position:relative;
  min-height:72vh;
  background-size:cover;
  background-position:center;
  color:#fff;
  display:flex;
  align-items:center;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(21,24,35,.78) 0%, rgba(21,24,35,.45) 45%, rgba(21,24,35,.18) 100%);
}
.hero .container{
  position:relative;
  z-index:2;
}
.hero-copy{
  max-width:760px;
  padding:80px 0;
}
.eyebrow{
  display:inline-block;
  margin-bottom:14px;
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  padding:8px 14px;
  font-size:.9rem;
  letter-spacing:.02em;
}
.hero h1{
  font-size:clamp(2.2rem, 5vw, 4.6rem);
  line-height:1.05;
  margin:0 0 16px;
}
.hero p{
  font-size:1.08rem;
  max-width:680px;
  margin:0 0 26px;
}
.button-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:13px 22px;
  font-weight:700;
  transition:.2s ease;
}
.btn-primary{
  background:#fff;
  color:var(--ppfc-purple);
}
.btn-primary:hover{transform:translateY(-1px)}
.btn-secondary{
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.08);
}

.section{padding:82px 0}
.section.alt{background:var(--ppfc-light)}
.section h2{
  font-size:clamp(1.8rem,3vw,2.5rem);
  margin:0 0 12px;
}
.section-intro{
  max-width:760px;
  margin:0 0 28px;
  color:var(--ppfc-muted);
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:24px;
}
.grid-4{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:24px;
}
.pathway-card,.info-card,.program-card{
  background:#fff;
  border:1px solid var(--ppfc-border);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--ppfc-shadow);
}
.pathway-card{
  padding:26px;
}
.pathway-card h3,.info-card h3,.program-card h3{
  margin:0 0 10px;
}
.kicker{
  color:var(--ppfc-purple);
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.05em;
  font-size:.78rem;
}

.program-card img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
}
.program-card-content{
  padding:22px;
}
.text-link{
  display:inline-flex;
  gap:8px;
  margin-top:12px;
  color:var(--ppfc-purple);
  font-weight:700;
}

.split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:34px;
  align-items:center;
}
.split-image img{
  border-radius:24px;
  box-shadow:var(--ppfc-shadow);
  aspect-ratio: 4 / 3;
  object-fit:cover;
  width:100%;
}
.bullet-list{
  display:grid;
  gap:14px;
}
.bullet-item{
  background:#fff;
  border:1px solid var(--ppfc-border);
  border-radius:16px;
  padding:18px 20px;
  box-shadow:var(--ppfc-shadow);
}
.bullet-item strong{display:block;margin-bottom:6px}

.community-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.community-strip img{
  border-radius:20px;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  width:100%;
  box-shadow:var(--ppfc-shadow);
}

.cta-band{
  background:linear-gradient(135deg,var(--ppfc-purple) 0%, #673ab7 100%);
  color:#fff;
  border-radius:28px;
  padding:42px;
  box-shadow:var(--ppfc-shadow);
}
.cta-band h2{margin-top:0;color:#fff}
.cta-band p{max-width:720px;margin-bottom:20px}

.sponsor-strip{
  background:#fff;
  color:var(--ppfc-text);
  padding:28px 0;
  border-top:1px solid var(--ppfc-border);
  border-bottom:1px solid var(--ppfc-border);
}
.sponsor-strip h3{
  margin:0 0 18px;
  text-align:center;
  font-size:.95rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ppfc-muted);
}
.sponsor-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:18px;
  align-items:center;
}
.sponsor-item{
  background:#fff;
  border:1px solid var(--ppfc-border);
  border-radius:18px;
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
}
.sponsor-item img{
  max-height:62px;
  width:auto;
  object-fit:contain;
}

.site-footer{
  background:#2f2f35;
  color:#fff;
  margin-top:0;
}
.footer-main{
  padding:34px 0 42px;
  display:grid;
  grid-template-columns:1.4fr .8fr .8fr;
  gap:28px;
}
.footer-main h4{
  margin:0 0 12px;
}
.footer-main p,.footer-main a{
  color:#d0d5dd;
}
.footer-main a{display:block;margin-bottom:8px}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:14px 0 24px;
  color:#d0d5dd;
  font-size:.92rem;
}

.page-hero{
  background:linear-gradient(135deg, var(--ppfc-light) 0%, #efeff8 100%);
  padding:72px 0;
}
.page-hero h1{
  margin:0 0 10px;
  font-size:clamp(2rem,4vw,3rem);
}

.content-card{
  background:#fff;
  border:1px solid var(--ppfc-border);
  border-radius:20px;
  padding:28px;
  box-shadow:var(--ppfc-shadow);
}

@media (max-width: 980px){
  .header-inner{flex-direction:column;align-items:flex-start;padding:12px 0}
  .main-menu{flex-wrap:wrap;gap:14px}
  .grid-3,.grid-4,.community-strip,.sponsor-grid,.footer-main,.split{
    grid-template-columns:1fr;
  }
  .hero{min-height:auto}
  .hero-copy{padding:72px 0}
  .cta-band{padding:30px}
}
