/* =========================================================
   Live Projects Page — live-projects.css
   Color tokens match placements.css
   ========================================================= */
:root {
  --lp-green : #1A5200;
  --lp-gold  : #C8960C;
  --lp-dark  : #0d2b00;
  --lp-light : #f4f8f2;
  --lp-white : #ffffff;
  --lp-gray  : #6b7280;
  --lp-border: #d1e7c8;
  --lp-radius: 12px;
  --lp-shadow: 0 4px 24px rgba(26,82,0,.10);
}

/* ── Reset helpers ── */
.lp-page * { box-sizing: border-box; }
.lp-page { font-family: inherit; color: #1a1a1a; }

/* =========================================================
   § 1  HERO
   ========================================================= */
.lp-hero {
  position: relative;
  background: var(--lp-dark);
  color: var(--lp-white);
  padding: 80px 20px 60px;
  overflow: hidden;
  text-align: center;
}
.lp-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(26,82,0,.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(200,150,12,.18) 0%, transparent 60%);
  z-index: 0;
}
.lp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}
.lp-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75) !important;
  margin-bottom: 14px;
}
.lp-kicker--gold { color: var(--lp-gold) !important; }

.lp-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.lp-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88) !important;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0,0,0,.2);
}

/* stat strip */
.lp-hero__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.lp-hero__stat {
  padding: 12px 32px;
  text-align: center;
}
.lp-hero__stat-div {
  width: 1px;
  background: rgba(255,255,255,.2);
  align-self: stretch;
}
.lp-hero__stat-val {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lp-gold);
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}
.lp-hero__stat-lbl {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.88) !important;
  margin-top: 8px;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: .03em;
}

/* =========================================================
   § 2  FEATURED PROJECT
   ========================================================= */
.lp-featured {
  background: var(--lp-light);
  padding: 64px 20px;
}
.lp-featured__card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--lp-white);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--lp-border);
}
.lp-featured__left {
  background: var(--lp-green);
  color: var(--lp-white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lp-featured__right {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* badge row */
.lp-featured__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lp-featured__label {
  background: var(--lp-gold);
  color: #000;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.lp-featured__year {
  font-size: .82rem;
  color: rgba(255,255,255,.7) !important;
}
.lp-featured__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.lp-featured__title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #ffffff !important;
}
.lp-featured__summary {
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255,255,255,.88) !important;
}
.lp-featured__outcome {
  background: rgba(255,255,255,.14);
  border-left: 3px solid var(--lp-gold);
  padding: 14px 18px;
  font-size: .88rem;
  border-radius: 0 6px 6px 0;
  color: rgba(255,255,255,.92) !important;
}
.lp-featured__outcome-icon { margin-right: 6px; }

/* detail chips — white box inside green bg */
.lp-featured__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-featured__detail {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff !important;
  font-size: .9rem;
  line-height: 1.4;
}
.lp-featured__detail-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  opacity: .85;
}
.lp-featured__detail span:last-child {
  font-weight: 500;
}

/* quote block — on right side (white bg) */
.lp-featured__quote {
  background: var(--lp-light);
  border-left: 3px solid var(--lp-green);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  font-style: italic;
  font-size: .9rem;
  color: #333 !important;
  line-height: 1.6;
  margin: 0;
}
.lp-featured__quote p { margin: 0 0 10px; }
.lp-featured__quote footer {
  font-style: normal;
  font-size: .82rem;
  color: var(--lp-gray) !important;
  font-weight: 600;
}
.lp-featured__client-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  margin-top: auto;
}

/* placeholder state */
.lp-featured__placeholder-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 8px;
}
.lp-featured__placeholder-text {
  font-size: .9rem;
  opacity: .7;
}

/* =========================================================
   § 3  PROJECT GRID
   ========================================================= */
.lp-projects {
  padding: 64px 20px;
  background: var(--lp-white);
}
.lp-section-head {
  max-width: 1100px;
  margin: 0 auto 36px;
  text-align: center;
}
.lp-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--lp-dark);
  margin: 0 0 10px;
}
.lp-section-desc {
  font-size: 1rem;
  color: var(--lp-gray);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* filter tabs */
.lp-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto 36px;
}
.lp-filter {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--lp-border);
  background: var(--lp-white);
  color: var(--lp-gray);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.lp-filter:hover {
  border-color: var(--lp-green);
  color: var(--lp-green);
}
.lp-filter.active {
  background: var(--lp-green);
  border-color: var(--lp-green);
  color: var(--lp-white);
}

/* grid */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.lp-card {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.lp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,82,0,.15);
}
.lp-card.hidden { display: none; }

