/* =========================================================
   GK GOVERNANCE ACADEMY — DESIGN TOKENS
   Palette: deep institutional green + gold seal + navy accent
   Type: Fraunces (display, serif with quiet authority) /
         Inter (body) / IBM Plex Mono (codes, labels)
   ========================================================= */

:root {
  --green-deep:   #0d2f24;
  --green-mid:    #14503c;
  --green-line:   #1f6a4e;
  --gold:         #c39a3b;
  --gold-light:   #e6c976;
  --gold-pale:    #f3e6bf;
  --navy:         #1b3556;
  --navy-light:   #2b4d78;
  --cream:        #f6f3ea;
  --paper:        #fcfbf7;
  --ink:          #16201c;
  --ink-soft:     #4c574f;
  --line:         #e2ddcc;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 14px;
  --shadow-soft: 0 10px 30px -12px rgba(13,47,36,.25);
  --shadow-card: 0 2px 0 rgba(13,47,36,.05), 0 16px 40px -20px rgba(13,47,36,.35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  color: var(--green-deep);
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -.01em;
}

p { line-height: 1.65; color: var(--ink-soft); margin: 0 0 1em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 12px;
}

/* subtle grain / vignette overlay for depth, sits above everything, ignores clicks */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .5;
  mix-blend-mode: multiply;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--green-deep);
  box-shadow: var(--shadow-soft);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(195,154,59,.55); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246,243,234,.45);
}
.btn-ghost:hover { background: rgba(246,243,234,.1); border-color: var(--cream); }
.btn-block { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,47,36,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230,201,118,.18);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-line1 { font-family: var(--serif); font-size: 15px; color: var(--cream); font-weight: 450; }
.brand-line2 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--gold-light); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14.5px; color: rgba(246,243,234,.85); font-weight: 500;
  transition: color .2s;
}
.main-nav a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold);
  color: var(--green-deep) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); display: block; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, #163f30 0%, var(--green-deep) 46%, #081c15 100%);
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero-skyline {
  position: absolute; right: -8%; top: -10%; width: 62%; height: 120%;
  background:
    linear-gradient(180deg, rgba(195,154,59,.14), rgba(195,154,59,0) 60%),
    repeating-linear-gradient(90deg, rgba(230,201,118,.05) 0 2px, transparent 2px 34px);
  clip-path: polygon(0% 100%, 4% 62%, 10% 62%, 12% 40%, 18% 40%, 20% 55%, 27% 55%, 29% 20%, 35% 20%, 37% 48%, 44% 48%, 46% 8%, 52% 8%, 54% 44%, 62% 44%, 64% 30%, 70% 30%, 72% 58%, 80% 58%, 82% 45%, 90% 45%, 92% 66%, 100% 66%, 100% 100%);
  opacity: .8;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  color: var(--cream);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 460;
}
.hero-copy h1 em { color: var(--gold-light); font-style: normal; font-weight: 620; }
.hero-lede {
  color: rgba(246,243,234,.82);
  font-size: 18px;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-pillars {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.hero-pillars li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: rgba(246,243,234,.7);
  font-family: var(--mono); letter-spacing: .02em;
}
.pillar-ico { font-size: 15px; }

.hero-seal { display: flex; justify-content: center; }
.seal-img {
  width: min(320px, 90%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
  animation: sealFloat 7s ease-in-out infinite;
}
@keyframes sealFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =========================================================
   STRIP (Executive Certifications banner)
   ========================================================= */
.strip {
  background: var(--green-deep);
  border-top: 1px solid rgba(230,201,118,.2);
  border-bottom: 1px solid rgba(230,201,118,.2);
}
.strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  padding: 30px 32px;
}
.strip-heading h2 { color: var(--cream); font-size: 26px; margin-bottom: 4px; }
.strip-heading p { color: var(--gold-light); font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; margin: 0; }
.strip-items { display: flex; gap: 36px; flex-wrap: wrap; }
.strip-item {
  color: var(--cream); font-size: 13px; font-weight: 600; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 100px; line-height: 1.35;
}
.strip-ico {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(230,201,118,.12); border: 1px solid rgba(230,201,118,.35);
  font-size: 19px;
}

/* =========================================================
   FRAMEWORK
   ========================================================= */
.framework { padding: 110px 0; background: var(--paper); }
.framework-inner {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start;
}
.framework-copy h2 { font-size: clamp(30px, 3.4vw, 42px); }
.framework-copy > p { max-width: 46ch; margin-bottom: 40px; }

.who h3 { font-size: 15px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 16px; }
.who-list li {
  position: relative; padding-left: 24px; margin-bottom: 12px;
  font-size: 15px; color: var(--ink);
}
.who-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ---- Wheel diagram (signature element) ---- */
.wheel-wrap { display: flex; flex-direction: column; align-items: center; }
.wheel {
  position: relative;
  width: min(380px, 82vw);
  height: min(380px, 82vw);
  display: flex; align-items: center; justify-content: center;
}
.wheel-ring { position: absolute; inset: 0; }

.wheel-seg {
  position: absolute;
  top: 50%; left: 50%;
  width: 34%; height: 34%;
  margin: -17% 0 0 -17%;
  transform: rotate(calc(var(--i) * 72deg)) translateY(-100%);
  border-radius: 50%;
  border: none;
  background: linear-gradient(160deg, var(--green-mid), var(--green-deep));
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(230,201,118,.25), 0 6px 16px -8px rgba(13,47,36,.4);
}
.wheel-seg:nth-child(2) { background: linear-gradient(160deg, var(--navy-light), var(--navy)); }
.wheel-seg:nth-child(4) { background: linear-gradient(160deg, var(--navy-light), var(--navy)); }
.wheel-seg span {
  display: inline-block;
  width: 80%;
  transform: rotate(calc(var(--i) * -72deg));
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  pointer-events: none;
}
.wheel-seg:hover, .wheel-seg:focus-visible, .wheel-seg.is-active {
  transform: rotate(calc(var(--i) * 72deg)) translateY(-100%) scale(1.12);
  box-shadow: 0 14px 28px -10px rgba(13,47,36,.55), inset 0 0 0 1.5px var(--gold-light);
  outline: none;
  z-index: 5;
}
.wheel-seg.is-active { background: linear-gradient(160deg, var(--gold-light), var(--gold)) !important; }
.wheel-seg.is-active span { color: var(--green-deep); }

.wheel-center-label {
  position: relative; z-index: 3;
  width: 40%; height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fffdf6, var(--gold-pale) 60%, var(--gold-light) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(13,47,36,.4), inset 0 0 0 2px var(--gold);
  pointer-events: none;
}
.wheel-gk { font-family: var(--serif); font-size: 26px; color: var(--green-deep); font-weight: 650; }
.wheel-sub {
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  color: var(--navy); text-align: center; margin-top: 4px; line-height: 1.4;
}

.wheel-caption {
  margin-top: 28px;
  min-height: 44px;
  max-width: 42ch;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: opacity .2s;
}
.wheel-caption strong { color: var(--green-deep); font-family: var(--sans); }

/* =========================================================
   CERTIFICATIONS
   ========================================================= */
.certs { padding: 100px 0 120px; background: var(--cream); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 38px); }

