/* Puente Latino — CRA Program page. Static, dependency-free CSS. */

:root {
  --orange: #F15A24;
  --orange-hover: #D64A16;
  --orange-soft: #FDE9DF;
  --teal: #2F8F89;
  --teal-soft: #EEF6F5;
  --ink: #111111;
  --ink-2: #333333;
  --ink-3: #555555;
  --ink-4: #8A8A8A;
  --rule: #E6E6E6;
  --rule-2: #D4D4D4;
  --surface-2: #F5F5F5;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }

a { color: var(--orange); }
a:hover { color: var(--orange-hover); }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 200;
  font-weight: 700; font-size: 13px;
  transition: top 150ms;
}
.skip-link:focus { top: 12px; }

/* Focus states */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 20px 24px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 220ms, padding 220ms, border-color 220ms;
}
.nav.scrolled {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding: 14px 24px;
}
.nav__brand {
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.nav.scrolled .nav__brand { color: var(--ink); }
.nav__brand .dot { color: var(--orange); }
.nav__links {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap; row-gap: 10px;
}
.nav__link {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; text-decoration: none; white-space: nowrap;
}
.nav.scrolled .nav__link { color: var(--ink); }
.lang-toggle { display: flex; border: 1.5px solid rgba(255,255,255,0.5); flex: 0 0 auto; }
.nav.scrolled .lang-toggle { border-color: var(--rule-2); }
.lang-toggle button {
  border: 0; background: transparent; color: #fff;
  font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 6px 10px; cursor: pointer;
}
.nav.scrolled .lang-toggle button { color: var(--ink); }
.lang-toggle button[aria-pressed="true"] { background: var(--orange); color: #fff; }
.nav__cta {
  padding: 10px 16px; background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; flex: 0 0 auto;
}
.nav__cta:hover { background: var(--orange-hover); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; padding: 15px 24px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border: 1.5px solid #fff; }
.btn-secondary:hover { background: #fff; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; color: #fff; overflow: hidden;
  display: flex; flex-direction: column; isolation: isolate;
  background: linear-gradient(160deg, #4a4a4a 0%, #2a2a2a 60%, #111 100%);
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  background: #333 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 40px;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.82) 100%);
}
.hero__inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(120px,20vw,140px) clamp(24px,5vw,40px) clamp(48px,8vw,72px);
  max-width: 1200px; width: 100%; margin: 0 auto;
}
.hero__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.hero h1 {
  font-weight: 700; font-size: clamp(30px,7vw,68px); line-height: 1.05; letter-spacing: -0.02em;
  max-width: 820px; text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero__sub {
  font-size: clamp(15px,3vw,17px); line-height: 1.5; margin-top: 18px; max-width: 560px;
  opacity: 0.92; font-weight: 500;
}
.hero__body {
  font-size: 14px; line-height: 1.7; margin-top: 22px; max-width: 600px; opacity: 0.88;
}
.hero__ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px,8vw,96px) clamp(20px,5vw,40px); max-width: 1200px; margin: 0 auto; }
.section--band { background: var(--surface-2); max-width: none; }
.section--band > .section-inner { max-width: 1200px; margin: 0 auto; }
.section--ink { background: var(--ink); color: #fff; max-width: none; }
.section--ink > .section-inner { max-width: 1200px; margin: 0 auto; }
.section--teal { background: var(--teal-soft); max-width: none; }
.section--teal > .section-inner { max-width: 1200px; margin: 0 auto; }

.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow--teal { color: var(--teal); }
.h2 { font-weight: 700; font-size: clamp(24px,4vw,36px); line-height: 1.15; letter-spacing: -0.01em; }
.h2--lg { font-size: clamp(26px,5vw,44px); line-height: 1.1; letter-spacing: -0.02em; }
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.lede { font-size: 15px; color: var(--ink-3); max-width: 640px; margin: 20px auto 0; line-height: 1.7; }

/* Narration */
.narration { background: var(--ink); color: #fff; padding: clamp(48px,8vw,96px) clamp(20px,5vw,40px); text-align: center; }
.narration blockquote {
  max-width: 840px; margin: 0 auto; font-size: clamp(19px,4vw,30px); line-height: 1.4;
  font-weight: 500; letter-spacing: -0.01em;
}
.narration .accent { color: var(--orange); font-weight: 700; }

/* Program overview */
.overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 40px; }
.overview-grid .rule { width: 48px; height: 2px; background: var(--orange); margin-top: -2px; }
.overview-grid p { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.overview-grid p + p { margin-top: 18px; }

/* Partnership */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1px; background: var(--rule); }
.partner-col { background: #fff; padding: clamp(24px,5vw,40px); }
.partner-col h3 { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.partner-col .sub { font-size: 12px; color: var(--ink-4); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.partner-list { list-style: none; margin: 0; padding: 0; }
.partner-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--rule); }
.icon-circ { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.icon-circ svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.75; fill: none; }
.icon-circ--teal { background: var(--teal-soft); color: var(--teal); }
.icon-circ--orange { background: var(--orange-soft); color: var(--orange); }
.partner-list .label { font-size: 14px; font-weight: 500; color: var(--ink-2); padding-top: 8px; }
.partner-note { text-align: center; max-width: 680px; margin: 32px auto 0; font-size: 13px; color: var(--ink-4); line-height: 1.6; }

/* Redesign comparison */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.compare-col { padding: clamp(24px,5vw,40px); }
.compare-col--muted { background: var(--surface-2); }
.compare-col--white { background: #fff; }
.compare-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; }
.compare-label--muted { color: var(--ink-4); }
.compare-label--orange { color: var(--orange); }
.compare-list { list-style: none; margin: 0; padding: 0; }
.compare-list li { display: flex; gap: 12px; align-items: center; padding: 11px 0; }
.compare-list--muted span.mark { color: var(--ink-4); font-size: 15px; }
.compare-list--muted span.txt { font-size: 15px; color: var(--ink-3); }
.compare-list--strong .icon-circ { width: 20px; height: 20px; background: transparent; color: var(--orange); }
.compare-list--strong .icon-circ svg { width: 14px; height: 14px; stroke-width: 2.2; }
.compare-list--strong span.txt { font-size: 15px; font-weight: 700; color: var(--ink); }
.compare-footnote { text-align: center; max-width: 720px; margin: 40px auto 0; font-size: 15px; color: var(--ink-2); line-height: 1.7; }

/* Approach */
.approach-row { display: flex; flex-wrap: wrap; gap: 0; align-items: stretch; }
.approach-step { display: flex; align-items: center; }
.approach-step__body { display: flex; flex-direction: column; gap: 14px; min-width: 170px; max-width: 200px; padding: 16px 0; }
.approach-step .icon-circ { width: 52px; height: 52px; background: transparent; border: 1.5px solid rgba(255,255,255,0.3); color: var(--orange); }
.approach-step .icon-circ svg { width: 24px; height: 24px; }
.approach-step .n { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--orange); }
.approach-step .label { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin-top: 4px; }
.approach-step .desc { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 8px; line-height: 1.55; }
.approach-arrow { padding: 0 20px; color: rgba(255,255,255,0.35); font-size: 20px; align-self: flex-start; margin-top: 16px; }

/* Community knowledge */
.knowledge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 28px; }
.knowledge-item svg { width: 32px; height: 32px; stroke: var(--orange); stroke-width: 1.5; fill: none; margin-bottom: 12px; display: block; }
.knowledge-item .label { font-weight: 700; font-size: 14px; }

/* Tools */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 28px; }
.tool-card { background: #fff; border: 1px solid var(--rule); }
.tool-card__frame { aspect-ratio: 16/10; background: var(--ink); position: relative; }
.tool-card__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tool-card__body { padding: 24px clamp(18px,4vw,28px); }
.tool-card__title { font-weight: 700; font-size: 18px; }
.tool-card__desc { font-size: 14px; color: var(--ink-3); margin-top: 8px; line-height: 1.6; }
.tool-card__link { display: inline-block; margin-top: 14px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-bottom: 1.5px solid var(--orange); padding-bottom: 2px; }

/* Photo placeholders */
.photo-placeholder {
  width: 100%; height: 100%; background: var(--surface-2);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-4); font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; text-align: center; padding: 12px;
}

/* Stories */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.story-card__media { position: relative; aspect-ratio: 9/13; background: var(--ink); }
.story-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.story-card__play span {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
}
.story-card__play span::before {
  content: ""; width: 0; height: 0;
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
  border-left: 16px solid var(--ink); margin-left: 4px;
}
.story-card__prompt { font-size: 14px; font-weight: 700; margin-top: 12px; line-height: 1.4; }

/* Podcast */
.podcast-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.podcast-card { background: #fff; border: 1px solid var(--rule-2); }
.podcast-card__art { aspect-ratio: 1/1; }
.podcast-card__body { padding: 20px; }
.podcast-card__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.podcast-card__title { font-weight: 700; font-size: 16px; margin-top: 8px; }
.podcast-card__soon { font-size: 13px; color: var(--ink-4); margin-top: 10px; }

/* Photo essay */
.essay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); grid-auto-rows: 220px; gap: 8px; }
.essay-grid .span-2x2 { grid-column: span 2; grid-row: span 2; }

/* Impact */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.impact-stat { padding: 28px 20px; border-right: 1px solid var(--rule); }
.impact-stat__num { font-size: clamp(36px,6vw,56px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--orange); }
.impact-stat__label { font-weight: 700; font-size: 15px; margin-top: 10px; }
.impact-stat__sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }

/* Spring CTA */
.spring { position: relative; overflow: hidden; color: #fff; }
.spring__media { position: absolute; inset: 0; background: #333 center/cover no-repeat; }
.spring__overlay { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.3) 100%); pointer-events: none; }
.spring__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(56px,10vw,120px) clamp(20px,5vw,40px); }
.spring__body { font-size: 15px; line-height: 1.7; margin-top: 20px; max-width: 560px; opacity: 0.9; }
.spring .btn-primary { margin-top: 32px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 40px 24px; }
.footer__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.footer__brand .dot { color: var(--orange); }
.footer__meta { font-size: 12px; line-height: 1.6; margin-top: 10px; }
.footer__hd { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.footer a.footer__link { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.footer a.footer__link:hover { color: #fff; }

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
