/* About page section layouts, chosen with the layout picker (design-options/about).
   Written by tools/apply_picks.py. */

/* ---------- Shared helpers for the options ---------- */
.opt-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--card-radius, 16px);
}

.on-dark {
  background: var(--footer-bg, #000);
  color: rgba(255, 255, 255, 0.72);
}

.section.on-dark p,
.section.on-dark li {
  color: rgba(255, 255, 255, 0.68);
}

.on-dark h2,
.on-dark h3,
.section.on-dark .emphasis {
  color: #fff;
}

.section h2.no-rule::before {
  display: none;
}

.opt-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}

/* ---------- 0A: copy on the left, the two people who built it on the right ---------- */
.o0a-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.o0a-people {
  position: relative;
  height: 460px;
}

.o0a-person {
  position: absolute;
  width: 250px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 10px 10px 16px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
}

.o0a-person:first-child {
  top: 0;
  left: 4%;
  transform: rotate(-3deg);
}

.o0a-person:last-child {
  bottom: 0;
  right: 4%;
  transform: rotate(3deg);
}

.o0a-person img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.o0a-person p {
  margin: 12px 6px 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  line-height: 1.25;
}

.o0a-person small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ---------- 1C: dark, the gap drawn between church and employer ---------- */
.o1c h2 {
  text-align: center;
  max-width: 18em;
  margin-inline: auto;
}

.o1c-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.6fr) minmax(0, 1fr);
  align-items: stretch;
  margin: 48px 0 24px;
}

.o1c-side {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 28px;
}

.o1c-side b {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.section.on-dark .o1c-side p {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #fff;
}

.o1c-gap {
  align-self: center;
  position: relative;
  height: 2px;
  margin: 0 -1px;
  background: repeating-linear-gradient(90deg, var(--accent, #47a4d4) 0 8px, transparent 8px 16px);
}

.o1c-gap span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  color: var(--accent, #47a4d4);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  white-space: nowrap;
}

.section.on-dark .o1c-connect {
  text-align: center;
  max-width: 34em;
  margin: 0 auto 56px;
  color: rgba(255, 255, 255, 0.8);
}

.o1c-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.section.on-dark .o1c-cols p:last-child {
  color: #fff;
  font-weight: 600;
}

/* ---------- 2D: today's layout with a painting on the left, top to bottom ---------- */
.o2d-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: stretch;
}

.o2d-grid > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--card-radius, 16px);
}

@media (max-width: 900px) {
.o2d-grid {
    grid-template-columns: minmax(0, 1fr);
  }

.o2d-grid > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- 3B: four cards around a tall painting ---------- */
.o3b {
  background: var(--off-white);
}

.o3b-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 40px;
}

.o3b-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 28px;
}

.o3b-card strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.section .o3b-card p {
  margin: 0;
}

.o3b-grid > img {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

.o3b-grid > .o3b-card:nth-of-type(1) { grid-column: 1; grid-row: 1; }

.o3b-grid > .o3b-card:nth-of-type(2) { grid-column: 1; grid-row: 2; }

.o3b-grid > .o3b-card:nth-of-type(3) { grid-column: 3; grid-row: 1; }

.o3b-grid > .o3b-card:nth-of-type(4) { grid-column: 3; grid-row: 2; }

/* ---------- 5B: painting beside the three results as a stacked list ---------- */
.o5b {
  background: var(--off-white);
}

.o5b-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: stretch;
  margin-top: 40px;
}

.o5b-grid > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--card-radius, 16px);
}

.o5b-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.o5b-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #d4d4d8;
}

.o5b-list li:first-child {
  padding-top: 0;
}

.o5b-list b {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: #0a0a0a;
}

@keyframes o6a-scroll {
to { transform: translateX(-50%); }
}

/* ---------- 6B: the roster beside a painting ---------- */
.o6b-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: stretch;
}

.o6b-grid > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--card-radius, 16px);
}

.o6b-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.section .o6b-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--rule);
  color: #0a0a0a;
  font-weight: 600;
}

.o6b-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent, #47a4d4);
}

@media (max-width: 900px) {
.o3b-grid,
  .o3c-grid,
  .o5b-grid,
  .o5c-grid,
  .o6a-head,
  .o6b-grid {
    grid-template-columns: minmax(0, 1fr);
  }

.o3b-grid > img,
  .o3b-grid > .o3b-card:nth-of-type(n) {
    grid-column: auto;
    grid-row: auto;
  }

.o3b-grid > img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

.o5b-grid > img,
  .o6b-grid > img {
    min-height: 0;
    aspect-ratio: 16 / 10;
    height: auto;
  }

.o5b-list li {
    grid-template-columns: 100px minmax(0, 1fr);
  }

.o5b-list b {
    font-size: 2.5rem;
  }
}

.on-dark .text-links a {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .opt-label {
    top: 60px;
  }

  .o0a-grid,
  .o0c-grid,
  .o1a-grid,
  .o1b-grid,
  .o1c-cols,
  .o2a-head,
  .o2c-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .o0a-people {
    height: 360px;
  }

  .o0a-person {
    width: 52%;
  }

  .o0b-b,
  .o0b-foot {
    margin-left: 0;
  }

  .o0c-grid img {
    display: none;
  }

  .o1a-grid h2 {
    position: static;
  }

  .o1c-diagram {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .o1c-gap {
    width: 2px;
    height: 64px;
    margin: 0 auto;
    background: repeating-linear-gradient(180deg, var(--accent, #47a4d4) 0 8px, transparent 8px 16px);
  }

  .o2a-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .o2a-q,
  .o2a-wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .o2a-bento > .o2a-art {
    grid-column: auto;
    grid-row: auto;
    min-height: 170px;
  }

  .o2b-who {
    grid-template-columns: minmax(0, 1fr);
  }

  .o2c-pin {
    position: static;
  }

  .o2c-steps li,
  .o2c-steps li:first-child {
    min-height: 0;
    padding: 28px 0;
  }
}

/* Coaches: hidden until at least one coach card is added. */
.coaches:not(:has(.bio)) {
  display: none;
}
