/* =========================================================
   SMALL TOWN MAHJ — ADELA FOUNDER STORY
   Calm editorial treatment with a portrait-led introduction and generous
   reading rhythm for the complete founder story.
   ========================================================= */

.founder-story-hero {
  padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(3rem, 6vw, 5.5rem);
}

.founder-story-hero__inner,
.founder-story__article,
.founder-story-next__inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.founder-story-hero__inner {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(300px,.75fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.founder-story-kicker {
  margin: 0 0 .85rem;
  color: #174b8f;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.founder-story-hero h1 {
  margin: 0;
  color: #082f67;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: .9;
  letter-spacing: -.035em;
}

.founder-story-hero__copy > p:last-child {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: #5c6d82;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.5;
}

.founder-portrait {
  margin: 0;
}

.founder-portrait__placeholder {
  display: grid;
  min-height: 500px;
  place-content: end start;
  overflow: hidden;
  border: 1px solid rgba(23,75,143,.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(8,52,119,.26)),
    radial-gradient(circle at 32% 18%, rgba(255,255,255,.72), transparent 18%),
    linear-gradient(145deg, #dce7f2 0%, #edddd6 48%, #d8e4d2 100%);
  box-shadow: 0 22px 45px rgba(19,52,91,.12);
  color: #fffaf1;
  padding: 1.35rem;
}

.founder-portrait__placeholder span {
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
}

.founder-portrait__placeholder small {
  margin-top: .4rem;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.founder-portrait figcaption {
  margin-top: .8rem;
  color: #174b8f;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.story-mahjong-divider {
  display: grid;
  place-items: center;
  width: 100%;
  margin: clamp(1.4rem, 2.8vw, 2.4rem) 0;
}

.story-mahjong-divider img {
  display: block;
  width: min(260px, 31vw);
  height: auto;
}

.founder-story {
  padding: clamp(2.4rem, 4.5vw, 4.4rem) 0;
  border-top: 0;
  background: rgba(255,255,255,.22);
}

.founder-story__article {
  width: min(760px, calc(100% - 40px));
}

.founder-story__article p {
  margin: 0 0 1.6rem;
  color: #4f6177;
  font-size: clamp(1.03rem, 1.4vw, 1.17rem);
  line-height: 1.82;
}

.founder-story__opening {
  color: #082f67 !important;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem) !important;
  line-height: 1.35 !important;
}

.founder-story__emphasis {
  margin-block: 2.4rem !important;
  color: #174b8f !important;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem) !important;
  line-height: 1.32 !important;
}

.founder-story__closing {
  margin-top: 3rem;
  border-left: 3px solid #174b8f;
  padding: .35rem 0 .35rem 1.4rem;
}

.founder-story__closing p {
  margin-bottom: .75rem;
  color: #082f67;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.4;
}

.founder-story-next {
  padding: clamp(1.4rem, 3vw, 2.4rem) 0 clamp(4rem, 7vw, 6rem);
}

.founder-story-next__inner {
  max-width: 780px;
  text-align: center;
}

.founder-story-next h2 {
  margin: 0 auto 1rem;
  color: #082f67;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .95;
}

.founder-story-next__inner > p:not(.founder-story-kicker) {
  max-width: 42rem;
  margin: 0 auto;
  color: #5c6d82;
  line-height: 1.65;
}

.founder-story-next__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.4rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

/* Screenshot-driven desktop correction: the previous 7vw hero padding
   created a large dead band beneath the fixed header and kept the portrait
   too small for wide screens. Desktop uses the space more intentionally. */
@media (min-width: 981px) {
  .founder-story-hero {
    padding: clamp(2.6rem, 3.8vw, 4.2rem) 0 clamp(3.2rem, 4.8vw, 4.8rem);
  }

  .founder-story-hero__inner {
    width: min(1320px, calc(100% - clamp(72px, 8vw, 128px)));
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, .78fr);
    gap: clamp(4rem, 6vw, 7rem);
  }

  .founder-story-hero__copy {
    padding-left: clamp(.5rem, 1.5vw, 1.5rem);
  }

  .founder-story-hero h1 {
    font-size: clamp(4.8rem, 6vw, 6.65rem);
  }

  .founder-story-hero__copy > p:last-child {
    max-width: 36rem;
    font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  }

  .founder-portrait {
    width: min(100%, 440px);
    justify-self: end;
  }

  .founder-story__article {
    width: min(820px, calc(100% - 80px));
  }
}

@media (max-width: 760px) {
  .founder-story-hero {
    padding-top: 1rem;
  }

  .founder-story-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-story-hero h1 {
    font-size: clamp(3.6rem, 16vw, 5.2rem);
  }

  .founder-portrait {
    width: min(86%, 360px);
    margin-inline: auto;
  }

  .founder-portrait__placeholder {
    min-height: 430px;
  }

  .story-mahjong-divider {
    margin: 1.15rem 0;
  }

  .story-mahjong-divider img {
    width: min(165px, 39vw);
  }

  .founder-story {
    padding: 2rem 0 2.35rem;
  }

  .founder-story__article {
    width: calc(100% - 34px);
  }

  .founder-story__article p {
    line-height: 1.72;
  }

  .founder-story__closing {
    padding-left: 1rem;
  }

  .founder-story-next {
    padding-top: 1rem;
    padding-bottom: 3.6rem;
  }
}
