/* WyVee marketing site — final v9 brand kit
   Palette: #171717 ink/background, #5A5A5A slate, #F0B429 gold, #F4F4F4 light
   (#C98F0A = gold on light backgrounds). #8C8C8C is a UI-only muted text tint.
   Logo assets: assets/brand/ (copied from /workspace/wyvee/logo/final/kit/). */

:root {
  --bg: #171717;
  --bg-raised: #202020;
  --mid: #5a5a5a;
  --gold: #f0b429;
  --gold-soft: #f5c85a;
  --gold-on-light: #c98f0a;
  --muted: #8c8c8c;
  --ink: #f4f4f4;
  --line: rgba(244, 244, 244, 0.1);
  --gold-dim: rgba(240, 180, 41, 0.14);
  --gold-line: rgba(240, 180, 41, 0.35);
  --radius: 0.7rem;
  --max: 1080px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --space: clamp(1.25rem, 4vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-soft);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.85rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  border-radius: 0.35rem;
}

.skip:focus {
  top: 1rem;
  color: var(--bg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - var(--space) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(23, 23, 23, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.lockup-mark {
  height: 2.3rem;
  width: auto;
}

.lockup-word {
  height: 1.35rem;
  width: auto;
}

.lockup-sm .lockup-mark {
  height: 1.9rem;
}

.lockup-sm .lockup-word {
  height: 1.1rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.85rem, 2.4vw, 1.6rem);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  padding: 0 0 clamp(3.5rem, 9vw, 6rem);
}

.hero-art {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-art picture {
  display: block;
}

.logo-hero {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  margin: 0 auto;
}

.hero-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(to bottom, rgba(23, 23, 23, 0), var(--bg));
  pointer-events: none;
}

.hero-copy {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.15rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.lede {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  border-radius: 0.45rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--bg);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--mid);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--gold);
}

section {
  padding: clamp(3.25rem, 8vw, 5.5rem) 0;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-intro {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.homebase {
  border-top: 1px solid var(--line);
}

.homebase .section-intro {
  margin-bottom: 2rem;
}

.signup {
  max-width: 36rem;
  padding: 1.7rem 1.6rem 1.6rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.signup h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.signup > p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.signup form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.signup input[type="email"] {
  flex: 1 1 16rem;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--mid);
  border-radius: 0.45rem;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
}

.signup input[type="email"]::placeholder {
  color: var(--muted);
}

.signup input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.signup .btn {
  flex: 0 0 auto;
}

.signup-status {
  margin: 0.9rem 0 0;
  color: var(--gold);
  font-size: 0.95rem;
}

.privacy {
  margin: 1rem 0 0 !important;
  color: var(--muted);
  font-size: 0.85rem;
}

.manifesto {
  border-top: 1px solid var(--line);
}

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(90, 90, 90, 0.12), transparent 70%);
}

.about .section-kicker {
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.78rem;
}

.about p {
  max-width: 42rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.about p:last-of-type {
  margin-bottom: 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--mid);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
}

.contact .panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.8rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(135deg, var(--gold-dim), transparent 50%),
    var(--bg-raised);
}

.contact h2 {
  margin: 0 0 0.4rem;
}

.contact p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.mail,
.phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.mail:hover,
.phone:hover {
  color: var(--gold);
}

.footer-art {
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-art img {
  width: 100%;
  height: auto;
}

.site-footer {
  padding: 1.7rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.footer-brand p {
  margin: 0.4rem 0 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.25rem;
}

.footer-mail,
.footer-phone {
  color: var(--ink);
  text-decoration: none;
}

.footer-mail:hover,
.footer-phone:hover {
  color: var(--gold);
}

.copyright {
  margin: 0;
}

.site-footer .wordmark {
  font-size: 1.15rem;
}

@media (max-width: 640px) {
  .site-header .wrap {
    flex-wrap: wrap;
    min-height: 0;
    padding: 0.85rem 0 0.75rem;
    gap: 0.7rem;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.9rem 1.1rem;
    font-size: 0.85rem;
  }

  .lockup-mark {
    height: 2rem;
  }

  .lockup-word {
    height: 1.2rem;
  }

  .logo-hero {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1488 / 928;
  }

  .footer-art {
    display: none;
  }

  .signup form {
    flex-direction: column;
    align-items: stretch;
  }

  .signup input[type="email"] {
    flex: 0 0 auto;
    width: 100%;
  }

  .signup .btn {
    width: 100%;
  }

  .contact-methods {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

.manifesto-text {
  max-width: 42rem;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink);
}

.signup-status[data-kind="error"] {
  color: #ff8a7a;
}

.signup button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
