/* =========================================================
   MANAGEMENT CONSULTANCY PAGES — shared layout
   Used by: problem-solving.html, organizational-actions.html, product-design.html
   Buttons are the site's existing ones: about-btn (+ the PhysicsModels outline variant), about-btn svc-cta (homepage), btn-go (homepage).
   ========================================================= */

/* ---------- Page hero (same sticky banner as the other inner pages) ---------- */
.page-hero { position: sticky; top: 0; z-index: 0; display: flex; align-items: flex-end; min-height: 42svh; overflow: hidden; background: #050b16; }
@media (min-width: 768px) { .page-hero { min-height: 52svh; } }
.page-hero > .ph-bg { position: absolute; inset: 0; background: center / cover no-repeat;  /* image + position set inline on each page */ transform-origin: center; will-change: transform; }
.page-hero > .ph-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(2,20,48,.86) 0%, rgba(2,20,48,.6) 45%, rgba(2,20,48,.25) 100%), linear-gradient(to top, rgba(2,20,48,.55) 0%, transparent 45%); }
.page-hero > .ph-dim { position: absolute; inset: 0; z-index: 1; background: var(--brand-navy); opacity: 0; pointer-events: none; }
.page-hero > .ph-inner { position: relative; z-index: 2; width: 100%; will-change: transform, opacity; }
main > section:not(.page-hero), main > nav { position: relative; z-index: 1; }
.crumb a:hover { color: var(--brand-gold); }

