/* ============================================
   World Plant Milk Day — Phase 1 Landing Page
   Brand: Milky White / Heritage Blue / Acid Yellow
   Type: Antonio (display) · Inter (body) · Space Mono (labels)
   ============================================ */

:root {
  --milky: #f7f4ef;
  --white: #ffffff;
  --blue: #1738ff;
  --yellow: #e9fd02;
  --charcoal: #222222;
  --muted: #666666;
  --soft: #999999;
  --border: #e0ddd8;

  --font-display: "Antonio", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Space Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--milky);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--charcoal); }

/* ---------- Nav ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 24px rgba(0,0,0,0.04); }

.nav-logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.nav-badge {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2.5px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.62rem;
  color: var(--blue); text-transform: uppercase; letter-spacing: 0.02em;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; color: var(--charcoal); letter-spacing: 0.03em; }
.nav-logo-sub { font-family: var(--font-mono); font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--blue); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-link {
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  color: var(--charcoal); text-decoration: none; transition: opacity 0.15s ease;
}
.nav-link:hover { opacity: 0.6; }
.nav-cta {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.9rem;
  background: var(--blue); color: var(--white);
  padding: 0.55rem 1.2rem; border-radius: 50px;
}
.nav-cta:hover { opacity: 0.9; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; display: flex; flex-direction: column; align-items: center; }

/* decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); z-index: 0; pointer-events: none; }
.blob-blue { width: 360px; height: 360px; background: rgba(23,56,255,0.12); top: -90px; left: -120px; }
.blob-yellow { width: 420px; height: 420px; background: rgba(233,253,2,0.35); bottom: -160px; right: -140px; filter: blur(20px); }

/* sparkles */
.spark { position: absolute; z-index: 1; font-size: 1.6rem; pointer-events: none; animation: twinkle 3s ease-in-out infinite; }
.spark-1 { color: var(--blue); top: 18%; left: 14%; animation-delay: 0s; }
.spark-2 { color: var(--yellow); top: 26%; right: 16%; font-size: 2.2rem; animation-delay: 0.8s; }
.spark-3 { color: var(--blue); bottom: 24%; left: 20%; font-size: 1.2rem; animation-delay: 1.4s; }
.spark-4 { color: var(--yellow); bottom: 30%; right: 22%; animation-delay: 2s; }
.spark-5 { color: var(--blue); top: 48%; left: 6%; font-size: 1.3rem; animation-delay: 1.0s; }
.spark-6 { color: var(--yellow); top: 55%; right: 6%; font-size: 1.7rem; animation-delay: 1.7s; }
@keyframes twinkle { 0%,100% { opacity: 0.3; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }

/* Stamp logo */
.stamp {
  width: 150px; height: 150px; border-radius: 50%;
  border: 3.5px solid var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin-bottom: 1.75rem;
  background: var(--milky);
}
.stamp span { font-family: var(--font-display); font-weight: 700; color: var(--blue); text-transform: uppercase; line-height: 1; }
.stamp-top, .stamp-bot { font-size: 0.85rem; letter-spacing: 0.25em; }
.stamp-mid { font-size: 1.75rem; letter-spacing: 0.02em; margin: 4px 0; }

.date-chip {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--blue); color: var(--white);
  padding: 0.45rem 1rem; border-radius: 6px; transform: rotate(-1.5deg);
  margin-bottom: 1.5rem;
}
.date-chip sup { font-size: 0.6em; }

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.hero-title em { color: var(--blue); font-style: normal; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

/* Signup */
.signup { width: 100%; max-width: 540px; position: relative; }
.signup-label {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 1.3rem; color: var(--charcoal); margin-bottom: 1rem;
}
.signup-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.field {
  flex: 1 1 150px;
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.95rem 1.1rem;
  border: 2px solid var(--border); border-radius: 10px;
  background: var(--white); color: var(--charcoal);
  transition: border-color 0.2s ease;
}
.field::placeholder { color: var(--soft); }
.field:focus { outline: none; border-color: var(--blue); }
.signup-form .btn { flex: 1 1 100%; }
.signup-note { font-family: var(--font-mono); font-size: 0.7rem; color: var(--soft); margin-top: 0.8rem; letter-spacing: 0.03em; }

.form-msg { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 500; min-height: 1.2em; }
.form-msg.success { color: var(--blue); }
.form-msg.error { color: #d23; }

/* Supported by */
.supported { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.supported-label { font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--soft); }
.foodfacts-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.8rem;
  text-transform: lowercase; letter-spacing: -0.01em;
  color: #0a5bff; text-decoration: none;
}
.foodfacts-logo .dot { color: var(--yellow); -webkit-text-stroke: 1px #0a5bff; }
.foodfacts-logo:hover { opacity: 0.85; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--soft); text-decoration: none;
}
.scroll-hint svg { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; overflow: hidden; }
.kicker {
  display: inline-block; font-family: var(--font-mono); font-weight: 700;
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 0.4rem 0.9rem; border-radius: 5px; margin-bottom: 1.2rem;
  background: var(--blue); color: var(--white); transform: rotate(-1deg);
}
.kicker-yellow { background: var(--yellow); color: var(--charcoal); }
.section-title { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--charcoal); margin-bottom: 1rem; }
.section-title-light { color: var(--white); }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 600px; line-height: 1.6; margin-bottom: 2.5rem; }
.section-lead-light { color: rgba(255,255,255,0.85); }

