/* ==========================================================================
   Homepage hierarchy, 2026-11-20. Loaded last on index.html.
   wantace.com is the reference: every section opens the same way (a white pill label with a
   blue icon chip, a short black headline with its key phrase in brand blue, at most one line
   under it), and each section says one thing.
   Colour roles (design handbook v3: 70% neutral, 20% tint, 10% emphasis):
     canvas   flat matte grey #f0f0f0 behind every section, white cards on it;
     text     black #111111 for headings and text (no navy), brand blue #2563eb for the key phrase;
     blue     icons, nodes, states, links: the identity colour that carries meaning;
     pink     only the primary buttons (pink fill, black text), the logo mark and illustration
              fills inside the scenes. Never text, never a small chip or border.
   This file:
     1. gives every section head that one style, whatever markup it came with;
     2. puts Selected work (#work) on a matte grey band and shows the stack as a list;
     3. lays out the founder block (#why-choose-us);
     4. turns the FAQ into a light accordion (no dark chat window);
     5. tightens "Where do you want to start?".
   Selectors start with html body:not(#_b) so they outrank css/home-sections.css and styles.css.
   ========================================================================== */

:root {
  --hc-ink: #111111; --hc-blue: #2563eb; --hc-blue-tint: #eff6ff; --hc-pink: #f78fc1;
  --hc-deep: #111111; --hc-muted: #5b6478; --hc-line: #e6eaf2;
}

/* ---------- 1. One section head ---------- */
.ckh { max-width: 760px; margin: 0 auto 44px; text-align: center; }

/* Section labels: a white pill (like wantace.com's "SERVICES" tag) led by a blue-tint chip whose
   icon says what the section is. Black text at 13px; no dot, no gradient. */
