/* ════════════════════════════════════════════
   PNOL ACADEMY — MASTER STYLESHEET (LIGHT MODE)
   Brand: JCI Official Colors | 2026
════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ── OFFICIAL JCI BRAND TOKENS ── */
:root {
  --jci-blue:   #0097D7;
  --jci-black:  #130F2D;
  --jci-navy:   #1F4789;
  --jci-teal:   #57BCBC;
  --jci-yellow: #EFC40F;
  --white:      #FFFFFF;

  /* ── LIGHT MODE SEMANTIC TOKENS ── */
  --deep:    #FFFFFF;
  --navy:    #FFFFFF;
  --blue:    var(--jci-navy);
  --blue2:   var(--jci-blue);
  --sky:     var(--jci-blue);
  --teal:    var(--jci-teal);
  --gold:    var(--jci-yellow);
  --gold2:   #d4a800;
  --off:     #f0f8fd;
  --muted:   rgba(19,15,45,0.65);
  --muted2:  rgba(19,15,45,0.4);
  --line:    rgba(0,0,0,0.1);
  --line2:   rgba(0,151,215,0.2);

  /* Body background + text */
  --bg:      #FFFFFF;
  --bg-alt:  #F4F8FC;
  --text:    #130F2D;

  --font-display: 'Arvo', serif;
  --font-serif:   'Arvo', serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
  --radius: 6px;
  --nav-h: 72px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 12px; height: 12px;
  background: var(--jci-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: multiply;
}
#cursor-ring {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,151,215,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), border-color 0.3s;
}
body.cursor-hover #cursor { width: 20px; height: 20px; background: var(--jci-yellow); }
body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: rgba(239,196,15,0.5); }

/* ── PAGE TRANSITION ── */
#page-transition {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--jci-navy);
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease-in-out);
  pointer-events: none;
}

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
}
nav.site-nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}

.nav-brand { display: flex; align-items: center; }
.nav-logo-img {
  height: 80px; width: auto;
  object-fit: contain; display: block;
  transition: opacity 0.25s;
}
.nav-logo-img:hover { opacity: 0.8; }

.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.9rem;
  border-radius: 3px;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 3px; left: 50%; right: 50%;
  height: 1.5px; background: var(--jci-blue);
  transition: left 0.25s var(--ease-out), right 0.25s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { left: 0.9rem; right: 0.9rem; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { left: 0.9rem; right: 0.9rem; background: var(--jci-yellow); }

.nav-cta {
  background: var(--jci-blue) !important;
  border: 1.5px solid var(--jci-blue) !important;
  color: #fff !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 3px;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta:hover { background: var(--jci-navy) !important; border-color: var(--jci-navy) !important; }
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: none;
  padding: 8px 10px;
  border: 1px solid rgba(0,151,215,0.25);
  border-radius: 6px;
  background: rgba(0,151,215,0.04);
  transition: background 0.25s, border-color 0.25s;
}
.nav-hamburger:hover {
  background: rgba(0,151,215,0.1);
  border-color: rgba(0,151,215,0.5);
}
.nav-hamburger span {
  display: block; height: 2px;
  background: var(--jci-blue);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.nav-hamburger span:nth-child(1) { width: 22px; }
.nav-hamburger span:nth-child(2) { width: 16px; }
.nav-hamburger span:nth-child(3) { width: 22px; }
.nav-hamburger:hover span:nth-child(2) { width: 22px; }
.nav-hamburger.open { background: rgba(0,151,215,0.08); border-color: var(--jci-blue); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: linear-gradient(155deg, #070d1a 0%, #0b1628 55%, #091220 100%);
  z-index: 499;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  padding: 2.5rem 2rem 2rem;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
/* top gradient rule */
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--jci-teal) 30%, var(--jci-blue) 70%, transparent);
}
/* diagonal accent slash — top left */
.mm-geo {
  position: absolute;
  pointer-events: none;
}
.mm-geo--tl {
  top: -60px; left: -60px;
  width: 220px; height: 220px;
  border: 1px solid rgba(87,188,188,0.08);
  border-radius: 50%;
}
.mm-geo--tl::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(87,188,188,0.05);
  border-radius: 50%;
}
/* bottom-right accent */
.mm-geo--br {
  bottom: 60px; right: -40px;
  width: 160px; height: 160px;
  border: 1px solid rgba(0,151,215,0.07);
  border-radius: 50%;
}
.mm-geo--br::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(0,151,215,0.04);
  border-radius: 50%;
}
/* vertical rule left of links */
.mm-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(87,188,188,0.15);
  margin-top: 1rem;
  flex: 1;
  justify-content: center;
}
.mm-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  text-decoration: none;
  position: relative;
  transition: none;
}
.mm-link::after {
  content: '';
  position: absolute;
  left: -1.5rem; top: 50%; transform: translateY(-50%);
  width: 0; height: 1px;
  background: var(--jci-teal);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mm-link:hover::after,
.mm-link:focus::after { width: 1.3rem; }
.mm-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--jci-teal);
  opacity: 0.5;
  transition: opacity 0.25s;
  min-width: 1.8rem;
}
.mm-label {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s, letter-spacing 0.3s;
  line-height: 1;
}
.mm-link:hover .mm-num { opacity: 1; }
.mm-link:hover .mm-label {
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.07em;
}
.mm-link--cta .mm-label {
  color: var(--jci-blue);
  opacity: 0.85;
}
.mm-link--cta:hover .mm-label {
  color: var(--jci-teal);
  opacity: 1;
}
/* footer strip */
.mm-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 1rem;
}
.mm-tagline {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jci-teal);
  opacity: 0.6;
  white-space: nowrap;
}
.mm-divider {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.mm-brand {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

/* ── NOISE OVERLAY — subtle on light ── */
.noise {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 4rem 4rem;
  background: var(--bg);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-content { position: relative; z-index: 2; }

/* ── SECTION BASE ── */
.section { padding: 7rem 4rem; position: relative; background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--jci-teal);
  margin-bottom: 1.1rem;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--jci-teal);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--jci-blue); }
