.site-header {
  position: relative;
  z-index: var(--layer-nav);
}

.landing-main {
  overflow: clip;
}

.landing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: var(--border);
}

.hero-motion {
  position: absolute;
  z-index: var(--layer-base);
  inset: var(--space-0);
  overflow: hidden;
  pointer-events: none;
}

.hero-motion::before,
.hero-motion::after {
  position: absolute;
  content: "";
}

.hero-motion::before {
  inset: var(--space-0);
  background-image: radial-gradient(circle, var(--dot) var(--dot-size), transparent calc(var(--dot-size) * 1.3));
  background-size: var(--dot-cell) var(--dot-cell);
  animation: ish-dot-drift var(--duration-hero) var(--ease-linear) infinite;
}

.hero-motion__mark {
  position: absolute;
  width: var(--mark-size);
  height: var(--mark-size);
  animation: ish-float var(--duration-drift) var(--ease-out) infinite;
}

.hero-inner {
  position: relative;
  z-index: var(--layer-content);
  display: grid;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-5);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: var(--space-3);
}

.hero-lockup {
  width: min(100%, var(--hero-logo-width));
  height: auto;
}

.hero-title {
  max-width: var(--measure-tight);
  text-wrap: balance;
}

.hero-title__line {
  display: block;
}

.hero-promise {
  margin: var(--space-0);
  font-size: var(--text-lede);
}

.hero-aside p {
  margin: var(--space-0);
  font-size: var(--text-body);
}

.hero-aside {
  display: grid;
  align-content: center;
  gap: var(--space-3);
}

.hero-tagline {
  max-width: var(--measure-tight);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: var(--line-heading);
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  width: fit-content;
  min-height: var(--touch-target);
  padding: var(--space-3) var(--space-5);
  border: var(--border);
  background: var(--cta);
  color: var(--on-solid);
  box-shadow: var(--shadow);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.hero-action::after {
  content: "↓";
  font-family: var(--font-display);
  font-size: var(--text-h3);
}

.hero-action:hover,
.hero-action:focus-visible {
  color: var(--on-solid);
  box-shadow: var(--shadow-lift);
  transform: translate(calc(-1 * var(--lift-distance)), calc(-1 * var(--lift-distance)));
}

.landing-section {
  padding-top: var(--space-8);
}

#statements.landing-section {
  padding-top: var(--space-7);
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-7);
  margin-bottom: var(--space-4);
}

.section-intro h2 {
  max-width: var(--measure-tight);
}

.section-intro__aside {
  max-width: var(--measure-tight);
  margin: var(--space-0);
  color: var(--muted);
}

.section-number {
  flex: none;
  color: var(--crimson);
  font-family: var(--font-marker);
  font-size: var(--text-h2);
  line-height: var(--line-tight);
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.statement {
  position: relative;
  min-height: var(--tile-min-height);
  overflow: hidden;
  background: var(--paper);
}

.statement::before {
  position: absolute;
  z-index: var(--layer-content);
  top: var(--space-0);
  right: var(--space-0);
  left: var(--space-0);
  height: var(--space-3);
  content: "";
}

.statement--curious::before {
  background: var(--cat-curious);
}

.statement--connected::before {
  background: var(--cat-connected);
}

.statement--compassionate::before {
  background: var(--cat-compassionate);
}

.statement summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: start;
  min-height: var(--tile-min-height);
  padding: var(--space-6) var(--space-5) var(--space-4);
  cursor: pointer;
  list-style: none;
}

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

.statement__index {
  font-family: var(--font-marker);
  font-size: var(--text-h3);
  line-height: var(--line-tight);
}

.statement__heading {
  display: grid;
  gap: var(--space-2);
}

.statement__title {
  max-width: var(--measure-tight);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-heading);
  text-wrap: balance;
}

.statement__teaser {
  margin: var(--space-0);
  color: var(--muted);
  font-weight: var(--font-weight-semi);
}

.statement__action {
  display: grid;
  place-items: center;
  width: var(--icon-button-size);
  height: var(--icon-button-size);
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: var(--line-tight);
  transition: transform var(--duration-fast) var(--ease-out);
}

