/* Singleton Foundation — HTML wireframe.
   One stylesheet for every page. Desktop only (viewport is pinned to 1440 in each page's <head>).
   Tokens and blocks are named so they map 1:1 onto Framer color styles, text presets and components. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Gotham"; src: url("/assets/fonts/Gotham-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("/assets/fonts/Gotham-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- Tokens (Figma variables) ---------- */
:root {
  --blue: #455CC7;
  --black: #1B1B1B;
  --gray-1: #333333;
  --gray-2: #B1B1B1;
  --gray-3: #F3F3F3;
  --gray-4: #EEEEEE;
  --white: #FFFFFF;
  --lavender: #E2E7FF;
  --lavender-pale: #EEF1FF;
  --purple-2: #F2EDF8;
  /* Money Confidence Project brand, used on the MCP page only */
  --mcp-navy: #002138;
  --mcp-teal: #037C8C;
  --mcp-coral: #FF6F61;

  --font-heading: "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1378px;   /* 1728 frame minus 175 side padding */
  --info: 1042px;        /* Figma "info column" */
  --text: 900px;         /* text column inside it */
  --section: 100px;      /* section padding L */
  --section-s: 50px;     /* section padding S */
  --gap: 60px;           /* spacing M */
  --gap-xs: 35px;        /* spacing XS */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 1200px; font: 400 17px/28px var(--font-body); color: var(--gray-1); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); color: var(--black); }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Text presets ---------- */
.t-hero  { font: 900 56px/1.22 var(--font-heading); letter-spacing: -0.5px; }
.t-h1    { font: 900 52px/1.15 var(--font-heading); letter-spacing: -0.5px; }
.t-h2    { font: 900 60px/1.15 var(--font-heading); letter-spacing: -1px; }      /* section and program titles */
.t-h3    { font: 900 40px/1.2 var(--font-heading); }
.t-h4    { font: 900 30px/1.2 var(--font-heading); }                             /* program subtitle */
.t-h6    { font: 900 25px/33.6px var(--font-heading); }                          /* feature bullets, card titles */
.t-eyebrow { font: 700 12px/17px var(--font-heading); }
.t-b1    { font: 400 18px/28px var(--font-body); }
.t-b3    { font: 400 15px/28px var(--font-body); }
.t-small { font: 400 13px/20px var(--font-body); }
.center  { text-align: center; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 96px); margin-inline: auto; padding-inline: 48px; }
.info      { width: 100%; max-width: calc(var(--info) + 96px); margin-inline: auto; padding-inline: 48px; }
.text      { width: 100%; max-width: calc(var(--text) + 96px); margin-inline: auto; padding-inline: 48px; }
.band        { padding-block: var(--section); }
.band--s     { padding-block: var(--section-s); }
.band--dark  { background: var(--black); color: var(--white); }
.band--blue  { background: var(--blue); color: var(--white); }
.band--lav   { background: var(--lavender); }
.band--pale  { background: var(--lavender-pale); }
.band--gray  { background: var(--gray-3); }
.band--dark :is(h1, h2, h3, h4), .band--blue :is(h1, h2, h3, h4) { color: var(--white); }
.stack > * + * { margin-top: var(--gap-xs); }
.stack-l > * + * { margin-top: var(--gap); }

