/* Program page section layouts, chosen with the layout picker (design-options/program).
   Written by tools/apply_program_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);
}

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

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

.section.on-dark .emphasis,
.section.on-dark .o1a-question {
  color: #fff;
}

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

/* ---------- 1A: the question across the full width ---------- */
.o1a-question {
  font-family: var(--quote, Georgia, serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 22ch;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

.section h2.o1a-kicker {
  font-family: inherit;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.section h2.o1a-kicker::before {
  display: none;
}

.o1a-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 1.4em;
}

.o1a-body {
  columns: 2 320px;
  column-gap: 56px;
}

.o1a-body p {
  break-inside: avoid;
}

/* ---------- 1B: image with the question card over it ---------- */
.o1b-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.o1b-stage {
  position: relative;
  padding-bottom: 90px;
}

.o1b-stage .opt-img {
  aspect-ratio: 4 / 3.4;
  height: auto;
}

.o1b-card {
  position: absolute;
  right: -24px;
  bottom: 0;
  width: min(380px, 85%);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.35);
}

.o1b-card p {
  margin: 0;
}

.o1b-card .o1b-q {
  font-family: var(--quote, Georgia, serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #111;
}

.o1b-card .o1b-who {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- 1C: editorial, with the numbers pulled out ---------- */
.o1c-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.o1c-head {
  position: sticky;
  top: 140px;
}

.o1c-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 2em;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.o1c-stats div {
  padding: 22px 0;
}

.o1c-stats div + div {
  border-left: 1px solid var(--rule);
  padding-left: 28px;
}

.o1c-num {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #0a0a0a;
}

.section .o1c-stats span:last-child {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.o1c-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--card-radius, 16px);
  margin-bottom: 2rem;
}

.o1c-dropcap::first-letter {
  float: left;
  font-size: 4.2em;
  line-height: 0.85;
  font-weight: 900;
  margin: 0.06em 0.1em 0 0;
  color: #0a0a0a;
}

/* 1C on a dark background */
.o1c .o1c-stats {
  border-color: rgba(255, 255, 255, 0.18);
}

.o1c .o1c-stats div + div {
  border-left-color: rgba(255, 255, 255, 0.18);
}

.o1c .o1c-num,
.o1c .o1c-dropcap::first-letter {
  color: #fff;
}

.section.o1c .o1c-stats span:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.section.o1c .pullquote {
  color: #fff;
  border-left-color: rgba(255, 255, 255, 0.6);
}

/* ---------- 2A: two halves ---------- */
.o2a-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.4rem;
}

.o2a-halves {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--card-radius, 16px);
  overflow: hidden;
  margin-bottom: 2.4rem;
}

.o2a-half {
  padding: clamp(28px, 5vw, 56px);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.o2a-half--light {
  background: #f1efe9;
}

.o2a-half--dark {
  background: #0a0a0a;
  color: #fff;
}

.o2a-pct {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.o2a-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 10px;
}

.o2a-body {
  max-width: 760px;
  margin: 0 auto;
}

/* 2A board: the heading is one h2, laid out in three pieces around the two panels.
   display: contents lets the h2's pieces sit in the board's grid. */
.o2a-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "left right"
    "pl pr"
    "both both";
  margin-bottom: 2.4rem;
}

.o2a-board h2 {
  display: contents;
}

.o2a-h {
  display: block;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.05;
  margin-bottom: 0.45em;
}

.o2a-h--left {
  grid-area: left;
  padding-right: 24px;
}

.o2a-h--right {
  grid-area: right;
}

