/* ══ RESET & BASE ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #3D4550;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ══ DESIGN TOKENS ══ */
:root {
  --teal:       #006A83;
  --teal-mid:   #14819C;
  --teal-lt:    #61A59E;
  --teal-pale:  #E5F4F7;
  --navy:       #2C3863;
  --navy-deep:  #1e2850;
  --blackberry: #72225B;
  --mustard:    #FFD966;
  --rust:       #BA6249;
  --red:        #C12038;
  --ink:        #1A2235;
  --body:       #3D4550;
  --muted:      #8A96A3;
  --border:     #E2E8EF;
  --off-white:  #F8FAFB;
  --white:      #FFFFFF;
}

/* ══ LAYOUT ══ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.s-wrap    { max-width: 1200px; margin: 0 auto; padding: 5rem 2.5rem; }

/* ══ TYPOGRAPHY HELPERS ══ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-mid); margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px;
  background: var(--teal-mid); flex-shrink: 0;
}
.section-title {
  font-family: 'Aldrich', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  color: var(--navy); line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-intro {
  font-size: 1rem; color: var(--body); line-height: 1.75;
  max-width: 560px; margin-top: 0.75rem;
}

/* ══ BUTTONS ══ */
.btn-primary {
  display: inline-block;
  background: var(--teal); color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border: 2px solid var(--teal);
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer; white-space: nowrap;
}
.btn-primary:hover { background: var(--teal-mid); border-color: var(--teal-mid); }

.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--teal);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border: 2px solid var(--teal);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--teal); color: #fff; }

.btn-outline-teal {
  display: inline-block;
  background: transparent; color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border: 2px solid rgba(255,255,255,0.65);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-outline-teal:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ══ NAV ══ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 76px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; max-width: 1200px; margin: 0 auto; padding: 0 2.5rem;
}
.nav__logo {
  display: flex; align-items: center;
  transition: opacity 0.2s;
}
.nav__logo:hover { opacity: 0.78; }
.nav__logo img { height: 48px; display: block; width: auto; }
.nav__links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav__links a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--body); transition: color 0.2s;
}
.nav__links a:hover { color: var(--teal); }
.nav__links a.active { color: var(--teal); }

/* ══ HERO ══ */
.hero {
  min-height: calc(100vh - 70px);
  background: var(--off-white);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 50%;
  background: linear-gradient(135deg, var(--off-white) 0%, #dceef2 100%);
  pointer-events: none; z-index: 0;
}
.hero__copy {
  padding: 5rem 3rem 5rem 2.5rem;
  position: relative; z-index: 2;
  max-width: 640px; margin-left: auto;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-pale); border: 1px solid rgba(0,106,131,0.18);
  padding: 0.35rem 0.9rem 0.35rem 0.5rem;
  margin-bottom: 1.8rem;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}
.hero__badge span {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal);
}
.hero__copy h1 {
  font-family: 'Aldrich', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  color: var(--navy); line-height: 1.06;
  letter-spacing: -0.01em; margin-bottom: 1.3rem;
}
.hero__copy h1 em { font-style: normal; color: var(--teal); }
.hero__copy p {
  font-size: 1.05rem; color: var(--body);
  line-height: 1.75; max-width: 460px; margin-bottom: 2.2rem;
}
.hero__copy p strong { color: var(--navy); }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__proof {
  display: flex; gap: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero__proof-item {}
.hero__proof-n {
  font-family: 'Aldrich', sans-serif;
  font-size: 1.5rem; color: var(--teal); letter-spacing: -0.02em;
}
.hero__proof-l {
  font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em;
  line-height: 1.4; max-width: 130px;
}

.hero__visual {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 2.5rem;
}
.hero__svg-wrap { width: 100%; max-width: 480px; }

/* ══ TAGLINE BAND ══ */
.tagline-band {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2.5rem; text-align: center;
}
.tagline-band p {
  font-family: 'Aldrich', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--navy); letter-spacing: 0.06em;
}

