/* Enclave case study: visual, crawlable page. No client-side rendering of copy. */
.ce { overflow-x: clip; background: var(--ice-light); color: var(--merlot); }
.ce h1, .ce h2 { font-family: Archivo, "Archivo Fallback", sans-serif; font-weight: 300; letter-spacing: -.01em; }
.ce h1 em, .ce h2 em { font-family: "Instrument Serif", "Serif Fallback", Georgia, serif; font-style: italic; }
.ce h2 { font-size: clamp(32px, 4.4vw, 62px); line-height: 1.04; margin: 0 0 20px; max-width: 18ch; }
.ce .ce-lead { font: 300 clamp(18px, 1.7vw, 22px)/1.45 Archivo, "Archivo Fallback", sans-serif; margin: 0 0 16px; max-width: 52ch; }
.ce-sec { padding: clamp(64px, 9vw, 128px) 0; }
.ce-dark { background: var(--merlot); color: var(--ice-light); }
.ce-dark p { color: rgb(253 243 228 / .88); }
.ce-white { background: #fff; }
.ce-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ce-note { font: 400 13px/1.45 Archivo, "Archivo Fallback", sans-serif; opacity: .7; margin: 14px 0 0; max-width: 60ch; }
.ce-note a, .ce-link { text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.ce-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
/* number strip */
.ce-answer { font: 300 clamp(20px, 2.1vw, 28px)/1.4 Archivo, "Archivo Fallback", sans-serif; margin: 56px 0 0; max-width: 40em; }
/* bars */
.ce-bars { display: grid; gap: 22px; }
.ce-bar b { display: flex; justify-content: space-between; gap: 12px; font: 500 16px/1.2 Archivo, "Archivo Fallback", sans-serif; margin-bottom: 8px; }
.ce-bar i { display: block; height: 56px; border-radius: 10px; background: rgb(158 68 51 / .16); width: var(--w); transform-origin: left; }
.ce-bar.win i { background: var(--merlot); }
.ce-dark .ce-bar i { background: rgb(253 243 228 / .24); }
.ce-dark .ce-bar.win i { background: var(--ice); }
.ce-anim .ce-bar i { transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.ce-anim.in .ce-bar i { transform: none; }
/* swipe */
.ce-swipe { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(20px, calc((100vw - 1160px) / 2)) 20px; margin-top: 40px; scrollbar-width: none; }
.ce-swipe::-webkit-scrollbar { display: none; }
.ce-slide { flex: 0 0 min(78vw, 300px); scroll-snap-align: center; margin: 0; }
.ce-slide img, .ce-slide video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: rgb(158 68 51 / .1); }
.ce-slide figcaption { font: 400 14px/1.4 Archivo, "Archivo Fallback", sans-serif; margin-top: 10px; }
.ce-slide figcaption b { display: block; font-weight: 600; }
/* versus */
.ce-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ce-vs > div { border-radius: 16px; padding: 24px; background: rgb(158 68 51 / .08); }
.ce-vs b { display: block; font: 300 clamp(40px, 5vw, 64px)/1 Archivo, "Archivo Fallback", sans-serif; margin-bottom: 8px; }
.ce-vs span { font: 400 14px/1.4 Archivo, "Archivo Fallback", sans-serif; display: block; }
/* flow */
.ce-flow { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.ce-flow li { background: #fff; border-radius: 14px; padding: 20px; font: 400 15px/1.4 Archivo, "Archivo Fallback", sans-serif; counter-increment: s; }
.ce-flow li::before { content: "0" counter(s); display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; opacity: .55; margin-bottom: 18px; }
.ce-flow b { display: block; font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.ce-funnel { display: grid; gap: 10px; margin-top: 40px; }
/* cards */
.ce-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.ce-cards > div { border-radius: 16px; padding: 24px; background: #fff; }
.ce-cards h3 { font: 500 19px/1.25 Archivo, "Archivo Fallback", sans-serif; margin: 0 0 8px; }
.ce-cards p { font: 400 15px/1.5 Archivo, "Archivo Fallback", sans-serif; margin: 0; }
/* faq */
.ce-faq details { border-bottom: 1px solid rgb(158 68 51 / .2); padding: 18px 0; max-width: 820px; }
.ce-faq summary { cursor: pointer; font: 400 clamp(18px, 1.8vw, 22px)/1.3 Archivo, "Archivo Fallback", sans-serif; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
.ce-faq summary::-webkit-details-marker { display: none; }
.ce-faq details p { font: 400 16px/1.55 Archivo, "Archivo Fallback", sans-serif; margin: 10px 0 0; }
.ce-src { max-width: 820px; margin-top: 28px; font: 400 14px/1.5 Archivo, "Archivo Fallback", sans-serif; }
.ce-src summary { cursor: pointer; font-weight: 600; }
.ce-src ul { padding-left: 18px; }
@media (max-width: 900px) {
  .ce-flow { grid-template-columns: minmax(0, 1fr); }
  .ce-flow li::before { margin-bottom: 8px; }
  .ce-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ce-anim .ce-bar i { transform: none; transition: none; } }
/* showcase */
.ce-swipe.reels .ce-slide { flex-basis: min(62vw, 250px); }
.ce-reel { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: rgb(0 0 0 / .25); cursor: pointer; }
.ce-reel img, .ce-reel video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.ce-dark .ce-slide figcaption { color: var(--ice-light); }
.ce-browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgb(0 0 0 / .35); }
.ce-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #efece7; font: 400 12px/1 Archivo, "Archivo Fallback", sans-serif; color: #5c5650; }
.ce-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc9c0; }
.ce-browser-bar span { margin-left: 8px; }
.ce-browser img { display: block; width: 100%; height: auto; }
.ce-def { background: #fff; border-radius: 16px; padding: 24px; margin: 8px 0 0; max-width: 760px; font: 400 17px/1.5 Archivo, "Archivo Fallback", sans-serif; }
.ce-results { width: 100%; border-collapse: collapse; margin-top: 40px; }
.ce-results th, .ce-results td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid rgb(158 68 51 / .2); font: 400 16px/1.4 Archivo, "Archivo Fallback", sans-serif; vertical-align: top; }
.ce-results th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ce-results td:nth-child(2) { font-weight: 600; white-space: nowrap; }
.ce-sell { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.ce-get a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ce-faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ce-faq-img { position: sticky; top: 100px; margin: 0; }
.ce-faq-img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.ce-faq-grid h2 { font-size: clamp(30px, 3.4vw, 48px); max-width: none; }
@media (max-width: 900px) { .ce-faq-grid { grid-template-columns: minmax(0, 1fr); } .ce-faq-img { position: static; } .ce-faq-img img { aspect-ratio: 16 / 10; } .ce-results td, .ce-results th { font-size: 14px; padding-right: 10px; } .ce-results td:nth-child(2) { white-space: normal; } }
.ce-speed-num { font: 300 clamp(56px, 8vw, 112px)/1 Archivo, "Archivo Fallback", sans-serif; margin: 0 0 8px; }
.ce-sell .btn-pill { background: var(--merlot); color: var(--ice-light); }
.ce-dark .ce-sell .btn-pill { background: var(--ice-light); color: var(--merlot); }
.ce-reel .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #1d1a18; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.ce-reel .play svg { width: 24px; height: 24px; fill: currentColor; }
.ce-reel.is-sound .play { display: none; }
.ce-reel video { z-index: 1; }

/* Same case study shell as the rest of the site: hero, fan and stats come from case-study.css. Only additions below. */
.cs-hero h1 { max-width: 20ch; }
.cs-hero .cs-calc a { color: inherit; }
.ce-cta { margin-top: 24px; }
.ce-lead-msg { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); box-sizing: border-box; background: var(--ice-light); color: var(--merlot); border-radius: 12px; padding: 10px 12px; font: 400 14px/1.3 Archivo, "Archivo Fallback", sans-serif; box-shadow: 0 14px 30px -14px rgb(0 0 0 / .6); }
.ce-lead-msg span { display: block; font: 600 9.5px/1.2 Archivo, "Archivo Fallback", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: rgb(158 68 51 / .65); margin-bottom: 5px; }
/* crop the ad's own bottom copy so nothing peeks out behind the message */
.cs-fan .cs-fan-1 img { height: 158%; object-position: center top; }
.cs-fan .cs-fan-2 img { height: 155%; object-position: right top; }
.cs-fan-0 .ce-lead-msg { max-width: 50%; }
.cs-fan-2 .ce-lead-msg { max-width: 50%; left: auto; right: 10px; }
@media (max-width: 600px) { .ce-lead-msg { font-size: 11.5px; padding: 7px 8px; left: 6px; bottom: 6px; max-width: calc(100% - 12px); border-radius: 9px; } .ce-lead-msg span { font-size: 8px; margin-bottom: 3px; letter-spacing: .06em; } .cs-fan-0 .ce-lead-msg { max-width: 52%; } .cs-fan-2 .ce-lead-msg { max-width: 52%; right: 6px; } }

/* Sections and cards: same scale and card as the other case studies */
.ce-sec { padding: 96px 0; border-top: 1px solid rgb(158 68 51 / .1); }
.ce-dark { border-top: 0; }
.ce-white { background: var(--ice-light); }
.ce h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; max-width: 26ch; }
.ce-flow li, .ce-cards > div, .ce-vs > div, .ce-def { background: #fff; border-radius: 18px; box-shadow: 0 20px 50px -34px rgb(158 68 51 / .6); }
.ce-flow li { padding: 24px; }
.ce-flow li::before { content: "0" counter(s); font: italic 400 34px/1 "Instrument Serif", "Serif Fallback", Georgia, serif; letter-spacing: 0; color: rgb(158 68 51 / .45); opacity: 1; margin-bottom: 14px; }
.ce-flow b, .ce-cards h3 { font: 400 19px/1.25 Archivo, "Archivo Fallback", sans-serif; }
.ce-cards p, .ce-flow li { color: rgb(158 68 51 / .8); }
.ce-flow b, .ce-cards h3, .ce-vs b { color: var(--merlot); }
.ce-cards h3 a { text-decoration: none; }
.ce-cards h3 a:hover { text-decoration: underline; }
.ce-chat { background: #fff; color: var(--merlot); border-radius: 18px; padding: 24px; max-width: 360px; margin: 0 auto; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .5); display: grid; gap: 10px; }
.ce-chat .cs-meta { color: rgb(158 68 51 / .6); }
.ce-msg { font: 400 15px/1.35 Archivo, "Archivo Fallback", sans-serif; padding: 10px 13px; border-radius: 12px; margin: 0; width: fit-content; max-width: 88%; }
.ce-msg small { display: block; font-size: 10px; opacity: .65; margin-top: 3px; }
.ce-msg.in { background: var(--ice-light); color: var(--merlot) !important; }
.ce-msg.out { background: var(--merlot); color: var(--ice-light) !important; margin-left: auto; }
.ce-browser, .ce-faq-img img, .ce-slide img { border-radius: 14px; }
.ce-browser-bar { background: var(--ice-light); color: var(--merlot); }
.ce-browser-bar i { background: rgb(158 68 51 / .25); }

/* website section: browser with a small phone offsetting its bottom right */
.ce-site { position: relative; padding-bottom: 9%; margin-right: 3%; }
.ce-site-phone { position: absolute; right: -3%; bottom: 0; width: 24%; height: auto; display: block; border-radius: 14px; box-shadow: 0 30px 60px -18px rgb(0 0 0 / .65); }
@media (max-width: 900px) {
  .ce-two { grid-template-columns: minmax(0, 1fr); }
  .ce-site-phone { width: 30%; }
  .ce-faq-img img { aspect-ratio: 1 / 1; object-position: center 70%; }
}
.ce-get a.btn-pill { text-decoration: none; }
