/*
Theme Name: Cleff
Theme URI: https://chordo.io
Author: Pete Cho / Effort Labs
Author URI: https://effortlabs.com
Description: The official Cleff landing page theme — The Music Industry's Operating System. Every note. One cleff. One stop.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleff
Tags: music, landing-page, one-page, custom-colors, custom-logo, full-width-template
*/

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Design Tokens ──────────────────────────────────────────────────────────── */
:root {
  --green:        #22c55e;
  --green-dark:   #16a34a;
  --green-darker: #166534;
  --green-fill:   #dcfce7;
  --green-pale:   #f0fdf4;
  --text-primary: #1a1a1a;
  --text-mid:     #444;
  --text-muted:   #666;
  --text-faint:   #888;
  --surface-0:    #ffffff;
  --surface-1:    #fafafa;
  --surface-2:    #f5f5f5;
  --border:       #e8e8e8;
  --border-light: #f0f0f0;
  --radius-card:  12px;
  --radius-btn:   8px;
  --font:         'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
}

/* ── Base ───────────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font);
  background: var(--surface-0);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Nav ────────────────────────────────────────────────────────────────────── */
#cleff-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: border-color 0.3s, box-shadow 0.3s;
}
#cleff-nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--green-dark); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--green);
  padding: 9px 22px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-dark); color: #fff; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
#cleff-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}
#cleff-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #e8e8e8 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}
#cleff-hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(34,197,94,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  border: 1px solid #bbf7d0;
  color: var(--green-darker);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 32px;
  position: relative;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -3px;
  color: var(--text-primary);
  margin-bottom: 28px;
  position: relative;
}
.hero-title em { font-style: italic; color: var(--green-dark); }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
  position: relative;
}
.hero-sub strong { color: var(--text-primary); font-weight: 500; }
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--border), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); color: #fff; }
.btn-ghost {
  background: var(--surface-0);
  color: var(--text-muted);
  padding: 14px 36px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-ghost:hover { border-color: #ccc; color: var(--text-primary); transform: translateY(-1px); }

/* ── Shared layout ──────────────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
section { position: relative; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-darker);
  background: var(--green-pale);
  border: 1px solid #bbf7d0;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}
.section-heading em { font-style: italic; color: var(--green-dark); }
.body-text { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.body-text p + p { margin-top: 18px; }
.body-text strong { color: var(--text-primary); font-weight: 500; }

/* ── Stat strip ─────────────────────────────────────────────────────────────── */
.stat-strip {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item {
  padding: 0 48px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -3px;
  display: block;
}
.stat-num span { color: var(--green-dark); }
.stat-lbl {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 8px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── Problem ────────────────────────────────────────────────────────────────── */
#cleff-problem {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-light);
}
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── Chain ──────────────────────────────────────────────────────────────────── */
#cleff-chain { padding: 100px 0; border-bottom: 1px solid var(--border-light); }
.chain-header { text-align: center; margin-bottom: 56px; }
.chain-header .section-heading { margin-bottom: 14px; }
.chain-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 16px;
}
.chain-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: default;
  transition: transform 0.25s;
  min-width: 86px;
}
.chain-step:hover { transform: translateY(-3px); }
.chain-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-0);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
  transition: all 0.25s;
}
.chain-step:hover .chain-step-num {
  background: var(--green-fill);
  border-color: var(--green);
  color: var(--green-darker);
}
.chain-step-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}
.chain-sep { color: var(--border); font-size: 18px; margin-bottom: 28px; flex-shrink: 0; padding: 0 2px; }

/* ── Audiences tabs ─────────────────────────────────────────────────────────── */
#cleff-audiences {
  padding: 100px 0;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
}
.audiences-hd { margin-bottom: 44px; }
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
}
.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  padding: 11px 20px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.tab-btn:hover { color: var(--text-mid); }
.tab-btn.active { color: var(--green-darker); border-bottom-color: var(--green); }
.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  animation: panelIn 0.3s ease;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pitch-role {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.pitch-quote {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-primary);
  padding: 20px 20px 20px 22px;
  border-left: 3px solid var(--green);
  background: var(--green-pale);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  margin-bottom: 24px;
}
.pitch-body { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.pitch-body strong { color: var(--text-primary); font-weight: 500; }
.pitch-features {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface-0);
}
.pitch-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  transition: background 0.2s;
}
.pitch-features li:last-child { border-bottom: none; }
.pitch-features li:hover { background: var(--green-pale); }
.pitch-features li::before {
  content: '✓';
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  width: 14px;
}

