@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: #c8defc;
  color: #131418;
  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);
}

.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;
}

.showcase-main {
  flex: 1;
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}

.back {
  margin: 0 0 1.5rem;
}

.back a {
  color: #1f2567;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
}

.back a:hover { text-decoration: underline; }

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

.showcase-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.showcase-lede {
  margin: 0 0 2rem;
  max-width: 48ch;
  line-height: 1.55;
  color: #353a41;
  font-size: clamp(0.85rem, 2.2vw, 1rem);
}

.showcase-panel {
  background: linear-gradient(145deg, #e8ecf6 0%, #d5dae8 100%);
  border: 2px solid #404e60;
  border-radius: 12px;
  padding: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 1.25rem;
}

.showcase-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1f2567;
}

.showcase-panel p {
  margin: 0;
  line-height: 1.55;
  color: #353a41;
}

.showcase-placeholder {
  margin-top: 1rem;
  min-height: 12rem;
  background: #d9d9d9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a6270;
  letter-spacing: 0.06em;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
}

@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;
  }
}
