/* RESET */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: black;
  color: white;
  font-family: 'VT323', monospace;
  letter-spacing: 0.03em;
}

/* PAGE */

.page {
  position: relative;
  min-height: 100vh;
  background-image: url("images/purple-texture.jpg");
  background-repeat: repeat;
  background-size: auto;
  overflow-x: hidden;
}

/* TOP BANNER */

.top-banner-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  z-index: 2;
  overflow: hidden;
}

.top-banner-border img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 0 18px rgba(0,0,0,0.4);
}

/* PAGE TITLE */

.page-title {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  margin: 0;

  font-family: 'Kapakana', cursive;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: normal;
  line-height: 1;
  color: black;
  text-align: center;
  white-space: nowrap;

  text-shadow:
    0 1px 0 rgba(255,255,255,0.08),
    0 2px 3px rgba(0,0,0,0.18);
}

/* NAV */

.top-nav {
  position: absolute;
  top: 76px;
  z-index: 6;
}

.single-nav {
  left: 24px;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 14px 12px 14px;
  text-decoration: none;
  border-radius: 8px;
  background: black;
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.12) inset,
    0 -2px 0 rgba(0,0,0,0.25) inset,
    0 4px 10px rgba(0,0,0,0.38),
    0 0 8px rgba(255,255,255,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.nav-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.14) inset,
    0 -2px 0 rgba(0,0,0,0.25) inset,
    0 8px 16px rgba(0,0,0,0.42),
    0 0 10px rgba(255,255,255,0.08);
}

.nav-button:active {
  transform: translateY(1px);
}

.nav-text {
  font-family: 'Diplomata SC', serif;
  font-size: clamp(0.68rem, 1vw, 0.88rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  color: white;
  text-shadow:
    0 0 3px rgba(255,255,255,0.2),
    0 0 6px rgba(255,255,255,0.08);
}

/* OVERLAY */

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* MAIN CONTENT */

.about-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 190px 34px 120px 34px;
}

/* GRID */

.about-grid {
  display: grid;
  grid-template-columns: 280px minmax(320px, 1fr) 280px;
  gap: 34px;
  align-items: start;
}

/* SIDE COLUMNS */

.side-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-image {
  width: 100%;
  height: 205px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 0 18px rgba(0,0,0,0.35);
}

/* CENTER TEXT */

.about-text-wrap {
  display: flex;
  justify-content: center;
}

.about-text {
  width: 100%;
  max-width: 580px;
  text-align: center;
  font-family: 'VT323', monospace;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.65;
  color: white;
  padding-top: 8px;
}

.about-text p {
  margin: 0 0 28px 0;
}

/* FOOTER */

.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 20px 32px 20px;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* TABLET */

@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: 220px minmax(300px, 1fr) 220px;
    gap: 24px;
  }

  .side-image {
    height: 175px;
  }

  .about-content {
    padding: 185px 24px 110px 24px;
  }
}

/* MOBILE */

@media (max-width: 850px) {
  .page-title {
    font-size: clamp(2.8rem, 8vw, 4.3rem);
    top: 20px;
  }

  .single-nav {
    left: 16px;
  }

  .top-nav {
    top: 84px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .side-column {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .side-image {
    width: min(31%, 180px);
    height: 150px;
  }

  .about-text {
    max-width: 92%;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
  }

  .about-content {
    padding: 180px 20px 100px 20px;
  }
}

@media (max-width: 600px) {
  .top-banner-border {
    height: 132px;
  }

  .page-title {
    top: 18px;
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .top-nav {
    top: 80px;
  }

  .nav-button {
    padding: 10px 8px 8px;
    border-radius: 6px;
  }

  .nav-text {
    font-size: 0.55rem;
    letter-spacing: 0.03em;
  }

  .about-content {
    padding: 172px 18px 90px 18px;
  }

  .about-text {
    font-size: clamp(1.15rem, 4vw, 1.45rem);
    line-height: 1.6;
  }

  .side-image {
    width: min(31%, 120px);
    height: 120px;
  }

  .site-footer {
    font-size: 0.8rem;
    line-height: 1.7;
    padding-bottom: 26px;
  }
}