/* ==========================================================
   Zivoke — Case Study Inner Page template styles
   Shared by every case study. Content lives in data/*.js.
   ==========================================================
   Design tokens (mirrors zivoke-site/assets/css/styles.css)
   ========================================================== */
:root{
  --ink:#18213a;--muted:#5d6575;--accent:#77398a;--accent-dark:#612773;
  --line:#dfe3e9;--surface:#f5f7fa;--white:#fff;--navy:#192338;
  --accent-soft:#f1ebf5;--accent-line:#dfd4e6;
  --radius:8px;--zv-font-display:Sora,Arial,sans-serif;--body:Manrope,Arial,sans-serif;
  --site-header-height:85px;--detail-index-height:70px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--site-header-height) + var(--detail-index-height) + 10px)}
body.zv.zv{margin:0;background:#fff;color:var(--ink);font:17px/1.65 var(--body);-webkit-font-smoothing:antialiased}
body.zv.zv [hidden]{display:none!important}
body.zv.zv a{color:inherit;text-decoration:none}
body.zv.zv button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
body.zv.zv img{display:block;max-width:100%}
body.zv.zv h1,body.zv.zv h2,body.zv.zv h3,body.zv.zv h4,body.zv.zv p{margin:0}
body.zv.zv h1,body.zv.zv h2,body.zv.zv h3{font-family:var(--zv-font-display);line-height:1.2;font-weight:500;letter-spacing:-.045em}
body.zv.zv h2{font-size:clamp(29px,3vw,42px)}
body.zv.zv h3{font-size:25px}
body.zv.zv em{font-style:normal;color:var(--accent)}
body.zv.zv :focus-visible{outline:3px solid #9462a4;outline-offset:5px}
body.zv.zv .container{width:min(1240px,calc(100% - 96px));margin:auto}
body.zv.zv .eyebrow{font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;line-height:1.5}
body.zv.zv .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Buttons & links */
body.zv.zv .button{display:inline-flex;justify-content:center;align-items:center;gap:25px;background:var(--accent);color:#fff;padding:16px 24px;border:1px solid var(--accent);border-radius:5px;font-size:16px;font-weight:750;line-height:1.4;transition:background .2s,transform .2s}
body.zv.zv .button:hover{background:var(--accent-dark);transform:translateY(-2px)}
body.zv.zv .button span{font-size:20px;line-height:1}
body.zv.zv .button.small{padding:12px 19px}
body.zv.zv .text-link{display:inline-flex;gap:17px;align-items:center;font-weight:750;font-size:14px;border:0;background:transparent;padding:0;line-height:1.5;transition:color .2s}
body.zv.zv .text-link:hover{color:var(--accent)}
body.zv.zv .text-link span{font-size:19px}

/* ==========================================================
   Header (same markup & behaviour as zivoke.com)
   ========================================================== */

/* ==========================================================
   Case study hero
   ========================================================== */
body.zv.zv .breadcrumbs{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:.75rem;color:var(--muted);padding:24px 0 0}
body.zv.zv .breadcrumbs a:hover{color:var(--accent)}
body.zv.zv .breadcrumbs>span[aria-hidden]{color:#b8c0cc}
body.zv.zv .service-pill{display:inline-flex;border:1px solid var(--accent-line);border-radius:30px;color:var(--accent);font-size:.75rem;letter-spacing:.1em;padding:6px 11px}
body.zv.zv .cs-hero{padding-bottom:10px}
body.zv.zv .cs-hero-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:64px;align-items:center;padding:40px 0 46px}
body.zv.zv .cs-client{display:flex;align-items:center;gap:14px;margin-top:26px;font-size:.8125rem;color:var(--muted)}
body.zv.zv .cs-client strong{font:600 1.05rem/1.2 var(--zv-font-display);letter-spacing:-.03em;color:var(--ink)}
body.zv.zv .cs-client i{width:1px;height:18px;background:var(--line)}
body.zv.zv .cs-hero h1{font-size:clamp(2.4rem,3.7vw,3.45rem);line-height:1.12;letter-spacing:-.055em;margin:16px 0 24px;max-width:640px}
body.zv.zv .cs-lead{font-weight:700;font-size:1.125rem;line-height:1.55}
body.zv.zv .cs-description{font-size:1.0625rem;color:var(--muted);line-height:1.75;max-width:540px;margin-top:12px}
body.zv.zv .cs-actions{display:flex;align-items:center;gap:25px;margin-top:30px;flex-wrap:wrap}
body.zv.zv .cs-assurances{display:flex;gap:19px;flex-wrap:wrap;font-size:.75rem;color:var(--muted);margin-top:21px}
body.zv.zv .cs-assurances b{color:var(--accent);font-weight:700;margin-right:4px}

/* Engagement card (hero-proof style) */
body.zv.zv .cs-facts{background:var(--surface);border:1px solid #e9ecf0;border-top:2px solid var(--ink);border-radius:4px;padding:26px 30px 0}
body.zv.zv .cs-facts-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:8px}
body.zv.zv .cs-facts-top .eyebrow{color:var(--ink)}
body.zv.zv .cs-facts-top span:last-child{font-size:.75rem;letter-spacing:.1em;color:#70798b}
body.zv.zv .cs-facts dl{margin:0}
body.zv.zv .cs-facts dl>div{display:grid;grid-template-columns:130px 1fr;gap:18px;padding:14px 0;border-bottom:1px solid #dde2e9}
body.zv.zv .cs-facts dl>div:last-child{border-bottom:0}
body.zv.zv .cs-facts dt{font-size:.75rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding-top:3px}
body.zv.zv .cs-facts dd{margin:0;font-size:.9375rem;line-height:1.6;font-weight:600}
body.zv.zv .cs-facts dd small{display:block;font-size:.8125rem;font-weight:400;color:var(--muted);margin-top:2px}
body.zv.zv .cs-facts-bottom{border-top:1px solid #d9dfe6;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.75rem;font-weight:700;padding:15px 0}
body.zv.zv .cs-facts-bottom span:last-child{color:var(--accent)}

/* Proof strip */
body.zv.zv .proof-strip{display:grid;grid-template-columns:repeat(var(--cols,4),1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;align-items:center}
body.zv.zv .proof-strip>div{padding:0 28px;border-right:1px solid var(--line)}
body.zv.zv .proof-strip>:first-child{padding-left:0}
body.zv.zv .proof-strip>:last-child{border:0;padding-right:0}
body.zv.zv .project-stat{display:flex;flex-direction:column}
body.zv.zv .project-stat strong{font:500 42px/1.2 var(--zv-font-display);letter-spacing:-.04em}
body.zv.zv .project-stat strong span{font-size:30px;color:var(--accent)}
body.zv.zv .project-stat>span{font-size:14px;color:var(--muted)}

/* ==========================================================
   Sticky section index (service-page-index)
   ========================================================== */
body.zv.zv .cs-reading{position:relative}
body.zv.zv .service-page-index{position:sticky;top:var(--site-header-height);z-index:35;background:#fffffff5;backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
body.zv.zv .service-page-index>.container{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:70px;padding-block:10px}
body.zv.zv .section-index-label{font-size:.75rem;color:var(--muted)}
body.zv.zv #section-links{display:flex;align-items:center;gap:27px}
body.zv.zv #section-links a{font-size:.875rem;font-weight:650;padding:12px 0;border-bottom:2px solid transparent;white-space:nowrap;transition:color .2s,border-color .2s}
body.zv.zv #section-links a:hover{color:var(--accent)}
body.zv.zv #section-links a[aria-current=location]{border-color:var(--accent);color:var(--accent)}
body.zv.zv #section-menu-toggle{display:none}

/* Section heads */
body.zv.zv .cs-section{padding:84px 0}
body.zv.zv .cs-section.alt{background:var(--surface)}
body.zv.zv .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:48px;margin-bottom:40px}
body.zv.zv .section-head .eyebrow{font-size:.8125rem;color:var(--accent);margin-bottom:17px}
body.zv.zv .section-head h2{font-size:clamp(2rem,3.25vw,2.9rem);line-height:1.17;letter-spacing:-.045em;max-width:660px}
body.zv.zv .section-head>p{font-size:1.0625rem;color:var(--muted);line-height:1.8;max-width:370px;padding-bottom:3px}
body.zv.zv .stroke-icon{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

/* Abstract */
body.zv.zv .abstract-grid{display:grid;grid-template-columns:repeat(var(--cols,5),1fr);gap:0 28px}
body.zv.zv .abstract-grid article{padding:24px 0 6px;border-top:1px solid var(--ink)}
body.zv.zv .abstract-grid .stage-number{margin-bottom:14px}
body.zv.zv .abstract-grid h3{font-size:1.125rem;letter-spacing:-.03em;margin-bottom:10px}
body.zv.zv .abstract-grid p{font-size:.9375rem;line-height:1.75;color:var(--muted)}
body.zv.zv .stage-number{font-size:.75rem;font-weight:650;letter-spacing:.06em;color:#7d628c;line-height:1.6;display:block;text-transform:uppercase}

/* Overview */
body.zv.zv .overview-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:start}
body.zv.zv .overview-grid .eyebrow{color:var(--accent);margin-bottom:17px;font-size:.8125rem}
body.zv.zv .overview-grid h2{font-size:clamp(2rem,3vw,2.65rem);line-height:1.18}
body.zv.zv .overview-copy p{font-size:1.0625rem;line-height:1.85;color:var(--muted)}
body.zv.zv .overview-copy p+p{margin-top:20px}
body.zv.zv .overview-copy p:first-child{color:var(--ink);font-size:1.1875rem;line-height:1.75}
body.zv.zv .tag-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px;padding:0;list-style:none}
body.zv.zv .tag-list li{font-size:.75rem;font-weight:650;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:6px 12px;background:#fff}

/* Challenge */
body.zv.zv .split-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:64px;align-items:start}
body.zv.zv .cs-panel{margin:0;background:#fff;border:1px solid #e9ecf0;border-radius:6px;padding:25px 29px}
body.zv.zv.zv.zv .cs-panel{margin:0;background:#fff;border:1px solid #e9ecf0;border-radius:6px;padding:25px 29px}
body.zv.zv .visual-caption{font-size:14px;font-weight:750;padding-bottom:18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;align-items:flex-end}
body.zv.zv .visual-caption small{font-size:12px;font-weight:500;display:block;letter-spacing:.1em;color:var(--muted);margin-top:3px;text-transform:uppercase}
body.zv.zv .visual-caption>span:last-child{font-size:.75rem;font-weight:500;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}
body.zv.zv .visual-caption>span:last-child i{width:6px;height:6px;border-radius:50%;background:#b0b8c5}
body.zv.zv .phase-list{list-style:none;margin:22px 0 4px;padding:0}
body.zv.zv .phase{display:flex;gap:16px;position:relative;padding-bottom:24px}
body.zv.zv .phase:not(:last-child)::before{content:'';position:absolute;left:19px;top:40px;bottom:0;border-left:1px solid #cbd3de}
body.zv.zv .phase:last-child{padding-bottom:0}
body.zv.zv .step-circle{border:1px solid #cbd3de;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;background:#fff;font-size:12px;font-weight:700}
body.zv.zv .phase.is-key .step-circle{background:var(--accent-soft);border-color:#d9cce2;color:#79558a}
body.zv.zv .phase-body{padding-top:2px;min-width:0}
body.zv.zv .phase-body small{display:block;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
body.zv.zv .phase-body strong{display:block;font-size:.9375rem;line-height:1.5;margin-top:2px}
body.zv.zv .chip-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
body.zv.zv .chip-row span{font-size:.75rem;font-weight:650;background:var(--surface);border:1px solid #e3e7ed;border-radius:4px;padding:3px 8px;color:#3d465a}
body.zv.zv .visual-footer{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:15px;margin-top:22px}
body.zv.zv .visual-footer b{color:var(--accent);font-weight:700}
body.zv.zv .numbered-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
body.zv.zv .numbered-list li{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:22px 0;border-bottom:1px solid var(--line)}
body.zv.zv .numbered-list .num{font-size:.75rem;font-weight:700;color:#7d628c;letter-spacing:.06em;padding-top:4px}
body.zv.zv .numbered-list h3{font-size:1.0625rem;letter-spacing:-.025em;font-weight:600;line-height:1.5}
body.zv.zv .numbered-list p{font-size:.9375rem;line-height:1.75;color:var(--muted);margin-top:6px}

/* Approach */
body.zv.zv .approach-stages{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line)}
body.zv.zv .approach-stages li{padding:30px 32px 34px 0;border-bottom:1px solid var(--line);position:relative}
body.zv.zv .approach-stages li:not(:nth-child(3n+1)){padding-left:32px;border-left:1px solid var(--line)}
body.zv.zv .approach-stages li::before{content:'';position:absolute;top:-4px;left:0;width:7px;height:7px;border-radius:50%;background:var(--accent)}
body.zv.zv .approach-stages li:not(:nth-child(3n+1))::before{left:32px}
body.zv.zv .approach-stages h3{font-size:1.1875rem;line-height:1.45;letter-spacing:-.035em;margin-top:10px}
body.zv.zv .approach-stages p{font-size:.9375rem;line-height:1.8;color:var(--muted);margin-top:10px}
body.zv.zv .approach-stages .date{display:inline-block;margin-top:14px;font-size:.75rem;font-weight:700;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:3px 8px}

/* Solution */
body.zv.zv .solution-intro{display:grid;grid-template-columns:1fr 1.05fr;gap:64px;align-items:center;margin-bottom:64px}
body.zv.zv .solution-copy .eyebrow{color:var(--accent);margin-bottom:17px;font-size:.8125rem}
body.zv.zv .solution-copy h2{font-size:clamp(2rem,3.25vw,2.9rem);line-height:1.17}
body.zv.zv .solution-copy>p:not(.eyebrow){font-size:1.0625rem;line-height:1.85;color:var(--muted);margin-top:22px;max-width:500px}
body.zv.zv .check-list{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:10px;font-size:.9375rem}
body.zv.zv .check-list li{position:relative;padding-left:25px}
body.zv.zv .check-list li::before{content:'✓';position:absolute;left:0;top:0;color:var(--accent)}
/* Portal preview */

body.zv.zv .portal-window{background:#fff;border:1px solid var(--line);border-radius:6px;margin-top:20px;overflow:hidden}
body.zv.zv .portal-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}
body.zv.zv .portal-bar strong{font-size:.875rem;display:block}
body.zv.zv .portal-bar small{font-size:.75rem;color:var(--muted)}
body.zv.zv .status-badge{font-size:.6875rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#79558a;background:var(--accent-soft);border:1px solid #d9cce2;border-radius:30px;padding:4px 9px;white-space:nowrap}
body.zv.zv .portal-phases{list-style:none;margin:0;padding:6px 18px}
body.zv.zv .portal-phases li{display:grid;grid-template-columns:1fr auto;gap:6px 16px;align-items:center;padding:13px 0;border-bottom:1px solid #eef0f4}
body.zv.zv .portal-phases li:last-child{border-bottom:0}
body.zv.zv .portal-phases span{font-size:.8125rem;font-weight:650}
body.zv.zv .portal-phases em{font-size:.75rem;color:var(--muted)!important;font-weight:600}
body.zv.zv .portal-phases .track{grid-column:1/-1;height:4px;background:#eceff3;border-radius:4px;overflow:hidden}
body.zv.zv .portal-phases .track i{display:block;height:100%;background:var(--accent);border-radius:4px;width:0;transition:width 1.1s cubic-bezier(.2,.7,.2,1)}
body.zv.zv .portal-phases .done .track i{background:var(--ink)}
body.zv.zv .portal-phases .locked{opacity:.42}
body.zv.zv .portal-phases .locked em::before{content:'';display:inline-block;width:8px;height:9px;margin-right:6px;border:1.5px solid currentColor;border-radius:2px;vertical-align:-1px}
body.zv.zv .portal-docs{display:flex;flex-wrap:wrap;gap:8px;padding:14px 18px;border-top:1px solid var(--line);background:#fbfcfd}
body.zv.zv .portal-docs small{width:100%;font-size:.6875rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
body.zv.zv .portal-docs span{font-size:.75rem;font-weight:650;border:1px solid var(--line);border-radius:4px;padding:5px 9px;background:#fff}
body.zv.zv .portal-docs span::before{content:'↓';color:var(--accent);margin-right:6px}
/* Built table */
body.zv.zv .table-title{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}
body.zv.zv .table-title h3{font-size:1.5rem;letter-spacing:-.04em}
body.zv.zv .table-title span{font-size:.75rem;color:var(--muted)}
body.zv.zv .built-table{width:100%;border-collapse:collapse;text-align:left;line-height:1.7;font-size:.9375rem;table-layout:fixed}
body.zv.zv .built-table th,body.zv.zv .built-table td{padding:22px 24px 22px 0;vertical-align:top;border-bottom:1px solid var(--line)}
body.zv.zv .built-table thead th{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:650;padding-top:0;padding-bottom:17px;border-bottom:1px solid var(--ink)}
body.zv.zv .built-table thead th:first-child{width:32%}
body.zv.zv .built-table tbody th{font-weight:700}
body.zv.zv .built-table .cell-flex{display:flex;gap:14px;align-items:flex-start}
body.zv.zv .built-table tbody th svg{width:22px;height:22px;color:#7a618a;margin-top:2px}
body.zv.zv .built-table td{color:var(--muted);padding-right:0}

/* Governance (dark band) */
body.zv.zv .cs-dark{background:var(--navy);color:#fff;padding:80px 0}
body.zv.zv .governance-head{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:end;margin-bottom:44px}
body.zv.zv .cs-dark .eyebrow{font-size:.8125rem;color:#c9b5d9;margin-bottom:22px}
body.zv.zv .cs-dark h2{font-size:clamp(2rem,3.2vw,2.8rem);line-height:1.17;color:#fff}
body.zv.zv .cs-dark h2 em{color:#d4bfdf}
body.zv.zv .governance-head p{font-size:1.0625rem;line-height:1.85;color:#c7cedb}
body.zv.zv .governance-context{display:flex;gap:10px 18px;flex-wrap:wrap;margin-top:24px;font-size:.75rem;color:#bdc6d5}
body.zv.zv .governance-context span{border-bottom:1px solid #465064;padding-bottom:7px}
body.zv.zv .governance-sheets{display:grid;grid-template-columns:repeat(var(--cols,2),1fr);gap:24px}
body.zv.zv .planning-sheet{background:#fafbfc;color:var(--ink);padding:28px 33px 32px;border-radius:8px;box-shadow:12px 12px 0 #ffffff07;border:1px solid #fff}
body.zv.zv .planning-sheet-top{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e0e4eb;padding-bottom:19px;margin-bottom:22px;font-size:.75rem;line-height:1.65;color:var(--muted)}
body.zv.zv .planning-sheet-top strong{font:600 1.25rem/1.3 var(--zv-font-display);letter-spacing:-.035em;color:var(--ink);display:block}
body.zv.zv .plan-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--accent-soft);border:1px solid #d9cce2;color:#79558a;font-weight:750;font-size:.8125rem;flex-shrink:0}
body.zv.zv .planning-steps{padding:0;margin:0;list-style:none;display:grid;gap:18px}
body.zv.zv .planning-steps>li{display:flex;align-items:flex-start;gap:15px;position:relative;font-size:.9375rem;line-height:1.65}
body.zv.zv .planning-steps>li:not(:last-child)::before{content:"";width:1px;position:absolute;background:#ded5e5;left:13px;top:28px;bottom:-18px}
body.zv.zv .planning-number{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;border:1px solid #d9cce2;background:var(--accent-soft);color:#79558a;font-size:.6875rem;flex-shrink:0;font-weight:700}

/* Results */
body.zv.zv .results-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}
body.zv.zv .results-copy .eyebrow{color:var(--accent);margin-bottom:17px;font-size:.8125rem}
body.zv.zv .results-copy h2{font-size:clamp(2rem,3.1vw,2.75rem);line-height:1.18}
body.zv.zv .results-copy p:not(.eyebrow){font-size:1.0625rem;line-height:1.85;color:var(--muted);margin-top:22px}

body.zv.zv .signoff-track{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(var(--n,5),1fr);position:relative}
body.zv.zv .signoff-track::before{content:'';position:absolute;top:14px;left:calc(50% / var(--n,5));right:calc(50% / var(--n,5));height:1px;background:#cbd3de}
body.zv.zv .signoff-track li{text-align:center;position:relative;padding:0 6px;font-size:.8125rem;line-height:1.5;font-weight:650}
body.zv.zv .signoff-track li span{display:grid;place-items:center;width:29px;height:29px;margin:0 auto 12px;border-radius:50%;background:#fff;border:1px solid #d9cce2;color:#79558a;font-size:.75rem;position:relative}
body.zv.zv .signoff-track li:last-child span{background:var(--accent);border-color:var(--accent);color:#fff}
body.zv.zv .signoff-dates{display:flex;justify-content:space-between;margin-top:22px;padding-top:15px;border-top:1px solid var(--line);font-size:.75rem;color:var(--muted)}
body.zv.zv .signoff-dates b{color:var(--ink)}
body.zv.zv .pending-note{display:flex;gap:14px;align-items:flex-start;margin-top:20px;padding:18px 20px;border:1px solid var(--line);border-radius:6px;font-size:.875rem;line-height:1.7;color:var(--muted);background:#fff}
body.zv.zv .pending-note svg{width:20px;height:20px;color:#7a618a;margin-top:2px}

/* Why it matters + testimonial */
body.zv.zv .payoff{display:grid;grid-template-columns:repeat(var(--cols,4),1fr);gap:34px}
body.zv.zv .payoff>div{display:flex;flex-direction:column;gap:14px;padding-top:24px;border-top:1px solid var(--line)}
body.zv.zv .payoff svg{color:#7a618a;width:28px;height:28px}
body.zv.zv .payoff h3{font-size:1.0625rem;letter-spacing:-.025em;font-weight:650;line-height:1.5}
body.zv.zv .payoff p{font-size:.9375rem;line-height:1.75;color:var(--muted);margin-top:-6px}
body.zv.zv .testimonial{display:grid;grid-template-columns:auto 1fr;gap:40px;margin:64px 0 0;padding:40px 44px;background:#fff;border:1px solid #e9ecf0;border-left:2px solid var(--accent);border-radius:6px;align-items:start}
body.zv.zv.zv.zv .testimonial{display:grid;grid-template-columns:auto 1fr;gap:40px;margin:64px 0 0;padding:40px 44px;background:#fff;border:1px solid #e9ecf0;border-left:2px solid var(--accent);border-radius:6px;align-items:start}
body.zv.zv .testimonial.is-placeholder{border-style:dashed;border-left-style:solid}
body.zv.zv .testimonial-photo{width:72px;height:72px;border-radius:50%;object-fit:cover;border:1px solid var(--line)}
body.zv.zv .quote-mark{font:80px/1 Georgia,serif;color:#b89fc2;height:52px;display:block}
body.zv.zv .testimonial blockquote{margin:0 0 20px;font:500 1.5rem/1.6 var(--zv-font-display);letter-spacing:-.035em}
body.zv.zv .testimonial figcaption strong{display:block;font-size:.875rem}
body.zv.zv .testimonial figcaption span{display:block;font-size:.75rem;color:var(--muted);margin-top:2px}

/* FAQ */
body.zv.zv .faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}
body.zv.zv .faq-grid .eyebrow{color:var(--accent);margin-bottom:17px;font-size:.8125rem}
body.zv.zv .faq-grid h2{font-size:34px}
body.zv.zv .faq-grid .faq-intro p{font-size:1rem;line-height:1.8;color:var(--muted);margin-top:18px;max-width:360px}
body.zv.zv .faq-grid .text-link{margin-top:25px}
body.zv.zv .faq-list{border-top:1px solid var(--line)}
body.zv.zv .faq-list details{border-bottom:1px solid var(--line)}
body.zv.zv .faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:30px;font-size:16px;font-weight:650;padding:21px 0;list-style:none;cursor:pointer}
body.zv.zv .faq-list summary::-webkit-details-marker{display:none}
body.zv.zv .faq-list summary:hover{color:var(--accent)}
body.zv.zv .faq-list summary>span{color:var(--accent);font-size:21px;font-weight:400;transition:transform .2s}
body.zv.zv .faq-list details[open] summary>span{transform:rotate(45deg)}
body.zv.zv .faq-list details[open] summary{color:var(--accent)}
body.zv.zv .faq-list p{font-size:14px;line-height:1.85;color:var(--muted);padding:0 35px 24px 0}

/* Final CTA / About */
body.zv.zv .final-cta{padding:62px 0 66px;background:var(--navy);color:#fff}
body.zv.zv .final-cta>.container{display:flex;justify-content:space-between;align-items:center;gap:60px}
body.zv.zv .final-cta .eyebrow{font-size:.8125rem;color:#ccb6dc;margin-bottom:20px}
body.zv.zv .final-cta h2{font-size:clamp(2rem,3vw,2.65rem);line-height:1.2;color:#fff}
body.zv.zv .final-cta p:not(.eyebrow){font-size:1rem;line-height:1.8;color:#c6cddd;margin-top:20px;max-width:640px}
body.zv.zv .final-cta .contact-line{font-size:.875rem!important;color:#bdc6d5!important;margin-top:14px!important}
body.zv.zv .final-cta .contact-line a{color:#fff;font-weight:700;border-bottom:1px solid #ffffff40}
body.zv.zv .final-cta .contact-line a:hover{border-color:#fff}
body.zv.zv .final-cta-actions{display:flex;flex-direction:column;align-items:center;gap:12px;flex-shrink:0}
body.zv.zv .final-cta-actions .button{background:#fff;color:#202b40;border-color:#fff;font-size:.9375rem;margin-bottom:8px;white-space:normal}
body.zv.zv .final-cta-actions .button:hover{background:#e9dff0;border-color:#e9dff0}
body.zv.zv .final-cta-actions>a:not(.button){font-size:.9375rem;color:#d0d7e4}
body.zv.zv .final-cta-actions>a:not(.button):hover{text-decoration:underline}

/* Footer */

/* Reveal on scroll (subtle, matches site's panel-in) */
body.zv.zv .reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
body.zv.zv .reveal.in{opacity:1;transform:none}

/* ==========================================================
   Responsive (breakpoints follow zivoke.com: 1200 / 1100 / 820 / 480)
   ========================================================== */
@media(max-width:1200px) and (min-width:1101px){
}
@media(max-width:1100px){
  body.zv.zv .container{width:calc(100% - 64px)}
  body.zv.zv .cs-hero-grid{gap:36px}
  body.zv.zv .cs-facts{padding:22px 22px 0}
  body.zv.zv .cs-facts dl>div{grid-template-columns:110px 1fr}
  body.zv.zv .proof-strip>div{padding:0 18px}
  body.zv.zv #section-links{gap:18px}
  body.zv.zv .section-index-label{display:none}
  body.zv.zv .overview-grid,body.zv.zv .split-grid,body.zv.zv .solution-intro,body.zv.zv .results-grid,body.zv.zv .governance-head{gap:40px}
  body.zv.zv .faq-grid{grid-template-columns:1fr;gap:30px}
  body.zv.zv .payoff{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
  body.zv.zv .abstract-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 28px}
  body.zv.zv .planning-sheet{padding:26px}
}
@media(max-width:820px){
  :root{--site-header-height:76px;--detail-index-height:64px}
  body.zv.zv .container{width:calc(100% - 40px)}
  body.zv.zv .cs-hero-grid{grid-template-columns:1fr;padding:32px 0 40px}
  body.zv.zv .cs-hero h1{font-size:clamp(2.2rem,7vw,3rem)}
  body.zv.zv .proof-strip{grid-template-columns:1fr 1fr;padding:0}
  body.zv.zv .proof-strip>div{padding:20px 16px!important;border-right:0}
  body.zv.zv .proof-strip>:nth-child(odd){border-right:1px solid var(--line);padding-left:0!important}
  body.zv.zv .proof-strip>:nth-child(-n+2){border-bottom:1px solid var(--line)}
  body.zv.zv .project-stat strong{font-size:34px}
  body.zv.zv .service-page-index>.container{min-height:64px;padding:0;display:block;position:relative}
  body.zv.zv #section-menu-toggle{border:0;background:transparent;width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--ink);text-align:left;padding:10px 0;min-height:64px}
  body.zv.zv #section-menu-toggle small{font-size:.75rem;font-weight:650;color:var(--muted);letter-spacing:.05em;text-transform:uppercase;display:block;margin-bottom:2px}
  body.zv.zv #section-menu-toggle strong{font-size:.875rem;font-weight:700;display:block}
  body.zv.zv #section-menu-toggle>span:last-child{font-size:20px;transition:transform .2s}
  body.zv.zv #section-menu-toggle[aria-expanded=true]>span:last-child{transform:rotate(180deg)}
  body.zv.zv #section-links{display:none;position:absolute;top:100%;left:-20px;right:-20px;background:#fff;box-shadow:0 15px 30px #17213b15;border-bottom:1px solid var(--line);padding:12px 20px;gap:5px 20px;grid-template-columns:1fr 1fr}
  body.zv.zv #section-links.open{display:grid}
  body.zv.zv .cs-section{padding:58px 0}
  body.zv.zv .cs-dark{padding:58px 0}
  body.zv.zv .section-head{align-items:start;flex-direction:column;gap:18px;margin-bottom:28px}
  body.zv.zv .section-head>p{max-width:560px}
  body.zv.zv .abstract-grid{grid-template-columns:1fr;gap:0}
  body.zv.zv .abstract-grid article{border-top-color:var(--line);padding:20px 0}
  body.zv.zv .abstract-grid article:first-child{border-top-color:var(--ink)}
  body.zv.zv .overview-grid,body.zv.zv .split-grid,body.zv.zv .solution-intro,body.zv.zv .results-grid,body.zv.zv .governance-head,body.zv.zv .governance-sheets{grid-template-columns:1fr}
  body.zv.zv .solution-intro{margin-bottom:44px}
  body.zv.zv .approach-stages{grid-template-columns:1fr}
  body.zv.zv .approach-stages li,body.zv.zv .approach-stages li:not(:nth-child(3n+1)){padding:26px 0 28px 26px;border-left:1px solid var(--line)}
  body.zv.zv .approach-stages li::before,body.zv.zv .approach-stages li:not(:nth-child(3n+1))::before{left:-4px;top:32px}
  body.zv.zv .approach-stages{border-top:0}
  body.zv.zv .approach-stages li{border-bottom:0}
  body.zv.zv .built-table,body.zv.zv .built-table tbody{display:block}
  body.zv.zv .built-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  body.zv.zv .built-table tr{display:grid;gap:8px;padding:20px 0;border-top:1px solid var(--line)}
  body.zv.zv .built-table th,body.zv.zv .built-table td{border:0;padding:0}
  body.zv.zv .built-table td{padding-left:36px}
  body.zv.zv .signoff-track{grid-template-columns:1fr;gap:14px}
  body.zv.zv .signoff-track::before{top:10px;bottom:10px;left:14px;right:auto;width:1px;height:auto}
  body.zv.zv .signoff-track li{display:flex;align-items:center;gap:14px;text-align:left;padding:0}
  body.zv.zv .signoff-track li span{margin:0;flex-shrink:0}
  body.zv.zv .testimonial{grid-template-columns:1fr;gap:0;padding:28px 24px;margin:44px 0 0}
  body.zv.zv.zv.zv .testimonial{grid-template-columns:1fr;gap:0;padding:28px 24px;margin:44px 0 0}
  body.zv.zv .testimonial blockquote{font-size:1.3rem}
  body.zv.zv .final-cta>.container{flex-direction:column;align-items:flex-start;gap:32px}
  body.zv.zv .final-cta-actions{align-items:flex-start}
}
@media(max-width:480px){
  body.zv.zv .cs-hero h1{font-size:2.1rem}
  body.zv.zv .cs-actions .button{width:100%}
  body.zv.zv .cs-actions .text-link{margin:auto}
  body.zv.zv .cs-facts dl>div{grid-template-columns:1fr;gap:4px}
  body.zv.zv .project-stat strong{font-size:30px}
  body.zv.zv .project-stat>span{font-size:12px}
  body.zv.zv .payoff{grid-template-columns:1fr;gap:24px}
  body.zv.zv .cs-panel{padding:20px}
  body.zv.zv .visual-caption{flex-direction:column;align-items:flex-start;gap:8px}
  body.zv.zv #section-links{grid-template-columns:1fr}
  body.zv.zv .final-cta-actions,body.zv.zv .final-cta-actions .button{width:100%}
}
/* ==========================================================
   Template additions: images, flexible layouts, gallery
   ========================================================== */
body.zv.zv .cs-error{padding:80px 0;color:var(--muted)}
body.zv.zv .cs-client img{height:30px;width:auto;max-width:160px;object-fit:contain}
body.zv.zv .cs-facts-logo{height:36px;width:auto;max-width:170px;object-fit:contain;margin:6px 0 4px}
body.zv.zv .cs-hero-grid.solo{grid-template-columns:1fr}
body.zv.zv .cs-hero-grid.solo .cs-hero-copy{max-width:760px}

/* Image component */
body.zv.zv .cs-media{margin:0}
body.zv.zv.zv.zv .cs-media{margin:0}
body.zv.zv .media-box{position:relative;aspect-ratio:var(--ratio,16/9);overflow:hidden;border-radius:6px;background:var(--surface)}
body.zv.zv .media-box img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,center);transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
body.zv.zv .cs-media figcaption{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:.75rem;line-height:1.6;color:var(--muted)}
body.zv.zv .cs-media figcaption::before{content:'';width:22px;height:1px;background:var(--accent);flex-shrink:0}
body.zv.zv .media-box.is-missing,body.zv.zv .gallery-frame.is-missing{display:grid;place-items:center;background:repeating-linear-gradient(135deg,#f5f7fa 0 12px,#eef1f5 12px 13px);border:1px dashed #cdd4de}
body.zv.zv .media-box.is-missing::after,body.zv.zv .gallery-frame.is-missing::after{content:attr(data-alt);font-size:.75rem;font-weight:650;color:var(--muted);padding:0 20px;text-align:center}
body.zv.zv .frame-browser{background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 0 0}
body.zv.zv .frame-browser .media-bar{display:flex;gap:6px;padding:11px 14px;border-bottom:1px solid var(--line)}
body.zv.zv .frame-browser .media-bar i{width:9px;height:9px;border-radius:50%;background:var(--line)}
body.zv.zv .frame-browser .media-box{border-radius:0 0 8px 8px}
body.zv.zv .frame-browser figcaption{padding:0 14px 12px}

/* Hero banner image */
body.zv.zv .hero-media{margin-bottom:34px}
body.zv.zv.zv.zv .hero-media{margin-bottom:34px}
body.zv.zv .hero-media .media-box{border-radius:6px}
body.zv.zv .hero-media .media-box::after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 1px #18213a14;border-radius:inherit;pointer-events:none}

/* Overview image under heading */
body.zv.zv .overview-media{margin-top:36px}
body.zv.zv.zv.zv .overview-media{margin-top:36px}
body.zv.zv .overview-grid.has-media .overview-side{position:sticky;top:calc(var(--site-header-height) + var(--detail-index-height) + 28px)}

/* Challenge without a visual */
body.zv.zv .list-solo{max-width:860px}

/* Solution variants */
body.zv.zv .solution-intro.solo{grid-template-columns:1fr;max-width:760px}
body.zv.zv .solution-intro.reverse>:first-child{order:2}
body.zv.zv .solution-copy>p:not(.eyebrow)+p{margin-top:16px}
body.zv.zv .cs-solution .solution-intro:last-child,body.zv.zv .cs-text-media .solution-intro{margin-bottom:0}

/* Timeline with image */
body.zv.zv .timeline-split{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:start}
body.zv.zv .sticky-media{position:sticky;top:calc(var(--site-header-height) + var(--detail-index-height) + 28px)}
body.zv.zv .timeline-vertical{list-style:none;margin:0;padding:0}
body.zv.zv .timeline-vertical li{position:relative;padding:0 0 34px 34px;border-left:1px solid var(--line)}
body.zv.zv .timeline-vertical li:last-child{padding-bottom:4px;border-left-color:transparent}
body.zv.zv .timeline-vertical li::before{content:'';position:absolute;left:-5px;top:4px;width:9px;height:9px;border-radius:50%;background:#fff;border:2px solid var(--accent)}
body.zv.zv .timeline-vertical li:last-child::after{content:'';position:absolute;left:-1px;top:0;height:10px;border-left:1px solid var(--line)}
body.zv.zv .timeline-vertical h3{font-size:1.1875rem;line-height:1.45;letter-spacing:-.035em;margin-top:8px}
body.zv.zv .timeline-vertical p{font-size:.9375rem;line-height:1.8;color:var(--muted);margin-top:8px;max-width:560px}
body.zv.zv .timeline-vertical .date{display:inline-block;margin-top:12px;font-size:.75rem;font-weight:700;background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:3px 8px}

/* Gallery */
body.zv.zv .gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
body.zv.zv .gallery-grid.single{grid-template-columns:1fr}
body.zv.zv .gallery-grid.three{grid-template-columns:repeat(3,1fr)}
body.zv.zv .gallery-item{margin:0}
body.zv.zv.zv.zv .gallery-item{margin:0}
body.zv.zv .gallery-item.wide{grid-column:1/-1}
body.zv.zv .gallery-frame{position:relative;aspect-ratio:var(--ratio,1200/760);overflow:hidden;border-radius:6px;border:1px solid #e9ecf0;background:var(--surface)}
body.zv.zv .gallery-frame img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
body.zv.zv .gallery-item:hover .gallery-frame img{transform:scale(1.015)}
body.zv.zv .gallery-item figcaption{display:grid;gap:4px;padding-top:16px;border-top:0}
body.zv.zv .gallery-item figcaption strong{font:600 1.0625rem/1.4 var(--zv-font-display);letter-spacing:-.03em}
body.zv.zv .gallery-item figcaption span{font-size:.9375rem;line-height:1.7;color:var(--muted)}

/* Governance image (optional) */
body.zv.zv .dark-media{margin-bottom:28px}
body.zv.zv.zv.zv .dark-media{margin-bottom:28px}
body.zv.zv .dark-media .media-box{--ratio:21/8;background:#223052}
body.zv.zv .dark-media figcaption{color:#bdc6d5}

/* Results metrics + note */
body.zv.zv .result-metrics{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:30px;border-top:1px solid var(--line)}
body.zv.zv .result-metrics .project-stat{padding:20px 20px 0 0}
body.zv.zv .result-metrics .project-stat strong{font-size:36px}
body.zv.zv .results-grid.solo{grid-template-columns:1fr;max-width:760px}
body.zv.zv .pending-note.is-placeholder{border-style:dashed;border-color:#cdd4de}

@media(hover:hover){body.zv.zv .hero-media:hover .media-box img{transform:scale(1.01)}}
@media(max-width:1100px){
  body.zv.zv .timeline-split{gap:40px}
  body.zv.zv .gallery-grid.three{grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
  body.zv.zv .hero-media{margin-bottom:26px}
  body.zv.zv.zv.zv .hero-media{margin-bottom:26px}
  body.zv.zv .hero-media .media-box{aspect-ratio:16/10}
  body.zv.zv .overview-grid.has-media .overview-side{position:static}
  body.zv.zv .overview-media{margin-top:26px}
  body.zv.zv.zv.zv .overview-media{margin-top:26px}
  body.zv.zv .overview-media .media-box{aspect-ratio:16/10}
  body.zv.zv .timeline-split{grid-template-columns:1fr;gap:34px}
  body.zv.zv .sticky-media{position:static}
  body.zv.zv .sticky-media .media-box{aspect-ratio:16/10}
  body.zv.zv .solution-intro.reverse>:first-child{order:0}
  body.zv.zv .gallery-grid,body.zv.zv .gallery-grid.three{grid-template-columns:1fr;gap:34px}
  body.zv.zv .dark-media .media-box{aspect-ratio:16/10}
  body.zv.zv .governance-sheets{grid-template-columns:1fr}
}
@media(max-width:480px){
  body.zv.zv .hero-media .media-box,body.zv.zv .overview-media .media-box,body.zv.zv .sticky-media .media-box{aspect-ratio:4/3}
  body.zv.zv .timeline-vertical li{padding-left:24px}
  body.zv.zv .result-metrics{grid-template-columns:1fr}
}
@media(max-width:1024px){
  body.zv.zv .cs-hero-grid{grid-template-columns:1fr;gap:34px}
  body.zv.zv .cs-hero-copy{max-width:680px}
  body.zv.zv .cs-facts dl{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
  body.zv.zv .cs-facts dl>div{grid-template-columns:1fr;gap:4px}
  body.zv.zv .cs-facts dl>div:last-child{border-bottom:1px solid #dde2e9}
  body.zv.zv .split-grid,body.zv.zv .solution-intro,body.zv.zv .results-grid,body.zv.zv .timeline-split{grid-template-columns:1fr}
  body.zv.zv .split-grid>.reveal:first-child,body.zv.zv .solution-intro>.reveal:last-child{max-width:640px}
  body.zv.zv .solution-intro.reverse>:first-child{order:0}
  body.zv.zv .sticky-media{position:static}
  body.zv.zv .sticky-media .media-box{aspect-ratio:16/9}
  body.zv.zv .overview-grid.has-media .overview-side{position:static}
}
@media(max-width:1100px) and (min-width:821px){
  body.zv.zv #section-links{overflow-x:auto;scrollbar-width:none;max-width:100%}
  body.zv.zv #section-links::-webkit-scrollbar{display:none}
}
@media(max-width:480px){
  body.zv.zv .cs-facts dl{grid-template-columns:1fr}
}
/* Gallery lightbox */
body.zv.zv .gallery-frame{cursor:zoom-in}
body.zv.zv .gallery-zoom{position:absolute;right:12px;bottom:12px;width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:15px;color:var(--ink);box-shadow:0 6px 16px #18213a14;pointer-events:none}
body.zv.zv .cs-lightbox{position:fixed;inset:0;z-index:200;background:#131a2ef5;display:none;align-items:center;justify-content:center;padding:32px}
body.zv.zv .cs-lightbox.open{display:flex}
body.zv.zv .cs-lightbox img{max-width:min(1400px,100%);max-height:calc(100dvh - 120px);width:auto;height:auto;border-radius:6px;background:#fff}
body.zv.zv .cs-lightbox p{position:absolute;left:32px;right:90px;bottom:22px;color:#d0d7e4;font-size:.875rem}
body.zv.zv .cs-lightbox button{position:absolute;top:18px;right:18px;width:44px;height:44px;border-radius:50%;border:1px solid #ffffff40;background:transparent;color:#fff;font-size:22px;line-height:1}
body.zv.zv .cs-lightbox button:hover{background:#ffffff1a}
@media(max-width:820px){body.zv.zv .cs-lightbox{padding:16px}body.zv.zv .cs-lightbox p{left:16px;bottom:16px}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  body.zv.zv .media-box img,body.zv.zv .gallery-frame img{transform:none!important}
  body.zv.zv .reveal{opacity:1;transform:none}
}

/* ==========================================================
   WordPress / Elementor integration
   ========================================================== */
body.zv.zv .elementor-location-single .e-con.cs-shell,body.zv.zv .elementor-location-single .e-con.cs-reading{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--gap:0px;--row-gap:0px;--column-gap:0px;padding:0;gap:0;max-width:none;width:100%}
body.zv.zv .e-con.cs-reading>.elementor-widget-zv-cs-index{position:sticky;top:var(--site-header-height);z-index:35}
body.zv.zv .e-con.cs-reading>.elementor-widget-zv-cs-index .service-page-index{position:relative;top:auto}
body.zv.zv .elementor-widget[class*="elementor-widget-zv-cs-"]{width:100%;margin:0}
body.zv.zv .overview-copy>p:empty{display:none}
body.elementor-editor-active .reveal,body.elementor-editor-preview .reveal{opacity:1;transform:none}