.o2a-h--both {
  grid-area: both;
  text-align: center;
  margin: 0.7em 0 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.o2a-board .o2a-half--light {
  grid-area: pl;
  border-radius: var(--card-radius, 16px) 0 0 var(--card-radius, 16px);
}

.o2a-board .o2a-half--dark {
  grid-area: pr;
  border-radius: 0 var(--card-radius, 16px) var(--card-radius, 16px) 0;
}

/* The 50% sits in the middle of each panel */
.o2a-board .o2a-half {
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 640px) {
  .o2a-board {
    grid-template-columns: 1fr;
    grid-template-areas: "left" "pl" "right" "pr" "both";
  }

  .o2a-h--left,
  .o2a-h--right {
    padding: 0;
  }

  .o2a-h--right {
    margin-top: 1em;
  }

  .o2a-board .o2a-half--light,
  .o2a-board .o2a-half--dark {
    border-radius: var(--card-radius, 16px);
    min-height: 180px;
  }
}

/* ---------- 2B: statement with an image band ---------- */
.o2b-head {
  max-width: 1000px;
}

.o2b-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 2.4rem;
}

.o2b-band {
  height: clamp(220px, 32vw, 420px);
  margin-top: 1.2rem;
}

.o2b-band .opt-img {
  object-position: center 58%;
}

/* ---------- 2C: painting behind, text on a card ---------- */
.o2c {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0;
}

.o2c > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.o2c::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05) 70%);
}

.o2c-card {
  max-width: 560px;
  background: #fff;
  border-radius: var(--card-radius, 16px);
  padding: clamp(28px, 5vw, 52px);
}

/* ---------- 3A: seven month timeline ---------- */
/* Warm light background, the same tone as the light 50% panel in 2A */
.section.o3a {
  background: #f1efe9;
}

.o3a-line {
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 0;
  position: relative;
}

.o3a-line::before {
  content: "";
  position: absolute;
  left: 128px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #d9d5ca;
}

.section .o3a-line li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 40px;
  padding: 0 0 36px;
  position: relative;
}

.o3a-line li::before {
  content: "";
  position: absolute;
  left: 122px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: 0 0 0 5px #f1efe9; /* ring in the section's background color */
}

.o3a-when {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  padding-top: 2px;
}

.o3a-line h3 {
  margin-bottom: 0.35em;
}

.o3a-line p {
  max-width: 44em;
}

/* ---------- 3B: bento grid ---------- */
.o3b-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, auto);
  gap: 16px;
  margin-top: 2.4rem;
}

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

.o3b-cell h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4em;
}

.o3b-cell p {
  font-size: 0.9375rem;
  margin-bottom: 0.8em;
}

.o3b-cell > :last-child {
  margin-bottom: 0;
}

.o3b-retreat {
  grid-column: span 4;
  grid-row: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.o3b-classes {
  grid-column: span 2;
  grid-row: span 2;
  background: #0a0a0a;
  border-color: #0a0a0a;
}

.o3b-classes h3 {
  color: #fff;
}

.section .o3b-classes p {
  color: rgba(255, 255, 255, 0.7);
}

.o3b-third {
  grid-column: span 2;
}

/* ---------- 3C: the numbers lead ---------- */
.o3c-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.4rem;
  border-top: 2px solid #0a0a0a;
}

.o3c-item {
  padding: 26px 22px 0 0;
}

.o3c-item + .o3c-item {
  padding-left: 22px;
  border-left: 1px solid var(--rule);
}

.o3c-num {
  display: block;
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #0a0a0a;
  margin-bottom: 14px;
}

.o3c-item h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

.section .o3c-item p {
  font-size: 0.875rem;
  line-height: 1.55;
}


/* ---------- Track tags: spiritual light, executive dark (echoes 2A) ---------- */
.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
  padding: 3px 9px;
  border-radius: 4px;
}

.tag--spiritual {
  background: #e6e2d6;
  color: #3f3a2c;
}

.tag--executive {
  background: #0a0a0a;
  color: #fff;
}

.tag--retreat {
  background: #fff;
  color: #111;
  border: 1px solid var(--rule);
}

/* ---------- 4A: month by month cards ---------- */
.o4a-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2.4rem;
}

.o4a-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--card-radius, 16px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}

.o4a-when {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
}

.o4a-card h3,
.o4a-title {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0;
}