.cert-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.cert-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; gap: 20px;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px -20px rgba(13,47,36,.4); }

.cert-ico {
  flex-shrink: 0;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--cream);
}
.cert-ico--green { background: linear-gradient(160deg, var(--green-mid), var(--green-deep)); }
.cert-ico--navy { background: linear-gradient(160deg, var(--navy-light), var(--navy)); }

.cert-code {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  color: var(--gold); font-weight: 600; margin: 0 0 6px;
}
.cert-code--navy { color: var(--navy-light); }
.cert-body h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.25; }
.cert-body p { font-size: 14.5px; margin: 0; }

/* =========================================================
   WHY GK STRIP
   ========================================================= */
.cta-strip {
  background: var(--green-deep);
  padding: 54px 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  isolation: isolate;
}
.cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 36px;
}
.cta-strip-heading { display: flex; align-items: center; gap: 18px; }
.trophy { font-size: 40px; }
.cta-strip-heading h2 { color: var(--gold-light); font-size: 26px; margin-bottom: 2px; }
.cta-strip-heading p { color: var(--cream); margin: 0; font-weight: 600; }
.cta-strip-items { display: flex; gap: 40px; flex-wrap: wrap; }
.cta-strip-item {
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid rgba(230,201,118,.3);
  padding-left: 18px;
  min-width: 150px;
}
.cta-strip-item strong { color: var(--cream); font-size: 14px; }
.cta-strip-item span { color: rgba(246,243,234,.6); font-size: 12.5px; font-family: var(--mono); }

