/* DOE TikTok Shop: "professional" direction (pro.html).
   Warm black + warm stone, DOE violet only as a small accent, DM Sans semibold paired with a light serif italic
   (Newsreader), hairlines and whitespace instead of boxes, no cyan/pink, no offset shadows, no all-caps display.
   Sits on top of styles.css + sections.css + bold.css; every rule is scoped to html.pro.bold so it outranks bold.css. */

@font-face { font-family: 'Newsreader'; src: url(assets/fonts/newsreader-italic-latin.woff2) format('woff2'); font-style: italic; font-weight: 300 500; font-display: swap; }

html.pro {
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --k: #131210;
  --k2: #1C1A17;
  --stone: #131210;          /* was warm stone: the whole site is warm black now */
  --paper: #1B1917;
  --ink: #F2EFE8;
  --ink2: rgba(242, 239, 232, .62);
  --hd: rgba(242, 239, 232, .12);
  --cream: #F2EFE8;
  --cream2: rgba(242, 239, 232, .62);
  --hl: rgba(242, 239, 232, .13);
  --violet: #5B48F0;
  --violet-soft: #BDB4FF;
}
html.pro body { background: var(--k); color: var(--cream); }

/* ---------- type system: semibold sans + light serif italic, sentence case everywhere ---------- */
html.pro.bold .title > span, html.pro.bold .title > span:first-child, html.pro.bold .h2 > span, html.pro.bold .h2 > span:first-child,
html.pro.bold .cta-title > span, html.pro.bold .cta-title > span:first-child, html.pro.bold .res-big, html.pro.bold .brands li,
html.pro.bold .res-stats dt, html.pro.bold .svc-cell h3, html.pro.bold .faq-list summary, html.pro .reel-tab .n, html.pro .reel-count b {
  font-family: var(--display); font-stretch: 100%; text-transform: none; text-shadow: none !important; animation: none;
}
html.pro.bold .title { font-size: clamp(52px, min(5.6vw, 10vh), 108px); line-height: 1; letter-spacing: -0.035em; }
html.pro.bold .title > span:first-child { font-size: 1em; font-weight: 600; letter-spacing: -0.04em; color: var(--cream); }
html.pro.bold .title .t-l, html.pro.bold .h2 .lt, html.pro.bold .cta-title .lt {
  margin-top: .02em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.04em; letter-spacing: -0.02em; line-height: 1.02;
}
html.pro.bold .title .t-l { color: rgba(242, 239, 232, .78); }
html.pro.bold .h2 { font-size: clamp(42px, min(4.4vw, 8vh), 80px); line-height: 1.02; letter-spacing: -0.035em; }
html.pro.bold .h2 > span:first-child { font-weight: 600; letter-spacing: -0.035em; }
html.pro.bold .label { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--cream2); }
html.pro.bold .label::before { display: none; }
html.pro.bold .sec-lede { font-size: clamp(17px, 1.15vw, 19.5px); }

/* ---------- buttons + header ---------- */
html.pro .btn-accent { background: var(--violet); }
html.pro .btn-accent:hover { background: #4A38E0; }
html.pro .hdr.is-scrolled { background: rgba(19, 18, 16, .92); border-color: var(--hl); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
html.pro .nav-links a { color: var(--cream2); }
html.pro .nav-links a:hover { color: var(--cream); }

/* ---------- hero ---------- */
html.pro .stage { background: var(--k); }
html.pro .shade {
  background:
    linear-gradient(90deg, rgba(19, 18, 16, calc(.86 * var(--sa, 1))) 0%, rgba(19, 18, 16, calc(.45 * var(--sa, 1))) 36%, transparent 58%),
    linear-gradient(270deg, rgba(19, 18, 16, calc(.86 * var(--sb, 0))) 0%, rgba(19, 18, 16, calc(.45 * var(--sb, 0))) 36%, transparent 58%),
    linear-gradient(0deg, rgba(19, 18, 16, .92) 0%, rgba(19, 18, 16, 0) 26%),
    linear-gradient(180deg, rgba(19, 18, 16, .7) 0, rgba(19, 18, 16, 0) 140px);
}
html.pro.tall .shade { background: linear-gradient(0deg, rgba(19, 18, 16, .97) 0%, rgba(19, 18, 16, .9) 34%, rgba(19, 18, 16, 0) 60%), linear-gradient(180deg, rgba(19, 18, 16, .7) 0, rgba(19, 18, 16, 0) 120px); }
html.pro .eyebrow { gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream2); }
html.pro .dot, html.pro.bold .dot { width: 7px; height: 7px; background: var(--violet); box-shadow: none; }
html.pro .lede { color: var(--cream2); }
html.pro .scroll-cue span::after { background: var(--cream); }
html.pro.bold .beat-b .h2 .lt { color: rgba(242, 239, 232, .78); }
html.pro .pillars { border-top-color: var(--hl); }
html.pro .pillars li { border-bottom-color: var(--hl); font-weight: 500; }
html.pro .pillars b { color: var(--violet-soft); }

/* ---------- hero: "the street" (film.js) — scroll walks down a street of TikTok Shop storefronts, then dives into the phone ---------- */
html.pro .film { position: relative; height: 400svh; background: var(--k); color: var(--cream); }
html.pro .film-stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 40px) 0 30px; overflow: hidden; isolation: isolate; }
html.pro .film-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: var(--k); }
/* a box with the footage's exact aspect that covers the stage; everything inside scales together */
html.pro .film-cover { --ar: 1.7910; position: absolute; left: 50%; top: 50%; width: max(100%, calc(100svh * var(--ar))); aspect-ratio: var(--ar); transform: translate(-50%, -50%); transform-origin: 50.26% 48.56%; will-change: transform; }
html.film-tall.pro .film-cover { --ar: .5625; transform-origin: 50.83% 48.56%; }
html.pro .film-v { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; background: var(--k); }
html.pro .film-dim { position: absolute; inset: 0; background: var(--k); opacity: 0; pointer-events: none; }
/* the giant phone's screen in the flagship window (measured on the last frame: x 894-1044, y 360-685 of 1928x1076) */
html.pro .film-screen { position: absolute; left: 46.37%; top: 33.46%; width: 7.78%; height: 30.2%; overflow: hidden; border-radius: 10% / 4.6%; background: #000; opacity: 0; }
html.film-tall.pro .film-screen { left: 38.45%; width: 24.75%; }
html.pro .film-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
html.pro .film-screen::after { content: ''; position: absolute; top: 0; left: 22.5%; width: 55%; height: 3.4%; border-radius: 0 0 12px 12px / 0 0 8px 8px; background: #000; }
html.pro .film-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(19, 18, 16, .86) 0%, rgba(19, 18, 16, .55) 30%, rgba(19, 18, 16, .1) 52%, transparent 64%),
    linear-gradient(0deg, rgba(19, 18, 16, .94) 0%, rgba(19, 18, 16, .5) 20%, transparent 42%),
    linear-gradient(180deg, rgba(19, 18, 16, .6) 0, transparent 170px); }
