/* Circuma case study: the studio shell (rail, hero title, intro, chapter pill, credits) stays in the site's own
   style. Everything inside .cm follows the Circuma identity: white grounds, palette colours only, Urbanist Bold
   headings, Figtree text, the 28 px Circuma corner, nothing under 13 px, no outlines, no gradients. */

.cm-page {
    --cm-forest: #1E4D34;
    --cm-leaf: #88CD5A;
    --cm-mint: #DDEFD0;
    --cm-petal: #F6C6D5;
    --cm-berry: #9C1F5B;
    --cm-ink: #17211B;
    --cm-ink2: #47554C;
    --cm-surface: #F4F7F3;
    --cm-r: 28px;
    background: #FFFFFF;
}

.cm-sec { padding-top: 120px; padding-bottom: 0; background: #FFFFFF; }
.cm-page > .cm-sec:last-of-type { padding-bottom: 120px; }
.cm-chapter { background: #FFFFFF; }

.cm { font-family: "Figtree", sans-serif; font-size: 16px; line-height: 1.45; color: var(--cm-ink2); }
.cm p { margin: 0 0 12px; }
.cm ul, .cm ol { list-style: none; margin: 0; padding: 0; }
.cm img, .cm video { display: block; max-width: 100%; height: auto; }

.cm-h2 { font-family: "Urbanist", sans-serif; font-weight: 700; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; color: var(--cm-ink); margin: 0 0 16px; max-width: 22em; }
.cm-h3 { font-family: "Urbanist", sans-serif; font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--cm-ink); margin: 0 0 8px; }
.cm-lead { font-size: 20px; max-width: 36em; margin-bottom: 48px !important; }
.cm-small { font-size: 14px; }
.cm-label { font-weight: 600; font-size: 14px; margin: 12px 0 4px !important; }
.cm-green { color: var(--cm-forest); }
.cm-gap { margin-top: 96px; }
.cm-num { font-family: "Urbanist", sans-serif; font-weight: 700; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--cm-forest); margin-bottom: 12px !important; }
.cm-quote { font-family: "Urbanist", sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--cm-ink); }

