/* ==========================================================================
   Founder page: /founders-page
   Scoped under .fdr so Bootstrap / app.css / cat-exam-landing.css stay out.
   Typography: Inter, which the site enforces on every element (inter-font component).
   ========================================================================== */

.fdr {
  --fdr-ink: #1a1a2e;          /* CATKing navy */
  --fdr-ink-2: #45475a;
  --fdr-mute: #5f6b78;
  --fdr-rule: #e1e5eb;
  --fdr-panel: #f0f6fc;        /* cool off-white */
  --fdr-amber: #e8951f;        /* brand amber, on navy */
  --fdr-amber-ink: #9a5800;    /* amber as text on white (AA) */
  --fdr-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  font-family: var(--fdr-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--fdr-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.fdr h1, .fdr h2, .fdr h3, .fdr p, .fdr ul, .fdr ol, .fdr dl, .fdr dd,
.fdr figure, .fdr blockquote { margin: 0; padding: 0; }
.fdr ul, .fdr ol { list-style: none; }
/* cat-exam-landing.css styles bare `section` elements (padding, background, margin) */
.fdr section { padding: 0; margin: 0; background: none; color: inherit; overflow: visible; border-radius: 0; }
.fdr h1, .fdr h2, .fdr h3 { font-family: var(--fdr-sans); color: var(--fdr-ink); }
.fdr a { color: inherit; text-decoration: none; }
.fdr img { display: block; max-width: 100%; height: auto; }
.fdr :focus-visible { outline: 3px solid var(--fdr-amber-ink); outline-offset: 3px; border-radius: 2px; }

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

.fdr-wrap { max-width: 1330px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .fdr-wrap { padding: 0 32px; } }

.fdr-accent { font-weight: 700; color: var(--fdr-amber); }

/* ---------- Hero ---------- */
.fdr-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--fdr-ink);
  color: #fff;
}
.fdr-hero :focus-visible { outline-color: var(--fdr-amber); }

/* Photo: on phones a banner above the text, on desktop the right ~60% of the hero.
   Its busy left side fades into navy so the text always sits on a clean ground. */
.fdr-hero__photo { position: relative; z-index: -1; aspect-ratio: 16 / 10; }
.fdr .fdr-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.fdr-hero__photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--fdr-ink) 0%, rgba(26,26,46,.55) 28%, rgba(26,26,46,0) 55%);
}

.fdr-hero__inner { padding-top: 8px; padding-bottom: 48px; }
.fdr-hero__text { max-width: 560px; }

@media (min-width: 900px) {
  .fdr-hero { display: flex; align-items: center; min-height: clamp(520px, 40vw, 600px); }
  .fdr-hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; aspect-ratio: auto; }
  .fdr .fdr-hero__photo img { object-position: right center; }
  .fdr-hero__photo::after {
    background:
      linear-gradient(to right, var(--fdr-ink) 0%, rgba(26,26,46,.85) 18%, rgba(26,26,46,.35) 42%, rgba(26,26,46,0) 62%),
      linear-gradient(to top right, rgba(26,26,46,.6) 0%, rgba(26,26,46,0) 35%);
  }
  .fdr-hero__inner { width: 100%; padding-top: 72px; padding-bottom: 72px; }
  .fdr-hero__text { text-shadow: 0 1px 14px rgba(0,0,0,.35); }
}

.fdr .fdr-title { margin-top: 0; color: #fff; font-weight: 800; line-height: 1.02; }
.fdr-title__pre {
  display: block;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.82);
}
.fdr-title__name {
  display: block;
  margin-top: 10px;
  font-size: clamp(2.625rem, 1.6rem + 4.6vw, 5rem);
  letter-spacing: -.045em;
}

.fdr-role {
  margin-top: 18px !important;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.fdr-lede { margin-top: 20px !important; max-width: 52ch; font-size: 1.0625rem; line-height: 1.65; color: rgba(232,235,242,.84); }

.fdr-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px !important; }
.fdr-social a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 4px;
  font-size: .9375rem; font-weight: 600; line-height: 1;
  color: #fff;
  transition: border-color .15s, background-color .15s;
}
.fdr-social a:hover { border-color: var(--fdr-amber); background: rgba(232,149,31,.12); color: #fff; }


/* ---------- Story ---------- */
.fdr-body { display: grid; gap: 48px; padding-top: 56px; padding-bottom: 72px; }
@media (min-width: 1000px) {
  .fdr-body { padding-top: 88px; padding-bottom: 96px; }
}

/* Text sections keep a readable column; the Before CATKing split uses the full width */
.fdr-story > section:not(.fdr-intro):not(.fdr-sos):not(.fdr-recog) { max-width: 760px; }

.fdr-sos { display: grid; gap: 24px; }
.fdr-sos__media {
  aspect-ratio: 1107 / 771;
  border-radius: 6px;
  overflow: hidden;
  background: var(--fdr-panel);
}
.fdr .fdr-sos__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .fdr-sos { grid-template-columns: minmax(0, 520px) minmax(0, 600px); gap: 56px; align-items: start; }
  /* Pull the heading up by its line-height leading so its top lines up with the photo's top edge */
  .fdr-sos__text h2 { margin-top: -.12em; }
}

/* Small gap after the opening paragraph */
.fdr-sos__text p.fdr-sos__gap { margin-top: 32px; }

