/* ============================================================
   uni — landing page
   Editorial, dark, cinematic. Single hero. No frameworks.
   ============================================================ */

:root {
  --color-black: #0d0d0d;
  --color-white: #ffffff;
  --color-purple: #6a0dad;
  --color-blue: #3a86ff;
  --color-teal: #00e0c6;

  --color-text-soft: rgba(255, 255, 255, 0.82);
  --color-divider: rgba(255, 255, 255, 0.22);

  /* Overlay darkness on top of the hero photo. 0.72 = ~72% dark. */
  --overlay-opacity: 0.72;

  /* Gradient palette — soft lavender → sky → mint, matches reference */
  --grad-heading: linear-gradient(90deg, #b7a0ff 0%, #8fb8ff 100%);
  --grad-button: linear-gradient(135deg, #b6a0f5 0%, #86b0ff 55%, #7fe6d7 100%);
  --grad-button-hover: linear-gradient(135deg, #c1acff 0%, #94baff 55%, #8ff0e0 100%);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-black);
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Accessible skip link — visible on keyboard focus only */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 700;
  border-radius: 6px;
  z-index: 100;
  transition: top 200ms ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* Fallback gradient shows a soft purple → teal wash if hero.jpg is missing,
     so the page never looks dead. Once assets/hero.jpg exists the photo wins
     because it stacks on top. */
  background:
    url("assets/hero.jpg") center 30% / cover no-repeat,
    radial-gradient(circle at 30% 20%, #4c1d95 0%, transparent 55%),
    radial-gradient(circle at 75% 80%, #0e5a75 0%, transparent 60%),
    linear-gradient(160deg, #1a0e2e 0%, #0d0d0d 55%, #0a2432 100%);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, calc(var(--overlay-opacity) + 0.05)) 0%,
    rgba(13, 13, 13, var(--overlay-opacity)) 50%,
    rgba(13, 13, 13, calc(var(--overlay-opacity) + 0.08)) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* ============================================================
   Logo
   ============================================================ */

.hero__logo {
  width: clamp(140px, 22vw, 260px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(106, 13, 173, 0.35));
}

/* ============================================================
   Dividers
   ============================================================ */

.hero__divider {
  width: 100%;
  max-width: 920px;
  border: 0;
  border-top: 1px solid var(--color-divider);
  margin: 0;
}

/* ============================================================
   Manifesto
   ============================================================ */

.manifesto {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: 0;
}

.manifesto__heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.25rem;

  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Fallback for browsers without background-clip: text */
  -webkit-text-fill-color: transparent;
}

.manifesto__lead {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 1.5;
}

.manifesto__body {
  font-size: clamp(0.95rem, 1.55vw, 1.1rem);
  font-weight: 400;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.7;
}

.manifesto__closing {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-style: italic;
  color: var(--color-white);
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

/* ============================================================
   Call to action
   ============================================================ */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  min-height: 48px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: #1a1033;
  background: var(--grad-button);
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px -14px rgba(122, 169, 255, 0.55),
    0 2px 6px -2px rgba(0, 0, 0, 0.3);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    filter 220ms ease;
}

.cta__button:hover {
  background: var(--grad-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(122, 169, 255, 0.7),
    0 4px 10px -2px rgba(0, 0, 0, 0.35);
  filter: brightness(1.03);
}

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

.cta__button:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}

.cta__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}

.cta__label:hover {
  color: #7fe6d7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta__label:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 4px;
  border-radius: 3px;
}

/* ============================================================
   Reduced motion — respect user preference
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .cta__button:hover {
    transform: none;
  }
}

/* ============================================================
   Mobile refinements
   ============================================================ */

@media (max-width: 640px) {
  .hero {
    padding: 2.25rem 1.25rem;
  }
  .hero__content {
    gap: 1.5rem;
  }
  .hero__logo {
    width: 130px;
  }
  .manifesto {
    gap: 0.9rem;
  }
  .cta__button {
    padding: 0.85rem 2rem;
    width: 100%;
    max-width: 320px;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .hero__logo {
    width: 110px;
  }
  .manifesto__heading {
    font-size: 1.6rem;
  }
}