.cm-card { background: var(--cm-surface); border-radius: var(--cm-r); padding: 28px; }
.cm-card > :last-child { margin-bottom: 0; }
.cm-mint { background: var(--cm-mint); color: var(--cm-ink); }
.cm-forest { background: var(--cm-forest); color: var(--cm-mint); margin-top: 24px; }
.cm-forest .cm-h3 { color: #FFFFFF; }
.cm-plain li { margin-bottom: 8px; }

.cm-grid2, .cm-grid3, .cm-grid4 { display: grid; gap: 24px; margin-bottom: 24px !important; }
.cm-grid2 { grid-template-columns: repeat(2, 1fr); }
.cm-grid3 { grid-template-columns: repeat(3, 1fr); }
.cm-grid4 { grid-template-columns: repeat(4, 1fr); }

/* tools row in the intro: eight logos, allowed to wrap */
.cm-tools { flex-wrap: wrap; row-gap: 12px; }

/* problem */
.cm-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 96px !important; }
.cm-problem { position: relative; margin: 0 0 96px; border-radius: var(--cm-r); overflow: hidden; }
.cm-problem img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cm-problem figcaption { position: absolute; inset: 0; background: rgba(30, 77, 52, 0.78); color: #FFFFFF; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; }
.cm-stat { font-family: "Urbanist", sans-serif; font-weight: 700; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.1; max-width: 16em; }
.cm-stat strong { display: block; font-size: 2.4em; color: var(--cm-leaf); }
.cm-question .cm-h2 { max-width: 20em; }
.cm-question .cm-lead { margin-bottom: 0 !important; }

/* phone clips */
.cm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cm-phone { background: var(--cm-mint); border-radius: var(--cm-r); overflow: hidden; aspect-ratio: 9 / 20; margin-bottom: 16px; }
.cm-phone video, .cm-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cm-ba { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.cm-ba figure { margin: 0; }
.cm-ba figcaption { font-size: 16px; }
.cm-ba figcaption strong { display: block; color: var(--cm-ink); }

/* identity */
.cm-band { background: var(--cm-mint); padding: 160px 24px; display: flex; justify-content: center; margin-top: 120px; }
.cm-band img { width: min(420px, 70vw); height: auto; }
.cm-video { width: 100%; border-radius: var(--cm-r); background: var(--cm-forest); aspect-ratio: 16 / 9; object-fit: cover; }
.cm-stack { display: flex; align-items: center; }
.cm-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; width: 100%; }
.cm-swatches span { display: block; aspect-ratio: 1; border-radius: 20px; margin-bottom: 10px; }
.cm-swatches strong { display: block; font-family: "Urbanist", sans-serif; color: var(--cm-ink); font-size: 16px; }
.cm-swatches small { font-size: 13px; }
.cm-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.cm-apps img { border-radius: var(--cm-r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cm-outcomes li { background: var(--cm-surface); border-radius: var(--cm-r); padding: 28px; }

/* process chapters */
.cm-persona { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 40px; padding: 40px; margin-bottom: 24px; }
.cm-journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cm-journey .cm-card { padding: 24px 20px; }
.cm-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cm-flow .cm-card { padding: 20px 16px; }
.cm-tablewrap { overflow: visible; margin-bottom: 12px; }
.cm-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 16px; }
.cm-table caption { text-align: left; font-family: "Urbanist", sans-serif; font-weight: 700; font-size: 22px; color: var(--cm-ink); padding-bottom: 12px; }
.cm-table th, .cm-table td { text-align: left; padding: 14px 20px; background: var(--cm-surface); }
.cm-table thead th { background: none; font-weight: 600; font-size: 14px; padding-bottom: 4px; }
.cm-table tbody th { font-weight: 600; color: var(--cm-ink); border-radius: 20px 0 0 20px; }
.cm-table tbody td:last-child { border-radius: 0 20px 20px 0; }
.cm-cov { margin-top: 16px; }
.cm-bar { display: flex; gap: 4px; height: 44px; }
.cm-bar span { display: flex; align-items: center; justify-content: center; border-radius: 14px; font-weight: 600; font-size: 14px; min-width: 32px; }
.b1 { background: var(--cm-forest); color: #FFFFFF; }
.b2 { background: var(--cm-leaf); color: var(--cm-ink); }
.b3 { background: var(--cm-mint); color: var(--cm-ink); }
.cm-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 32px !important; }
.cm-legend li { background: none; color: var(--cm-ink2); display: flex; align-items: center; gap: 8px; }
.cm-legend li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.cm-legend .b1::before { background: var(--cm-forest); }
.cm-legend .b2::before { background: var(--cm-leaf); }
.cm-legend .b3::before { background: var(--cm-mint); }
.cm-legend .kL::before { background: var(--cm-ink2); }
.cm-legend .kS::before { background: var(--cm-leaf); }
.cm-legend .kE::before { background: var(--cm-berry); }
.cm-legend .kA::before { background: var(--cm-petal); }

.cm-map, .cm-pos { margin: 0; background: var(--cm-surface); border-radius: var(--cm-r); overflow: hidden; }
.cm-pos { margin: 24px 0 16px; }
.cm-map svg, .cm-pos svg { display: block; width: 100%; height: auto; font-family: "Figtree", sans-serif; }
.cm-map .t { font-family: "Urbanist", sans-serif; font-weight: 700; font-size: 22px; fill: var(--cm-ink); }
.cm-map .n { font-size: 16px; fill: var(--cm-ink2); }
.cm-map .a, .cm-pos .a { font-size: 13px; font-weight: 600; fill: var(--cm-ink2); }
.cm-pos .a { font-size: 15px; }
.cm-map .m, .cm-pos .m { font-size: 14px; font-weight: 600; fill: #FFFFFF; }
.cm-pos .m { font-size: 17px; }
.cm-pos .p { font-size: 15px; font-weight: 600; fill: var(--cm-ink); }

.cm-word { font-size: 44px; line-height: 1.1; color: var(--cm-ink); margin: 16px 0 !important; }
.cm-word-v1, .cm-word-v2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; }
.cm-word-v3 { font-family: "Urbanist", sans-serif; font-weight: 700; }
.cm-dots { display: flex; gap: 8px; margin-bottom: 20px !important; }
.cm-dots span { width: 34px; height: 34px; border-radius: 50%; }
.cm-logos p { margin-top: 12px; }
.cm-ground { background: var(--cm-surface); border-radius: var(--cm-r); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; margin-top: 0; }
.cm-ground.cm-forest { background: var(--cm-forest); }
.cm-ground.cm-mint { background: var(--cm-mint); }
.cm-ground img { width: 68%; }
.cm-spec { font-size: 96px; line-height: 1; color: var(--cm-ink); }
.cm-spec-u { font-family: "Urbanist", sans-serif; font-weight: 700; }
.cm-icons { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 16px !important; }
.cm-icons li { background: var(--cm-surface); border-radius: 20px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.cm-icons img { width: 28px; height: 28px; }

/* ---- round 3: white page, phone frames, one clip at a time, Figma-style process bar, table, brand and flow ---- */
body.circuma-page, .circuma-page main, .circuma-page .case-intro, .circuma-page .case-ending { background: #FFFFFF; }
.cm-question .cm-h2 { color: var(--cm-forest); }

.cm-phone { display: block; width: 100%; padding: 0; background: #FFFFFF; border: 8px solid #0B0F0D; border-radius: 38px; cursor: default; }
.cm-phone video, .cm-phone img { transform: scale(1.014); }
.cm-pick { cursor: pointer; font: inherit; }
.cm-pick:focus-visible, .cm-fpbar:focus-visible { outline: 3px solid var(--cm-berry); outline-offset: 4px; }
.cm-steps li .cm-phone { opacity: 0.4; transition: opacity 0.25s cubic-bezier(0.2, 0, 0, 1); }
.cm-steps li.is-on .cm-phone { opacity: 1; }
.cm-steps li .cm-h3, .cm-steps li p { transition: opacity 0.25s cubic-bezier(0.2, 0, 0, 1); opacity: 0.55; }
.cm-steps li.is-on .cm-h3, .cm-steps li.is-on p { opacity: 1; }

.cm-fp { padding-bottom: 120px; }
.cm-fpbar { display: flex; justify-content: space-between; align-items: center; gap: 32px; width: 100%; text-align: left; background: var(--cm-surface); border: 0; border-radius: var(--cm-r); padding: 40px 48px; cursor: pointer; font: inherit; color: inherit; }
.cm-fptext { display: flex; flex-direction: column; gap: 12px; }
.cm-fpbar .cm-h2, .cm-fpbar .cm-lead { display: block; margin: 0 !important; }
.cm-fpicon { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--cm-forest); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.cm-fpbar[aria-expanded="true"] .v { display: none; }
.cm-process[hidden] { display: none; }
.cm-process > .cm-sec:first-child { padding-top: 0; }
.cm-process > .cm-sec:last-child { padding-bottom: 120px; }

.cm-rank { width: calc(100% + 32px); margin-left: -16px; border-collapse: separate; border-spacing: 16px 10px; }
.cm-rank caption { text-align: left; font-family: "Urbanist", sans-serif; font-weight: 700; font-size: 22px; color: var(--cm-ink); padding: 0 16px 8px; }
.cm-rank thead th { text-align: left; font-weight: 400; font-size: 14px; }
.cm-rank tbody th { text-align: left; font-family: "Urbanist", sans-serif; font-weight: 700; font-size: 22px; color: var(--cm-ink); width: 31%; }
.cm-rank td { width: 23%; }
.cm-rank td span { display: block; padding: 13px 20px; border-radius: 14px; font-weight: 600; font-size: 14px; }
.r-love { background: var(--cm-forest); color: #FFFFFF; }
.r-like { background: var(--cm-leaf); color: var(--cm-ink); }
.r-mid { background: var(--cm-mint); color: var(--cm-ink); }
.r-low { background: var(--cm-petal); color: var(--cm-berry); }

.cm-forest2 { background: var(--cm-forest); color: var(--cm-mint); }
.cm-forest2 .cm-h3, .cm-forest2 .cm-spec { color: #FFFFFF; }
.cm-forest2 .cm-label { color: var(--cm-mint); }
.cm-card.cm-mint .cm-label { color: var(--cm-ink); margin-top: 0 !important; }
.cm-card .cm-label:first-child { margin-top: 0 !important; }

.cm-flow { grid-template-columns: repeat(3, 1fr); gap: 16px 48px; }
.cm-flow .cm-card { position: relative; padding: 24px; min-height: 150px; }
.cm-flow li:not(:nth-child(3n))::after { content: "→"; position: absolute; right: -34px; top: 50%; transform: translateY(-50%); color: var(--cm-forest); font-size: 20px; }
.cm-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cm-chips span { background: #FFFFFF; color: var(--cm-forest); font-weight: 500; font-size: 14px; padding: 7px 14px; border-radius: 16px; }
.cm-build { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; margin-top: 40px; }
.cm-build img { border-radius: 12px; width: 100%; }
.cm-gap2 { margin-top: 32px; }

.cm-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; padding: 40px; }
.cm-bigmark { width: 190px; }
.cm-lock { width: 58%; }
.cm-sizes { display: flex; align-items: flex-end; gap: 22px; }
.cm-sizes img { flex: none; }
.cm-palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 16px 0 !important; }
.cm-palette .chip { display: block; aspect-ratio: 1; border-radius: var(--cm-r); margin-bottom: 14px; }
.cm-palette strong { display: block; font-family: "Urbanist", sans-serif; font-size: 22px; color: var(--cm-ink); }
.cm-palette small { display: block; font-size: 14px; }
.cm-type { padding: 40px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; }
.cm-type .cm-spec { font-size: 150px; }
.cm-card.cm-mint .cm-spec { color: var(--cm-forest); }
.cm-iconcard { padding: 32px; text-align: center; }
.cm-iconcard .cm-icons { grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 0 0 16px !important; }
.cm-iconcard .cm-icons li { background: none; }
.cm-chain { margin: 0; border-radius: var(--cm-r); overflow: hidden; }
.cm-chain svg { display: block; width: 100%; height: 100%; }
.cm-map .c { font-size: 14px; font-weight: 600; fill: var(--cm-forest); }
.cm-persona + .cm-persona { margin-top: 0; }
.cm-journey { margin-top: 24px !important; }

@media (max-width: 1100px) {
    .cm-steps, .cm-ba, .cm-grid4 { grid-template-columns: repeat(2, 1fr); }
    .cm-journey, .cm-flow, .cm-grid3, .cm-apps { grid-template-columns: repeat(2, 1fr); }
    .cm-persona { grid-template-columns: 1fr; gap: 24px; }
    .cm-icons { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 767px) {
    .cm-sec { padding-top: 72px; }
    .cm-glance, .cm-grid2, .cm-grid3, .cm-grid4, .cm-journey, .cm-flow, .cm-apps { grid-template-columns: 1fr; }
    .cm-steps, .cm-ba { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cm-lead { font-size: 18px; margin-bottom: 32px !important; }
    .cm-problem figcaption { padding: 24px; }
    .cm-problem img { aspect-ratio: 4 / 5; }
    .cm-band { padding: 96px 24px; margin-top: 72px; }
    .cm-swatches { grid-template-columns: repeat(3, 1fr); }
    .cm-gap { margin-top: 64px; }
    .cm-icons { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
    .cm-flow { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cm-flow li::after { display: none; }
    .cm-palette { grid-template-columns: repeat(3, 1fr); }
    .cm-build { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .cm-fp { padding-bottom: 72px; }
    .cm-fpbar { padding: 24px; gap: 16px; }
    .cm-fpicon { width: 48px; height: 48px; }
    .cm-flow { grid-template-columns: 1fr; }
    .cm-palette { grid-template-columns: repeat(2, 1fr); }
    .cm-tablewrap { overflow-x: auto; }
    .cm-rank { min-width: 560px; width: 100%; margin-left: 0; border-spacing: 8px; }
    .cm-type .cm-spec { font-size: 96px; }
    .cm-phone { border-width: 5px; border-radius: 26px; }
    .cm-iconcard .cm-icons { grid-template-columns: repeat(7, 1fr); }
}

.cm-persona .cm-num { font-size: 40px; white-space: nowrap; }

/* ---- round 4: phones drawn like the hero phones, hero title and rail follow the film ---- */
.cm-phone { background: #0B0F0D; border: 0; padding: 2.6%; border-radius: 17% / 7.9%; box-shadow: inset 0 0 0 2px #3A423E; aspect-ratio: auto; overflow: visible; }
.cm-phone video, .cm-phone img { display: block; transform: none; width: 100%; height: auto; aspect-ratio: 720 / 1548; object-fit: cover; object-position: bottom; border-radius: 14.6% / 6.8%; background: #FFFFFF; }
.cm-phone img { object-position: top; }
.cm-build .cm-card { padding: 28px; }
.cm-build img { border-radius: 8px; }

.circuma-page .top-nav { mix-blend-mode: normal; }
.circuma-page .top-nav a { color: #050505; }
.circuma-page .top-nav a[aria-current], .circuma-page .top-nav a:hover { color: #8A8A8A; }
.circuma-page .search-container { border-color: #050505; color: #050505; }
.circuma-page .search-container input { color: #050505; }
.circuma-page.cm-nav-white .top-nav a { color: #FFFFFF; }
.circuma-page.cm-nav-white .top-nav a[aria-current], .circuma-page.cm-nav-white .top-nav a:hover { color: #DDEFD0; }
.circuma-page.cm-nav-white .search-container { border-color: #FFFFFF; color: #FFFFFF; }
.circuma-page.cm-nav-white .search-container input { color: #FFFFFF; }
.circuma-page .hero-grid-overlay { mix-blend-mode: normal; }
.circuma-page .hero-grid-overlay .title-text { color: #FFFFFF !important; }
.circuma-page.cm-hero-light .hero-grid-overlay .title-text { color: #050505 !important; }
@media (max-width: 767px) { .cm-phone { border-width: 0; border-radius: 17% / 7.9%; } }
.circuma-page .search-container .search-icon { stroke: #050505; }
.circuma-page.cm-nav-white .search-container .search-icon { stroke: #FFFFFF; }

/* ---- round 5: the Android status bar stays, with room around it; every corner is the Circuma corner ----
   The Circuma corner is a superellipse (|x|^4 + |y|^4 = 1), not a circular arc. Browsers that know corner-shape draw it;
   others fall back to the plain rounded corners above. A squircle needs a larger radius to read the same size. */
.cm-phone video { aspect-ratio: 1000 / 2292; object-fit: contain; object-position: top; padding: 5% 0 2%; box-sizing: border-box; background: #FFFFFF; }
.cm-phone img { aspect-ratio: 1000 / 2292; object-fit: cover; object-position: top; }

@supports (corner-shape: squircle) {
    .cm-page { --cm-r: 44px; }
    .cm-card, .cm-phone, .cm-phone video, .cm-phone img, .cm-video, .cm-problem, .cm-apps img, .cm-outcomes li, .cm-map, .cm-pos, .cm-ground,
    .cm-fpbar, .cm-chain, .cm-palette .chip, .cm-swatches span, .cm-icons li, .cm-rank td span, .cm-table th, .cm-table td, .cm-bar span, .cm-build img { corner-shape: squircle; }
    .cm-phone { border-radius: 23% / 10.8%; }
    .cm-phone video, .cm-phone img { border-radius: 20% / 9.4%; }
    .cm-rank td span, .cm-bar span { border-radius: 22px; }
    .cm-icons li, .cm-swatches span { border-radius: 30px; }
    .cm-build img { border-radius: 14px; }
}
.cm-chain { height: 100%; min-height: 300px; }
.cm-chain svg { height: 100%; min-height: 300px; }

/* ---- round 7: room between the phones and beside the text; even spacing in the flow ---- */
.cm-ba { column-gap: 56px; row-gap: 32px; }
.cm-ba-text { padding-right: 8px; }
.cm-flow { gap: 32px 64px; }
.cm-flow li:not(:nth-child(3n))::after { right: -44px; font-size: 22px; }
@media (max-width: 1100px) { .cm-ba { column-gap: 32px; } .cm-flow { gap: 24px; } }
@media (max-width: 767px) { .cm-ba { column-gap: 20px; } }

/* ---- round 8: simplified flow diagram ---- */
.cm-flowmap { position: relative; margin: 8px 0 0; aspect-ratio: 1018 / 540; }
.cm-flowmap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cm-node { position: absolute; min-height: 72px; box-sizing: border-box; padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; gap: 2px;
    border-radius: 22px; font-size: 13px; line-height: 1.3; }
.cm-node strong { font-family: "Urbanist", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.15; }
.cm-node-dark { background: #17211B; color: #DDEFD0; }
.cm-node-dark strong { color: #FFFFFF; }
.cm-node-forest { background: var(--cm-forest); color: var(--cm-mint); }
.cm-node-forest strong { color: #FFFFFF; }
.cm-node-mint { background: var(--cm-mint); color: var(--cm-ink2); }
.cm-node-mint strong { color: var(--cm-ink); }
.cm-node-surface { background: var(--cm-surface); color: var(--cm-ink2); }
.cm-node-surface strong { color: var(--cm-ink); }
.cm-flowlegend { margin-top: 20px !important; }
.cm-flowlegend .fl-dark::before { background: #17211B; }
.cm-flowlegend .fl-forest::before { background: var(--cm-forest); }
.cm-flowlegend .fl-mint::before { background: var(--cm-mint); }
.cm-flowlegend .fl-dash::before { width: 18px; height: 0; border-radius: 0; background: none; border-top: 2px dashed var(--cm-ink2); }
@supports (corner-shape: squircle) { .cm-node { corner-shape: squircle; border-radius: 34px; } }
@media (max-width: 900px) {
    .cm-flowmap { aspect-ratio: auto; display: flex; flex-direction: column; gap: 10px; }
    .cm-flowmap svg { display: none; }
    .cm-node { position: static; width: auto !important; }
    .cm-node-c2 { order: 0; }
}

/* ---- round 8: micro animations. Brand motion: quick to start, gentle to settle, nothing bounces. ---- */
.cm-steps li .cm-phone { transition: opacity 0.6s cubic-bezier(0.2, 0, 0, 1), transform 0.6s cubic-bezier(0.2, 0, 0, 1); }
.cm-steps li .cm-h3, .cm-steps li p { transition: opacity 0.6s cubic-bezier(0.2, 0, 0, 1); }
.cm-steps li.is-on .cm-phone { transform: translateY(-6px); }
@media (hover: hover) {
    .cm-steps li:not(.is-on) .cm-pick:hover { opacity: 0.7; }
    .cm-apps img, .cm-map, .cm-ground { transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1); }
    .cm-apps img:hover, .cm-map:hover { transform: translateY(-4px); }
}
.cm-rv { opacity: 0; transform: translateY(24px); transition: opacity 0.5s cubic-bezier(0.2, 0, 0, 1) var(--cm-d, 0ms), transform 0.6s cubic-bezier(0.2, 0, 0, 1) var(--cm-d, 0ms); }
.cm-rv.cm-in { opacity: 1; transform: none; }
.cm-steps > li.cm-rv.cm-in { transform: none; }
/* coverage bars grow, map dots appear one after another */
.cm-cov.cm-rv .cm-bar span { transform: scaleX(0); transform-origin: left; transition: transform 0.7s cubic-bezier(0.2, 0, 0, 1) 0.15s; }
.cm-cov.cm-in .cm-bar span { transform: none; }
.cm-map.cm-rv circle, .cm-map.cm-rv image { opacity: 0; transition: opacity 0.4s cubic-bezier(0.2, 0, 0, 1); }
.cm-map.cm-in circle, .cm-map.cm-in image { opacity: 1; }
.cm-map.cm-in circle:nth-of-type(3n+1) { transition-delay: 0.15s; }
.cm-map.cm-in circle:nth-of-type(3n+2) { transition-delay: 0.3s; }
.cm-map.cm-in circle:nth-of-type(3n) { transition-delay: 0.45s; }
.cm-map.cm-in image { transition-delay: 0.65s; }
.cm-flowmap.cm-rv .ln { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 0.9s cubic-bezier(0.2, 0, 0, 1) 0.2s; }
.cm-flowmap.cm-rv .ln[stroke-dasharray="6 6"] { stroke-dasharray: 6 6; stroke-dashoffset: 0; opacity: 0; transition: opacity 0.5s ease 0.9s; }
.cm-flowmap.cm-in .ln { stroke-dashoffset: 0; opacity: 1; }
/* the logo band builds the way the Motion board says: tile settles, loop draws in, wordmark follows */
.cm-bandlogo { width: min(420px, 70vw); height: auto; display: block; overflow: visible; }
.cm-bandlogo .t, .cm-bandlogo .l { transform-box: fill-box; transform-origin: center; }
.cm-build-wait .cm-bandlogo .t { opacity: 0; transform: scale(0.86); }
.cm-build-wait .cm-bandlogo .l { opacity: 0; transform: rotate(-120deg) scale(0.7); }
.cm-build-wait .cm-bandlogo .w { opacity: 0; transform: translateX(-28px); }
.cm-build-go .cm-bandlogo .t { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.2, 0, 0, 1); }
.cm-build-go .cm-bandlogo .l { opacity: 1; transform: none; transition: opacity 0.4s ease 0.18s, transform 0.75s cubic-bezier(0.2, 0, 0, 1) 0.18s; }
.cm-build-go .cm-bandlogo .w { opacity: 1; transform: none; transition: opacity 0.5s ease 0.78s, transform 0.6s cubic-bezier(0.2, 0, 0, 1) 0.78s; }
/* full process: the plus turns into a minus, the content settles in */
.cm-fpicon svg { transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1); }
.cm-fpbar[aria-expanded="true"] .cm-fpicon svg { transform: rotate(180deg); }
.cm-fpbar { transition: background-color 0.25s ease; }
.cm-fpbar:hover { background: var(--cm-mint); }
.cm-process.cm-open { animation: cm-open 0.6s cubic-bezier(0.2, 0, 0, 1); }
@keyframes cm-open { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .cm-rv { opacity: 1; transform: none; transition: none; }
    .cm-steps li .cm-phone, .cm-steps li .cm-h3, .cm-steps li p { transition: opacity 0.15s linear; }
    .cm-steps li.is-on .cm-phone { transform: none; }
}
.cm-flowmap.cm-in .ln[stroke-dasharray="6 6"] { opacity: 1; }
