/* ==========================================================================
   Homepage sections, 2026-11-20 (loaded after every other homepage sheet):
   1. Hero journey: floating pieces of UI on a blue arc, on a matte grey band.
   2. What we build (#expertise): a deck of sticky cards that slide over each other.
   3. FAQ (#faq): questions answered as a chat.
   4. Where to start (.cke): a large type index of the site.
   5. Selected work (#work): five live client sites, each a screen recording on a panel in the
      client's own colours, with floating pieces of the UI we built for them.
   Colour roles (2026-11-20, from the CK design handbook): brand blue is the identity colour for
   accents, icons, nodes and states; logo pink is kept for the main call-to-action buttons and a
   few illustration fills (css/brand.css, css/process-flow.css), never for text or small details.
   ========================================================================== */

:root {
  /* Only the brand's own colours: the logo pink (as on the header button), brand blue and black text. */
  --ckx-pink: #f78fc1;        /* logo and header button pink */
  --ckx-pink-soft: #ffd1e7;   /* the logo's light pink */
  --ckx-pink-line: #fbc6df;   /* pink hairlines */
  --ckx-pink-wash: #fff0f7;   /* pink tint for backgrounds */
  --ckx-blue: #2563eb;
  --ckx-blue-wash: #eef4ff;
  --ckx-ink: #111111;         /* black: the site's text colour (owner, 2026-11-20: no navy) */
  --ckx-navy: #111111;        /* black text on pink and dark fills; kept as a name, no longer navy */
}

/* --------------------------------------------------------------------------
   1. Hero journey: no cards. Each step is its own floating piece of UI over the arc
   (the chat, the blueprint, the editor and the live store), with a round icon node on
   the line under it, all in brand blue.
   js/hero-process-sequence.js still sizes the scenes and draws the arc from each step's box,
   so only the chrome goes; the boxes keep their size and order.
   -------------------------------------------------------------------------- */
#home .hero-journey .hj-card { --ckh-c: var(--ckx-blue); --ckh-glow: #2563eb47; --ckh-tilt: 0deg; --ckh-d: 0s; }
#home .hero-journey .hj-discover { --ckh-tilt: -1.6deg; --ckh-d: 0s; }
#home .hero-journey .hj-strategy { --ckh-tilt: 1.2deg; --ckh-d: -1.8s; }
#home .hero-journey .hj-create { --ckh-tilt: -1deg; --ckh-d: -3.6s; }
#home .hero-journey .hj-launch { --ckh-tilt: 1.5deg; --ckh-d: -5.4s; }

html body #home .hero-journey .hj-card {
  padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; color: var(--ckx-ink);
}
#home .hero-journey .hj-card.is-story::before { content: none !important; display: none !important; }
#home .hero-journey :is(.hj-card-top, .hj-footer) { display: none !important; }
#home .hero-journey .hj-caption {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
html body #home .hero-journey .hj-art { margin-bottom: 0 !important; }

/* The journey sits on a flat matte grey band, like wantace.com's page: no glow, no gradient under
   the pieces, just a soft neutral shadow. The step buttons are gone; the pause button stays for
   keyboard users (WCAG 2.2.2) and shows only when it has focus. */
html body #home .hero-journey { background: #f0f0f0 !important; margin-top: -10px !important; padding-top: 30px !important; }
#home .hero-journey .hj-card::after { content: none !important; display: none !important; }
html body #home .hero-journey .hj-step-controls { display: none !important; }
html body #home .hero-journey .hj-controls { position: absolute; left: 24px; bottom: 16px; margin: 0 !important; z-index: 4; }
html body #home .hero-journey .hj-playback:not(:focus-visible) {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; border: 0 !important;
}

/* Each piece floats: a slight tilt and a slow drift, out of step with its neighbours.
   The current step straightens and lifts while its story plays. */
#home .hero-journey .hj-art {
  rotate: var(--ckh-tilt);
  filter: drop-shadow(0 16px 20px rgba(17, 17, 17, .13));
  animation: ckh-drift 7.2s ease-in-out var(--ckh-d) infinite;
  transition: rotate .7s cubic-bezier(.16, 1, .3, 1), scale .7s cubic-bezier(.16, 1, .3, 1);
}
#home .hero-journey .hj-card.is-current .hj-art { rotate: 0deg; scale: 1.035; }
@keyframes ckh-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* 01 The chat */
#home .hero-journey .hj-chat { background: #fff; border-color: #d6e2fb; }
/* 02 The blueprint: a white sheet with a dotted grid, drawn behind the steps so the scene keeps its size. */
#home .hero-journey .hj-flow { position: relative; isolation: isolate; }
#home .hero-journey .hj-flow::before {
  content: ""; position: absolute; z-index: -1; inset: -10px -10px -10px -10px; border: 1px solid #d6e2fb; border-radius: 16px;
  background: radial-gradient(#2563eb24 .8px, transparent .8px) 0 0 / 11px 11px, #fff;
}
#home .hero-journey .hj-flow-head { color: var(--ckx-navy); font-weight: 500 !important; }
#home .hero-journey .hj-flow-head em { background: #eaf1ff; }
#home .hero-journey .hj-flow-steps::before { background: #c7d7f5; }
#home .hero-journey .hj-flow-steps li { background: #f6f9ff; border: 1px solid #e1e9f8; box-shadow: none; }
#home .hero-journey .hj-flow-steps li.hj-flow-dot { border-color: #fff; box-shadow: 0 0 0 4px #2563eb26; }
/* 03 Editor and preview */
#home .hero-journey .hj-create .hj-editor { border-color: #d6e2fb; }
#home .hero-journey .hj-create .hj-editor-dot { background: var(--ckx-blue); }
#home .hero-journey .hj-create .hj-render-badge { color: var(--ckx-ink); border-color: #d6e2fb; }
#home .hero-journey .hj-create .hj-render-badge i { background: var(--ckx-blue); }

