/* about.css — ScaleJoy About page (page-about.php)
 * Design source: Figma — Full prototype V4 → About (989:1840) at 1728px
 * Sections: hero, intro, thats-joy, ventures, closing
 */

.site-main--about {
  background: var(--bg, #F2E8D4);
  color: var(--brand, #183A40);
}

/* Button variants (.btn-layout.filled / .btn-layout.hollow-light) live in shared.css */

/* ===========================
 * Section 1 — Hero (photo LEFT, mission RIGHT)
 * =========================== */
.about-hero {
  background: var(--bg);
  padding-block: clamp(4rem, 3.94vw, 4.25rem) 0;
}

.about-hero__inner {
  width: min(100% - 180px, 1548px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 734px) minmax(0, 705px);
  gap: 109px;
  align-items: center;
}

.about-hero__media {
  position: relative;
  width: 100%;
  max-width: 734px;
  aspect-ratio: 734 / 763;
  overflow: hidden;
  border-radius: 8px;
  justify-self: start;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  align-items: flex-start;
}

.about-hero__statement {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 2.32vw, 2.5rem);
  font-weight: 700;
  line-height: 1.24;
  color: var(--accent, #561F33);
  letter-spacing: 0;
  max-width: 688px;
}

.about-hero__statement em {
  font-style: italic;
  font-weight: 700;
}

.about-hero__ctas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 343px));
  gap: 20px;
  width: 100%;
}

.about-hero__ctas .btn-layout {
  width: 100%;
}

/* ===========================
 * Section 2 — Bio Intro (centered title + 2-col then full-width copy)
 * Decorative half-circle shape top-left
 * =========================== */
.about-intro {
  position: relative;
  background: var(--bg);
  padding-block: clamp(5rem, 7.5vw, 8.125rem) clamp(4rem, 6.6vw, 7.125rem);
  overflow: hidden;
  isolation: isolate;
}

.about-intro__shape {
  position: absolute;
  top: -28px;
  left: 0;
  width: clamp(560px, 44vw, 760px);
  aspect-ratio: 1234 / 790;
  background: rgba(103, 146, 154, 0.24);
  -webkit-mask: url('../img/logo-art.svg') center / contain no-repeat;
  mask: url('../img/logo-art.svg') center / contain no-repeat;
  transform: translateX(-45%);
  z-index: 0;
}

.about-intro__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 180px, 1548px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 5.8vw, 6.25rem);
}

.about-intro__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--brand, #183A40);
  text-align: center;
  max-width: 1388px;
  margin-inline: auto;
}

.about-intro__title em {
  font-style: italic;
  font-weight: 700;
  color: #561F33;
}

.about-intro__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.about-intro__cols p {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.125rem, 1.39vw, 1.5rem);
  line-height: 1.45;
  color: var(--brand, #183A40);
}

.about-intro__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 1.75vw, 1.5rem);
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.about-intro__copy p {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.125rem, 1.39vw, 1.5rem);
  line-height: 1.45;
  color: var(--brand, #183A40);
}

.about-intro__lead {
  font-weight: 600;
  color: #561F33;
}

/* ===========================
 * Section 3 — That's JOY (maroon bg, split: photo LEFT + body RIGHT)
 * =========================== */
.about-thats-joy {
  background: #561F33;
  color: var(--bg, #F2E8D4);
  padding-block: clamp(8rem, 10.4vw, 11.25rem) clamp(8rem, 10.4vw, 11.25rem);
}

.about-thats-joy__inner {
  width: min(100% - 180px, 1548px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 7.5vw, 8.125rem);
}

.about-thats-joy__head {
  display: flex;
  flex-direction: column;
  gap: clamp(0.25rem, 0.6vw, 0.6rem);
  align-items: center;
  text-align: center;
}

.about-thats-joy__display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(6rem, 9.84vw, 10.625rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--bg, #F2E8D4);
}

.about-thats-joy__display em {
  font-style: italic;
  font-weight: 700;
}

.about-thats-joy__sub {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2rem, 2.72vw, 2.9375rem);
  line-height: 1;
  color: var(--bg, #F2E8D4);
}

.about-thats-joy__body {
  display: block;
}

.about-thats-joy__media {
  float: left;
  margin: 0 70px 44px 0;
  position: relative;
  width: min(32.3vw, 500px);
  max-width: 500px;
  aspect-ratio: 500 / 405;
  overflow: hidden;
  border-radius: 8px;
}

.about-thats-joy__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-thats-joy__copy {
  display: block;
  max-width: 1548px;
}

.about-thats-joy__copy p {
  margin: 0 0 clamp(2rem, 3.7vw, 4rem);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.62vw, 1.75rem);
  line-height: 1.535;
  color: var(--bg, #F2E8D4);
}

.about-thats-joy__dropcap {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: 4.4em;
  line-height: 0.72;
  color: var(--bg, #F2E8D4);
  margin: 0.08em 0.1em 0 0;
  float: left;
}

/* ===========================
 * Section 4 — Co-founded Ventures (all centered)
 * =========================== */
.about-ventures {
  background: var(--bg);
  padding-block: clamp(5rem, 7.5vw, 8.125rem);
}

.about-ventures__inner {
  width: min(100% - 180px, 1548px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.5vw, 3rem);
  align-items: center;
  text-align: center;
}

.about-ventures__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 5.625rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--brand, #183A40);
  letter-spacing: -0.005em;
}

.about-ventures__title em {
  font-style: normal;
  font-weight: 700;
  color: #67929a;
}

.about-ventures__copy {
  margin: 0;
  max-width: 900px;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.5vw, 1.5625rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--brand, #183A40);
}

.about-ventures__copy strong {
  font-weight: 600;
}

.about-ventures__partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 280px));
  gap: clamp(1.5rem, 3.2vw, 3.5rem);
  margin-top: clamp(0.5rem, 1.5vw, 1.5rem);
}

