* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.3;
}

body {
  overflow-x: hidden;
}

a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: all 0.1s ease;
}

a:hover {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
}

img {
  display: block;
  border: none;
  border-radius: 0;
}

.home-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  padding-top: 17vh;
  padding-bottom: 120vh;
}

.page-column {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.homepage-header {
  margin-bottom: 48px;
  text-align: right;
}

.portrait {
  position: relative;
  top: -2vh;
  width: 120px;
}

.portrait img {
  width: 120px;
  height: 160px;
  object-fit: cover;
}

.text-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  width: 120px;
  text-align: right;
}

.updates-link {
  color: yellow !important;
}

.contact-info {
  margin-top: 48px;
  color: #bfbfbf;
  font-family: Courier, monospace;
  font-size: 9px;
  line-height: 1.6;
  text-align: left;
  width: 120px;
}

.secret-blog-gate {
  position: absolute;
  top: calc(100vh + 80px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  padding-bottom: 160px;
}

.secret-blog-gate input {
  width: 100%;
  background: #000;
  color: #fff;
  border: 1px solid #777;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  padding: 6px;
}

.secret-blog-gate input:focus {
  outline: none;
  border-color: #fff;
}

.secret-blog {
  display: none;
  margin-top: 48px;
}

.secret-blog.unlocked {
  display: block;
}

.blog-entry {
  margin-bottom: 72px;
}

.blog-entry h2 {
  font-size: 12px;
  font-weight: normal;
  margin: 0 0 18px 0;
}

.blog-entry p {
  color: #777;
  margin: 0;
}

.updates-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
}

.updates-overlay.active {
  display: block;
}

.updates-window {
  position: fixed;
  left: 9vw;
  top: 17vh;
  width: 420px;
  height: 620px;
  background-color: #aebebe;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.updates-marquee {
  height: 24px;
  flex: 0 0 24px;
  background-color: yellow;
  color: red;
  overflow: hidden;
  white-space: nowrap;
  font-size: 20px;
  line-height: 24px;
}

.updates-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 9s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.updates-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.update-entry {
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  padding-bottom: 18px;
}

.update-entry h2 {
  font-size: 12px;
  font-weight: normal;
  margin: 0 0 8px 0;
}

.update-entry p {
  margin: 0 0 10px 0;
}

.update-entry img {
  width: 100%;
  margin-top: 10px;
}

.limit-page {
  min-height: 100vh;
}

.limit-home-link {
  width: 100%;
  max-width: 1000px;
  margin: 36px auto 0 auto;
  padding-left: 0;
}

.limit-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 280px);
  gap: 80px;
  justify-content: center;
  padding: 180px 24px 80px;
}

.limit-card {
  width: 280px;
}

.limit-card img {
  width: 280px;
  aspect-ratio: 530 / 300;
  height: auto;
  object-fit: cover;
}

.limit-title {
  display: inline-block;
  margin-top: 30px;
}

.limit-tooltip {
  color: #777;
  margin-top: 26px;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.limit-highlight {
  color: yellow;
}

.limit-card:hover .limit-tooltip {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1100px) {
  .limit-home-link {
    max-width: 280px;
  }

  .limit-grid {
    grid-template-columns: 280px;
    gap: 70px;
    padding: 80px 24px;
  }
}

@media (max-width: 520px) {
  .updates-window {
    left: 24px;
    top: 80px;
    width: calc(100vw - 48px);
    height: 70vh;
  }

  .secret-blog-gate {
    width: calc(100vw - 48px);
  }
}