.statement[open] .statement__action {
  transform: rotate(45deg);
}

.statement__detail {
  padding: var(--space-0) var(--space-5) var(--space-6);
  border-top: var(--border);
}

.statement__detail p {
  margin: var(--space-5) var(--space-0) var(--space-0);
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.now-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: var(--space-7);
  min-width: var(--space-0);
  min-height: var(--tile-min-height);
  padding: var(--space-6);
  border: var(--border);
  background: var(--surface-raised);
}

.now-card__meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-4);
}

.now-card time {
  color: var(--muted);
  font-size: var(--text-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

.now-card h3 {
  max-width: var(--measure-tight);
  text-wrap: balance;
}

.now-card__link {
  align-self: end;
  font-weight: var(--font-weight-bold);
}

.mission-wrap {
  padding-top: var(--space-section);
}

.mission-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: var(--space-10);
  padding: var(--space-8);
}

.mission-panel__copy {
  columns: 2;
  column-gap: var(--space-8);
}

.mission-panel__copy p {
  margin-top: var(--space-0);
  break-inside: avoid;
}

.mission-panel__note {
  color: var(--muted);
  font-size: var(--text-small);
  font-weight: var(--font-weight-semi);
}

.footer-meta {
  margin: var(--space-0);
  color: var(--muted);
  font-size: var(--text-small);
}

/* Direction A: editorial. Thin rules and typographic pace do the work. */
.direction-a .landing-hero {
  min-height: var(--hero-editorial-min);
  background: var(--paper);
}

.direction-a .hero-motion::before {
  left: 42%;
  opacity: 0.8;
}

.direction-a .hero-motion::after {
  top: var(--space-0);
  right: 8%;
  width: var(--space-7);
  height: 100%;
  background: var(--crimson);
}

.direction-a .hero-motion__mark {
  right: 12%;
  bottom: var(--space-5);
  border: var(--border);
  background: var(--blue);
}

.direction-a .hero-inner {
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  min-height: var(--hero-editorial-min);
}

.direction-a .hero-copy {
  padding-right: var(--space-5);
}

.direction-a .hero-lockup {
  width: min(55%, var(--hero-logo-compact));
}

.direction-a .hero-title {
  font-size: var(--text-h2);
}

.direction-a .hero-title__line:last-child {
  color: var(--blue);
}

.direction-a .hero-aside {
  padding: var(--space-4);
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.direction-a .statement-grid {
  gap: var(--space-0);
  border-right: var(--border);
  border-left: var(--border);
}

.direction-a .statement {
  border-top: var(--border);
  border-bottom: var(--border);
  border-left: var(--border);
}

.direction-a .statement:first-child {
  border-left: var(--space-0);
}

.direction-a .now-grid {
  grid-template-columns: 1fr;
  gap: var(--space-0);
  border-top: var(--border);
}

.direction-a .now-card {
  grid-template-columns: var(--date-column-width) minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--space-0);
  padding-inline: var(--space-0);
  border: var(--space-0);
  border-bottom: var(--border);
  background: var(--paper);
}

.direction-a .now-card__meta {
  display: grid;
}

.direction-a .now-card__link {
  padding-right: var(--space-3);
}

/* Direction B: poster. A blue field and crimson slash create the image. */
.direction-b .landing-hero {
  min-height: var(--hero-poster-min);
  background: var(--primary);
  color: var(--on-solid);
}

.direction-b .hero-motion::before {
  background-image: radial-gradient(circle, var(--veil) var(--dot-size), transparent calc(var(--dot-size) * 1.3));
  opacity: 0.85;
}

.direction-b .hero-motion::after {
  top: calc(-1 * var(--space-12));
  right: -7%;
  width: 42%;
  height: calc(100% + (2 * var(--space-12)));
  background: var(--crimson);
  transform: rotate(var(--poster-angle));
}

.direction-b .hero-motion__mark {
  right: 17%;
  bottom: var(--space-8);
  border: var(--border);
  border-color: var(--on-solid);
  background: var(--paper);
  box-shadow: var(--space-2) var(--space-2) var(--space-0) var(--ink);
}

.direction-b .hero-inner {
  grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 0.45fr);
  min-height: var(--hero-poster-min);
}