.about-ventures__partner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 0;
}

.about-ventures__partner img {
  display: block;
  width: clamp(120px, 11.6vw, 200px);
  height: auto;
}

/* ===========================
 * Section 5 — Closing Quote CTA (maroon bg, all centered)
 * =========================== */
.about-closing {
  background: #561F33;
  color: var(--bg, #F2E8D4);
  padding-block: clamp(6rem, 9.25vw, 10rem);
}

.about-closing__inner {
  width: min(100% - 180px, 1450px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  text-align: center;
}

.about-closing__lead {
  margin: 0;
  max-width: 920px;
  font-family: var(--sans);
  font-size: clamp(1.25rem, 1.62vw, 1.75rem);
  line-height: 1.5;
  color: var(--bg, #F2E8D4);
}

.about-closing__statement {
  margin: 0;
  max-width: 1180px;
  font-family: var(--serif);
  font-size: clamp(4.25rem, 5.2vw, 5.625rem);
  font-weight: 700;
  line-height: 1.24;
  color: var(--bg, #F2E8D4);
  letter-spacing: -0.005em;
}

.about-closing__statement em {
  font-style: italic;
  font-weight: 700;
}

.about-closing__ctas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  width: 100%;
  max-width: 1100px;
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
}

.about-closing__ctas .btn-layout {
  width: 100%;
}

/* ===========================
 * Responsive — 1399px
 * =========================== */
@media (max-width: 1399px) {
  .about-hero__inner {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: clamp(2rem, 3.5vw, 3.5rem);
  }

  .about-thats-joy__body {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  }
}

/* ===========================
 * Responsive — 991px (tablet)
 * =========================== */
@media (max-width: 991px) {
  .about-hero__inner,
  .about-intro__inner,
  .about-thats-joy__inner,
  .about-ventures__inner,
  .about-closing__inner {
    width: min(100% - 48px, 760px);
  }

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

  .about-hero__media {
    max-width: 100%;
    aspect-ratio: 16 / 10;
    justify-self: stretch;
  }

  .about-hero__content {
    align-items: flex-start;
  }

  .about-intro__cols {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-thats-joy__media {
    float: none;
    width: min(100%, 500px);
    margin: 0 auto 2rem;
  }

  .about-ventures__partners {
    grid-template-columns: repeat(2, minmax(180px, 240px));
  }
}

/* ===========================
 * Responsive — 767px (mobile)
 * =========================== */
@media (max-width: 767px) {
  .about-hero__statement {
    font-size: clamp(1.4rem, 4.5vw, 1.85rem);
  }

  .about-hero__ctas,
  .about-closing__ctas {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .about-hero__ctas {
    display: flex;
    flex-direction: column;
  }

  .about-hero__ctas .btn-layout,
  .about-closing__ctas .btn-layout {
    width: 100%;
  }

  .about-intro__title {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
  }

  .about-thats-joy__display {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
  }

  .about-thats-joy__sub {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
  }

  .about-ventures__title {
    font-size: clamp(1.9rem, 9vw, 3.5rem);
  }

  .about-ventures__partners {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .about-closing__statement {
    font-size: clamp(1.85rem, 8vw, 3.25rem);
  }

  .about-intro__shape {
    width: clamp(320px, 78vw, 520px);
    transform: translateX(-50%);
  }
}

/* ===========================
 * Responsive — 575px (small mobile)
 * =========================== */
@media (max-width: 575px) {
  .about-hero__inner,
  .about-intro__inner,
  .about-thats-joy__inner,
  .about-ventures__inner,
  .about-closing__inner {
    width: calc(100% - 36px);
    padding-inline: 18px;
  }

  .about-thats-joy__media {
    max-width: 100%;
  }
}
