.course-page {
  --c-ink: #082e2b;
  --c-green: #0c4b46;
  --c-mint: #8eea73;
  --c-lime: #c8f257;
  --c-paper: #fbfcf6;
  --c-line: #d9dfd3;
  background: var(--c-paper);
  color: var(--c-ink);
  overflow: clip;
}

.course-page em {
  color: var(--c-green);
}

.course-nav {
  height: 76px;
  width: min(1320px, calc(100% - 48px));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--c-line);
  font-size: 12px;
  font-weight: 800;
}

.back {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mini-brand {
  font: 800 15px var(--font-display);
  letter-spacing: 0.08em;
}

.mini-brand small {
  display: block;
  font-size: 6px;
  letter-spacing: 0.28em;
  text-align: center;
}

.course-enquire {
  background: var(--c-ink);
  color: #fff;
  padding: 12px 17px;
}

.course-hero {
  width: min(1320px, calc(100% - 48px));
  min-height: calc(100vh - 76px);
  margin: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 50px;
  padding: 55px 0;
}

.course-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #287464;
}

.course-hero h1 {
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  margin: 22px 0 28px;
}

.course-hero-copy {
  font-size: 15px;
  line-height: 1.8;
  color: #59706a;
  max-width: 580px;
}

.course-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.course-actions a:first-child,
.course-actions button,
.final-cta > a {
  background: var(--c-green);
  color: #fff;
  padding: 17px 20px;
  font-size: 12px;
  font-weight: 800;
  border: none;
}

.course-actions a:last-child {
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid;
}

.final-cta button,
.mobile-enquire button,
.course-enquire {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.course-hero dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 42px 0 0;
  border-top: 1px solid var(--c-line);
}

.course-hero dl div {
  padding: 15px 0;
  border-bottom: 1px solid var(--c-line);
}

.course-hero dt {
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 0.13em;
  color: #75857f;
}

.course-hero dd {
  margin: 6px 0 0;
  font: 800 13px var(--font-display);
}

