/* Editorial layouts for program, participants, about, FAQ and terms. */
.editorial-page [aria-current="page"] { font-weight: 600; }
.editorial-white { background: var(--white); }
.editorial-canvas { background: var(--canvas); }
.editorial-sage { background: var(--sage-tint); }
.editorial-map-white { background: var(--canvas); }
.editorial-map-canvas { background: var(--white); }
.editorial-page h4 { margin: 0; }
.editorial-section { padding-block: var(--section-gap); }
.editorial-measure { max-width: 570px; }
.editorial-prose p + p { margin-top: 1lh; }
.editorial-subcopy { margin-top: 24px; }
.editorial-subtitle { font-size: 30px; line-height: 48px; font-weight: 400; }
.editorial-rule { padding-top: 30px; border-top: 1px solid var(--line); }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--section-gap); }
.editorial-grid > * { min-width: 0; }
.editorial-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.editorial-moss { background: #8b9b88; }
.editorial-leaf { background: #9aab8a; }
.editorial-forest { color: var(--white); background: #142622; }
.editorial-page .editorial-moss .button-secondary { background: transparent; border-color: currentColor; }
.editorial-page .editorial-moss .button-secondary:is(:hover,:active) { background: var(--canvas); }

.editorial-photo-nav .site-header-shell:not(.is-scrolled):not(:has(.nav-toggle[aria-expanded="true"])) {
  color: var(--white);
  background: linear-gradient(to bottom, #0f1d1a80, transparent);
}
.editorial-photo-nav .site-header-shell:not(.is-scrolled):not(:has(.nav-toggle[aria-expanded="true"])) .language :is(a, span) { color: var(--white); }
.editorial-photo-nav .site-header-shell:not(.is-scrolled) .nav-cta { background: var(--white); border-color: var(--white); color: var(--forest); }
.editorial-photo-nav .site-header-shell .nav-cta:hover { background: var(--sage-tint); border-color: var(--sage-tint); }
.editorial-photo-nav .site-header-shell .nav-cta:active { background: var(--canvas); border-color: var(--forest); }

.editorial-hero { position: relative; isolation: isolate; overflow: hidden; }
.editorial-hero-art, .editorial-nav-contour, .about-hero-contours { position: absolute; pointer-events: none; }
.editorial-hero-art { z-index: -2; inset: 0; }
.editorial-nav-contour { z-index: -1; left: calc(50% - 80px); top: -20px; height: auto; }
.editorial-map-hero .editorial-hero-art {
  background: url("assets/assessment-evidence/hero-contours.png") 36.18% 122.02% / 185.57% 147.69% no-repeat;
}
.editorial-hero-layout { position: relative; }
.editorial-hero-copy {
  max-width: var(--editorial-hero-measure, 773px);
  padding-block: var(--editorial-hero-inset, calc(var(--header-height) + 2 * var(--section-gap))) var(--section-gap);
}
.editorial-hero-copy .hero-actions { flex-wrap: wrap; }
.editorial-hero-copy .section-label { margin-bottom: 24px; }
.editorial-hero-edge { height: var(--map-height); }
.editorial-hero-edge img { width: 100%; height: 100%; object-fit: fill; }

.editorial-feature { position: relative; }
.editorial-feature > * + :is(.section-lead,.editorial-grid,.numbered-list) { margin-top: 30px; }
.editorial-photo { position: absolute; }
.editorial-photo svg { width: 100%; height: auto; }
.editorial-section:has(.editorial-feature) { overflow: hidden; }
.feature-bleed-left { padding-left: var(--editorial-feature-inset, 35%); }
.feature-bleed-right { padding-right: var(--editorial-feature-inset, 35%); }

.pricing-hero { --editorial-hero-measure: 570px; color: var(--white); background: #b1ac90; }
.pricing-hero .editorial-hero-art {
  opacity: .4;
  background: url("assets/assessment-evidence/hero-contours.png") 29.71% 129.81% / 171.29% 165.41% no-repeat;
}
.pricing-hero .editorial-hero-copy { min-height: var(--hero-height); position: relative; z-index: 1; }
.pricing-hero .editorial-hero-copy .button-secondary,
.about-hero .editorial-hero-copy .button-secondary { color: var(--white); border-color: var(--white); }
.pricing-hero .editorial-hero-copy .button-secondary:is(:hover,:active),
.about-hero .editorial-hero-copy .button-secondary:is(:hover,:active) { color: var(--forest); }
.pricing-hero .editorial-hero-copy .button-primary { color: var(--forest); border-color: var(--white); background: var(--white); }
.pricing-hero .editorial-hero-copy .button-primary:hover { background: var(--sage-tint); }
.pricing-hero-photo { top: calc(var(--header-height) + 60px); left: calc(50% + 30px); width: max(849.522px, 50vw); }
.pricing-included { padding-top: 0; }
.pricing-included .section-title, .pricing-included h3 { margin-top: 24px; }
.pricing-included .section-label { background: #b1ac90; }
.pricing-items-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--section-gap); margin-top: 24px; }
.pricing-items { gap: 0; }
.pricing-items > li { padding-bottom: 24px; }
.pricing-process-action { display: flex; justify-content: flex-end; margin-top: 30px; }
.pricing-fits { padding-top: 0; }
.pricing-fits .editorial-measure { margin-top: 30px; }
.pricing-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; margin-top: var(--section-gap); }
.pricing-panels .panel { align-self: stretch; }
.approved-comparison { display: grid; gap: 24px; margin-top: var(--section-gap); }
.approved-comparison .section-lead, .approved-comparison > p:last-child { max-width: 860px; }
.comparison-table { --comparison-label-width: 27%; }
#who-sees-what .comparison-table { --comparison-label-width: 20%; }
.comparison-table thead th { background: var(--sage-tint); }
.comparison-table tbody tr { background: var(--white); }
.comparison-table tbody tr:nth-child(even) { background: var(--canvas); }
.comparison-table :is(th, td) { padding-inline: 16px; min-width: 0; }
.comparison-table tbody th { width: var(--comparison-label-width); font-weight: 500; }
.comparison-table tbody td { width: calc((100% - var(--comparison-label-width)) / 2); }
.comparison-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pricing-founding { padding-block: 0 90px; }
.pricing-founding .editorial-feature { --editorial-feature-inset: 38.75%; min-height: 808px; padding-top: var(--section-gap); }
.pricing-founding-photo { top: 0; right: calc(100% - var(--editorial-feature-inset) + 30px); width: max(705px, 50vw - 20px); }
.pricing-discuss { padding-block: 0 var(--section-gap); }
.pricing-discuss-inner { width: min(100%, 900px); margin-left: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--section-gap); }
.pricing-discuss-inner h2 { grid-column: 1; }

.members-hero .editorial-hero-copy { min-height: 678px; }
.members-part { padding-block: 90px 120px; }
.members-part-grid { grid-template-columns: minmax(0, 360fr) minmax(0, 780fr); }
.members-process { padding-block: 0 var(--section-gap); }
.members-process .editorial-feature {
  --process-side-width: calc((100% - var(--section-gap)) * 359 / 1140);
  display: grid;
  grid-template-columns: minmax(0, 359fr) minmax(0, 781fr);
  gap: var(--section-gap);
  padding-left: 0;
}
.members-process .numbered-list { margin-top: 0; }
.members-process-photo { top: 120px; right: calc(100% - var(--process-side-width)); width: 638px; }
.members-report { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--section-gap); }
.members-report .line-icon { margin-bottom: 16px; }

.about-hero { --editorial-hero-measure: 570px; --editorial-hero-inset: calc(var(--header-height) + 238px); color: var(--white); background: var(--forest); }
.about-hero .editorial-hero-art {
  background: linear-gradient(90deg, #0f1d1a65, transparent 72%), url("assets/about/hero-photo.jpg") 60.57% 90.55% / 116.18% 186.56% no-repeat;
}
.about-hero-contours { z-index: -1; top: 0; left: 52.08%; width: 47.92%; height: auto; }
.about-hero .editorial-hero-copy { min-height: 966px; }
.about-intro .editorial-grid { max-width: 783px; }
.about-intro .button { margin-top: 24px; }
.about-founders { padding-block: 30px var(--section-gap); }
.about-founders .editorial-feature { min-height: 572px; }
.about-founders-photo { top: 0; left: calc(65% + var(--section-gap)); width: max(620px, 50vw - 80px); }
.about-contact { padding-block: var(--section-gap) 90px; }
.about-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 359fr) minmax(0, 781fr);
  gap: var(--section-gap);
}
.about-contact-intro p { margin-top: 24px; }
.about-contact-layout > .button { align-self: start; }