.direction-b .hero-copy {
  align-self: stretch;
  align-content: space-between;
}

.direction-b .hero-lockup {
  width: min(55%, var(--hero-logo-compact));
}

.direction-b .hero-title {
  max-width: 20ch;
  font-size: var(--text-hero);
  line-height: var(--line-tight);
}

.direction-b .hero-title__line:last-child {
  color: var(--paper);
  text-shadow: var(--space-1) var(--space-1) var(--space-0) var(--crimson);
}

.direction-b .hero-aside {
  align-self: end;
  padding: var(--space-4);
  border: var(--rule-width) var(--rule-style) var(--on-solid);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.direction-b .statement-grid {
  gap: var(--space-5);
}

.direction-b .statement {
  border: var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.direction-b .statement:hover,
.direction-b .statement:focus-within {
  box-shadow: var(--shadow-lift);
  transform: translate(calc(-1 * var(--lift-distance)), calc(-1 * var(--lift-distance)));
}

.direction-b .now-card {
  box-shadow: var(--shadow);
}

/* Direction C: grid. Modules can be reordered or expanded as content grows. */
.direction-c .landing-hero {
  min-height: var(--hero-grid-min);
  background: var(--surface);
}

.direction-c .hero-motion::before {
  opacity: 0.65;
}

.direction-c .hero-motion::after {
  right: var(--space-0);
  bottom: var(--space-0);
  width: 32%;
  height: var(--space-8);
  background: var(--crimson);
  animation: ish-float var(--duration-drift) var(--ease-out) infinite;
}

.direction-c .hero-motion__mark {
  top: var(--space-7);
  right: 10%;
  border: var(--border);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.direction-c .hero-inner {
  grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 0.5fr);
  align-items: stretch;
  min-height: var(--hero-grid-min);
}

.direction-c .hero-copy,
.direction-c .hero-aside {
  padding: var(--space-3);
  border: var(--border);
  background: var(--paper);
}

.direction-c .hero-copy {
  position: relative;
  box-shadow: var(--shadow);
}

.direction-c .hero-copy::after {
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  width: var(--space-8);
  height: var(--space-8);
  border: var(--border);
  background: var(--crimson);
  content: "";
}

.direction-c .hero-lockup {
  width: min(45%, calc(var(--hero-logo-compact) * 0.75));
}

.direction-c .hero-title {
  max-width: 17ch;
  font-size: var(--text-grid-hero);
}

.direction-c .hero-aside {
  align-content: space-between;
  gap: var(--space-2);
  border-left: var(--space-0);
  background: var(--blue);
  color: var(--on-solid);
}

.direction-c .hero-action {
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--paper);
  color: var(--ink);
}

.direction-c .hero-action:hover,
.direction-c .hero-action:focus-visible {
  color: var(--ink);
}

.direction-c .statement-grid {
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: var(--space-4);
}

.direction-c .statement {
  border: var(--border);
  box-shadow: var(--shadow);
}

.direction-c .statement:nth-child(2) {
  transform: translateY(var(--space-4));
}

.direction-c .now-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.direction-c .now-card:first-child {
  grid-column: span 2;
}

.direction-c .now-card:nth-child(2),
.direction-c .now-card:nth-child(3) {
  grid-column: span 1;
}

.direction-c .now-card:first-child h3 {
  font-size: var(--text-h2);
}

:root[data-contrast="high"] .hero-motion {
  display: none;
}

:root[data-contrast="high"] .statement::before {
  height: var(--rule-width-high);
}

:root[data-contrast="high"] .direction-b .hero-title__line:last-child {
  text-shadow: none;
}

:root[data-contrast="high"] .direction-a .hero-title__line:last-child {
  color: var(--ink);
}

:root[data-contrast="high"] .direction-c .hero-aside {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 62rem) {
  .hero-inner,
  .direction-a .hero-inner,
  .direction-b .hero-inner,
  .direction-c .hero-inner,
  .mission-panel {
    grid-template-columns: 1fr;
  }

  .direction-a .hero-copy {
    padding-right: var(--space-0);
  }

  .direction-a .hero-aside,
  .direction-b .hero-aside {
    max-width: var(--measure-tight);
  }

  .direction-c .hero-aside {
    border-top: var(--space-0);
    border-left: var(--border);
  }

  .statement-grid,
  .direction-c .statement-grid {
    grid-template-columns: 1fr;
  }

  .direction-a .statement-grid {
    border: var(--space-0);
  }

  .direction-a .statement,
  .direction-a .statement:first-child {
    border-right: var(--border);
    border-bottom: var(--space-0);
    border-left: var(--border);
  }

  .direction-a .statement:last-child {
    border-bottom: var(--border);
  }

  .direction-c .statement:nth-child(2) {
    transform: none;
  }

  .now-grid,
  .direction-c .now-grid {
    grid-template-columns: 1fr;
  }

  .direction-c .now-card:first-child,
  .direction-c .now-card:nth-child(2),
  .direction-c .now-card:nth-child(3) {
    grid-column: auto;
  }

  .mission-panel__copy {
    columns: 1;
  }
}

@media (max-width: 40rem) {
  .hero-inner {
    gap: var(--space-5);
    padding-block: var(--space-6);
  }

  .ish-switch {
    padding-inline: var(--space-2);
    white-space: nowrap;
  }

  :root[data-font="dyslexic"] .ish-switch {
    white-space: normal;
  }

  .direction-a .hero-inner,
  .direction-b .hero-inner,
  .direction-c .hero-inner {
    min-height: var(--space-0);
  }

  .direction-a .hero-motion::after {
    right: var(--space-4);
    width: var(--space-3);
  }

  .direction-a .hero-motion__mark,
  .direction-b .hero-motion__mark,
  .direction-c .hero-motion__mark {
    display: none;
  }

  .direction-a .hero-lockup,
  .direction-b .hero-lockup,
  .direction-c .hero-lockup {
    width: min(86%, var(--hero-logo-width));
  }

  .direction-b .hero-motion::after {
    right: -32%;
    width: 62%;
  }

  .direction-b .hero-title {
    max-width: 10ch;
    font-size: var(--text-h1);
  }

  .direction-c .hero-copy,
  .direction-c .hero-aside {
    padding: var(--space-4);
  }

  .direction-c .hero-lockup {
    width: min(72%, var(--hero-logo-compact));
  }

  .section-intro {
    align-items: start;
    flex-direction: column;
    gap: var(--space-3);
  }

  .section-number {
    order: -1;
  }

  .statement summary {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: var(--space-6) var(--space-4) var(--space-4);
  }

  .statement__index {
    display: none;
  }

  .direction-a .now-card {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding-block: var(--space-5);
  }

  .direction-a .now-card__meta {
    display: flex;
  }

  .mission-panel {
    gap: var(--space-5);
    padding: var(--space-5);
  }
}

@media (max-width: 24rem) {
  .ish-topbar__tools {
    min-width: 0;
    flex-direction: column;
  }

  .ish-switch {
    width: 100%;
    white-space: normal;
  }

  .direction-c .hero-copy::after {
    display: none;
  }
}

/* Production page system for the selected modular-grid direction. */
body.ishacademy-site,
body.direction-c {
  background: var(--paper);
}

body.ishacademy-site #page,
body.ishacademy-site .site,
body.ishacademy-site .site-main,
body.ishacademy-site .widget-area {
  width: 100%;
  max-width: none;
  margin: var(--space-0);
  padding: var(--space-0);
}

body.ishacademy-site .site-main > *,
body.ishacademy-site .site-main > article > *,
body.ishacademy-site .site-main > .page-header,
body.ishacademy-site .site-main > .navigation {
  max-width: none;
  margin: var(--space-0);
}

body.ishacademy-site .site-header,
body.ishacademy-site .site-footer {
  max-width: none;
  margin: var(--space-0);
  padding: var(--space-0);
}

.ish-page-main {
  min-height: 55vh;
  overflow: clip;
}

.ish-page-shell {
  width: min(calc(100% - (2 * var(--space-fluid))), var(--content-narrow));
  margin-inline: auto;
}

.ish-page-hero,
.ish-archive-hero,
.ish-article-hero {
  position: relative;
  overflow: hidden;
  border-bottom: var(--border);
  background: var(--surface);
}

.ish-page-hero::before,
.ish-archive-hero::before,
.ish-article-hero::before {
  position: absolute;
  inset: var(--space-0);
  background-image: radial-gradient(circle, var(--dot) var(--dot-size), transparent calc(var(--dot-size) * 1.3));
  background-size: var(--dot-cell) var(--dot-cell);
  content: "";
  opacity: 0.55;
  animation: ish-dot-drift var(--duration-hero) var(--ease-linear) infinite;
}

.ish-page-hero::after,
.ish-archive-hero::after,
.ish-article-hero::after {
  position: absolute;
  right: var(--space-0);
  bottom: var(--space-0);
  width: min(30%, 20rem);
  height: var(--space-7);
  background: var(--statement-colour, var(--crimson));
  content: "";
}

.ish-page-hero__inner,
.ish-archive-hero__inner,
.ish-article-hero__inner {
  position: relative;
  z-index: var(--layer-content);
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-9);
}

