@font-face {
  font-family: "Frutiger";
  src: local("Frutiger Bold"), local("FrutigerBold"),
    url("fonts/hinted-FrutigerBold.woff2") format("woff2"),
    url("fonts/hinted-FrutigerBold.woff") format("woff"),
    url("fonts/FrutigerBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Frutiger";
  src: local("Frutiger"), url("fonts/hinted-Frutiger.woff2") format("woff2"),
    url("fonts/hinted-Frutiger.woff") format("woff"),
    url("fonts/Frutiger.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  position: relative;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
}
body::before {
  content: "";
  position: absolute;
  font-family: Frutiger, Arial, Helvetica, sans-serif;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/bg.png") no-repeat center center fixed;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;
}
.site-logo {
  width: 450px;
  height: auto;
  display: block;
  margin: 60px auto 20px auto;
  position: relative;
  z-index: 10;
  margin-bottom: -0.5px;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
}
.coming-soon {
  font-family: Helvetica, sans-serif;
  font-weight: bold;
  text-shadow: 2px 2px 0px #00000025;
  color: white;
  z-index: 2;
  position: relative;
  font-size: 3rem;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
}
.coming-soon-subtext {
  font-family: Frutiger, Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-style: normal;
  text-shadow: 1.5px 1.5px 0px #00000015;
  color: rgb(255, 242, 231);
  margin-top: 10px;
  z-index: 2;
  position: relative;
  font-size: 1.2rem;
  text-align: center;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
}
.coming-soon-subtext a {
  color: #c2d1db
}
.project-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  z-index: 2;
  position: relative;
  gap: 20px;
}
.project-link {
  text-decoration: none;
  display: block;
  flex: 0 0 auto;
}
.project-box {
  background-color: rgba(151, 114, 71, 0.6);
  color: #f2e6d8;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  font-family: Frutiger, sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  text-shadow: 2px 2px 0 #00000030;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
  backdrop-filter: blur(4px);
}
.project-box span {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: bold;
  text-shadow: 3px 3px 0px #00000025;
}
.project-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}
.project-box h3 {
  font-size: 1.6rem;
  color: white;
  margin: 12px 0;
}
.project-box p {
  font-size: 1.1rem;
  margin: 10px 0;
}
footer {
  background-color: #00000050;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-family: Frutiger, sans-serif;
  font-size: 1rem;
  z-index: 2;
  position: relative;

  animation: slideUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
  backdrop-filter: blur(4px);
}
footer span {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: bold;
  text-shadow: 3px 3px 0px #00000025;
}
footer a {
  color: #f2e6d8;
  text-decoration: none;
  font-weight: bold;
}
footer a:hover {
  text-decoration: underline;
}

.nav-buttons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  z-index: 2;
  position: relative;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-btn {
  font-family: Frutiger, Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: #f2e6d8;
  background: rgba(151, 110, 71, 0.45);
  border: 1px solid rgba(180, 210, 235, 0.0);
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
  padding: 6px 17px;
  margin-top: 10px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 #00000030;
}

.nav-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  pointer-events: none;
  padding: 100px;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: rgba(30, 21, 8, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.overlay.active {
  pointer-events: all;
  opacity: 1;
}

.overlay-close {
  position: sticky;
  top: 20px;
  align-self: flex-end;
  margin: 20px 30px 0 0;
  font-family: Frutiger, Arial, sans-serif;
  font-size: 0.9rem;
  color: #dfbd96;
  background: rgba(151, 114, 71, 0.6);
  border: 1px solid rgba(151, 114, 71, 0.6);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}

.overlay-close:hover {
  background: rgba(151, 114, 71, 0.836);
  color: #fff;
}

.overlay-content {
  width: 100%;
  max-width: 860px;
  padding: 10px 30px 60px;
  color: #e9d7c8;
  font-family: Frutiger, Arial, sans-serif;
}

.overlay-title {
  font-size: 2.4rem;
  color: white;
  margin: 20px 0 6px;
  text-shadow: 4px 4px 0 #00000030;
}

.overlay-note {
  font-size: 0.95rem;
  color: #c5a48e;
  margin: 4px 0 16px;
}

.overlay-note a {
  color: #dfbca8;
}

.staff-section {
  margin-bottom: 28px;
}

.staff-section h2 {
  font-size: 1.15rem;
  color: #d0a47f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(208, 176, 127, 0.2);
  padding-bottom: 4px;
}

.staff-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.staff-section ul li {
  font-size: 1rem;
  color: #f4e7d8;
}

.handle {
  font-size: 0.82rem;
  color: #dfbd96;
  margin-left: 4px;
}

.socials-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  max-width: 360px;
}

.social-item {
  display: block;
  font-family: Frutiger, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #f4e7d8;
  text-decoration: none;
  background: rgba(151, 110, 71, 0.4);
  border: 1px solid rgba(235, 209, 180, 0.2);
  border-radius: 8px;
  padding: 12px 20px;
  backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.social-item:hover {
  background: rgba(190, 148, 100, 0.6);
  color: white;
  transform: translateX(4px);
}

#main-page, footer {
  transition: opacity 0.4s ease;
}

#main-page.faded, footer.faded {
  opacity: 0;
  pointer-events: none;
}
