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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  background: linear-gradient(135deg, #0f0f0f, #000);
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica;
  overflow: hidden;
}

html {
  background: #000;
}

/* =================================
   PREFIX
================================= */

.prefix {
  font-size: 2rem;
  opacity: 0.7;
  margin-bottom: 0;
  transition:
    opacity 0.5s cubic-bezier(.25,.8,.25,1),
    transform 0.5s cubic-bezier(.25,.8,.25,1);
  will-change: transform, opacity;
}

/* =================================
   MAIN WORD
================================= */

.word {
  font-size: 8vw;
  font-weight: 700;
  margin-top: 0;
  letter-spacing: -2px;
  display: flex;
  align-items: center;
}

.crunch {
  color: white;
  flex-shrink: 0;
}

/* =================================
   SUFFIX
================================= */

.suffix-container {
  display: inline-block;
  min-width: 220px;
  margin-left: 4px;
}

.suffix {
  display: inline-block;
  color: #58ffd6;
  transition:
    opacity 0.9s cubic-bezier(.25,.8,.25,1),
    transform 0.9s cubic-bezier(.25,.8,.25,1);
  will-change: transform, opacity;
}

/* =================================
   BACKGROUND GLOW
================================= */

.glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 60%;
  transform: translate(-40%, -50%);
  background: #58ffd6;
  filter: blur(200px);
  opacity: 0.1;
}

/* =================================
   SUBTITLE
================================= */

.subtitle {
  margin-top: 0;
  opacity: 1;
  font-size: 2rem;
  letter-spacing: 1px;
}

/* =================================
   CONTACT LINK
================================= */

.contact,
.contact a {
  font-size: 1rem;
  color: white;
}

.contact a {
  font-weight: 600;
  color: #FFFFFF;
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  position: relative; /* needed for hover underline effect */
}

.contact a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #58FFD6;
  opacity: 0.01;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.contact a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
  opacity: 1;
}

.contact a:hover {
  text-shadow: 0 0 2px #58FFD6, 0 0 2px #58FFD6;
}

/* =================================
   CREDIT
================================= */

.credit {
  display: inline-block;  /* shrink to fit content */
  position: relative;     /* pseudo-element reference */
  opacity: 1;
  font-size: 1rem;
  margin-top: 10px;
}

.credit-text {
  text-transform: lowercase;
}

.credit-link {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: inherit;
}

.credit-link:visited {
  color: inherit;
}

.credit-link:hover {
  text-decoration: none;
}

.icho-logo {
  height: 30px;
  width: auto;
}

/* =================================
   ZIMBABWE FLAG LINE
================================= */

.credit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;          /* small gap below text */
  width: 100%;            /* now matches credit content width */
  height: 3px;
  opacity: 0.8;
  border-radius: 1px;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  background: linear-gradient(
    to right,
    #006400 0%,
    #FFD200 16.66%,
    #D40000 33.33%,
    #000000 50%,
    #D40000 66.66%,
    #FFD200 83.33%,
    #006400 100%
  );
}

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

@media (max-width: 600px) {
  .prefix {
    margin-bottom: 2px;
    font-size: 1.618rem;
  }
}