:root {
  --navy: #0a1f44;
  --navy-700: #12305f;
  --navy-600: #1c3a6e;
  --gold: #d4af37;
  --gold-soft: #e7c766;
  --emerald: #37a06e;
  --ink: #101828;
  --body: #475467;
  --muted: #667085;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-tint: #f6f8fc;
  --bg-navy-tint: #eef2f9;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 10px 30px -12px rgba(10, 31, 68, .25);
  --shadow-lg: 0 30px 60px -20px rgba(10, 31, 68, .35);
  --maxw: 1140px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --pad-y: 9px; --pad-x: 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--navy-700); box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #3a2c00; box-shadow: 0 14px 30px -12px rgba(212, 175, 55, .7); }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.04); }

.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(10, 31, 68, .2); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(10, 31, 68, .04); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-text { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.28rem; color: var(--navy); letter-spacing: -.02em; }
.brand-text span { color: var(--gold); }
.brand-text.light { color: #fff; }
.brand-text.light span { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a { padding: 8px 14px; border-radius: 999px; font-weight: 500; color: #334; font-size: .96rem; transition: background .2s, color .2s; }
.main-nav > a:not(.btn):hover { background: var(--bg-navy-tint); color: var(--navy); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(212, 175, 55, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(28, 58, 110, .10), transparent 55%),
    linear-gradient(180deg, var(--bg-tint), #fff 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10, 31, 68, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 68, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(700px 400px at 70% 10%, #000, transparent 75%);
  mask-image: radial-gradient(700px 400px at 70% 10%, #000, transparent 75%);
}
.hero-inner { max-width: 900px; }
.hero-copy { max-width: 760px; }

.eyebrow {
  display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 14px;
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 600; margin-bottom: .35em; }
.grad { background: linear-gradient(120deg, var(--navy), var(--emerald) 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--body); max-width: 640px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; }

.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 40px; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Fraunces", serif; font-size: 1.7rem; color: var(--navy); }
.hero-stats span { font-size: .9rem; color: var(--muted); }

/* ---------- Value strip ---------- */
.value-strip { padding: 8px 0 8px; margin-top: -20px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.value-icon {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700;
  background: var(--bg-navy-tint); color: var(--navy);
}
.value-item h3 { font-size: 1.02rem; margin-bottom: 2px; font-family: "Inter", sans-serif; font-weight: 700; }
.value-item p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 600; }
.section-sub { font-size: 1.08rem; color: var(--body); }

/* ---------- Courses ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.course-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card:hover::before { transform: scaleX(1); }
.course-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.course-card h3 { font-size: 1.3rem; font-weight: 600; }
.course-card p { color: var(--body); font-size: .98rem; }
.course-tag {
  display: inline-block; margin-top: 4px; font-size: .74rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; color: var(--navy);
  background: var(--bg-navy-tint); padding: 5px 12px; border-radius: 999px;
}
.course-card--more { background: linear-gradient(160deg, var(--navy), var(--navy-600)); color: #eaf0fb; border-color: transparent; }
.course-card--more h3 { color: #fff; }
.course-card--more p { color: #c3d0e8; }
.course-link { color: var(--gold-soft); font-weight: 600; }
.course-link:hover { color: #fff; }

/* ---------- Approach ---------- */
.approach-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: start; }
.approach-copy .section-sub { text-align: left; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; }
.step-num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 700;
  color: #fff; background: linear-gradient(140deg, var(--navy), var(--emerald));
}
.steps h3 { font-size: 1.08rem; font-family: "Inter", sans-serif; font-weight: 700; margin-bottom: 2px; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }

.approach-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-md); position: sticky; top: 96px;
}
.approach-card h3 { font-size: 1.25rem; }
.check-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: #fff; background: var(--emerald);
}

/* ---------- Experts ---------- */
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.expert-card {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.expert-avatar {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.2rem;
  background: linear-gradient(140deg, var(--a), var(--b));
}
.expert-card h3 { font-size: 1.14rem; font-weight: 600; }
.expert-card p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------- CTA Banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(40px, 6vw, 72px) 0; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; margin-bottom: .2em; }
.cta-banner p { color: #c3d0e8; margin: 0; font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--body); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy .section-sub { text-align: left; }
.contact-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list a:hover { color: var(--navy); text-decoration: underline; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28, 58, 110, .14);
}
.form-note { margin: 12px 0 0; font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: var(--emerald); font-weight: 600; }
.form-note.err { color: #d64545; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3d0e8; padding: 60px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.footer-brand .brand-mark { margin-bottom: 12px; }
.footer-brand p { max-width: 360px; font-size: .95rem; color: #a9b8d4; margin-top: 10px; }
.footer-contact { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; color: #a9b8d4; }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-nav h4 { color: #fff; font-family: "Inter", sans-serif; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-nav a { display: block; color: #a9b8d4; padding: 5px 0; font-size: .95rem; transition: color .2s; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px;
}
.footer-bottom p { margin: 0; font-size: .88rem; color: #8a9bbd; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .approach-card { position: static; }
  .course-grid, .expert-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch;
    gap: 4px; background: #fff; padding: 16px 22px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .28s var(--ease), opacity .28s;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav > a { padding: 12px 14px; font-size: 1rem; }
  .main-nav .btn { margin-top: 6px; }
  .course-grid, .expert-grid, .value-grid, .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