/* ---------- Wireframe-only helpers (not part of the design) ---------- */
.wf-bar  { background: #FFF3BF; color: #5C4A00; font: 500 13px/20px var(--font-body); text-align: center; padding: 6px 16px; }
.wf-note { display: inline-block; background: #FFF3BF; color: #5C4A00; border: 1px dashed #C9A400; border-radius: 4px;
           font: 500 13px/18px var(--font-body); padding: 4px 10px; text-align: left; }
.wf-ph   { display: grid; place-items: center; background: var(--gray-4); color: #777; font: 500 13px/18px var(--font-body);
           text-align: center; padding: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 18px 32px;
       font: 700 15px/28px var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.btn--wide    { min-width: 370px; }
.btn--dark    { background: var(--black); color: var(--white); }
.btn--light   { background: var(--white); color: var(--black); }
.btn--blue    { background: var(--blue); color: var(--white); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.band--dark .btn--outline { color: var(--white); border-color: var(--white); }
.btn--sm      { min-height: 48px; padding: 10px 20px; }
.btn--plain::after { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 35px; justify-content: center; margin-top: var(--gap); }
.actions--left { justify-content: flex-start; }
.link-more { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/28px var(--font-body); text-decoration: none; }
.link-more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 96px; padding-inline: 30px; }
.site-header__logo img { width: 202px; }
.site-nav { display: flex; align-items: center; gap: 44px; }
.site-nav a { font: 700 15px/28px var(--font-body); color: var(--black); text-decoration: none; }
.site-nav .btn { color: var(--white); min-height: 48px; padding: 10px 20px; }
.site-nav .btn::after { display: none; }

/* ---------- Heroes ---------- */
/* Home: full-bleed photo, headline bottom-left */
.hero-photo { position: relative; min-height: min(49vw, 847px); display: flex; align-items: center; color: var(--white);
              background: var(--black) center / cover no-repeat; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 38%, rgba(0,0,0,0) 62%); }
.hero-photo > * { position: relative; }
.hero-photo h1 { color: var(--white); max-width: 780px; }

/* Inner pages: blue band, eyebrow + title + one line, optional photo on the right */
.hero-band { position: relative; min-height: 420px; display: flex; align-items: center; color: var(--white);
             background: var(--blue) right center / cover no-repeat; }
.hero-band--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 30%, rgba(69,92,199,.55) 55%, rgba(69,92,199,.15) 100%); }
.hero-band > * { position: relative; }
.hero-band h1 { color: var(--white); max-width: 640px; margin-block: 18px 22px; }
.hero-band p { max-width: 520px; font: 700 14px/24px var(--font-heading); }
.hero-band--tall { min-height: 600px; }

/* ---------- Home: stat cards ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px; }
.stat { position: relative; aspect-ratio: 317 / 352; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 20px;
        color: var(--white); background: var(--black) center / cover no-repeat; box-shadow: 10px 10px 0 var(--blue); }
.stat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.9) 78%); }
.stat > * { position: relative; }
.stat__icon { width: 44px; height: 44px; background: var(--blue); margin-bottom: 14px; }
.stat__num { font: 900 56px/1.1 var(--font-heading); }
.stat__label { font: 400 17px/28px var(--font-body); min-height: 84px; margin-top: 6px; }

/* ---------- Home: program logo grid ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.logo-grid a { display: block; }
.logo-grid img { width: 100%; }
.kicker { font: 900 36px/1.2 var(--font-heading); color: var(--blue); margin-bottom: 28px; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 512px 1fr; gap: 80px; align-items: center; }
.newsletter h2 { color: var(--gray-1); margin-bottom: 16px; }
.newsletter__form { display: flex; }
.newsletter__form input { flex: 1; height: 74px; border: 0; background: var(--gray-3); padding: 0 20px; font: 400 17px/28px var(--font-body); }
.newsletter__form button { height: 74px; padding: 0 20px; background: var(--white); border: 2px solid var(--black); font: 700 15px/28px var(--font-body); }
.newsletter small { display: block; margin-top: 36px; font: 400 13px/20px var(--font-body); }

/* ---------- Footer ---------- */
.site-footer { padding-top: 60px; }
.site-footer__cols { display: grid; grid-template-columns: 200px repeat(3, 1fr); gap: 40px; padding-bottom: 50px; }
.site-footer__brand img { width: 90px; margin-bottom: 20px; }
.site-footer h3 { font: 700 20px/28px var(--font-heading); margin-bottom: 14px; }
.site-footer li { font: 400 14px/32px var(--font-body); }
.site-footer li a { text-decoration: none; }
.social { display: flex; gap: 14px; margin-top: 10px; }
.social a { width: 32px; height: 32px; display: grid; place-items: center; background: var(--black); color: var(--white);
            font: 700 12px/1 var(--font-body); text-decoration: none; }
