/*
 * What We Do Page Styles
 * Tekvera Initiative Theme
 */

/* ── Shared text/heading styles used across pillar sections ────────────────── */
.tv-wwd-headline {
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 300;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.tv-pillar-heading {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 1.35rem;
}

.tv-pillar-heading--dark { color: #fff; }

.tv-pillar-lead {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.tv-pillar-lead--dark  { color: rgba(255, 255, 255, 0.55); }
.tv-pillar-lead--light { color: var(--tv-text-secondary); }

/* Shorter bottom gap when followed by a second body paragraph */
.tv-pillar-lead--tight { margin-bottom: 1.25rem; }

/* Secondary body paragraph inside pillar-3 */
.tv-pillar-body2 {
  font-size: 0.95rem;
  color: var(--tv-text-secondary);
  line-height: 1.82;
  margin-bottom: 2rem;
}

/* ── Pillar visual helpers ─────────────────────────────────────────────────── */
.tv-pv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  display: block;
}

.tv-pv-placeholder-text {
  font-family: var(--tv-font-serif);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.38);
  font-style: italic;
  padding: 0 2rem;
  text-align: center;
}

.tv-pvc-plus {
  font-size: 1.1rem;
  font-weight: 300;
}

/* ── Button row helper ────────────────────────────────────────────────────── */
.tv-btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tv-btn-row--top-gap { margin-top: 2rem; }

.tv-btn-outline--top-gap { margin-top: 2rem; }

/* Vertically centers a smaller button alongside a larger primary button */
.tv-btn--center { align-self: center; }

/* ── Empowering lives (pillar 4) typography ───────────────────────────────── */
.tv-empower-heading {
  color: #fff;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

.tv-empower-body1 {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.82;
  margin-bottom: 1.25rem;
}

.tv-empower-body2 {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.78;
  margin-bottom: 2rem;
}

/* ── Approach (HCD) secondary paragraph ───────────────────────────────────── */
.tv-wwd-approach-body2 {
  font-size: 0.88rem;
  color: var(--tv-text-tertiary);
  line-height: 1.78;
}

.tv-wwd-approach-cta { margin-top: 1.5rem; }


/* ── Overview quick nav ───────────────────────────────────── */
.tv-wwd-overview { background: var(--tv-cream); }

.tv-wwd-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.tv-wwd-overview-left h2 { font-size: clamp(2rem, 3vw, 2.9rem); font-weight: 300; margin-top: 1rem; margin-bottom: 1.5rem; }
.tv-wwd-overview-left p  { font-size: .96rem; color: var(--tv-text-secondary); line-height: 1.82; margin-bottom: 1.1rem; }

/* Pillar nav links */
.tv-pillar-nav { display: flex; flex-direction: column; gap: .78rem; }

.tv-pillar-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--tv-white);
  border: 1px solid var(--tv-border);
  border-radius: 14px;
  transition: all .22s var(--tv-ease-default);
  text-decoration: none;
}

.tv-pillar-nav-link:hover { border-color: var(--tv-green-300); box-shadow: var(--tv-shadow-sm); transform: translateX(4px); }
.tv-pillar-nav-link:hover .tv-pnl-arrow { color: var(--tv-green-600); transform: translateX(3px); }

.tv-pnl-num { font-family: var(--tv-font-serif); font-size: 1.5rem; font-weight: 600; color: var(--tv-green-200); line-height: 1; width: 2rem; flex-shrink: 0; }
.tv-pnl-text h4 { font-size: .96rem; font-weight: 600; color: var(--tv-text-primary); margin-bottom: .35rem; }
.tv-pnl-text p  { font-size: .92rem; color: var(--tv-text-tertiary); line-height: 1.15; }
.tv-pnl-arrow   { margin-left: auto; color: var(--tv-text-muted); flex-shrink: 0; transition: all .22s; }