/* ── Pillars ────────────────────────────────────────────────────────────────── */
#cleff-pillars { padding: 100px 0; border-bottom: 1px solid var(--border-light); }
.pillars-hd { text-align: center; margin-bottom: 52px; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.pillar-card { background: var(--surface-0); padding: 32px 26px; transition: background 0.2s; }
.pillar-card:hover { background: var(--green-pale); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -1px;
  transition: color 0.2s;
}
.pillar-card:hover .pillar-num { color: #bbf7d0; }
.pillar-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.pillar-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ── Accountability ─────────────────────────────────────────────────────────── */
#cleff-accountability {
  padding: 100px 0;
  background: var(--text-primary);
  text-align: center;
}
#cleff-accountability .section-label {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.25);
  color: var(--green);
  justify-content: center;
}
.big-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  max-width: 760px;
  margin: 0 auto 56px;
  letter-spacing: -0.5px;
}
.big-quote em { font-style: italic; color: var(--green); }
.chain-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #2a2a2a;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-card);
  overflow: hidden;
  text-align: left;
}
.chain-rule {
  padding: 24px;
  background: #1f1f1f;
  font-size: 13px;
  color: #888;
  line-height: 1.65;
  transition: background 0.2s;
}
.chain-rule:hover { background: #222; }
.chain-rule strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

/* ── Pricing ────────────────────────────────────────────────────────────────── */
#cleff-pricing {
  padding: 100px 0;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
}
.pricing-hd { text-align: center; margin-bottom: 16px; }
.pricing-subhead {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.pricing-subhead strong { color: var(--text-primary); font-weight: 500; }

/* Single unified row — all 5 tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.pricing-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.pricing-card {
  background: var(--surface-0);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.2s;
}
.pricing-card:hover { background: var(--green-pale); }
.pricing-card.featured { background: var(--text-primary); }
.pricing-card.featured:hover { background: #222; }
.pricing-tier {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.pricing-card.featured .pricing-tier { color: #666; }
.pricing-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -1.5px;
  margin-bottom: 4px;
}
.pricing-card.featured .pricing-price { color: #fff; }
.pricing-price sup { font-size: 18px; font-weight: 700; letter-spacing: 0; vertical-align: super; }
.pricing-price sub { font-family: var(--font); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--text-faint); }
.pricing-card.featured .pricing-price sub { color: #666; }
.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 14px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  flex: 1;
}
.pricing-card.featured .pricing-desc { color: #888; border-bottom-color: #2a2a2a; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.pricing-features li {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.pricing-card.featured .pricing-features li { color: #888; }
.pricing-features li::before {
  content: '✓';
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.pricing-note strong { color: var(--green-darker); }
.tx-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tx-pill {
  display: inline-block;
  background: var(--green-fill);
  color: var(--green-darker);
  border: 1px solid #bbf7d0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* ── Communication With Intent ───────────────────────────────────────────── */
#cleff-comms {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-light);
}
.comms-hd {
  text-align: center;
  margin-bottom: 52px;
}
.comms-intro {
  max-width: 600px;
  margin: 16px auto 0;
}

/* Section sub-label — matches pillars approach */
.comms-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin: 52px 0 20px;
}

