:root {
  color-scheme: light;
  --white: #ffffff;
  --soft-white: #f8fafc;
  --ink: #172033;
  --muted: #617086;
  --line: #dbe4ee;
  --blue: #355d8f;
  --blue-dark: #213f68;
  --blue-pale: #eef5fc;
}

* {
  box-sizing: border-box;
}

main,
.hero > *,
.page,
.text-section,
.section-link,
.content-panel {
  min-width: 0;
}

p,
h1,
h2,
h3,
a,
li {
  overflow-wrap: break-word;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue-dark);
}

main {
  min-height: calc(100vh - 64px);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
}

.intro {
  margin: 28px 0 0;
  max-width: 690px;
  font-size: 19px;
  color: #273247;
}

.availability {
  margin: 18px 0 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.button.secondary {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--line);
}

.button:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.download-button {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(33, 63, 104, 0.18);
}

.download-button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}


.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--blue-pale);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.photo-frame {
  padding: 0;
}

.photo-frame picture,
.photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.photo-frame img {
  object-fit: cover;
}

.photo-frame::before,
.photo-frame::after {
  display: none;
}

.portrait::before {
  content: "";
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(33, 63, 104, 0.18);
  position: absolute;
  top: 18%;
}

.portrait::after {
  content: "";
  width: 68%;
  height: 34%;
  border: 2px solid rgba(33, 63, 104, 0.18);
  border-bottom: 0;
  border-radius: 140px 140px 0 0;
  position: absolute;
  bottom: 16%;
}

.portrait span {
  max-width: 210px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 1;
  background: rgba(255, 255, 255, 0.78);
  padding: 8px 10px;
}

.flow-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft-white);
}

.flow {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow-x: auto;
}

.flow span {
  flex: 0 0 auto;
}

.flow .arrow {
  color: var(--blue);
}

.sections {
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 24px 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.section-link {
  min-height: 190px;
  padding: 24px;
  background: var(--white);
  border-top: 5px solid var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.section-link:hover {
  background: var(--blue-pale);
}

.section-link p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 24px 84px;
}

.page-header {
  padding-left: 18px;
  padding-bottom: 32px;
  border-left: 4px solid var(--blue);
  border-bottom: 1px solid var(--line);
}

.page-header p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #273247;
  font-size: 19px;
}

.content-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.content-panel {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
}

.content-panel.full {
  grid-column: 1 / -1;
}

.content-panel h2 {
  font-size: 26px;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
  font-size: 15px;
}

.content-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.page-body {
  margin-top: 34px;
  display: grid;
  gap: 28px;
}

.text-section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.text-section:last-child {
  border-bottom: 0;
}

.text-section h2 {
  color: var(--blue-dark);
  font-size: 30px;
}

.text-section h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.text-section p {
  max-width: 820px;
  color: #273247;
}

.text-section ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.text-section li {
  margin: 6px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.detail-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--soft-white);
}

.detail-card h3 {
  margin-top: 0;
}

.contact-line {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-headshot {
  max-width: 360px;
  margin: 0 0 24px 28px;
  float: right;
}

.contact-headshot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border: 1px solid var(--line);
  object-fit: contain;
  background: var(--soft-white);
}

.contact-headshot picture {
  display: block;
}

.media-figure {
  margin: 22px 0 0;
}

.media-figure img,
.media-figure picture {
  width: 100%;
  display: block;
}

.media-figure img {
  border: 1px solid var(--line);
  object-fit: contain;
  background: var(--soft-white);
}

.media-figure figcaption,
.gallery-card figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.gallery-card {
  margin: 0;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--soft-white);
}

.gallery-card picture {
  display: block;
}

.image-placeholder-card {
  aspect-ratio: 4 / 3;
  min-height: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--blue-pale);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.text-project-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.text-project-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft-white);
  text-align: left;
}

.text-project-card h3 {
  margin-top: 0;
}

.thumbnail-placeholder {
  width: 96px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--blue-pale);
}

.project-lead img {
  aspect-ratio: 16 / 10;
}

.lesson-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.lesson-card h3 {
  margin-top: 16px;
}

.lesson-card .button {
  margin-top: 14px;
}

.lesson-card > img,
.lesson-card > picture img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--soft-white);
}

.lesson-card > picture {
  display: block;
}

