/* Ospera — coming-soon landing page */

:root {
  --color-bg: #0a0a0a;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-text: #f5f5f5;
  --color-text-muted: rgba(245, 245, 245, 0.7);
  --color-accent: #ff00ff;
  --color-accent-dim: rgba(255, 0, 255, 0.15);
  --font-family: "DM Sans", system-ui, sans-serif;
  --transition: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100vh;
}

/* Screen-reader only helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero layout */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  text-align: center;
  padding: 2rem;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.55);
  transform: scale(1.05);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 0, 255, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 58rem;
  width: 100%;
  opacity: 0;
  transform: translateY(1.5rem);
  animation: fadeUp 1s ease-out 0.3s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__header {
  margin-bottom: 3rem;
}

.hero__logo {
  width: auto;
  height: 3.5rem;
  max-width: 100%;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero__accent {
  color: var(--color-accent);
  font-weight: 700;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-text-muted);
  font-weight: 300;
  margin-bottom: 3rem;
}

/* Contact card */
.contact {
  display: flex;
  justify-content: center;
}

.contact__card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem 2.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact__card:hover {
  border-color: var(--color-accent-dim);
  box-shadow: 0 30px 70px rgba(255, 0, 255, 0.08);
}

.contact__name {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact__link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  transition: color var(--transition);
}

.contact__link:hover,
.contact__link:focus-visible {
  color: var(--color-accent);
  outline: none;
}

/* Footer */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.45);
}

.footer__legal a {
  color: rgba(245, 245, 245, 0.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.footer__legal a:hover,
.footer__legal a:focus-visible {
  color: var(--color-accent);
  border-color: var(--color-accent);
  outline: none;
}

.footer__copy {
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero {
    padding: 1.5rem;
  }

  .hero__logo {
    height: 2.75rem;
  }

  .hero__header {
    margin-bottom: 2rem;
  }

  .hero__subtitle {
    margin-bottom: 2rem;
  }

  .contact__card {
    padding: 1.5rem 1.75rem;
    width: 100%;
    max-width: 24rem;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__copy {
    text-align: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__background img {
    transform: scale(1);
  }
}