/* The arc: brand blue. */
html body #home .hero-journey .hj-connection .hj-connection-track { stroke: var(--ckx-blue); stroke-opacity: .55; stroke-width: 1.8; }
html body #home .hero-journey .hj-connection .hj-connection-signal { stroke: #fff; stroke-width: 2.6; }
#home .hero-journey .hj-connection .hj-connection-head { fill: var(--ckx-blue); filter: drop-shadow(0 0 6px #2563ebaa); }

/* Round icon nodes on the arc (js/hero-process-sequence.js adds one .hj-pin per step, after the steps). */
#home .hero-journey .hj-pin {
  --c: var(--ckx-blue); --c-wash: var(--ckx-blue-wash); --c-icon: var(--ckx-blue); --c-on: #fff;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1.5px solid var(--c); background: var(--c-wash); color: transparent; font-size: 0;
  box-shadow: 0 0 0 6px #f0f0f0, 0 10px 20px -10px var(--c);
}
#home .hero-journey .hj-pin::before {
  content: ""; width: 18px; height: 18px; background: var(--c-icon);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  transition: background .4s ease;
}
#home .hero-journey .hj-pin::after { border-color: var(--c); }
#home .hero-journey .hj-pin.is-current { background: var(--c); border-color: var(--c); box-shadow: 0 0 0 6px #f0f0f0, 0 0 0 11px color-mix(in srgb, var(--c) 14%, transparent), 0 12px 24px -8px var(--c); }
#home .hero-journey .hj-pin.is-current::before { background: var(--c-on); }
#home .hero-journey span.hj-pin:nth-of-type(1) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A1.5 1.5 0 0 1 5.5 4h13A1.5 1.5 0 0 1 20 5.5v9a1.5 1.5 0 0 1-1.5 1.5H10l-4.5 4v-4h0A1.5 1.5 0 0 1 4 14.5z'/%3E%3Cpath d='M8.5 10h.01M12 10h.01M15.5 10h.01'/%3E%3C/svg%3E"); }
#home .hero-journey span.hj-pin:nth-of-type(2) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2.2'/%3E%3Ccircle cx='18' cy='6' r='2.2'/%3E%3Cpath d='M8.2 18H14a3 3 0 0 0 0-6h-4a3 3 0 0 1 0-6h5.8'/%3E%3C/svg%3E"); }
#home .hero-journey span.hj-pin:nth-of-type(3) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 8-4 4 4 4M16 8l4 4-4 4M13.5 5.5l-3 13'/%3E%3C/svg%3E"); }
#home .hero-journey span.hj-pin:nth-of-type(4) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 14.5 7 12c1.2-4.6 5.2-8.3 12-9-.7 6.8-4.4 10.8-9 12z'/%3E%3Cpath d='M7 12H4l2.5-3.5H10M12 17v3l3.5-2.5V14'/%3E%3Cpath d='M6.5 17.5C5 19 5 20 5 20s1 0 2.5-1.5'/%3E%3C/svg%3E"); }

@media (max-width: 767px) {
  #home .hero-journey .hj-art { rotate: 0deg; }
}
@media (prefers-reduced-motion: reduce) {
  #home .hero-journey .hj-art { animation: none; }
}

/* --------------------------------------------------------------------------
   Shared bits for sections 2 to 5
   -------------------------------------------------------------------------- */
html body :is(section.ckw, section.ckq, section.cke, section.ckp) { position: relative; background: transparent !important; color: var(--ckx-ink); text-align: left; }
html body :is(section.ckw, section.ckq, section.cke, section.ckp) *, html body :is(section.ckw, section.ckq, section.cke, section.ckp) *::before, html body :is(section.ckw, section.ckq, section.cke, section.ckp) *::after { box-sizing: border-box; }
html body :is(section.ckw, section.ckq, section.cke, section.ckp)::before { content: none !important; }
html body :is(section.ckw, section.ckq, section.cke, section.ckp) :is(h2, h3, p) { margin: 0; padding: 0; text-transform: none; }
html body :is(section.ckw, section.ckq, section.cke, section.ckp) a { text-decoration: none; }

html body :is(.ckw-eyebrow, .ckq-eyebrow, .cke-eyebrow, .ckp-eyebrow) {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 7px 14px 7px 12px;
  border: 1px solid #d6e2fb; border-radius: 999px; background: #fff;
  color: var(--ckx-ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase !important; font-weight: 600 !important;
  box-shadow: 0 6px 16px -10px #2563eb59;
}
html body :is(.ckw-eyebrow, .ckq-eyebrow, .cke-eyebrow, .ckp-eyebrow) > i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ckx-blue);
  box-shadow: 0 0 0 3px #2563eb26;
}
/* Headline accent words in solid brand blue, as in the hero ("look serious."). */
html body :is(.ckw-grad, .ckq-grad, .cke-grad, .ckp-grad) { color: var(--ckx-blue) !important; background: none; }

