/* AI Strategy for Business Leaders — course site
   Palette matches the slide decks (Midnight Executive): navy / ice / amber. */

:root {
  --navy: #1E2761;
  --navy-deep: #141B47;
  --ice: #CADCFC;
  --ice-light: #EDF3FE;
  --white: #FFFFFF;
  --amber: #E8A33D;
  --amber-deep: #C7822A;
  --muted: #5B6B94;
  --muted-light: #8C9BC4;
  --good: #2F8F5B;
  --bad: #C7452C;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 27, 71, 0.10);
  --shadow-sm: 0 2px 10px rgba(20, 27, 71, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  color: var(--navy-deep);
  background: var(--ice-light);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: Cambria, Georgia, "Times New Roman", serif;
  color: var(--navy-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a { color: var(--navy); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top nav ---------- */

.site-header {
  background: var(--navy-deep);
  color: var(--ice-light);
  padding: 18px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header .brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.site-header .brand .kicker {
  font-family: Calibri, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}

.site-header .brand .title {
  font-family: Cambria, serif;
  font-size: 20px;
  font-weight: 700;
}

.site-header nav a {
  color: var(--ice);
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
}

.site-header nav a:hover { color: var(--white); }

/* ---------- Hero (index page) ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 70%);
  color: var(--white);
  padding: 64px 0 56px;
}

.hero .kicker {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero h1 {
  color: var(--white);
  font-size: 40px;
  max-width: 780px;
}

.hero p.lede {
  color: var(--ice);
  font-size: 17px;
  max-width: 620px;
  margin-top: 14px;
}

.hero .stats {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero .stat .num {
  font-family: Cambria, serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--amber);
}

.hero .stat .label {
  font-size: 12px;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Module grid (index) ---------- */

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  padding: 56px 0 72px;
}

.module-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(20,27,71,0.06);
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.module-card .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ice-light);
  color: var(--navy);
  font-family: Cambria, serif;
  font-weight: 700;
  font-size: 14px;
}

.module-card.capstone .badge {
  background: var(--amber);
  color: var(--navy-deep);
}

.module-card h3 { font-size: 19px; margin-top: 4px; }
.module-card .subtitle { color: var(--muted); font-size: 13px; font-style: italic; margin-top: -8px; }
.module-card .objective { font-size: 14px; color: var(--muted); flex-grow: 1; }
.module-card .meta { font-size: 12px; color: var(--muted-light); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Module page layout ---------- */

.module-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 30px 0;
}

.module-hero .eyebrow {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.module-hero h1 { color: var(--white); font-size: 30px; margin-top: 8px; }
.module-hero .subtitle { color: var(--ice); font-style: italic; }

.module-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  padding: 36px 0 80px;
  align-items: start;
}

@media (max-width: 880px) {
  .module-layout { grid-template-columns: 1fr; }
  .author-card { order: -1; position: static !important; }
}

/* left column */

.video-wrap {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-wrap video { width: 100%; height: 100%; display: block; }

.video-note {
  font-size: 12.5px;
  font-style: italic;
  color: var(--muted);
  margin: 10px 2px 0;
  line-height: 1.5;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 28px;
  margin-top: 24px;
  border: 1px solid rgba(20,27,71,0.06);
}

.card h2 { font-size: 20px; }

.lesson-list { list-style: none; padding: 0; margin: 0; }
.lesson-list li {
  padding: 12px 0;
  border-top: 1px solid var(--ice-light);
}
.lesson-list li:first-child { border-top: none; padding-top: 4px; }
.lesson-list .lesson-title { font-weight: 700; color: var(--navy-deep); font-size: 14.5px; }
.lesson-list .lesson-desc { font-size: 14px; color: var(--muted); margin-top: 3px; }

.deliverable-box {
  background: var(--ice-light);
  border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--navy-deep);
}
.deliverable-box strong { color: var(--navy); }

/* quiz */

.quiz-question {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ice-light);
}
.quiz-question:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.quiz-question .q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
}

.quiz-question .q-text { font-weight: 700; font-size: 15px; display: inline; }

.quiz-options { list-style: none; padding: 0; margin: 12px 0 0; }
.quiz-options li { margin-bottom: 8px; }

.quiz-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid var(--ice);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.quiz-options label:hover { background: var(--ice-light); }

.quiz-options input { margin-top: 3px; accent-color: var(--navy); }

.quiz-options li.correct label { background: #EAF7EF; border-color: var(--good); }
.quiz-options li.incorrect label { background: #FBEBE7; border-color: var(--bad); }

.quiz-feedback {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
}
.quiz-feedback.correct { color: var(--good); }
.quiz-feedback.incorrect { color: var(--bad); }

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 13px 26px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--navy-deep); }
.btn:disabled { background: var(--muted-light); cursor: not-allowed; }
.btn.amber { background: var(--amber); color: var(--navy-deep); }
.btn.amber:hover { background: var(--amber-deep); }

.quiz-score {
  display: none;
  background: var(--ice-light);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
}

.feedback-gate {
  text-align: center;
  padding: 10px 0 4px;
}
.feedback-gate p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.feedback-embed { display: none; margin-top: 20px; }
.feedback-embed iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  border-radius: var(--radius);
}

/* right column — about author */

.author-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  border: 1px solid rgba(20,27,71,0.06);
  position: sticky;
  top: 24px;
}

.author-card img.photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  background: var(--ice);
}

.author-card h3 { font-size: 17px; margin-bottom: 2px; }
.author-card .role { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.author-card p { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.author-card .links { margin-top: 14px; }
.author-card .links a {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin-right: 14px;
  text-decoration: none;
}

.author-card .module-nav {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--ice-light);
}
.author-card .module-nav .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-light); margin-bottom: 8px; }
.author-card .module-nav .pips { display: flex; flex-wrap: wrap; gap: 6px; }
.author-card .module-nav a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ice-light);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.author-card .module-nav a.current { background: var(--amber); color: var(--navy-deep); }
.author-card .module-nav a:hover { background: var(--ice); }

/* capstone-specific */

.track-box {
  background: var(--ice-light);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.track-box h4 { font-size: 14.5px; margin-bottom: 6px; }
.track-box p { font-size: 14px; color: var(--muted); margin: 0; }

.submit-list { padding-left: 20px; font-size: 14px; color: var(--muted); }
.submit-list li { margin-bottom: 8px; }

.framing-quote {
  font-family: Cambria, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--navy);
  border-left: 3px solid var(--amber);
  padding-left: 16px;
  margin: 4px 0 18px;
}

/* footer */

.site-footer {
  background: var(--navy-deep);
  color: var(--muted-light);
  font-size: 13px;
  padding: 26px 0;
  text-align: center;
}
