/* ============================================================
   ProLab Ventures — Shared Design System
   Fun, green + pink, accessible (WCAG AA)
   ============================================================ */

:root {
  /* Core palette */
  --ink:        #15231c;   /* near-black green for text */
  --ink-soft:   #3d4a43;   /* secondary text */
  --cream:      #fdf7f4;   /* warm off-white background */
  --paper:      #ffffff;

  /* Brand greens */
  --green:      #00FF00;   /* primary (pure neon green, per request) */
  --green-deep: #084d38;
  --green-bright:#14b870;  /* decorative accents only */
  --green-tint: #e6f5ee;

  /* Brand pinks */
  --pink:       #d6296f;   /* accent, white text passes AA */
  --pink-bright:#ff5da2;   /* decorative only */
  --pink-tint:  #ffe6f1;

  /* Utility */
  --radius:     18px;
  --radius-lg:  30px;
  --shadow:     0 10px 30px rgba(11,110,79,0.12);
  --shadow-pink:0 10px 30px rgba(214,41,111,0.16);
  --maxw:       1120px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 1rem; max-width: 65ch; }
.lead { font-size: 1.25rem; color: var(--ink-soft); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,247,244,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--green-tint);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 46px; width: auto; display: block; }
.brand .brand-fallback {
  font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--green), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 600;
  padding: 8px 14px; border-radius: 999px; font-size: 1rem;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--green-tint); color: var(--green-deep); }
.nav-links a[aria-current="page"] { background: var(--green); color: #fff; }
.nav-cta {
  background: var(--pink) !important; color: #fff !important;
  padding: 10px 20px !important; box-shadow: var(--shadow-pink);
}
.nav-cta:hover { background: #b81f5e !important; }

.nav-toggle {
  display: none; background: var(--ink); color: #fff; border: 0;
  padding: 10px 14px; border-radius: 12px; font-size: 1rem; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 15px 30px; border-radius: 999px; font-size: 1.05rem;
  transition: transform .12s, box-shadow .15s, background .15s; cursor: pointer;
  border: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-green:hover { background: var(--green-deep); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: var(--shadow-pink); }
.btn-pink:hover { background: #b81f5e; }
.btn-outline {
  background: transparent; color: var(--green-deep);
  border: 2px solid var(--green); padding: 13px 28px;
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, var(--pink-tint), transparent 45%),
    radial-gradient(circle at 10% 90%, var(--green-tint), transparent 45%),
    var(--cream);
  padding: 90px 0 80px;
}
.hero .eyebrow {
  display: inline-block; background: var(--pink-tint); color: var(--pink);
  font-weight: 700; padding: 7px 16px; border-radius: 999px;
  font-size: .95rem; margin-bottom: 20px;
}
.hero h1 { max-width: 16ch; }
.hero .hero-grad {
  background: linear-gradient(90deg, var(--green), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { max-width: 52ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Pill marquee ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pill {
  background: var(--paper); border: 2px solid var(--green-tint);
  padding: 8px 16px; border-radius: 999px; font-weight: 600;
  font-size: .95rem; color: var(--green-deep);
}

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Portfolio card */
.card .role { font-weight: 700; color: var(--green-deep); font-size: .95rem; margin: 0 0 10px; }
.card.pink-accent .role { color: var(--pink); }

/* Responsive video embed (16:9) */
.video-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ink);
}
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Lite YouTube facade — clean thumbnail + white play button */
.lite-yt { cursor: pointer; }
.lite-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lite-yt::before { /* subtle darken for play-button contrast */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22));
  transition: background .15s ease;
}
.lite-yt:hover::before { background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.30)); }
.lite-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,0.22); border: 2.5px solid rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.lite-yt:hover .lite-play, .lite-yt:focus-visible .lite-play {
  background: rgba(255,255,255,0.42); transform: translate(-50%, -50%) scale(1.07);
}
.lite-play svg { width: 30px; height: 30px; margin-left: 5px; fill: #fff; }
.work-item h3 { margin: 18px 0 2px; }
.work-item .role { color: var(--ink-soft); font-size: .95rem; margin: 0 0 4px; }
.work-item a.site-link { font-weight: 700; color: var(--pink); text-decoration: none; }
.work-item a.site-link:hover { color: var(--green-deep); text-decoration: underline; }

.card {
  background: var(--paper); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow); border: 2px solid transparent;
  transition: transform .15s, border-color .15s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--green-tint); }
.card .tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.tag-green { background: var(--green-tint); color: var(--green-deep); }
.tag-pink  { background: var(--pink-tint);  color: var(--pink); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 1rem; color: var(--ink-soft); flex-grow: 1; }
.card a.card-link {
  margin-top: 16px; font-weight: 700; color: var(--green); text-decoration: none;
  align-self: flex-start;
}
.card a.card-link:hover { color: var(--pink); }

/* ---------- Section intros ---------- */
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head .kicker {
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink); font-size: .85rem; margin-bottom: 10px; display: block;
}

/* ---------- Alternating blocks (category pages) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .visual {
  border-radius: var(--radius-lg); min-height: 320px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 5rem; box-shadow: var(--shadow);
}
.split .visual.pink { background: linear-gradient(135deg, var(--pink-bright), var(--pink)); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--pink);
  color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px;
}
.step:nth-child(2) .num { background: var(--green); }
.step:nth-child(3) .num { background: var(--ink); }
.step h3 { font-size: 1.2rem; }
.step p { font-size: 1rem; color: var(--ink-soft); margin: 0; }

/* ---------- Page hero (category pages) ---------- */
.page-hero { padding: 70px 0 50px; }
.page-hero .eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; font-size: .85rem; padding: 7px 16px;
  border-radius: 999px; margin-bottom: 18px;
}
.eyebrow.green { background: var(--green-tint); color: var(--green-deep); }
.eyebrow.pink  { background: var(--pink-tint);  color: var(--pink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-deep), var(--green));
  color: #fff; border-radius: var(--radius-lg); padding: 56px 44px;
  text-align: center;
}
.cta-band.pink { background: linear-gradient(120deg, #b81f5e, var(--pink)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0 auto 24px; }
.cta-band .btn-light { background: #fff; color: var(--green-deep); }
.cta-band.pink .btn-light { color: var(--pink); }
.cta-band .btn-light:hover { background: var(--cream); }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper); padding: 16px 20px; border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(11,110,79,.07);
}
.feature-list .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: .9rem; margin-top: 2px;
}
.feature-list.pink .check { background: var(--pink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #eaf2ee; padding: 60px 0 30px; }
.site-footer a { color: #cfe6da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-fallback { font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(90deg, var(--green-bright), var(--pink-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-brand p { color: #b9c9c1; max-width: 34ch; }
.footer-col h4 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #8fb3a3; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid #2c3a33; padding-top: 22px; font-size: .9rem; color: #8fb3a3;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Newsletter ---------- */
.signup { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.signup input {
  flex: 1; min-width: 220px; padding: 14px 16px; border-radius: 999px;
  border: 2px solid #2c3a33; background: #1d2b24; color: #fff; font-size: 1rem;
}
.signup input::placeholder { color: #9fb6ab; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); padding: 16px 24px;
    border-bottom: 2px solid var(--green-tint);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-block; }
}
@media (max-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .cta-band { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
