/* Kings Business Academy — shared styles */
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { font-family: 'Inter', system-ui, sans-serif; background: #0a0a0f; color: #f5f5f5; }
.font-serif { font-family: 'Fraunces', Georgia, serif; }

.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.35; mix-blend-mode: overlay;
}

.gold-gradient {
  background: linear-gradient(135deg, #ecd9a3 0%, #c9a961 35%, #a8862f 70%, #c9a961 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-bg {
  background:
    radial-gradient(60% 80% at 20% 10%, rgba(201,169,97,0.18), transparent 60%),
    radial-gradient(50% 60% at 90% 30%, rgba(201,169,97,0.10), transparent 60%),
    linear-gradient(180deg, #0a0a0f 0%, #13131c 100%);
}

html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
html.js .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

.crown {
  width: 22px; height: 22px; display: inline-block;
  background: linear-gradient(135deg, #ecd9a3, #c9a961, #86692a);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M2 7l4 3 6-6 6 6 4-3v11H2z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M2 7l4 3 6-6 6 6 4-3v11H2z'/></svg>") center/contain no-repeat;
}

.nav-link { position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: linear-gradient(90deg, #c9a961, transparent);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-active { color: #ecd9a3; }
.nav-active::after { width: 100%; }

#nav.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,169,97,0.15);
}

.program-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border: 1px solid rgba(201,169,97,0.12);
  transition: all 0.4s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,169,97,0.45);
  background: linear-gradient(180deg, rgba(201,169,97,0.06), rgba(201,169,97,0.01));
  box-shadow: 0 30px 60px -20px rgba(201,169,97,0.15);
}
.card-featured { border-color: rgba(201,169,97,0.45); background: linear-gradient(180deg, rgba(201,169,97,0.07), rgba(201,169,97,0.015)); }

.btn-gold {
  background: linear-gradient(135deg, #ecd9a3 0%, #c9a961 50%, #a8862f 100%);
  color: #0a0a0f; font-weight: 600; transition: all 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(201,169,97,0.5);
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(201,169,97,0.7); }

.btn-ghost {
  border: 1px solid rgba(201,169,97,0.5); color: #ecd9a3; transition: all 0.3s ease;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-ghost:hover { background: rgba(201,169,97,0.08); border-color: #c9a961; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(201,169,97,0.4), transparent); }

.hero-img-frame { position: relative; border-radius: 12px; overflow: hidden; }
.hero-img-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(135deg, rgba(201,169,97,0.15), transparent 60%);
}
.hero-img-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border: 1px solid rgba(201,169,97,0.3); border-radius: 12px;
}

.glow-dot { background: #c9a961; box-shadow: 0 0 12px #c9a961; display: inline-block; }

.area-chip {
  border: 1px solid rgba(201,169,97,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border-radius: 9999px; padding: 0.85rem 1.4rem; text-align: center;
  color: rgba(255,255,255,0.75); font-size: 0.875rem;
  transition: all 0.3s ease;
}
.area-chip:hover { border-color: rgba(201,169,97,0.5); color: #ecd9a3; }

.label {
  display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: #dcbf6d; margin-bottom: 0.5rem;
}
.field {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(201,169,97,0.2);
  border-radius: 0.75rem; padding: 0.8rem 1.1rem; color: #f5f5f5;
  font-size: 0.9rem; outline: none; transition: border-color 0.3s ease, background 0.3s ease;
}
.field::placeholder { color: rgba(255,255,255,0.3); }
.field:focus { border-color: #c9a961; background: rgba(201,169,97,0.05); }
select.field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; padding-right: 2.8rem; }
select.field option { background: #13131c; color: #f5f5f5; }

/* Article prose */
.prose { color: rgba(255,255,255,0.65); line-height: 1.85; font-size: 1.02rem; }
.prose h2 { font-family: 'Fraunces', Georgia, serif; color: #fff; font-size: 1.65rem; line-height: 1.3; margin: 2.4rem 0 1rem; }
.prose h3 { font-family: 'Fraunces', Georgia, serif; color: #fff; font-size: 1.25rem; margin: 2rem 0 0.8rem; }
.prose p { margin: 1.1rem 0; }
.prose ul, .prose ol { margin: 1.1rem 0 1.1rem 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; }
.prose ul { list-style: none; }
.prose ul li::before { content: "\2713  "; font-size: 0.85em; color: #c9a961; }
.prose ol { list-style: decimal; }
.prose ol li::marker { color: #c9a961; }
.prose a { color: #dcbf6d; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #ecd9a3; }
.prose strong { color: rgba(255,255,255,0.9); }
.prose blockquote { border-left: 2px solid #c9a961; padding-left: 1.3rem; margin: 1.6rem 0; font-style: italic; color: rgba(255,255,255,0.75); }

.gold-gradient-light {
  background: linear-gradient(135deg, #ecd9a3 0%, #c9a961 50%, #dcbf6d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