/* film grain, moving so it reads as texture on the footage rather than dirt on the screen */
html.pro .film-stage::after { content: ''; position: absolute; inset: -60px; z-index: -1; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: film-grain .6s steps(3) infinite; }
@keyframes film-grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-22px, 14px); } 66% { transform: translate(16px, -20px); } 100% { transform: translate(0, 0); } }

/* viewfinder: four corner marks + LIVE timecode */
html.pro .film-frame { position: absolute; inset: calc(var(--nav-h) + 16px) 22px 22px; z-index: -1; pointer-events: none; }
html.pro .film-frame i { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(242, 239, 232, .42); }
html.pro .film-frame i:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
html.pro .film-frame i:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
html.pro .film-frame i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
html.pro .film-frame i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }
html.pro .film-rec { position: absolute; top: 14px; right: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: rgba(242, 239, 232, .8); }
html.pro .film-rec b { width: 8px; height: 8px; border-radius: 50%; background: #FF4D4D; box-shadow: 0 0 10px rgba(255, 77, 77, .7); animation: live-dot 1.4s ease-in-out infinite; }
html.pro .film-rec time { min-width: 92px; font-variant-numeric: tabular-nums; letter-spacing: .08em; color: rgba(242, 239, 232, .55); }
html.pro .film-cue { position: absolute; right: 40px; bottom: 112px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(242, 239, 232, .7); writing-mode: vertical-rl; }
html.pro .film-cue::after { content: ''; width: 1px; height: 54px; background: linear-gradient(rgba(242, 239, 232, .8), rgba(242, 239, 232, 0)); animation: cue-line 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* copy: bottom-left, static (no text animation; it only fades as the walk starts) */
html.pro .film-copy { position: relative; margin-bottom: clamp(36px, 7vh, 80px); }
html.pro .film-copy .eyebrow { margin-bottom: 22px; }
html.pro .film-copy .title { display: flex; flex-direction: column; margin: 0; }
html.pro .film-copy .lede { max-width: 520px; margin: 26px 0 0; font-size: clamp(17px, 1.2vw, 19.5px); line-height: 1.55; color: rgba(242, 239, 232, .74); }
html.pro .film-copy .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 34px; }

/* the five services as an index along the bottom */
html.pro .film-index ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(242, 239, 232, .2); }
html.pro .film-index li { display: flex; align-items: baseline; gap: 10px; padding: 16px 18px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.35; color: rgba(242, 239, 232, .74); }
html.pro .film-index b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; color: var(--violet-soft); }

