:root {
  --ink: var(--fz-ink);
  --ink-deep: var(--fz-ink-deep);
  --ink-2: var(--fz-ink-secondary);
  --paper: var(--fz-paper);
  --paper-soft: var(--fz-paper-soft);
  --powder: var(--fz-powder);
  --blue: var(--fz-blue);
  --blue-hi: var(--fz-blue-high);
  --line: var(--fz-line);
  --body: var(--fz-font-body);
  --display: var(--fz-font-editorial);
  --mono: var(--fz-font-mono);
  --shell: min(1220px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
button, a { font-family: inherit; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; transform: translateY(-150%); background: white; padding: 10px 16px; border: 2px solid var(--blue); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
h1 em, h2 em { color: var(--blue); font-style: italic; font-weight: 400; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 20; color: white; background: var(--ink-deep); border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.wordmark { display: inline-flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.wordmark small { color: var(--blue-hi); font-size: .72em; }
.wordmark-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font: 23px/1 var(--display); }
.main-nav { display: flex; justify-content: center; gap: clamp(16px, 2.1vw, 32px); }
.main-nav a, .footer-links a { color: rgba(255,255,255,.74); text-decoration: none; font-size: 14px; }
.main-nav a:hover, .main-nav a.active, .footer-links a:hover { color: white; }
.main-nav a.active { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; gap: 18px; align-items: center; }
.language { display: flex; gap: 7px; align-items: center; font: 11px var(--mono); }
.language button { padding: 5px 0; border: 0; color: rgba(255,255,255,.48); background: transparent; cursor: pointer; font: inherit; }
.language button.active { color: white; font-weight: 700; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 21px; border: 1px solid transparent; text-decoration: none; font-size: 14px; font-weight: 600; transition: background-color .16s ease, color .16s ease; }
.button-small { min-height: 40px; padding: 9px 15px; font-size: 13px; }
.button-light { color: var(--ink-deep); background: var(--powder); }
.button-light:hover { background: white; }

.hero { padding: clamp(74px, 10vw, 140px) 0 clamp(80px, 11vw, 154px); background: var(--ink-deep); color: white; }
.hero-grid { display: grid; grid-template-columns: 1.23fr .77fr; gap: clamp(48px, 9vw, 130px); align-items: end; }
.hero-copy h1 { max-width: 10ch; margin-bottom: 27px; font-size: clamp(58px, 7vw, 94px); }
.hero-copy h1 em { color: #78aaf5; }
.lede { max-width: 57ch; color: #d4dbe8; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.hero-note { max-width: 58ch; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); color: #9da7bd; font-size: 14px; }
.hero-index { padding: 23px; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.06); }
.index-label { margin-bottom: 13px; color: #78aaf5; font: 700 10px/1.4 var(--mono); letter-spacing: .12em; }
.index-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: baseline; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.22); }
.index-row span { color: #78aaf5; font: 700 11px var(--mono); }
.index-row strong { font: 500 23px/1.1 var(--display); letter-spacing: -.025em; }
.index-row small { color: #c9d0e0; font-size: 11px; }
.index-row.muted { color: #9da7bd; }
.index-foot { margin: 17px 0 0; color: #9da7bd; font-size: 12px; line-height: 1.5; }

.collection { padding: clamp(78px, 10vw, 142px) 0; }
.section-heading { max-width: 820px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(48px, 5.6vw, 76px); }
.course-card { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(260px, .42fr); border: 1px solid var(--ink); background: white; }
.course-number { padding: 26px; border-right: 1px solid var(--ink); color: var(--blue); font: 700 12px var(--mono); }
.course-main { padding: clamp(28px, 4vw, 54px); }
.course-kicker { margin-bottom: 22px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.course-main h3 { margin-bottom: 20px; font-size: clamp(44px, 5vw, 68px); }
.course-summary { max-width: 63ch; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.course-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 32px 0 0; padding: 17px 0 0; border-top: 1px solid var(--line); list-style: none; }
.course-topics li { position: relative; padding: 7px 0 7px 17px; color: var(--ink-2); font-size: 13px; }
.course-topics li::before { position: absolute; left: 0; color: var(--blue); content: "↳"; }
.course-side { display: flex; flex-direction: column; justify-content: space-between; padding: 27px; color: white; background: var(--ink-deep); }
.course-side dl { margin: 0; }
.course-side dl > div { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.22); }
.course-side dl > div:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.course-side dt { margin-bottom: 5px; color: #78aaf5; font: 700 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.course-side dd { margin: 0; color: #d4dbe8; font-size: 13px; line-height: 1.4; }
.course-link { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 38px; padding: 15px 0 0; border-top: 1px solid rgba(255,255,255,.5); color: white; text-decoration: none; font-size: 15px; font-weight: 700; }
.course-link b { color: #78aaf5; font-size: 25px; font-weight: 400; transition: transform .16s ease; }
.course-link:hover b { transform: translate(3px, -3px); }

.course-card + .course-card { margin-top: 42px; }

/* The No Bullshit course gets its own shop window. The neighbouring card can
   keep its blazer; this one arrived with a field notebook and bolt cutters. */
.no-bs-card {
  position: relative;
  border: 3px solid #11100e;
  background: #fffaf0;
  box-shadow: 10px 10px 0 #ff5938, 18px 18px 0 #4168ff;
}
.no-bs-sticker {
  position: absolute;
  top: -17px;
  right: 28px;
  z-index: 1;
  padding: 8px 12px;
  border: 2px solid #11100e;
  background: #ffe65a;
  color: #11100e;
  font: 700 10px var(--mono);
  letter-spacing: .1em;
  transform: rotate(2deg);
}
.no-bs-card .course-number {
  border-right: 3px solid #11100e;
  background: #ffe65a;
  color: #cb2e25;
}
.no-bs-card .course-kicker { color: #cb2e25; font-family: var(--mono); }
.no-bs-card .course-main h3 {
  max-width: 13ch;
  color: #11100e;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.no-bs-card .course-summary { color: #302d28; }
.no-bs-card .course-topics { border-top: 3px solid #11100e; }
.no-bs-card .course-topics li { color: #302d28; }
.no-bs-card .course-topics li::before { color: #cb2e25; content: "✦"; }
.no-bs-card .course-side {
  border-left: 3px solid #11100e;
  background:
    radial-gradient(circle, rgba(255,255,255,.12) 0 1px, transparent 1.4px),
    #11100e;
  background-size: 16px 16px;
}
.no-bs-card .course-side dt { color: #ffe65a; }
.no-bs-card .course-side dd { color: rgba(255,255,255,.84); }
.no-bs-card .course-link {
  padding: 14px;
  border: 2px solid #ffe65a;
  background: #ffe65a;
  color: #11100e;
}
.no-bs-card .course-link b { color: #cb2e25; }
.no-bs-card .course-link:hover { background: #ff5938; }

.delivery { padding: 0 0 90px; }
.delivery-panel { padding: clamp(42px, 6vw, 80px); color: white; background: var(--ink-deep); }
.delivery-panel .eyebrow { color: #78aaf5; }
.delivery-panel h2 { max-width: 15ch; margin-bottom: 25px; font-size: clamp(43px, 5vw, 67px); }
.delivery-panel h2 em { color: #78aaf5; }
.delivery-panel > p:not(.eyebrow) { max-width: 67ch; color: #c9d0e0; font-size: 17px; line-height: 1.65; }
.delivery-panel .button { margin-top: 15px; }

.site-footer { padding: 55px 0 38px; color: white; background: var(--ink-deep); border-top: 1px solid rgba(255,255,255,.15); }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; }
.footer-wordmark { margin-bottom: 15px; }
.footer-inner > div:first-child p { color: #9da7bd; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 25px; align-content: start; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); color: #7e89a8; font: 10px var(--mono); letter-spacing: .08em; }

@media (max-width: 1050px) {
  .main-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-index { max-width: 620px; }
  .course-card { grid-template-columns: 72px 1fr; }
  .course-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
  .no-bs-card .course-side { border-top: 3px solid #11100e; border-left: 0; }
  .course-side dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .course-side dl > div, .course-side dl > div:last-child { padding: 0; border: 0; }
  .course-link { min-width: 175px; margin-top: 0; }
}
@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1220px); }
  .site-header { position: relative; }
  .header-inner { min-height: 66px; gap: 12px; }
  .wordmark { font-size: 13px; }
  .wordmark-mark { width: 30px; height: 30px; font-size: 20px; }
  .header-actions .button { display: none; }
  .hero { padding: 55px 0 74px; }
  .hero-copy h1 { font-size: clamp(54px, 16vw, 68px); }
  .course-card { display: block; }
  .course-number { padding: 18px 24px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .no-bs-card { box-shadow: 7px 7px 0 #ff5938, 12px 12px 0 #4168ff; }
  .no-bs-sticker { right: 14px; }
  .no-bs-card .course-number { border-right: 0; border-bottom: 3px solid #11100e; }
  .course-main { padding: 32px 24px; }
  .course-topics { grid-template-columns: 1fr; }
  .course-side { display: block; padding: 26px 24px; }
  .course-side dl { display: block; }
  .course-side dl > div, .course-side dl > div:last-child { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.22); }
  .course-side dl > div:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
  .course-link { min-width: 0; margin-top: 28px; }
  .delivery { padding-bottom: 34px; }
  .delivery-panel { padding: 37px 25px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { flex-direction: column; gap: 8px; }
}
