/* Cross-template consistency pass */
html {
  background: #0d0e12;
}

body .site-footer {
  margin-top: 0;
}

.brand-mark__monogram {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
}

/* Author profile */
.author-page {
  background: #f7f7fa;
}

.author-profile {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.author-profile__media {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #e8e8ed;
  aspect-ratio: 1;
}

.author-profile__portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-profile__copy {
  max-width: 49rem;
}

.author-profile__copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  line-height: 0.92;
}

.author-profile__role {
  margin: 0 0 1.3rem;
  color: #292c35;
  font-size: 1.05rem;
  font-weight: 760;
}

.author-profile__bio {
  max-width: 46rem;
  margin: 0;
  color: #595d67;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.author-profile__socials {
  margin-top: 1.75rem;
}

.author-profile__socials a,
.about-profile__link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.author-posts {
  border-top: 1px solid #dbdce2;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.author-posts__heading,
.hub-post-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.author-posts__heading h2,
.hub-post-section__heading h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.author-posts__heading p,
.hub-post-section__heading p {
  max-width: 32rem;
  margin: 0 0 0.35rem;
  color: #636772;
}

.post-grid.author-post-grid,
.post-grid.hub-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

.author-post-grid .post-card,
.hub-post-grid .post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.author-post-grid .post-card__body,
.hub-post-grid .post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.author-post-grid .post-card__body h3,
.hub-post-grid .post-card__body h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.author-post-grid .post-card__body > .text-link,
.hub-post-grid .post-card__body > .text-link {
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Blog index */
.route-blog_hub .blog-intro {
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(4rem, 7vw, 6rem) clamp(3rem, 5vw, 4rem);
}

.route-blog_hub .blog-intro h1 {
  max-width: 13ch;
  margin: 0 0 1.4rem;
  font-size: clamp(3.6rem, 7vw, 6.3rem);
  line-height: 0.93;
}

.route-blog_hub .blog-intro p {
  line-height: 1.65;
}

.route-blog_hub .blog-feature {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 32rem;
  margin-bottom: clamp(4.5rem, 8vw, 7rem);
}

.route-blog_hub .blog-feature__copy {
  min-width: 0;
  padding: clamp(2.5rem, 4.5vw, 4.5rem);
}

.route-blog_hub .blog-feature__copy h2 {
  max-width: 16ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 3.8vw, 3.8rem);
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
}

/* Topic hubs */
.route-category .hub-hero {
  padding: 0;
  color: #fff;
  background: #12141c;
}

.route-category .hub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.82fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  min-height: 34rem;
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.route-category .hub-hero__copy h1 {
  max-width: 13ch;
  margin: 0 0 1.6rem;
  font-size: clamp(3.4rem, 6.5vw, 6.2rem);
  line-height: 0.95;
}

.route-category .hub-hero__copy p {
  max-width: 42rem;
  margin: 0;
  color: #c2c5cf;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.route-category .hub-hero__media {
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  aspect-ratio: 4 / 3;
}

.route-category .hub-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-feature {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: #eff0f5;
}

.hub-feature .post-card--featured {
  display: block;
  min-height: 0;
  color: #171923;
  background: #fff;
}

.hub-feature .post-card--featured .post-card__body {
  min-height: 0;
  padding: clamp(2.25rem, 5vw, 4.25rem);
}

.hub-feature .post-card--featured :is(h2, h3) {
  max-width: 22ch;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
}

.hub-feature .post-card--featured :is(h2, h3) a,
.hub-feature .post-card--featured .text-link {
  color: #171923;
}

.route-category .hub-feature .post-card--featured .post-card__meta,
.route-category .hub-feature .post-card--featured .post-card__meta a,
.route-category .hub-feature .post-card--featured p:not(.eyebrow) {
  max-width: 55rem;
  color: #636772;
}

.hub-post-section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.hub-post-section--soft {
  background: #f7f7fa;
}

.hub-post-section--soft > .container {
  width: min(calc(100% - 2.5rem), var(--content-width));
}

/* About */
.about-profile {
  color: #fff;
  background: #14161e;
}

.about-profile__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.72fr);
  gap: clamp(3.5rem, 8vw, 8rem);
  align-items: center;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.about-profile__copy h1 {
  max-width: 13ch;
  margin: 0 0 2rem;
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 0.94;
}

.about-profile__lead {
  max-width: 39rem;
  color: #fff;
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  font-weight: 650;
  line-height: 1.45;
}

.about-profile__copy > p:not(.about-profile__lead) {
  max-width: 39rem;
  color: #b5b8c2;
  font-size: 1.05rem;
}

.about-profile__link {
  margin-top: 1.25rem;
  color: #c9cbff;
}