html body:not(#_b) :is(.ckh-eyebrow, .ckw-eyebrow, .ckq-eyebrow, .cke-eyebrow, .ckp-eyebrow, #home .brand-eyebrow) {
  display: inline-flex !important; align-items: center; gap: 9px;
  margin: 0 0 18px !important; padding: 4px 16px 4px 4px !important;
  border: 1px solid #e3e8f1 !important; border-radius: 999px !important; background: #fff !important;
  box-shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 8px 18px -12px rgba(17, 17, 17, .3) !important;
  color: var(--hc-ink) !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.2 !important;
  letter-spacing: .1em !important; text-transform: uppercase !important; white-space: nowrap;
  animation: none !important;
}
html body:not(#_b) :is(.ckh-eyebrow, .ckw-eyebrow, .ckq-eyebrow, .cke-eyebrow, .ckp-eyebrow, #home .brand-eyebrow) > :is(i, span:empty) { display: none !important; }
html body:not(#_b) :is(.ckh-eyebrow, .ckw-eyebrow, .ckq-eyebrow, .cke-eyebrow, .ckp-eyebrow, #home .brand-eyebrow)::before { content: none !important; display: none !important; }
html body:not(#_b) .ck-tag-i {
  flex: 0 0 auto; display: block; width: 28px; height: 28px; padding: 6px; border-radius: 50%;
  background: var(--hc-blue-tint); color: var(--hc-blue);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Headlines: black with the key phrase in brand blue (owner, 2026-11-20: "remove pink from
   headings text", then "make the navy blue to black, dont use navy blue"). */
html body:not(#_b) :is(.ckh-title, .ckw-title, .ckq-title, .cke-title, .ckp-title, #home .brand-title) {
  margin: 0 !important; color: var(--hc-deep) !important; -webkit-text-fill-color: currentColor;
  font-size: clamp(32px, 3.7vw, 52px) !important; font-weight: 500 !important; line-height: 1.06 !important;
  letter-spacing: -.04em !important; text-transform: none !important; text-align: center !important;
}
html body:not(#_b) :is(.ckh-title > span:not(.st-word), .ckw-grad, .ckq-grad, .cke-grad, .ckp-grad) {
  display: inline !important; background: none !important; color: var(--hc-blue) !important; -webkit-text-fill-color: currentColor;
}
html body:not(#_b) :is(.ckh-lede, .ckq-lede, .cke-sub, .ckp-side > p) {
  max-width: 520px; margin: 14px auto 0 !important; padding: 0 !important;
  color: var(--hc-muted) !important; font-size: 17px !important; line-height: 1.5 !important; text-align: center !important;
}

/* Heads that came as two columns now stack and centre like the rest. */
html body:not(#_b) :is(.ckw-head, .cke-head, .ckp-head) {
  display: flex !important; flex-direction: column; align-items: center; gap: 0 !important;
  max-width: 760px; margin: 0 auto 44px !important; text-align: center;
}
html body:not(#_b) .ckp-head > div:first-child { display: flex; flex-direction: column; align-items: center; }
html body:not(#_b) .ckp-side { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: none !important; }
html body:not(#_b) #home .brand-title { margin-bottom: 8px !important; }

/* ---------- 2. Selected work band and stack ---------- */
/* Selected work sits on a flat matte grey band (#f0f0f0, wantace.com's page colour) so the white
   cards stand off it; the band runs the full width of the screen. */
html body:not(#_b) section#work.ckp { background: #f0f0f0 !important; }
html body:not(#_b) section#work .ckp-wrap { padding: 64px 0 72px; }
html body:not(#_b) section#work .ckp-lede {
  max-width: 520px; margin: 14px auto 0 !important; padding: 0 !important;
  color: var(--hc-muted) !important; font-size: 17px !important; line-height: 1.5 !important; text-align: center !important;
}

/* Stack: the bento of eight stages from css/platforms.css under the logo marquee. Its own header
   (kicker, title, big "18") repeated the section head, so it is hidden here. */
html body:not(#_b) #technology .ck-platforms.is-home { padding-top: 56px !important; }
html body:not(#_b) #technology :is(.ck-platforms-intro, .cks-head) { display: none !important; }
html body:not(#_b) #technology .ck-platforms-note { margin-top: 18px !important; text-align: center; }

/* ---------- 3. Founder block ----------
   One white card: the studio photo with Jai's name on a glass tag and a blue "Delhi · since 2024"
   sticker; then the promise as the largest text, three figures as big numbers over blue rules, and
   one pink "Book a call with Jai" button (the section's single action) with the profile links. */
html body:not(#_b) section#why-choose-us { background: transparent !important; }
.ck-why-wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.ck-why-card {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: 0; align-items: stretch;
  padding: 12px; border: 1px solid var(--hc-line); border-radius: 26px; background: #fff;
  box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 40px 80px -60px rgba(17, 17, 17, .45);
}
html body:not(#_b) .ck-why-photo { position: relative; margin: 0 !important; min-height: 420px; border-radius: 18px; overflow: hidden; background: #1a0606; }
html body:not(#_b) .ck-why-img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 56% 50%;
  border-radius: 0; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
html body:not(#_b) .ck-why-card:hover .ck-why-img { transform: scale(1.03); }
.ck-why-sticker {
  position: absolute; top: 18px; right: 18px; padding: 8px 14px; border-radius: 999px;
  background: var(--hc-blue); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transform: rotate(4deg); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55);
}
html body:not(#_b) .ck-why-tag {
  position: absolute; left: 16px; bottom: 16px; display: grid; gap: 3px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .6);
}
.ck-why-tag b { color: var(--hc-ink); font-size: 16px; font-weight: 600; line-height: 1.2; }
.ck-why-tag span { color: var(--hc-muted); font-size: 13px; line-height: 1.3; }
.ck-why-body { display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 34px 36px 30px 44px; }
html body:not(#_b) .ck-why-quote {
  margin: 0 !important; color: var(--hc-ink) !important; font-size: clamp(22px, 2.15vw, 30px) !important; font-weight: 500 !important;
  line-height: 1.32 !important; letter-spacing: -.025em !important;
}
html body:not(#_b) .ck-why-quote b {
  color: var(--hc-blue); font-weight: 500 !important;
  text-decoration: underline; text-decoration-color: #dbe7fd; text-decoration-thickness: .3em; text-underline-offset: -.1em;
  text-decoration-skip-ink: none;
}
.ck-why-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ck-why-stats li { margin: 0 !important; padding: 16px 16px 2px 0 !important; border-top: 3px solid var(--hc-blue); list-style: none !important; }
.ck-why-stats li + li { padding-left: 18px !important; }
.ck-why-stats li::before { content: none !important; display: none !important; }
.ck-why-stats b { display: block; color: var(--hc-ink); font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ck-why-stats span { display: block; margin-top: 10px; color: var(--hc-muted); font-size: 14px; line-height: 1.3; }
.ck-why-who { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 4px; }
html body:not(#_b) .ck-why-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--hc-pink); color: var(--hc-ink) !important; font-size: 16px; font-weight: 600; text-decoration: none;
  box-shadow: 0 12px 26px -16px rgba(222, 114, 166, .95); transition: background .3s ease, color .3s ease, transform .3s ease;
}
html body:not(#_b) .ck-why-btn:hover { background: var(--hc-blue); color: #fff !important; transform: translateY(-2px); }
.ck-why-links { display: flex; gap: 8px; }
html body:not(#_b) .ck-why-social {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--hc-line); background: #fff; color: var(--hc-ink) !important; font-size: 16px; font-weight: 700; text-decoration: none;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
html body:not(#_b) .ck-why-social span { font-size: 12.5px; letter-spacing: .02em; }
html body:not(#_b) .ck-why-social:hover { border-color: var(--hc-blue); background: var(--hc-blue-tint); color: var(--hc-blue) !important; }

/* ---------- 4. FAQ: a light accordion ---------- */
html body:not(#_b) section#faq.ckq .ckq-wrap { display: block !important; width: min(860px, calc(100% - 48px)) !important; margin: 0 auto !important; }
html body:not(#_b) section#faq.ckq .ckq-side { position: static !important; display: flex; flex-direction: column; align-items: center; padding: 0 !important; margin: 0 0 36px !important; text-align: center; }
html body:not(#_b) section#faq.ckq .ckq-mark,
html body:not(#_b) section#faq.ckq .ckq-bar,
html body:not(#_b) section#faq.ckq .ckq-dots { display: none !important; }
html body:not(#_b) section#faq.ckq .ckq-actions { justify-content: center; margin-top: 24px; }
html body:not(#_b) section#faq.ckq .ckq-chat { padding: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; overflow: visible !important; }
html body:not(#_b) section#faq.ckq .ckq-chat::before { content: none !important; }
html body:not(#_b) section#faq.ckq .ckq-thread { display: grid !important; gap: 10px !important; padding: 0 !important; }
html body:not(#_b) section#faq.ckq .ckq-item {
  display: block !important; overflow: hidden; border: 1px solid var(--hc-line); border-radius: 20px; background: #fff;
  transition: border-color .3s ease, box-shadow .3s ease;
}
html body:not(#_b) section#faq.ckq .ckq-item[open] { border-color: #c7d7fb; box-shadow: 0 22px 44px -34px rgba(37, 99, 235, .6); }
html body:not(#_b) section#faq.ckq .ckq-q { display: block !important; padding: 0 !important; }
html body:not(#_b) section#faq.ckq .ckq-q h3 {
  display: flex !important; align-items: center; justify-content: space-between; gap: 18px; width: 100%; max-width: none !important;
  margin: 0 !important; padding: 19px 20px 19px 24px !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
  color: var(--hc-ink) !important; font-size: 17px !important; font-weight: 500 !important; line-height: 1.4 !important; text-align: left !important;
  transform: none !important;
}
html body:not(#_b) section#faq.ckq .ckq-q h3 i { flex: 0 0 auto; width: 30px !important; height: 30px !important; background: var(--hc-blue-tint) !important; transition: background .3s ease; }
html body:not(#_b) section#faq.ckq .ckq-q h3 i::before,
html body:not(#_b) section#faq.ckq .ckq-q h3 i::after { width: 11px !important; margin-left: -5.5px !important; background: var(--hc-blue) !important; }
html body:not(#_b) section#faq.ckq .ckq-item[open] .ckq-q h3 i { background: var(--hc-blue) !important; }
html body:not(#_b) section#faq.ckq .ckq-item[open] .ckq-q h3 i::before,
html body:not(#_b) section#faq.ckq .ckq-item[open] .ckq-q h3 i::after { background: #fff !important; }
html body:not(#_b) section#faq.ckq .ckq-q:hover h3 { color: var(--hc-blue) !important; }
html body:not(#_b) section#faq.ckq .ckq-q:focus-visible h3 { outline: 2px solid var(--hc-blue) !important; outline-offset: -4px !important; }
html body:not(#_b) section#faq.ckq .ckq-a { display: block !important; padding: 0 24px 22px !important; }
html body:not(#_b) section#faq.ckq .ckq-text {
  max-width: 680px !important; padding: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; animation: none !important;
}
html body:not(#_b) section#faq.ckq .ckq-text p { color: #475569 !important; font-size: 15.5px !important; line-height: 1.65 !important; }
html body:not(#_b) section#faq.ckq .ckq-text :is(a, strong) { color: var(--hc-ink) !important; font-weight: 600 !important; }
html body:not(#_b) section#faq.ckq .ckq-text a { color: var(--hc-blue) !important; text-decoration-color: rgba(37, 99, 235, .35) !important; }

/* ---------- 5. Where do you want to start ---------- */
html body:not(#_b) section.cke .cke-wrap { width: min(1080px, calc(100% - 48px)) !important; }
html body:not(#_b) section.cke .cke-name { font-size: clamp(22px, 2.3vw, 30px) !important; font-weight: 500 !important; letter-spacing: -.025em !important; }
html body:not(#_b) section.cke .cke-desc { color: var(--hc-muted) !important; font-size: 15px !important; }
html body:not(#_b) section.cke .cke-row { padding-top: 20px !important; padding-bottom: 20px !important; }

/* ---------- Phones ---------- */
@media (max-width: 991px) {
  .ck-why-card { grid-template-columns: minmax(0, 1fr); }
  html body:not(#_b) .ck-why-photo { min-height: 320px; }
  .ck-why-body { padding: 26px 16px 18px; gap: 24px; }
}
@media (max-width: 767px) {
  .ckh, html body:not(#_b) :is(.ckw-head, .cke-head, .ckp-head) { margin-bottom: 28px !important; }
  html body:not(#_b) :is(.ckh-title, .ckw-title, .ckq-title, .cke-title, .ckp-title, #home .brand-title) { font-size: 31px !important; line-height: 1.1 !important; }
  html body:not(#_b) :is(.ckh-lede, .ckq-lede, .cke-sub, .ckp-side > p) { font-size: 16px !important; }
  html body:not(#_b) :is(.ckh-eyebrow, .ckw-eyebrow, .ckq-eyebrow, .cke-eyebrow, .ckp-eyebrow, #home .brand-eyebrow) { font-size: 12px !important; letter-spacing: .08em !important; margin-bottom: 14px !important; }
  html body:not(#_b) .ck-tag-i { width: 26px; height: 26px; padding: 5.5px; }
  html body:not(#_b) section#work .ckp-wrap { padding: 44px 0 48px; }
  .ck-why-wrap { width: calc(100% - 32px); }
  .ck-why-card { padding: 8px; border-radius: 22px; }
  html body:not(#_b) .ck-why-photo { min-height: 260px; border-radius: 16px; }
  .ck-why-sticker { top: 12px; right: 12px; font-size: 11px; padding: 7px 11px; }
  html body:not(#_b) .ck-why-tag { left: 10px; bottom: 10px; padding: 10px 13px; }
  html body:not(#_b) .ck-why-quote { font-size: 20px !important; }
  .ck-why-stats li { padding: 12px 8px 0 0 !important; }
  .ck-why-stats li + li { padding-left: 10px !important; }
  .ck-why-stats b { font-size: 26px; }
  .ck-why-stats span { font-size: 12.5px; margin-top: 7px; }
  html body:not(#_b) .ck-why-btn { flex: 1 1 auto; justify-content: center; }
  html body:not(#_b) section#faq.ckq .ckq-wrap { width: calc(100% - 32px) !important; }
  html body:not(#_b) section#faq.ckq .ckq-q h3 { padding: 16px 14px 16px 18px !important; font-size: 16px !important; }
  html body:not(#_b) section#faq.ckq .ckq-a { padding: 0 18px 18px !important; }
  html body:not(#_b) section.cke .cke-wrap { width: calc(100% - 32px) !important; }
  html body:not(#_b) section.cke .cke-name { font-size: 21px !important; }
}

/* Hero headline: black lines, brand-blue key phrase, matching the section heads (2026-11-20). */
html body:not(#_b) #home .hero-headline,
html body:not(#_b) #home .hero-headline .hk-w:not(.is-acc) { color: var(--hc-deep) !important; }
html body:not(#_b) #home :is(.hk-static em, .hk-w.is-acc) { color: var(--hc-blue) !important; }
/* Section labels: black text; their icon chips stay blue. */
html body:not(#_b) :is(.ckh-eyebrow, .ckw-eyebrow, .ckq-eyebrow, .cke-eyebrow, .ckp-eyebrow, #home .brand-eyebrow) { color: var(--hc-deep) !important; }
html body:not(#_b) .ck-tag-i { color: var(--hc-blue); }

/* ---------- 6. One matte grey canvas (owner, 2026-11-20: "use pre matte grey bg in all parts") ----------
   The grid image, the hero circuit art, the glow arc and the stack section's art are gone; every
   section sits on the same flat #f0f0f0 that the hero journey and Selected work already used, so
   white cards carry the depth. The footer keeps its own blue band. */
html body.home-wantace-background:not(#_b) {
  background: #f0f0f0 !important; background-image: none !important;
}
html body.home-wantace-background:not(#_b)::before,
html body.home-wantace-background:not(#_b)::after,
html body.home-wantace-background:not(#_b) .top-glow-arc-container { display: none !important; }
html body.home-wantace-background:not(#_b) :is(#technology, #home.hero) {
  background-color: transparent !important; background-image: none !important;
}
html body.home-wantace-background:not(#_b) :is(#home .hero-journey, section#work.ckp) { background: #f0f0f0 !important; }

/* ---------- 7. One screen per section on desktop (owner, 2026-11-20: "make the viewports of every
   section small so user can see any section on a same screen") ----------
   On a 1440 x 900 screen each part should sit in one view. Heads are tighter and a size down, and
   the longer parts are re-packed without changing their cards: Selected work's cards get shorter
   panels and two-line blurbs, the stack bento is tighter, and the FAQ runs in two columns.
   The process timeline, the "What we build" deck and the stack bento hold more than one screen of
   content, so they stay taller than 900px. Section padding itself comes from css/rhythm/index.css. */
@media (min-width: 1024px) {
  html body:not(#_b) .ckh, html body:not(#_b) :is(.ckw-head, .cke-head, .ckp-head) { margin-bottom: 28px !important; }
  html body:not(#_b) :is(.ckh-title, .ckw-title, .ckq-title, .cke-title, .ckp-title, #home .brand-title) { font-size: clamp(32px, 3.1vw, 46px) !important; }
  html body:not(#_b) :is(.ckh-eyebrow, .ckw-eyebrow, .ckq-eyebrow, .cke-eyebrow, .ckp-eyebrow, #home .brand-eyebrow) { margin-bottom: 14px !important; }
  html body:not(#_b) :is(.ckh-lede, .ckq-lede, .cke-sub, .ckp-side > p, section#work .ckp-lede) { margin-top: 10px !important; font-size: 16.5px !important; }

  /* Selected work: 900px tall at most (the section's own padding is the gap) */
  html body:not(#_b) section#work .ckp-wrap { padding: 0; }
  html body:not(#_b) section#work .ckp-lede { max-width: 640px; }
  html body:not(#_b) section#work .ckp-grid { gap: 16px; }
  html body:not(#_b) section#work .ckp-media { aspect-ratio: 3 / 1; padding: 16px 22px 0; }
  html body:not(#_b) section#work .ckp-hero .ckp-media { aspect-ratio: auto; min-height: 0; padding: 0 22px; }
  html body:not(#_b) section#work .ckp-body { padding: 12px 18px 14px; }
  html body:not(#_b) section#work .ckp-meta { margin-bottom: 6px; }
  html body:not(#_b) section#work .ckp-logo { height: 28px; min-width: 28px; border-radius: 8px; }
  html body:not(#_b) section#work .ckp-logo img { max-height: 16px; }
  html body:not(#_b) section#work .ckp-card h3 { margin-bottom: 3px; font-size: 18px; }
  html body:not(#_b) section#work .ckp-card .ckp-body p {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    margin-bottom: 8px; font-size: 14px; line-height: 1.45;
  }
  html body:not(#_b) section#work .ckp-link { font-size: 14px; }
  html body:not(#_b) section#work .ckp-cta { min-height: 50px; }

  /* Stack bento: smaller padding and number, logo lists across more columns */
  html body:not(#_b) #technology .ck-platforms.is-home { padding-top: 28px !important; }
  html body:not(#_b) #technology .cks-grid { gap: 12px; }
  html body:not(#_b) #technology .cks-card { padding: 20px 22px; }
  html body:not(#_b) #technology .cks-flow { padding: 24px 24px 22px; }
  html body:not(#_b) #technology .cks-ghost { font-size: 92px; right: 18px; }
  html body:not(#_b) #technology .cks-items { gap: 12px 18px; padding-top: 14px !important; }
  html body:not(#_b) #technology .cks-s6 .cks-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* FAQ: the questions in two columns under the centred head */
  html body:not(#_b) section#faq.ckq .ckq-wrap { width: min(1140px, calc(100% - 48px)) !important; }
  html body:not(#_b) section#faq.ckq .ckq-side { margin-bottom: 28px !important; }
  html body:not(#_b) section#faq.ckq .ckq-actions { margin-top: 18px; }
  html body:not(#_b) section#faq.ckq .ckq-thread { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px 14px !important; }
  html body:not(#_b) section#faq.ckq .ckq-q h3 { padding: 16px 18px 16px 22px !important; font-size: 16px !important; }
}