@media (max-width: 1100px) {
  html.pro .film-index ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 4px; }
}
@media (max-width: 760px) {
  html.pro .film { height: 340svh; }
  html.pro .film-stage { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  html.pro .film-shade { background: linear-gradient(0deg, rgba(19, 18, 16, .97) 0%, rgba(19, 18, 16, .86) 34%, rgba(19, 18, 16, .2) 58%, transparent 70%), linear-gradient(180deg, rgba(19, 18, 16, .6) 0, transparent 130px); }
  html.pro .film-frame { inset: calc(var(--nav-h) + 10px) 14px 14px; }
  html.pro .film-frame i:nth-child(3), html.pro .film-frame i:nth-child(4) { display: none; }
  html.pro .film-rec { top: 10px; right: 12px; font-size: 11px; }
  html.pro .film-cue { display: none; }
  html.pro .film-copy { margin-bottom: 8px; }
  html.pro .film-copy .eyebrow { margin-bottom: 16px; }
  html.pro .film-copy .lede { margin-top: 18px; font-size: 16px; }
  html.pro .film-copy .ctas { margin-top: 24px; gap: 14px 22px; }
  html.pro .film-index { display: none; }
}

/* ---------- case studies: warm stone, a quiet index of cases ---------- */
html.pro.bold .res { background: var(--stone); color: var(--ink); }
html.pro.bold .res .label { color: var(--ink2); }
html.pro.bold .res .h2 > span:first-child { color: var(--ink); }
html.pro.bold .res .h2 .lt { color: var(--ink2); }
html.pro.bold .res .sec-lede { color: var(--ink2); }
html.pro .reel .cases { border: 1px solid var(--hd); border-radius: 6px; background: var(--paper); box-shadow: none; }
html.pro .case-media { margin: 0; border-radius: 0; }
html.pro .case-media::after { display: none; }
html.pro .res-tag { left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 4px; background: rgba(20, 19, 17, .78); color: var(--cream); font-weight: 500; rotate: none; box-shadow: none; }
html.pro .res-tag i { background: var(--violet-soft); }
html.pro.bold .case .res-card.case-stats { color: var(--ink); }
html.pro .res-k { color: var(--ink2); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
html.pro.bold .res-big { font-size: clamp(72px, 7vw, 132px); font-weight: 600; line-height: .95; letter-spacing: -0.05em; }
html.pro.bold .res-big span, html.pro.bold .case-mac .res-big span, html.pro .case-mac .res-big span { color: var(--ink); text-shadow: none; }
html.pro.bold .res-big em { margin-left: .2em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .24em; letter-spacing: -0.01em; color: var(--ink2); }
html.pro #resLine stop { stop-color: #5B48F0; }
html.pro #resFill stop:first-child { stop-color: #5B48F0; stop-opacity: .16; }
html.pro #resFill stop:nth-child(2) { stop-color: #5B48F0; stop-opacity: .06; }
html.pro .res-line { stroke-width: 2; }
html.pro .res-grid-l { stroke: var(--hd); }
html.pro .res-pt::before { width: 9px; height: 9px; left: -4.5px; top: -4.5px; background: var(--paper); box-shadow: 0 0 0 2px var(--ink); }
html.pro .res-l { color: var(--ink2); }
html.pro .res-l b { color: var(--ink); font-weight: 600; }
html.pro .res-note { color: rgba(242, 239, 232, .42); }
html.pro .res-stats { border-top-color: var(--hd); }
html.pro .res-stats > div + div { border-left-color: var(--hd); }
html.pro.bold .res-stats dt { font-weight: 600; letter-spacing: -0.04em; color: var(--ink); }
html.pro .res-stats dd { color: var(--ink2); }
html.pro .res-link { color: var(--ink); }
html.pro .res-link::after { background: var(--ink); height: 1px; }
html.pro .case-cap { color: var(--ink); font-weight: 500; }
html.pro .case-story { color: var(--ink2); }
html.pro .reel-sweep::before { width: 2px; background: var(--paper); box-shadow: 0 0 24px 4px rgba(245, 243, 238, .55); }
html.pro .reel-drag { width: 84px; height: 84px; background: var(--ink); color: var(--k); font-size: 11.5px; box-shadow: none; }

/* index-style tabs: hairline on top that fills, number, name, sector */
html.pro .reel-nav { margin-top: 28px; }
html.pro .reel-tabs { grid-auto-columns: minmax(0, 300px); gap: 28px; }
html.pro .reel-tab { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 14px; padding: 18px 0 4px; border: 0; border-radius: 0; background: none; color: var(--ink2); box-shadow: none !important; transform: none !important; }
html.pro .reel-tab:hover { color: var(--ink); }
html.pro .reel-tab .n { display: block; width: auto; height: auto; background: none; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: inherit; }
html.pro .reel-tab .tx b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: inherit; }
html.pro .reel-tab .tx span { color: var(--ink2); }
html.pro .reel-tab .bar { top: 0; bottom: auto; left: 0; right: 0; height: 1px; border-radius: 0; background: var(--hd); }
html.pro .reel-tab .bar i { background: var(--ink); }
html.pro .reel-tab.is-on { background: none; color: var(--ink); }
html.pro .reel-tab.is-on .n { color: var(--violet); background: none; }
html.pro .reel-tab.is-on .bar { background: var(--hd); }
html.pro .reel-tab.is-on .bar i { background: var(--ink); }
html.pro .reel-tab.is-on .tx span { color: var(--ink2); }
html.pro .reel-count b { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); }
html.pro .reel-count span { color: var(--ink2); }
html.pro .reel-btn { width: 54px; height: 54px; border: 1px solid rgba(242, 239, 232, .28); background: none; color: var(--ink); box-shadow: none; }
html.pro .reel-btn:hover { background: var(--ink); color: var(--k); border-color: var(--ink); transform: none; }
html.pro .brands { border-top-color: var(--hd); }
html.pro .brands p { color: var(--ink2); }
html.pro.bold .brands li { font-weight: 600; letter-spacing: -0.03em; color: rgba(242, 239, 232, .4); }
html.pro.bold .brands li:hover { color: var(--ink); }

