*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #000;
  font-family: 'Courier Prime', Courier, monospace;
  font-size: 16px;
  line-height: 1.6;
}

/* MAIN LAYOUT */
.container {
  display: grid;
  grid-template-columns: 330px 1fr;
  min-height: 100vh;
}

/* LEFT COLUMN */
.col-left {
  border-right: 2px dotted #000;
  padding: 48px 28px 40px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.site-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 44px;
  text-decoration: none;
  color: #000;
  display: block;
}

.site-title:hover {
  color: cyan;
}

.col-left nav {
  display: flex;
  flex-direction: column;
}

/* HOVER IMAGE — follows cursor */
.hover-img-wrap {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.18s ease;
  transform: translate(20px, -50%);
}

.hover-img-wrap.visible {
  opacity: 1;
}

.hover-img-wrap img {
  max-width: 220px;
  height: auto;
  display: block;
  filter: none;
}


/* NAV LINKS */
.nav-btn {
  background: #fff;
  color: #000;
  border: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  text-align: left;
  padding: 14px 0;
  cursor: pointer;
  display: block;
  width: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.15s ease;
  text-decoration: none;
  line-height: 1.5;
}

.nav-btn:hover {
  color: cyan;
}

.nav-btn.active {
  color: cyan;
}

.nav-btn::before { content: '→ '; }
.nav-btn.active::before { content: '↓ '; }

/* RIGHT COLUMN */
.col-right {
  padding: 48px 48px 64px;
  animation: pagein 0.3s ease both;
}

@keyframes pagein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* PAGE CONTENT */
.page-content h2 {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-content .course-meta {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 32px;
}

.page-content p {
  margin-bottom: 16px;
  max-width: 620px;
}

/* IMAGES */
.page-images {
  display: grid;
  max-width: 600px;
  margin-top: 36px;
  gap: 14px;
}

video {
  width: 100%;
  max-width: 600px;
  display: block;
}

.img-slot {
  background: none;
  overflow: hidden;
  flex-shrink: 0;
}

.img-slot img {
  width: auto;
  height: auto;
  max-width: 600px;
  display: block;
  filter: none;
}

.img-placeholder {
  width: 210px;
  height: 140px;
  background: #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
}

/* HOME QUOTE */
.home-quote {
  font-size: 16px;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0.55;
  letter-spacing: 0.03em;
}

.home-quote cite {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 12px;
  font-style: normal;
}
