@font-face {
  font-family: "VCR OSD Mono";
  src: url("../../VCR_OSD_MONO_1.001.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "VCR OSD Mono", ui-monospace, monospace;
  -webkit-font-smoothing: antialiased;
  background-color: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  background: #404e60;
  padding: 0.55rem clamp(1rem, 3vw, 1.75rem);
  box-shadow: 0 2px 12px rgba(26, 32, 48, 0.18);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.site-logo-link {
  display: inline-flex;
  line-height: 0;
  flex-shrink: 0;
  border-radius: 6px;
  transition: opacity 0.15s ease;
}

.site-logo-link:hover { opacity: 0.85; }

.site-logo-link:focus-visible {
  outline: 2px solid #c8defc;
  outline-offset: 3px;
}

.site-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.site-name-link {
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 1.2;
  text-decoration: none;
  font-family: inherit;
  border-radius: 4px;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.site-name-link:hover { opacity: 0.8; }

.site-name-link:focus-visible {
  outline: 2px solid #c8defc;
  outline-offset: 3px;
}

.site-social {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-left: 0.1rem;
}

.site-social a {
  display: inline-flex;
  line-height: 0;
  border-radius: 4px;
  opacity: 0.92;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.site-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.site-social a:focus-visible {
  outline: 2px solid #c8defc;
  outline-offset: 3px;
}

.site-social img {
  height: 22px;
  width: auto;
  max-width: 26px;
  display: block;
  object-fit: contain;
}

.top-bar-nav {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  margin: -0.55rem clamp(-1rem, -3vw, -1.75rem) -0.55rem 0;
  margin-right: clamp(-1rem, -3vw, -1.75rem);
}

.top-bar-nav a {
  display: flex;
  align-items: center;
  padding: 0.85rem clamp(0.85rem, 2.5vw, 1.35rem);
  font-size: clamp(0.72rem, 1.8vw, 0.88rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #e8ecf4;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.top-bar-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.top-bar-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.top-bar-nav a:focus-visible {
  outline: 2px solid #c8defc;
  outline-offset: -2px;
  z-index: 1;
}

.alebrije-main {
  flex: 1;
  width: min(100%, 80rem);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 8vw, 5rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.back {
  margin: 0 0 clamp(1rem, 3vw, 1.5rem);
}

.back a {
  display: inline-block;
  padding: 0.3rem 1.1rem;
  color: #000000;
  text-decoration: none;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(177, 207, 255, 0.92);
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.back a:hover {
  text-decoration: none;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(64, 78, 96, 0.28);
}

.back a:focus-visible {
  outline: 2px solid #1f2567;
  outline-offset: 3px;
}

.page-title {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.75rem, 5vw, 4rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}

.hero-shot {
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  max-width: 47rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-block {
  display: grid;
  grid-template-columns: 1fr minmax(14rem, 20.75rem);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.intro-heading {
  margin: 0 0 0.25em;
  font-size: clamp(1.75rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

.intro-course {
  margin: 0 0 clamp(1rem, 3vw, 1.5rem);
  font-size: clamp(1.25rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
}

.intro-description {
  margin: 0;
  max-width: 47rem;
  font-size: clamp(1rem, 2.2vw, 2.25rem);
  line-height: 1.45;
  font-weight: 400;
}

.intro-description strong {
  font-weight: 700;
}

.intro-description em {
  font-style: italic;
}

.tldr-note {
  position: relative;
  margin: 0;
  padding: 0;
  width: min(100%, 20.75rem);
  justify-self: end;
  transform: scale(1.15);
  transform-origin: top right;
}

.tldr-note img {
  display: block;
  width: 100%;
  height: auto;
}

.tldr-note__text {
  position: absolute;
  inset: 1% calc(1% - 5px) 12% 1%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2.9em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  pointer-events: none;
  align-content: center;
  align-items: center;
}

.tldr-note__heading {
  margin: 0 0 0.4em;
  padding-left: 35px;
  font-size: clamp(1.35rem, 3.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.tldr-note__text ul {
  margin: 0;
  padding-left: 2.9em;
  padding-right: 5px;
  font-size: clamp(1.0rem, 2.3vw, 1.2rem);
  font-weight: 400;
  line-height: 1.3;
}

.tldr-note__text li {
  margin-bottom: 0.3em;
}

.tldr-note__text li:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.highlights-section {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-heading {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.5rem, 3.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

.highlight-item {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.highlight-item:last-child {
  margin-bottom: 0;
}

.highlight-item--wide .highlight-media {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.highlight-item--wide .highlight-media img {
  width: 100%;
  max-width: 32.5rem;
  margin: 0 auto;
  display: block;
}

.highlight-item--wide .highlight-caption {
  margin-top: 0;
}

.highlight-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.highlight-pair img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.highlight-caption {
  margin: 0;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 2.25rem);
  line-height: 1.4;
  font-weight: 400;
}

.demo-section {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.demo-heading {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.75rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

.video-frame {
  position: relative;
  max-width: 51rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  margin: 1rem 0 0;
  text-align: center;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

.video-fallback a {
  color: #1f2567;
  font-weight: 600;
}

.video-fallback a:hover {
  text-decoration: underline;
}

.video-fallback a:focus-visible {
  outline: 2px solid #1f2567;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .intro-block {
    grid-template-columns: 1fr;
  }

  .tldr-note {
    max-width: 18.2rem;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .top-bar {
    flex-wrap: wrap;
    padding-bottom: 0;
  }
  .top-bar-left {
    flex: 1 1 auto;
    padding-bottom: 0.55rem;
  }
  .top-bar-nav {
    width: 100%;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .top-bar-nav a {
    flex: 1;
    justify-content: center;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
  .top-bar-nav a:last-child {
    border-right: none;
  }

  .highlight-pair {
    grid-template-columns: 1fr;
  }
}