/* Get involved */
.section-involved { background: var(--white); }
.contact-form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; }
.form-group label {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--charcoal); margin-bottom: 0.5rem; font-weight: 700;
}
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.85rem 1rem; border: 2px solid var(--border); border-radius: 10px;
  background: var(--milky); color: var(--charcoal); transition: border-color 0.2s ease; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.contact-alt { margin-top: 1.5rem; font-size: 0.95rem; color: var(--muted); }
.contact-alt a { color: var(--blue); font-weight: 600; text-decoration: none; }
.contact-alt a:hover { text-decoration: underline; }

/* Support */
.section-support { background: var(--blue); }
.support-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Social */
.section-social { background: var(--milky); text-align: center; }
.social-inner { display: flex; flex-direction: column; align-items: center; }
.social-icons { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }
.social-icon {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  background: var(--white); cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.social-icon:hover { background: var(--blue); color: var(--white); transform: translateY(-3px); }

/* Footer */
.footer { background: var(--charcoal); color: var(--white); padding: 3rem 0; text-align: center; }
.footer-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.3rem; }
.footer-tag { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.5); margin-top: 0.5rem; }
.footer-copyright { font-family: var(--font-mono); font-size: 0.62rem; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-ip { font-family: var(--font-mono); font-size: 0.58rem; color: rgba(255,255,255,0.3); letter-spacing: 0.04em; margin-top: 0.5rem; }

/* ---------- Brand logo images ---------- */
.nav-badge-img { width: 46px; height: 46px; object-fit: contain; display: block; }
.hero-logo { width: 150px; height: 150px; object-fit: contain; margin-bottom: 1.75rem; }

/* ---------- Decorative stickers ---------- */
.deco { position: absolute; pointer-events: none; z-index: 1; }
.deco-seal { width: 130px; top: 12%; right: 6%; transform: rotate(10deg); }

.deco-sticker { position: absolute; pointer-events: none; z-index: 2; }
.signup-sticker { width: 130px; top: -50px; right: -18px; transform: rotate(9deg); }
.involved-sticker { width: 220px; top: 48px; right: 4%; transform: rotate(-6deg); }
.social-sticker-1 { width: 200px; top: 30px; right: 5%; transform: rotate(-8deg); }
.social-sticker-2 { width: 92px; bottom: 32px; left: 8%; transform: rotate(6deg); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-logo-text { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 62px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--milky); border-bottom: 1px solid var(--border);
    padding: 0.5rem 0; transform: translateY(-130%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link, .nav-cta { padding: 0.9rem 1.5rem; border-radius: 0; text-align: left; }
  .nav-cta { background: none; color: var(--blue); }
  .form-row { grid-template-columns: 1fr; }

  /* Trim decorative stickers on mobile to avoid clutter */
  .deco-seal, .involved-sticker, .social-sticker-1 { display: none; }
  .signup-sticker { width: 96px; top: -34px; right: -4px; }
  .social-sticker-2 { width: 70px; bottom: 24px; }
}

/* Heritage signature anchor — do not remove. Removing class exposes author. */
.wpmd-rl26-wpmd-a9f3c7e2d1b8 { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0.001; pointer-events: none; font-size: 1px; }
