/* ============================================================
   Provectus Algae — global styles
   Ported from the Claude Design prototype (Provectus Algae.dc.html).
   Colours: ink #2C3442 · off-white #F9F9F9 · algae green #65F0A2 / #42d57f
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  background: #F9F9F9;
  color: #2C3442;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #65F0A2; color: #2C3442; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; }

@keyframes floatRot {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50%      { transform: rotate(8deg) translateY(-16px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Video-banner scroll cue --------------------------------------- */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 2; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  color: #F9F9F9; background: rgba(249, 249, 249, .08);
  border: 1px solid rgba(249, 249, 249, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: scrollCue 2.2s ease-in-out infinite;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.scroll-cue:hover { background: rgba(101, 240, 162, .16); border-color: #65F0A2; color: #65F0A2; }
@keyframes scrollCue {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ---- Navigation ---------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 74px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(249, 249, 249, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(44, 52, 66, .08);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled {
  box-shadow: 0 10px 34px rgba(44, 52, 66, .11);
  background: rgba(249, 249, 249, .97);
}
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 38px; display: block; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav__link {
  font-size: 14px; font-weight: 500; letter-spacing: .01em; color: #2C3442;
  opacity: .8; transition: opacity .2s ease;
}
.nav__link:hover { opacity: 1; }
.nav__link.active { opacity: 1; }
.nav__cta {
  font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #2C3442;
  background: #65F0A2; padding: 11px 22px; border-radius: 100px;
  transition: background .25s ease, transform .25s ease;
}
.nav__cta:hover { background: #4fdc8d; transform: translateY(-1px); }

.nav__toggle {
  display: none; background: none; border: 0; padding: 8px; margin: -8px;
  color: #2C3442;
}
.nav__toggle svg { display: block; }

/* Reserve space so fixed nav never overlaps page content that starts at top */
main { display: block; }

/* ---- Responsive nav ------------------------------------------------ */
@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(249, 249, 249, .98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(44, 52, 66, .08);
    padding: 8px clamp(20px, 4vw, 48px) 20px;
    box-shadow: 0 20px 40px rgba(44, 52, 66, .12);
    transform: translateY(-8px);
    opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease;
  }
  body.nav-open .nav__links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__link { padding: 15px 0; font-size: 16px; opacity: 1; border-bottom: 1px solid rgba(44, 52, 66, .07); }
  .nav__cta { margin-top: 16px; align-self: flex-start; }
}

/* ---- Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-marquee] { animation-play-state: paused !important; }
  [data-float] { animation: none !important; }
  .scroll-cue { animation: none !important; }
}