.o4a-retreat {
  grid-row: span 2;
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

.o4a-retreat .o4a-when {
  color: rgba(255, 255, 255, 0.6);
}

.o4a-retreat ol {
  margin: 0;
  padding-left: 1.2em;
}

.section .o4a-retreat li {
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.9em;
}

/* ---------- 4B: schedule rows ---------- */
.o4b-list {
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 0;
  border-top: 2px solid #0a0a0a;
}

.section .o4b-list li {
  display: grid;
  grid-template-columns: 150px 120px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  margin: 0;
  border-bottom: 1px solid var(--rule);
}

.o4b-when {
  font-weight: 700;
  color: #0a0a0a;
}

.o4b-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0a0a0a;
}

/* ---------- 4C: two tracks ---------- */
.o4c-retreat {
  background: #0a0a0a;
  color: #fff;
  border-radius: var(--card-radius, 16px);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 2.4rem 0 16px;
}

.o4c-retreat ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

.section .o4c-retreat li {
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  counter-increment: s;
}

.o4c-retreat li::before {
  content: "Session " counter(s);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.o4c-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.o4c-track {
  border-radius: var(--card-radius, 16px);
  padding: 28px 32px;
}

.o4c-track--spiritual {
  background: #f1efe9;
}

.o4c-track--executive {
  background: #fff;
  border: 1px solid var(--rule);
}

.o4c-track h3 {
  font-size: 1.4rem;
  margin-bottom: 1em;
}

.o4c-track ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section .o4c-track li {
  padding: 14px 0;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #0a0a0a;
  font-weight: 600;
  line-height: 1.35;
}

.o4c-track li span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2px;
}

/* ---------- 5A: good fit / not a fit ---------- */
.o5a-head {
  max-width: 820px;
  margin-bottom: 2.4rem;
}

.o5a-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}

.o5a-col {
  border-radius: var(--card-radius, 16px);
  padding: 32px;
}

.o5a-yes {
  background: #0a0a0a;
  color: #fff;
}

.o5a-no {
  background: #fff;
  border: 1px solid var(--rule);
}

.o5a-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1em;
}

.o5a-yes h3 {
  color: #fff;
}

.o5a-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section .o5a-col li {
  position: relative;
  padding: 0 0 0 30px;
  margin: 0 0 14px;
  line-height: 1.5;
}

.section .o5a-yes li {
  color: rgba(255, 255, 255, 0.85);
}

.o5a-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.o5a-yes li::before {
  content: "\2713";
  color: #fff;
}

.o5a-no li::before {
  content: "\2715";
  color: #9ca3af;
}

/* ---------- 5B: painting band with two answers ---------- */
.o5b-band {
  height: clamp(200px, 26vw, 340px);
  margin: 2rem 0 2.4rem;
}

.o5b-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.o5b-cols h3 {
  font-size: 1.3rem;
}

/* ---------- 5C: painting beside a self check ---------- */
.o5c-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: stretch;
}

.o5c-checks {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
}

.section .o5c-checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  margin: 0;
  border-top: 1px solid var(--rule);
  color: #0a0a0a;
  font-weight: 600;
}

.o5c-checks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid #0a0a0a;
  border-radius: 5px;
}

/* ---------- 6A: roster tiles ---------- */
.o6a-head {
  max-width: 820px;
}

.o6a-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 2.4rem 0;
  list-style: none;
  padding: 0;
}

.section .o6a-grid li {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--card-radius, 16px);
  padding: 24px 20px;
  margin: 0;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.o6a-grid strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

/* ---------- 6B and 6C: Emergent Execs numbers ---------- */
.o6-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.o6-stats div {
  padding: 22px 0;
}