.vehicle-wrap,
.generic-assembly {
  position: relative;
  background: #edf1e8;
  border-radius: 2px;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vehicle-wrap::before,
.generic-assembly::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, #0c4b4612 50%),
    linear-gradient(transparent 49.8%, #0c4b4612 50%);
  background-size: 50px 50px;
}

.vehicle-wrap svg,
.generic-assembly svg {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
}

.guide,
.ga-guides {
  fill: none;
  stroke: #0c4b4620;
  stroke-width: 1;
  stroke-dasharray: 5 7;
}

.part,
.ga-frame,
.ga-battery,
.ga-motor,
.ga-body,
.ga-wheels,
.cell,
.pack-shell,
.bms-unit {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
  transition:
    transform 0.18s linear,
    opacity 0.18s linear;
}

.wiring,
.energy {
  will-change: opacity;
  transition: opacity 0.18s linear;
}

.is-animated-fade {
  opacity: 0.2;
}

.part {
  fill: none;
  stroke: #0a3632;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chassis {
  stroke-width: 13;
}

.wheel {
  fill: #1b2928;
  stroke: #152523;
}

.wheel circle:nth-child(2) {
  fill: #edf1e8;
  stroke: #274f48;
}

.wheel .rim {
  fill: #a2d58c;
  stroke: #0a3632;
}

.fork {
  stroke-width: 9;
}

.motor,
.ga-motor {
  fill: #9de782;
  stroke: #0a3632;
}

.controller {
  fill: #153f3a;
  stroke: #092f2c;
}

.controller path,
.ga-battery path,
.pack-shell path {
  stroke: #8eea73;
  stroke-width: 3;
}

.battery-pack,
.ga-battery {
  fill: #173e39;
  stroke: #082e2b;
}

.battery-pack rect:not(:first-child) {
  fill: #8eea73;
  stroke-width: 2;
}

.charger,
.bms-unit {
  fill: #c8f257;
  stroke: #092f2c;
}

.dashboard {
  fill: #102f2c;
  stroke: #082e2b;
}

.dashboard path {
  stroke: #8eea73;
  stroke-width: 3;
}

.wiring,
.energy {
  fill: none;
  stroke: #79c96a;
  stroke-width: 4;
  stroke-dasharray: 8 7;
}

.body-panels,
.ga-body {
  fill: #0c4b46;
  stroke: #082e2b;
  stroke-width: 5;
  stroke-linejoin: round;
}

.body-panels path:nth-child(2) {
  fill: #15645a;
}

.body-panels path:nth-child(3) {
  fill: #8eea73;
}

.body-panels .seat {
  fill: #182b2a;
}

.headlight {
  fill: #d9ff81;
  stroke: #082e2b;
  stroke-width: 4;
}

.headlight path {
  fill: none;
  stroke: #c8f257;
  stroke-width: 8;
  stroke-linecap: round;
}

.assembly-status {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 20px;
  z-index: 2;
  height: 3px;
  background: #d1d9cd;
}

.assembly-status span {
  display: block;
  height: 100%;
  background: #3a9e73;
}

.assembly-status b {
  position: absolute;
  right: 0;
  top: 9px;
  font: 700 8px var(--font-display);
  letter-spacing: 0.15em;
}

.component-labels {
  position: absolute;
  bottom: 18px;
  left: 20px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.component-labels span {
  font-size: 7px;
  letter-spacing: 0.14em;
  font-weight: 800;
  border: 1px solid #b7c3b4;
  padding: 5px 7px;
  background: #f8faf3;
}

.assembly-story {
  width: min(1320px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: 70px;
  align-items: start;
}

.story-copy article {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.28;
  transition: opacity 0.35s var(--ease);
}

.story-copy article.active {
  opacity: 1;
}

.story-copy article > span {
  font: 800 10px var(--font-display);
  color: #2c806b;
  letter-spacing: 0.15em;
}

.story-copy article > p {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 9px;
  font-weight: 800;
  margin-top: 28px;
  color: var(--ink);
}

.story-copy h2 {
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 520px;
  margin: 12px 0 28px;
}

.story-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--c-line);
  max-width: 480px;
}

.story-copy li {
  padding: 11px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 12px;
  color: #5e716b;
}

.story-copy li::before {
  content: "+";
  color: #2c806b;
  margin-right: 13px;
  font-weight: 800;
}

.sticky-bike {
  position: sticky;
  top: 30px;
  height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}

.sticky-bike .vehicle-wrap,
.sticky-bike .generic-assembly {
  width: 100%;
  min-height: min(610px, 80vh);
}

.story-toggle {
  position: absolute;
  right: 14px;
  top: calc(10vh + 16px);
  z-index: 4;
  background: #f8faf3;
  border: 1px solid #b7c3b4;
  padding: 9px 12px;
  font: 700 9px var(--font-body);
  cursor: pointer;
}

.outcomes {
  background: #092f2c;
  color: #fff;
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.outcomes h2 {
  color: #fff;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.outcomes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #ffffff24;
}

.outcomes li {
  padding: 14px 0;
  border-bottom: 1px solid #ffffff24;
  font-size: 12px;
  color: #bbcac5;
}

.outcomes li::before {
  content: "✓";
  color: var(--c-mint);
  margin-right: 14px;
}

.final-cta {
  text-align: center;
  padding: 120px 24px;
}

.final-cta > p {
  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: #2e7a68;
}

.final-cta h2 {
  font-size: clamp(45px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.cta-meta {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 35px auto 42px;
  flex-wrap: wrap;
}

.cta-meta span {
  font-size: 10px;
  font-weight: 800;
  padding: 10px 22px;
  border-right: 1px solid var(--c-line);
}

.mobile-enquire {
  display: none;
}

@media (max-width: 900px) {
  .course-hero,
  .assembly-story,
  .outcomes {
    grid-template-columns: 1fr;
  }

  .component-labels {
    display: none;
  }
}

@media (max-width: 560px) {
  .course-nav,
  .course-hero,
  .assembly-story {
    width: calc(100% - 28px);
  }

  .back span {
    display: none;
  }

  .course-hero h1 {
    font-size: 48px;
  }

  .course-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .final-cta {
    padding: 80px 20px 115px;
  }

  .cta-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cta-meta span {
    border-bottom: 1px solid var(--c-line);
  }

  .mobile-enquire {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #092f2c;
    padding: 10px;
    z-index: 20;
  }

  .mobile-enquire a {
    display: block;
    text-align: center;
    background: var(--c-mint);
    padding: 14px;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-enquire button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--c-mint);
    padding: 14px;
    font-size: 12px;
    font-weight: 800;
  }
}
