/* ============================================================
   Prospera Mediaworks — shared styles
   Palette: white / very light gray / pale green / mid green / black
   Type: Bricolage Grotesque (display) · Manrope (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  --white: #ffffff;
  --gray: #f3f5f2;
  --green-pale: #ddf1de;
  --green: #5fc476;
  --green-dark: #3ea757;   /* hover only */
  --black: #101410;
  --ink-soft: #4a544b;
  --radius: 18px;
  --maxw: 1120px;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
  cursor: pointer;
  border: none;
}
.btn:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--black); }
.btn-green:hover { background: var(--green-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.logo-node {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-pale);
  flex: none;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a.link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.nav-links a.link:hover { background: var(--gray); }
.nav-links a.link.active { background: var(--green-pale); }

/* ---------- hero (home) ---------- */
.hero { padding: 88px 0 72px; }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  font-weight: 800;
  max-width: 15ch;
  margin: 20px 0 22px;
}
.hero h1 .hl {
  background: linear-gradient(transparent 62%, var(--green-pale) 62%);
  padding: 0 2px;
}
.hero p.lede {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- signature: the pipeline rail ---------- */
.rail {
  margin: 76px 0 0;
  background: var(--gray);
  border-radius: var(--radius);
  padding: 40px 32px;
  overflow-x: auto;
}
.rail-track {
  display: flex;
  align-items: center;
  min-width: 640px;
  gap: 0;
}
.rail-node {
  flex: none;
  background: var(--white);
  border: 1.5px solid var(--black);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  min-width: 128px;
}
.rail-node .rn-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  display: block;
}
.rail-node .rn-title { font-weight: 800; font-size: 0.98rem; }
.rail-node.is-green { background: var(--green); border-color: var(--green); }
.rail-node.is-green .rn-label { color: rgba(16, 20, 16, 0.65); }
.rail-link {
  flex: 1;
  min-width: 34px;
  height: 2px;
  background-image: linear-gradient(90deg, var(--black) 55%, transparent 55%);
  background-size: 10px 2px;
  position: relative;
}
.rail-link::after {
  content: "";
  position: absolute;
  right: -1px; top: -3.5px;
  border-left: 7px solid var(--black);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}
.rail-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 22px;
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--gray); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-top: 16px; }
.section-head p { color: var(--ink-soft); margin-top: 14px; }

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(16, 20, 16, 0.35); }
.section.alt .card { border-color: transparent; }
.card .chip {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--green-pale);
  border-radius: 999px;
  padding: 6px 12px;
}
.card h3 { font-size: 1.35rem; font-weight: 800; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card ul { list-style: none; margin-top: 4px; }
.card ul li {
  padding-left: 22px;
  position: relative;
  font-size: 0.94rem;
  margin-bottom: 8px;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* cta band */
.cta-band {
  background: var(--green-pale);
  border-radius: calc(var(--radius) + 6px);
  padding: 64px 40px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; max-width: 22ch; margin: 0 auto 16px; }
.cta-band p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto 30px; }

/* ---------- logo image ---------- */
.logo-img { height: 44px; width: auto; display: block; }
.nav .logo-img { height: 40px; }
.landing .logo-img { height: 72px; margin: 0 auto; }

/* ---------- wordmark lockup (mark + spelled-out name) ---------- */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup .mark { height: 42px; width: auto; display: block; }
.wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark .wm-top {
  font-family: "Montserrat", var(--font-body);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.09em;
  color: var(--black);
}
.wordmark .wm-bottom {
  font-family: "Montserrat", var(--font-body);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  color: var(--black);
  margin-top: 2px;
}

/* ---------- stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.stat {
  border-top: 2px solid var(--black);
  padding-top: 18px;
}
.stat .stat-v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  display: block;
}
.stat .stat-v em { font-style: normal; color: var(--green-dark); }
.stat .stat-k { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-step {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.process-step .p-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--green-pale);
  border-radius: 999px;
  padding: 6px 13px;
  display: inline-block;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.process-step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details {
  background: var(--white);
  border: 1px solid #e2e6e2;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 22px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--green-dark);
  flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { background: var(--green-pale); }
.faq .faq-a { padding: 16px 22px 20px; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- site footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  margin-top: 40px;
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 24px 48px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-footer .f-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  max-width: 30ch;
  margin-top: 18px;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}
.site-footer ul a:hover { color: var(--green); }
.site-footer .f-contact li { color: rgba(255, 255, 255, 0.8); font-size: 0.94rem; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .footer-bottom-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer .footer-bottom-inner a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer .footer-bottom-inner a:hover { color: var(--green); }

@media (max-width: 900px) {
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .site-footer .footer-top { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */
.about-hero { padding: 88px 0 56px; }
.about-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 800; max-width: 18ch; margin-top: 20px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 88px;
}
.about-grid .body-copy p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.05rem; }
.about-facts { display: grid; gap: 14px; }
.fact {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.fact .fact-k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 6px;
}
.fact .fact-v { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing { background: var(--gray); }
.landing-inner { max-width: 880px; margin: 0 auto; padding: 64px 24px 96px; text-align: center; }

.landing .logo { justify-content: center; font-size: 1.25rem; }

.landing h1 {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  font-weight: 800;
  margin: 28px auto 16px;
  max-width: 20ch;
}
.landing .sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 54ch; margin: 0 auto; }
.landing .ps {
  margin: 22px auto 0;
  max-width: 60ch;
  font-size: 0.95rem;
}
.landing .ps a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.landing .ps .stars { color: var(--green-dark); letter-spacing: 2px; }

/* step markers — part of the pipeline-rail signature */
.step {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 72px auto 26px;
}
.step .step-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--green);
  color: var(--black);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}
.step h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 800; }

/* dotted connector between steps */
.step-connector {
  width: 2px;
  height: 56px;
  margin: 56px auto -30px;
  background-image: linear-gradient(var(--black) 55%, transparent 55%);
  background-size: 2px 10px;
}

/* video placeholder */
.video-shell {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 24px 60px -30px rgba(16, 20, 16, 0.35);
}
.video-ph {
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 8px);
  background:
    radial-gradient(circle at 50% 45%, var(--green-pale) 0%, transparent 60%),
    var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.play-btn {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn::after {
  content: "";
  border-left: 22px solid var(--black);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 5px;
}
.video-ph span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); }

/* trusted-by strip */
.trusted {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.trusted .t-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.trusted .t-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  opacity: 0.55;
}

/* form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px clamp(24px, 6vw, 56px);
  text-align: left;
  box-shadow: 0 24px 60px -30px rgba(16, 20, 16, 0.35);
  max-width: 640px;
  margin: 0 auto;
}
.field { margin-bottom: 26px; }
.field > label, .field > .group-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.req { color: var(--green-dark); }
.field .hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 15px;
  border: 1.5px solid #d8ddd8;
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-pale);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1.5px solid #d8ddd8;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.93rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-row:hover { border-color: var(--green); }
.radio-row input { accent-color: var(--green-dark); width: 17px; height: 17px; }
.radio-row:has(input:checked) { background: var(--green-pale); border-color: var(--green); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin-top: 16px; }

.landing-footer { text-align: center; padding: 0 24px 48px; }
.landing-footer p { font-size: 0.82rem; color: var(--ink-soft); }
.landing-footer a { font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 60px 0; }
  .nav-links a.link { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 8px; margin-top: 56px; }
}

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