.site-footer__legal { border-top: 1px solid var(--gray-4); padding-block: 24px; font: 400 13px/20px var(--font-body); }

/* ---------- Program block (Programs page; one per program) ---------- */
.program__band img { width: 100%; }
.reel { padding-block: 50px; overflow: hidden; }
.reel__track { display: grid; grid-template-columns: 17.04% 58.1% 17.04%; justify-content: space-between; }
.reel__track .video-ph { width: 100%; aspect-ratio: 1004 / 535; }
.reel__track > img { width: 100%; height: 0; min-height: 100%; object-fit: cover; }
.reel__track > img:first-child { object-position: right center; }
.reel__track > img:last-child { object-position: left center; }
.dots { display: flex; gap: 15px; justify-content: center; margin-top: 60px; }
.dots i { width: 15px; height: 15px; border-radius: 50%; background: var(--gray-4); }
.dots i:first-child { background: var(--blue); }
.band--dark .dots i { background: var(--white); }
.band--dark .dots i:first-child { background: var(--blue); }
.program__body { padding-bottom: var(--section); }
.program__body h2 { margin-bottom: 33px; }
.program__body .t-h4 { margin-bottom: 33px; }
.program__body .t-b3 { margin-bottom: 33px; }
.features { display: grid; gap: 34px; }
.features li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: center; font: 900 25px/33.6px var(--font-heading); color: var(--black); }
.features li::before { content: ""; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 6px var(--white), 0 0 0 0 var(--blue); outline: 3px solid var(--blue); outline-offset: -3px; }
.band--dark .features li { color: var(--white); }

