:root {
  --kernel-charcoal: #14181d;
  --kernel-coal: #202831;
  --colfax-blue: #1e5f74;
  --hypervisor-brass: #b9822e;
  --guest-lilac: #766ca8;
  --console-green: #3d8065;
  --lab-paper: #f5f1e8;
  --terminal-paper: #fffaf0;
  --vm-trace: #c7d3d8;
  --boot-corner: 18px;
  --gasket-corner: 9px;
  --switch-click: 0 18px 38px rgba(20, 24, 29, .16);
  --course-measure: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--lab-paper);
  color: var(--kernel-charcoal);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-jump {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--kernel-charcoal);
  color: white;
  padding: 10px 14px;
  border-radius: var(--gasket-corner);
}

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

.boot-strip {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px max(18px, calc((100vw - 1180px) / 2));
  background: rgba(245, 241, 232, .94);
  border-bottom: 1px solid rgba(20, 24, 29, .16);
  backdrop-filter: blur(14px);
}

.course-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 230px;
}

.brand-square {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--kernel-charcoal);
  color: var(--terminal-paper);
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0;
}

.course-brand strong,
.course-brand small {
  display: block;
}

.course-brand small {
  color: #51616b;
  font-size: .79rem;
}

.boot-lane {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.boot-lane a {
  text-decoration: none;
  border: 1px solid rgba(20, 24, 29, .18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 250, 240, .76);
  font-size: .91rem;
}

.boot-lane a:hover,
.boot-lane a:focus-visible {
  border-color: var(--colfax-blue);
}

.phone-rune {
  background: var(--colfax-blue) !important;
  color: white;
}

.kernel-floor {
  overflow: hidden;
}

.boot-deck {
  position: relative;
  min-height: min(760px, calc(100svh - 42px));
  display: grid;
  align-content: end;
  isolation: isolate;
  padding: 94px max(20px, calc((100vw - 1180px) / 2)) 34px;
  color: white;
}

.boot-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.boot-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boot-deck::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 24, 29, .86), rgba(20, 24, 29, .52) 42%, rgba(20, 24, 29, .18)),
    linear-gradient(0deg, rgba(20, 24, 29, .68), rgba(20, 24, 29, 0) 46%);
}

.boot-copy {
  width: min(760px, 100%);
}

.course-signal,
.path-code {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #f2cd86;
}

.boot-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6.9rem);
  line-height: .92;
  max-width: 900px;
}

.course-thesis {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 250, 240, .92);
}

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

.call-wire,
.desk-wire,
.copy-brief {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--gasket-corner);
  text-decoration: none;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.call-wire {
  background: var(--hypervisor-brass);
  color: #16110a;
}

.desk-wire {
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .56);
}

.stack-readout {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 44px 0 0;
  background: rgba(255, 250, 240, .32);
  border: 1px solid rgba(255, 250, 240, .42);
}

.stack-readout div {
  padding: 15px;
  background: rgba(20, 24, 29, .42);
}

.stack-readout dt {
  color: #f2cd86;
  font-size: .75rem;
  text-transform: uppercase;
  font-weight: 800;
}

.stack-readout dd {
  margin: 5px 0 0;
  color: white;
}

.os-pathway {
  width: var(--course-measure);
  margin: 34px auto;
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(260px, 1fr);
  grid-template-areas:
    "dial switches"
    "dial console";
  gap: 18px;
  align-items: stretch;
}

.path-dial {
  grid-area: dial;
  background: var(--kernel-charcoal);
  color: white;
  border-radius: var(--boot-corner);
  padding: clamp(22px, 4vw, 38px);
}

.path-dial p:not(.path-code) {
  color: rgba(255, 250, 240, .78);
}

.path-dial h2,
.stack-heading h2,
.rotation-work h2,
.colfax-band h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.03;
}