/* ---------- services: an editorial list on warm black ---------- */
html.pro.bold .svc { background: var(--k); color: var(--cream); }
html.pro.bold .svc .label { color: var(--cream2); }
html.pro.bold .svc .h2 > span:first-child { color: var(--cream); }
html.pro.bold .svc .h2 .lt { color: rgba(242, 239, 232, .7); }
html.pro.bold .svc .sec-lede { color: var(--cream2); }
html.pro.bold .svc-grid { display: block; gap: 0; padding: 0; border-top: 1px solid var(--hl); }
html.pro.bold .svc-cell, html.pro.bold.mo .svc-cell, html.pro.bold .svc-cell:hover {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr; column-gap: clamp(20px, 2.6vw, 44px);
  padding: clamp(28px, 3vw, 44px) 0; border: 0; border-bottom: 1px solid var(--hl); border-radius: 0; background: none; box-shadow: none !important; transform: none !important; opacity: 1 !important;
}
html.pro.bold .svc-cell .vis { grid-column: 4; grid-row: 1 / span 2; height: clamp(252px, 18vw, 270px); border-radius: 4px; background: var(--k2); box-shadow: inset 0 0 0 1px var(--hl); }
html.pro.bold .svc-n { grid-column: 1; grid-row: 1 / span 2; margin: 6px 0 0; padding: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; color: var(--violet-soft); }
html.pro.bold .svc-cell h3 { grid-column: 2; grid-row: 1 / span 2; padding: 0; font-size: clamp(26px, 2.2vw, 36px); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; color: var(--cream); }
html.pro.bold .svc-cell > p { grid-column: 3; grid-row: 1; padding: 0; font-size: 16.5px; line-height: 1.6; color: var(--cream2); }
html.pro.bold .svc-link { grid-column: 3; grid-row: 2; align-self: start; margin: 16px 0 0; color: var(--cream); border-color: var(--hl); }
html.pro.bold .svc-link:hover { border-color: var(--cream); }
/* the small views: neutral, violet as the only colour */
html.pro .vis { background: var(--k2); }
html.pro .vis-cap { color: var(--cream2); }
html.pro .st.s2 { background: rgba(189, 180, 255, .14); color: var(--violet-soft); }
html.pro .st.s3 { background: rgba(242, 239, 232, .12); color: var(--cream); }
html.pro .live-pill { background: var(--violet); }
html.pro .live-chat li:nth-child(4), html.pro .live-chat li:nth-child(9) { background: rgba(110, 91, 255, .22); }
html.pro .hook-bar li { --c: #8576FF; }
html.pro .ads-flow li { animation-name: hand-pro; }
@keyframes hand-pro { 0% { background: rgba(110, 91, 255, .22); box-shadow: inset 0 0 0 1px rgba(189, 180, 255, .5); } 30%, 100% { background: rgba(244, 242, 237, .05); box-shadow: inset 0 0 0 1px rgba(244, 242, 237, .08); } }
@keyframes chk-dot { 0%, 6% { background: transparent; } 10%, 88% { background: #BDB4FF; box-shadow: none; } 96%, 100% { background: transparent; } }
@keyframes chk-dot-go { 0%, 6% { background: transparent; } 10%, 88% { background: #6E5BFF; box-shadow: none; } 96%, 100% { background: transparent; } }
html.pro .tick { display: none; }

/* ---------- how it works: three panels; the open one widens and plays a small live scene (not pinned) ---------- */
html.pro.bold .how { background: var(--stone); color: var(--ink); }
html.pro.bold .how .label { color: var(--ink2); }
html.pro.bold .how .h2 > span:first-child { color: var(--ink); }
html.pro.bold .how .h2 .lt { color: var(--ink2); }
html.pro.bold .how .sec-lede { color: var(--ink2); }
html.pro .steps { --ez: cubic-bezier(.7, 0, .2, 1); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
html.pro .steps > li { position: relative; display: flex; flex-direction: column; gap: 26px; min-width: 0; padding: 28px 28px 32px; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hd); color: var(--cream); }
html.pro .steps .story-bar { display: none; }
html.pro .st-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
html.pro .st-n { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(56px, 4.6vw, 76px); line-height: .85; letter-spacing: -0.02em; color: var(--violet-soft); }
html.pro .st-of { padding-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--cream2); }
html.pro .sv { display: grid; align-items: center; min-height: 318px; pointer-events: none; }
html.pro .st-copy { margin-top: auto; }
html.pro .st-b { margin: 0; font-family: var(--display); font-size: clamp(24px, 1.9vw, 30px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; color: inherit; }
html.pro .st-copy p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--cream2); }

/* the scenes: small product UI on warm black, violet as the only colour */
html.pro .steps .cal, html.pro .steps .plan, html.pro .steps .dash { width: 100%; zoom: 1; }
html.pro .cal, html.pro .plan, html.pro .dash { position: relative; width: 420px; padding: 20px; zoom: 1.12; border-radius: 10px; background: #252320; box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .09); color: var(--cream); font-size: 13px; line-height: 1.3; }
html.pro .cal-h, html.pro .plan-h, html.pro .dash-h { display: flex; align-items: center; gap: 12px; }
html.pro .cal-h b, html.pro .plan-h b, html.pro .dash-h b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
html.pro .cal-h small, html.pro .plan-h small { display: block; margin-top: 2px; font-size: 12px; color: var(--cream2); }
html.pro .cal-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--violet); color: #fff; }
html.pro .cal-ic svg { width: 20px; height: 20px; }
html.pro .cal-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 16px; }
html.pro .cal-days span { display: grid; place-items: center; gap: 1px; padding: 8px 0; border-radius: 8px; background: rgba(242, 239, 232, .05); font-size: 15px; font-weight: 600; }
html.pro .cal-days small { font-size: 10.5px; font-weight: 500; letter-spacing: .04em; opacity: .6; }
html.pro .cal-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
html.pro .cal-slots span { padding: 8px 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .14); text-align: center; font-weight: 500; }
html.pro .cal-go { display: block; margin-top: 14px; padding: 11px; border-radius: 6px; background: var(--cream); color: var(--ink); text-align: center; font-size: 13.5px; font-weight: 600; }
html.pro .cal-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: inherit; background: rgba(30, 28, 25, .94); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; opacity: 0; }
html.pro .cal-done i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); color: #fff; }
html.pro .cal-done svg { width: 18px; height: 18px; }
html.pro .steps > li.is-on .cal-days .pick { animation: cal-day 6s var(--ez) infinite; }
html.pro .steps > li.is-on .cal-slots .pick { animation: cal-slot 6s var(--ez) infinite; }
html.pro .steps > li.is-on .cal-go { animation: cal-go 6s ease infinite; }
html.pro .steps > li.is-on .cal-done { animation: cal-done 6s ease infinite; }
html.pro .steps > li.is-on .cal-done i { animation: cal-tick 6s cubic-bezier(.3, 1.6, .5, 1) infinite; }
@keyframes cal-day { 0%, 16% { background: rgba(242, 239, 232, .05); color: inherit; } 22%, 96% { background: var(--violet); color: #fff; } 100% { background: rgba(242, 239, 232, .05); } }
@keyframes cal-slot { 0%, 34% { background: transparent; box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .14); } 40%, 96% { background: rgba(133, 118, 255, .22); box-shadow: inset 0 0 0 1px var(--violet-soft); } 100% { background: transparent; } }
@keyframes cal-go { 0%, 52% { transform: none; background: var(--cream); } 56% { transform: scale(.96); background: var(--violet-soft); } 62%, 100% { transform: none; background: var(--cream); } }
@keyframes cal-done { 0%, 62% { opacity: 0; } 68%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cal-tick { 0%, 63% { transform: scale(0); } 72%, 100% { transform: scale(1); } }

html.pro .plan-h { display: block; }
html.pro .plan-cols { display: grid; grid-template-columns: 86px repeat(3, 1fr); margin-top: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(242, 239, 232, .1); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cream2); }
html.pro .plan-cols span + span { padding-left: 8px; box-shadow: inset 1px 0 rgba(242, 239, 232, .1); }
html.pro .plan-rows { position: relative; margin: 6px 0 0; padding: 0; list-style: none; }
html.pro .plan-rows li { display: grid; grid-template-columns: 86px 1fr; align-items: center; height: 31px; font-weight: 500; }
html.pro .plan-rows i { position: relative; height: 10px; }
html.pro .plan-rows i::before { content: ''; position: absolute; inset: 0 auto 0 calc(var(--s) * 100%); width: calc((var(--e) - var(--s)) * 100%); border-radius: 5px; background: rgba(242, 239, 232, .82); transform-origin: left; transform: scaleX(0); }
html.pro .plan-rows li:first-child i::before { background: var(--violet-soft); }
html.pro .plan-rows::after { content: ''; position: absolute; top: -6px; bottom: -2px; left: 86px; width: 1px; background: var(--violet-soft); opacity: 0; }
html.pro .steps > li.is-on .plan-rows i::before { animation: plan-bar 6s cubic-bezier(.2, .7, .2, 1) infinite; }
html.pro .steps > li.is-on .plan-rows li:nth-child(2) i::before { animation-delay: .22s; }
html.pro .steps > li.is-on .plan-rows li:nth-child(3) i::before { animation-delay: .44s; }
html.pro .steps > li.is-on .plan-rows li:nth-child(4) i::before { animation-delay: .66s; }
html.pro .steps > li.is-on .plan-rows li:nth-child(5) i::before { animation-delay: .88s; }
html.pro .steps > li.is-on .plan-rows::after { animation: plan-now 6s linear infinite; }
@keyframes plan-bar { 0%, 8% { transform: scaleX(0); } 26%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes plan-now { 0%, 10% { left: 86px; opacity: 0; } 16% { opacity: 1; } 86% { opacity: 1; } 94%, 100% { left: 100%; opacity: 0; } }

html.pro .dash-h { justify-content: space-between; }
html.pro .dash-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 4px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
html.pro .dash-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: live-dot 1.2s ease-in-out infinite; }
@keyframes live-dot { 50% { opacity: .25; } }
html.pro .dash-chart { display: block; width: 100%; height: 96px; margin-top: 14px; overflow: visible; }
html.pro .dash-line { fill: none; stroke: var(--violet-soft); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
html.pro .dash-area { fill: rgba(133, 118, 255, .16); opacity: 0; }
html.pro .dash-feed { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
html.pro .dash-feed li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; background: rgba(242, 239, 232, .06); font-weight: 500; opacity: 0; }
html.pro .dash-feed i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet-soft); }
html.pro .dash-feed li:nth-child(2) i { background: var(--cream); }
html.pro .steps > li.is-on .dash-line { animation: dash-draw 6s cubic-bezier(.5, 0, .2, 1) infinite; }
html.pro .steps > li.is-on .dash-area { animation: dash-area 6s ease infinite; }
html.pro .steps > li.is-on .dash-feed li { animation: dash-in 6s cubic-bezier(.2, .7, .2, 1) infinite; }
html.pro .steps > li.is-on .dash-feed li:nth-child(1) { animation-delay: .9s; }
html.pro .steps > li.is-on .dash-feed li:nth-child(2) { animation-delay: 1.5s; }
html.pro .steps > li.is-on .dash-feed li:nth-child(3) { animation-delay: 2.1s; }
@keyframes dash-draw { 0%, 6% { stroke-dashoffset: 1; } 44%, 94% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes dash-area { 0%, 30% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dash-in { 0% { opacity: 0; transform: translateY(8px); } 6%, 70% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; transform: none; } }

/* ---------- FAQ: warm black ---------- */
html.pro.bold .faq { background: var(--k); color: var(--cream); }
html.pro.bold .faq .label { color: var(--cream2); }
html.pro.bold .faq .h2 > span:first-child { color: var(--cream); }
html.pro.bold .faq .h2 .lt { color: rgba(242, 239, 232, .7); }
html.pro.bold .faq-contact { color: var(--cream2); }
html.pro.bold .faq-contact a { color: var(--cream); border-color: var(--hl); }
html.pro.bold .faq-list, html.pro.bold .faq-list details { border-color: var(--hl); }
html.pro.bold .faq-list summary { font-size: clamp(20px, 1.7vw, 25px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
html.pro.bold .faq-list details p { color: var(--cream2); }
html.pro.bold .faq-icon { width: 38px; height: 38px; background: none; box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .28); }
html.pro.bold .faq-icon::before, html.pro.bold .faq-icon::after { width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--cream); }
html.pro.bold .faq-list summary:hover .faq-icon, html.pro.bold details[open] .faq-icon { background: var(--violet); box-shadow: none; }
html.pro.bold .faq-list summary:hover .faq-icon::before, html.pro.bold .faq-list summary:hover .faq-icon::after, html.pro.bold details[open] .faq-icon::before, html.pro.bold details[open] .faq-icon::after { background: #fff; }

/* ---------- booking: warm stone with one DOE violet panel ---------- */
html.pro.bold .bk { background: var(--stone); padding-block: clamp(88px, 9vw, 140px); }
html.pro.bold .bk::after { display: none; }
html.pro.bold .cta-panel { overflow: hidden; border-radius: 8px; background: var(--violet); }
html.pro.bold .cta-copy { padding: clamp(36px, 4.6vw, 72px); }
html.pro.bold .cta-title { font-size: clamp(40px, 4vw, 70px); line-height: 1.02; letter-spacing: -0.035em; }
html.pro.bold .cta-title > span:first-child { font-weight: 600; letter-spacing: -0.035em; color: #fff; }
html.pro.bold .cta-title .lt { color: rgba(255, 255, 255, .82); }
html.pro.bold .bk-lede { color: rgba(255, 255, 255, .85); }
html.pro.bold .bk-next li { background: rgba(255, 255, 255, .12); }
html.pro.bold .bk-next span { color: var(--violet); }
html.pro.bold .bk-form, html.pro.bold.mo .bk-form { margin: clamp(14px, 1.6vw, 22px); border: 0; border-radius: 6px; background: var(--k); box-shadow: none !important; transform: none !important; }
html.pro.bold .bk-chips input:checked + span, html.pro.bold .bk-form .btn-accent { background: var(--violet); }
html.pro.bold .bk-form .btn-accent i { color: var(--violet); }
html.pro .bk-f input, html.pro .bk-f textarea { border-radius: 4px; background: var(--k2); }

html.pro.bold .cta-copy .dot { background: #fff; }

/* ---------- footer ---------- */
html.pro .foot { background: var(--k); }
html.pro .foot-h::before { background: var(--violet); }
html.pro .foot-grid::before, html.pro .foot-grid::after, html.pro .foot-col + .foot-col::before, html.pro .foot-col + .foot-col::after { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  html.pro .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  html.pro .steps > li { gap: 18px; padding: 24px 22px 26px; }
  html.pro .sv { min-height: 0; }
  html.pro .steps .cal, html.pro .steps .plan, html.pro .steps .dash { width: min(420px, 100%); padding: 18px 16px; }
  html.pro .st-copy p { max-width: 560px; }
}
@media (max-width: 1100px) {
  html.pro.bold .svc-cell, html.pro.bold.mo .svc-cell, html.pro.bold .svc-cell:hover { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); }
  html.pro.bold .svc-cell .vis { grid-column: 2 / -1; grid-row: 3; margin-top: 22px; }
}
@media (max-width: 760px) {
  html.pro.bold .title { font-size: clamp(42px, 12vw, 58px); }
  html.pro.bold .title .t-l { font-size: .9em; }
  html.pro.bold .h2 { font-size: clamp(36px, 10vw, 50px); }
  html.pro.bold .svc-cell, html.pro.bold.mo .svc-cell, html.pro.bold .svc-cell:hover { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto; padding: 28px 0; }
  html.pro.bold .svc-n { grid-row: 1; font-size: 22px; margin-top: 2px; }
  html.pro.bold .svc-cell h3 { grid-column: 2; grid-row: 1; font-size: 25px; }
  html.pro.bold .svc-cell > p { grid-column: 2; grid-row: 2; margin-top: 10px; font-size: 15.5px; }
  html.pro.bold .svc-link { grid-column: 2; grid-row: 3; }
  html.pro.bold .svc-cell .vis { grid-column: 1 / -1; grid-row: 4; margin-top: 18px; height: 210px; }
  html.pro .reel-tabs { gap: 16px; }
  html.pro .reel-tab .tx b { font-size: 17px; }
  html.pro.bold .res-big { font-size: clamp(60px, 18vw, 88px); }
  html.pro.bold .cta-panel { border-radius: 6px; }
}

/* ---------- all-black site: hairlines between sections ---------- */
html.pro.bold .res, html.pro.bold .svc, html.pro.bold .how, html.pro.bold .faq, html.pro.bold .bk, html.pro .foot { border-top: 1px solid var(--hl); }

/* ---------- case studies: pinned, scroll slides the cases sideways (pro.js) ---------- */
html.pro .res { --cw: min(1180px, 80vw); --ch: min(640px, calc(100svh - var(--nav-h) - 200px)); }
html.pro .cx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(32px, 4vw, 56px); }
html.pro .cx-nav { display: flex; align-items: flex-end; gap: 36px; }
html.pro .cx-tabs { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
html.pro .cx-tabs button { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 12px; align-items: baseline; min-width: 160px; padding: 14px 0 0; border: 0; border-top: 1px solid var(--hd); background: none; color: var(--ink2); font: inherit; text-align: left; cursor: pointer; transition: color .3s, border-color .3s; }
html.pro .cx-tabs .n { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
html.pro .cx-tabs .tx b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: inherit; }
html.pro .cx-tabs .tx span { font-size: 13px; color: var(--ink2); }
html.pro .cx-tabs button:hover, html.pro .cx-tabs .is-on { color: var(--ink); }
html.pro .cx-tabs .is-on { border-top-color: var(--ink); }
html.pro .cx-tabs .is-on .n { color: var(--violet-soft); }
html.pro .cx-count { display: flex; align-items: baseline; gap: 6px; margin: 0; font-variant-numeric: tabular-nums; }
html.pro .cx-count b { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
html.pro .cx-count span { font-size: 14px; color: var(--ink2); }
html.pro .cx-track { display: grid; gap: 24px; width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
html.pro .cx-card { position: relative; }
html.pro .cx-card::after { content: ''; position: absolute; inset: 0; z-index: 4; border-radius: inherit; background: var(--k); opacity: var(--dim, 0); pointer-events: none; }
html.pro .res .case { min-height: clamp(520px, 44vw, 640px); border: 1px solid var(--hd); border-radius: 8px; background: var(--paper); }
html.pro .cx-card .res-chart svg { clip-path: inset(-20px calc((1 - var(--draw, 1)) * 100%) -20px -20px); }
html.pro .cx-card .res-pt { transition: none; }
html.pro .cx-card .res-pt.p1 { opacity: clamp(0, calc(var(--draw, 1) * 12), 1); }
html.pro .cx-card .res-pt.p2 { opacity: clamp(0, calc((var(--draw, 1) - .66) * 12), 1); }
html.pro .cx-card .res-pt.p3 { opacity: clamp(0, calc((var(--draw, 1) - .96) * 25), 1); }
html.pro .cx-foot { display: none; }
html.pro .cx-bar { display: block; height: 1px; background: var(--hd); }
html.pro .cx-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--prog, 0)); }
html.pro:not(.cx-pin) .cx-nav { display: none; }

/* the closing card: your brand next + real DOE client logos */
html.pro .cx-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); min-height: clamp(520px, 44vw, 640px); overflow: hidden; border-radius: 8px; background: var(--violet); color: #fff; }
html.pro .cx-next-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: clamp(32px, 3.6vw, 60px); }
html.pro .cx-next-copy .label { margin: 0; color: rgba(255, 255, 255, .78); }
html.pro .cx-next-t { display: flex; flex-direction: column; margin: 0; font-size: clamp(40px, 4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
html.pro .cx-next-t > span:first-child { font-family: var(--display); font-weight: 600; }
html.pro .cx-next-t .lt { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.04em; letter-spacing: -0.02em; color: rgba(255, 255, 255, .86); }
html.pro .cx-next-copy > p:not(.label) { max-width: 420px; margin: 0; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
html.pro .cx-next-copy .btn { align-self: flex-start; margin-top: 6px; background: var(--k); color: #fff; }
html.pro .cx-next-copy .btn i { background: #fff; color: var(--k); }
html.pro .cx-logos { display: flex; flex-direction: column; margin: 14px; padding: clamp(22px, 2.2vw, 36px); border-radius: 6px; background: var(--k); }
html.pro .cx-logos p { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cream2); }
html.pro .cx-logos ul { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hl); border-left: 1px solid var(--hl); }
html.pro .cx-logos li { display: grid; place-items: center; min-height: 64px; padding: 12px 14px; border-right: 1px solid var(--hl); border-bottom: 1px solid var(--hl); }
html.pro .cx-logos img { display: block; width: auto; height: auto; max-width: 100%; max-height: 30px; filter: brightness(0) invert(1); opacity: .74; transition: opacity .3s; }
html.pro .cx-logos li:hover img { opacity: 1; }

/* pinned (desktop and tall enough; pro.js adds html.cx-pin) */
html.cx-pin.pro.bold .res { padding-block: 0; }
html.cx-pin .cx { position: relative; height: calc(100svh + var(--dist, 0px) * 1.35); }
html.cx-pin .cx-stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); overflow: hidden; }
html.cx-pin .cx-head { margin-bottom: clamp(22px, 3vh, 40px); }
html.cx-pin.pro.bold .cx-head .h2 { font-size: clamp(34px, min(3.2vw, 6vh), 56px); }
html.cx-pin .cx-track { display: flex; gap: 40px; max-width: none; margin: 0; will-change: transform; }
html.cx-pin .cx-card { flex: none; width: var(--cw); height: var(--ch); min-height: 0; transform-origin: 50% 50%; will-change: transform; }
html.cx-pin .cx-card .case-stats { overflow: hidden; }
html.cx-pin .cx-foot { display: block; margin-top: clamp(20px, 3vh, 32px); }

@media (max-width: 1100px) {
  html.pro .cx-head { display: block; }
  html.pro .cx-next { grid-template-columns: minmax(0, 1fr); }
  html.pro .cx-logos ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html.pro .cx-track { gap: 14px; }
  html.pro .cx-next-t { font-size: 40px; }
  html.pro .cx-logos { margin: 10px; }
  html.pro .cx-logos li { min-height: 58px; padding: 10px; }
  html.pro .cx-logos img { max-height: 24px; }
}

/* ---------- services: sticky stage + the five services scrolling past (pro.js) ---------- */
html.pro .svc-stage { display: none; }
@media (min-width: 1101px) {
  html.pro .svc-tour { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
  html.pro .svc-stage { position: sticky; top: calc(var(--nav-h) + 24px); display: block; height: min(620px, calc(100svh - var(--nav-h) - 48px)); overflow: hidden; border-radius: 10px; background: radial-gradient(70% 60% at 50% 56%, rgba(110, 91, 255, .16), transparent 70%), var(--paper); box-shadow: inset 0 0 0 1px var(--hd); }
  html.pro .svc-stage-n { position: absolute; left: 30px; top: 24px; margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 64px; line-height: 1; color: var(--violet-soft); }
  html.pro .svc-ticks { position: absolute; left: 30px; right: 30px; bottom: 26px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
  html.pro .svc-ticks li { height: 2px; background: var(--hd); transition: background-color .4s; }
  html.pro .svc-ticks li.is-on { background: var(--violet-soft); }
  html.pro .svc-scr { position: absolute; left: 50%; top: 52%; width: 380px; translate: -50% -50%; opacity: 0; scale: .94; transition: opacity .45s ease, scale .8s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
  html.pro .svc-scr.is-on { opacity: 1; scale: 1.3; }
  html.pro .svc-scr .vis { height: 250px; border-radius: 6px; background: var(--k2); box-shadow: inset 0 0 0 1px var(--hl); }
  html.pro.bold .svc-grid { border-top: 0; }
  html.pro.bold .svc-cell, html.pro.bold.mo .svc-cell, html.pro.bold .svc-cell:hover { display: flex; flex-direction: column; justify-content: center; gap: 0; min-height: 68svh; padding: 40px 0; border-bottom: 0; border-top: 1px solid var(--hl); }
  html.pro.bold .svc-cell:first-child { border-top: 0; }
  html.pro.bold .svc-cell .vis { display: none; }
  html.pro.bold .svc-n { margin: 0 0 18px; font-size: 30px; color: var(--cream2); transition: color .4s; }
  html.pro.bold .svc-cell.is-on .svc-n { color: var(--violet-soft); }
  html.pro.bold .svc-cell h3 { font-size: clamp(34px, 3vw, 50px); line-height: 1.04; }
  html.pro.bold .svc-cell > p { max-width: 470px; margin-top: 18px; font-size: 17.5px; line-height: 1.6; }
  html.pro.bold .svc-link { align-self: flex-start; margin-top: 22px; }
}

/* brand logos on the case cards */
html.pro .case-logo { display: block; align-self: flex-start; justify-self: start; flex: none; width: auto; max-width: 70%; object-fit: contain; object-position: left center; height: 18px; margin: 0 0 18px; filter: brightness(0) invert(1); }
html.pro .case-logo-mac { height: 26px; }
html.pro .case-logo-cym { height: 17px; }
html.cx-pin .case-logo { margin-bottom: 14px; }

/* ---------- case studies, condensed (user: "too massive") ---------- */
html.pro .res { --cw: min(1040px, 74vw); --ch: min(470px, calc(100svh - var(--nav-h) - 230px)); }
html.pro .res .case, html.pro .cx-next { min-height: clamp(420px, 34vw, 480px); }
html.pro .res .case { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
html.pro .cx-card .case-stats { padding: clamp(22px, 2.2vw, 34px) clamp(24px, 2.6vw, 40px); }
html.pro .case-logo { height: 15px; margin-bottom: 12px; }
html.pro .case-logo-mac { height: 20px; }
html.pro .cx-card .res-k { font-size: 11.5px; }
html.pro.bold .cx-card .res-big { margin-top: 6px; font-size: clamp(48px, 4.4vw, 76px); }
html.pro .cx-card .res-chart { height: clamp(96px, 9vw, 128px); margin: 20px 8px 6px 4px; }
html.pro .cx-card .res-note { display: none; }
html.pro .cx-card .res-stats { margin-top: 18px; }
html.pro.bold .cx-card .res-stats dt { font-size: clamp(24px, 2vw, 32px); }
html.pro .cx-card .res-stats dd { font-size: 13px; }
html.pro .cx-card .res-link { margin-top: 16px; font-size: 14.5px; }
html.pro .cx-card .case-cap { font-size: 18px; }
html.pro .cx-card .case-story { font-size: 14.5px; }
html.pro.bold .cx-next-t { font-size: clamp(34px, 3.2vw, 52px); }
html.pro .cx-next-copy { gap: 16px; padding: clamp(26px, 2.8vw, 44px); }
html.pro .cx-next-copy > p:not(.label) { font-size: 15px; }
html.pro .cx-logos { padding: clamp(18px, 1.8vw, 28px); }
html.pro .cx-logos p { margin-bottom: 12px; }
html.pro .cx-logos li { min-height: 48px; padding: 8px 10px; }
html.pro .cx-logos img { max-height: 22px; }
html.pro .cx-tabs button { min-width: 130px; padding-top: 10px; }
html.pro .cx-tabs .tx b { font-size: 15px; }
html.pro .cx-tabs .tx span { font-size: 12px; }
html.pro .cx-count b { font-size: 34px; }
html.cx-pin.pro.bold .cx-head .h2 { font-size: clamp(30px, min(2.6vw, 5vh), 44px); }
html.cx-pin .cx-head { margin-bottom: clamp(18px, 2.4vh, 28px); }
html.cx-pin .cx { height: calc(100svh + var(--dist, 0px) * .95); }
html.cx-pin .cx-track { gap: 28px; }
@media (max-width: 760px) {
  html.pro .res .case, html.pro .cx-next { min-height: 0; }
  html.pro .res .case { grid-template-columns: minmax(0, 1fr); }
  html.pro .cx-card .case-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  html.pro .cx-logos ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html.pro .cx-logos li { min-height: 52px; padding: 8px 6px; }
  html.pro .cx-logos img { max-height: 18px; }
}

/* Cymbiotika: DOE case study + TikTok for Business case study side by side */
html.pro .res-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0 0; }
html.pro .res-links .res-link { margin-top: 0; }

/* ---------- hero: "into the feed" (intofeed.js) — overrides the street hero rules above ---------- */
html.pro .film-feed { height: 300svh; }
html.pro .film-feed .film-cover { --ar: 1.7910; --shift: 0px; left: calc(50% + var(--shift)); transform-origin: 50% 50%; }
html.film-tall.pro .film-feed .film-cover { --ar: .5625; }
/* the real ad sits on the phone's screen; intofeed.js sets left/top/width/height per frame */
html.pro .film-feed .film-screen { opacity: 1; border-radius: 12% / 5.4%; box-shadow: 0 0 40px rgba(110, 91, 255, .25); }
html.pro .film-feed .film-screen::after { top: 0; left: 28%; width: 44%; height: 3.1%; border-radius: 0 0 18% 18% / 0 0 60% 60%; }
@media (min-width: 761px) {
  /* desktop: the phone sits right of centre so the headline has the left half; the footage fades into the page on the left */
  html.pro .film-feed .film-cover { --shift: 19vw; }
  html.pro .film-feed .film-media { left: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 8%, #000 34%); mask-image: linear-gradient(90deg, transparent 0, transparent 8%, #000 34%); }
  html.pro .film-feed .film-shade { background: linear-gradient(0deg, rgba(19, 18, 16, .9) 0%, transparent 26%), linear-gradient(180deg, rgba(19, 18, 16, .6) 0, transparent 170px); }
  html.pro .film-feed .film-cue { right: 40px; }
}
@media (max-width: 760px) {
  /* phones: lift the footage so the phone sits above the headline */
  html.pro .film-feed .film-cover { top: calc(50% - 8svh); }
}
@media (max-width: 760px) {
  html.pro .film-feed .film-media { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 84%); mask-image: linear-gradient(180deg, #000 62%, transparent 84%); }
}
