:root {
  --navy-950: #032746;
  --navy-900: #063665;
  --navy-800: #0b4d83;
  --blue-600: #1670ad;
  --gold-500: #c99a20;
  --gold-200: #f1dfaa;
  --ink-900: #172333;
  --ink-700: #425165;
  --paper: #f7f9fb;
  --white: #ffffff;
  --line: #d9e1e8;
  --shadow: 0 24px 64px rgba(3, 39, 70, 0.08);
  --shell: min(1080px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--navy-800);
  text-decoration-color: rgba(11, 77, 131, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--blue-600);
  text-decoration-color: currentColor;
}

a:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--white);
  color: var(--navy-950);
  font-weight: 700;
  transform: translateY(-160%);
}

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

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.course-header {
  position: relative;
  overflow: hidden;
  padding: 34px 0 44px;
  background:
    radial-gradient(circle at 88% 16%, rgba(201, 154, 32, 0.24) 0 3px, transparent 4px),
    linear-gradient(122deg, var(--navy-950), var(--navy-900) 58%, #0b4775);
  color: var(--white);
}

.course-header::before,
.course-header::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.course-header::before {
  width: 430px;
  height: 430px;
  top: -260px;
  right: -80px;
}

.course-header::after {
  width: 280px;
  height: 280px;
  right: 130px;
  bottom: -230px;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-code {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.1vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

main {
  padding-top: 72px;
  padding-bottom: 96px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: start;
}

.section-label {
  margin-bottom: 8px;
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 28px;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.course-overview > p:last-child {
  max-width: 67ch;
  margin-bottom: 0;
  color: #2d3b4d;
  font-size: 1rem;
}

.instructors {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.instructor-list {
  font-style: normal;
}

.instructor {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

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

.instructor-name {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 3px;
  color: var(--ink-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.3;
}

.session-code {
  padding: 3px 8px;
  border: 1px solid var(--gold-200);
  border-radius: 999px;
  background: rgba(241, 223, 170, 0.28);
  color: #765a13;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.instructor a {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.materials {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.materials-heading {
  display: flex;
  gap: 36px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.materials-heading h2 {
  margin-bottom: 0;
}

.materials-note {
  max-width: 360px;
  margin-bottom: 3px;
  color: var(--ink-700);
  font-size: 0.9rem;
  text-align: right;
}

.material-list {
  border-top: 1px solid var(--navy-950);
}

.material-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 96px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.material-number {
  color: var(--gold-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.material-type {
  margin-bottom: 1px;
  color: var(--blue-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.material-copy h3 {
  margin: 0;
  color: var(--ink-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.material-title-link {
  color: inherit;
  text-decoration-color: rgba(11, 77, 131, 0.35);
}

.material-title-link:hover {
  color: var(--blue-600);
}

.material-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.material-resources a {
  color: var(--ink-700);
  font-size: 0.8rem;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-700);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.site-footer .page-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 660px);
  }

  body {
    font-size: 16px;
  }

  .course-header {
    padding: 26px 0 34px;
  }

  .course-meta {
    margin-bottom: 26px;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  main {
    padding-top: 58px;
    padding-bottom: 68px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .instructors {
    padding-left: 0;
    border-left: 0;
  }

  .materials {
    margin-top: 60px;
    padding-top: 42px;
  }

  .materials-heading {
    display: block;
  }

  .materials-note {
    margin-top: 16px;
    text-align: left;
  }

  .material-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .site-footer .page-shell {
    display: grid;
    gap: 2px;
  }
}

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