.lp-card__img-wrap {
  height: 180px;
  overflow: hidden;
  background: var(--lp-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.lp-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lp-card__cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.lp-card__year {
  font-size: .78rem;
  color: var(--lp-gray);
}
.lp-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d2b00 !important;
  line-height: 1.3;
  margin: 0;
}
.lp-card__excerpt {
  font-size: .88rem;
  color: #4b5563 !important;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lp-card__outcome {
  background: var(--lp-light);
  border-left: 3px solid var(--lp-green);
  padding: 8px 10px;
  font-size: .8rem;
  border-radius: 0 6px 6px 0;
  color: var(--lp-dark);
}
.lp-card__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.lp-card__tool {
  font-size: .72rem;
  background: #edf7e6;
  color: var(--lp-green);
  border-radius: 4px;
  padding: 3px 8px;
  font-weight: 600;
}
.lp-card__foot {
  border-top: 1px solid var(--lp-border);
  padding: 12px 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-card__meta-item {
  font-size: .78rem;
  color: var(--lp-gray);
  display: flex;
  align-items: center;
  gap: 4px;
}
.lp-card__meta-item span { font-size: .9em; }

/* placeholder note */
.lp-placeholder-note {
  text-align: center;
  font-size: .82rem;
  color: var(--lp-gray);
  margin-top: 28px;
  font-style: italic;
}
.lp-empty {
  text-align: center;
  padding: 48px;
  color: var(--lp-gray);
  font-size: .95rem;
}

/* =========================================================
   § 4  HOW IT WORKS
   ========================================================= */
.lp-hiw {
  background: var(--lp-light);
  padding: 64px 20px;
}
.lp-hiw-steps {
  display: flex;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  align-items: flex-start;
}
.lp-hiw-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.lp-hiw-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lp-green);
  color: var(--lp-white);
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.lp-hiw-step__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}
.lp-hiw-step__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--lp-dark);
  margin-bottom: 8px;
}
.lp-hiw-step__desc {
  font-size: .82rem;
  color: var(--lp-gray);
  line-height: 1.55;
}
.lp-hiw-step__arrow {
  position: absolute;
  top: 18px;
  right: -24px;
  font-size: 1.4rem;
  color: var(--lp-gold);
  z-index: 3;
}

/* connecting line */
.lp-hiw-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(10% + 8px);
  right: calc(10% + 8px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--lp-border) 0,
    var(--lp-border) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

/* =========================================================
   § 5  PARTNER CTA
   ========================================================= */
.lp-partner-cta {
  background: var(--lp-green);
  color: var(--lp-white);
  padding: 64px 20px;
}
.lp-partner-cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.lp-partner-cta__title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  margin: 0 0 14px;
  color: #ffffff !important;
}
.lp-partner-cta__desc {
  font-size: .95rem;
  color: rgba(255,255,255,.9) !important;
  line-height: 1.6;
  margin-bottom: 20px;
}
.lp-partner-cta__points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-partner-cta__points li {
  font-size: .9rem;
  opacity: .92;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-partner-cta__points li::before {
  content: '✓';
  color: var(--lp-gold);
  font-weight: 700;
  flex-shrink: 0;
}
.lp-partner-cta__left .lp-btn {
  margin-top: 8px;
  display: inline-block;
}
.lp-partner-cta__visual {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--lp-radius);
  padding: 36px 40px;
  text-align: center;
  min-width: 260px;
}
.lp-partner-cta__visual .cta-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.lp-partner-cta__visual .cta-sub {
  font-size: .82rem;
  opacity: .7;
  margin-bottom: 20px;
}

/* =========================================================
   § BUTTONS
   ========================================================= */
.lp-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.lp-btn--gold {
  background: var(--lp-gold);
  color: #000;
}
.lp-btn--gold:hover {
  background: #b5850a;
  color: #000;
}
.lp-btn--outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--lp-white);
}
.lp-btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--lp-white);
}

/* =========================================================
   § CATEGORY COLOR TOKENS
   ========================================================= */
/* tech */
.lp-cat-tech   { background: #e0f0ff; color: #0050b3; }
/* data */
.lp-cat-data   { background: #f0e6ff; color: #6200b3; }
/* marketing */
.lp-cat-marketing { background: #fff3e0; color: #b36200; }
/* finance */
.lp-cat-finance { background: #e6ffe0; color: #2d7a00; }
/* operations */
.lp-cat-operations { background: #fff0f0; color: #b30000; }
/* design */
.lp-cat-design { background: #ffe0f5; color: #8c0060; }

/* =========================================================
   § RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .lp-featured__card { grid-template-columns: 1fr; }
  .lp-featured__left { padding: 36px 28px; }
  .lp-featured__right { padding: 36px 28px; }

  .lp-partner-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lp-partner-cta__points { align-items: flex-start; }
  .lp-partner-cta__visual { min-width: unset; }
}

@media (max-width: 768px) {
  .lp-hero { padding: 60px 16px 40px; }
  .lp-hero__stat { padding: 10px 18px; }
  .lp-hero__stat-val { font-size: 1.5rem; }

  .lp-featured,
  .lp-projects,
  .lp-hiw,
  .lp-partner-cta { padding: 44px 16px; }

  .lp-featured__details { grid-template-columns: 1fr; }

  .lp-hiw-steps {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .lp-hiw-steps::before { display: none; }
  .lp-hiw-step { max-width: 360px; }
  .lp-hiw-step__arrow { display: none; }
}

@media (max-width: 600px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-hero__stats { flex-direction: column; gap: 4px; }
  .lp-hero__stat-div { display: none; }
  .lp-filters { gap: 6px; }
  .lp-filter { padding: 6px 14px; font-size: .8rem; }
}
