:root {
  --ink: #101820;
  --muted: #4d5b68;
  --paper: #d9e2ea;
  --accent: #215f8a;
  --accent-ink: #f4f8fb;
  --line: rgba(16, 24, 32, 0.16);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.stage__photo {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2400&q=80")
      center / cover no-repeat;
  transform: scale(1.05);
  animation: ken 24s ease-in-out infinite alternate;
}

.stage__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(217, 226, 234, 0.94) 0%,
      rgba(217, 226, 234, 0.82) 38%,
      rgba(217, 226, 234, 0.35) 68%,
      rgba(217, 226, 234, 0.55) 100%
    );
  pointer-events: none;
  animation: shade 14s ease-in-out infinite alternate;
}

.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
}

.mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.72;
}

.status {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem 5.5rem;
  max-width: 44rem;
  margin: 0;
  margin-left: clamp(0rem, 6vw, 5rem);
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 5.8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  animation: rise 0.85s ease-out both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 2.5vw, 1.32rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  max-width: 28ch;
  animation: rise 0.9s 0.12s ease-out both;
}

.lead {
  margin: 0 0 1.85rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 36ch;
  animation: rise 0.95s 0.22s ease-out both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1s 0.32s ease-out both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 0.2rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid transparent;
}

.btn--primary:hover {
  background: #1a4d70;
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(244, 248, 251, 0.55);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  border-color: rgba(16, 24, 32, 0.35);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(217, 226, 234, 0.55);
  backdrop-filter: blur(8px);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ken {
  from {
    transform: scale(1.05) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-1.4%, 0.6%);
  }
}

@keyframes shade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.92;
  }
}

@media (max-width: 640px) {
  .top {
    padding: 1.1rem 1.15rem;
  }

  .hero {
    margin-left: 0;
    padding: 5.5rem 1.15rem 5.75rem;
  }

  .status {
    font-size: 0.7rem;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage__photo,
  .stage__shade,
  .brand,
  .hero h1,
  .lead,
  .cta {
    animation: none;
  }
}
