/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: black;
  color: #ffffff;
  height: 100vh;
  width: 100%;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.container {
  padding: 80px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.headline-container {
  display: flex;
  flex-direction: column;
}

.headline {
  max-width: 640px;
  font-size: 68px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.headline a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

.headline a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background: #ffffff;
  left: 0;
  bottom: -3px;
  transition: width 0.25s ease;
}

.headline a:hover::after {
  width: 100%;
}

.learn-more {
  font-size: 19px;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  margin-top: 35px;
}

.learn-more::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background: #ffffff;
  left: 0;
  bottom: -3px;
  transition: width 0.25s ease;
}

.learn-more:hover::after {
  width: 43%;
}

.logo {
  width: 170px;
  height: auto;
}

.paragraph {
  max-width: 480px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.address-block {
  text-align: right;
}

.address-label {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 8px;
}

.address-link {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  font-size: 19px;
}

.address-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background: #ffffff;
  left: 0;
  bottom: -3px;
  transition: width 0.25s ease;
}

.address-link:hover::after {
  width: 100%;
}

/* Fade-in animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Accessibility: disable animation for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Sequence delays */
.headline.fade-in {
  animation-delay: 0.1s;
}
.learn-more.fade-in {
  animation-delay: 0.25s;
}
.paragraph.fade-in {
  animation-delay: 0.4s;
}
.address-block.fade-in {
  animation-delay: 0.55s;
}
.logo.fade-in {
  animation-delay: 0.7s;
}

@media (max-width: 768px) {
  body {
    min-height: 100vh;
    height: auto;
    width: 100vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
  }
  .container {
    min-height: 100vh;
    height: auto;
    width: 100vw;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
  }
  .top-row,
  .bottom-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 0;
  }
  .logo {
    width: auto;
    height: 24px;
    margin-bottom: 24px;
    align-self: flex-start;
  }
  .headline-container {
    width: 100%;
    align-items: flex-start;
  }
  .headline {
    font-size: 8px;
    line-height: 1.15;
    max-width: 100%;
    width: 100%;
    text-align: left;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
  }
  .learn-more {
    font-size: 19px;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
    display: block;
  }
  .paragraph {
    font-size: 19px;
    max-width: 100%;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
  }
  .address-block {
    text-align: left;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 0;
    display: block;
  }
  .address-label {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: left;
  }
  .address-link {
    font-size: 19px;
    text-align: left;
    display: block;
  }
  .container .headline {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 1600px) {
  .container {
    padding: 60px;
  }
  .headline {
    font-size: 56px;
  }
  .paragraph {
    font-size: 15px;
    align-self: flex-end;
  }
  .logo {
    height: 70px;
    width: auto;
    /* Remove any transforms or scaling that distort the logo */
  }
  .learn-more,
  .address-label,
  .address-link {
    font-size: 15px;
  }
  .headline {
    margin-bottom: 28px;
  }
  .learn-more {
    margin-top: 28px;
    margin-bottom: 28px;
  }
  .paragraph {
    margin-bottom: 0;
  }
  .bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
}