/* Scoped to the Consult for Impact founder-letter page. */
body.cfi-story-letter {
  margin: 0;
  background: #F7F1E6;
  color: #1D2420;
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: #647B4F #F7F1E6;
}
body.cfi-story-letter ::selection { background: #FFC392; color: #073B2F; }
body.cfi-story-letter :where(a, button, input):focus-visible { outline: 3px solid #C96B4F; outline-offset: 4px; }
body.cfi-story-letter #dc-root { inline-size: 100%; }
body.cfi-story-letter #dc-root > .sc-host { min-inline-size: 0; }
body.cfi-story-letter .cfi-letter-skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 10000; padding: 12px 18px; background: #FFFDF8; color: #073B2F; transform: translateY(-200%); }
body.cfi-story-letter .cfi-letter-skip:focus { transform: none; }
body.cfi-story-letter .os-headwrap { position: relative; z-index: 10; background: #F7F1E6; }
body.cfi-story-letter .os-nav { background: #F7F1E6 !important; border-block-end: 1px solid #D8DDD4 !important; }
body.cfi-story-letter .os-nav-apply { background: #073B2F !important; color: #FFFDF8 !important; border-radius: 4px !important; min-block-size: 44px; }
body.cfi-story-letter .os-cfi-menu-cta, body.cfi-story-letter .os-cfi-menu-contact { border-radius: 4px; }
body.cfi-story-letter .os-cfi-menu { box-shadow: 0 18px 40px rgba(0, 0, 0, .22) !important; }
body.cfi-story-letter .os-cfi-menu-header { display: flex !important; }
body.cfi-story-letter .os-cfi-menu a:hover { color: #FFC392; }
body.cfi-story-letter .os-cfi-menu .os-cfi-menu-cta:hover { color: #073B2F; background: #FFFDF8; }
body.cfi-story-letter .cfi-letter { background: #F7F1E6; }
body.cfi-story-letter .cfi-letter-header,
body.cfi-story-letter .cfi-letter-layout {
  inline-size: min(100% - 96px, 1120px);
  margin-inline: auto;
}
body.cfi-story-letter .cfi-letter-header { padding-block: clamp(56px, 6vw, 88px) 52px; }
body.cfi-story-letter .cfi-letter-header h1 {
  max-inline-size: 900px;
  margin: 0;
  color: #073B2F;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2.75rem, 1.5rem + 4vw, 4.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}
body.cfi-story-letter .cfi-letter-header h1 > span { display: block; }
body.cfi-story-letter .cfi-letter-header h1 em { color: #A34D35; font-weight: 400; }
body.cfi-story-letter .cfi-letter-deck {
  max-inline-size: 600px;
  margin: 28px 0 0;
  color: #3B453F;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.25rem, 1rem + .5vw, 1.5rem);
  line-height: 1.4;
  font-style: italic;
}
body.cfi-story-letter .cfi-letter-layout {
  display: grid;
  grid-template-columns: minmax(0, 710px) minmax(180px, 250px);
  grid-template-areas: "story founder";
  align-items: start;
  justify-content: space-between;
  gap: 56px;
  padding-block-end: 96px;
}
body.cfi-story-letter .cfi-letter-founder { grid-area: founder; margin: 0; border-block-start: 1px solid #CBD3CA; padding-block-start: 20px; }
body.cfi-story-letter .cfi-letter-founder img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
body.cfi-story-letter .cfi-letter-founder figcaption { margin-block-start: 18px; color: #3B453F; font-size: 13px; line-height: 1.6; }
body.cfi-story-letter .cfi-letter-founder strong { display: block; margin-block-end: 3px; color: #073B2F; font-size: 16px; font-weight: 600; }
body.cfi-story-letter .cfi-letter-story { grid-area: story; min-inline-size: 0; max-inline-size: 68ch; font-size: 17px; line-height: 1.85; color: #3B453F; }
body.cfi-story-letter .cfi-letter-story > p { margin: 0 0 28px; }
body.cfi-story-letter .cfi-letter-story strong { color: #073B2F; font-weight: 600; }
body.cfi-story-letter .cfi-letter-story blockquote { margin: 38px 0; padding: 32px 36px; background: #073B2F; color: #FFFDF8; border: 0; }
body.cfi-story-letter .cfi-letter-story blockquote p { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(1.75rem, 1.4rem + .7vw, 2.25rem); font-weight: 400; line-height: 1.25; letter-spacing: -.015em; }
body.cfi-story-letter .cfi-letter-story blockquote em { color: #FFC392; }
body.cfi-story-letter .cfi-letter-story > p:last-child { margin-block-end: 0; color: #073B2F; font-family: Newsreader, Georgia, serif; font-size: 25px; line-height: 1.35; font-style: italic; }
/* This section belongs to Boundlearn, using the current /about identity. */
body.cfi-story-letter .cfi-letter-about {
  --bl-section-surface: #08080A;
  --bl-section-ink: #F5F5F7;
  --bl-section-muted: #C9C9D1;
  --bl-section-accent: #C6A0FF;
  background: var(--bl-section-surface);
  color: var(--bl-section-ink);
  padding-block: 72px;
  font-family: 'Inter Tight', system-ui, sans-serif;
}
body.cfi-story-letter .cfi-letter-about ::selection { background: var(--bl-section-accent); color: var(--bl-section-surface); }
body.cfi-story-letter .cfi-letter-about a:focus-visible { outline-color: var(--bl-section-accent); }
body.cfi-story-letter .cfi-letter-about__inner { inline-size: min(100% - 96px, 1120px); margin-inline: auto; display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 64px; }
body.cfi-story-letter .cfi-letter-about h2 { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin: 0; font-weight: 400; }
body.cfi-story-letter .cfi-letter-about h2 span { font-family: Fraunces, Georgia, serif; font-size: clamp(1.75rem, 1.4rem + .8vw, 2.25rem); font-style: italic; line-height: 1.15; color: var(--bl-section-muted); }
body.cfi-story-letter .cfi-letter-about h2 img { display: block; inline-size: 296px; max-inline-size: 100%; block-size: auto; }
body.cfi-story-letter .cfi-letter-about p { margin: 0 0 20px; font-size: 1.125rem; line-height: 1.7; max-inline-size: 65ch; text-wrap: pretty; }
body.cfi-story-letter .cfi-letter-about p + p { border-block-start: 1px solid rgb(245 245 247 / .18); padding-block-start: 24px; color: var(--bl-section-muted); font-size: 1rem; }
body.cfi-story-letter .cfi-letter-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-block-start: 28px; }
body.cfi-story-letter .cfi-letter-actions a { color: var(--bl-section-ink); text-decoration: underline; text-underline-offset: 5px; font-size: .875rem; font-weight: 600; line-height: 1.5; min-block-size: 44px; display: inline-flex; align-items: center; }
body.cfi-story-letter .cfi-letter-actions .cfi-letter-apply { border-radius: 999px; padding: 13px 24px; background: linear-gradient(100deg, #C6A0FF 0%, #FF6FB2 100%); color: var(--bl-section-surface); text-decoration: none; font-weight: 700; }
body.cfi-story-letter .cfi-letter-actions a:hover { color: #E5C7FF; }
body.cfi-story-letter .cfi-letter-actions .cfi-letter-apply:hover { background: #E5C7FF; color: var(--bl-section-surface); }

/* Footer appearance is owned by the shared Boundlearn footer styles. */
/* The canonical CFI component normally inherits these layout rules from
   cfi-page.css/cfi-tablet.css; retain them inside the founder-letter shell. */
body.cfi-story-letter #dc-root [data-cfi-shared-footer] { padding: 70px 58px 40px !important; }
body.cfi-story-letter #dc-root [data-cfi-shared-footer] .bl-boundlearn-footer__links a { line-height: 1.4 !important; }
@media (min-width: 641px) and (max-width: 1180px) { body.cfi-story-letter #dc-root [data-cfi-shared-footer] { padding: 52px 32px 34px !important; } }
@media (max-width: 640px) { body.cfi-story-letter #dc-root [data-cfi-shared-footer] { padding: 54px 22px 30px !important; } }
@media (max-width: 1000px) {
  body.cfi-story-letter .cfi-letter-header, body.cfi-story-letter .cfi-letter-layout { inline-size: min(100% - 64px, 760px); }
  body.cfi-story-letter .cfi-letter-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "founder" "story"; gap: 36px; padding-block-end: 64px; }
  body.cfi-story-letter .cfi-letter-founder { display: flex; gap: 24px; align-items: center; border-block-start: 0; padding-block-start: 0; }
  body.cfi-story-letter .cfi-letter-founder img { inline-size: 128px; }
  body.cfi-story-letter .cfi-letter-founder figcaption { margin: 0; }
  body.cfi-story-letter .cfi-letter-about__inner { inline-size: min(100% - 64px, 760px); grid-template-columns: minmax(0, 1fr); gap: 28px; }
  }
@media (max-width: 1180px) {
  body.cfi-story-letter .os-nav { min-block-size: 70px !important; padding: 14px 22px !important; }
  body.cfi-story-letter .os-navlinks, body.cfi-story-letter .os-nav-apply { display: none !important; }
  body.cfi-story-letter .os-nav .os-cfi-burger { display: inline-flex !important; }
}
@media (min-width: 1181px) { body.cfi-story-letter .os-desktop-about-link { display: inline-flex !important; } }
@media (max-width: 600px) {
  body.cfi-story-letter .cfi-letter-header, body.cfi-story-letter .cfi-letter-layout { inline-size: calc(100% - 44px); }
  body.cfi-story-letter .cfi-letter-header { padding-block: 44px 32px; }
  body.cfi-story-letter .cfi-letter-header h1 { font-size: clamp(2.5rem, 1.75rem + 3vw, 3rem); }
  body.cfi-story-letter .cfi-letter-deck { font-size: 20px; margin-block-start: 22px; }
  body.cfi-story-letter .cfi-letter-founder { gap: 20px; }
  body.cfi-story-letter .cfi-letter-founder img { inline-size: 104px; }
  body.cfi-story-letter .cfi-letter-story { font-size: 16px; line-height: 1.85; }
  body.cfi-story-letter .cfi-letter-story blockquote { padding: 28px 24px; margin-block: 32px; }
  body.cfi-story-letter .cfi-letter-story blockquote p { font-size: 28px; }
  body.cfi-story-letter .cfi-letter-about { padding-block: 48px; }
  body.cfi-story-letter .cfi-letter-about__inner { inline-size: calc(100% - 44px); }
  body.cfi-story-letter .cfi-letter-about h2 { gap: 16px; }
  body.cfi-story-letter .cfi-letter-about h2 img { inline-size: 264px; }
  body.cfi-story-letter .cfi-letter-actions { align-items: flex-start; gap: 12px 24px; }
  }
.cfi-letter-about h2 span { font-family: 'Inter Tight', system-ui, sans-serif !important; font-size: .75rem !important; font-weight: 600 !important; font-style: normal !important; line-height: 1.5 !important; letter-spacing: .2em !important; text-transform: uppercase !important; }
.cfi-letter-about .cfi-letter-actions a:is([href='/about'], [href='/programs']) { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-block-size: 56px; padding: 14px 26px; border: 1px solid rgb(245 245 247 / .38); border-radius: 999px; background: #08080A; color: #F5F5F7 !important; font-family: 'Inter Tight', system-ui, sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.5; text-decoration: none; text-align: center; }
.cfi-letter-about .cfi-letter-actions a[href='/about'] { background: #F5F5F7; border-color: #F5F5F7; color: #08080A !important; }
.cfi-letter-about .cfi-letter-actions a[href='/about']:hover { background: #E5C7FF; border-color: #E5C7FF; }
.cfi-letter-about .cfi-letter-actions a[href='/programs']:hover { border-color: #F5F5F7; }