.section-title strong { font-style: italic; color: var(--jci-blue); font-weight: 700; }
.divider {
  width: 50px; height: 2px;
  background: linear-gradient(90deg, var(--jci-blue), transparent);
  margin-bottom: 2.5rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── GLASS CARD (light version) ── */
.glass-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
  border-color: rgba(0,151,215,0.3);
  box-shadow: 0 8px 32px rgba(0,151,215,0.12);
  transform: translateY(-4px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.9rem 2rem; border-radius: 3px;
  border: none; cursor: none;
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.08);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}
.btn:hover::before { transform: translateX(0); }
.btn-primary { background: var(--jci-blue); color: #fff; }
.btn-primary:hover { background: #007fb5; }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(19,15,45,0.25);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--jci-blue); color: var(--jci-blue); }
.btn-gold { background: var(--jci-yellow); color: var(--jci-black); }
.btn-gold:hover { background: #d4a800; }

/* ── STAT BAND ── */
.stat-band { background: var(--jci-navy); overflow: hidden; }
.stat-band-inner { display: flex; justify-content: space-around; flex-wrap: wrap; }
.stat-item {
  flex: 1; min-width: 140px; text-align: center;
  padding: 2.2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.07); }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem; color: #ffffff;
  line-height: 1; display: block;
}
.stat-label {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem; display: block;
}

/* ── PAGE HERO ── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 4rem 5rem;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f0f7fd 0%, #e8f2fa 100%);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 50%, rgba(0,151,215,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 20%, transparent 80%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 900px; }
.page-hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--jci-teal); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.page-hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--jci-teal); display: block; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  letter-spacing: 0.01em; line-height: 0.9; margin-bottom: 1.5rem;
  color: var(--text);
}
.page-hero-title span { color: var(--jci-teal); display: block; }
.page-hero-sub {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.1rem; color: var(--muted);
  max-width: 560px; line-height: 1.7;
  border-left: 3px solid var(--jci-yellow); padding-left: 1.2rem;
}

/* ── FOOTER ── */
footer.site-footer { background: var(--jci-black); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding: 4rem;
}
.footer-brand-col .footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: 0.1em;
  color: var(--jci-blue); margin-bottom: 1rem;
}
.footer-brand-col p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.25s; }
.footer-col ul li a:hover { color: var(--jci-blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 1.2rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; }
.footer-credit { font-size: 0.72rem; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; }
.footer-credit strong { color: var(--jci-blue); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; }

/* ── TAGS ── */
.tag { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 2px; }
.tag-gold { background: var(--jci-yellow); color: var(--jci-black); }
.tag-sky  { background: var(--jci-blue); color: #fff; }
.tag-teal { background: var(--jci-teal); color: var(--jci-black); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--jci-navy); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--jci-blue); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 768px) {
  nav.site-nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 5rem 1.5rem; }
  .hero { padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem; }
  .page-hero { padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem; }
  .footer-main { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; gap: 2rem; }
  .footer-bottom { padding: 1rem 1.5rem; flex-direction: column; text-align: center; }
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
}
@media (max-width: 480px) {
  .stat-band-inner { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