.ish-page-hero__inner,
.ish-archive-hero__inner {
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  align-items: end;
}

.ish-page-hero__title,
.ish-archive-hero__title,
.ish-article-hero__title {
  max-width: 18ch;
  text-wrap: balance;
}

.ish-page-hero__note,
.ish-archive-hero__note {
  margin: var(--space-0);
  padding: var(--space-4);
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: var(--text-lede);
}

.ish-content {
  padding-block: var(--space-9);
}

.ish-content > * {
  max-width: var(--measure);
  margin-right: auto;
  margin-left: auto;
}

.ish-content > * + * {
  margin-top: var(--space-5);
}

.ish-content > h2,
.ish-content > h3 {
  margin-top: var(--space-8);
}

.ish-content > .alignwide,
.ish-content > .wp-block-columns,
.ish-content > .wp-block-gallery,
.ish-content > .ish-site-map,
.ish-content > .ish-faq-list {
  width: min(100%, var(--content-narrow));
  max-width: var(--content-narrow);
}

.ish-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
}

.ish-content img {
  height: auto;
}

.ish-content blockquote {
  padding: var(--space-5);
  border: var(--border);
  border-left-width: var(--space-3);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ish-content table {
  width: 100%;
  border-collapse: collapse;
}

.ish-content th,
.ish-content td {
  padding: var(--space-3);
  border: var(--border);
  text-align: left;
  vertical-align: top;
}

.ish-content .wp-block-button__link,
.ish-button {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
  padding: var(--space-3) var(--space-5);
  border: var(--border);
  border-radius: var(--radius) !important;
  background: var(--cta);
  color: var(--on-solid);
  box-shadow: var(--shadow);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}

.ish-content .wp-block-button__link:hover,
.ish-content .wp-block-button__link:focus-visible,
.ish-button:hover,
.ish-button:focus-visible {
  background: var(--blue);
  color: var(--on-solid);
  box-shadow: var(--shadow-lift);
}

body.category-curious,
.ish-context--curious {
  --statement-colour: var(--cat-curious);
  --statement-tint: var(--tint-lime);
}

body.category-connected,
.ish-context--connected {
  --statement-colour: var(--cat-connected);
  --statement-tint: var(--tint-orange);
}

body.category-compassionate,
.ish-context--compassionate {
  --statement-colour: var(--cat-compassionate);
  --statement-tint: var(--tint-purple);
}

.ish-entry-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  padding-block: var(--space-9);
}