.o6-stats div + div {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

.o6-num {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #0a0a0a;
}

.section .o6-stats span:last-child {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.o6b-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.o6c .o6-stats,
.o6c .o6-stats div + div {
  border-color: rgba(255, 255, 255, 0.18);
}

.o6c .o6-num {
  color: #fff;
}

.section.o6c .o6-stats span:last-child {
  color: rgba(255, 255, 255, 0.6);
}

.o6c-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 2rem;
}

.section .o6c-chips li {
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9375rem;
}

.o6c a:not(.btn) {
  color: #fff;
}

@media (max-width: 900px) {
  .o4a-grid {
    grid-template-columns: 1fr 1fr;
  }

  .o4c-retreat,
  .o4c-tracks,
  .o5a-cols,
  .o5b-cols,
  .o5c-grid,
  .o6b-grid {
    grid-template-columns: 1fr;
  }

  .o4c-retreat ol {
    grid-template-columns: 1fr;
  }

  .o6a-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section .o4b-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .o4a-grid,
  .o6a-grid,
  .o6-stats {
    grid-template-columns: 1fr;
  }

  .o4a-retreat {
    grid-row: auto;
  }

  .o6-stats div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
}


/* 6A on a dark background */
.section.o6a .o6a-grid li {
  background: #141414;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
}

.o6a .o6a-grid strong {
  color: #fff;
}

.o6a a:not(.btn) {
  color: #fff;
}

/* ---------- 7A: pricing card ---------- */
.o7a-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border: 1px solid var(--rule);
  border-radius: var(--card-radius, 16px);
  overflow: hidden;
  background: #fff;
  margin-top: 2.4rem;
}

.o7a-price {
  background: #f1efe9;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.o7a-amount {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #0a0a0a;
}

.o7a-for {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0a0a0a;
}

.o7a-split {
  margin: 18px 0 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.9375rem;
}

.o7a-price .btn {
  align-self: flex-start;
  margin-top: auto;
}

.o7a-detail {
  padding: clamp(28px, 4vw, 48px);
}

.o7a-detail h3 {
  font-size: 1.2rem;
}

.o7a-note {
  max-width: 52em;
  margin-top: 2rem;
}

/* ---------- 7B: price beside the employer option ---------- */
.o7b-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

/* Warm light card, the same tone as the 7A price panel and the 3A background */
.o7b-callout {
  background: #f1efe9;
  color: var(--text);
  border-radius: var(--card-radius, 16px);
  padding: clamp(28px, 4vw, 44px);
}

.o7b-callout h3 {
  font-size: 1.5rem;
}

/* ---------- 7C: itemized, like a receipt ---------- */
.o7c-receipt {
  max-width: 720px;
  margin: 2.4rem auto 0;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--card-radius, 16px);
  padding: clamp(28px, 4vw, 44px);
}

.o7c-receipt ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.section .o7c-receipt li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  margin: 0;
  border-bottom: 1px dashed var(--rule);
  color: #0a0a0a;
}

.o7c-inc {
  color: var(--text-muted);
  font-size: 0.875rem;
  white-space: nowrap;
}

.o7c-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0 6px;
  border-top: 2px solid #0a0a0a;
  margin-top: 8px;
  font-weight: 700;
  color: #0a0a0a;
}

.o7c-total span:last-child {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section .o7c-installments {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.o7c-head {
  text-align: center;
}

.section .o7c-head h2::before {
  display: none;
}

.o7c-after {
  max-width: 720px;
  margin: 2rem auto 0;
}

/* ---------- 8A: heading held left, questions open and close ---------- */
.o8a-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.o8a-head {
  position: sticky;
  top: 140px;
}

.o8a-list details {
  border-top: 1px solid var(--rule);
}

.o8a-list details:last-child {
  border-bottom: 1px solid var(--rule);
}

.o8a-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
}

.o8a-list summary::-webkit-details-marker {
  display: none;
}

.o8a-list summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.o8a-list details[open] summary::after {
  transform: rotate(45deg);
}

.section .o8a-list details p {
  margin: -6px 0 22px;
  max-width: 40em;
}

/* ---------- 8B: question cards in two columns ---------- */
.o8b-grid {
  columns: 2 380px;
  column-gap: 16px;
  margin-top: 2.4rem;
}

.o8b-card {
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--card-radius, 16px);
  padding: 26px 28px;
  margin-bottom: 16px;
}

.o8b-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 0.5em;
}

.section .o8b-card p {
  margin: 0;
  font-size: 0.9375rem;
}

