@font-face {
  font-family: 'Asta Sans';
  src: url('fonts/AstaSans-subset.woff2') format('woff2');
  font-display: swap;
}

    :root {
      --paper: #F7F3EA;
      --ink: #102B33;
      --mist: #D8F0EB;
      --shallow: #2A91B2;
      --deep: #123B5B;
      --coral: #D9674B;
      --coral-text: #B74B36;
      --rule: rgba(16, 43, 51, 0.24);
      --quiet: rgba(16, 43, 51, 0.68);
      --shell: 1280px;
      --reader: 720px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
    }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: "Asta Sans", "Apple SD Gothic Neo", sans-serif;
      font-size: 17px;
      line-height: 1.72;
      word-break: keep-all;
    }

    body,
    button,
    input {
      font-family: "Asta Sans", "Apple SD Gothic Neo", sans-serif;
    }

    a {
      color: inherit;
      text-decoration-thickness: 1px;
      text-underline-offset: 0.22em;
    }

    img {
      max-width: 100%;
    }

    button,
    a,
    summary,
    input {
      -webkit-tap-highlight-color: transparent;
    }

    :focus-visible {
      outline: 3px solid var(--coral);
      outline-offset: 4px;
    }

    .skip-link {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 20;
      padding: 10px 14px;
      background: var(--ink);
      color: var(--paper);
      transform: translateY(-160%);
    }

    .skip-link:focus {
      transform: translateY(0);
    }

    .shell {
      width: min(100% - 48px, var(--shell));
      margin-inline: auto;
    }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 10;
      border-bottom: 1px solid transparent;
      background: transparent;
      color: var(--paper);
      transition: background-color 180ms ease, border-color 180ms ease;
    }

    .site-header.is-solid {
      border-bottom-color: rgba(247, 243, 234, 0.3);
      background: var(--deep);
    }

    .header-inner {
      min-height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand-lockup {
      display: flex;
      align-items: baseline;
      gap: 12px;
      text-decoration: none;
    }

    .brand-lockup strong {
      font-size: 16px;
      letter-spacing: -0.02em;
    }

    .brand-lockup span {
      color: rgba(247, 243, 234, 0.7);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.14em;
    }

    .site-nav {
      display: flex;
      align-items: center;
      gap: 24px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 650;
    }

    .site-header.is-solid .site-nav {
      color: var(--paper);
    }

    .site-nav a {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }

    .cover {
      position: relative;
      min-height: 100svh;
      overflow: hidden;
      border-bottom: 1px solid var(--ink);
      background: var(--deep);
    }

    .cover-copy {
      position: relative;
      z-index: 2;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      padding-block: 64px 76px;
      color: var(--paper);
      pointer-events: none;
    }

    .cover-copy a {
      pointer-events: auto;
    }

    .cover-copy > * {
      width: min(100%, 650px);
    }

    .cover .eyebrow {
      color: rgba(247, 243, 234, 0.78);
    }

    .eyebrow {
      margin: 0 0 18px;
      color: var(--deep);
      font-size: 12px;
      font-weight: 760;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .cover h1 {
      max-width: 760px;
      margin: 0;
      font-size: clamp(54px, 6vw, 88px);
      font-weight: 760;
      letter-spacing: -0.065em;
      line-height: 0.98;
      text-wrap: balance;
    }

    .descriptor {
      max-width: 620px;
      margin: 26px 0 0;
      color: var(--paper);
      font-size: 18px;
      font-weight: 650;
    }

    .audience {
      max-width: 620px;
      margin: 12px 0 0;
      color: rgba(247, 243, 234, 0.76);
      font-size: 15px;
      line-height: 1.6;
    }

    .cover-meta {
      display: flex;
      flex-wrap: wrap;
      margin: 32px 0 0;
      padding: 0;
      border-block: 1px solid rgba(247, 243, 234, 0.32);
    }

    .cover-meta div {
      min-width: 132px;
      padding: 13px 24px 13px 0;
    }

    .cover-meta div + div {
      padding-left: 24px;
      border-left: 1px solid rgba(247, 243, 234, 0.32);
    }

    .cover-meta dt,
    .cover-meta dd {
      display: inline;
      margin: 0;
      font-size: 14px;
    }

    .cover-meta dt {
      color: rgba(247, 243, 234, 0.7);
    }

    .cover-meta dd {
      margin-left: 7px;
      font-weight: 750;
    }

    .cover-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 22px;
      margin-top: 28px;
    }

    .primary-action,
    .next-action {
      min-height: 50px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 18px;
      border: 1px solid var(--ink);
      background: var(--ink);
      color: var(--paper);
      font-weight: 720;
      text-decoration: none;
    }

    .primary-action:hover,
    .next-action:hover {
      background: var(--deep);
    }

    .cover .primary-action {
      border-color: var(--paper);
      background: var(--paper);
      color: var(--ink);
    }

    .cover .primary-action:hover {
      background: var(--mist);
    }

    .text-action {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      color: inherit;
      font-weight: 700;
    }

    .cover-art {
      position: absolute;
      inset: 0;
      margin: 0;
    }

    .cover-art picture {
      width: 100%;
      height: 100%;
      display: block;
    }

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

    .hero-school {
      position: absolute;
      inset: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      display: block;
      pointer-events: none;
    }

    .hero-pause {
      position: absolute;
      right: 24px;
      bottom: 24px;
      z-index: 3;
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      padding: 0;
      border: 1px solid rgba(247, 243, 234, 0.72);
      border-radius: 0;
      background: var(--deep);
      color: var(--paper);
      cursor: pointer;
    }

    .hero-pause svg {
      width: 20px;
      height: 20px;
      display: block;
      fill: currentColor;
    }

    .course-frame {
      display: grid;
      grid-template-columns: 264px minmax(0, var(--reader));
      justify-content: center;
      align-items: start;
      gap: clamp(48px, 7vw, 96px);
      padding-block: 72px 120px;
    }

    .curriculum {
      position: sticky;
      top: 24px;
      align-self: start;
    }

    .curriculum-heading {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }

    .curriculum-heading h2 {
      margin: 0;
      font-size: 18px;
      letter-spacing: -0.03em;
    }

    .progress-label {
      color: var(--quiet);
      font-size: 12px;
      font-weight: 700;
    }

    .progress-track {
      height: 4px;
      margin-bottom: 20px;
      overflow: hidden;
      background: var(--mist);
    }

    .progress-fill {
      width: 0;
      height: 100%;
      background: var(--shallow);
      transition: width 180ms ease;
    }

    .progress-note {
      margin: -8px 0 16px;
      color: var(--quiet);
      font-size: 11px;
      line-height: 1.5;
    }

    .curriculum-list {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .curriculum-item {
      border-top: 1px solid var(--rule);
    }

    .curriculum-item:last-child {
      border-bottom: 1px solid var(--rule);
    }

    .curriculum-item a {
      min-height: 58px;
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      padding: 9px 0;
      text-decoration: none;
    }

    .curriculum-item a:hover .curriculum-title {
      color: var(--shallow);
    }

    .curriculum-number {
      color: var(--quiet);
      font-size: 12px;
      font-variant-numeric: tabular-nums;
    }

    .curriculum-title {
      font-size: 13px;
      font-weight: 680;
      letter-spacing: -0.02em;
      line-height: 1.35;
    }

    .curriculum-duration {
      color: var(--quiet);
      font-size: 11px;
      font-variant-numeric: tabular-nums;
    }

    .curriculum-state {
      grid-column: 2 / 4;
      min-height: 15px;
      color: var(--coral-text);
      font-size: 10px;
      font-weight: 760;
      letter-spacing: 0.08em;
    }

    .curriculum-item[data-state="current"] a {
      color: var(--deep);
    }

    .curriculum-item[data-state="complete"] .curriculum-number,
    .curriculum-item[data-state="complete"] .curriculum-title {
      color: var(--quiet);
    }

    .atlas-rail-link {
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 20px;
      border-bottom: 1px solid var(--ink);
      color: var(--deep);
      font-size: 13px;
      font-weight: 720;
      text-decoration: none;
    }

    .reader {
      min-width: 0;
    }

    .lesson {
      scroll-margin-top: 24px;
    }

    .lesson + .lesson {
      margin-top: 112px;
      padding-top: 80px;
      border-top: 1px solid var(--ink);
    }

    .lesson-index {
      margin: 0 0 14px;
      color: var(--deep);
      font-size: 13px;
      font-weight: 760;
      letter-spacing: 0.08em;
    }

    .lesson h2 {
      margin: 0;
      font-size: clamp(42px, 5vw, 64px);
      font-weight: 740;
      letter-spacing: -0.055em;
      line-height: 1.08;
      text-wrap: balance;
    }

    .decision {
      margin: 36px 0 44px;
      padding: 20px 0 22px;
      border-block: 1px solid var(--ink);
    }

    .decision-label {
      display: flex;
      align-items: center;
      gap: 9px;
      margin: 0 0 8px;
      color: var(--quiet);
      font-size: 12px;
      font-weight: 760;
      letter-spacing: 0.08em;
    }

    .decision-signal {
      width: 8px;
      height: 8px;
      flex: 0 0 auto;
      background: var(--coral);
      border-radius: 50%;
    }

    .decision-text {
      max-width: 24ch;
      margin: 0;
      font-size: 29px;
      font-weight: 650;
      letter-spacing: -0.035em;
      line-height: 1.45;
      text-wrap: pretty;
    }

    .explanation {
      max-width: 42ch;
      margin-bottom: 42px;
    }

    .explanation h3 {
      margin: 0 0 14px;
      font-size: 20px;
      letter-spacing: -0.025em;
    }

    .explanation p {
      margin: 0;
    }

    .explanation p + p {
      margin-top: 14px;
    }

    .evidence {
      margin: 0;
      border-top: 1px solid var(--ink);
    }

    .evidence-open {
      width: 100%;
      display: block;
      padding: 0;
      border: 0;
      background: var(--mist);
      cursor: pointer;
    }

    .evidence-open img {
      width: 100%;
      aspect-ratio: 3 / 2;
      display: block;
      object-fit: cover;
      background: var(--mist);
    }

    .evidence figcaption {
      display: grid;
      grid-template-columns: minmax(145px, 0.42fr) minmax(0, 1fr);
      gap: 20px 34px;
      padding: 20px 0 24px;
      border-bottom: 1px solid var(--ink);
    }

    .evidence figcaption strong {
      font-size: 17px;
      letter-spacing: -0.02em;
    }

    .evidence figcaption > span {
      color: var(--quiet);
      font-size: 12px;
      font-variant-numeric: tabular-nums;
      text-align: right;
    }

    .evidence figcaption p {
      grid-column: 2;
      margin: 0;
      font-size: 15px;
      line-height: 1.6;
    }


    @media (max-width: 920px) {
      .cover-copy {
        padding-right: 0;
      }

      .cover-copy > * {
        width: min(100%, 470px);
      }

      .course-frame {
        display: block;
        padding-top: 40px;
      }

      .curriculum {
        position: static;
        margin-bottom: 58px;
      }
    }

    @media (max-width: 760px) {
      html {
        scroll-padding-top: 72px;
      }

      body {
        font-size: 16px;
      }

      .shell {
        width: min(100% - 36px, var(--shell));
      }

      .header-inner {
        min-height: 56px;
      }

      .brand-lockup span {
        display: none;
      }

      .site-nav {
        gap: 18px;
        font-size: 13px;
      }

      .cover {
        display: grid;
        grid-template-areas: "art" "copy";
        min-height: 0;
      }

      .cover-copy {
        grid-area: copy;
        min-height: 0;
        padding-block: 28px 34px;
        background: var(--deep);
      }

      .eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
      }

      .cover h1 {
        font-size: clamp(42px, 12vw, 54px);
        line-height: 1.02;
      }

      .descriptor {
        margin-top: 19px;
        font-size: 15px;
      }


      .cover-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 22px;
      }

      .cover-meta div {
        min-width: 0;
        padding-block: 10px;
      }

      .cover-meta dt,
      .cover-meta dd {
        display: block;
      }

      .cover-meta dd {
        margin-left: 0;
      }

      .cover-actions {
        margin-top: 22px;
        gap: 16px;
      }

      .primary-action {
        min-height: 48px;
        flex: 1 1 170px;
      }

      .cover-art {
        position: relative;
        inset: auto;
        grid-area: art;
        height: clamp(250px, 34svh, 320px);
      }

      .cover-art img {
        object-position: 32% 42%;
      }

      .hero-pause {
        right: 12px;
        bottom: 12px;
      }

      .course-frame {
        display: block;
        padding-block: 24px 80px;
      }

      .curriculum {
        position: static;
        margin-bottom: 58px;
      }

      .lesson h2 {
        font-size: 40px;
        line-height: 1.12;
      }

      .decision {
        margin: 28px 0 34px;
        padding-block: 17px 19px;
      }

      .decision-text {
        max-width: 21ch;
        font-size: 24px;
      }

      .explanation {
        max-width: none;
        margin-bottom: 34px;
      }

      .evidence figcaption {
        display: block;
        padding-block: 16px 20px;
      }

      .evidence figcaption > span {
        display: block;
        margin-top: 4px;
        text-align: left;
      }

      .evidence figcaption p {
        grid-column: auto;
        margin-top: 12px;
      }

      .lesson + .lesson {
        margin-top: 80px;
        padding-top: 62px;
      }


    }

    @media (max-width: 390px) {
      .site-nav a:first-child {
        display: none;
      }

      .cover h1 {
        font-size: 44px;
      }

      .cover-art {
        height: 250px;
      }

      .lesson h2 {
        font-size: 37px;
      }

    }

    @media (max-width: 760px) and (max-height: 700px) {
      .cover-art {
        height: 150px;
      }

      .cover-copy {
        padding-block: 16px 18px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      .progress-fill {
        transition: none;
      }
    }

.atlas {
  padding-block: 72px 120px;
}
.atlas-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.atlas-header h2 {
  margin: 0;
  font-size: 32px;
}
.result-count {
  font-weight: 600;
  color: var(--quiet);
}
.filter-area {
  margin-bottom: 48px;
}
#filter-question {
  font-weight: 700;
  margin-bottom: 12px;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filters button {
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.filters button:hover {
  border-color: var(--ink);
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
@media (max-width: 768px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}
.case-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
}
.case-open {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
}
.case-open img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
.case-meta {
  font-size: 14px;
}
.case-meta h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
.case-label {
  color: var(--quiet);
  margin: 0 0 4px;
  font-weight: 600;
}
.exposure {
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}
.case-line {
  margin: 0;
  color: var(--quiet);
  line-height: 1.4;
}

.case-dialog {
  max-width: 1100px;
  width: 90vw;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 0;
  color: var(--ink);
}
.case-dialog::backdrop {
  background: rgba(16, 43, 51, 0.8);
}
.dialog-bar {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--ink);
  font-weight: 600;
}
.dialog-close {
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}
.dialog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 32px;
}
@media (max-width: 768px) {
  .dialog-layout {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}
.dialog-layout img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.dialog-copy h2 {
  margin: 0 0 8px;
  font-size: 24px;
}
.dialog-exposure {
  font-weight: 600;
  margin-bottom: 24px;
}
.dialog-copy h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--quiet);
  margin-bottom: 8px;
}
.dialog-teaching {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
}
.dialog-nav {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
.dialog-nav button {
  background: transparent;
  border: 1px solid var(--ink);
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
}
.dialog-nav button:hover {
  background: var(--ink);
  color: var(--paper);
}

.lesson-footer {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.lesson-complete-button {
  background: transparent;
  border: 1px solid var(--ink);
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 700;
}
.lesson-complete-button[data-checked="true"] {
  background: var(--ink);
  color: var(--paper);
}
.secondary-evidence {
  margin-top: 16px;
  border-top: 1px solid var(--rule);
}
.compact-case-btn {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(76px, 96px) 1fr;
  gap: 4px 16px;
  align-items: start;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  cursor: pointer;
}
.compact-case-btn span {
  grid-row: 1 / 3;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.compact-case-btn strong {
  color: var(--ink);
  font-size: 14px;
}
.compact-case-btn small {
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.45;
}
.compact-case-btn:hover {
  border-color: var(--ink);
}
.course-note {
  display: flex;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
.course-note strong {
  flex: 0 0 auto;
  color: var(--coral-text);
}

.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--quiet);
}

.site-footer p {
  margin: 0;
}

.footer-brand small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

@media (max-width: 760px) {
  .course-note {
    display: grid;
    gap: 4px;
  }

  .site-footer {
    display: grid;
  }
}
