/* /playbooks/autonomous-teams/: ported from the WordPress page https://novatools.org/leadershipplaybook/ (scripts/port/port.mjs),
   restyled to the enterprise look of the home page and src/css/playbooks.css: navy ink, grey text, hairline
   dividers, monochrome line art (src/_includes/art/) and the Playfair italic accent. No decorative colour. */

.nv-wrap {
  --ink: #13233d; --body: #475569; --muted: #64748b; --faint: #94a3b8;
  --line: #e6ebf2; --hair: #edf2f9; --bg: #f9fcfe;
}
.nv-wrap * { margin: 0; padding: 0; box-sizing: border-box; }
.nv-wrap { font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: var(--body); font-size: 17px; line-height: 1.7; overflow-x: hidden; }
.nv-wrap ::selection { background: rgba(19, 35, 61, 0.12); color: var(--ink); }
.nv-wrap strong { color: var(--ink); font-weight: 650; }
.nv-wrap em { font-style: normal; }
.nv-wrap svg.art { display: block; height: auto; color: var(--ink); }
.nv-wrap .lucide { width: 16px; height: 16px; stroke-width: 1.75; vertical-align: -3px; color: var(--ink); flex-shrink: 0; }

.nv-progress { position: fixed; top: 0; left: 0; width: 0%; height: 2px; background: var(--ink); z-index: 9999; transition: width 0.1s ease-out; }

.nv-container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.nv-container-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.nv-accent { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

/* ===== HERO ===== */
.nv-hero { padding: 104px 24px 72px; text-align: center; position: relative; overflow: hidden; background: var(--bg); }
.nv-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 72% 48% at 50% 0%, rgba(211, 227, 254, 0.38) 0%, transparent 66%); pointer-events: none; }
.nv-hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.nv-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 50px; font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 36px; }
.nv-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.nv-h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 32px; color: var(--ink); }
.nv-h1 .nv-accent { font-weight: 600; letter-spacing: -0.02em; }
.nv-dark { color: var(--ink); }
.nv-hero-sub { font-size: 1.3125rem; font-weight: 600; color: var(--ink); line-height: 1.55; margin: 0 auto 20px; max-width: 760px; }
.nv-hero-text { font-size: 1.125rem; color: var(--muted); line-height: 1.8; max-width: 700px; margin: 0 auto; }
.nv-hero-quote { max-width: 620px; margin: 48px auto 0; padding: 28px 0 0; border-top: 1px solid var(--line); text-align: center; }
.nv-hero-quote p { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1875rem; color: var(--ink); line-height: 1.55; font-style: italic; font-weight: 500; }
.nv-hero-quote p strong { font-weight: 700; }
.nv-hero-quote cite { display: block; margin-top: 14px; font-size: 0.75rem; font-weight: 700; color: var(--faint); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; }

