:root {
  --bg: #ffffff;
  --soft: #eef1f6;
  --ink: #12161d;
  --muted: #5a6474;
  --dark: #0c1119;
  --on-dark: #e7ecf3;
  --on-dark-muted: #8f9db1;
  --accent: #2f68b5;
  --accent-deep: #224e88;
  --line: #dde3ec;
  --font-display: 'Newsreader', Georgia, serif;
  --font-sans: 'Public Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
.root {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
input, textarea, select, button { font-family: inherit; }
::placeholder { color: var(--muted); opacity: .75; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--ink); }
button { cursor: pointer; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 700px; padding: 88px 40px; margin: 0 auto; }
.wrap-faq { max-width: 860px; padding: 96px 40px; margin: 0 auto; }

.eyebrow-label {
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; display: inline-flex; align-items: center; gap: 9px;
}
.dash { width: 22px; height: 1px; background: var(--accent); display: inline-block; }
.check { color: var(--accent); font-weight: 700; }

/* Buttons */
.btn { border: none; border-radius: 999px; font-weight: 600; cursor: pointer; font-size: 15px; padding: 13px 24px; transition: transform .2s, box-shadow .2s; }
.btn-dark { background: var(--ink); color: var(--bg); font-size: 14px; padding: 11px 20px; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 14px 34px -12px var(--accent); }
.btn-accent:hover, .btn-pill-icon:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--on-dark); border: 1px solid rgba(255,255,255,.28); display: inline-flex; align-items: center; gap: 9px; }
.play { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: inline-flex; align-items: center; justify-content: center; font-size: 9px; }
.btn-pill-icon { display: inline-flex; align-items: center; gap: 14px; padding: 9px 10px 9px 28px; font-size: 15.5px; }
.pill-icon { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.btn-ghost-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); font-size: 14px; padding: 12px 20px; margin-top: auto; }
.btn-on-accent { background: #fff; color: var(--accent-deep); font-size: 14px; padding: 13px 20px; margin-top: auto; }
.btn-full { width: 100%; padding: 15px; font-size: 15.5px; margin-top: 4px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.header-inner { padding: 20px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.brand-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { background: none; border: none; font-size: 14.5px; color: var(--muted); padding: 0; }

/* Hero */
.hero { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; min-height: 620px; }
.hero-copy { padding: 88px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 8px 16px 8px 13px; margin-bottom: 30px; }
.eyebrow-dark { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); font-family: var(--font-mono); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.hero-copy h1 { font-weight: 600; font-size: 54px; line-height: 1.07; letter-spacing: -.015em; margin: 0 0 22px; color: #fff; }
.hero-copy em { color: var(--accent); font-style: italic; }
.lead { font-size: 18px; line-height: 1.62; color: var(--on-dark-muted); max-width: 520px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.stat-row { display: flex; align-items: center; gap: 26px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.stat-num { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: #fff; line-height: 1; }
.stat-label { font-size: 12px; color: var(--on-dark-muted); margin-top: 5px; }
.stat-sep { width: 1px; height: 34px; background: rgba(255,255,255,.14); }
.hero-photo { align-self: stretch; position: relative; min-height: 460px; margin: 56px 0; }
.hero-photo-frame { position: absolute; top: 18px; left: 18px; right: -14px; bottom: -14px; border: 1px solid var(--accent); border-radius: 16px; opacity: .5; }
.hero-photo-inner { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.hero-card { position: absolute; bottom: 20px; left: -18px; background: var(--bg); color: var(--ink); border-radius: 12px; padding: 14px 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); display: flex; align-items: center; gap: 12px; }
.hero-card-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.hero-card-name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.hero-card-role { font-size: 12px; color: var(--muted); }

/* Trust bar */
.trust { background: var(--soft); border-bottom: 1px solid var(--line); overflow: hidden; padding: 56px 0; }
.trust-label { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee-mask { 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; width: max-content; animation: marquee-scroll 28s linear infinite; }
.logo-card { width: 172px; height: 64px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0 26px; margin-right: 16px; }
.logo-card img { max-width: 100%; max-height: 30px; object-fit: contain; opacity: .72; }
.logo-card span { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--muted); opacity: .8; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* About */
.about-grid { padding: 80px 40px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 56px; align-items: stretch; }
.about-media { display: flex; flex-direction: column; gap: 16px; min-height: 420px; }
.about-photo { flex: 1; border-radius: 14px; overflow: hidden; min-height: 320px; border: 1px solid var(--line); }
.about-card { background: var(--dark); color: var(--on-dark); border-radius: 14px; padding: 24px 26px; }
.about-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--on-dark-muted); }
.about-copy h2 { font-weight: 600; font-size: 36px; line-height: 1.14; letter-spacing: -.01em; margin: 0 0 20px; }
.body-copy { font-size: 16.5px; line-height: 1.65; color: var(--muted); max-width: 640px; }
.body-copy p { margin: 0 0 16px; }
.body-copy p:last-child { margin: 0; }
.mission { border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin: 32px 0; }
.mission .eyebrow-label { color: var(--muted); }
.mission-text { font-family: var(--font-display); font-size: 23px; line-height: 1.35; font-style: italic; }
.signature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.signature-item { display: flex; align-items: center; gap: 11px; font-size: 15px; }

/* Problem */
.problem { background: var(--soft); }
.problem .wrap { padding: 96px 40px; }
.section-intro { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.section-intro .eyebrow-label { margin-bottom: 18px; }
.section-intro h2 { font-weight: 600; font-size: 40px; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 18px; }
.section-intro p { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.eyebrow-bad { background: rgba(193,75,61,.1); color: #b5463a; }
.x-mark { width: 20px; height: 20px; border-radius: 50%; background: #c14b3d; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.quote-list { max-width: 920px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 12px 44px; display: flex; flex-direction: column; }
.quote-item { display: flex; gap: 22px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.quote-item.last { border-bottom: none; }
.quote-mark { font-family: var(--font-display); font-size: 38px; line-height: .6; color: var(--accent); opacity: .55; flex-shrink: 0; }
.quote-item p { font-family: var(--font-display); font-size: 19px; line-height: 1.5; margin: 0; font-style: italic; }
.callout { margin-top: 36px; position: relative; background: var(--dark); color: var(--on-dark); border-radius: 18px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.callout-glow { position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle,var(--accent) 0%,transparent 70%); opacity: .25; pointer-events: none; }
.callout::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.callout-copy { max-width: 680px; position: relative; }
.callout-copy p { font-family: var(--font-display); font-size: 27px; line-height: 1.38; margin: 0; color: #fff; }
.callout-copy em { color: var(--accent); font-style: italic; }

/* Framework */
.framework .wrap { padding: 100px 40px; }
.fw-scroll { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.fw-card { scroll-snap-align: start; flex: 0 0 272px; min-height: 440px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; box-shadow: 0 2px 10px -4px rgba(18,22,29,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.fw-card:hover:not(.fw-card-active) { transform: translateY(-6px); border-color: rgba(47,104,181,.3); box-shadow: 0 24px 44px -20px rgba(18,22,29,.16); }
.fw-card-active { background: var(--accent); color: #fff; border: none; box-shadow: 0 24px 48px -20px rgba(18,22,29,.3), 0 14px 30px -16px var(--accent); }
.fw-card-active:hover { transform: translateY(-6px); }
.fw-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.fw-step { background: var(--soft); color: var(--muted); font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; padding: 7px 14px; border-radius: 999px; }
.fw-card-active .fw-step { background: rgba(255,255,255,.16); color: #fff; }
.fw-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.fw-arrow-active { background: #fff; color: var(--accent-deep); }
.fw-card h3 { font-size: 25px; font-weight: 600; margin: 0 0 12px; line-height: 1.15; }
.fw-card p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 22px; }
.fw-card-active h3 { color: #fff; }
.fw-card-active p { color: rgba(255,255,255,.88); }
.fw-icon { margin-top: auto; height: 190px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); padding: 10px; box-shadow: inset 0 1px 3px rgba(18,22,29,.05); }
.framework-cta { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 64px; padding-bottom: 8px; }
.framework-cta p { font-family: var(--font-display); font-size: 18px; font-style: italic; color: var(--muted); margin: 0; }

/* Programs */
.programs { background: var(--dark); color: var(--on-dark); }
.programs .wrap { padding: 100px 40px; }
.programs-intro { max-width: 700px; margin-bottom: 56px; }
.programs-intro h2 { font-weight: 600; font-size: 38px; line-height: 1.14; letter-spacing: -.01em; margin: 0; color: #fff; }
.programs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.program-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 32px 28px; display: flex; flex-direction: column; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.program-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.program-card h3 { font-size: 24px; font-weight: 600; margin: 0 0 12px; color: #fff; }
.program-card p { font-size: 14.5px; line-height: 1.6; color: var(--on-dark-muted); margin: 0 0 22px; }
.program-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--on-dark); margin-bottom: 26px; }
.program-list div { display: flex; gap: 10px; }
.program-card-featured { position: relative; background: var(--accent); border: 1px solid var(--accent); padding: 36px 30px; margin-top: -16px; box-shadow: 0 20px 44px -24px rgba(0,0,0,.35); z-index: 2; }
.program-card-featured:hover { transform: translateY(-6px); background: var(--accent); border-color: var(--accent); box-shadow: 0 20px 44px -24px rgba(0,0,0,.35), 0 14px 34px -16px var(--accent); }
.program-card-featured p { color: rgba(255,255,255,.9); }
.eyebrow-on-accent { color: rgba(255,255,255,.85); }
.program-list-on-accent { color: #fff; }

/* Stories */
.stories .wrap-narrow { padding: 88px 40px; }
.story-stack { position: relative; height: 340px; margin-bottom: 28px; }
.story-card { position: absolute; inset: 0; text-align: center; transition: all .45s cubic-bezier(.4,0,.2,1); background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 40px 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.story-quote { font-family: var(--font-display); font-size: 48px; line-height: .5; color: var(--accent); opacity: .5; margin-bottom: 18px; }
.story-text { font-family: var(--font-display); font-size: 21px; line-height: 1.5; margin: 0 0 24px; font-style: italic; }
.story-meta { display: flex; align-items: center; justify-content: center; gap: 12px; }
.story-initials { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; font-weight: 600; flex-shrink: 0; }
.story-role { font-size: 13.5px; color: var(--muted); }
.story-controls { display: flex; align-items: center; justify-content: center; gap: 22px; }
.story-arrow { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.story-dots { display: flex; gap: 8px; }
.story-dot { width: 8px; height: 8px; border-radius: 50%; cursor: pointer; background: var(--line); transition: background .2s; border: none; padding: 0; }
.story-dot.active { background: var(--accent); }

/* FAQ */
.faq { background: var(--soft); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item-last { border-bottom: none; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 0; display: flex; align-items: center; gap: 20px; }
.faq-num { font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; color: var(--accent); flex-shrink: 0; width: 22px; }
.faq-q-text { flex: 1; font-size: 18px; font-weight: 600; font-family: var(--font-display); }
.faq-icon { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-size: 15px; display: flex; align-items: center; justify-content: center; transition: transform .25s; flex-shrink: 0; }
.faq-item[data-open="1"] .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0; padding: 0 0 26px 42px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* Contact */
.contact { background: var(--dark); color: var(--on-dark); }
.contact-grid { padding: 100px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-copy h2 { font-weight: 600; font-size: 36px; line-height: 1.14; letter-spacing: -.01em; margin: 0 0 20px; color: #fff; }
.contact-copy p { font-size: 16.5px; line-height: 1.65; color: var(--on-dark-muted); margin: 0 0 32px; }
.contact-links { display: flex; flex-direction: column; margin: 8px 0 40px; }
.contact-link { display: flex; align-items: center; gap: 16px; color: var(--on-dark); font-size: 15.5px; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.1); transition: padding-left .2s ease, color .2s ease; }
.contact-link:hover { padding-left: 8px; color: #fff; }
.contact-link-last { border-bottom: none; }
.contact-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-icon-text { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.stat-row-dark { border-top: 1px solid rgba(255,255,255,.12); }
.contact-panel { background: var(--bg); border-radius: 16px; padding: 38px 36px; display: flex; flex-direction: column; color: var(--ink); }
.contact-panel h3 { font-size: 23px; font-weight: 600; margin: 0 0 22px; }
.field-group { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; }
.optional { color: var(--muted); font-weight: 400; }
input, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 15px; background: var(--bg); color: var(--ink); outline: none; }
textarea { resize: vertical; font-family: inherit; }
.select-wrap { position: relative; }
.select-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 15px; background: var(--bg); color: var(--ink); text-align: left; position: relative; z-index: 2; }
.chevron { font-size: 11px; color: var(--muted); transition: transform .2s ease; }
.chevron.open { transform: rotate(180deg); }
.select-menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 44px -16px rgba(0,0,0,.28); padding: 6px; z-index: 3; }
.select-option { padding: 11px 14px; border-radius: 8px; font-size: 14.5px; cursor: pointer; }
.select-option:hover { background: var(--soft); }
.select-option.selected { color: #fff; background: var(--accent); }
.form-success { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.form-success[hidden] { display: none; }
.success-check { width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 22px; }
.form-success h3 { font-size: 26px; font-weight: 600; margin: 0 0 12px; }
.form-success p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 340px; }
.footer-row { padding: 32px 40px 40px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; }
.footer-copy { font-size: 13px; color: var(--on-dark-muted); }

/* Scrollbar hide for framework */
.fw-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.fw-scroll::-webkit-scrollbar { display: none; height: 0; width: 0; }

/* Responsive */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { flex-wrap: wrap; gap: 14px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .program-card-featured { margin-top: 0; }
  .signature-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 38px; }
  .wrap { padding: 0 20px; }
}

@media (prefers-color-scheme: dark) {
  body { background: #0c1119; }
}
