:root {
  --white: #fff;
  --glass: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.28);
  --shadow: rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  background: #101414;
  color: var(--white);
  margin: 0;
}

.filters {
  height: 0;
  position: absolute;
  width: 0;
}

.hero {
  align-items: center;
  background: #101414;
  display: grid;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(1.25rem, 5vw, 5rem);
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero::before {
  animation: landscapeFade 3200ms ease-out both, landscapePulse 18s ease-in-out 3200ms infinite alternate;
  background: url("assets/ptg-landscape-hero.png") center / cover;
  transform: scale(1.035);
}

.hero::after {
  animation: overlayFade 3600ms ease-out both;
  background:
    linear-gradient(90deg, rgba(5, 9, 10, 0.78), rgba(5, 9, 10, 0.34) 48%, rgba(5, 9, 10, 0.24)),
    linear-gradient(180deg, rgba(5, 9, 10, 0.08), rgba(5, 9, 10, 0.56));
  z-index: -1;
}

.ripple-layer {
  animation: rippleFade 3600ms ease-out 1400ms both, waterShift 11s ease-in-out 2200ms infinite alternate;
  background: url("assets/ptg-landscape-hero.png") center / cover;
  bottom: 0;
  filter: url("#water-ripple");
  height: 52vh;
  left: 0;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5) 22%, #000 52%);
  opacity: 0;
  position: absolute;
  right: 0;
  transform: scale(1.038) translate3d(0, 0, 0);
  z-index: -1;
}

.ambient {
  animation: ambientFade 2600ms ease-out 900ms both, drift 12s ease-in-out 2600ms infinite alternate;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  filter: blur(10px);
  height: 40vw;
  max-height: 520px;
  max-width: 720px;
  min-height: 320px;
  min-width: 320px;
  opacity: 0.55;
  position: absolute;
  right: -12vw;
  top: -10vw;
  width: 52vw;
  z-index: -1;
}

.content {
  animation: rise 2200ms cubic-bezier(0.2, 0.75, 0.2, 1) 700ms both;
  margin-left: clamp(0rem, 5vw, 4rem);
  max-width: 760px;
}

.kicker,
.company-name {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.company-name {
  animation: rise 1800ms cubic-bezier(0.2, 0.75, 0.2, 1) 1400ms both;
  bottom: clamp(1.25rem, 4vw, 3rem);
  left: clamp(1.25rem, 5vw, 5rem);
  margin: 0;
  position: absolute;
}

h1 {
  font-size: clamp(4.5rem, 13vw, 12rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  text-shadow: 0 24px 80px var(--shadow);
}

.contact {
  align-items: center;
  backdrop-filter: blur(18px);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 720;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.45rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.44);
  transform: translateY(-1px);
}

@keyframes landscapeFade {
  from {
    filter: brightness(0.94) saturate(0.98);
    opacity: 0;
    transform: scale(1.08);
  }

  to {
    filter: brightness(1) saturate(1);
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes landscapePulse {
  from {
    filter: brightness(0.98) saturate(0.98);
    transform: scale(1.035);
  }

  to {
    filter: brightness(1.06) saturate(1.04);
    transform: scale(1.052);
  }
}

@keyframes overlayFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes ambientFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.55;
  }
}

@keyframes rippleFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.34;
  }
}

@keyframes waterShift {
  from {
    transform: scale(1.038) translate3d(-0.3vw, 0.15vw, 0);
  }

  to {
    transform: scale(1.044) translate3d(0.4vw, -0.12vw, 0);
  }
}

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

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-4vw, 3vw, 0) scale(1.08);
  }
}

@media (max-width: 640px) {
  .hero {
    align-items: end;
    padding-bottom: 12vh;
  }

  .content {
    margin-left: 0;
  }

  .contact {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .ambient,
  .company-name,
  .ripple-layer,
  .content {
    animation: none;
  }

  .contact {
    transition: none;
  }
}
