/* Founder story - shares PlanMeal tokens; mirrors announcement hero language. */
.founder-page {
  background: var(--background);
  min-height: 100vh;
}

.founder-hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  height: min(740px, 76vh);
  overflow: hidden;
  background: var(--background);
}

.founder-hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
  z-index: -2;
}

.founder-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--background) 0%,
      color-mix(in oklab, var(--background) 92%, transparent) 30%,
      color-mix(in oklab, var(--background) 42%, transparent) 52%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--background) 38%, transparent) 0%,
      transparent 26%,
      transparent 70%,
      color-mix(in oklab, var(--background) 28%, transparent) 100%
    );
}

.founder-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 48px 200px;
}

.founder-copy {
  max-width: 520px;
}

.founder-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.founder-eyebrow svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.founder-brand {
  display: flex;
  align-items: center;
  margin: 26px 0 0;
  line-height: 0;
}

.founder-brand img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(260px, 84vw);
}

.founder-title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--foreground);
  max-width: 14ch;
}

.founder-title .accent {
  color: var(--primary-dark);
}

.founder-lede {
  margin-top: 18px;
  max-width: 420px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.founder-actions .btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 13px;
  transition: background-color 0.15s;
}

.founder-actions .btn-solid:hover {
  background: var(--primary);
}

.founder-actions .btn-solid svg,
.founder-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
}

.founder-link:hover {
  text-decoration: underline;
}

.founder-caption {
  position: absolute;
  bottom: 18px;
  right: 28px;
  font-size: 10px;
  background: var(--background);
  padding: 3px 9px;
  color: var(--fg-muted);
}

.founder-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}

.founder-story h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 32px);
  line-height: 1.25;
  color: var(--foreground);
  margin-top: 48px;
  letter-spacing: -0.01em;
}

.founder-story h2:first-child {
  margin-top: 0;
}

.founder-story p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--foreground);
  margin-top: 16px;
}

.founder-pull {
  margin: 44px 0 0;
  padding: 28px 0 28px 24px;
  border-left: 3px solid var(--primary-dark);
}

.founder-pull p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.35;
  color: var(--foreground);
  margin: 0;
}

.founder-pull cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.founder-beliefs {
  display: grid;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--border);
}

.founder-belief {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.founder-belief__num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  line-height: 1.2;
}

.founder-belief h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--foreground);
  line-height: 1.3;
}

.founder-belief p {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
}

.founder-close {
  margin-top: 56px;
  padding: 36px 0 8px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.founder-close p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
  color: var(--foreground);
}

.founder-close span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.founder-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.founder-cta .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--foreground);
  font-weight: 500;
  font-size: 13px;
  background: transparent;
  transition: background-color 0.15s;
}

.founder-cta .btn-ghost:hover {
  background: var(--secondary);
}

.founder-cta .btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 13px;
  transition: background-color 0.15s;
}

.founder-cta .btn-solid:hover {
  background: var(--primary);
}

@media (max-width: 1000px) {
  .founder-hero {
    min-height: 620px;
    height: 660px;
  }

  .founder-hero__inner {
    padding: 48px 32px 220px;
  }

  .founder-copy {
    max-width: 440px;
  }

  .founder-hero__art {
    object-position: 68% 24%;
  }

  .founder-hero__shade {
    background:
      linear-gradient(
        90deg,
        var(--background) 0%,
        color-mix(in oklab, var(--background) 90%, transparent) 36%,
        color-mix(in oklab, var(--background) 48%, transparent) 54%,
        transparent 76%
      ),
      linear-gradient(
        180deg,
        color-mix(in oklab, var(--background) 32%, transparent) 0%,
        transparent 24%,
        transparent 68%,
        color-mix(in oklab, var(--background) 24%, transparent) 100%
      );
  }
}

@media (max-width: 640px) {
  .founder-hero {
    min-height: 0;
    height: 720px;
  }

  .founder-hero__art {
    top: auto;
    bottom: 0;
    height: 300px;
    object-position: 55% 18%;
  }

  .founder-hero__shade {
    top: auto;
    bottom: 0;
    height: 300px;
    background: linear-gradient(180deg, var(--background) 0%, transparent 30%, transparent 100%);
  }

  .founder-hero__inner {
    padding: 32px 24px 330px;
  }

  .founder-copy {
    max-width: 100%;
  }

  .founder-brand img {
    height: 40px;
  }

  .founder-title {
    max-width: none;
    font-size: 32px;
  }

  .founder-lede {
    max-width: none;
    font-size: 15px;
  }

  .founder-caption {
    right: 14px;
    bottom: 10px;
    font-size: 9px;
  }

  .founder-main {
    padding: 40px 20px 16px;
  }

  .founder-story p {
    font-size: 16.5px;
  }

  .founder-belief {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 22px 0;
  }
}

/* Subtle entrance motion */
@media (prefers-reduced-motion: no-preference) {
  .founder-copy > * {
    animation: founderRise 0.7s ease both;
  }

  .founder-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .founder-copy > *:nth-child(2) { animation-delay: 0.12s; }
  .founder-copy > *:nth-child(3) { animation-delay: 0.2s; }
  .founder-copy > *:nth-child(4) { animation-delay: 0.28s; }
  .founder-copy > *:nth-child(5) { animation-delay: 0.36s; }

  .founder-hero__art {
    animation: founderFade 1.1s ease both;
  }
}

@keyframes founderRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes founderFade {
  from { opacity: 0.72; }
  to { opacity: 1; }
}
