/* Pollen Hub Design holding page. Mirrors the centred hero of www.pollenhub.world:
   navy and forest gradient, gold arabesque, calligraphic flourish, light button. */

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0A1628;
  --forest: #1B4332;
  --gold: #C9A84C;
  --gold-soft: #E0CD97;
  --cream: #F8F9FA;
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(3.5rem, 2.5rem + 5vw, 6rem) 1.5rem 5.5rem;
  background: linear-gradient(to bottom right, var(--navy), var(--forest), var(--navy));
  text-align: center;
}

.pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.pattern svg {
  display: block;
  width: 100%;
  height: 100%;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
}

.flourish {
  width: 14rem;
  max-width: 70%;
  margin: 0 auto 2rem;
  animation: reveal 1s ease-out both;
}

.flourish svg {
  display: block;
  width: 100%;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--gold-soft);
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 1.75rem + 2.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.divider {
  width: 5rem;
  height: 3px;
  margin: 0 auto 2rem;
  background: var(--gold);
}

.lead {
  max-width: 36em;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border: 2px solid #FFFFFF;
  border-radius: 2px;
  background: #FFFFFF;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: background-color 300ms ease-out, border-color 300ms ease-out;
}

.button:hover {
  border-color: var(--cream);
  background: var(--cream);
  text-decoration: underline;
}

.button:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
}

.legal {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.5;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flourish {
    animation: none;
  }

  .button {
    transition: none;
  }
}
