@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --kg-navy: #101d36;
  --kg-navy-deep: #091426;
  --kg-navy-soft: #1b3154;
  --kg-gold: #c9a45c;
  --kg-gold-light: #e6cd98;
  --kg-ink: #1e293b;
  --kg-muted: #667085;
  --kg-paper: #fbfaf7;
  --kg-white: #ffffff;
  --kg-line: #e7e3da;
  --kg-radius: 18px;
  --kg-shadow: 0 18px 55px rgba(16, 29, 54, .10);
  --kg-font-body: "DM Sans", Arial, sans-serif;
  --kg-font-display: "Playfair Display", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--kg-ink); background: var(--kg-paper); font-family: var(--kg-font-body); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid rgba(201,164,92,.55); outline-offset: 3px; }
.kg-container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.kg-eyebrow { color: #a47c37; font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.kg-display { font-family: var(--kg-font-display); font-weight: 600; letter-spacing: -.035em; }
.kg-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.kg-button:hover { transform: translateY(-2px); }
.kg-button-primary { background: var(--kg-gold); color: var(--kg-navy-deep); }
.kg-button-primary:hover { background: var(--kg-gold-light); }
.kg-button-outline { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.kg-button-outline:hover { border-color: var(--kg-gold-light); background: rgba(255,255,255,.06); }
.kg-button-dark { color: #fff; background: var(--kg-navy); }
.kg-button-dark:hover { background: var(--kg-navy-soft); }
.kg-site-header { position: sticky; top: 0; z-index: 30; background: rgba(9,20,38,.96); border-bottom: 1px solid rgba(230,205,152,.25); backdrop-filter: blur(14px); }
.kg-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.kg-brand { display: inline-flex; align-items: center; gap: 12px; color: white; min-width: max-content; }
.kg-brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(230,205,152,.7); border-radius: 50%; color: var(--kg-gold-light); font-family: var(--kg-font-display); font-size: 21px; }
.kg-brand-name { display: block; color: var(--kg-gold-light); font-size: 17px; font-weight: 700; letter-spacing: .16em; line-height: 1.2; }
.kg-brand-sub { display: block; margin-top: 4px; color: #d5dbea; font-size: 9px; letter-spacing: .28em; }
.kg-nav { display: flex; align-items: center; gap: 27px; color: #e6eaf1; font-size: 12px; font-weight: 600; }
.kg-nav a:not(.kg-button):hover { color: var(--kg-gold-light); }
.kg-menu-toggle { display: none; color: white; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; background: transparent; padding: 8px 12px; }
.kg-hero { position: relative; overflow: hidden; color: white; background: radial-gradient(ellipse at 78% 25%, rgba(201,164,92,.16), transparent 34%), linear-gradient(115deg, var(--kg-navy-deep), #142747 62%, #1b3154); }
.kg-hero::before { content: ""; position: absolute; width: 540px; height: 540px; right: -190px; top: -245px; border: 1px solid rgba(230,205,152,.16); border-radius: 50%; box-shadow: 0 0 0 38px rgba(230,205,152,.025), 0 0 0 82px rgba(230,205,152,.02); pointer-events: none; }
.kg-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: 74px; align-items: center; padding-block: 96px 104px; }
.kg-hero-copy h1 { max-width: 720px; margin: 20px 0 22px; font-size: clamp(43px, 5.4vw, 70px); line-height: 1.08; }
.kg-hero-copy h1 span { color: var(--kg-gold-light); }
.kg-hero-copy p { max-width: 590px; color: #d2dae6; font-size: 16px; line-height: 1.85; }
.kg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.kg-hero-note { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #c5cedb; font-size: 11px; }
.kg-note-line { width: 35px; height: 1px; background: var(--kg-gold); }
.kg-hero-panel { position: relative; padding: 28px; border: 1px solid rgba(230,205,152,.35); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)); box-shadow: 0 28px 80px rgba(0,0,0,.22); }
.kg-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.14); }
.kg-panel-top small { color: var(--kg-gold-light); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.kg-panel-seal { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(230,205,152,.55); border-radius: 50%; color: var(--kg-gold-light); font-family: var(--kg-font-display); font-size: 19px; }
.kg-path-list { display: grid; gap: 0; margin: 4px 0 0; padding: 0; list-style: none; }
.kg-path-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.kg-path-list li:last-child { border-bottom: 0; }
.kg-path-num { color: var(--kg-gold-light); font-family: var(--kg-font-display); font-size: 20px; }
.kg-path-list strong { display: block; color: white; font-size: 14px; }
.kg-path-list span { display: block; margin-top: 4px; color: #c1cad8; font-size: 11px; line-height: 1.55; }
.kg-section { padding: 88px 0; }
.kg-section-heading { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.kg-section-heading h2 { margin: 12px 0; color: var(--kg-navy); font-size: clamp(31px,4vw,43px); line-height: 1.2; }
.kg-section-heading p { margin: 0; color: var(--kg-muted); font-size: 14px; }
.kg-program-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.kg-program-card { min-height: 230px; padding: 27px; border: 1px solid var(--kg-line); border-radius: var(--kg-radius); background: white; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.kg-program-card:hover { transform: translateY(-5px); border-color: #d8c49a; box-shadow: var(--kg-shadow); }
.kg-program-index { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f5f0e5; color: #927033; font-family: var(--kg-font-display); font-size: 17px; }
.kg-program-card h3 { margin: 20px 0 8px; color: var(--kg-navy); font-size: 17px; }
.kg-program-card p { margin: 0; color: var(--kg-muted); font-size: 12px; line-height: 1.8; }
.kg-program-card a { display: inline-block; margin-top: 17px; color: #8c682c; font-size: 11px; font-weight: 700; }
.kg-band { background: #f1eee7; }
.kg-band-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.kg-band-copy h2 { margin: 13px 0 17px; color: var(--kg-navy); font-size: clamp(31px,4vw,43px); line-height: 1.2; }
.kg-band-copy p { color: var(--kg-muted); font-size: 14px; line-height: 1.9; }
.kg-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.kg-principle { padding: 22px; border: 1px solid #e0dbd0; border-radius: 15px; background: rgba(255,255,255,.72); }
.kg-principle strong { display: block; color: var(--kg-navy); font-size: 13px; }
.kg-principle span { display: block; margin-top: 7px; color: var(--kg-muted); font-size: 11px; line-height: 1.7; }
.kg-cta { padding: 65px 0; color: white; background: var(--kg-navy); }
.kg-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.kg-cta h2 { margin: 10px 0 7px; font-family: var(--kg-font-display); font-size: clamp(27px,3.4vw,38px); }
.kg-cta p { margin: 0; color: #c6cfdd; font-size: 13px; }
.kg-footer { padding: 30px 0; color: #bfc8d5; background: #081222; font-size: 11px; }
.kg-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.kg-footer-brand { color: var(--kg-gold-light); font-weight: 700; letter-spacing: .15em; }
.kg-footer a:hover { color: var(--kg-gold-light); }

.kg-auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); background: var(--kg-paper); }
.kg-auth-aside { display: flex; flex-direction: column; justify-content: space-between; padding: 46px clamp(30px,7vw,100px); color: white; background: radial-gradient(circle at 75% 25%, rgba(201,164,92,.16), transparent 30%), linear-gradient(145deg, var(--kg-navy-deep), #1b3154); }
.kg-auth-aside h1 { max-width: 560px; margin: 70px 0 18px; font-size: clamp(38px,5vw,58px); line-height: 1.1; }
.kg-auth-aside h1 span { color: var(--kg-gold-light); }
.kg-auth-aside p { max-width: 460px; color: #cbd4e1; font-size: 14px; line-height: 1.9; }
.kg-auth-aside-foot { color: #aeb9c9; font-size: 11px; }
.kg-auth-main { display: grid; place-items: center; padding: 42px 24px; }
.kg-auth-card { width: min(420px,100%); padding: 42px; border: 1px solid var(--kg-line); border-radius: 22px; background: white; box-shadow: var(--kg-shadow); }
.kg-auth-card h2 { margin: 0 0 7px; color: var(--kg-navy); font-family: var(--kg-font-display); font-size: 30px; }
.kg-auth-card .kg-auth-intro { margin: 0 0 26px; color: var(--kg-muted); font-size: 12px; }
.kg-field { display: block; margin: 17px 0; color: #344054; font-size: 12px; font-weight: 700; }
.kg-field input { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 0 14px; border: 1px solid #d9dee7; border-radius: 10px; color: var(--kg-ink); background: #fff; font-size: 13px; }
.kg-field input:focus { border-color: var(--kg-gold); outline: 3px solid rgba(201,164,92,.15); }
.kg-auth-submit { width: 100%; margin-top: 8px; border: 0; }
.kg-auth-forgot { width: 100%; margin-top: 14px; padding: 8px; border: 0; color: #8c682c; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
#message { min-height: 20px; margin: 14px 0 0; color: #9f3a32; font-size: 12px; overflow-wrap: anywhere; }
.kg-back-link { display: inline-block; margin-top: 24px; color: #8c682c; font-size: 12px; font-weight: 700; }

@media (max-width: 900px) {
  .kg-nav { gap: 15px; }
  .kg-hero-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 72px; }
  .kg-hero-panel { max-width: 620px; }
  .kg-program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kg-band-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 680px) {
  .kg-container { width: min(100% - 32px, 1160px); }
  .kg-header-inner { min-height: 72px; flex-wrap: wrap; padding-block: 12px; }
  .kg-menu-toggle { display: inline-flex; }
  .kg-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 14px; }
  .kg-nav.kg-nav-open { display: flex; }
  .kg-nav a:not(.kg-button) { padding: 10px 0; }
  .kg-nav .kg-button { margin-top: 8px; }
  .kg-hero-grid { padding-block: 58px 68px; }
  .kg-hero-copy h1 { font-size: clamp(40px,12vw,54px); }
  .kg-hero-copy p { font-size: 14px; }
  .kg-hero-panel { padding: 21px; }
  .kg-section { padding: 65px 0; }
  .kg-program-grid { grid-template-columns: 1fr; }
  .kg-principles { grid-template-columns: 1fr; }
  .kg-cta-inner { align-items: flex-start; flex-direction: column; }
  .kg-auth-page { grid-template-columns: 1fr; }
  .kg-auth-aside { min-height: 250px; padding: 26px 24px; }
  .kg-auth-aside h1 { margin: 38px 0 12px; font-size: 36px; }
  .kg-auth-aside p { font-size: 12px; }
  .kg-auth-aside-foot { display: none; }
  .kg-auth-main { padding: 30px 16px 42px; }
  .kg-auth-card { padding: 30px 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