/* ══ WHO IT'S FOR (teal bg) ══ */
.who-section { background: var(--teal); }
.who-inner {
  max-width: 1200px; margin: 0 auto; padding: 5rem 2.5rem;
}
.who-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 3.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.who-header .eyebrow { color: rgba(255,255,255,0.85); }
.who-header .eyebrow::before { background: rgba(255,255,255,0.85); }
.who-header .section-title { color: #fff; }
.who-header .section-intro { color: rgba(255,255,255,0.72); }
.who-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.who-card {
  padding: 2.5rem; border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}
.who-card:last-child { border-right: none; }
.who-card:hover { background: rgba(255,255,255,0.08); }
.who-icon {
  color: rgba(255,255,255,0.9); margin-bottom: 1.2rem;
}
.who-title {
  font-family: 'Aldrich', sans-serif;
  font-size: 0.95rem; color: #fff; letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.who-body { font-size: 0.83rem; color: rgba(255,255,255,0.72); line-height: 1.68; margin-bottom: 0.8rem; }
.who-body:last-child { margin-bottom: 0; }
.who-ilt-tag {
  display: inline-block; margin-top: 0.4rem;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mustard);
  padding: 0.25rem 0.6rem; border: 1px solid rgba(255,217,102,0.3);
}

/* ══ HOW WE TEACH (FORMATS) ══ */
.formats-section { background: var(--white); border-bottom: 1px solid var(--border); }
.formats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--border);
  margin-top: 3rem;
}
.format-card {
  padding: 2.5rem 2rem; border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.format-card:last-child { border-right: none; }
.format-card:hover { background: var(--off-white); }
.format-icon {
  width: 44px; height: 44px; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; color: var(--teal);
}
.format-title {
  font-family: 'Aldrich', sans-serif;
  font-size: 1rem; color: var(--navy); margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.format-subtitle {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.7rem;
}
.format-body { font-size: 0.85rem; color: var(--body); line-height: 1.65; }

/* ══ COURSES ══ */
.courses-section { background: var(--off-white); }
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.course-card {
  border: 1px solid var(--border); background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.course-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.course-card__top {
  padding: 1.8rem 1.8rem 1.4rem;
  border-bottom: 1px solid var(--border); flex: 1;
}
.course-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  background: var(--teal-pale); color: var(--teal);
  margin-bottom: 1rem;
}
.course-tag.keystone { background: #eee8f8; color: #5a3d8a; }
.course-tag.start { background: var(--mustard); color: var(--navy); }
.course-tag .star { color: var(--mustard); font-size: 0.7rem; }
.course-card__title {
  font-family: 'Aldrich', sans-serif;
  font-size: 1rem; color: var(--navy); line-height: 1.25;
  margin-bottom: 0.8rem;
}
.course-meta {
  display: flex; gap: 1.2rem; margin-bottom: 1rem;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em;
}
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-card__desc { font-size: 0.82rem; color: var(--body); line-height: 1.6; margin-bottom: 1.1rem; }
.course-outcomes-label {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem;
}
.course-outcomes { list-style: none; padding-left: 0; }
.course-outcomes li {
  font-size: 0.78rem; color: var(--body); line-height: 1.55;
  padding-left: 1.1rem; position: relative; margin-bottom: 0.35rem;
}
.course-outcomes li::before {
  content: '→'; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}
.course-card__bottom {
  padding: 1.2rem 1.8rem;
  display: flex; align-items: center; justify-content: space-between;
}
.course-price {
  font-family: 'Aldrich', sans-serif;
  font-size: 1.15rem; color: var(--teal);
}
.course-price small { font-size: 0.62rem; color: var(--muted); display: block; font-family: 'Open Sans', sans-serif; font-weight: 400; }
.course-cta {
  display: inline-block;
  background: var(--teal); color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.7rem 1.3rem;
  border: 2px solid var(--teal);
  transition: background 0.2s;
}
.course-cta:hover { background: var(--teal-mid); border-color: var(--teal-mid); }

/* ══ CERT PATH ══ */
.cert-section { background: var(--white); }
.cert-steps {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 0; border: 1px solid var(--border); margin: 3rem 0 2rem;
  overflow: hidden;
}
.cert-step {
  padding: 1.8rem 1.2rem; border-right: 1px solid var(--border);
  text-align: center; position: relative; background: var(--white);
  transition: background 0.2s;
}
.cert-step:last-child { border-right: none; background: var(--teal-pale); }
.cert-step:hover { background: var(--off-white); }
.cert-step:last-child:hover { background: var(--teal-pale); }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-family: 'Aldrich', sans-serif; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-name {
  font-family: 'Aldrich', sans-serif;
  font-size: 0.8rem; color: var(--navy);
  letter-spacing: 0.03em; margin-bottom: 0.3rem;
}
.step-price { font-size: 0.72rem; color: var(--muted); }

.cert-panel {
  background: var(--off-white); border: 1px solid var(--border);
  padding: 2.5rem; display: flex; gap: 3rem; align-items: center;
  justify-content: space-between;
}
.cert-panel-title {
  font-family: 'Aldrich', sans-serif;
  font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem;
}
.cert-panel-body { font-size: 0.88rem; color: var(--body); line-height: 1.65; max-width: 500px; }
.cert-price { flex-shrink: 0; text-align: right; }
.cert-was { font-size: 0.75rem; color: var(--muted); text-decoration: line-through; margin-bottom: 0.3rem; }
.cert-now { font-family: 'Aldrich', sans-serif; font-size: 2rem; color: var(--teal); }
.cert-save { font-size: 0.72rem; color: var(--teal-mid); font-weight: 600; margin-top: 0.2rem; }

/* ══ MISSION ══ */
.mission-section { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mission-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.mission-body { font-size: 0.95rem; color: var(--body); line-height: 1.78; }
.mission-body p { margin-bottom: 1.2rem; }
.mission-body p:last-child { margin-bottom: 0; }
.mission-body strong { color: var(--navy); }

.mission-pillars { display: flex; flex-direction: column; gap: 0; }
.pillar {
  display: flex; gap: 1.3rem; padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.pillar:last-child { border-bottom: none; }
.pillar-icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.pillar-title {
  font-family: 'Aldrich', sans-serif; font-size: 0.92rem;
  color: var(--navy); margin-bottom: 0.3rem;
}
.pillar-body { font-size: 0.82rem; color: var(--body); line-height: 1.62; }

/* ══ FACULTY ══ */
.team-section { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.team-card {
  background: var(--white); border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
.team-card__top {
  padding: 0;
  display: flex; flex-direction: column;
  border-bottom: 1px solid var(--border);
}
.team-card__name-block {
  padding: 1.4rem 2rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  text-align: center;
}
.team-avatar {
  width: 100%; aspect-ratio: 1 / 1; flex-shrink: 0;
  overflow: hidden; border-bottom: 3px solid var(--teal);
  background: var(--off-white);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name {
  font-family: 'Aldrich', sans-serif; font-size: 1.05rem;
  color: var(--navy); margin-bottom: 0.15rem; text-align: center;
}
.team-title {
  font-family: 'Source Code Pro', monospace; font-size: 0.58rem;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); line-height: 1.4; text-align: center;
}
.team-card__bio {
  padding: 1.5rem 2rem; font-size: 0.8rem; color: var(--body); line-height: 1.68;
}
.team-card__tags {
  padding: 0 2rem 1.5rem; display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.team-tag {
  font-family: 'Source Code Pro', monospace; font-size: 0.55rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; background: var(--teal-pale); color: var(--teal);
}

/* ══ CTA BANNER ══ */
.cta-banner { background: var(--teal); text-align: center; padding: 6rem 2.5rem; }
.cta-banner .eyebrow { color: rgba(255,255,255,0.85); justify-content: center; }
.cta-banner .eyebrow::before { background: rgba(255,255,255,0.85); }
.cta-banner h2 {
  font-family: 'Aldrich', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #fff; line-height: 1.1; margin-bottom: 1rem;
}
.cta-banner p { font-size: 1rem; color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 auto 2.5rem; }
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══ FOOTER ══ */
footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 4rem 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: inline-flex; align-items: center;
  background: #fff;
  padding: 14px 20px;
  border-radius: 4px;
  margin-bottom: 1.4rem;
}
.footer-logo img { height: 48px; display: block; width: auto; }
.footer-desc { font-size: 0.8rem; line-height: 1.65; color: rgba(255,255,255,0.5); }
.footer-col-title {
  font-family: 'Aldrich', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); margin-bottom: 1.2rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-lt); }
.footer-bar {
  max-width: 1200px; margin: 0 auto;
  padding: 1.5rem 0 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bar p { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.footer-bar a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bar a:hover { color: var(--teal-lt); }

/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__badge  { animation: fadeUp 0.5s ease both 0.05s; }
.hero__copy h1 { animation: fadeUp 0.5s ease both 0.15s; }
.hero__copy p  { animation: fadeUp 0.5s ease both 0.25s; }
.hero__ctas    { animation: fadeUp 0.5s ease both 0.35s; }
.hero__proof   { animation: fadeUp 0.5s ease both 0.45s; }
.hero__visual  { animation: fadeUp 0.6s ease both 0.3s; }

/* Node animations for hero SVG */
@keyframes nodePulse {
  0%,100% { r: 7; opacity: 1; }
  50%      { r: 10; opacity: 0.75; }
}
@keyframes nodeGlow {
  0%,100% { r: 18; opacity: 0.15; }
  50%      { r: 26; opacity: 0.28; }
}
@keyframes dashFlow {
  to { stroke-dashoffset: -40; }
}
@keyframes labelFade {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 1; }
}
.nd-glow  { animation: nodeGlow 3.2s ease-in-out infinite; }
.nd-core  { animation: nodePulse 3.2s ease-in-out infinite; }
.nd-core2 { animation: nodePulse 3.2s ease-in-out infinite 0.64s; }
.nd-core3 { animation: nodePulse 3.2s ease-in-out infinite 1.28s; }
.nd-core4 { animation: nodePulse 3.2s ease-in-out infinite 1.92s; }
.nd-core5 { animation: nodePulse 3.2s ease-in-out infinite 2.56s; }
.fl-line  { animation: dashFlow 2.8s linear infinite; }
.fl-line2 { animation: dashFlow 3.2s linear infinite 0.5s; }
.fl-line3 { animation: dashFlow 3.6s linear infinite 1s; }
.nd-label { animation: labelFade 3s ease-in-out infinite; }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 4rem 2rem 2rem; max-width: 100%; margin: 0; }
  .hero::after { display: none; }
  .who-grid, .formats-grid, .courses-grid, .team-grid { grid-template-columns: 1fr; }
  .who-card, .format-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .format-card { border-bottom-color: var(--border); }
  .who-header, .mission-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cert-steps { grid-template-columns: 1fr; }
  .cert-step { border-right: none; border-bottom: 1px solid var(--border); }
  .cert-panel { flex-direction: column; gap: 2rem; align-items: flex-start; text-align: left; }
  .cert-price { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; }
}