/* ---------- 8C: questions grouped by topic ---------- */
.o8c-group {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}

.o8c-group:first-of-type {
  margin-top: 2.4rem;
  border-top: 2px solid #0a0a0a;
}

.o8c-topic {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.o8c-qa + .o8c-qa {
  margin-top: 22px;
}

.o8c-qa h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0.35em;
}

.section .o8c-qa p {
  margin: 0;
  max-width: 44em;
}

@media (max-width: 900px) {
  .o7a-card,
  .o7b-grid,
  .o8a-grid,
  .o8c-group {
    grid-template-columns: 1fr;
  }

  .o8a-head {
    position: static;
  }

  .o8c-group {
    gap: 14px;
  }
}


/* ---------- 0A: copy left, at-a-glance card right, painting band below ---------- */
.o0a-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start; /* the facts card starts level with the top of the headline */
}

.o0a-top .lede {
  margin-bottom: 0;
}

/* Nudge the card down to the top of the headline's capital letters, which sit a little
   below the top of the headline's line box (the same size formula as the theme's h1) */
@media (min-width: 901px) {
  .o0a-side {
    margin-top: calc(clamp(2.25rem, 5.3vw, 4.5rem) * 0.17);
  }
}

.o0a-cta {
  margin: 0;
  padding: 18px 0 18px;
  border-top: 1px solid var(--rule);
}

.o0a-cta .btn {
  width: 100%;
  justify-content: center;
}

.o0a-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--card-radius, 16px);
  padding: 26px 28px 10px;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.35);
  /* the last fact row's line doubles as the line above the button */
}

.o0a-card .eyebrow {
  margin-bottom: 0.4rem;
}

.o0a-band {
  height: clamp(220px, 28vw, 380px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.o0a-band .opt-img {
  object-position: center 62%;
}

/* Compact fact list used in 0A */
.facts-tight {
  margin: 0;
}

.facts-tight > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--rule);
}

.facts-tight dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 0.2em;
}

.facts-tight dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0a0a0a;
}

/* ---------- 0B: painting behind, facts along the bottom ---------- */
.o0b {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: clamp(96px, 12vw, 160px) 0 0;
}

.o0b > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
}

.o0b::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.35) 70%), linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 40%);
}

.o0b h1 {
  color: #fff;
  max-width: 16ch;
}

.o0b .lede {
  color: rgba(255, 255, 255, 0.85);
  max-width: 36em;
}

.o0b .btn {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.o0b-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: clamp(56px, 8vw, 96px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.o0b-strip > div {
  padding: 20px 18px 24px;
}

.o0b-strip > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.o0b-strip dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.o0b-strip dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #fff;
}

.o0b .todo {
  color: #111;
}

/* ---------- 0C: centered headline, facts as six tiles ---------- */
.o0c-head {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.o0c-head .lede {
  margin-inline: auto;
  max-width: 40em;
}

.o0c-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(40px, 5vw, 64px) 0 0;
}

.o0c-tiles > div {
  background: #f1efe9;
  border-radius: var(--card-radius, 16px);
  padding: 24px 26px;
}

.o0c-tiles dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.o0c-tiles dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0a0a0a;
}

@media (max-width: 900px) {
  .o0a-top {
    grid-template-columns: 1fr;
  }

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

  .o0b-strip > div + div {
    border-left: 0;
  }

  .o0b-strip > div {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .o0c-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .o0c-tiles {
    grid-template-columns: 1fr;
  }
}


/* ---------- 0D: painting fills the left half ---------- */
.o0d {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 760px;
  background: #fff;
}

.o0d-art {
  position: relative;
}

.o0d-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.o0d-copy {
  padding: 100px clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.o0d-copy h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
}

.o0d-copy .facts-tight {
  margin-top: 2rem;
}

/* ---------- 0E: two column intro, facts in large type ---------- */
.o0e-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.o0e-top h1 {
  margin: 0;
}

.o0e-side .lede {
  margin-bottom: 1.4em;
}

/* The facts sit in a rounded warm box, the same color as the light 50% panel in 2A */
.o0e-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(48px, 6vw, 80px) 0 0;
  background: #f1efe9;
  border-radius: var(--card-radius, 16px);
  padding: 8px clamp(20px, 3vw, 36px);
}