/* ===== BUTTONS ===== */
.nv-cta-inline { padding: 0 24px 88px; background: var(--bg); text-align: center; }
.nv-cta-inline-inner { max-width: 700px; margin: 0 auto; }
.nv-cta-inline-text { font-size: 1.0625rem; color: var(--muted); margin-bottom: 28px; }
.nv-cta-inline-btns, .nv-whats-btns, .nv-cta-final-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nv-btn-primary, .nv-btn-secondary, .nv-btn-white, .nv-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 28px; border-radius: 12px; font-family: 'Figtree', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; text-decoration: none; transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.nv-btn-primary { background: var(--ink); color: #fff !important; border: 0; box-shadow: 0 4px 16px rgba(19, 35, 61, 0.16); }
.nv-btn-primary:hover { background: var(--hair); color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--ink); }
.nv-btn-secondary { background: #fff; color: var(--ink) !important; border: 1px solid var(--line); }
.nv-btn-secondary:hover { border-color: var(--ink); }

/* ===== SHARED HEADINGS ===== */
.nv-eyebrow { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; text-align: center; }
.nv-manifesto-title, .nv-att-title { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 850; color: var(--ink); line-height: 1.25; letter-spacing: -0.03em; text-align: center; margin-bottom: 20px; }
.nv-principles-title, .nv-axioms-title { font-size: clamp(2rem, 4.4vw, 2.75rem); font-weight: 850; color: var(--ink); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px; }

/* ===== MANIFESTO ===== */
.nv-manifesto { padding: 96px 24px; background: var(--bg); border-top: 1px solid var(--line); }
.nv-manifesto-inner { max-width: 1100px; margin: 0 auto; }
.nv-manifesto-lead { font-size: 1.0625rem; color: var(--body); line-height: 1.8; text-align: center; max-width: 800px; margin: 0 auto 48px; }

/* Three columns as a hairline grid, a line-art motif above each. */
.nv-manifesto-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nv-manifesto-col { padding: 36px 28px; }
.nv-manifesto-col + .nv-manifesto-col { border-left: 1px solid var(--hair); }
.nv-col-header { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.nv-col-icon { width: 100%; display: flex; justify-content: center; }
.nv-col-icon svg.art { width: 140px; }
.nv-col-header h3 { font-size: 1.125rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.nv-col-list { list-style: none; }
.nv-col-list li { font-size: 0.9375rem; color: var(--body); line-height: 1.6; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.nv-col-list li:last-child { border-bottom: none; }
.nv-col-list.nv-values li em { display: block; font-weight: 650; color: var(--ink); }
.nv-col-list.nv-values li span { font-size: 0.8125rem; color: var(--faint); }
.nv-col-list.nv-truths li { padding-left: 18px; position: relative; }
.nv-col-list.nv-truths li::before { content: ''; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border: 1.5px solid var(--ink); border-radius: 50%; }

.nv-core { margin: 40px auto 0; max-width: 820px; text-align: left; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-left: 2px solid var(--ink); border-radius: 0 12px 12px 0; }
.nv-core-label { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; }
.nv-core p { font-size: 1.125rem; color: var(--ink); font-weight: 500; line-height: 1.7; }
.nv-core p em { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; }

/* ===== PRINCIPLES ===== */
.nv-principles { padding: 96px 24px; background: var(--bg); border-top: 1px solid var(--line); }
.nv-principles-header { text-align: center; margin-bottom: 20px; }
.nv-principles-sub { font-size: 1.125rem; color: var(--muted); max-width: 600px; margin: 0 auto 20px; }
.nv-principles-intro { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.nv-principles-intro p { font-size: 1rem; color: var(--body); line-height: 1.7; }
.nv-principles-intro em { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; color: var(--ink); }

.nv-p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--line); }
.nv-p-card { padding: 36px 32px; border-bottom: 1px solid var(--line); transition: background 0.25s ease, opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.nv-p-card:nth-child(odd) { border-right: 1px solid var(--hair); }
.nv-p-card:hover { background: #fff; }
.nv-p-num { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); font-size: 0.875rem; font-weight: 750; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.nv-p-card h3 { font-size: 1.1875rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; line-height: 1.3; letter-spacing: -0.01em; }
.nv-p-lead { font-size: 0.9375rem; color: var(--body); line-height: 1.7; margin-bottom: 18px; }
.nv-p-dq { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; color: var(--ink); font-weight: 600; font-style: italic; line-height: 1.5; margin-bottom: 12px; }
.nv-p-behaviors { list-style: none; margin-bottom: 16px; }
.nv-p-behaviors li { font-size: 0.875rem; color: var(--body); line-height: 1.6; padding: 4px 0 4px 24px; position: relative; }
.nv-p-behaviors li::before { content: ''; position: absolute; left: 1px; top: 9px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); }
.nv-p-behaviors li::after { content: ''; position: absolute; left: 5.5px; top: 11.5px; width: 3px; height: 5.5px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.nv-p-flag { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8125rem; color: var(--muted); line-height: 1.6; padding: 12px 0 0; border-top: 1px dashed var(--line); }
.nv-p-flag .lucide { margin-top: 3px; width: 15px; height: 15px; color: var(--muted); }

/* ===== ATTENTION ===== */
.nv-attention { padding: 96px 24px; background: var(--bg); border-top: 1px solid var(--line); }
.nv-attention-inner { max-width: 800px; margin: 0 auto; }
.nv-att-sub { font-size: 1.125rem; color: var(--body); line-height: 1.8; text-align: center; margin-bottom: 48px; }

.nv-att-questions { max-width: 650px; margin: 0 auto 56px; }
.nv-att-questions p { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.nv-att-questions ul { list-style: none; border-top: 1px solid var(--line); }
.nv-att-questions li { font-size: 1rem; color: var(--body); line-height: 1.7; padding: 12px 0 12px 24px; position: relative; border-bottom: 1px solid var(--hair); }
.nv-att-questions li::before { content: '—'; position: absolute; left: 0; color: var(--faint); }

.nv-att-prog { text-align: center; margin-bottom: 64px; }
.nv-att-prog-text { font-size: 1.0625rem; color: var(--body); margin-bottom: 24px; }
.nv-prog-flow { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.nv-prog-step { font-size: 1rem; font-weight: 600; color: var(--faint); }
.nv-prog-step.nv-hl { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.nv-prog-arrow { color: #c4cdd9; font-size: 0.875rem; }
.nv-att-change { font-family: 'Playfair Display', Georgia, serif; font-size: 1.125rem; font-weight: 600; color: var(--ink); font-style: italic; }

/* Pyramid: hairline rows climbing to the right; the top level gets the filled navy marker. */
.nv-pyramid { max-width: 680px; margin: 0 auto 64px; position: relative; padding-left: 56px; }
.nv-pyr-axis { position: absolute; left: 8px; top: 20px; bottom: 60px; display: flex; flex-direction: column; align-items: center; }
.nv-pyr-line { width: 1px; flex: 1; background: #c4cdd9; position: relative; }
.nv-pyr-line::after { content: ''; position: absolute; top: -5px; left: -3px; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-bottom: 6px solid #c4cdd9; }
.nv-pyr-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.625rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.15em; margin-top: 16px; }
.nv-pyr-levels { display: flex; flex-direction: column; gap: 12px; }
.nv-pyr-level { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.nv-pyr-1 { margin-left: 0; }
.nv-pyr-2 { margin-left: 28px; }
.nv-pyr-3 { margin-left: 56px; }
.nv-pyr-4 { margin-left: 84px; border-color: var(--ink); }
.nv-pyr-num { width: 52px; height: 52px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.0625rem; font-weight: 750; flex-shrink: 0; line-height: 1; background: #fff; border: 1.5px solid #c4cdd9; color: var(--faint); }
.nv-pyr-num span { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.nv-pyr-3 .nv-pyr-num { border-color: var(--muted); color: var(--muted); }
.nv-pyr-4 .nv-pyr-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.nv-pyr-text h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; color: var(--muted); }
.nv-pyr-3 .nv-pyr-text h4, .nv-pyr-4 .nv-pyr-text h4 { color: var(--ink); }
.nv-pyr-text p { font-size: 0.875rem; font-style: italic; color: var(--faint); }
.nv-pyr-3 .nv-pyr-text p { color: var(--muted); }
.nv-pyr-4 .nv-pyr-text p { font-family: 'Playfair Display', Georgia, serif; font-size: 0.9875rem; color: var(--ink); font-weight: 600; }
.nv-pyr-x { text-align: center; margin-top: 24px; padding-left: 56px; }
.nv-pyr-x span { font-size: 0.625rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.15em; }

.nv-att-nova { text-align: center; max-width: 700px; margin: 0 auto; }
.nv-att-nova-intro { font-size: 1.125rem; color: var(--body); line-height: 1.8; margin-bottom: 28px; }
.nv-att-benefits { list-style: none; max-width: 560px; margin: 0 auto 32px; text-align: left; border-top: 1px solid var(--line); }
.nv-att-benefits li { position: relative; padding: 12px 0 12px 30px; font-size: 0.9375rem; color: var(--body); line-height: 1.6; border-bottom: 1px solid var(--hair); }
.nv-att-benefits li::before { content: ''; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink); }
.nv-att-benefits li::after { content: ''; position: absolute; left: 6px; top: 19.5px; width: 4px; height: 7px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.nv-att-footer { font-size: 1.0625rem; color: var(--muted); line-height: 1.7; }

/* ===== CORE POINTS ===== */
.nv-core-points { padding: 80px 24px; background: var(--bg); border-top: 1px solid var(--line); }
.nv-core-points-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.nv-core-points-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.nv-core-point { display: flex; align-items: center; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.nv-core-point-num { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; font-weight: 750; color: var(--ink); flex-shrink: 0; }
.nv-core-point p { font-size: 1.0625rem; font-weight: 600; color: var(--ink); line-height: 1.5; }

/* ===== AXIOMS ===== */
.nv-axioms { padding: 96px 24px; background: var(--bg); border-top: 1px solid var(--line); }
.nv-axioms-header { text-align: center; margin-bottom: 48px; }
.nv-axioms-sub { font-size: 1.125rem; color: var(--muted); max-width: 600px; margin: 0 auto; }

.nv-ax-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 44px 48px; margin-bottom: 28px; }
.nv-ax-art { position: absolute; top: 28px; right: 36px; }
.nv-ax-art svg.art { width: 150px; }
.nv-ax-num { display: block; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 2.25rem; font-weight: 600; line-height: 1; color: var(--ink); margin-bottom: 18px; }
.nv-ax-title { font-size: 1.625rem; font-weight: 850; color: var(--ink); margin-bottom: 8px; line-height: 1.25; letter-spacing: -0.02em; max-width: calc(100% - 180px); }
.nv-ax-tag { font-size: 1rem; font-weight: 500; color: var(--muted); margin-bottom: 28px; font-style: italic; max-width: calc(100% - 180px); }
.nv-ax-section { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--hair); }
.nv-ax-label { align-self: start; padding-top: 5px; font-size: 0.6875rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.nv-ax-content { font-size: 1.0625rem; color: var(--body); line-height: 1.75; }
.nv-ax-questions { grid-column: 2; list-style: none; margin: 6px 0 0; }
.nv-ax-questions li { position: relative; padding-left: 24px; margin-bottom: 6px; font-size: 1rem; color: var(--body); }
.nv-ax-questions li::before { content: '—'; position: absolute; left: 0; color: var(--faint); }
.nv-ax-quote { margin-top: 8px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-left: 2px solid var(--ink); border-radius: 0 12px 12px 0; }
.nv-ax-quote p { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1875rem; font-weight: 600; color: var(--ink); line-height: 1.5; font-style: italic; }

/* ===== WHAT'S NOVA ===== */
.nv-whats { padding: 96px 24px; background: var(--bg); border-top: 1px solid var(--line); }
.nv-whats-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.nv-whats-lead { font-size: 1.25rem; font-weight: 700; color: var(--ink); line-height: 1.6; margin-bottom: 16px; }
.nv-whats-body { font-size: 1.0625rem; color: var(--body); line-height: 1.8; margin-bottom: 36px; }

/* ===== FINAL CTA (solid navy, no glow) ===== */
.nv-cta-final { padding: 96px 24px; background: var(--ink) !important; text-align: center; }
.nv-cta-final-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 850; letter-spacing: -0.03em; color: #fff !important; margin-bottom: 16px; line-height: 1.2; }
.nv-cta-final-sub { font-size: 1.125rem; color: rgba(255, 255, 255, 0.7) !important; margin: 0 auto 40px; max-width: 500px; }
.nv-btn-white { background: #fff !important; color: var(--ink) !important; border: 0; }
.nv-btn-white:hover { background: var(--hair) !important; }
.nv-btn-ghost { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.35); }
.nv-btn-ghost:hover { background: #fff !important; color: var(--ink) !important; border-color: #fff; }

/* ===== FADE IN ===== */
.nv-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.nv-fade.nv-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .nv-fade { opacity: 1; transform: none; transition: none; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nv-manifesto-cols { grid-template-columns: 1fr; }
  .nv-manifesto-col { padding: 32px 4px; }
  .nv-manifesto-col + .nv-manifesto-col { border-left: 0; border-top: 1px solid var(--line); }
  .nv-ax-art { display: none; }
  .nv-ax-title, .nv-ax-tag { max-width: none; }
}
@media (max-width: 768px) {
  .nv-hero { padding: 64px 16px 48px; }
  .nv-cta-inline { padding: 0 16px 64px; }
  .nv-manifesto, .nv-principles, .nv-attention, .nv-axioms, .nv-whats, .nv-cta-final { padding: 72px 16px; }
  .nv-core-points { padding: 64px 16px; }
  .nv-container, .nv-container-wide { padding: 0; }
  .nv-cta-inline-btns, .nv-cta-final-btns, .nv-whats-btns { flex-direction: column; max-width: 320px; margin-left: auto; margin-right: auto; }
  .nv-btn-primary, .nv-btn-secondary, .nv-btn-white, .nv-btn-ghost { width: 100%; }
  .nv-p-grid { grid-template-columns: 1fr; }
  .nv-p-card { padding: 32px 4px; }
  .nv-p-card:nth-child(odd) { border-right: 0; }
  .nv-ax-card { padding: 30px 20px; }
  .nv-ax-section { grid-template-columns: 1fr; }
  .nv-ax-questions { grid-column: 1; }
  .nv-pyramid { padding-left: 40px; }
  .nv-pyr-level { padding: 16px 16px; gap: 14px; }
  .nv-pyr-num { width: 44px; height: 44px; font-size: 0.9375rem; }
  .nv-pyr-2 { margin-left: 12px; }
  .nv-pyr-3 { margin-left: 24px; }
  .nv-pyr-4 { margin-left: 36px; }
  .nv-pyr-x { padding-left: 40px; }
  .nv-prog-flow { gap: 8px 14px; }
  .nv-core-point { gap: 16px; }
  .nv-core-point p { font-size: 1rem; }
}
