.cf{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:26px;align-items:start;max-width:1100px;margin:0 auto}
.cf-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.cf-steps button{width:100%;display:grid;grid-template-columns:34px 1fr;align-items:center;gap:14px;text-align:left;background:#fff;border:1px solid var(--line,#e1dfe8);border-radius:12px;padding:10px 14px;color:var(--ink,#191725);font:inherit;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.cf-steps button:hover,.cf-steps button.active{border-color:var(--purple,#5b2197);box-shadow:0 4px 14px rgba(91,33,151,.12)}
.cf-n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--lavender,#f0e7fa);color:var(--purple,#5b2197);font-weight:700;font-size:15px;transition:background .2s,color .2s}
.cf-steps button:hover .cf-n,.cf-steps button.active .cf-n{background:var(--purple,#5b2197);color:#fff}
.cf-txt{display:flex;flex-direction:column;gap:2px}.cf-txt b{font-weight:620}.cf-txt small{font-size:13px;line-height:1.45;color:var(--muted,#646273)}
.cf-stage{margin:0;background:#fff;border:1px solid var(--line,#e1dfe8);border-radius:14px;padding:14px 14px 10px;box-shadow:0 10px 30px rgba(32,17,51,.08)}
.cf-svg{display:block;width:100%;height:auto}
.cf-frame{fill:#fbfbfd;stroke:#c9c6d6;stroke-width:1.2}
.cf-wl{font:600 13px 'Segoe UI',Arial,sans-serif;fill:#3a3750}.cf-sub{font:12px 'Segoe UI',Arial,sans-serif;fill:#7a7790}
.cf-curve{fill:none;stroke:#1f7a3a;stroke-width:1.5;stroke-linejoin:round}
.cf-top{stroke-width:2.4;stroke-linecap:round;fill:none}.cf-top.thin,.cf-link.thin{stroke-width:1.4}
.cf-top.pick{stroke:#191725}.cf-top.auto,.cf-link.auto{stroke:#ea580c}.cf-top.blind{stroke:#1d4ed8}
.cf-link{stroke-width:2;stroke-dasharray:1;fill:none}
.cf-top{stroke-dasharray:1}
.cf-i{opacity:0;transition:opacity .5s ease var(--d,0s),stroke-dashoffset .8s ease var(--d,0s)}
.cf-top.cf-i,.cf-link.cf-i{stroke-dashoffset:1}
.cf-i.on{opacity:1}.cf-top.cf-i.on,.cf-link.cf-i.on{stroke-dashoffset:0}
.cf-link.auto{stroke-dasharray:1}
.cf-band{fill:rgba(234,88,12,.16)}
.cf-win{fill:rgba(91,33,151,.12);stroke:#5b2197;stroke-width:1.2;stroke-dasharray:5 3}
.cf-lab{font:600 12px 'Segoe UI',Arial,sans-serif;fill:#191725}.cf-end{text-anchor:end}.cf-mid{text-anchor:middle}.cf-blue{fill:#1d4ed8}.cf-prob{fill:#9a3412}
.cf-ok{font:700 18px 'Segoe UI',Arial,sans-serif;fill:#15803d}
.cf-move{fill:none;stroke:#5b2197;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cf-chip{fill:#5b2197}.cf-chipt{font:600 12.5px 'Segoe UI',Arial,sans-serif;fill:#fff}
.cf-cap{font-size:14px;line-height:1.55;color:#2c2a38;margin:6px 4px 4px;min-height:44px}
.cf-bar{display:flex;align-items:center;gap:12px;justify-content:space-between}.cf-note{font-size:12px;color:var(--muted,#646273)}
.cf-play{border:1px solid var(--line,#e1dfe8);background:#fff;border-radius:999px;padding:5px 16px;font:600 13px 'Segoe UI',Arial,sans-serif;color:var(--purple,#5b2197);cursor:pointer}.cf-play:hover{border-color:var(--purple,#5b2197)}
@media(max-width:900px){.cf{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.cf-i,.cf-top.cf-i,.cf-link.cf-i{transition:none}}
.ac-intro{padding:clamp(36px,5vw,80px);background:var(--lavender-soft,#faf7fd);border-top:1px solid var(--line,#e1dfe8)}
.ac-intro-head{max-width:880px;margin:0 auto 28px;text-align:center}.ac-intro-head h2{font-size:clamp(28px,3.4vw,44px);line-height:1.12;margin:6px 0 14px}.ac-intro-head p{font-size:17px;line-height:1.6;color:var(--muted,#646273);margin:0 0 10px}
.ac-intro-points{list-style:none;padding:0;margin:0 auto 30px;max-width:1100px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ac-intro-points li{background:#fff;border:1px solid var(--line,#e1dfe8);border-radius:12px;padding:16px 18px;line-height:1.5;font-size:15px}.ac-intro-points b{display:block;font-size:16px;margin-bottom:4px}
.ac-intro-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:28px}
@media(max-width:900px){.ac-intro-points{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.ac-intro-points{grid-template-columns:1fr}}
@media(min-width:1151px) and (max-width:1560px){body:has(#intro) .site-header nav{gap:13px}}
.ac-intro .button.secondary{color:var(--purple,#5b2197);background:#fff;border:1px solid var(--purple,#5b2197)}.ac-intro .button.secondary:hover{background:var(--lavender,#f0e7fa)}
@media(min-width:801px) and (max-width:1450px){body:has(#intro) .site-header nav .nav-access{display:none}}

/* v3: richer logs, faster motion */
.cf-sand{fill:#f6e2a0;opacity:.9}.cf-shale{fill:#d9d2ca;opacity:.75}
.cf-curve{stroke:#2f6b3a;stroke-width:1.2}
.cf-i{opacity:0;transition:opacity .3s ease var(--d,0s),stroke-dashoffset .45s ease var(--d,0s)}
.cf-i.on{opacity:1}
.cf-count{font:600 12px 'Segoe UI',Arial,sans-serif;fill:#5b2197;text-anchor:end}
.cf-del{font:700 12px 'Segoe UI',Arial,sans-serif;fill:#b91c1c}
.cf-top.flag{stroke:#d97706;stroke-width:3}
.cf-top.thin,.cf-link.thin{stroke-width:1.1}
.cf-top.blind,.cf-link.blind{stroke:#1d4ed8}.cf-link.blind{stroke-width:2.2}
.cf-win.ref{fill:rgba(29,78,216,.10);stroke:#1d4ed8}
.cf-win.scan,.cf-win.search{fill:rgba(91,33,151,.14)}
.cf-win{transform-box:fill-box;transform-origin:0 0}
.cf-anim.on.cf-win.scan{animation:cf-scan 1.3s cubic-bezier(.45,0,.25,1) var(--d,0s) both}
.cf-anim.on.cf-win.search{animation:cf-search 1.7s ease-in-out var(--d,0s) both}
.cf-anim.on.cf-top.flag{animation:cf-nudge .9s ease-in-out var(--d,0s) both}
@keyframes cf-scan{from{transform:translateY(var(--dy))}to{transform:none}}
@keyframes cf-search{0%{transform:translateY(var(--dy)) scaleY(var(--s))}35%{transform:translateY(calc(var(--dy) * -.7)) scaleY(calc(2 - var(--s)))}70%{transform:translateY(calc(var(--dy) * .3)) scaleY(calc(1 + (var(--s) - 1) * .3))}100%{transform:none}}
@keyframes cf-nudge{from{transform:translateY(var(--dy))}to{transform:none}}
.cf-steps button{position:relative;overflow:hidden}
.cf-steps button::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--purple,#5b2197)}
.cf-playing .cf-steps button.active::after{animation:cf-prog var(--cf-dur,3500ms) linear forwards}
@keyframes cf-prog{to{width:100%}}
@media(prefers-reduced-motion:reduce){.cf-anim.on{animation:none!important}}
.cf-i{transition:opacity .12s ease,stroke-dashoffset 0s}
.cf-i.on{transition:opacity .3s ease var(--d,0s),stroke-dashoffset .45s ease var(--d,0s)}
.cf-top.cf-i,.cf-link.cf-i{stroke-dashoffset:1}
@media(max-width:1750px){body:has(#intro) .site-header .brand-caption{display:none}}

/* v5: looks like the real correlation chart (depth column, Tops zones, shaded zones between wells) */
.cf{grid-template-columns:minmax(0,300px) minmax(0,1fr);max-width:1260px}
.cf-dcol,.cf-head{fill:#fff;stroke:#6b6a78;stroke-width:1}
.cf-outline{fill:none;stroke:#6b6a78;stroke-width:1.2}
.cf-hd{font:600 12px 'Segoe UI',Arial,sans-serif;fill:#3a3750}.cf-hg{font:600 11.5px 'Segoe UI',Arial,sans-serif;fill:#2f7d3c}
.cf-gl{stroke:#2f7d3c;stroke-width:1.6}.cf-sc{font:11px 'Segoe UI',Arial,sans-serif;fill:#6b6a78}.cf-sc.cf-end{text-anchor:end}
.cf-tick{stroke:#6b6a78;stroke-width:1}.cf-dl{font:11.5px 'Segoe UI',Arial,sans-serif;fill:#3a3750;text-anchor:end}
.cf-strip{fill:#f5e6bd}.cf-grid{stroke:#e4e2ee;stroke-width:1}
.cf-frame{fill:#fff}
.cf-sand{fill:#f7e2a8;opacity:.95}.cf-shale{fill:#e8c98e;opacity:.9}
.cf-curve{stroke:#2f7d3c;stroke-width:1.3}
.cf-z{stroke:none}.cf-z0{fill:#f5e6bd}.cf-z1{fill:#e6ad8d}.cf-z2{fill:#edbfa3}.cf-zb{fill:#c9d7f6}
.cf-lf{stroke:none}.cf-l0{fill:#f8efd9}.cf-l1{fill:#f0d2c0}.cf-l2{fill:#f6e1d4}.cf-lb{fill:#dbe5fa}
.cf-tn{font:700 11.5px 'Segoe UI',Arial,sans-serif;fill:#8a3d1d}.cf-md{font:10px 'Segoe UI',Arial,sans-serif;fill:#6b4a3c}
.cf-top.pick{stroke:#8a3d1d;stroke-width:2.2}.cf-top.auto,.cf-link.auto{stroke:#a8481f}
.cf-lab{paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.cf-win.ref{fill:rgba(29,78,216,.12)}
.cf-count{text-anchor:start}

/* v6: phones. The grid column must be allowed to shrink; the wells scroll sideways inside the card. */
.cf-stage,.cf-steps,.cf-steps li{min-width:0}
@media(max-width:900px){.cf{grid-template-columns:minmax(0,1fr);gap:16px}.cf-stage{overflow-x:auto;-webkit-overflow-scrolling:touch}.cf-svg{min-width:680px}.cf-bar{flex-wrap:wrap}.cf-cap,.cf-bar{position:sticky;left:0}}
@media(max-width:700px){.cf-txt small{display:none}.cf-steps button{padding:9px 12px;grid-template-columns:30px 1fr;gap:12px}.cf-n{width:30px;height:30px;font-size:14px}.cf-cap{font-size:13.5px;min-height:0}}