.path-switches {
  grid-area: switches;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-button,
.slice-switch,
.mode-chip {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(20, 24, 29, .2);
  background: var(--terminal-paper);
  color: var(--kernel-charcoal);
  border-radius: var(--gasket-corner);
  font-weight: 800;
  cursor: pointer;
}

.path-button.is-tuned,
.mode-chip.is-tuned {
  background: var(--colfax-blue);
  color: white;
  border-color: var(--colfax-blue);
}

.path-console {
  grid-area: console;
  display: block;
  min-height: 132px;
  padding: 24px;
  border-left: 7px solid var(--console-green);
  background: white;
  border-radius: var(--boot-corner);
  box-shadow: var(--switch-click);
}

.stack-board {
  width: min(1180px, 100%);
  margin: 70px auto;
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  grid-template-areas:
    "heading photo"
    "switches photo"
    "output photo";
  gap: 18px;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
}

.stack-heading {
  grid-area: heading;
}

.stack-heading .path-code,
.rotation-work .path-code,
.colfax-band .path-code {
  color: var(--colfax-blue);
}

.slice-rail {
  grid-area: switches;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: decimal-leading-zero inside;
}

.slice-switch {
  text-align: left;
  padding: 14px 16px;
  background: #fffdf7;
}

.slice-switch.is-lit {
  border-color: var(--guest-lilac);
  box-shadow: inset 6px 0 0 var(--guest-lilac);
}

.layer-frame {
  grid-area: photo;
  margin: 0;
  border-radius: var(--boot-corner);
  overflow: hidden;
  min-height: 560px;
  box-shadow: var(--switch-click);
}

.layer-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slice-output {
  grid-area: output;
  display: block;
  min-height: 150px;
  padding: 22px;
  background: var(--kernel-coal);
  color: white;
  border-radius: var(--boot-corner);
}

.rotation-board {
  width: var(--course-measure);
  margin: 80px auto;
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  gap: 24px;
  align-items: stretch;
}

.rotation-photo {
  border-radius: var(--boot-corner);
  overflow: hidden;
  min-height: 620px;
  box-shadow: var(--switch-click);
}

.rotation-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rotation-work {
  background: #fffdf7;
  border: 1px solid rgba(20, 24, 29, .14);
  border-radius: var(--boot-corner);
  padding: clamp(22px, 4vw, 40px);
}

.brief-controls {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.seat-scale {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.seat-scale input {
  grid-column: 1 / -1;
  accent-color: var(--colfax-blue);
}

.seat-scale b {
  color: var(--colfax-blue);
}

.mode-bank {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mode-chip {
  min-height: 48px;
}

.rotation-checks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(20, 24, 29, .18);
  border-radius: var(--gasket-corner);
}

.rotation-checks legend {
  padding: 0 8px;
  font-weight: 800;
}

.rotation-checks input {
  accent-color: var(--console-green);
}

.brief-output {
  display: block;
  margin-top: 18px;
  min-height: 112px;
  padding: 16px;
  border-radius: var(--gasket-corner);
  background: #eef5f2;
  border: 1px solid #bad1c7;
}

.copy-brief {
  margin-top: 14px;
  background: var(--kernel-charcoal);
  color: white;
}

.colfax-band {
  width: min(1180px, calc(100vw - 32px));
  margin: 80px auto 44px;
  display: grid;
  grid-template-columns: 1.2fr .85fr .95fr;
  gap: 18px;
  align-items: start;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--boot-corner);
  background: var(--terminal-paper);
  border-top: 9px solid var(--hypervisor-brass);
}

.colfax-band address {
  font-style: normal;
  font-weight: 700;
}

.closing-console {
  padding: 28px max(18px, calc((100vw - 1180px) / 2)) 36px;
  background: var(--kernel-charcoal);
  color: rgba(255, 250, 240, .82);
}

.closing-console nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 12px;
}

.closing-console a {
  color: white;
}

.closing-console p {
  margin: 0;
}

@media (max-width: 850px) {
  .boot-strip,
  .course-brand,
  .boot-lane {
    align-items: flex-start;
  }

  .boot-strip {
    position: static;
    flex-direction: column;
  }

  .boot-lane {
    justify-content: flex-start;
  }

  .boot-deck {
    min-height: 720px;
  }

  .stack-readout,
  .os-pathway,
  .stack-board,
  .rotation-board,
  .colfax-band {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .path-dial,
  .path-switches,
  .path-console,
  .stack-heading,
  .slice-rail,
  .slice-output,
  .layer-frame {
    grid-area: auto;
  }

  .stack-readout {
    grid-template-columns: 1fr;
  }

  .layer-frame,
  .rotation-photo {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .path-switches,
  .mode-bank {
    grid-template-columns: 1fr;
  }

  .boot-lane a {
    width: 100%;
  }

  .call-wire,
  .desk-wire,
  .copy-brief {
    width: 100%;
  }
}
