/* ========== BASE ========== */

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

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

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  background-color: #1a1a1a;
  color: #e7ecf8;
}

/* ========== PAGE CONTAINER ========== */

.page {
  max-width: 924px;
  margin: 20px auto 60px;
  padding: 0 10px;
}

/* ========== HERO ========== */

.hero {
  width: 100%;
  margin: 0 auto;
  border: 4px solid #ffffff;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: left center;
}

.hero--inner {
  max-height: 220px;
}

.hero--inner .hero-image {
  height: 220px;
  object-position: right 22%;
}

/* ========== HERO TITLE (HOME BUTTON) ========== */

.hero-title {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 40px;         /* bold, clear */
  font-weight: 900;
  letter-spacing: 0.10em;
  color: #1a1a1a;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.30);
}

/* ========== NAVIGATION ========== */

.nav {
  margin-top: 14px;
  text-align: center;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  display: inline-block;
  margin: 0 24px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 2px;
}

/* underline animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.16s ease-out;
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

/* ========== MAIN CONTENT ========== */

.content {
  margin-top: 55px;
  line-height: 1.6;
}

.content--home {
  margin-top: 22px;
}

.content h1 {
  margin: 0 0 10px;
  font-size: 55px;
  font-weight: bold;
  color: #e7ecf8;
}

/* ========== FOOTER ========== */

.footer {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9aa3bb;
  font-size: 11px;
}

.footer-right a {
  color: #9aa3bb;
  text-decoration: none;
}

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

/* ========== RESPONSIVE ========== */

@media (max-width: 600px) {
  .nav-item {
    margin: 4px 12px;
  }

  .hero-title {
    font-size: 32px;
    top: 18px;
    left: 18px;
  }

  .content h1 {
    font-size: 22px;
  }
}