/* =========================================================
   ENROLL
   ========================================================= */
.enroll { padding: 110px 0; background: var(--paper); }
.enroll-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start; }
.enroll-copy h2 { font-size: clamp(26px, 3vw, 34px); }

.contact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; }
.contact-list a { font-weight: 600; color: var(--navy); }
.contact-list a:hover { color: var(--gold); }
.contact-ico {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

.enroll-form-wrap { display: flex; flex-direction: column; gap: 26px; }
.enroll-form {
  background: var(--green-deep);
  border-radius: 20px;
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-soft);
}
.enroll-form h3 { color: var(--cream); font-size: 20px; margin-bottom: 4px; }
.enroll-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; color: var(--gold-light); font-family: var(--mono); letter-spacing: .03em;
}
.enroll-form input, .enroll-form select {
  font-family: var(--sans);
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid rgba(230,201,118,.3);
  background: rgba(246,243,234,.06);
  color: var(--cream);
  font-size: 14.5px;
}
.enroll-form input::placeholder { color: rgba(246,243,234,.4); }
.enroll-form select { color: var(--cream); }
.enroll-form select option { color: var(--ink); }
.enroll-form input:focus, .enroll-form select:focus {
  outline: none; border-color: var(--gold-light);
  background: rgba(246,243,234,.1);
}
.form-note { font-size: 12px; color: rgba(246,243,234,.55); text-align: center; margin: 0; }

.qr-block {
  display: flex; align-items: center; gap: 20px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 26px;
}
.qr-img { width: 88px; border-radius: 8px; flex-shrink: 0; }
.qr-block-text p { margin: 0; font-size: 13px; color: var(--ink-soft); }
.qr-block-text strong { display: block; font-family: var(--serif); font-size: 16px; color: var(--green-deep); margin-bottom: 4px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #081c15; padding: 64px 0 0; }
.footer-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
  padding-bottom: 46px; border-bottom: 1px solid rgba(230,201,118,.15);
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-seal { width: 64px; height: 64px; border-radius: 50%; }
.footer-wordmark { width: 220px; }
.footer-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(246,243,234,.5); margin-top: 6px; }

.footer-links { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-links h4 { color: var(--gold-light); font-size: 13px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links a, .footer-links span { display: block; color: rgba(246,243,234,.7); font-size: 14px; margin-bottom: 10px; }
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 24px 32px 32px;
  font-size: 12.5px; color: rgba(246,243,234,.45);
}
.footer-motto { font-family: var(--mono); letter-spacing: .08em; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-seal { order: -1; }
  .framework-inner { grid-template-columns: 1fr; }
  .enroll-inner { grid-template-columns: 1fr; }
  .cert-list { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 980px) {
  .main-nav.is-open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--green-deep); flex-direction: column; padding: 20px 32px 30px; gap: 18px;
    border-bottom: 1px solid rgba(230,201,118,.2);
  }
}

@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 70px 0 50px; }
  .strip-inner, .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .cert-card { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