/* Three states — 3-col grid matching pillars */
.comms-states-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.comms-state-card {
  background: var(--surface-0);
  padding: 32px 26px;
  transition: background 0.2s;
}
.comms-state-card:hover { background: var(--green-pale); }
.comms-state-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -1px;
  transition: color 0.2s;
}
.comms-state-card:hover .comms-state-num { color: #bbf7d0; }
.comms-state-name {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-darker);
  background: var(--green-pale);
  border: 1px solid #bbf7d0;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.comms-state-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.comms-state-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Cannot grid — 4-col matching pillars */
.comms-cannot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.comms-cannot-card {
  background: var(--surface-0);
  padding: 28px 24px;
  transition: background 0.2s;
}
.comms-cannot-card:hover { background: var(--surface-1); }
.comms-cannot-num {
  font-size: 16px;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.comms-cannot-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.comms-cannot-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Per-role grid — 4-col matching pillars */
.comms-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.comms-role-card {
  background: var(--surface-0);
  padding: 28px 24px;
  transition: background 0.2s;
}
.comms-role-card:hover { background: var(--green-pale); }
.comms-role-card--dark {
  background: var(--text-primary);
  grid-column: span 1;
}
.comms-role-card--dark:hover { background: #222; }
.comms-role-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.comms-role-num--green { color: var(--green); }
.comms-role-card:hover .comms-role-num { color: #bbf7d0; }
.comms-role-card--dark:hover .comms-role-num--green { color: var(--green); }
.comms-role-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.comms-role-title--light { color: var(--green); }
.comms-role-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.comms-role-desc--light { color: #888; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Pricing grid variant ────────────────────────────────────────────────── */
.pricing-grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ── Tab wrapping on mobile — show 3+4 layout ────────────────────────────── */
@media (max-width: 640px) {
  .tab-btn {
    flex: 0 0 auto;
    font-size: 11px;
    padding: 10px 14px;
  }
}
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface-0);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.team-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.08);
}
.team-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-avatar-initials {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: var(--border);
  user-select: none;
}
.team-body { padding: 22px 22px 24px; }
.team-name { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.team-role {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-darker);
  background: var(--green-pale);
  border: 1px solid #bbf7d0;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  margin: 8px 0 14px;
}
.team-bio { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.team-links { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.team-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.team-link:hover { color: var(--green-dark); border-color: var(--green); }
.team-open-role {
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 280px;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.team-open-role:hover { border-color: var(--green); background: var(--green-pale); }
.open-role-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.open-role-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.open-role-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.open-role-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Funding / Investor Section ──────────────────────────────────────────── */
#cleff-funding { padding: 100px 0; }

.funding-hd {
  text-align: center;
  margin-bottom: 64px;
}
.funding-lead {
  max-width: 640px;
  margin: 20px auto 0;
}

/* Two-col layout */
.funding-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.funding-ask-pill {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--green-darker);
  background: var(--green-pale);
  border: 1px solid #bbf7d0;
  padding: 8px 20px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.funding-ask-pill strong { font-weight: 700; color: var(--green-darker); }

.funding-col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-darker);
  background: var(--green-pale);
  border: 1px solid #bbf7d0;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.funding-col-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.funding-col-body:last-child { margin-bottom: 0; }
.funding-col-body strong { color: var(--text-primary); font-weight: 500; }

/* Revenue model grid */
.funding-model { margin-bottom: 48px; }
.funding-model-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.funding-model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.funding-model-card {
  background: var(--surface-0);
  padding: 32px 24px;
  transition: background 0.2s;
}
.funding-model-card:hover { background: var(--green-pale); }
.funding-model-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -1px;
  transition: color 0.2s;
}
.funding-model-card:hover .funding-model-num { color: #bbf7d0; }
.funding-model-stream {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.funding-model-rate {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--green-darker);
  background: var(--green-fill);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.funding-model-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Compounding catalog callout */
.funding-callout {
  margin-bottom: 64px;
}
.funding-callout-inner {
  background: var(--text-primary);
  border-radius: var(--radius-card);
  padding: 48px;
}
.funding-callout-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 20px;
}
.funding-callout-text {
  font-size: 16px;
  color: #aaa;
  line-height: 1.85;
  max-width: 860px;
}
.funding-callout-text strong { color: #fff; font-weight: 500; }

/* Milestones + CTA bottom layout */
.funding-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.funding-milestones-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.funding-milestone-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.funding-milestone {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  background: var(--surface-0);
  align-items: flex-start;
  transition: background 0.2s;
}
.funding-milestone:hover { background: var(--green-pale); }
.funding-milestone-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--green-darker);
  background: var(--green-fill);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0;
}
.funding-milestone-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.funding-milestone-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* CTA block */
.funding-cta-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
  background: var(--surface-1);
}
.funding-cta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.funding-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.funding-cta-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.funding-cta-coming {
  margin-bottom: 28px;
}
.funding-cta-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  border: 1px dashed var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}
.funding-cta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* ── Funding scenarios ───────────────────────────────────────────────────── */
.funding-scenarios {
  margin-bottom: 64px;
}
.funding-scenarios-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.funding-scenarios-note {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 760px;
  margin-bottom: 32px;
}
.funding-scenarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 20px;
}
.funding-scenario {
  padding: 40px;
  background: var(--surface-0);
}
.funding-scenario--full {
  background: var(--text-primary);
}
.funding-scenario-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.funding-scenario-badge--green {
  color: var(--green-darker);
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.3);
}
.funding-scenario-arr {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.funding-scenario-arr span {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text-faint);
  vertical-align: middle;
  margin-left: 4px;
}
.funding-scenario-arr--green { color: var(--green); }
.funding-scenario-arr--green span { color: rgba(34,197,94,0.5); }
.funding-scenario-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.funding-scenario--full .funding-scenario-desc {
  color: #888;
}
.funding-scenario--full .funding-scenario-desc strong {
  color: #fff;
  font-weight: 500;
}
.funding-scenario-breakdown {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}
.funding-scenario--full .funding-scenario-breakdown {
  border-color: #2a2a2a;
}
.funding-scenario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
  transition: background 0.15s;
}
.funding-scenario--full .funding-scenario-row {
  border-bottom-color: #2a2a2a;
  color: #666;
}
.funding-scenario-row:last-child { border-bottom: none; }
.funding-scenario-row span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 12px;
}
.funding-scenario--full .funding-scenario-row span:last-child {
  color: #aaa;
}
.funding-scenario-row--total {
  background: var(--surface-1);
  font-weight: 600;
}
.funding-scenario--full .funding-scenario-row--total {
  background: #1a1a1a;
}
.funding-scenario-row--total span:first-child {
  color: var(--text-primary);
  font-weight: 700;
}
.funding-scenario--full .funding-scenario-row--total span:first-child {
  color: #fff;
}
.funding-scenario-row--total span:last-child {
  color: var(--green-dark) !important;
  font-size: 13px;
}
.funding-scenarios-footnote {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
  font-style: italic;
  max-width: 800px;
  padding-left: 1px;
  border-left: 3px solid var(--border);
  padding-left: 16px;
}
#cleff-footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.footer-logo span { color: var(--green-dark); }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer-contact { font-size: 13px; color: var(--text-muted); }
.footer-contact a { color: var(--green-dark); text-decoration: none; font-weight: 500; }
.footer-contact a:hover { text-decoration: underline; }