/* ── Pillar sections ──────────────────────────────────────── */
.tv-pillar-sec { position: relative; overflow: hidden; }
.tv-pillar-sec--dark    { background: var(--tv-green-900); }
.tv-pillar-sec--white   { background: var(--tv-white); }
.tv-pillar-sec--cream   { background: var(--tv-cream); }
.tv-pillar-sec--darkest { background: var(--tv-green-950); }

.tv-pillar-feature {
  display: grid;
  gap: 5.5rem;
  align-items: center;
}

.tv-pillar-feature--2col { grid-template-columns: 1fr 1fr; }

/* Visual */
.tv-pillar-visual { position: relative; border-radius: 24px; overflow: hidden; }
.tv-pv-tall  { aspect-ratio: 4 / 5; }
.tv-pv-short { aspect-ratio: 3 / 2; }

.tv-pv-fill {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2rem;
}

.tv-pv-dark   { background: linear-gradient(145deg, #061C13, #0C3D2E 50%, #1E7254); }
.tv-pv-darker { background: linear-gradient(145deg, #030F09, #061C13 50%, #0C3D2E); }
.tv-pv-amber  { background: linear-gradient(145deg, #0C3D2E, #155740 50%, #1E7254); }
.tv-pv-mixed  { background: linear-gradient(145deg, #061C13, #1E7254 50%, #279068); }

.tv-pv-label {
  position: absolute; top: 1.5rem; left: 1.5rem;
  background: rgba(6,28,19,.72); border-radius: 10px;
  padding: .6rem 1rem; font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75);
}

.tv-pv-chip {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: rgba(6,28,19,.82); border-radius: 12px;
  padding: 1rem 1.25rem; min-width: 140px;
}

.tv-pvc-n { font-family: var(--tv-font-serif); font-size: 2rem; font-weight: 600; color: var(--tv-amber-300); line-height: 1; margin-bottom: .25rem; }
.tv-pvc-l { font-size: .72rem; color: rgba(255,255,255,.5); line-height: 1.42; }

/* Pillar number badge */
.tv-pillar-num-badge { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.tv-pnb-circle { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--tv-font-serif); font-size: 1rem; font-weight: 600; flex-shrink: 0; }
.tv-pnb-circle--dark  { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.tv-pnb-circle--light { background: var(--tv-green-50); color: var(--tv-green-700); }
.tv-pnb-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tv-pnb-label--green      { color: var(--tv-green-400); }
.tv-pnb-label--green-dark { color: var(--tv-green-600); }

/* Action cards 2x2 */
.tv-action-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tv-acard { padding: 1.5rem; border-radius: 16px; border: 1px solid; }
.tv-acard--light { background: var(--tv-green-50); border-color: var(--tv-green-100); }
.tv-acard--dark  { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }

.tv-acard-ico {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; margin-bottom: .85rem;
}

.tv-acard--light .tv-acard-ico { background: var(--tv-green-100); }
.tv-acard--dark  .tv-acard-ico { background: rgba(255,255,255,.07); }

.tv-acard h4 { font-family: var(--tv-font-serif); font-size: .95rem; font-weight: 600; margin-bottom: .4rem; line-height: 1.28; }
.tv-acard--light h4 { color: var(--tv-text-primary); }
.tv-acard--dark  h4 { color: #fff; }
.tv-acard p { font-size: .92rem; line-height: 1.4; }
.tv-acard--light p { color: var(--tv-text-secondary); }
.tv-acard--dark  p { color: rgba(255,255,255,.48); }

/* Partnership types */
.tv-partnership-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.tv-pt-card {
  border: 1px solid var(--tv-border);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  transition: all .22s;
}

.tv-pt-card:hover { border-color: var(--tv-green-200); box-shadow: var(--tv-shadow-sm); }
.tv-pt-ico { width: 38px; height: 38px; border-radius: 9px; background: var(--tv-green-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tv-pt-card h4 { font-size: .88rem; font-weight: 600; color: var(--tv-text-primary); margin-bottom: .25rem; }
.tv-pt-card p  { font-size: .88rem; color: var(--tv-text-tertiary); line-height: 1.35; }

/* ── Stats strip ──────────────────────────────────────────── */
.tv-wwd-stats-strip { background: var(--tv-green-800); position: relative; overflow: hidden; }
.tv-wwd-stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
}

.tv-wwd-ss-inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
.tv-wwd-ss-stat { padding: 2.5rem 2rem; border-right: 1px solid rgba(255,255,255,.08); text-align: center; }
.tv-wwd-ss-stat:last-child { border-right: none; }
.tv-wwd-ss-n { font-family: var(--tv-font-serif); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 600; color: var(--tv-amber-300); line-height: 1; letter-spacing: -.025em; margin-bottom: .4rem; }
.tv-wwd-ss-l { font-size: .82rem; color: rgba(255,255,255,.55); font-weight: 500; }

/* ── Empowering lives — community grid ────────────────────── */
.tv-empower-sec { background: var(--tv-green-900); position: relative; overflow: hidden; }
.tv-empower-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 60px 60px;
}

.tv-empower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5.5rem; align-items: center; position: relative; z-index: 1; }

.tv-empower-list { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2.25rem; }
.tv-empower-item { display: flex; align-items: center; gap: .85rem; font-size: .88rem; color: rgba(255,255,255,.65); }

.tv-empower-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(57,173,130,.18); border: 1px solid rgba(57,173,130,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.tv-community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tv-cg-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 1.75rem 1.5rem; text-align: center; transition: all .25s; }
.tv-cg-card:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.tv-cg-ico { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; }
.tv-cg-card h4 { font-family: var(--tv-font-serif); font-size: .95rem; font-weight: 500; color: #fff; margin-bottom: .35rem; }
.tv-cg-card p  { font-size: .92rem; color: rgba(255,255,255,.42); line-height: 1.35; }

/* ── Design thinking approach ─────────────────────────────── */
.tv-wwd-approach { background: var(--tv-cream); }

.tv-wwd-approach-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 5rem;
  align-items: start;
}

.tv-wwd-approach-sticky {
  position: sticky;
  top: calc(var(--tv-nav-height) + 2rem);
}

.tv-wwd-approach-sticky h2 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 300; margin-top: 1rem; margin-bottom: 1.25rem; }
.tv-wwd-approach-sticky p  { font-size: .94rem; color: var(--tv-text-secondary); line-height: 1.8; margin-bottom: 1.1rem; }

/* Steps */
.tv-approach-steps { display: flex; flex-direction: column; }
.tv-astep {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--tv-border);
}
.tv-astep:last-child { border-bottom: none; }

.tv-astep-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--tv-green-800); display: flex; align-items: center; justify-content: center;
  font-family: var(--tv-font-serif); font-size: .92rem; font-weight: 600; color: #fff;
  flex-shrink: 0; margin-top: .2rem; transition: all .3s;
}

.tv-astep:hover .tv-astep-num { background: var(--tv-amber-400); color: var(--tv-green-900); transform: scale(1.08); }

.tv-astep-body h4 { font-family: var(--tv-font-serif); font-size: 1.1rem; font-weight: 500; color: var(--tv-text-primary); margin-bottom: .55rem; }
.tv-astep-body p  { font-size: .96rem; color: var(--tv-text-secondary); line-height: 1.6; }

.tv-astep-tags    { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .85rem; }
.tv-astep-tag     { background: var(--tv-green-50); border: 1px solid var(--tv-green-100); border-radius: 9999px; padding: .2rem .65rem; font-size: .78rem; font-weight: 600; color: var(--tv-green-700); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tv-wwd-overview-grid,
  .tv-pillar-feature--2col,
  .tv-empower-grid { grid-template-columns: 1fr; gap: 3rem; }
  .tv-wwd-approach-inner { grid-template-columns: 1fr; gap: 3rem; }
  .tv-wwd-approach-sticky { position: static; }
  .tv-wwd-ss-inner { grid-template-columns: repeat(2, 1fr); }
  .tv-wwd-ss-stat:nth-child(2) { border-right: none; }
  .tv-wwd-ss-stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 768px) {
  .tv-action-cards,
  .tv-community-grid,
  .tv-partnership-types { grid-template-columns: 1fr; }
  .tv-wwd-ss-inner { grid-template-columns: 1fr; }
  .tv-wwd-ss-stat  { padding: 2rem 1.5rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .tv-wwd-ss-stat:last-child { border-bottom: none; }

  /* Tighter section padding on mobile */
  .tv-pillar-sec,
  .tv-wwd-overview,
  .tv-empower-sec,
  .tv-wwd-approach { padding: 4rem 0; }
}

/* Mobile: icon beside title (action + community cards) */
@media (max-width: 768px) {
  .tv-acard {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "desc  desc";
    column-gap: 1rem;
    row-gap: 0.55rem;
    align-items: center;
  }
  .tv-acard-ico { grid-area: icon; margin-bottom: 0; }
  .tv-acard h4 {
    grid-area: title;
    margin-bottom: 0;
    font-size: 1.05rem;
    letter-spacing: 0.22px;
  }
  .tv-acard p {
    grid-area: desc;
    font-size: .98rem;
    line-height: 1.45;
  }

  .tv-cg-card {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "desc desc";
    column-gap: 1rem;
    row-gap: 0.55rem;
    align-items: center;
  }
  .tv-cg-ico    { grid-area: icon; margin: 0; }
  .tv-cg-card h4 { grid-area: title; margin-bottom: 0; font-size: 1.05rem; }
  .tv-cg-card p {
    grid-area: desc;
    font-size: .98rem;
    color: rgba(255,255,255,.42);
    line-height: 1.35;
  }
}

@media (max-width: 768px) {
  .tv-pillar-body2 {
    font-size: 0.98rem;
    color: var(--tv-text-secondary);
    line-height: 1.82;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .tv-empower-body1 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.82;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 768px) {
  .tv-empower-body2 {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.78;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .tv-pnl-text h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--tv-text-primary);
    margin-bottom: .2rem;
    letter-spacing: 0.15px;
  }
  .tv-pnl-text p {
    font-size: .92rem;
    color: var(--tv-text-tertiary);
    line-height: 1.25;
    margin-top: 5px;
  }
}

@media (max-width: 768px) {
  .tv-pvc-l {
    font-size: .88rem;
    color: rgba(255,255,255,.5);
    line-height: 1.42;
  }
}

@media (max-width: 768px) {
  .tv-pt-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tv-text-primary);
    margin-bottom: .25rem;
    letter-spacing: 0.2px;
  }
  .tv-pt-card p {
    font-size: .95rem;
    color: var(--tv-text-tertiary);
    line-height: 1.25;
  }
}

@media (max-width: 768px) {
  .tv-empower-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    font-size: .98rem;
    color: rgba(255,255,255,.65);
  }
}

@media (max-width: 768px) {
  .tv-wwd-approach-sticky p {
    font-size: 1.05rem;
    color: var(--tv-text-secondary);
    line-height: 1.55;
    margin-bottom: 1.1rem;
  }
}

@media (max-width: 768px) {
  .tv-astep-body h4 {
    font-size: 1.15rem;
  }
  .tv-astep-body p {
    font-size: 1.02rem;
    color: var(--tv-text-secondary);
    line-height: 1.55;
  }
  .tv-astep-tag {
    font-size: .82rem;
  }
}

@media (max-width: 480px) {
  .tv-astep { grid-template-columns: 40px 1fr; gap: 0.85rem; padding: 1.5rem 0; }
  .tv-astep-num { width: 34px; height: 34px; font-size: 0.82rem; }
  .tv-acard { padding: 1.25rem; }
}