.ish-entry-card {
  position: relative;
  display: grid;
  grid-column: span 4;
  align-content: space-between;
  gap: var(--space-6);
  min-height: 17rem;
  padding: var(--space-6);
  border: var(--border);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.ish-entry-card:first-child {
  grid-column: span 8;
}

.ish-entry-card::before {
  position: absolute;
  top: var(--space-0);
  right: var(--space-0);
  left: var(--space-0);
  height: var(--space-3);
  background: var(--statement-colour, var(--crimson));
  content: "";
}

.ish-entry-card:hover,
.ish-entry-card:focus-within {
  box-shadow: var(--shadow-lift);
  transform: translate(calc(-1 * var(--lift-distance)), calc(-1 * var(--lift-distance)));
}

.ish-entry-card__meta,
.ish-article-meta,
.ish-category-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.ish-entry-card__meta time,
.ish-article-meta time {
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

.ish-entry-card__excerpt {
  margin: var(--space-0);
  color: var(--muted);
}

.ish-entry-card__link {
  font-weight: var(--font-weight-bold);
}

.ish-article-hero__inner {
  grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1.68fr);
  align-items: start;
}

.ish-date-block {
  display: grid;
  width: fit-content;
  min-width: 8rem;
  padding: var(--space-4);
  border: var(--border);
  background: var(--blue);
  color: var(--on-solid);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  line-height: var(--line-tight);
  text-align: center;
}

.ish-date-block__day {
  font-size: var(--text-h1);
}

.ish-date-block__month {
  font-size: var(--text-h3);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

.ish-article-header-copy {
  display: grid;
  gap: var(--space-4);
}

.ish-featured-media {
  padding-top: var(--space-8);
}

.ish-featured-media img {
  width: 100%;
  max-height: 38rem;
  object-fit: cover;
  border: var(--border);
  box-shadow: var(--shadow);
}

.ish-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  padding-block: var(--space-8);
}

.ish-post-navigation a {
  display: block;
  min-height: var(--touch-target);
  padding: var(--space-4);
  border: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: var(--font-weight-bold);
}

.ish-site-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-block: var(--space-8);
}

