:root {
  --ink: #171717;
  --paper: #f4f0e9;
  --paper-light: #fbf9f5;
  --red: #b10202;
  --red-dark: #870000;
  --muted: #69645e;
  --rule: #cfc8bd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

main {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.wordmark span {
  color: var(--red);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:not(.nav-cta):hover,
nav a:not(.nav-cta):focus-visible {
  color: var(--red);
}

.nav-cta {
  padding: 12px 16px;
  background: var(--ink);
  color: white;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--red);
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
  align-items: center;
  gap: 64px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 56px;
  left: -110px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(177, 2, 2, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(4.25rem, 9.8vw, 8.75rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hero-intro {
  max-width: 670px;
  margin-bottom: 40px;
  color: #3c3935;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--ink);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink);
  color: white;
}

.hero-mark {
  position: relative;
  min-height: 340px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--red);
  color: white;
}

.hero-mark::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 27px;
  width: 46px;
  height: 46px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-mark-small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-mark-large {
  align-self: flex-end;
  font-size: 11rem;
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.72;
}

.hero-mark-caption {
  max-width: 100px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.courses-section {
  padding: 104px max(24px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: white;
}

.section-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
}

.section-heading h2,
.about-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-heading > p {
  max-width: 510px;
  margin: 0;
  color: #bdb9b3;
  font-size: 1rem;
  line-height: 1.65;
}

.course-grid {
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #454545;
  border-left: 1px solid #454545;
}

.course-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 22px;
  border-right: 1px solid #454545;
  border-bottom: 1px solid #454545;
  transition: background 180ms ease;
}

.course-card:hover {
  background: #202020;
}

.course-number {
  color: #777;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.course-card-body {
  align-self: end;
}

.course-format {
  margin-bottom: 9px;
  color: #d7a3a3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-card h3 {
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 4.5vw, 4.25rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.course-card-body > p:last-child {
  max-width: 390px;
  margin-bottom: 0;
  color: #aaa6a0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.course-corner {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 9px;
  height: 9px;
  background: var(--red);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  color: #dc3f3f;
}

.about-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 124px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 90px;
}

.about-copy {
  padding-top: 8px;
}

.about-copy p {
  margin-bottom: 32px;
  color: #46413c;
  font-size: 1.16rem;
  line-height: 1.7;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.availability-note {
  margin-top: 36px;
  padding: 24px 26px;
  border-left: 4px solid var(--red);
  background: var(--paper-light);
}

.availability-note p {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 98px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer a {
  text-decoration: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

footer a:hover,
footer a:focus-visible {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid #de4646;
  outline-offset: 4px;
}

@media (max-width: 850px) {
  .site-header {
    min-height: 78px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 80px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-mark {
    min-height: 210px;
  }

  .hero-mark-large {
    font-size: 8rem;
  }

  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .course-card {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .about-section,
  footer {
    width: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: clamp(3.75rem, 21vw, 6rem);
  }

  .hero-intro {
    font-size: 1.1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 240px;
    padding: 24px;
  }

  .courses-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about-section {
    padding: 82px 0 90px;
  }

  footer {
    min-height: 120px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

.lab-strip {
  width: min(1180px, calc(100% - 48px));
  margin: -14px auto 0;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  border: 1px solid var(--rule);
  border-left: 7px solid var(--red);
  background: var(--paper-light);
}

.lab-strip .eyebrow {
  margin-bottom: 8px;
}

.lab-strip h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.lab-strip p:last-child {
  max-width: 760px;
  margin: 0;
  color: #554f49;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .lab-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .lab-strip {
    width: min(100% - 32px, 1180px);
    padding: 28px 24px;
  }
}

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

  .button,
  .course-card {
    transition: none;
  }
}

/* Student essentials and expanded teaching hub */
.essentials {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 92px;
  display: grid;
  grid-template-columns: 0.85fr 3.15fr;
  border: 1px solid var(--rule);
  background: var(--paper-light);
}

.essentials-intro {
  padding: 28px;
  border-right: 1px solid var(--rule);
}

.essentials-intro .eyebrow {
  margin-bottom: 8px;
}

.essentials-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.essentials-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.essentials-links a {
  min-height: 118px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--rule);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.essentials-links a:last-child {
  border-right: 0;
}

.essentials-links a:hover,
.essentials-links a:focus-visible {
  background: var(--red);
  color: white;
}

.essentials-links span {
  font-size: 1rem;
  font-weight: 800;
}

.essentials-links small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.essentials-links a:hover small,
.essentials-links a:focus-visible small {
  color: white;
}

.course-card h3 a {
  text-decoration: none;
}

.course-card h3 a:hover,
.course-card h3 a:focus-visible {
  color: #ef5c5c;
}

.course-title {
  margin-bottom: 12px;
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.course-card-body > p:not(.course-format):not(.course-title) {
  max-width: 430px;
  margin-bottom: 24px;
  color: #aaa6a0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.course-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-card-actions a {
  padding: 10px 12px;
  border: 1px solid #5b5b5b;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.course-card-actions a:first-child {
  background: var(--red);
  border-color: var(--red);
}

.course-card-actions a:hover,
.course-card-actions a:focus-visible {
  background: white;
  border-color: white;
  color: var(--ink);
}

.teaching-section,
.faq-section,
.contact-section,
.course-overview,
.course-start,
.course-support {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.teaching-section {
  padding: 112px 0 118px;
}

.light-heading > p {
  color: #514c46;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.principle-card {
  min-height: 320px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.principle-card > span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.principle-card h3 {
  margin: auto 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.principle-card p {
  margin-bottom: 0;
  color: #554f49;
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-section {
  padding: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 72px;
  background: var(--red);
  color: white;
}

.contact-section .eyebrow {
  color: #ffd2d2;
}

.contact-section h2,
.faq-heading h2,
.course-overview h2,
.course-start h2,
.course-support h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.contact-copy {
  align-self: end;
}

.contact-copy p {
  margin-bottom: 28px;
  color: #ffe9e9;
  font-size: 1.04rem;
  line-height: 1.7;
}

.contact-section .button-primary {
  background: white;
  border-color: white;
  color: var(--red-dark);
}

.contact-section .button-primary:hover,
.contact-section .button-primary:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.faq-section {
  padding: 118px 0 124px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 90px;
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--red);
  font-size: 1.35rem;
  transition: transform 160ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 44px 26px 0;
  margin: 0;
  color: #554f49;
  line-height: 1.7;
}

/* Individual course pages */
.course-page {
  background: var(--paper);
}

.course-page-hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 670px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 80px;
}

.back-link {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 52px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--red);
}

.course-page-hero h1 {
  margin-bottom: 10px;
}

.course-page-title {
  margin-bottom: 22px;
  color: var(--red);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.course-page-lead {
  max-width: 720px;
  margin-bottom: 36px;
  color: #47413b;
  font-size: 1.14rem;
  line-height: 1.68;
}

.course-code-mark {
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: white;
}

.course-code-mark span {
  color: #a3a3a3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.course-code-mark strong {
  align-self: flex-end;
  color: #f14d4d;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  letter-spacing: -0.08em;
  line-height: 0.78;
  text-align: right;
  white-space: pre-line;
}

.course-overview {
  padding: 112px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 90px;
  border-top: 1px solid var(--rule);
}

.course-overview-copy {
  max-width: 670px;
  margin: 32px 0 0;
  color: #4b4640;
  font-size: 1.08rem;
  line-height: 1.75;
}

.focus-list {
  align-self: end;
  border-top: 1px solid var(--rule);
}

.focus-list > div {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--rule);
}

.focus-list span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.focus-list p {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

.course-start {
  padding: 108px 70px;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 90px;
  background: var(--ink);
  color: white;
}

.course-start ol {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid #494949;
}

.course-start li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  border-bottom: 1px solid #494949;
}

.course-start li > span {
  color: #e15a5a;
  font-size: 0.7rem;
  font-weight: 800;
}

.course-start strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.course-start li p {
  margin: 0;
  color: #b8b4ae;
  font-size: 0.9rem;
  line-height: 1.55;
}

.course-support {
  padding: 112px 0 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 90px;
}

.course-support > div:last-child {
  align-self: end;
}

.course-support > div:last-child > p {
  margin-bottom: 30px;
  color: #4b4640;
  font-size: 1.04rem;
  line-height: 1.72;
}

@media (max-width: 1000px) {
  .essentials {
    grid-template-columns: 1fr;
  }

  .essentials-intro {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .essentials-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .essentials-links a:nth-child(2) {
    border-right: 0;
  }

  .essentials-links a:nth-child(5) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .essentials-links a:nth-child(-n + 4) {
    border-bottom: 1px solid var(--rule);
  }

  .contact-section,
  .faq-section,
  .course-page-hero,
  .course-overview,
  .course-start,
  .course-support {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .course-page-hero {
    padding: 72px 0 88px;
  }

  .course-code-mark {
    min-height: 240px;
  }
}

@media (max-width: 850px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 230px;
  }

  .contact-section,
  .course-start {
    padding: 64px 36px;
  }
}

@media (max-width: 620px) {
  .essentials,
  .teaching-section,
  .faq-section,
  .contact-section,
  .course-page-hero,
  .course-overview,
  .course-start,
  .course-support {
    width: min(100% - 32px, 1180px);
  }

  .essentials {
    margin-bottom: 70px;
  }

  .essentials-links {
    grid-template-columns: 1fr;
  }

  .essentials-links a {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .essentials-links a:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }

  .essentials-links a:last-child {
    border-bottom: 0;
  }

  .teaching-section,
  .faq-section,
  .course-overview,
  .course-support {
    padding: 82px 0;
  }

  .contact-section,
  .course-start {
    padding: 58px 24px;
  }

  .faq-section {
    gap: 34px;
  }

  .course-page-hero h1 {
    font-size: clamp(3.8rem, 21vw, 6.2rem);
  }

  .course-code-mark {
    min-height: 210px;
  }

  .course-card {
    min-height: 330px;
  }
}

/* --- added 2026-09-17: video embeds, work-with-me grid, resources page --- */
.video-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 24px;
  border-top: 1px solid var(--rule);
}

.video-section .section-heading {
  margin-bottom: 28px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--rule);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.video-section .text-link {
  display: inline-block;
  margin-top: 20px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin-top: 28px;
}

.work-grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 160ms ease, color 160ms ease;
}

.work-grid a:hover,
.work-grid a:focus-visible {
  background: var(--red);
  color: white;
}

.work-grid a:hover small,
.work-grid a:focus-visible small {
  color: rgba(255, 255, 255, 0.82);
}

.work-grid strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.work-grid small {
  color: var(--muted);
  line-height: 1.5;
}

.fill-in {
  border-left: 5px solid var(--red);
  background: var(--paper-light);
  padding: 14px 18px;
  margin: 12px 0 0;
  color: #554f49;
}

.fill-in strong {
  color: var(--red-dark);
}

@media (max-width: 700px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.course-page-hero h1 .course-page-title {
  display: block;
  margin-top: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.video-section .section-heading > p,
.section-heading > p.section-note {
  color: var(--muted);
}

/* --- accessibility: contrast on dark sections (Lighthouse 2026-09-18) --- */
.courses-section .eyebrow,
.course-start .eyebrow {
  color: #ff6b6b;
}

.course-number {
  color: #9a9a9a;
}

/* --- mobile navigation (CSS-only checkbox toggle), added 2026-09-18 --- */
.nav-links {
  display: contents;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-menu-button {
  display: none;
}

.section-switch {
  margin: -6px 0 22px;
  font-size: 0.95rem;
  color: var(--muted);
}

.section-switch a {
  font-weight: 700;
}

@media (max-width: 850px) {
  .site-header {
    position: relative;
  }

  nav {
    gap: 12px;
  }

  .nav-menu-button {
    display: inline-flex;
    align-items: center;
    padding: 11px 14px;
    border: 1px solid var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
  }

  .nav-toggle:focus-visible + .nav-menu-button {
    outline: 3px solid var(--red);
    outline-offset: 2px;
  }

  .nav-toggle:checked + .nav-menu-button {
    background: var(--ink);
    color: white;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    flex-direction: column;
    background: var(--paper-light);
    border: 1px solid var(--rule);
    border-top: 0;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 16px 20px;
    border-bottom: 1px solid var(--rule);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }
}

/* --- research page (2026-09-18) --- */
.light-note {
  margin: 12px 0 0;
  color: #b8b2aa;
  font-size: 0.95rem;
}

.light-note a {
  color: white;
}

#publications strong a {
  color: inherit;
}

.course-card h3 .course-title {
  display: block;
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hero-photo {
  width: 100%;
  margin: 0;
  align-self: center;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}

.hero-photo figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- pull quotes (2026-09-18) --- */
.pull-quote {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}

.pull-quote blockquote {
  margin: 0;
  max-width: 900px;
  border-left: 7px solid var(--red);
  padding-left: 28px;
}

.pull-quote p {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.pull-quote footer {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.pull-quote cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

.courses-section + .pull-quote {
  border-top: 0;
}
