/* Pathfinder Vocational Services — homepage */

:root {
  --ink: #f4f0e6;
  --ink-soft: rgba(244, 240, 230, 0.82);
  --accent: #c4a35a;
  --shadow: rgba(12, 18, 14, 0.55);
  --font-display: "Fraunces", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #0c120e;
  -webkit-font-smoothing: antialiased;
}

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

.hero__media {
  position: absolute;
  inset: 0;
  background:
    url("/assets/img/hero-bg.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: hero-settle 1.4s ease-out both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(10, 16, 12, 0.55) 0%,
      rgba(10, 16, 12, 0.35) 45%,
      rgba(10, 16, 12, 0.7) 100%
    );
  animation: veil-in 1.1s ease-out both;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  text-align: center;
  animation: content-rise 1s ease-out 0.2s both;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 24px var(--shadow);
}

.lead {
  margin: 1.15rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
  text-shadow: 0 1px 12px var(--shadow);
}

@keyframes hero-settle {
  from {
    transform: scale(1.08);
    opacity: 0.65;
  }
  to {
    transform: scale(1.02);
    opacity: 1;
  }
}

@keyframes veil-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__media,
  .hero__veil,
  .hero__content {
    animation: none;
  }
}