.ish-site-map__node {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--space-3);
  min-height: 13rem;
  padding: var(--space-5);
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.ish-site-map__node:nth-child(1) {
  border-top: var(--space-3) solid var(--blue);
}

.ish-site-map__node:nth-child(2) {
  border-top: var(--space-3) solid var(--crimson);
}

.ish-site-map__node:nth-child(3) {
  border-top: var(--space-3) solid var(--purple);
}

.ish-site-map__node p {
  margin: var(--space-0);
}

.ish-faq-list {
  display: grid;
  gap: var(--space-4);
  margin-block: var(--space-8);
}

.ish-faq-list details {
  border: var(--border);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.ish-faq-list summary {
  min-height: var(--touch-target);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-h3);
}

.ish-faq-list details > div {
  padding: var(--space-0) var(--space-5) var(--space-5);
}

.ish-faq-list details > div > :last-child {
  margin-bottom: var(--space-0);
}

.ish-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-7);
  align-items: center;
}

.ish-footer-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-5) var(--space-7);
  align-items: start;
  padding-bottom: var(--space-7);
}

.ish-footer-nav a {
  font-weight: var(--font-weight-bold);
}

.ish-footer-menu,
.ish-footer-menu .sub-menu {
  margin: var(--space-0);
  padding: var(--space-0);
  list-style: none;
}

.ish-footer-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5) var(--space-7);
}

