/* Ignite Fellows — static site */
:root {
  --navy: #002147;
  --navy-2: #0b3261;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --ink: #1a2233;
  --muted: #5a6579;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, .serif {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

section { padding: 84px 0; }
section.soft { background: var(--bg-soft); }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title { font-size: 36px; margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 48px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}

/* Announcement banner */
.announce { background: var(--gold); color: var(--navy); font-size: 14px; font-weight: 600; }
.announce .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
  flex-wrap: wrap;
}
.announce a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 6px 16px rgba(0, 33, 71, 0.15); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* Header */
header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .crest { width: 44px; height: 44px; flex-shrink: 0; }
.logo .wordmark-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.logo .wordmark-text span { color: var(--gold); }
.logo .est {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--navy-2); }
.nav-links .btn { padding: 10px 20px; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 88px 0;
}
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: center; }
.hero .deadline {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 { color: #fff; font-size: 48px; margin-bottom: 20px; }
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero p.lede { font-size: 18px; color: #cfd8e6; max-width: 560px; margin-bottom: 36px; }
.hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .crest-large { width: 100%; max-width: 340px; margin: 0 auto; display: block; }
.hero .credit-line {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  color: #9fb0c6;
  max-width: 560px;
}

/* Interior page hero */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 72px 0;
}
.page-hero h1 { color: #fff; font-size: 42px; margin-bottom: 12px; }
.page-hero p { color: #cfd8e6; max-width: 620px; font-size: 17px; }
.page-hero .kicker { color: var(--gold-light); }

/* Pillars */
.pillar { padding: 8px 0; }
.pillar .glyph {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  margin-bottom: 18px;
}
.pillar h3 { font-size: 21px; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 33, 71, 0.08); }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.price { font-size: 34px; font-weight: 700; color: var(--navy); }
.price .per { font-size: 15px; font-weight: 500; color: var(--muted); }
.card ul { list-style: none; margin: 20px 0 28px; }
.card ul li { padding: 7px 0 7px 28px; position: relative; color: var(--ink); }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.track-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* Phases */
.phase-list { max-width: 800px; margin: 0 auto; text-align: left; }
.phase {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.phase:last-child { border-bottom: none; }
.phase .weeks { font-family: "Playfair Display", Georgia, serif; font-weight: 700; color: var(--gold); font-size: 17px; }
.phase h3 { font-size: 20px; margin-bottom: 6px; }
.phase p { color: var(--muted); font-size: 15px; }

/* Results band */
.results-band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.results-band .section-title, .results-band h2 { color: #fff; }
.results-band .section-sub { color: #cfd8e6; }
.results-band .kicker { color: var(--gold-light); }
.result-cell { text-align: center; }
.result-cell .num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--gold-light);
}
.result-cell .lbl { color: #cfd8e6; font-size: 15px; }
.results-band .footnote { text-align: center; font-size: 13px; color: #8fa0b8; margin-top: 40px; }

/* Publication list */
.pub-list { max-width: 860px; margin: 0 auto; text-align: left; }
.pub {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 32px;
  align-items: baseline;
}
.pub:last-child { border-bottom: none; }
.pub .title { font-family: "Playfair Display", Georgia, serif; font-size: 19px; font-weight: 700; color: var(--navy); }
.pub .byline { color: var(--muted); font-size: 14px; }
.pub .venue { color: var(--gold); font-weight: 600; font-size: 14px; white-space: nowrap; }

/* Venue cards */
.venue-card { text-align: center; padding: 28px 20px; }
.venue-card .wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  display: block;
  margin-bottom: 8px;
}
.venue-card p { color: var(--muted); font-size: 14px; }

/* Pricing extras */
.included-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.aid-card { text-align: left; }
.aid-card h3 { font-size: 20px; margin-bottom: 8px; }
.aid-card p { color: var(--muted); font-size: 15px; }

/* People */
.person { text-align: center; }
.person .portrait {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--gold);
}
.person .portrait svg,
.person .portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 21px; }
.person .role { color: var(--gold); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.person p.bio { color: var(--muted); font-size: 15px; }
.ai-note { font-size: 12px; color: #9aa3b2; margin-top: 32px; text-align: center; }

/* Testimonials */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quote-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 33, 71, 0.08); }
.quote-card blockquote { color: var(--ink); font-size: 15px; }
.quote-who { display: flex; align-items: center; gap: 14px; }
.quote-who .portrait {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.quote-who .portrait svg,
.quote-who .portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* College marquee (auto-scrolling) */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track .college {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #cfd8e6;
  white-space: nowrap;
}
.results-band .marquee-track .college { color: #cfd8e6; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* Fellow slideshow carousel */
.carousel { max-width: 900px; margin: 0 auto; position: relative; }
.slides { position: relative; overflow: hidden; border-radius: 12px; }
.slide {
  display: none;
  grid-template-columns: 260px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
.slide.active { display: grid; animation: slide-in 0.5s ease both; }
@keyframes slide-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.slide .photo { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.slide .slide-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.slide .slide-body .track-tag { align-self: flex-start; }
.slide .slide-body h3 { font-size: 24px; margin-bottom: 4px; }
.slide .slide-body .college-line { color: var(--gold); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.slide .slide-body p { color: var(--muted); font-size: 15px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.carousel-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-controls button:hover { background: var(--navy); color: #fff; }
.dots { display: flex; gap: 8px; }
.dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; padding: 0; background: var(--line); cursor: pointer;
}
.dots button.active { background: var(--gold); }
@media (max-width: 600px) {
  .slide.active { grid-template-columns: 1fr; }
  .slide .photo { min-height: 220px; }
}
.quote-who .name { font-weight: 700; color: var(--navy); font-size: 15px; }
.quote-who .detail { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Application form */
.form-card { max-width: 760px; margin: 0 auto; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}
.check-field { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.check-field input { width: 18px; height: 18px; margin-top: 3px; }
.check-field label { font-size: 14px; color: var(--ink); font-weight: 500; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 6px; font-size: 15px; }
.form-status.success { background: #eef7ef; border: 1px solid #bfe0c3; color: #1e5c2a; }
.form-status.error { background: #fbeeee; border: 1px solid #eac3c3; color: #8a2323; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* Final CTA */
.cta-final { background: var(--bg-soft); border-top: 1px solid var(--line); }
.cta-final .crest-mid { width: 88px; margin: 0 auto 28px; display: block; }
.cta-final h2 { font-size: 38px; margin-bottom: 16px; }
.cta-final p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta-final .deadline-block { font-family: "Playfair Display", Georgia, serif; font-size: 24px; color: var(--navy); margin-bottom: 32px; }
.cta-final .ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-final .fineprint { font-size: 13px; color: var(--muted); margin-top: 28px; }

/* Footer */
footer { background: #071830; color: #cfd8e6; padding: 64px 0 32px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
footer .logo .wordmark-text { color: #fff; }
footer .logo .est { color: #8fa0b8; }
footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a { color: #cfd8e6; text-decoration: none; transition: color 0.2s ease; }
footer a:hover { color: var(--gold-light); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #8fa0b8;
  font-size: 13px;
}
.disclaimer { margin-top: 20px; font-size: 12px; color: #7488a3; max-width: 760px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .crest-large { max-width: 220px; }
  .hero h1 { font-size: 38px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .foot-grid, .form-row { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .phase { grid-template-columns: 1fr; gap: 6px; }
}
