/* ==========================================================================
   Launch Labs — "Founder" statement (standalone experiment). A personal point
   of view, not a testimonial/team/about card. Full-bleed portrait on one side,
   a large confident statement on the other, on near-black. No borders, cards or
   boxes. The second line carries the weight, with Launch red used only on
   "why someone should choose you". Restrained enter reveal. All namespaced
   .founder; modifies nothing else. To revert: delete this file, js/founder.js,
   the .founder markup and their <link>/<script> lines.
   ========================================================================== */

.founder {
  position: relative;
  background: #010202;
  color: #FFFFFF;
}

.founder__grid {
  display: grid;
  /* ~45% portrait / ~55% message: still a founder moment, but the answer leads. */
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: clamp(42rem, 92vh, 58rem);
}

/* Portrait — full-bleed on its side, cropped editorially (not a photo card). */
.founder__portrait {
  position: relative;
  overflow: hidden;
}
.founder__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.founder__statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 7rem) clamp(2rem, 6vw, 6.5rem);
}

/* 1. Question / eyebrow — introduces the thought, doesn't dominate. Small,
   uppercase, Launch red, generously tracked. */
.founder__eyebrow {
  margin: 0 0 clamp(1.6rem, 3vw, 2.6rem);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D92632;
  max-width: 30ch;
}

/* 2. Contrast — the conventional approach. Near-white and clearly readable
   (not muted grey), medium weight, important but secondary to the answer.
   ~26ch keeps it to an intentional two lines on desktop. */
.founder__line1 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.92);
  max-width: 26ch;
}

/* 3. The answer — the main statement. "We start with" heavy white; the idea
   itself carried in red. ~18ch avoids awkward wrapping from a narrow column. */
.founder__line2 {
  margin-top: clamp(1.1rem, 2.6vw, 2.1rem);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  max-width: 18ch;
}

/* Red emphasises the idea only, not the whole sentence. */
.founder__red { color: #D92632; }

.founder__attrib { margin-top: clamp(2rem, 4vw, 3.25rem); }
.founder__name {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  letter-spacing: -0.005em;
  color: #FFFFFF;
}
.founder__role {
  margin: 0.3rem 0 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.15vw, 1rem);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.52);
}

/* ---- Restrained enter reveal (js/founder.js adds .is-visible) ----
   Quick, subtle sequence: question -> conventional approach -> our approach
   -> attribution. Once revealed everything stays put; this is not a
   scroll-controlled story, the whole message reads together. */
.founder__portrait img { opacity: 0; transform: scale(1.05); }
.founder__eyebrow,
.founder__line1,
.founder__line2,
.founder__attrib { opacity: 0; transform: translateY(16px); }

.founder.is-visible .founder__portrait img { animation: founder-img 1.1s var(--ease) forwards; }
.founder.is-visible .founder__eyebrow { animation: founder-rise 0.6s var(--ease) forwards; animation-delay: 0.12s; }
.founder.is-visible .founder__line1 { animation: founder-rise 0.6s var(--ease) forwards; animation-delay: 0.28s; }
.founder.is-visible .founder__line2 { animation: founder-rise 0.6s var(--ease) forwards; animation-delay: 0.46s; }
.founder.is-visible .founder__attrib { animation: founder-rise 0.6s var(--ease) forwards; animation-delay: 0.64s; }

@keyframes founder-img {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes founder-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Mobile — portrait on top (still prominent), statement beneath. Considered,
   not just a shrunk desktop layout.
   ========================================================================== */
@media (max-width: 52rem) {
  .founder__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .founder__portrait { height: clamp(22rem, 54vh, 32rem); }
  .founder__portrait img { object-position: center 16%; }
  .founder__statement {
    padding: clamp(2.5rem, 9vw, 4rem) clamp(1.5rem, 7vw, 3rem) clamp(3rem, 10vw, 4.5rem);
  }
  .founder__eyebrow { max-width: none; letter-spacing: 0.15em; }
  .founder__line1 { font-size: clamp(1.3rem, 5.6vw, 2rem); max-width: none; }
  .founder__line2 { font-size: clamp(2rem, 9.5vw, 3.2rem); max-width: none; }
}
