@font-face {
  font-family: DM Sans;
  src: url(assets/dm-sans.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
.route-info,
.row-notice {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}
.route-info {
  margin-top: 3px;
}
.row-notice {
  margin-top: 2px;
}
.hex-label {
  font: 600 10px var(--body);
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.reveal {
  color: #e4f2dc;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #85a495;
  padding: 0 0 2px;
  font: inherit;
}
.reveal:hover {
  color: white;
  border-color: white;
}
.digit-result {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 44px;
}
.unknown {
  font: 600 35px var(--display);
  color: #c6f398;
}
.diagram [hidden] {
  display: none !important;
}
.build-steps {
  padding-left: 22px;
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0;
}
.build-steps li {
  padding-left: 3px;
  margin: 9px 0;
}
.build-steps li::marker {
  font-weight: 700;
  color: var(--teal);
}
.setup .build-steps .secondary-link,
.setup .fine .secondary-link {
  margin: 0;
}
.setup .fine {
  padding-top: 7px;
  border-top: 1px solid var(--line);
}
.lesson-grid article,
.lesson-grid aside {
  min-width: 0;
}
@media (max-width: 680px) {
  .lesson-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .io-figure {
    gap: 4px !important;
    font-size: 20px !important;
  }
  .hex-label {
    display: none;
  }
  .course-row .route-info {
    font-size: 11px;
  }
}
@font-face {
  font-family: Barlow Semi Condensed;
  src: url(assets/barlow-semi.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --ink: #172e31;
  --muted: #4e6263;
  --line: #cbd6cf;
  --paper: #f7f8f2;
  --white: #fff;
  --deep: #102c32;
  --teal: #16554f;
  --lime: #c6f398;
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 14px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.53 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #096fb6;
  outline-offset: 4px;
}
.wrap {
  width: min(1216px, calc(100% - 112px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 10;
  left: 8px;
  top: -60px;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  line-height: 1;
}
.brand img {
  width: 128px;
  height: auto;
  display: block;
}
.brand span {
  border-left: 1px solid var(--line);
  padding-left: 17px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.nav nav a,
.textlink {
  border-bottom: 1px solid transparent;
}
.nav nav a:hover,
.textlink:hover {
  border-bottom-color: currentColor;
}
.nav-tools {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav-tools select {
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  min-height: 42px;
}
.preview {
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #b4c3b9;
  background: #f4f7ed;
  border-radius: 4px;
  padding: 5px 9px;
}
.preview:hover {
  background: #e5efdc;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
}
h1 {
  font-size: clamp(54px, 6.1vw, 88px);
  letter-spacing: -0.032em;
}
h2 {
  font-size: clamp(36px, 3.8vw, 56px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 28px;
  letter-spacing: -0.018em;
}
.over {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.45;
}
.hero {
  background: #0d252c;
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 40%;
  overflow: hidden;
  z-index: -1;
  background: #172e33;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 58%;
  transform: rotate(-9deg) scale(1.33);
  filter: saturate(0.76) brightness(0.77);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #0d252c 0%,
      #0d252c 34%,
      rgba(13, 37, 44, 0.95) 40%,
      rgba(13, 37, 44, 0.53) 56%,
      rgba(13, 37, 44, 0.08) 80%
    ),
    linear-gradient(0deg, rgba(8, 28, 30, 0.74), transparent 30%);
}
.hero-inner {
  min-height: 447px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 50px 0 54px;
}
.hero-copy {
  max-width: 535px;
  animation: arrive 0.4s ease-out both;
}
.hero .over {
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.hero .over:before {
  content: "";
  width: 31px;
  height: 2px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(68px, 7vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.037em;
}
.hero p {
  margin: 20px 0 25px;
  max-width: 425px;
  color: #e1e9e3;
  font-size: 17px;
  line-height: 1.48;
}
.photo-cap {
  position: absolute;
  right: 0;
  bottom: 23px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e9f2e7;
  border-bottom: 1px solid #a3b5a6;
  padding-bottom: 5px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 21px;
}
.btn,
.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 11px 17px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  min-height: 44px;
  transition:
    background 0.16s,
    transform 0.16s;
}
.btn {
  background: var(--lime);
  color: #16332b;
}
.btn:hover {
  background: #b4ed7e;
  transform: translateY(-1px);
}
.outline {
  color: var(--ink);
  border-color: #9cafa4;
  background: transparent;
}
.outline:hover {
  background: #e4ecdf;
}
.arrow {
  display: inline-block;
  transition: transform 0.18s;
}
.btn:hover .arrow,
.course-row:hover .arrow,
.textlink:hover .arrow {
  transform: translateX(3px);
}
.textlink {
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.55;
}
.hero .textlink {
  color: #f3f5f0;
}
.hero .textlink:hover {
  color: var(--lime);
}
.catalog {
  padding: 42px 0 55px;
}
.sec-head {
  display: flex;
  gap: 20px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sec-head .descriptor {
  color: var(--muted);
  font-size: 14px;
}
.course-list {
  border-top: 1.5px solid var(--ink);
}
.course-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1.35fr) minmax(0, 0.88fr) 42px;
  gap: 26px;
  align-items: center;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s;
}
.course-row:hover {
  background: #ecf0e5;
}
.course-row h3 {
  font-size: clamp(28px, 2.4vw, 36px);
  margin-bottom: 4px;
}
.course-row .sub,
.course-row .lang,
.small {
  font-size: 13px;
  color: var(--muted);
}
.course-row .lang {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.course-row .arrow {
  font-size: 27px;
  color: var(--teal);
  justify-self: end;
}
.art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background-color: #123b39;
  color: var(--lime);
  overflow: hidden;
}
.tile {
  height: 65px;
  border-radius: 3px;
}
.art.cpu {
  background: #223644;
  color: #d0eaee;
}
.art.linux {
  background: #48422f;
  color: #fff0aa;
}
.seg {
  display: inline-block;
  width: 25px;
  height: 43px;
  position: relative;
  flex: none;
  transform: skew(-5deg);
  --unlit: rgba(195, 241, 150, 0.13);
}
.seg i {
  position: absolute;
  background: var(--unlit);
}
.seg i.on {
  background: currentColor;
}
.seg i:nth-child(1),
.seg i:nth-child(4),
.seg i:nth-child(7) {
  width: 74%;
  height: 10%;
  left: 13%;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}
.seg i:nth-child(1) {
  top: 0;
}
.seg i:nth-child(7) {
  top: 45%;
}
.seg i:nth-child(4) {
  bottom: 0;
}
.seg i:nth-child(2),
.seg i:nth-child(3),
.seg i:nth-child(5),
.seg i:nth-child(6) {
  width: 16%;
  height: 42%;
  clip-path: polygon(50% 0, 100% 12%, 100% 88%, 50% 100%, 0 88%, 0 12%);
}
.seg i:nth-child(2),
.seg i:nth-child(6) {
  top: 5%;
}
.seg i:nth-child(3),
.seg i:nth-child(5) {
  bottom: 5%;
}
.seg i:nth-child(2),
.seg i:nth-child(3) {
  right: 0;
}
.seg i:nth-child(5),
.seg i:nth-child(6) {
  left: 0;
}
.tile .seg {
  width: 18px;
  height: 31px;
}
.reg-art {
  display: grid;
  gap: 5px;
}
.reg-art b {
  display: flex;
  gap: 3px;
}
.reg-art i {
  width: 6px;
  height: 7px;
  background: #48616b;
}
.reg-art i.on {
  background: #c9ebe1;
}
.linux-symbol {
  font: 600 25px/1 monospace;
}
.hardware {
  background: #e5ece1;
  padding: 44px 0;
}
.hardware-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 55px;
  align-items: center;
}
.hardware figure {
  height: 220px;
  background: #cdd8cf;
  overflow: hidden;
  border-radius: 3px;
}
.hardware figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}
.hardware p,
.faculty p {
  color: var(--muted);
  margin: 12px 0 18px;
  max-width: 580px;
}
.hardware .over,
.faculty .over {
  color: var(--teal);
  margin-bottom: 8px;
}
.hardware-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.hardware-links button {
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  color: var(--teal);
}
.faculty {
  padding: 55px 0;
}
.faculty h2 {
  font-size: 38px;
}
.faculty .actions {
  margin-top: 14px;
}
footer {
  background: #e9ede4;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  font-size: 12px;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.foot button {
  background: none;
  border: 0;
  text-decoration: underline;
  color: var(--teal);
  font-size: inherit;
}
.crumb {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 22px;
}
.crumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumb span[aria-hidden] {
  color: #8f9e96;
}
.course-top,
.lesson-top {
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
  background: #e9efe5;
}
.course-top .over,
.lesson-top .over {
  color: var(--teal);
  margin-bottom: 10px;
}
.course-intro {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  align-items: center;
  gap: 55px;
}
.course-top h1,
.lesson-top h1 {
  font-size: clamp(46px, 5.3vw, 75px);
}
.course-top p,
.lesson-top p {
  color: var(--muted);
  max-width: 700px;
  margin: 12px 0 0;
  font-size: 17px;
}
.course-facts {
  border-left: 2px solid #9ab59d;
  padding-left: 22px;
  font-size: 14px;
}
.course-facts div + div {
  margin-top: 10px;
}
.course-facts dt,
.fact-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.course-facts dd {
  font-weight: 600;
}
@media screen {
  .with-capture .course-facts {
    display: flex;
    gap: 12px 32px;
    border: 0;
    padding: 0;
    margin-top: 20px;
  }
  .with-capture .course-facts div + div { margin: 0; }
}
.course-capture {
  justify-self: end;
  width: min(100%, 286px);
  align-self: center;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.course-capture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.capture-label { display: block; margin-top: 7px; }
.capture-label small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.capture-label strong {
  color: var(--teal);
  font-size: 15px;
}
.capture-label .arrow {
  display: inline-block;
  font-size: inherit;
}
.course-capture:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.syllabus {
  padding: 37px 0 56px;
}
.syllabus .sec-head h2 {
  font-size: 36px;
}
.syllabus details {
  border-bottom: 1px solid var(--line);
}
.syllabus details:first-of-type {
  border-top: 1.5px solid var(--ink);
}
.syllabus summary {
  list-style: none;
  padding: 14px 5px;
  display: grid;
  align-items: center;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  cursor: pointer;
}
.syllabus summary::-webkit-details-marker {
  display: none;
}
.syllabus summary:hover {
  background: #e9efe4;
}
.lab-num {
  color: var(--teal);
  font: 600 21px var(--display);
}
.syllabus summary strong {
  font-size: 17px;
}
.plus {
  font-size: 20px;
  color: var(--teal);
  margin-right: 5px;
}
.syllabus details[open] .plus {
  transform: rotate(45deg);
}
.lab-detail {
  padding: 0 5px 18px 71px;
  color: var(--muted);
}
.lab-detail a {
  display: inline-block;
  margin-top: 8px;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.lesson-top {
  background: #f0f3e9;
  padding-bottom: 25px;
}
.lesson-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.lesson-top h1 {
  font-size: clamp(46px, 4.7vw, 68px);
}
.lesson-top .crumb {
  margin-bottom: 16px;
}
.lesson-top p {
  max-width: 740px;
  font-size: 16px;
}
.lesson-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.74fr);
  gap: clamp(35px, 5.1vw, 83px);
  padding: 30px 0 50px;
  align-items: start;
}
.lesson-grid h2 {
  font-size: 34px;
}
.lesson-grid h3 {
  font-size: 25px;
}
.parts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0 23px;
}
.parts a,
.modes a {
  padding: 7px 12px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}
.parts a[aria-current],
.modes a[aria-current] {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.brief {
  color: var(--muted);
  margin: 8px 0 15px;
  max-width: 680px;
}
.diagram {
  background: #133a38;
  color: var(--lime);
  border-radius: 4px;
  padding: 17px 22px;
  margin: 14px 0 17px;
}
.diagram figcaption {
  font-size: 12px;
  color: #d9e7d6;
  display: flex;
  justify-content: space-between;
  gap: 9px;
}
.digit-seq {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  padding: 15px 3px 1px;
}
.digit-pair {
  display: flex;
  gap: 3px;
}
.digit-seq .seg {
  width: 26px;
  height: 44px;
}
.digit-seq .step {
  color: #81a79a;
  font-size: 20px;
}
.io-figure {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-around;
  padding: 17px 0 2px;
  font: 600 24px var(--display);
}
.io-figure .step {
  color: #a5c3b4;
}
.observations {
  padding-left: 22px;
  margin: 10px 0 16px;
}
.observations li {
  padding-left: 3px;
  margin: 6px 0;
}
.source {
  font-size: 12px;
  color: var(--muted);
  margin: 13px 0;
}
.source a,
.secondary-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.setup {
  border: 1px solid #adbdad;
  border-top: 4px solid var(--teal);
  border-radius: 3px;
  background: white;
  padding: 22px 24px;
  position: sticky;
  top: 15px;
}
.setup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.setup-head small {
  color: var(--teal);
  font-weight: 700;
  font-size: 11px;
}
.setup label,
.setup .field-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  display: block;
  margin: 12px 0 4px;
}
.setup select {
  width: 100%;
  padding: 8px 11px;
  background: white;
  border: 1px solid #aebfb2;
  border-radius: 3px;
  min-height: 40px;
}
.modes {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.modes a {
  padding: 7px 9px;
  font-size: 12px;
}
.setup .require {
  padding: 6px 9px;
  background: #eef3e4;
  border-left: 3px solid #72956d;
  font-size: 14px;
  font-weight: 700;
}
.setup .instruction {
  margin: 13px 0;
  color: var(--muted);
  font-size: 14px;
}
.setup .btn {
  width: 100%;
  text-align: center;
}
.setup .secondary-link {
  display: block;
  color: var(--teal);
  font-weight: 600;
  font-size: 13px;
  margin: 12px 0 0;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.setup .fine {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.code-sample {
  margin: 12px 0;
}
.code-sample summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}
pre {
  font:
    13px/1.55 ui-monospace,
    Menlo,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
  background: #e8ede3;
  padding: 12px;
  border-left: 2px solid #93b297;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.syllabus-actions {
  margin-bottom: 20px;
}
.syllabus-views {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.syllabus-views a {
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.syllabus-views a[aria-current] {
  color: var(--teal);
  box-shadow: inset 0 -3px var(--teal);
}
.file-index h3 { font-size: 23px; }
.file-index p { margin: 3px 0 12px; color: var(--muted); font-size: 14px; }
.file-index table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.file-index th, .file-index td { padding: 4px 8px; border-bottom: 1px solid var(--line); }
.file-index thead { background: #eaf0e6; }
.file-index thead th { padding-block: 8px; }
.file-index th[scope="row"] { font-weight: 500; }
.file-number { color: var(--teal); margin-right: 7px; font-variant-numeric: tabular-nums; }
.remote-files-row { background: #edf3e9; }
.file-lesson { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; font-size: 13px; color: var(--ink); }
.remote-file-links { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.file-lesson a { display: inline-block; padding-block: 5px; color: var(--teal); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.file-links { display: flex; flex-wrap: wrap; column-gap: 12px; }
.file-links a { color: var(--teal); padding-block: 4px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.setup .version-note { margin: 8px 0; color: #3b4937; font-size: 14px; }
.quartus-download { font-size: 13px; margin: 8px 0; color: var(--muted); }
.download-os { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) {
  .file-index table { font-size: 13px; table-layout: fixed; }
  .file-index th, .file-index td { padding-inline: 5px; }
  .file-index thead th:first-child { width: 44%; }
  .file-number { margin-right: 2px; }
  .file-links { column-gap: 5px; }
  .file-index th, .file-index td { padding-block: 2px; }
  .file-links a, .remote-file-links a { display: inline-flex; align-items: center; min-width: 30px; min-height: 44px; }
  .file-lesson { padding-top: 5px; }
}
.mobile-jump {
  display: none;
}
@media (max-width: 680px) {
  .mobile-jump {
    display: inline-block;
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    padding: 6px 0 2px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
  }
}
dialog {
  max-width: min(465px, calc(100% - 32px));
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  padding: 26px;
  box-shadow: 0 12px 70px #112c3540;
}
dialog::backdrop {
  background: #0b2429a6;
}
dialog h2 {
  font-size: 32px;
  margin: 6px 0 12px;
}
dialog p {
  margin-bottom: 16px;
}
dialog[data-view="capture"] {
  width: min(680px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  overflow: auto;
}
dialog[data-view="capture"] .close-dlg {
  margin: -10px -8px 0 4px;
  min-width: 44px;
  min-height: 44px;
}
.capture-input {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  align-items: center;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}
.capture-input legend {
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.capture-input label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
}
.capture-input input { margin: 0; accent-color: var(--teal); }
.capture-input input:focus-visible { outline: 3px solid #096fb6; outline-offset: 3px; }
.capture-frames img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.capture-frames figcaption {
  min-height: 3em;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.close-dlg {
  float: right;
  background: none;
  border: 0;
  font-size: 22px;
  line-height: 1;
}
.stage-options {
  display: grid;
  gap: 9px;
}
.stage-options a {
  display: block;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 3px;
}
.stage-options a[aria-current] {
  border-color: var(--teal);
  background: #e2edde;
}
.stage-options small {
  display: block;
  color: var(--muted);
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1450px) {
  .hero-art {
    inset-inline-start: 43%;
  }
  .hero .wrap {
    min-height: 478px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .nav {
    gap: 15px;
  }
  .nav nav {
    gap: 15px;
  }
  .brand {
    gap: 10px;
  }
  .brand span {
    padding-left: 10px;
  }
  .course-row {
    grid-template-columns: 80px minmax(0, 1fr) minmax(0, 0.68fr) 24px;
    gap: 16px;
  }
  .lesson-grid {
    grid-template-columns: minmax(0, 1fr) minmax(255px, 0.75fr);
    gap: 25px;
  }
  .setup {
    padding: 18px;
  }
  .course-intro {
    gap: 25px;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .nav {
    min-height: 58px;
    gap: 6px;
    justify-content: space-between;
  }
  .brand img {
    width: 97px;
  }
  .brand span {
    font-size: 11px;
    padding-left: 9px;
  }
  .nav nav {
    display: none;
  }
  .nav-tools {
    gap: 4px;
  }
  .nav-tools select {
    font-size: 12px;
    max-width: 62px;
  }
  .preview {
    font-size: 10px;
    padding: 4px 6px;
  }
  .hero-inner {
    min-height: 410px;
    align-items: flex-start;
    padding: 34px 0 51px;
  }
  .hero-copy {
    max-width: 90%;
  }
  .hero-art {
    inset: 0 0 0 29%;
  }
  .hero-art img {
    object-position: 53% center;
    transform: rotate(-9deg) scale(1.5);
  }
  .hero:after {
    background:
      linear-gradient(
        90deg,
        #0d252c 0%,
        rgba(13, 37, 44, 0.96) 36%,
        rgba(13, 37, 44, 0.8) 59%,
        rgba(13, 37, 44, 0.47) 100%
      ),
      linear-gradient(0deg, #0d252cd9, transparent 30%);
  }
  .hero h1 {
    font-size: clamp(56px, 13vw, 73px);
  }
  .hero p {
    font-size: 15px;
    max-width: 304px;
    margin: 15px 0 19px;
  }
  .hero .over {
    margin-bottom: 13px;
  }
  .photo-cap {
    font-size: 9px;
    bottom: 12px;
  }
  .actions {
    gap: 9px 13px;
  }
  .btn,
  .outline {
    font-size: 13px;
  }
  .textlink {
    font-size: 13px;
  }
  .catalog {
    padding: 27px 0 31px;
  }
  .sec-head {
    margin-bottom: 14px;
    gap: 8px;
  }
  .sec-head .descriptor {
    font-size: 12px;
    text-align: right;
  }
  .course-row {
    grid-template-columns: 58px minmax(0, 1fr) 17px;
    gap: 0 12px;
    padding: 13px 0;
  }
  .tile {
    height: 48px;
    grid-row: span 2;
  }
  .course-row h3 {
    font-size: 26px;
  }
  .course-row .sub {
    font-size: 12px;
  }
  .course-row .lang {
    font-size: 12px;
    grid-column: 2;
    grid-row: 2;
  }
  .course-row .arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    font-size: 22px;
  }
  .tile .seg {
    width: 13px;
    height: 22px;
  }
  .reg-art i {
    width: 4px;
    height: 5px;
  }
  .hardware-grid,
  .course-intro,
  .lesson-grid {
    grid-template-columns: 1fr;
  }
  .hardware-grid {
    gap: 18px;
  }
  .hardware figure {
    height: 180px;
  }
  .hardware {
    padding: 28px 0;
  }
  .faculty,
  .syllabus {
    padding: 29px 0;
  }
  .course-top,
  .lesson-top {
    padding: 17px 0 22px;
  }
  .course-facts {
    display: flex;
    gap: 23px;
    padding-left: 12px;
  }
  .course-facts div + div {
    margin: 0;
  }
  .course-top p,
  .lesson-top p {
    font-size: 15px;
  }
  .course-top h1,
  .lesson-top h1 {
    font-size: 48px;
  }
  .course-intro {
    gap: 18px;
  }
  .course-capture {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .course-capture img { width: 84px; flex: none; }
  .capture-label { margin: 0; }
  .with-capture .course-facts { margin-top: 14px; gap: 15px; }
  .hardware-links .textlink { min-height: 44px; }
  dialog[data-view="capture"] { padding: 20px; }
  .capture-input { gap: 0 14px; }
  .crumb {
    margin-bottom: 13px;
    font-size: 11px;
  }
  .lesson-head {
    display: block;
  }
  .lesson-grid {
    gap: 22px;
    padding: 22px 0;
  }
  .setup {
    position: static;
  }
  .lab-detail {
    padding-left: 47px;
  }
  .syllabus summary {
    grid-template-columns: 32px 1fr auto;
    gap: 9px;
  }
  .syllabus summary strong {
    font-size: 15px;
  }
  .diagram {
    padding: 13px 15px;
  }
  .foot {
    font-size: 11px;
  }
  .parts {
    margin-bottom: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::after,
  *::before {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.print-only { display: none; }
@media print {
  .print-only { display: block; }
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }
  .nav-tools,
  .nav nav,
  .preview,
  .actions,
  .syllabus-views,
  .course-capture,
  .hardware-links button,
  .photo-cap,
  .hero-art,
  .setup button,
  footer,
  dialog,
  .preview-action,
  .skip {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .hero,
  .course-top,
  .lesson-top,
  .hardware,
  .diagram,
  .setup {
    background: white;
    color: black;
  }
  .hero:after {
    display: none;
  }
  .hero-inner {
    min-height: 0;
    padding: 12px 0;
  }
  .hero h1,
  h1 {
    font-size: 32pt;
  }
  .hero p,
  .hero .over {
    color: #333;
  }
  .lesson-grid,
  .course-intro {
    display: block;
  }
  .setup {
    margin-top: 16px;
    position: static;
  }
  .course-row,
  .lab-detail,
  .diagram {
    break-inside: avoid;
  }
  .diagram,
  .tile {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .crumb, .mobile-jump, .fact-label, .parts a:not([aria-current]),
  .syllabus .plus, .diagram .reveal, .diagram .digit-seq,
  .setup label, .setup select, .setup .field-label, .setup .modes,
  .setup .fine, .setup .version-note, .setup .quartus-download, .setup .require {
    display: none !important;
  }
  .nav { min-height: 32px; }
  .brand img { width: 92px; }
  .course-top, .lesson-top { padding: 10px 0; }
  .course-top .over, .lesson-top .over { margin: 0 0 3px; }
  .course-top h1, .lesson-top h1 { font-size: 30pt; }
  .course-top p, .lesson-top p { margin: 2px 0; font-size: 10.5pt; }
  .course-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 5px 0 0; }
  .course-facts div + div { margin: 0; }
  .syllabus, .lesson-grid { padding: 10px 0; }
  .syllabus .sec-head { margin: 0 0 6px; }
  .syllabus .sec-head h2 { font-size: 20pt; }
  .syllabus details, .code-sample, .setup, .written-observations { break-inside: avoid; }
  .syllabus summary { padding-block: 3px; }
  .syllabus summary strong { font-size: 11pt; }
  .syllabus .lab-num { font-size: 13pt; }
  .syllabus .lab-detail { padding-bottom: 5px; font-size: 10pt; line-height: 1.3; }
  .syllabus .lab-detail a { margin-top: 2px; }
  .parts { margin: 0 0 2px; }
  .parts a[aria-current] { padding: 0; border: 0; background: none; color: var(--teal); }
  .lesson-grid h2 { font-size: 20pt; line-height: 1.15; }
  .lesson-grid h3 { margin: 8px 0 3px; font-size: 15pt; }
  .brief, .observations, .source, .code-sample { margin-block: 5px; }
  .diagram { border: 1px solid #bac9bf; background: white; color: #172f2b; padding: 7px 12px; margin: 8px 0; }
  .diagram figcaption, .diagram .step { color: #344b45; }
  .print-sequence { font: 600 20pt var(--display); letter-spacing: 0.06em; }
  .code-sample pre { margin: 3px 0; padding: 6px 10px; font-size: 9pt; line-height: 1.25; }
  .setup { padding: 8px 12px; margin-top: 9px; }
  .setup-head { margin: 0; }
  .setup h2 { font-size: 16pt; }
  .printed-route { margin: 2px 0; font-weight: 650; }
  .setup .instruction, .build-steps, .build-steps li { margin-block: 3px; }
  .setup .build-steps button { display: inline !important; width: auto; min-height: 0; color: inherit; background: none; border: 0; padding: 0; font: inherit; text-align: left; text-decoration: none; }
  .setup .build-steps button [aria-hidden], .code-sample summary::marker { display: none; content: ""; }
  .written-observations p { font-size: 10pt; padding-bottom: 7mm; border-bottom: 1px solid #aebfb2; margin: 3mm 0 0; }
}

.quiet {
  color: var(--teal);
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 4px 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
}
.faculty-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 55px;
}
.faculty-grid > div + div {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
@media (max-width: 680px) {
  .faculty-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .faculty-grid > div + div {
    border-left: 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
  }
}

.mobile-menu {
  display: none;
}
#main:focus,
#courses:focus,
#hardware:focus,
#faculty:focus {
  outline: 0;
}
@media (max-width: 680px) {
  .mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--line);
    font-size: 20px;
    margin-left: 4px;
  }
  .nav-tools .preview {
    min-height: 32px;
  }
  .nav-tools {
    gap: 7px;
  }
}
@media (max-width: 500px) {
  .brand span {
    display: none;
  }
}