/* Reveal: js/home-sections.js adds .ckx-anim, then .is-in on scroll. */
.ckx-anim .ckx-r { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.ckx-anim.is-in .ckx-r { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   2. What we build: a deck of three wide cards. Every card sticks at the same top and every card
   is the same height, so the next card slides up and covers the one before exactly, edge to edge:
   no top edge, corner or side of a covered card shows (owner, 2026-11-20: "precise card to card
   1:1"). js/expertise-stories.js dims a card as the next one slides over it; it no longer shrinks.
   Cards are white with a crisp 18px corner; the story panels inside are flat brand blue.
   -------------------------------------------------------------------------- */
.ckw-wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.ckw-head { max-width: 860px; margin: 0 auto 44px; text-align: center; }
html body section.ckw .ckw-title {
  color: var(--ckx-ink); font-size: clamp(32px, 4.4vw, 58px); font-weight: 500 !important;
  line-height: 1.04; letter-spacing: -.035em; text-align: center;
}
html body section.ckw .ckw-title .ckw-grad { display: block; }

.ckw-deck { --deck-top: 104px; --deck-step: 0px; display: grid; grid-auto-rows: 1fr; gap: 40px; padding-bottom: 8px; }
html body section.ckw .ckw-slot { position: sticky; top: calc(var(--deck-top) + var(--k, 0) * var(--deck-step)); z-index: calc(var(--k, 0) + 1); }
html body section.ckw .ckw-card {
  --tone: var(--ckx-blue); --tone-text: var(--ckx-blue); --tone-wash: #eff6ff; --tone-line: #dbe6fb;
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px;
  height: 100%; min-height: 430px; padding: 14px; border-radius: 18px; background: #fff;
  border: 1px solid #e3e8f1;
  /* A covered card's shadow fades out (--card-cover from js/expertise-stories.js) so the shadows of
     the cards underneath never add up into a halo around the card on top. */
  box-shadow: 0 -18px 40px -30px rgba(17, 17, 17, calc(.5 * (1 - var(--card-cover, 0)))), 0 30px 60px -44px rgba(17, 17, 17, calc(.55 * (1 - var(--card-cover, 0))));
  transform: var(--card-transform, none); transform-origin: 50% 0;
  transition: transform .25s linear;
}
/* The veil that dims a covered card. */
html body section.ckw .ckw-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: #111111; opacity: var(--card-dim, 0); transition: opacity .25s linear;
}

.ckw-body { display: flex; flex-direction: column; min-width: 0; padding: 22px 18px 16px 22px; }
html body section.ckw .ckw-num {
  display: flex; align-items: center; gap: 8px; margin: 0 0 22px;
  color: #8a94a8; font-size: 13px; font-weight: 500; letter-spacing: .08em;
}
html body section.ckw .ckw-num b {
  display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 10px; border-radius: 8px;
  background: var(--tone); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
html body section.ckw .ckw-card h3 {
  margin: 0 0 12px; color: var(--ckx-ink); font-size: clamp(26px, 2.6vw, 36px); font-weight: 500 !important;
  line-height: 1.08; letter-spacing: -.035em;
}
html body section.ckw .ckw-line { margin: 0 0 20px; color: #4b5873; font-size: 16.5px; line-height: 1.55; max-width: 40ch; }
html body section.ckw .ckw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
html body section.ckw .ckw-chips li {
  margin: 0; padding: 7px 12px; border: 1px solid var(--tone-line); border-radius: 999px;
  background: var(--tone-wash); color: var(--ckx-ink); font-size: 13.5px; font-weight: 500; line-height: 1.2; list-style: none;
}
html body section.ckw .ckw-chips li::before { content: none !important; }
.ckw-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid #edf0f6; }
html body section.ckw .ckw-price { color: var(--ckx-ink); font-size: 14px; font-weight: 600; }
html body section.ckw .ckw-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--ckx-blue); color: #fff; font-size: 14.5px; font-weight: 500 !important;
  transition: background .3s ease, transform .3s ease;
}
html body section.ckw .ckw-link span { transition: transform .3s ease; }
html body section.ckw .ckw-link:hover { background: #1d4ed8; color: #fff; }
html body section.ckw .ckw-link:hover span { transform: translateX(3px); }

/* The story panels from css/expertise-stories.css, played by js/expertise-stories.js. Flat blue. */
html body section.ckw .ckw-art { display: flex; min-width: 0; border-radius: 12px; overflow: hidden; background: var(--ckx-blue); }
html body section.ckw .ckw-art .xp-scene {
  position: relative; display: flex; align-items: center; width: 100%; max-width: none; margin: 0; border-radius: 0;
  background: var(--ckx-blue); box-shadow: none;
}
html body section.ckw .ckw-art .xp-scene svg { display: block; width: 100%; height: auto; }

.ckw-cta { display: flex; justify-content: center; margin-top: 40px; }
html body section.ckw .ckw-btn, html body section.ckq .ckq-btn-main {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--ckx-blue); color: #fff;
  font-size: 16px; font-weight: 500 !important;
  box-shadow: 0 14px 30px -14px #2563ebb3, inset 0 1px 0 #ffffff40;
  transition: transform .3s ease, box-shadow .3s ease;
}
html body section.ckw .ckw-btn:hover, html body section.ckq .ckq-btn-main:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px #2563ebcc, inset 0 1px 0 #ffffff40; color: #fff; }

@media (max-width: 991px) {
  .ckw-deck { --deck-top: 86px; gap: 28px; }
  html body section.ckw .ckw-card { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 10px; }
  html body section.ckw .ckw-art { order: -1; max-height: 300px; }
}
@media (max-width: 767px) {
  .ckw-wrap { width: calc(100% - 32px); }
  .ckw-deck { --deck-top: 76px; gap: 22px; }
  html body section.ckw .ckw-card { padding: 8px; border-radius: 16px; }
  html body section.ckw .ckw-art { max-height: 190px; border-radius: 10px; }
  html body section.ckw .ckw-art .xp-scene svg { height: 190px; }
  .ckw-body { padding: 14px 10px 8px; }
  html body section.ckw .ckw-num { margin-bottom: 12px; font-size: 12px; }
  html body section.ckw .ckw-num b { min-width: 34px; height: 24px; font-size: 12px; }
  html body section.ckw .ckw-card h3 { font-size: 23px; margin-bottom: 8px; }
  html body section.ckw .ckw-line { font-size: 15px; margin-bottom: 14px; }
  html body section.ckw .ckw-chips { gap: 6px; margin-bottom: 14px; }
  html body section.ckw .ckw-chips li { padding: 5px 10px; font-size: 12.5px; }
  .ckw-foot { padding-top: 12px; }
  html body section.ckw .ckw-price { font-size: 13px; }
  html body section.ckw .ckw-link { min-height: 40px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   3. FAQ: a dark chat. Questions are pink bubbles; tap one and the answer is typed back in blue.
   -------------------------------------------------------------------------- */
html body.home-wantace-background section#faq.ckq, html body section#faq.ckq { overflow: clip !important; }
.ckq-wrap {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start;
  width: min(1200px, calc(100% - 48px)); margin: 0 auto;
}
.ckq-side { position: sticky; top: 110px; padding-bottom: 40px; isolation: isolate; }
html body section.ckq .ckq-title {
  position: relative; z-index: 1;
  color: var(--ckx-ink); font-size: clamp(44px, 6vw, 86px); font-weight: 500 !important;
  line-height: .98; letter-spacing: -.05em;
}
html body section.ckq .ckq-lede { position: relative; z-index: 1; max-width: 400px; margin: 22px 0 28px; color: #475569; font-size: 17px; line-height: 1.6; }
.ckq-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
html body section.ckq .ckq-btn-main svg { width: 18px; height: 18px; }
html body section.ckq .ckq-btn-ghost {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px;
  border: 1px solid #cddcfb; background: #fff; color: var(--ckx-ink); font-size: 16px; font-weight: 500 !important;
  transition: border-color .3s ease, background .3s ease;
}
html body section.ckq .ckq-btn-ghost:hover { border-color: var(--ckx-blue); background: var(--ckx-blue-wash); }
html body section.ckq .ckq-mark {
  position: absolute; z-index: 0; right: -10px; top: -70px;
  font-size: clamp(240px, 28vw, 420px); font-weight: 700 !important; line-height: 1; letter-spacing: -.06em;
  color: var(--ckx-blue) !important;
  opacity: .12; transform: rotate(12deg); pointer-events: none; user-select: none;
  animation: ckq-sway 9s ease-in-out infinite;
}
@keyframes ckq-sway { 0%, 100% { transform: rotate(12deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-14px); } }

.ckq-chat {
  position: relative; overflow: hidden;
  border-radius: 30px; padding: 0 0 18px;
  background:
#0b1636;
  box-shadow: 0 40px 80px -40px #0b163699, inset 0 0 0 1px #ffffff14;
}
.ckq-chat::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#ffffff12 1px, transparent 1px); background-size: 18px 18px;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.ckq-bar { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid #ffffff14; }
html body section.ckq .ckq-avatar {
  display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 13px;
  background: var(--ckx-pink); color: var(--ckx-navy); font-size: 14px; font-weight: 700 !important; letter-spacing: .02em;
}
html body section.ckq .ckq-bar b { display: block; color: #fff; font-size: 15px; font-weight: 600 !important; line-height: 1.2; }
html body section.ckq .ckq-bar small { display: block; margin-top: 2px; color: #9fb0d4; font-size: 12.5px; }
.ckq-thread { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 6px; }

.ckq-item { display: flex; flex-direction: column; gap: 12px; }
.ckq-q { list-style: none; display: flex; justify-content: flex-end; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ckq-q::-webkit-details-marker { display: none; }
html body section.ckq .ckq-q h3 {
  position: relative; display: inline-flex; align-items: center; gap: 12px; max-width: 86%;
  padding: 13px 16px 13px 18px; border-radius: 20px 20px 6px 20px;
  background: var(--ckx-pink);
  color: var(--ckx-navy); font-size: 16px; font-weight: 500 !important; line-height: 1.4; letter-spacing: -.005em; text-align: left;
  box-shadow: 0 10px 24px -14px #f78fc1cc;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, filter .3s ease;
}
html body section.ckq .ckq-q h3 i {
  position: relative; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #ffffff8c;
}
html body section.ckq .ckq-q h3 i::before, html body section.ckq .ckq-q h3 i::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; border-radius: 2px; background: var(--ckx-navy);
  transition: transform .3s ease;
}
html body section.ckq .ckq-q h3 i::after { transform: rotate(90deg); }
html body section.ckq .ckq-item[open] .ckq-q h3 i::after { transform: rotate(0); }
html body section.ckq .ckq-q:hover h3 { transform: translateY(-2px); box-shadow: 0 16px 30px -14px #f78fc1e6; }
html body section.ckq .ckq-item:not([open]) .ckq-q h3 { background: var(--ckx-pink-soft); }
html body section.ckq .ckq-q:focus-visible { outline: none; }
html body section.ckq .ckq-q:focus-visible h3 { outline: 2px solid #fff; outline-offset: 3px; }

/* Dots and reply share one spot: the dots show first, then the reply takes their place. */
.ckq-a { display: grid; justify-items: start; }
.ckq-a > * { grid-area: 1 / 1; }
html body section.ckq .ckq-text {
  max-width: 90%; padding: 15px 18px; border-radius: 20px 20px 20px 6px;
  background: var(--ckx-blue); color: #fff;
  box-shadow: 0 14px 30px -18px #2563ebcc;
  animation: ckq-reply .45s cubic-bezier(.16, 1, .3, 1) .85s both;
}
html body section.ckq .ckq-text p { color: #fff; font-size: 15.5px; line-height: 1.62; }
html body section.ckq .ckq-text p + p { margin-top: 10px; }
html body section.ckq .ckq-text :is(a, strong) { color: #fff; font-weight: 600 !important; }
html body section.ckq .ckq-text a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff80; }
html body section.ckq .ckq-dots {
  position: relative; z-index: 1; display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 20px 20px 20px 6px; background: #1f2f5c;
  overflow: hidden; animation: ckq-dots-out .2s ease .8s both;
}
html body section.ckq .ckq-dots i { width: 7px; height: 7px; border-radius: 50%; background: #9fb6ec; animation: ckq-blink 1s ease-in-out infinite; }
html body section.ckq .ckq-dots i:nth-child(2) { animation-delay: .15s; }
html body section.ckq .ckq-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ckq-blink { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes ckq-dots-out { to { opacity: 0; transform: scale(.6); visibility: hidden; } }
@keyframes ckq-reply { from { opacity: 0; transform: translateY(10px) scale(.96); transform-origin: left bottom; } to { opacity: 1; transform: none; } }
/* The answer that is open on load waits, with the dots showing, until the chat scrolls into view. */
html body section.ckq.ckx-anim:not(.is-in) .ckq-item[open] :is(.ckq-dots, .ckq-dots i, .ckq-text) { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   4. Where to start: big type index of the site
   -------------------------------------------------------------------------- */
.cke-wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.cke-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.cke-head .cke-eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
html body section.cke .cke-title { color: var(--ckx-ink); font-size: clamp(38px, 5.4vw, 76px); font-weight: 500 !important; line-height: 1; letter-spacing: -.045em; }
html body section.cke .cke-sub { color: #475569; font-size: 17px; line-height: 1.6; max-width: 440px; padding-bottom: 8px; }

.cke-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #dfe5ef; counter-reset: none; }
.cke-item { margin: 0; padding: 0; border-bottom: 1px solid #dfe5ef; }
.cke-item::marker { content: none; }
html body section.cke .cke-row {
  --fill: var(--ckx-blue); --ink-hover: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr) 56px; align-items: center; gap: 24px;
  padding: 26px 18px; border-radius: 0; color: var(--ckx-ink);
  transition: color .45s ease, padding .45s cubic-bezier(.16, 1, .3, 1), border-radius .45s ease;
}
html body section.cke .cke-row::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--fill);
  clip-path: inset(0 100% 0 0 round 0);
  transition: clip-path .6s cubic-bezier(.16, 1, .3, 1);
}
html body section.cke .cke-num { color: #94a3b8; font-size: 14px; font-weight: 500 !important; letter-spacing: .08em; transition: color .45s ease; }
html body section.cke .cke-name { font-size: clamp(26px, 3.4vw, 46px); font-weight: 500 !important; line-height: 1.05; letter-spacing: -.035em; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
html body section.cke .cke-desc { color: #64748b; font-size: 15.5px; line-height: 1.5; transition: color .45s ease; }
html body section.cke .cke-go {
  display: grid; place-items: center; justify-self: end; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid #dfe5ef; background: #fff; color: var(--ckx-ink);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), background .45s ease, border-color .45s ease, color .45s ease;
}
html body section.cke .cke-go svg { width: 18px; height: 18px; }
@media (hover: hover) {
  html body section.cke .cke-row:hover, html body section.cke .cke-row:focus-visible { color: var(--ink-hover); padding-left: 30px; padding-right: 26px; border-radius: 22px; }
  html body section.cke .cke-row:hover::before, html body section.cke .cke-row:focus-visible::before { clip-path: inset(0 0 0 0 round 22px); }
  html body section.cke .cke-row:hover :is(.cke-num, .cke-desc), html body section.cke .cke-row:focus-visible :is(.cke-num, .cke-desc) { color: var(--ink-hover); }
  html body section.cke .cke-row:hover .cke-name { transform: translateX(8px); }
  html body section.cke .cke-row:hover .cke-go { transform: rotate(-45deg); background: #ffffffe6; border-color: transparent; color: var(--ckx-ink); }
}
html body section.cke .cke-row:focus-visible { outline: 2px solid var(--ckx-blue); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Tablet and phone
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ckq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ckq-side { position: relative; top: auto; padding-bottom: 0; }
  html body section.ckq .ckq-mark { top: -40px; right: 0; font-size: 220px; }
  .cke-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  html body section.cke .cke-row { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  html body section.cke .cke-desc { grid-column: 2; grid-row: 2; margin-top: -14px; }
  html body section.cke .cke-go { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 680px) {
  .ckw-wrap, .ckq-wrap, .cke-wrap { width: calc(100% - 32px); }
  .ckw-head { margin-bottom: 28px; }
  .ckw-cta { margin-top: 26px; }
  html body section.ckw .ckw-btn { width: 100%; }

  html body section.ckq .ckq-title { font-size: 52px; }
  html body section.ckq .ckq-lede { font-size: 16px; margin: 16px 0 22px; }
  html body section.ckq .ckq-mark { top: -24px; right: -6px; font-size: 170px; opacity: .28; }
  .ckq-actions > a { flex: 1 1 auto; }
  .ckq-chat { border-radius: 24px; margin: 0 -4px; }
  .ckq-bar { padding: 14px 16px; }
  .ckq-thread { padding: 16px 12px 4px; gap: 10px; }
  html body section.ckq .ckq-q h3 { max-width: 94%; font-size: 15px; padding: 12px 12px 12px 15px; }
  html body section.ckq .ckq-text { max-width: 96%; padding: 13px 15px; }
  html body section.ckq .ckq-text p { font-size: 14.5px; }

  .cke-head { margin-bottom: 26px; }
  html body section.cke .cke-title { font-size: 40px; }
  html body section.cke .cke-sub { font-size: 16px; }
  html body section.cke .cke-row { grid-template-columns: 30px minmax(0, 1fr) 40px; gap: 4px 12px; padding: 20px 4px; }
  html body section.cke .cke-num { font-size: 12px; align-self: start; padding-top: 6px; }
  html body section.cke .cke-name { font-size: 26px; }
  html body section.cke .cke-desc { margin-top: 0; font-size: 14px; }
  html body section.cke .cke-go { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .ckx-anim .ckx-r { opacity: 1; transform: none; transition: none; }
  html body section.ckq .ckq-mark { animation: none; }
  html body section.ckq .ckq-dots { display: none; }
  html body section.ckq .ckq-text { animation: none; }
  html body section.cke .cke-row, html body section.cke .cke-row::before, html body section.ckw .ckw-card { transition: none; }
}

/* --------------------------------------------------------------------------
   5. Selected work: five live client sites in a three-column bento, after wantace.com's
   services section. Middle column: one tall card with the "See all our work" button under
   it; each side column: two cards. Every card is white with no padding: on top, a panel in
   the client's own colours (--p1 to --p2, set on the card) holding their screen recording
   and two floating chips (facts from portfolio.html); below, logo, kind, name, one line and
   a link. Tablet: the tall card runs across two columns. Phone: a swipe row.
   js/home-sections.js plays each recording while it is on screen.
   Card accents are brand blue; the panels carry each client's own colours.
   -------------------------------------------------------------------------- */
.ckp-wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.ckp-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto;
  gap: 24px; align-items: stretch;
}
html body section.ckp .ckp-hero { grid-column: 2; grid-row: 1 / span 2; }
html body section.ckp .ckp-l1 { grid-column: 1; grid-row: 1; }
html body section.ckp .ckp-l2 { grid-column: 1; grid-row: 2 / span 2; }
html body section.ckp .ckp-r1 { grid-column: 3; grid-row: 1; }
html body section.ckp .ckp-r2 { grid-column: 3; grid-row: 2 / span 2; }
html body section.ckp .ckp-cta-grid { grid-column: 2; grid-row: 3; }

html body section.ckp .ckp-card {
  --t: var(--ckx-blue); --t-ink: var(--ckx-blue); --t-on: #fff; --t-soft: var(--ckx-blue-wash);
  position: relative; isolation: isolate; overflow: clip; display: flex; flex-direction: column; min-width: 0;
  border-radius: 18px; background: #fff; box-shadow: 0 1px 2px #1111110a;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), box-shadow .55s ease;
}
html body section.ckp .ckp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px #1111110a, 0 40px 70px -40px color-mix(in srgb, var(--p2) 80%, transparent);
}

/* The panel: the brand's colours with a soft light from the top left and a fine dot grid. */
html body section.ckp .ckp-media {
  position: relative; overflow: hidden; flex: none; aspect-ratio: 8 / 5; padding: 24px 24px 0;
  background:
    radial-gradient(90% 70% at 12% 0%, #ffffff47, transparent 70%),
    linear-gradient(155deg, var(--p1), var(--p2));
}
html body section.ckp .ckp-media::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(#ffffff2e 1px, transparent 1.2px) 0 0 / 16px 16px;
  -webkit-mask-image: linear-gradient(#000, transparent 75%); mask-image: linear-gradient(#000, transparent 75%);
}
/* Side cards: the recording rises out of the panel's bottom edge, like a screen on a stand. */
html body section.ckp .ckp-shot {
  position: relative; display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 12px 12px 0 0; background: var(--ckx-navy);
  box-shadow: 0 0 0 1px #ffffff2e, 0 30px 60px -18px #0000008c;
  transform: translateY(10px); transition: transform .9s cubic-bezier(.16, 1, .3, 1);
}
html body section.ckp .ckp-card:hover .ckp-shot { transform: translateY(0); }

/* The tall card: the panel fills the height, rings spread behind a whole, centred screen. */
html body section.ckp .ckp-hero .ckp-media {
  flex: 1 1 auto; aspect-ratio: auto; min-height: 420px; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
}
html body section.ckp .ckp-hero .ckp-media::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 46px, #ffffff40 46px 47px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
html body section.ckp .ckp-hero .ckp-body { flex: none; }
html body section.ckp .ckp-hero .ckp-shot { z-index: 1; border-radius: 14px; transform: none; box-shadow: 0 0 0 1px #ffffff59, 0 40px 80px -24px #11111199; }
html body section.ckp .ckp-hero:hover .ckp-shot { transform: scale(1.02); }

/* The floating chips */
.ckp-chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
html body section.ckp .ckp-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 76px);
  padding: 10px 13px; border-radius: 15px; background: #ffffffeb; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid #ffffffd9; color: var(--ckx-ink); font-size: 12.5px; line-height: 1.25; white-space: nowrap;
  box-shadow: 0 18px 36px -18px #11111180, 0 2px 6px #11111114;
  animation: ckp-drift 6.4s ease-in-out infinite;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
html body section.ckp .ckp-chip b { display: block; font-size: 13.5px; font-weight: 600 !important; letter-spacing: -.01em; }
html body section.ckp .ckp-chip small { display: block; margin-top: 2px; color: #64748b; font-size: 11.5px; }
html body section.ckp .ckp-c1 { left: 14px; bottom: 16px; }
html body section.ckp .ckp-c2 { right: 14px; top: 14px; animation-delay: -3.2s; }
/* In the tall card the chip layer takes the screen's own box (same side insets, 4:3, centred),
   so the chips can overlap the screen's top and bottom edges. */
html body section.ckp .ckp-hero .ckp-chips { inset: auto 24px; top: 50%; translate: 0 -50%; aspect-ratio: 4 / 3; }
html body section.ckp .ckp-hero .ckp-c1 { left: -8px; bottom: auto; top: -26px; max-width: none; }
html body section.ckp .ckp-hero .ckp-c2 { right: -8px; top: auto; bottom: -26px; max-width: none; }
html body section.ckp .ckp-card:hover .ckp-c1 { transform: translate(-3px, -6px); }
html body section.ckp .ckp-card:hover .ckp-c2 { transform: translate(4px, -4px); }
@keyframes ckp-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

html body section.ckp .ckp-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--t-soft); color: var(--t-ink); }
html body section.ckp .ckp-ico svg { width: 17px; height: 17px; }
html body section.ckp .ckp-ico-ok { background: var(--t); color: var(--t-on); }
html body section.ckp .ckp-ok { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--t); color: var(--t-on); }
html body section.ckp .ckp-ok svg { width: 12px; height: 12px; }
html body section.ckp .ckp-pill { gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13px; }
html body section.ckp .ckp-pill b { display: inline; color: var(--t-ink); }

/* HANBORO: a day to night switch that flips on its own */
html body section.ckp .ckp-toggle { position: relative; display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ckx-blue-wash); animation: ckp-dn-bg 6s ease-in-out infinite; }
html body section.ckp .ckp-toggle::before { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px #11111133; animation: ckp-dn-knob 6s cubic-bezier(.65, 0, .35, 1) infinite; }
html body section.ckp .ckp-toggle i { position: relative; display: grid; place-items: center; width: 24px; height: 24px; color: var(--ckx-blue); }
html body section.ckp .ckp-toggle i + i { color: var(--ckx-blue); }
html body section.ckp .ckp-toggle svg { width: 13px; height: 13px; }
@keyframes ckp-dn-knob { 0%, 40% { translate: 0 0; } 50%, 90% { translate: 26px 0; } 100% { translate: 0 0; } }
@keyframes ckp-dn-bg { 0%, 40% { background: var(--ckx-blue-wash); } 50%, 90% { background: var(--ckx-navy); } 100% { background: var(--ckx-blue-wash); } }

/* Two-way switches: Ilha's lengths, Sarvadhā's weaves. As a whole chip or inside one. */
html body section.ckp .ckp-switch { gap: 2px; padding: 4px; border-radius: 999px; font-size: 12px; font-weight: 600 !important; letter-spacing: .04em; }
html body section.ckp .ckp-chip > .ckp-switch { display: inline-flex; flex: none; padding: 3px; background: #f1f5f9; }
html body section.ckp .ckp-switch span { padding: 7px 13px; border-radius: 999px; color: #64748b; animation: ckp-sw-a 7s ease-in-out infinite; }
html body section.ckp .ckp-chip > .ckp-switch span { padding: 5px 11px; }
html body section.ckp .ckp-switch span + span { animation-name: ckp-sw-b; }
@keyframes ckp-sw-a { 0%, 45% { background: var(--t); color: var(--t-on); } 50%, 95% { background: transparent; color: #64748b; } 100% { background: var(--t); color: var(--t-on); } }
@keyframes ckp-sw-b { 0%, 45% { background: transparent; color: #64748b; } 50%, 95% { background: var(--t); color: var(--t-on); } 100% { background: transparent; color: #64748b; } }

/* Marktini: seven services light up one after another. */
html body section.ckp .ckp-stages { display: flex; gap: 3px; margin: 7px 0 1px; }
html body section.ckp .ckp-stages i { width: 15px; height: 6px; border-radius: 3px; background: #dbe5f8; }
html body section.ckp .ckp-run i { animation: ckp-fill 4.2s ease-in-out infinite; }
html body section.ckp .ckp-run i:nth-child(2) { animation-delay: .3s; }
html body section.ckp .ckp-run i:nth-child(3) { animation-delay: .6s; }
html body section.ckp .ckp-run i:nth-child(4) { animation-delay: .9s; }
html body section.ckp .ckp-run i:nth-child(5) { animation-delay: 1.2s; }
html body section.ckp .ckp-run i:nth-child(6) { animation-delay: 1.5s; }
html body section.ckp .ckp-run i:nth-child(7) { animation-delay: 1.8s; }
@keyframes ckp-fill { 0%, 6% { background: #dbe5f8; } 12%, 70% { background: var(--t); } 78%, 100% { background: #dbe5f8; } }

/* Pause / play for the recording: shows on hover and keyboard focus, always on touch screens. */
html body section.ckp .ckp-play {
  position: absolute; z-index: 5; right: 12px; bottom: 12px; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #111111a6; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s ease;
}
html body section.ckp .ckp-play[hidden] { display: none !important; }
html body section.ckp .ckp-card:hover .ckp-play, html body section.ckp .ckp-play:focus-visible, html body section.ckp .ckp-play.is-held { opacity: 1; }
html body section.ckp .ckp-play:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
html body section.ckp .ckp-play i { display: grid; }
html body section.ckp .ckp-play svg { width: 15px; height: 15px; }
html body section.ckp .ckp-play .ckp-i-play, html body section.ckp .ckp-play.is-held .ckp-i-pause { display: none; }
html body section.ckp .ckp-play.is-held .ckp-i-play { display: grid; }
@media (hover: none) { html body section.ckp .ckp-play { opacity: .9; } }

/* The text: logo and kind, name, one line, and a link whose hit area covers the card. */
.ckp-body { position: relative; display: flex; flex-direction: column; flex: 1 0 auto; padding: 18px 22px 22px; }
.ckp-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-width: 0; }
html body section.ckp .ckp-logo {
  display: grid; place-items: center; flex: none; height: 34px; min-width: 34px; padding: 0 8px; border-radius: 10px;
  background: #fff; border: 1px solid #e7ecf5;
}
html body section.ckp .ckp-logo img { display: block; width: auto; height: auto; max-height: 20px; max-width: 84px; object-fit: contain; }
html body section.ckp .ckp-kind { min-width: 0; color: #64748b; font-size: 11.5px; font-weight: 600 !important; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body section.ckp .ckp-card h3 { color: var(--ckx-ink); font-size: 21px; font-weight: 600 !important; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 6px; }
html body section.ckp .ckp-card .ckp-body p { color: #475569; font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
html body section.ckp .ckp-link {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto;
  color: var(--ckx-blue); font-size: 14.5px; font-weight: 500 !important;
}
html body section.ckp .ckp-link > span[aria-hidden] { transition: transform .3s ease; }
html body section.ckp .ckp-card:hover .ckp-link > span[aria-hidden] { transform: translateX(4px); }
html body section.ckp .ckp-link::after { content: ""; position: absolute; inset: -9999px; }
html body section.ckp .ckp-card:has(.ckp-link:focus-visible) { outline: 3px solid color-mix(in srgb, var(--ckx-blue) 55%, #fff); outline-offset: 3px; }
html body section.ckp .ckp-link:focus-visible { outline: none; }

/* The button under the tall card, as in the reference: full column width, brand blue. */
html body section.ckp .ckp-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px;
  border-radius: 14px; background: var(--ckx-blue); color: #fff; font-size: 16px; font-weight: 500 !important;
  box-shadow: inset 0 -4px 10px #ffffff2e, inset 0 4px 6px #1d4ed8, 0 12px 24px -12px #2563eb99, 0 2px 4px #1111111f;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
html body section.ckp .ckp-cta:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: inset 0 -4px 10px #ffffff2e, 0 18px 30px -14px #2563ebb3; }
html body section.ckp .ckp-cta > span { transition: transform .3s ease; }
html body section.ckp .ckp-cta:hover > span { transform: translateX(4px); }
html body section.ckp .ckp-cta-phone { display: none; }

/* Reveal: the chips float in after their card. */
.ckx-anim .ckp-chip { opacity: 0; scale: .9; transition: opacity .6s ease, scale .8s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 90ms + 380ms); }
.ckx-anim .ckp-c2 { transition-delay: calc(var(--i, 0) * 90ms + 560ms); }
.ckx-anim.is-in .ckp-chip { opacity: 1; scale: 1; }

/* Tablet: the tall card runs across both columns with its screen beside the text. */
@media (max-width: 1023px) {
  .ckp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 18px; }
  html body section.ckp :is(.ckp-hero, .ckp-l1, .ckp-l2, .ckp-r1, .ckp-r2, .ckp-cta-grid) { grid-column: auto; grid-row: auto; }
  html body section.ckp .ckp-hero { grid-column: 1 / -1; }
  html body section.ckp .ckp-hero .ckp-media { min-height: 0; aspect-ratio: 16 / 9; }
  html body section.ckp .ckp-hero .ckp-shot { width: 64%; }
  html body section.ckp .ckp-hero .ckp-chips { left: 18%; right: 18%; }
  html body section.ckp .ckp-hero .ckp-c1 { left: -48px; }
  html body section.ckp .ckp-hero .ckp-c2 { right: -48px; }
  html body section.ckp .ckp-cta-grid { grid-column: 1 / -1; justify-self: center; min-width: 300px; }
}
/* Phone: one swipe row, the next card peeking; the button sits under the row. */
@media (max-width: 680px) {
  .ckp-wrap { width: calc(100% - 32px); }
  .ckp-grid {
    display: flex; gap: 12px; margin: 0 -16px; padding: 4px 16px 18px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .ckp-grid::-webkit-scrollbar { display: none; }
  html body section.ckp .ckp-card { flex: 0 0 86%; scroll-snap-align: start; }
  html body section.ckp .ckp-card:hover { transform: none; }
  html body section.ckp .ckp-cta-grid { display: none; }
  html body section.ckp .ckp-cta-phone { display: flex; margin-top: 6px; }
  html body section.ckp :is(.ckp-media, .ckp-hero .ckp-media) { flex: none; aspect-ratio: 8 / 5; min-height: 0; padding: 18px 18px 0; display: block; }
  html body section.ckp .ckp-hero .ckp-media::after { display: none; }
  html body section.ckp .ckp-hero .ckp-chips { inset: 0; translate: none; aspect-ratio: auto; }
  html body section.ckp .ckp-hero .ckp-shot { width: 100%; border-radius: 12px 12px 0 0; transform: translateY(10px); }
  html body section.ckp .ckp-chip { font-size: 12px; padding: 8px 10px; }
  html body section.ckp :is(.ckp-c1, .ckp-hero .ckp-c1) { left: 10px; top: auto; bottom: 12px; }
  html body section.ckp :is(.ckp-c2, .ckp-hero .ckp-c2) { right: 10px; bottom: auto; top: 10px; }
  .ckp-body { padding: 16px 18px 18px; }
  html body section.ckp .ckp-card h3 { font-size: 19px; }
  html body section.ckp .ckp-card .ckp-body p { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html body section.ckp :is(.ckp-chip, .ckp-toggle, .ckp-toggle::before, .ckp-switch span, .ckp-run i) { animation: none !important; }
  html body section.ckp .ckp-shot { transition: none; }
}