/* ---------- Video placeholder ---------- */
.video-ph { position: relative; display: block; margin: 0; background: var(--black); aspect-ratio: 16 / 9; overflow: hidden; }
.video-ph img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video-ph__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(255,255,255,.92); }
.video-ph__play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 24px solid var(--black); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.video-ph .wf-note { position: absolute; left: 12px; bottom: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.video-grid--2 { grid-template-columns: repeat(2, 1fr); }
.caption { font: 700 15px/24px var(--font-body); margin-top: 12px; }

/* ---------- Sector CTA ("Is your organization looking for more?") ---------- */
.sectors img { width: 714px; margin: 0 auto 60px; }
.sectors h2 { max-width: 722px; margin: 0 auto 35px; }
.sectors p { max-width: 608px; margin-inline: auto; }

/* ---------- MCP page ---------- */
.mcp h2, .mcp-ink { color: var(--mcp-navy); }
.mcp .band--dark h2 { color: var(--white); }
.hero-band--dark { background-color: var(--black); background-size: auto 100%; }
.hero-band--dark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, var(--black) 22%, rgba(27,27,27,0) 55%); }
.mcp-coral { color: var(--mcp-coral); }
.mcp-teal { color: var(--mcp-teal); }
.mcp-logo { width: 826px; margin-inline: auto; }
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; }
.ring { text-align: center; font: 600 20px/29px var(--font-body); color: var(--mcp-navy); }
.ring__dial { position: relative; width: 184px; aspect-ratio: 1; margin: 0 auto 24px; display: grid; place-items: center; }
.ring__dial::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
                      background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--t) 0);
                      -webkit-mask: radial-gradient(farthest-side, transparent 78%, #000 79%); mask: radial-gradient(farthest-side, transparent 78%, #000 79%); }
.ring__dial b { position: relative; font: 700 52px/1 var(--font-body); letter-spacing: -1px; color: var(--mcp-navy); }
.ring span { display: block; max-width: 230px; margin-inline: auto; }
.statement { font: 700 28px/1.65 var(--font-heading); max-width: var(--info); margin-inline: auto; }
.product { max-width: 874px; margin-inline: auto; }
.product + .product { margin-top: 110px; }
.product__logo { height: 110px; width: auto; margin: 0 auto 40px; }
.product__tagline { font: 900 25px/33.6px var(--font-heading); max-width: 726px; margin: 0 auto 50px; text-align: center; }
.product__link { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 24px 0 60px; font: 400 17px/22px var(--font-body); }
.product__link span { max-width: 450px; }
.product__feature { display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.product__feature::before { content: ""; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); outline: 3px solid var(--white); outline-offset: -8px; }
.product__feature h3 { margin: 8px 0 14px; }
.product__more { text-align: right; margin-top: 30px; }

/* ---------- People (team, board, jury) ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 60px; }
.people--4 { grid-template-columns: repeat(4, 1fr); gap: 50px 40px; }
.people--5 { grid-template-columns: repeat(5, 1fr); gap: 50px 30px; }
.person img, .person .wf-ph { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 20px; }
.person h3 { font: 900 25px/33.6px var(--font-heading); }
.person__role { font: 700 15px/24px var(--font-body); color: var(--blue); margin: 4px 0 12px; }
.person p { font: 400 15px/26px var(--font-body); }
.people--5 .person h3, .people--4 .person h3 { font-size: 19px; line-height: 26px; }
.people--5 .person__role, .people--4 .person__role { color: var(--gray-1); font-weight: 400; margin-bottom: 0; }
.founders { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: center; }

/* ---------- Long-form (About, CEO Prize, honorees) ---------- */
.prose h2 { margin-bottom: 30px; }
.prose h3 { margin: 40px 0 16px; }
.prose p { font: 400 17px/30px var(--font-body); }
.lede { font: 700 26px/1.5 var(--font-heading); color: var(--black); }
.band--dark .lede, .band--blue .lede { color: var(--white); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--narrow-left { grid-template-columns: 380px 1fr; }
.quote { font: 900 34px/1.35 var(--font-heading); color: var(--white); }
.quote + p { margin-top: 24px; }
.pills { display: flex; flex-wrap: wrap; gap: 16px; }
.pills--center { justify-content: center; }
.honoree { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.honoree__photos { display: grid; gap: 20px; }
.honoree__photos img { width: 100%; }
.honoree h3:first-child { margin-top: 0; }
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.award-head { text-align: center; max-width: var(--text); margin: 0 auto var(--gap); }
.award-head small { display: block; font: 700 18px/28px var(--font-heading); color: var(--blue); margin-bottom: 10px; }
.news li { border-top: 1px solid var(--gray-4); padding: 18px 0; display: grid; grid-template-columns: 160px 1fr; gap: 30px; }
.news li:last-child { border-bottom: 1px solid var(--gray-4); }
.news time { font: 400 14px/26px var(--font-body); color: #777; }
.news a { font: 700 17px/26px var(--font-body); text-decoration: none; }

/* ---------- Contact form ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form label { display: block; font: 700 14px/24px var(--font-body); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; min-height: 56px; border: 0; background: var(--gray-3);
       padding: 12px 16px; font: 400 16px/26px var(--font-body); }
.form textarea { min-height: 140px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { background: var(--white); padding: 40px; }
.card h3 { margin-bottom: 14px; }

/* ---------- Fixes after first visual pass ---------- */
.band--dark .person__role { color: #C9C9C9; }
.hero-band--dark { background-position: right -200px center; }
.hero-band--dark h1 { max-width: 520px; }
.award-head h2 { margin-bottom: 16px; }
/* Programs hero: the logos are baked into the image, so the band keeps the image's proportions */
.hero-band--fit { aspect-ratio: 1728 / 600; min-height: 0; background-size: 100% 100%; }
.hero-band--fit h1, .hero-band--fit p { max-width: 430px; }