.about-profile__portrait {
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #e8e8ed;
}

.about-profile__image {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 68%;
}

.about-profile__portrait figcaption {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.35rem;
  color: #22242c;
  background: #f1daca;
}

.about-profile__portrait figcaption span {
  margin-top: 0.2rem;
  color: #655d58;
  font-size: 0.82rem;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.about-story h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  line-height: 1;
}

.about-story p {
  color: #525660;
  font-size: clamp(1.08rem, 1.7vw, 1.27rem);
  line-height: 1.75;
}

.about-purpose {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-purpose > div {
  display: flex;
  min-height: 33rem;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 8vw, 7rem);
}

.about-purpose__question {
  color: #fff;
  background: #171923;
}

.about-purpose__question h2 {
  max-width: 10ch;
  margin-bottom: 2rem;
  color: #fff;
  font-size: clamp(3.2rem, 5.7vw, 5.5rem);
}

.about-purpose__question p {
  max-width: 28rem;
  color: #b6b9c3;
  font-size: 1.08rem;
}

.about-purpose__answer {
  background: #dfe2ff;
}

.about-purpose__answer p {
  max-width: 40rem;
  color: #4d5269;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.75;
}

@media (max-width: 70rem) {
  .post-grid.author-post-grid,
  .post-grid.hub-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-blog_hub .blog-feature__copy h2 {
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  }
}

@media (max-width: 52rem) {
  .author-profile,
  .author-posts__heading,
  .hub-post-section__heading,
  .route-blog_hub .blog-intro,
  .route-blog_hub .blog-feature,
  .route-category .hub-hero__grid,
  .about-profile__inner,
  .about-story,
  .about-purpose {
    grid-template-columns: 1fr;
  }

  .author-profile {
    gap: 2rem;
  }

  .author-profile__media {
    width: 10rem;
    border-radius: 1rem;
  }

  .author-profile__copy h1 {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .author-posts__heading,
  .hub-post-section__heading {
    gap: 1rem;
  }

  .route-blog_hub .blog-intro nav {
    justify-content: flex-start;
    max-width: none;
  }

  .route-blog_hub .blog-feature {
    min-height: 0;
    margin-inline: 1.25rem;
  }

  .route-blog_hub .blog-feature__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .route-category .hub-hero__grid {
    gap: 2.5rem;
    min-height: 0;
  }

  .route-category .hub-hero__media {
    aspect-ratio: 16 / 10;
  }

  .about-profile__inner {
    gap: 2.5rem;
  }

  .about-purpose > div {
    min-height: 0;
    padding: 4rem 1.25rem;
  }
}

@media (max-width: 40rem) {
  .post-grid.author-post-grid,
  .post-grid.hub-post-grid {
    grid-template-columns: 1fr;
  }

  .route-blog_hub .blog-intro h1,
  .route-category .hub-hero__copy h1,
  .about-profile__copy h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }
}

/* Homepage clarity and interaction */
.brand-mark {
  width: 2.8rem;
  height: 2rem;
}

.brand-mark__monogram {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.editorial-hero__copy {
  max-width: 58rem;
}

.editorial-hero h1 {
  max-width: none;
  margin-bottom: 0.6rem;
  font-size: clamp(4.25rem, 9vw, 8.4rem);
  line-height: 0.9;
}

.editorial-hero__promise {
  max-width: 31rem;
  margin: 0 0 1.7rem;
  color: #b9f56f;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 680;
  line-height: 1.25;
}

body .editorial-hero .button--hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(15, 16, 21, 0.5);
  backdrop-filter: blur(10px);
}

body .editorial-hero .button--hero-secondary:hover {
  border-color: #fff;
  color: #11131a;
  background: #fff;
}

.button-arrow {
  margin-left: 0.35rem;
}

.button--dark {
  color: #fff;
  background: #171923;
}

.button--dark:hover {
  color: #fff;
  background: #303441;
}