/* Recognition: list on the left, award photo on the right, tops aligned */
.fdr-recog { display: grid; gap: 28px; }
.fdr-recog__media { max-width: 420px; border-radius: 6px; overflow: hidden; background: var(--fdr-panel); }
.fdr .fdr-recog__media img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .fdr-recog { grid-template-columns: minmax(0, 680px) minmax(0, 400px); gap: 64px; align-items: start; }
  .fdr-recog__text h2 { margin-top: -.12em; }
}
.fdr-story section + section { margin-top: 56px; }
.fdr-story h2, .fdr-talks h2 {
  font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.fdr-story p { color: var(--fdr-ink-2); }
.fdr-story p + p { margin-top: 16px; }
.fdr-story strong { color: var(--fdr-ink); font-weight: 700; }

.fdr-awards { border-top: 1px solid var(--fdr-rule); }
.fdr-awards li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--fdr-rule);
  line-height: 1.45;
}
.fdr-awards__name { font-weight: 600; }
.fdr-awards__meta { font-size: .9375rem; color: var(--fdr-mute); }

/* ---------- CATKing in numbers: full-width cream band ---------- */
.fdr section.fdr-impact { background: #f3efe7; padding: 56px 0 52px; }
@media (min-width: 768px) { .fdr section.fdr-impact { padding: 80px 0 72px; } }
.fdr-impact h2 {
  font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.fdr-impact__intro { margin-top: 10px !important; font-size: 1rem; color: var(--fdr-ink-2); }

.fdr-impact__stats { display: grid; margin-top: 28px !important; }
.fdr-impact__stats li { padding: 18px 0; line-height: 1.2; }
.fdr-impact__stats li + li { border-top: 1px solid rgba(26,26,46,.14); }
.fdr-impact__stats strong {
  display: block;
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: var(--fdr-ink);
}
.fdr-impact__stats span { display: block; margin-top: 6px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.375rem); color: var(--fdr-ink-2); }

@media (min-width: 768px) {
  .fdr-impact__stats { grid-template-columns: repeat(3, 1fr); }
  .fdr-impact__stats li { padding: 6px 40px; }
  .fdr-impact__stats li:first-child { padding-left: 0; }
  .fdr-impact__stats li + li { border-top: 0; border-left: 1px solid rgba(26,26,46,.18); }
}


/* ---------- Featured conversations ---------- */
.fdr section.fdr-talks { background: var(--fdr-panel); padding: 64px 0 72px; }
@media (min-width: 768px) { .fdr section.fdr-talks { padding: 88px 0 96px; } }
.fdr-talks__head { max-width: 760px; margin-bottom: 36px; }
.fdr-talks__head p { color: var(--fdr-ink-2); }

.fdr-videos { display: grid; gap: 28px; }
@media (min-width: 640px) { .fdr-videos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .fdr-videos { grid-template-columns: repeat(3, 1fr); } }

.fdr-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--fdr-ink);
}
.fdr-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fdr-video__play { all: unset; position: absolute; inset: 0; cursor: pointer; }
.fdr-video__play img { width: 100%; height: 100%; object-fit: cover; }
.fdr-video__icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--fdr-amber);
  color: var(--fdr-ink);
  font-size: 1.125rem;
  transition: transform .15s;
}
.fdr-video__icon i { margin-left: 3px; }
.fdr-video__play:hover .fdr-video__icon { transform: translate(-50%, -50%) scale(1.08); }
.fdr-video__play:focus-visible { outline: 3px solid var(--fdr-amber-ink); outline-offset: -3px; }

.fdr-video__frame--soon { display: flex; align-items: flex-end; padding: 18px; }
.fdr-video__frame--soon span {
  font-weight: 700; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; color: var(--fdr-amber);
}

.fdr-video h3 { margin-top: 12px; font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
.fdr-video h3 a:hover { color: var(--fdr-amber-ink); text-decoration: underline; }

.fdr-talks__more { margin-top: 32px !important; }
.fdr-talks__more a { font-weight: 700; color: var(--fdr-amber-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Quote ---------- */
.fdr section.fdr-quote { position: relative; isolation: isolate; overflow: hidden; background: var(--fdr-ink); color: #fff; padding: 72px 0; }
/* Photo behind the quote, with navy over it (heaviest on the left, where the text sits) */
.fdr .fdr-quote__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.fdr section.fdr-quote::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(26,26,46,.92) 0%, rgba(26,26,46,.8) 45%, rgba(26,26,46,.5) 100%);
}
@media (max-width: 767px) { .fdr section.fdr-quote::before { background: rgba(26,26,46,.82); } }
@media (min-width: 768px) { .fdr section.fdr-quote { padding: 104px 0; } }
.fdr-quote figure { max-width: 860px; }
.fdr-quote blockquote p {
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #fff;
}
.fdr-quote blockquote p::before { content: '“'; color: var(--fdr-amber); }
.fdr-quote blockquote p::after  { content: '”'; color: var(--fdr-amber); }
.fdr-quote figcaption { margin-top: 20px; font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.72); }
.fdr-quote :focus-visible { outline-color: var(--fdr-amber); }

.fdr-quote__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.fdr-btn {
  display: inline-flex; align-items: center;
  padding: 14px 24px;
  border-radius: 4px;
  font-size: .9375rem; font-weight: 700; line-height: 1;
  transition: background-color .15s, border-color .15s;
}
.fdr .fdr-btn--primary { background: var(--fdr-amber); color: var(--fdr-ink); }
.fdr .fdr-btn--primary:hover { background: #d17f0f; }
.fdr .fdr-btn--ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.fdr .fdr-btn--ghost:hover { border-color: var(--fdr-amber); }

@media (prefers-reduced-motion: reduce) {
  .fdr * { transition: none !important; }
}