.project-thumb {
  width: 96px;
  aspect-ratio: 1;
  display: block;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--soft-white);
}

.next-section {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--blue);
  background: linear-gradient(90deg, var(--blue-pale), var(--white));
}

.next-section h2 {
  font-size: 30px;
}

.next-section p:not(.eyebrow) {
  max-width: 680px;
  margin: 12px 0 22px;
  color: #273247;
  font-size: 17px;
}

.placeholder-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.image-placeholder {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--blue-pale);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 14px;
}


a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.role-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.role-entry {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.role-entry:first-child {
  border-top: 0;
  padding-top: 0;
}

.role-entry h3 {
  margin: 0 0 4px;
}

.role-entry p {
  margin: 0;
}

.link-card {
  display: block;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.link-card:hover {
  background: var(--blue-pale);
  border-color: var(--blue);
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
    gap: 34px;
  }

  .portrait {
    max-width: 420px;
  }

  .sections,
  .content-grid,
  .placeholder-row,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .content-panel.full {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .hero,
  .page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro,
  .page-header p {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .contact-headshot {
    float: none;
    max-width: 100%;
    margin: 24px 0 0;
  }

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

  .text-project-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .thumbnail-placeholder {
    width: 72px;
  }

  .project-thumb {
    width: 72px;
  }

  .flow,
  .sections {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.curriculum-page .curriculum-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 28px 96px;
}

.curriculum-page .curriculum-hero {
  max-width: 780px;
  margin-bottom: 62px;
}

.curriculum-page .curriculum-hero h1 {
  margin: 0 0 18px;
  max-width: none;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 0.98;
}

.curriculum-page .curriculum-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.curriculum-page .curriculum-section {
  margin-top: 70px;
}

.curriculum-page .curriculum-section-heading {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.curriculum-page .curriculum-section-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.curriculum-page .curriculum-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.curriculum-page .curriculum-lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.curriculum-page .curriculum-lesson-card {
  min-height: 520px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.curriculum-page .curriculum-lesson-card picture {
  display: block;
}

.curriculum-page .curriculum-lesson-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
  background: var(--soft-white);
}

.curriculum-page .curriculum-lesson-body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.curriculum-page .curriculum-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.curriculum-page .curriculum-lesson-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.curriculum-page .curriculum-lesson-card p:not(.curriculum-kicker) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.curriculum-page .curriculum-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.curriculum-page .curriculum-card-footer span {
  color: var(--muted);
  font-size: 13px;
}

.curriculum-page .curriculum-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.curriculum-page .curriculum-button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.curriculum-page .curriculum-project-list {
  border-top: 1px solid var(--line);
}

.curriculum-page .curriculum-project-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 24px;
}

.curriculum-page .curriculum-project-row picture {
  display: block;
}

.curriculum-page .curriculum-project-row img {
  width: 112px;
  height: 80px;
  display: block;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--soft-white);
}

.curriculum-page .curriculum-project-row h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.curriculum-page .curriculum-project-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.curriculum-page .curriculum-unit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.curriculum-page .curriculum-unit-grid article {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.curriculum-page .curriculum-unit-grid span {
  margin-bottom: 40px;
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.curriculum-page .curriculum-unit-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.curriculum-page .curriculum-unit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 800px) {
  .curriculum-page .curriculum-layout {
    padding-top: 52px;
  }

  .curriculum-page .curriculum-lesson-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-page .curriculum-project-row {
    grid-template-columns: 88px 1fr;
  }

  .curriculum-page .curriculum-project-row img {
    width: 88px;
    height: 70px;
  }

  .curriculum-page .curriculum-unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .curriculum-page .curriculum-layout {
    padding-left: 20px;
    padding-right: 20px;
  }

  .curriculum-page .curriculum-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .curriculum-page .curriculum-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .curriculum-page .curriculum-button {
    width: 100%;
  }

  .curriculum-page .curriculum-unit-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026 portfolio polish pass */
body {
  font-size: 18px;
}

.nav,
.hero,
.sections,
.page,
.flow,
.curriculum-page .curriculum-layout {
  max-width: 1050px;
}

.nav {
  min-height: 76px;
  gap: 34px;
}

.brand {
  font-size: 22px;
}

.brand span {
  display: block;
}

.nav-links {
  gap: 24px;
  font-size: 16px;
}

.hero {
  padding-top: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
}

.page {
  padding-top: 54px;
}

.page-header {
  padding-left: 18px;
  border-left: 4px solid var(--blue);
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.page-header p,
.intro,
.text-section p,
.text-section li,
.content-panel p,
.content-panel li {
  font-size: 17px;
}

.text-section {
  padding: 36px 0;
}

.text-section:first-child {
  padding-top: 12px;
}

.text-section h2 {
  font-size: 34px;
}

.button {
  min-height: 50px;
  padding: 13px 22px;
  font-size: 16px;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sections,
.content-grid {
  gap: 28px;
  background: transparent;
}

.section-link,
.content-panel,
.detail-card,
.lesson-card,
.text-project-card {
  border: 0;
  background: var(--soft-white);
}

.section-link {
  min-height: 0;
  padding: 0;
  border-top: 0;
}

.section-link img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.section-link div {
  padding: 24px;
}

.section-link p {
  font-size: 17px;
}

.home-overview {
  margin-top: 8px;
  margin-bottom: 72px;
  padding: 44px 20px;
  gap: 0;
  background: #dfe9f3;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-overview .section-link {
  min-height: 160px;
  padding: 0;
  background: var(--white);
  border-top: 4px solid var(--blue);
  border-right: 1px solid var(--line);
  border-bottom: 4px solid var(--blue);
}

.home-overview .section-link:nth-child(3n) {
  border-right: 0;
}

.home-overview .section-link:nth-child(n + 4) {
  border-top: 0;
}

.home-overview .section-link:hover,
.home-overview .section-link:focus-visible {
  background: var(--blue-pale);
}

.home-overview .section-link div {
  padding: 24px 28px;
}

.home-overview .section-link h2 {
  font-size: 28px;
}

.home-overview .section-link p {
  max-width: 260px;
  margin-top: 26px;
  color: var(--blue-dark);
  font-size: 15px;
  line-height: 1.45;
}

.next-section {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft-white);
  color: var(--ink);
  text-align: left;
}

.site-footer-inner {
  max-width: 1050px;
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.site-footer h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-button,
.contact-email {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
}


.contact-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(23, 32, 51, 0.48);
}

.contact-panel[hidden] {
  display: none;
}

.contact-panel-card {
  width: min(520px, 100%);
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(23, 32, 51, 0.24);
}

.contact-panel-card h2 {
  margin-bottom: 12px;
}

.contact-panel-card label {
  display: block;
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-panel-card textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  font: inherit;
  resize: vertical;
}

.contact-panel-close {
  float: right;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-panel-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-actions a:not(.button) {
  align-self: center;
  color: var(--blue-dark);
  font-weight: 700;
}

.lesson-library {
  margin-top: 42px !important;
}

.lesson-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.lesson-column h2 {
  margin-bottom: 18px;
}

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

.lesson-list li {
  border-top: 1px solid var(--line);
}

.lesson-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.lesson-list a {
  align-items: flex-start !important;
  flex-direction: column;
  gap: 8px !important;
  padding: 20px 0 !important;
  font-size: 20px;
}

.lesson-entry {
  padding: 18px 0;
}

.lesson-entry > a {
  padding: 0 !important;
}

.lesson-list a::after {
  content: none !important;
}

.lesson-meta {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
}

.simple-page-links {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 700;
}

.simple-page-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--soft-white);
  color: var(--muted);
}

.simple-page-links a:last-child {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue-dark);
}

.simple-page-links a:hover,
.simple-page-links a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.curriculum-details {
  margin-top: 54px;
  display: grid;
  gap: 34px;
}

.curriculum-details ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.image-grid {
  gap: 22px;
}

.gallery-card img {
  border: 0;
}

.media-figure img {
  border: 0;
}

.project-section {
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.project-section:last-child {
  border-bottom: 0;
}

.project-meta {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-footer-inner,
  .hero {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .nav-links {
    gap: 18px;
    font-size: 15px;
  }

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

  .home-overview {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .home-overview .section-link,
  .home-overview .section-link:nth-child(3n),
  .home-overview .section-link:nth-child(n + 4) {
    border-top: 4px solid var(--blue);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-overview .section-link:last-child {
    border-bottom: 4px solid var(--blue);
  }

  .lesson-columns {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