.o0e-row > div {
  padding: 22px 24px 24px 0;
}

.o0e-row > div:nth-child(-n + 3) {
  border-bottom: 1px solid #ddd8cb;
}

.o0e-row > div:not(:nth-child(3n + 1)) {
  padding-left: 24px;
  border-left: 1px solid #ddd8cb;
}

.o0e-row dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.o0e-row dd {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #0a0a0a;
}

/* ---------- 0F: layered painting with the facts card over its corner ---------- */
.o0f-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.o0f-stage {
  position: relative;
  padding: 0 0 370px 0; /* the card overlaps only the bottom edge of the painting */
}

.o0f-stage > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 60% center;
  border-radius: var(--card-radius, 16px);
}

.o0f-card {
  position: absolute;
  left: -40px;
  bottom: 0;
  width: min(400px, 92%);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px 24px 8px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.35);
}

.o0f-card .eyebrow {
  margin-bottom: 0.3rem;
}

/* The hero styles eyebrows for dark backgrounds; inside white cards they need the muted text color */
.hero .o0a-card .eyebrow,
.hero .o0f-card .eyebrow {
  color: var(--text-muted);
}

/* ---------- 0G: painting band on top, headline panel lifted over it ---------- */
.o0g {
  background: #fff;
  padding-bottom: 100px;
}

.o0g-art {
  height: clamp(280px, 38vw, 460px);
  overflow: hidden;
}

.o0g-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.o0g-panel {
  position: relative;
  margin-top: -140px;
  background: #fff;
  border-radius: var(--card-radius, 16px) var(--card-radius, 16px) 0 0;
  padding: 48px clamp(24px, 5vw, 64px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
}

.o0g-panel h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

@media (max-width: 900px) {
  .o0d,
  .o0e-top,
  .o0f-grid,
  .o0g-panel {
    grid-template-columns: 1fr;
  }

  .o0d {
    min-height: 0;
  }

  .o0d-art {
    aspect-ratio: 16 / 10;
  }

  .o0d-copy {
    padding: 48px 20px 64px;
  }

  .o0e-row {
    grid-template-columns: 1fr 1fr;
  }

  .o0e-row > div,
  .o0e-row > div:not(:nth-child(3n + 1)) {
    padding: 18px 16px 18px 0;
    border-left: 0;
    border-bottom: 1px solid #ddd8cb;
  }

  .o0e-row > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .o0f-card {
    left: 12px;
  }

  .o0g-panel {
    margin-top: -60px;
    padding-top: 32px;
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .o1b-grid,
  .o1c-grid,
  .o2b-cols {
    grid-template-columns: 1fr;
  }

  .o1b-card {
    right: 12px;
  }

  .o1c-head {
    position: static;
  }

  .o3b-grid {
    grid-template-columns: 1fr;
  }

  .o3b-retreat,
  .o3b-classes,
  .o3b-third {
    grid-column: auto;
    grid-row: auto;
  }

  .o3b-retreat {
    grid-template-columns: 1fr;
  }

  .o3c-grid {
    grid-template-columns: 1fr 1fr;
  }

  .o3c-item,
  .o3c-item + .o3c-item {
    padding: 22px 16px 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 640px) {
  .o2a-halves {
    grid-template-columns: 1fr;
  }

  .o3a-line::before {
    left: 6px;
  }

  .section .o3a-line li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 32px;
  }

  .o3a-line li::before {
    left: 0;
  }

  .o3a-when {
    text-align: left;
  }

  .opt-label {
    top: 0;
  }
}
  
.o4a-title {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0a0a0a;
}

.o7b-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin-bottom: 0.6em;
}

.o8b-card dt {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  margin-bottom: 0.5em;
}

.o8b-card dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.o8b-grid {
  margin-bottom: 0;
}