/* optional tech layer (gears + circuit traces) used on the Organizational Actions banner */
.page-hero > .hero-tech { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-tech svg { width: 100%; height: 100%; display: block; }
.hero-tech .trace { fill: none; stroke: rgba(95,195,245,.28); stroke-width: 1.4; }
.hero-tech .pulse { fill: none; stroke: #8fdcff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 26 420; filter: url(#ht-glow); animation: ht-flow 5s linear infinite; }
.hero-tech .node { fill: #0c0e13; stroke: rgba(95,195,245,.6); stroke-width: 1.4; }
.hero-tech .chev { fill: none; stroke: rgba(95,195,245,.55); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: ht-chev 1.6s ease-in-out infinite; }
.hero-tech .gear-body { fill: rgba(95,195,245,.16); stroke: #5fc3f5; stroke-width: 1.6; fill-rule: evenodd; }
.hero-tech .gear-line { fill: none; stroke: #5fc3f5; }
.hero-tech .gear-spoke { stroke: #5fc3f5; stroke-linecap: round; }
.hero-tech .gear { filter: url(#ht-glow); }
.hero-tech .ripple { fill: none; stroke: #8fdcff; stroke-width: 2; }
.hero-tech .lens { fill: url(#ht-lens); opacity: 0; transition: opacity .4s; }
.page-hero.is-hot .hero-tech .lens { opacity: 1; }
@keyframes ht-flow { to { stroke-dashoffset: -446; } }
@keyframes ht-chev { 0%, 100% { opacity: .2; } 50% { opacity: .9; } }
/* tablets and phones: dim the gear layer so it never competes with the title */
@media (max-width: 1023.98px) { .hero-tech { opacity: .45; } }
@media (max-width: 639.98px) { .hero-tech { opacity: .4; } }
/* phones: keep the animated layer below the header bar (fades in under it) */
@media (max-width: 767.98px) {
  .page-hero > .hero-tech { top: 4.25rem; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
}

@media (prefers-reduced-motion: reduce) { .hero-tech .pulse, .hero-tech .chev { animation: none; } }

/* ---------- Service switcher (the three consultancy pages) ---------- */
.cs-tabs { background: #fff; border-bottom: 1px solid #e2e8f0; }
/* sticks under the fixed site header once it reaches it (--nav-h is set by consultancy.js) */
main > nav.cs-tabs { position: sticky; top: var(--nav-h, 80px); z-index: 40; transition: box-shadow .3s; }
main > nav.cs-tabs.is-stuck { box-shadow: 0 10px 24px -14px rgba(2,20,48,.35); }
[id] { scroll-margin-top: calc(var(--nav-h, 80px) + 3.75rem); }
.cs-tabs-row { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.cs-tabs-row::-webkit-scrollbar { display: none; }
.cs-tab { flex: none; display: inline-flex; align-items: center; gap: .6rem; padding: .85rem .9rem; border-bottom: 2px solid transparent; font-size: .86rem; font-weight: 600; color: #64748b; white-space: nowrap; transition: color .25s, border-color .25s; }
.cs-tab b { font-family: 'Sora', sans-serif; font-size: .7rem; font-weight: 600; color: #94a3b8; transition: color .25s; }
.cs-tab:hover { color: var(--brand-navy); }
.cs-tab[aria-current="page"] { color: var(--brand-navy); border-color: var(--brand-blue); }
.cs-tab[aria-current="page"] b, .cs-tab:hover b { color: var(--brand-blue); }
.cs-tabs-label { flex: none; align-self: center; margin-right: .75rem; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #94a3b8; }
@media (max-width: 767.98px) { .cs-tabs-label { display: none; } .cs-tab { padding: .75rem .65rem; font-size: .78rem; gap: .4rem; } }

/* ---------- Section basics ---------- */
.cs-sec { padding: 2.5rem 0; }
@media (min-width: 640px) { .cs-sec { padding: 3.5rem 0; } }
@media (min-width: 1024px) { .cs-sec { padding: 4.25rem 0; } }
.cs-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .cs-wrap { padding: 0 1.5rem; } }
.cs-tint { background: #f5f8fb; }
.cs-eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #64748b; }
.cs-eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--brand-blue); }
.cs-dark .cs-eyebrow { color: rgba(255,255,255,.6); }
.cs-dark .cs-eyebrow::before { background: #5fc3f5; }
.cs-h2 { margin-top: .7rem; font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 600; line-height: 1.18; color: #0e1626; letter-spacing: -.01em; }
@media (min-width: 640px) { .cs-h2 { font-size: 1.8rem; } }
@media (min-width: 1024px) { .cs-h2 { font-size: 2.1rem; } }
.cs-dark .cs-h2 { color: #fff; }
.cs-lead { margin-top: .75rem; font-size: 14.5px; line-height: 1.7; color: #475569; }
@media (min-width: 640px) { .cs-lead { font-size: 16px; line-height: 1.75; } }
.cs-lead strong { font-weight: 600; color: #0e1626; }
.cs-dark .cs-lead { color: rgba(255,255,255,.72); }
.cs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.5rem; }
.cs-actions .about-btn { margin-top: 0; }
.cs-actions .about-btn.pm-btn-line { margin-top: 0; }
/* outline variant of about-btn — copied unchanged from physicsmodels.html */
.about-btn.pm-btn-line { background: transparent; color: #0b72c9; box-shadow: inset 0 0 0 1px #0b72c9; }
.about-btn.pm-btn-line:hover { background: #0b72c9; color: #fff; box-shadow: 0 14px 26px -10px rgba(11,114,201,.8); }
/* on these pages the outline button keeps its look on hover; only the arrow moves */
.cs-actions .about-btn.pm-btn-line:hover { background: transparent; color: #0b72c9; box-shadow: inset 0 0 0 1px #0b72c9; transform: none; }

/* ---------- 01 Overview ---------- */
.cs-overview { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .cs-overview { grid-template-columns: 7fr 5fr; gap: 3rem; } }
.cs-quote { position: relative; margin-top: 1.25rem; padding: .95rem 3rem .95rem 3rem; border: 1px solid #dbe6f0; border-radius: 12px; background: #f5f8fb; font-family: 'Sora', sans-serif; font-size: .98rem; font-weight: 500; line-height: 1.55; color: #0e1626; }
.cs-quote::before { content: "\201C"; position: absolute; left: 1rem; top: .55rem; font-family: Georgia, serif; font-size: 2.6rem; line-height: 1; color: var(--brand-blue); }
.cs-figure { position: relative; margin: 0; }
.cs-figure > .player { position: relative; }
/* video player — same design as the PhysicsModels page player */
.player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 14px; }
.player-lg { border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(2,20,48,.55); }
.player iframe, .player-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-poster { display: block; padding: 0; cursor: pointer; background: #000; }
.player-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .3s, transform .5s; }
.player-poster:hover img, .player-poster:focus-visible img { opacity: 1; transform: scale(1.03); }
.player-poster:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: -3px; }
.player-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin: -2.1rem 0 0 -2.1rem; color: #0b72c9; background: #fff; border-radius: 50%; box-shadow: 0 0 0 10px rgba(255,255,255,.25); transition: transform .3s, box-shadow .3s; }
.player-poster:hover .player-play { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(255,255,255,.3); }
.player-play svg { width: 1.6rem; height: 1.6rem; margin-left: .2rem; }
.cs-video .player-play { width: 3.2rem; height: 3.2rem; margin: -1.6rem 0 0 -1.6rem; box-shadow: 0 0 0 7px rgba(255,255,255,.25); }
.cs-video .player-play svg { width: 1.2rem; height: 1.2rem; }
.yt-link { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; font-size: .78rem; font-weight: 600; color: #0b1220; border: 1px solid #b9c9d8; border-radius: 999px; transition: border-color .25s, color .25s; }
.yt-link:hover { border-color: #0b72c9; color: #0b72c9; }
.yt-link svg { width: .85rem; height: .85rem; }
.cs-figure figcaption { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: .82rem; color: #64748b; }

/* ---------- 02 Focus areas (number tab + frosted card, centred rows) ---------- */
.cs-focus-head { max-width: 46rem; margin: 0 auto; text-align: center; }
.cs-focus-head .cs-eyebrow { justify-content: center; }
.cs-focus-head .cs-eyebrow::after { content: ""; width: 1.75rem; height: 2px; background: var(--brand-blue); }
.cs-cards { --gap: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.9rem var(--gap); margin-top: 2.25rem; }
.cs-card { position: relative; flex: 0 1 100%; max-width: 26rem; padding: 1.7rem 0 0 1.1rem; }
@media (min-width: 640px) { .cs-card { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (min-width: 1024px) { .cs-cards { --gap: 2rem; } .cs-card { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
/* coloured number tab sitting behind the card's top-left corner */
.cs-card-num { position: absolute; left: 0; top: 0; z-index: 0; width: 5rem; height: 4.2rem; padding: .55rem 0 0 .85rem; border-radius: 16px; font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 600; line-height: 1; color: #fff; background: linear-gradient(140deg, var(--brand-blue), #2e9bff); box-shadow: 0 14px 26px -12px rgba(11,114,201,.7); transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.cs-card-box { position: relative; z-index: 1; height: 100%; padding: 1.4rem 1.3rem 1.5rem; text-align: center; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(234,243,252,.7)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 22px 40px -26px rgba(2,20,48,.4); transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s; }
.cs-card:hover .cs-card-box { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 28px 46px -26px rgba(2,20,48,.5); }
.cs-card:hover .cs-card-num { transform: translate(-3px, -4px); }
.cs-card-ico { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; color: var(--brand-blue); background: #fff; box-shadow: 0 6px 14px -8px rgba(11,114,201,.5); }
.cs-card-ico svg { width: 1.25rem; height: 1.25rem; }
.cs-card h3 { margin-top: .85rem; font-family: 'Sora', sans-serif; font-size: 1.08rem; font-weight: 600; line-height: 1.35; color: #0e1626; }
.cs-card p { margin-top: .5rem; font-size: 14.5px; line-height: 1.65; color: #475569; }
.cs-card.is-short .cs-card-box { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 8rem; }
@media (max-width: 639.98px) { .cs-cards { gap: 1.75rem; margin-top: 2.25rem; } .cs-card-num { width: 4.4rem; height: 3.8rem; font-size: 1rem; } .cs-card-box { padding: 1.35rem 1.15rem 1.45rem; } .cs-card p { font-size: 14px; } }
@media (min-width: 375px) and (max-width: 639.98px) { .cs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .75rem; } .cs-card { min-width: 0; max-width: none; padding: 1.15rem 0 0 .45rem; } .cs-card-box { padding: 1.2rem .65rem 1rem; } .cs-card h3 { font-size: .92rem; } .cs-card p { font-size: .78rem; line-height: 1.5; } .cs-cards > .cs-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: min(82%, 20rem); } }
@media (max-width: 374.98px) { .cs-cards { display: grid; grid-template-columns: 1fr; row-gap: 1.5rem; } .cs-card { width: 100%; max-width: none; padding: 1.15rem 0 0 .45rem; } }
@media (max-width: 639.98px) { .org-focus .cs-focus-head .cs-lead, .org-focus .cs-card h3, .org-focus .cs-card p { font-size: 14px; } }

/* ---------- 03 How KAD24 helps (dark band, numbered process) ---------- */
.cs-dark { position: relative; overflow: hidden; color: #fff; background: #0a1220; background-image: radial-gradient(50rem 24rem at 100% 0%, rgba(46,155,255,.18), transparent 60%), radial-gradient(34rem 20rem at 0% 100%, rgba(95,195,245,.08), transparent 60%); }
.cs-dark-head { display: grid; gap: 1rem; align-items: end; }
@media (min-width: 1024px) { .cs-dark-head { grid-template-columns: 1fr 1fr; gap: 4rem; } }
/* step cards: same as the About Us service cards (white card, big faint icon bottom-right) */
.cs-help-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .cs-help-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } .cs-help-grid.cols-3 > :last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .cs-help-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .cs-help-grid.cols-3 > :last-child { grid-column: auto; } }
.cs-help-card { position: relative; overflow: hidden; min-height: 12.5rem; padding: 1.6rem 1.5rem 4.25rem; background: #fff; border: 1px solid #D5E1EA; border-radius: 4px; transition: transform .35s, box-shadow .35s; }
.cs-help-card::before { content: ""; position: absolute; z-index: 0; right: -2.85rem; bottom: -2.85rem; width: clamp(7rem, 14vw, 10rem); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 14%, transparent) 0 57%, color-mix(in srgb, var(--c) 9%, transparent) 58% 76%, color-mix(in srgb, var(--c) 4%, transparent) 77% 92%, transparent 93%); pointer-events: none; }
.cs-help-card:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -26px rgba(0,0,0,.65); }
.cs-help-card h3 { position: relative; font-family: 'Sora', sans-serif; font-size: 1.12rem; font-weight: 600; line-height: 1.35; color: #0e1626; transition: color .3s; }
.cs-help-card p { position: relative; margin-top: .6rem; max-width: 22rem; font-size: 15px; line-height: 1.75; color: #475569; }
.cs-help-bg { position: absolute; right: -.35rem; bottom: -.35rem; width: 5rem; height: 5rem; color: var(--c); opacity: .26; pointer-events: none; transition: opacity .4s, transform .5s cubic-bezier(.22,.61,.36,1); }
.cs-help-bg svg { width: 100%; height: 100%; }
.cs-help-card:hover .cs-help-bg { opacity: .38; transform: rotate(-8deg) scale(1.08); }
.cs-help-card:hover h3 { color: var(--c); }
@media (max-width: 639.98px) { .cs-help-card { min-height: 0; padding: 1.5rem 1.3rem 4.25rem; } .cs-help-card h3 { font-size: 1.08rem; } .cs-help-card p { font-size: 14.5px; line-height: 1.75; } .cs-help-bg { width: 4rem; height: 4rem; right: -.05rem; bottom: -.05rem; } .cs-help-card::before { width: 7rem; right: -1.55rem; bottom: -1.55rem; } }
.cs-dark-foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.cs-dark-foot p { font-size: 15px; color: rgba(255,255,255,.75); }

/* ---------- 04 Related animations ---------- */
.cs-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.cs-head-row > p { max-width: 22rem; font-size: .9rem; color: #64748b; }
.cs-anims { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .cs-anims { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cs-anims { grid-template-columns: repeat(3, 1fr); } }
.cs-video { overflow: hidden; border-radius: 16px; border: 1px solid #e2e8f0; background: #fff; transition: border-color .3s, box-shadow .3s; }
.cs-video:hover { border-color: rgba(11,114,201,.4); box-shadow: 0 20px 36px -24px rgba(2,20,48,.45); }
.cs-video .player { border-radius: 0; }
.cs-video-body { padding: 1rem 1.1rem 1.1rem; }
.cs-video-body h3 { font-family: 'Sora', sans-serif; font-size: .98rem; font-weight: 600; color: #0e1626; }
.cs-video-body small { display: block; margin-top: .25rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #64748b; }

/* ---------- CTA (dark card: pitch + buttons on the left, "what happens next" on the right) ---------- */
.cs-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 1.75rem; padding: 1.75rem 1.25rem; border-radius: 20px; color: #fff;
  background: #0a1220; background-image: radial-gradient(40rem 22rem at 100% 0%, rgba(46,155,255,.28), transparent 60%), radial-gradient(30rem 18rem at 0% 100%, rgba(95,195,245,.12), transparent 60%);
  box-shadow: 0 40px 70px -40px rgba(2,20,48,.75); }
@media (min-width: 640px) { .cs-cta { gap: 2rem; padding: 2.5rem 2.25rem; border-radius: 24px; } }
@media (min-width: 1024px) { .cs-cta { grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center; padding: 3rem; } }
.cs-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 75%); }
.cs-cta-rings { position: absolute; z-index: -1; right: -9rem; top: -9rem; width: 26rem; height: 26rem; border-radius: 50%; border: 1px solid rgba(95,195,245,.18); box-shadow: 0 0 0 3.5rem rgba(95,195,245,.035), 0 0 0 7rem rgba(95,195,245,.025); pointer-events: none; }
.cs-cta .cs-eyebrow { color: rgba(255,255,255,.6); }
.cs-cta .cs-eyebrow::before { background: #5fc3f5; }
.cs-cta .cs-h2 { color: #fff; max-width: 34rem; }
.cs-cta .cs-lead { max-width: 34rem; color: rgba(255,255,255,.72); }
.cs-cta .cs-actions { margin-top: 1.5rem; }
.cs-cta-side { padding: 1.5rem 1.35rem; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (min-width: 640px) { .cs-cta-side { padding: 1.75rem; } }
.cs-cta-side-t { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #5fc3f5; }
.cs-next { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.cs-next li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding-bottom: 1.1rem; }
.cs-next li:last-child { padding-bottom: 0; }
.cs-next li:not(:last-child)::before { content: ""; position: absolute; left: .95rem; top: 2.1rem; bottom: .15rem; width: 1px; background: linear-gradient(rgba(95,195,245,.5), rgba(95,195,245,.08)); }
.cs-next b { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 600; color: #fff; background: linear-gradient(140deg, var(--brand-blue), #5fc3f5); box-shadow: 0 8px 18px -8px rgba(46,155,255,.7); }
.cs-next h3 { font-family: 'Sora', sans-serif; font-size: .95rem; font-weight: 600; line-height: 1.9rem; color: #fff; }
.cs-next p { margin-top: .1rem; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.65); }
.player-poster[hidden] { display: none; }

/* ---------- Phones & small tablets: smaller type, tighter spacing, compact buttons ---------- */
@media (max-width: 639.98px) {
  .cs-wrap { padding: 0 1rem; }
  .cs-eyebrow { font-size: .64rem; gap: .55rem; letter-spacing: .16em; }
  .cs-eyebrow::before, .cs-focus-head .cs-eyebrow::after { width: 1.25rem; }
  .cs-h2 { font-size: 1.3rem; line-height: 1.22; }
  .cs-lead { font-size: 14px; line-height: 1.65; }
  .cs-actions { gap: .6rem; margin-top: 1.25rem; }
  .cs-actions .about-btn { padding: .68rem 1.05rem; font-size: .8rem; gap: .45rem; }
  .cs-actions .about-btn svg { width: .85rem; height: .85rem; }
  .btn-go { min-height: 42px; padding: 0 50px 0 16px; font-size: 13px; }
  .btn-go .ico { right: 4px; }
  .cs-quote { margin-top: 1rem; padding: .8rem 2.4rem .8rem 2.4rem; font-size: .86rem; border-radius: 10px; }
  .cs-quote::before { left: .7rem; top: .45rem; font-size: 2.1rem; }
  .player-lg { border-radius: 14px; }
  .player-play { width: 3.3rem; height: 3.3rem; margin: -1.65rem 0 0 -1.65rem; box-shadow: 0 0 0 7px rgba(255,255,255,.25); }
  .player-play svg { width: 1.2rem; height: 1.2rem; }
  .cs-figure figcaption { margin-top: .75rem; font-size: .74rem; }
  .yt-link { padding: .3rem .65rem; font-size: .72rem; }
  .cs-cards { gap: 1.5rem; margin-top: 1.75rem; }
  .cs-card { padding: 1.4rem 0 0 .9rem; }
  .cs-card-num { width: 3.9rem; height: 3.3rem; padding: .45rem 0 0 .7rem; border-radius: 13px; font-size: .92rem; }
  .cs-card-box { padding: 1.15rem 1rem 1.25rem; border-radius: 15px; }
  .cs-card-ico { width: 2.25rem; height: 2.25rem; border-radius: 10px; }
  .cs-card-ico svg { width: 1.05rem; height: 1.05rem; }
  .cs-card h3 { margin-top: .65rem; font-size: .98rem; }
  .cs-card p { font-size: 13.5px; line-height: 1.6; }
  .cs-card.is-short .cs-card-box { min-height: 6.5rem; }
  .cs-dark-head { gap: .5rem; }
  .cs-help-grid { margin-top: 1.5rem; gap: .8rem; }
  .cs-help-card { padding: 1.25rem 1.15rem 3.5rem; }
  .cs-help-card h3 { font-size: 1rem; }
  .cs-help-card p { margin-top: .45rem; font-size: 13.5px; line-height: 1.65; }
  .cs-help-bg { width: 3.5rem; height: 3.5rem; right: -.3rem; bottom: -.3rem; } .cs-help-card::before { width: 6rem; right: -1.55rem; bottom: -1.55rem; }
  .cs-dark-foot { margin-top: 1.4rem; padding-top: 1.2rem; gap: .9rem; }
  .cs-dark-foot p { font-size: 13.5px; }
  .cs-head-row { gap: .5rem; }
  .cs-head-row > p { font-size: .8rem; }
  .cs-anims { margin-top: 1.25rem; gap: .85rem; }
  .cs-video { border-radius: 13px; }
  .cs-video .player-play { width: 2.7rem; height: 2.7rem; margin: -1.35rem 0 0 -1.35rem; }
  .cs-video-body { padding: .8rem .9rem .9rem; }
  .cs-video-body h3 { font-size: .9rem; }
  .cs-video-body small { font-size: .62rem; }
  .cs-cta .cs-actions { margin-top: 1.25rem; }
  .cs-cta-side { padding: 1.1rem 1rem; border-radius: 14px; }
  .cs-cta-side-t { font-size: .62rem; }
  .cs-next { margin-top: .85rem; }
  .cs-next li { gap: .7rem; padding-bottom: .85rem; }
  .cs-next b { width: 1.6rem; height: 1.6rem; font-size: .7rem; }
  .cs-next li:not(:last-child)::before { left: .8rem; top: 1.8rem; }
  .cs-next h3 { font-size: .86rem; line-height: 1.6rem; }
  .cs-next p { font-size: 12.5px; }
  .cs-cta-rings { width: 18rem; height: 18rem; right: -7rem; top: -7rem; }
}
/* very small phones: buttons share the full width so nothing wraps awkwardly */
@media (max-width: 399.98px) {
  .cs-h2 { font-size: 1.2rem; }
  .cs-actions > a { flex: 1 1 100%; justify-content: center; }
  .cs-actions > .btn-go { justify-content: flex-start; }
  .cs-tab { padding: .7rem .55rem; font-size: .74rem; }
}
/* only two videos: two equal columns (no empty third slot) */
@media (min-width: 640px) { .cs-anims:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); } }