.thinking-section .thinking-list a,
.subject-directory .directory-row {
  margin-inline: -1rem;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  padding: 1.5rem 1rem;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.thinking-section .thinking-list a:hover,
.thinking-section .thinking-list a:focus-visible {
  border-color: #484c5c;
  background: #20232e;
  transform: translateX(0.35rem);
}

.subject-directory .directory-row:hover,
.subject-directory .directory-row:focus-visible {
  border-color: #d8d9df;
  background: #f1f2f6;
  transform: translateX(0.35rem);
}

.thinking-section .thinking-list a > span:last-child,
.subject-directory .directory-row > span:last-child {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 180ms ease;
}

.thinking-section .thinking-list a:hover > span:last-child,
.subject-directory .directory-row:hover > span:last-child {
  transform: translate(0.15rem, -0.15rem);
}

.practice-feature__story > .button {
  margin-top: 1.4rem;
  color: #fff;
  text-decoration: none;
}

.pioneer-quote__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.pioneer-quote__context .pioneer-quote__actions > a {
  margin: 0;
  text-decoration: none;
}

.pioneer-quote__context .pioneer-quote__actions .pioneer-quote__source {
  border: 1px solid #9b8e87;
  color: #312e2c;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 730;
}

.reader-invitation__question > .button {
  margin-top: 1.4rem;
  color: #171923;
}

/* Article cover, reading progress and content variety */
.progress {
  height: 5px;
  background: #8d8eff;
  box-shadow: 0 0 14px rgba(141, 142, 255, 0.65);
  z-index: 100;
}

body .article-cover {
  padding: 0;
}

body .article-cover__media {
  width: 100%;
  height: clamp(14rem, 28vw, 25rem);
  border-radius: 0;
  aspect-ratio: auto;
}

body .article-cover__image {
  object-position: center 25%;
}

body .article-cover__grid {
  display: block;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

body .article-cover__copy {
  max-width: 63rem;
}

body .article-cover__copy h1 {
  max-width: 28ch;
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.article-cover__lede {
  max-width: 52rem;
}

.rich-article-body h2 {
  padding-top: 1.1rem;
  border-top: 1px solid #e6e6eb;
}

.rich-article-body h3 {
  color: #303441;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.rich-article-body :is(ul, ol) {
  margin-block: 1.5rem 2rem;
  border-radius: 1rem;
  padding: 1.4rem 1.6rem 1.4rem 3rem;
  background: #f5f5f8;
}

.rich-article-body li + li {
  margin-top: 0.7rem;
}

.article-reference {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.article-reference h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.article-reference table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.article-reference :is(th, td) {
  border-right: 1px solid #dedfe5;
  border-bottom: 1px solid #dedfe5;
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.article-reference th {
  color: #fff;
  background: #171923;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-reference tbody tr:nth-child(even) {
  background: #f5f5f8;
}

.author-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.author-card__links .button {
  width: auto;
}

/* Field Guide search */
.field-guide-search {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(22rem, 1.25fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.field-guide-search h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.field-guide-search p {
  margin: 0;
  color: #656974;
}

.field-guide-search label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  font-weight: 760;
}

.field-guide-search input {
  width: 100%;
  min-height: 3.8rem;
  border: 1px solid #cfd1d8;
  border-radius: 0.85rem;
  padding: 0 1.1rem;
  color: #171923;
  background: #fff;
  font: inherit;
  box-shadow: 0 10px 30px rgba(26, 28, 38, 0.06);
}

.field-guide-search input:focus {
  border-color: #5d63f1;
  outline: 3px solid rgba(93, 99, 241, 0.18);
}

.field-guide-search__status {
  margin-top: 0.7rem !important;
  font-size: 0.82rem;
}

[data-field-guide-entry][hidden],
[data-field-guide-group][hidden] {
  display: none;
}

.field-index-group h3 a:hover,
.field-index-group h3 a:focus-visible,
.field-index-featured a:hover strong,
.field-index-featured a:focus-visible strong {
  color: #4d54e2;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* About page proportions */
.about-story {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.about-story h2 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 4.2vw, 4.35rem);
  line-height: 1.02;
}

.about-boundary {
  gap: 1.5rem;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.about-boundary > div {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  justify-content: center;
  border-radius: 1.25rem;
  padding: clamp(2.5rem, 4vw, 4rem);
}

.about-boundary h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.about-boundary p {
  max-width: 34rem;
  font-size: 1.14rem;
  line-height: 1.7;
}

.about-next .button--on-colour {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
  background: transparent;
}

body .about-next p {
  color: #fff;
}

body .latest-row div > p:first-child {
  color: #444ab8;
}

body .latest-row div > span,
body .blog-topic__articles article div > span {
  color: #5f626b;
}

.about-next .button--on-colour:hover {
  color: #353aaf;
  background: #fff;
}

@media (max-width: 52rem) {
  .editorial-hero h1 {
    font-size: clamp(3.6rem, 17vw, 6.2rem);
  }

  body .article-cover__media {
    height: clamp(12rem, 52vw, 20rem);
  }

  .field-guide-search,
  .about-story,
  .about-boundary {
    grid-template-columns: 1fr;
  }

  .field-guide-search {
    align-items: start;
  }

  .about-story h2 {
    max-width: 16ch;
    font-size: clamp(2.65rem, 12vw, 4rem);
  }
}