.about-perspectives { padding-top: 0; }
.about-perspectives .editorial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; }
.about-assessment-link { align-self: end; justify-self: end; }

.faq-hero .editorial-hero-copy { min-height: 484px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 255fr) minmax(0, 864fr); gap: var(--section-gap); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
#data-access .faq-item { border-color: #f5f3ec; }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-block: 24px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.faq-item summary:hover { color: var(--muted); }
.faq-item summary img { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 4px; }
.faq-item[open] summary img { transform: rotate(180deg); }
.faq-item .editorial-prose { padding-bottom: 24px; }
.faq-actions { display: grid; gap: 24px; margin-top: 30px; }

.legal-hero .editorial-hero-copy { max-width: 100%; padding-bottom: 30px; }
.legal-terms { padding-top: 0; }
.legal-copy { margin-top: 24px; max-width: 100%; }
.legal-copy > .editorial-prose { max-width: 1000px; }
.legal-clause { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.legal-clause > :is(p,ol,table) { margin-top: 10px; }
.legal-clause ol { padding-left: 1.65em; }
.legal-clause li { padding-left: .25em; }
.legal-clause li + li { margin-top: 4px; }
.privacy-title { margin-top: 24px; }
.legal-table { width: 100%; border-collapse: collapse; text-align: left; }
.legal-table :is(td,th) { padding: 12px 16px 12px 0; border-block: 1px solid var(--line); vertical-align: top; }

@media (768px <= width < 1280px) {
  .editorial-hero { --editorial-hero-inset: calc(var(--header-height) + var(--hero-inset)); }
  .pricing-hero .editorial-hero-copy, .about-hero .editorial-hero-copy { max-width: 50%; }
  .pricing-hero-photo { width: clamp(560px, 72vw, 850px); }
  .pricing-panels { gap: 24px; }
  .pricing-founding-photo, .members-process-photo { width: clamp(490px, 54vw, 640px); }
  .members-part { padding-block: var(--section-gap); }
  .about-founders-photo { width: clamp(470px, 49vw, 620px); }
  .about-perspectives .editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-assessment-link { grid-column: 1 / -1; }
}

@media (width < 768px) {
  .editorial-section { padding-block: var(--mobile-section-padding); }
  .editorial-subtitle { font-size: var(--mobile-title-size); line-height: var(--mobile-title-line); }
  .editorial-grid, .faq-layout, .pricing-items-grid, .pricing-panels { grid-template-columns: minmax(0, 1fr); }
  .editorial-actions { flex-direction: column; gap: var(--section-gap); }
  .editorial-hero { --editorial-hero-inset: calc(var(--header-height) + var(--hero-inset)); }
  .editorial-hero .editorial-hero-copy { min-height: 0; padding-bottom: var(--section-gap); }
  .editorial-hero-copy .page-title { text-wrap: pretty; }
  .editorial-hero-copy .hero-lead { margin-block: 24px; }
  .editorial-map-hero .editorial-hero-art { background-position: center top; background-size: auto 720px; }
  .editorial-feature { padding: 0; }
  .editorial-photo-band { --photo-offset: 0px; width: calc(100% + 2 * var(--gutter)); margin-top: var(--section-gap); background: transparent; }

  .pricing-hero { color: var(--forest); }
  .pricing-hero .editorial-hero-copy .button-secondary { color: var(--forest); border-color: var(--forest); }
  .pricing-hero .editorial-hero-copy .button-primary { color: var(--white); border-color: var(--forest); background: var(--forest); }
  .pricing-hero .editorial-hero-copy .button-primary:is(:hover,:active) { color: var(--forest); background: var(--sage-tint); }
  .pricing-hero-photo-mobile { margin-top: 0; }
  .pricing-items-grid { gap: 0; }
  .pricing-items:first-child > li:last-child::after { content: ""; display: block; height: 1px; background: var(--line); margin: 36px 0 12px; }
  .pricing-founding .editorial-feature { min-height: 0; padding-top: 0; }
  .pricing-discuss-inner { grid-template-columns: minmax(0, 1fr); }

  .members-process .editorial-feature { display: block; }
  .members-process .numbered-list { margin-top: var(--section-gap); }
  .members-report article:not(:last-child) { padding-bottom: var(--section-gap); border-bottom: 1px solid var(--line); }

  .about-hero { --editorial-hero-inset: calc(var(--header-height) + 120px); }
  .about-hero .editorial-hero-art {
    background: linear-gradient(to bottom, #0f1d1a13, #0f1d1a70 40%, #0f1d1ad6), url("assets/about/hero-photo.jpg") center / cover no-repeat;
  }
  .about-hero .editorial-hero-copy .button-secondary { background: transparent; color: var(--white); }
  .about-hero .editorial-hero-copy .button-secondary:is(:hover,:active) { background: var(--canvas); color: var(--forest); }
  .about-founders .editorial-feature { min-height: 0; }
  .about-contact { padding-bottom: 48px; }
  .about-contact-layout { grid-template-columns: minmax(0, 1fr); }
  .about-contact-intro p { margin-top: 16px; }
  .about-perspectives .editorial-grid { grid-template-columns: minmax(0, 1fr); }
  .about-assessment-link { justify-self: start; }

  .legal-table, .legal-table tbody { display: block; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .legal-table tbody tr { display: grid; gap: 12px; padding-block: 16px; border-top: 1px solid var(--line); }
  .legal-table tbody :is(td, th) { border: 0; padding: 0; }
  .comparison-table tbody :is(th, td) { width: auto; padding: 0; }
  .comparison-table tbody tr:nth-child(n) { background: transparent; }
  .comparison-table td[aria-label]::after { content: "–"; }
  .legal-table td span { font-size: .875em; font-weight: 600; }
}
