/* Ranking directory: page-owned layout and responsive composition. */
body[data-helper-page] {
  background: #f8f4ee;
  color: #4c0200;
  font-family: "Special Gothic", Arial, sans-serif;
}
/* Keep the accepted header intact while turning its home hero into a solid reserved nav band. */
body[data-helper-page] > header {
  position: relative;
  z-index: 5;
  min-height: 7.25rem;
  background: #fff9f2;
  border-bottom: 1px solid #eadfd3;
}
body[data-helper-page] > header [data-homepage-region-content] { min-height: 7.25rem; }
body[data-helper-page] > header .header-layer {
  position: relative;
  inset: auto;
  min-height: 7.25rem;
  padding: 1rem clamp(1.25rem, 5vw, 4.5rem);
  background: #fff9f2;
}
body[data-helper-page] > header .hero-media,
body[data-helper-page] > header .editorial-panel { display: none; }

.directory-page {
  --ink: #4c0200;
  --paper: #fff9f2;
  --rose: #f8b4d2;
  --sky: #afe5f5;
  --sun: #fff963;
  width: 100%;
  overflow: visible;
  background: #f8f4ee;
}
.directory-page section { position: relative; padding: clamp(3.5rem, 7vw, 7.5rem) clamp(1.25rem, 7.2vw, 7rem); }
.directory-page h1, .directory-page h2, .directory-page h3, .directory-page p { margin-top: 0; }
.directory-page h1, .directory-page h2 { letter-spacing: -0.045em; }
.directory-page h1 { max-width: 13ch; margin-bottom: 1.5rem; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .94; }
.directory-page h2 { margin-bottom: 1.1rem; font-size: clamp(2.25rem, 4.4vw, 4.25rem); line-height: 1; }
.directory-page h3 { margin-bottom: .7rem; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.1; }
.directory-page p { line-height: 1.6; }
.eyebrow { margin-bottom: 1.1rem !important; font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.directory-hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr); align-items: center;
  min-height: 42rem; gap: clamp(2rem, 7vw, 7rem); overflow: hidden; background: #4c0200; color: #fff9f2;
}
.directory-hero__copy { position: relative; z-index: 1; max-width: 46rem; }
.directory-hero__copy .eyebrow { color: #afe5f5; }
.directory-hero__copy .lead { max-width: 39rem; margin-bottom: 2rem; color: #f5e8df; font-size: clamp(1.1rem, 1.55vw, 1.4rem); }
.hero-note { margin: 1.3rem 0 0 !important; color: #efc9be; font-size: .86rem; }
.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; gap: .75rem; padding: .8rem 1.35rem; border: 2px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible { outline: 3px solid #165e70; outline-offset: 4px; }
.button--light { background-color: #fff963; color: #4c0200; }
.button--dark { background-color: #4c0200; color: #fff9f2; }
.button--outline { border-color: #4c0200; background-color: #4c0200; color: #fff9f2; }
.directory-hero__visual { position: relative; z-index: 1; margin: 0; transform: rotate(2deg); }
.directory-hero__visual img { display: block; width: 100%; aspect-ratio: 1.12; border: 10px solid #fff9f2; border-radius: 48% 48% 1.5rem 1.5rem; object-fit: cover; box-shadow: 0 24px 70px rgb(0 0 0 / 22%); }
.directory-hero__visual figcaption { max-width: 25rem; margin: 1.1rem auto 0; color: #f5e8df; font-size: .9rem; text-align: center; }
.hero-orbit { position: absolute; width: 21rem; aspect-ratio: 1; border: 1px solid rgb(255 249 242 / 18%); border-radius: 50%; }
.hero-orbit--one { right: -6rem; top: -8rem; }
.hero-orbit--two { right: 8rem; bottom: -16rem; width: 32rem; }
.method-section { background: #fff9f2; }
.section-heading { max-width: 54rem; margin-bottom: 2.5rem; }
.section-heading > p:last-child { max-width: 47rem; color: #685652; font-size: 1.08rem; }
.criteria-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.criterion-card { min-height: 15rem; padding: 1.6rem; border: 1px solid #e7d8cc; border-radius: 1.35rem; background-color: #f8f4ee; }
.criterion-card__number { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; margin-bottom: 2rem; border-radius: 50%; background-color: #f8b4d2; font-size: .85rem; font-weight: 800; }
.criterion-card:nth-child(2) .criterion-card__number { background-color: #afe5f5; }
.criterion-card:nth-child(3) .criterion-card__number { background-color: #fff963; }
.criterion-card:nth-child(4) .criterion-card__number { background-color: #d7c8ef; }
.criterion-card p { margin-bottom: 0; color: #685652; font-size: .97rem; }
.featured-section { background: #f8b4d2; }
.section-heading--split { display: grid; grid-template-columns: 1fr minmax(18rem, .7fr); align-items: end; max-width: none; gap: 3rem; }
.section-heading--split > p { margin-bottom: 1.2rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { display: flex; min-height: 24rem; flex-direction: column; justify-content: space-between; padding: clamp(1.4rem, 2.5vw, 2.4rem); border-radius: 1.5rem; background: #fff9f2; }
.feature-card--blue { background: #afe5f5; }
.feature-card--yellow { background: #fff963; }
.feature-card__index { font-size: .8rem; font-weight: 800; letter-spacing: .14em; }
.feature-card__tag { margin: 2rem 0 .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.feature-card p:not(.feature-card__tag) { color: #5e4641; }
.text-link { align-self: flex-start; padding: .3rem 0; border-bottom: 1px solid currentColor; color: #4c0200; font-weight: 800; text-decoration: none; }
.catalogue-section { display: grid; grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr); align-items: start; gap: clamp(2rem, 8vw, 8rem); background: #fff9f2; }
.catalogue-intro { position: sticky; top: 2rem; }
.catalogue-intro > p:not(.eyebrow) { max-width: 27rem; margin-bottom: 2rem; color: #685652; }
.catalogue-list { border-top: 1px solid #d7c9bd; }
.catalogue-item { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 1.5rem; align-items: start; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid #d7c9bd; }
.catalogue-item__icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 50%; background-color: #f8b4d2; font-size: .73rem; font-weight: 800; }
.catalogue-item:nth-child(2) .catalogue-item__icon { background-color: #afe5f5; }
.catalogue-item:nth-child(3) .catalogue-item__icon { background-color: #fff963; }
.catalogue-item:nth-child(4) .catalogue-item__icon { background-color: #d7c8ef; }
.catalogue-item h3 { margin: .2rem 0 .45rem; font-size: 1.25rem; }
.catalogue-item p { max-width: 38rem; margin-bottom: 0; color: #685652; }
.catalogue-item__arrow { padding-top: .6rem; font-size: 1.2rem; }
.comparison-section { background: #afe5f5; }
.comparison-heading { max-width: 58rem; margin-bottom: 2.5rem; }
.comparison-heading > p:last-child { max-width: 42rem; color: #394f52; }
.comparison-table-wrap { overflow-x: auto; border-radius: 1.35rem; background-color: #fff9f2; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; }
.comparison-table th, .comparison-table td { padding: 1.15rem 1.35rem; border-bottom: 1px solid #e7d8cc; vertical-align: top; }
.comparison-table thead th { background-color: #4c0200; color: #fff9f2; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.comparison-table tbody th { min-width: 9rem; color: #4c0200; }
.comparison-table tbody td { color: #685652; }
.comparison-table tbody tr:last-child th, .comparison-table tbody tr:last-child td { border-bottom: 0; }
.limits-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .75fr); align-items: center; gap: clamp(2rem, 9vw, 9rem); background: #fff963; }
.limits-copy { max-width: 49rem; }
.limits-copy p:not(.eyebrow) { color: #5c4b30; }
.limits-copy .button { margin-top: .5rem; }
.limits-art { position: relative; display: grid; min-height: 19rem; place-items: center; overflow: hidden; border-radius: 50% 50% 1.5rem 1.5rem; background-color: #4c0200; color: #fff9f2; }
.limits-art__sun { position: absolute; top: 15%; left: 35%; width: 8rem; aspect-ratio: 1; border-radius: 50%; background-color: #f8b4d2; }
.limits-art__orbit { position: absolute; width: 75%; height: 44%; border: 1px solid rgb(255 249 242 / 65%); border-radius: 50%; transform: rotate(-24deg); }
.limits-art__orbit--b { width: 95%; height: 65%; transform: rotate(24deg); }
.limits-art__label { position: relative; z-index: 1; margin-top: 4rem; font-size: 1.55rem; font-weight: 800; line-height: 1.05; text-align: center; }
@media (max-width: 900px) {
  .directory-hero { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(14rem, .8fr); }
  .criteria-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 18rem; }
  .catalogue-section { grid-template-columns: 1fr; }
  .catalogue-intro { position: static; }
}
@media (max-width: 620px) {
  body[data-helper-page] > header, body[data-helper-page] > header [data-homepage-region-content], body[data-helper-page] > header .header-layer { min-height: 5.5rem; }
  body[data-helper-page] > header .header-layer { padding: .5rem 1rem; }
  .directory-page section { padding: 3.5rem 1.15rem; }
  .directory-hero { grid-template-columns: 1fr; gap: 2rem; }
  .directory-page h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .directory-hero__visual { width: min(100%, 27rem); margin-inline: auto; }
  .directory-hero__visual img { border-width: 7px; }
  .section-heading--split { grid-template-columns: 1fr; gap: .5rem; }
  .criteria-grid { grid-template-columns: 1fr; }
  .criterion-card { min-height: 0; }
  .criterion-card__number { margin-bottom: 1rem; }
  .catalogue-item { grid-template-columns: 2.6rem minmax(0, 1fr); gap: .8rem; }
  .catalogue-item__icon { width: 2.5rem; height: 2.5rem; }
  .catalogue-item__arrow { display: none; }
  .comparison-table { min-width: 40rem; }
  .limits-section { grid-template-columns: 1fr; }
  .limits-art { min-height: 15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
.hero-art__disc { position: absolute; display: block; border-radius: 50%; }
.hero-art__disc--sun { top: 13%; left: 25%; width: 36%; aspect-ratio: 1; background-color: #fff963; }
.hero-art__disc--rose { right: 16%; bottom: 13%; width: 27%; aspect-ratio: 1; background-color: #f8b4d2; }
.hero-art__ring { position: absolute; inset: 14%; border: 1px solid rgb(255 249 242 / 72%); border-radius: 50%; transform: rotate(-27deg) scaleY(.57); }
.hero-art__ring--two { transform: rotate(28deg) scaleY(.57); }
.hero-art__spark { position: absolute; color: #fff9f2; font-size: 2.1rem; }
.hero-art__spark--one { top: 20%; right: 23%; }
.hero-art__spark--two { bottom: 20%; left: 21%; color: #afe5f5; }
.hero-art__label { position: relative; z-index: 1; color: #4c0200; font-size: clamp(1.35rem, 3vw, 2.5rem); font-weight: 800; line-height: .98; text-align: center; }
.feature-card--rose { background-color: #fff9f2; }
.limits-art__orbit--a { transform: rotate(-24deg); }
.hero-art__ring--one { transform: rotate(-27deg) scaleY(.57); }