.ish-footer-menu .sub-menu {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.ish-footer-menu .sub-menu a {
  font-size: var(--text-small);
  font-weight: var(--font-weight-regular);
}

.ish-footer-privacy {
  white-space: nowrap;
}

.ish-pagination {
  padding-bottom: var(--space-9);
}

.ish-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.ish-pagination a,
.ish-pagination .current {
  display: grid;
  place-items: center;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  padding: var(--space-2);
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

/* Innovate gets the strongest version of the system without becoming dark mode. */
.innovate-main {
  overflow: clip;
}

.innovate-hero {
  position: relative;
  overflow: hidden;
  border-bottom: var(--border);
  background: var(--blue);
  color: var(--on-solid);
}

.innovate-hero::before {
  position: absolute;
  inset: var(--space-0);
  background-image: linear-gradient(90deg, transparent 48%, var(--veil) 48%, var(--veil) 52%, transparent 52%), linear-gradient(transparent 48%, var(--veil) 48%, var(--veil) 52%, transparent 52%);
  background-size: var(--dot-cell) var(--dot-cell);
  content: "";
  animation: ish-dot-drift var(--duration-hero) var(--ease-linear) infinite;
}

.innovate-hero::after {
  position: absolute;
  top: -20%;
  right: 8%;
  width: 18%;
  height: 140%;
  background: var(--crimson);
  content: "";
  transform: rotate(var(--poster-angle));
}

.innovate-hero__inner {
  position: relative;
  z-index: var(--layer-content);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.5fr);
  gap: var(--space-7);
  align-items: end;
  min-height: 28rem;
  padding-block: var(--space-9);
}

.innovate-hero__copy {
  display: grid;
  gap: var(--space-4);
}

.innovate-hero__title {
  max-width: 13ch;
  font-size: var(--text-hero);
  text-wrap: balance;
}

.innovate-hero__aside {
  padding: var(--space-5);
  border: var(--border);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.innovate-grid,
.course-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  padding-top: var(--space-7);
}

.innovate-card,
.course-card {
  position: relative;
  display: grid;
  grid-column: span 6;
  align-content: space-between;
  gap: var(--space-5);
  min-height: 18rem;
  padding: var(--space-6);
  border: var(--border);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.innovate-card:first-child {
  grid-column: span 7;
}

.innovate-card:nth-child(2) {
  grid-column: span 5;
}

.innovate-card::before,
.course-card::before {
  position: absolute;
  top: var(--space-0);
  right: var(--space-0);
  left: var(--space-0);
  height: var(--space-3);
  background: var(--card-accent, var(--crimson));
  content: "";
}

.innovate-card:nth-child(2),
.course-card--connected {
  --card-accent: var(--cat-connected);
}

.innovate-card:nth-child(3),
.course-card--curious {
  --card-accent: var(--cat-curious);
}

.course-card--compassionate {
  --card-accent: var(--cat-compassionate);
}

.innovate-card p,
.course-card p {
  margin: var(--space-0);
}

.course-card {
  grid-column: span 4;
  min-height: 15rem;
}

.moodle-preview .navbar,
.moodle-preview .secondary-navigation,
.moodle-preview #page-footer {
  display: none;
}

:root[data-contrast="high"] .ish-page-hero::before,
:root[data-contrast="high"] .ish-archive-hero::before,
:root[data-contrast="high"] .ish-article-hero::before,
:root[data-contrast="high"] .innovate-hero::before {
  display: none;
}

:root[data-contrast="high"] .innovate-hero {
  background: var(--ink);
}

@media (max-width: 62rem) {
  .ish-page-hero__inner,
  .ish-archive-hero__inner,
  .ish-article-hero__inner,
  .innovate-hero__inner {
    grid-template-columns: 1fr;
  }

  .ish-entry-card,
  .ish-entry-card:first-child,
  .innovate-card,
  .innovate-card:first-child,
  .innovate-card:nth-child(2),
  .course-card {
    grid-column: span 6;
  }

  .ish-site-map {
    grid-template-columns: 1fr;
  }

  .innovate-hero__inner {
    min-height: 24rem;
  }
}

@media (max-width: 40rem) {
  .ish-page-hero__inner,
  .ish-archive-hero__inner,
  .ish-article-hero__inner,
  .innovate-hero__inner {
    padding-block: var(--space-7);
  }

  .ish-entry-grid,
  .innovate-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .ish-entry-card,
  .ish-entry-card:first-child,
  .innovate-card,
  .innovate-card:first-child,
  .innovate-card:nth-child(2),
  .course-card {
    grid-column: auto;
    min-height: 0;
  }

  .ish-date-block {
    min-width: 6.5rem;
  }

  .ish-post-navigation,
  .ish-footer__inner {
    grid-template-columns: 1fr;
  }

  .ish-footer-nav,
  .ish-footer-menu {
    grid-template-columns: 1fr;
  }

  .ish-content {
    padding-block: var(--space-7);
  }

  .ish-content > .alignfull {
    width: auto;
    margin-left: var(--space-0);
  }

  .innovate-hero::after {
    right: -8%;
    width: 28%;
  }

  .innovate-hero__title {
    font-size: var(--text-h1);
  }
}