/* ── Reveal animations ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ── WordPress core alignment & block compatibility ─────────────────────────── */
.wp-block-image { margin: 0; }
.alignwide  { max-width: 1280px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100%; max-width: none; }
.wp-site-blocks { padding: 0 !important; }
.is-layout-constrained > * { max-width: none; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  #cleff-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .container { padding: 0 24px; }
  #cleff-hero { padding: 100px 24px 70px; }
  .problem-layout, .funding-layout, .funding-two-col, .funding-bottom, .funding-scenarios-grid { grid-template-columns: 1fr; gap: 40px; }
  .tab-panel.active { grid-template-columns: 1fr; gap: 32px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .chain-rules { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 28px 24px; }
  .stat-item:last-child { border-bottom: none; }
  #cleff-footer { padding: 28px 24px; flex-direction: column; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .funding-model-grid { grid-template-columns: 1fr 1fr; }
  .funding-callout-inner { padding: 32px 24px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .comms-states-grid { grid-template-columns: 1fr; }
  .comms-cannot-grid { grid-template-columns: 1fr 1fr; }
  .comms-roles-grid { grid-template-columns: 1fr 1fr; }
  .comms-role-card--dark { grid-column: span 2; }
}
@media (max-width: 600px) {
  .pillars-grid, .chain-rules { grid-template-columns: 1fr; }
  .chain-flow { padding: 20px 8px; }
  .chain-step { padding: 10px 10px; min-width: 72px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-5 { grid-template-columns: 1fr 1fr; }
  .funding-model-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid-4 { grid-template-columns: 1fr 1fr; }
  .comms-cannot-grid { grid-template-columns: 1fr; }
  .comms-roles-grid { grid-template-columns: 1fr; }
  .comms-role-card--dark { grid-column: span 1; }
}
@media (max-width: 420px) {
  .pricing-grid-5 { grid-template-columns: 1fr; }
  .team-grid-4 { grid-template-columns: 1fr; }
}
