/* Customers. One idea: who we have built for, shown honestly, one client job per section and each in its own picture:
   four glass logo cards, a CRM chat that settles, two real websites that drift past each other, one dark stage with a brand check
   whose red marks are drawn by hand, a Sample quote on a phone. Words are few; every picture stands finished with no script or reduced motion. */

.cu { overflow-x: clip; }
.cu ul, .cu ol { list-style: none; margin: 0; padding: 0; }
.cu h3 { margin: 0; }

/* hand-drawn lines start just off the line, so a round cap never leaves a dot */
@media (prefers-reduced-motion: no-preference) {
  .cu .kit-draw.kit-armed [pathLength], .cu .kit-scribble.kit-armed [pathLength] { stroke-dasharray: 1 1.02; stroke-dashoffset: 1.01; }
}

/* ---------------------------------------------------------------- small shared parts */
.cu-tile { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--kit-line), 0 8px 20px -10px rgb(16 24 40 / 20%); flex: none; transition: transform .5s var(--kit-ease); }
.cu-tile img { width: 70%; height: 70%; object-fit: contain; }
.cu-tile--s { width: 40px; height: 40px; border-radius: 11px; }
.cu-who { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 400 22px/1 var(--font-display); color: var(--ink); }
.cu-dot { width: 9px; height: 9px; border-radius: 50%; background: rgb(16 24 40 / 14%); flex: none; }
.cu-chat-head b, .cu-ph-head b { font-style: normal; font-weight: 500; }
.cu-in, .cu-out { margin: 0; padding: 10px 14px; max-width: 82%; border-radius: 16px; font: 400 14px/20px var(--font-text); }
.cu-in { background: #f0f0f3; color: var(--ink); border-bottom-left-radius: 5px; }
.cu-out { background: color-mix(in srgb, var(--kit-accent) 14%, #fff); color: var(--ink); border-bottom-right-radius: 5px; margin-left: auto; }

.cu-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.cu-split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.cu-words .kit-p { max-width: 24em; }

/* ---------------------------------------------------------------- hero: four glass logo cards on a soft wash */
.cu-hero { padding-top: 88px; padding-bottom: 24px; }
.cu-hero .kit-scribble > svg { bottom: .12em; height: .14em; }
.cu-hero .kit-hero-wash { height: 100%; background:
  radial-gradient(48% 50% at 30% 52%, color-mix(in srgb, var(--kit-accent) 24%, transparent), transparent 72%),
  radial-gradient(40% 46% at 76% 48%, rgb(255 120 80 / 16%), transparent 72%); }
.cu-stage { margin-top: 64px; padding-bottom: 8px; }
.cu-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; text-align: left; }
.cu-logos > li:nth-child(even) { margin-top: 36px; }
.cu-logo { display: flex; flex-direction: column; gap: 6px; padding: 26px; min-height: 0; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--kit-line), var(--kit-shadow);
  transition: box-shadow .5s var(--kit-ease), background-color .4s ease; }
.cu-logo .cu-tile { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 22px; }
.cu-logo .kit-h3 { font-size: 26px; line-height: 32px; }
.cu-job { font: 400 16px/22px var(--font-text); color: var(--ink-2); }
.cu-mini { display: block; width: 100%; height: 64px; margin-top: 22px; overflow: visible; }
.cu-mini path.mark { stroke: #d9422f; }
@media (hover: hover) { .cu-logo:hover .cu-tile { transform: scale(1.07) rotate(-2deg); } .cu-logo:hover { background-color: rgb(255 255 255 / 86%); } }
.cu-logo:focus-visible { outline: 2px solid var(--kit-accent); outline-offset: 3px; }

/* ---------------------------------------------------------------- Ayuzera: a CRM chat that settles */
.cu-crm { padding-top: 96px; }
.cu-crm .cu-who { margin-bottom: 24px; }
.cu-crm-body { display: grid; grid-template-columns: 38% 1fr; min-height: 310px; }
.cu-list { border-right: 1px solid var(--kit-line); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.cu-list li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; min-width: 0; }
.cu-list li.is-on { background: color-mix(in srgb, var(--kit-accent) 9%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kit-accent) 30%, transparent); }
.cu-list u { text-decoration: none; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgb(16 24 40 / 8%); font: 500 11px/1 var(--font-text); color: var(--ink-2); }
.cu-list .is-on u { background: var(--kit-accent); color: #fff; }
.cu-list span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cu-list b { font: 500 13px/1.2 var(--font-text); color: var(--ink); }
.cu-list i { font: 400 12px/1.3 var(--font-text); font-style: normal; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cu-chat { display: flex; flex-direction: column; padding: 14px 18px 18px; min-width: 0; }
.cu-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--kit-line); font: 500 14px/1 var(--font-text); }
.cu-bubbles { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; flex: 1; }
.cu-stages { display: flex; gap: 6px; }
.cu-stages li { flex: 1; text-align: center; padding: 8px 4px; border-radius: 99px; font: 500 12px/1 var(--font-text); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--kit-line); }
.cu-stages li.is-on { background: var(--kit-accent); color: #fff; box-shadow: none; }

/* ---------------------------------------------------------------- the two websites */
.cu-sites { background: linear-gradient(#f6f6f8, #fbfbfc 70%, #fff); }
.cu-sites-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 32px; align-items: start; }
.cu-site { margin: 0; }
.cu-site--a { grid-column: 1 / span 8; }
.cu-site--b { grid-column: 9 / span 4; grid-row: 1; align-self: end; }
.cu-site .kit-screen img { display: block; width: 100%; height: auto; }
.cu-site .kit-screen-bar b { font-weight: 500; font-style: normal; }
.cu-site figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; max-width: 30em; }
.cu-site figcaption .cu-who { margin: 0 0 4px; font-size: 20px; }
.cu-site figcaption .kit-p { margin: 0; font-size: 16px; line-height: 24px; }
.cu-site--a figcaption { max-width: 34em; }
.cu-site-stage { position: relative; }

/* the follow-up, shown on the picture: a Sample enquiry settles, a pen line draws, the reply arrives */
.cu-fu { position: absolute; right: -2%; bottom: -34px; width: 40%; padding: 14px 14px 16px; border-radius: 20px; z-index: 3;
  background: rgb(255 255 255 / 72%); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--kit-line), var(--kit-shadow); }
.cu-fu > .kit-sample { position: absolute; top: -11px; left: 14px; }
.cu-fu-flow { display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding-top: 6px; }
.cu-fu-flow p { margin: 0; padding: 10px 12px; border-radius: 12px; font: 400 14px/20px var(--font-text); color: var(--ink); }
.cu-fu-flow em { display: block; margin-bottom: 4px; font: 500 11px/1 var(--mono); font-style: normal; color: var(--ink-2); text-transform: uppercase; letter-spacing: .02em; }
.cu-fu-in { background: #fff; box-shadow: inset 0 0 0 1px var(--kit-line); }
.cu-fu-out { background: color-mix(in srgb, var(--kit-accent) 12%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kit-accent) 30%, transparent); }
.cu-fu-out em { color: color-mix(in srgb, var(--kit-accent) 80%, var(--ink)); }
.cu-fu-flow svg { width: 22px; height: 34px; align-self: center; overflow: visible; }
@media (prefers-reduced-motion: no-preference) { .cu-fu-flow svg.kit-armed path, .cu-fu-flow svg path { animation-delay: calc(var(--dl, 0) * 1ms + 500ms) !important; } }
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .cu-site--b { transform: translateY(calc((.5 - var(--p, .5)) * 36px)); }   /* the second site drifts a little as the page scrolls */
}

/* ---------------------------------------------------------------- yaaap: the one dark stage */
.cu-dark { position: relative; background: #08080b; color: #fff; padding-block: 112px; overflow: clip;
  --kit-accent: #ff6a4d; --kit-line: rgb(255 255 255 / 12%); }
.cu-dark-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 52% at 50% 78%, rgb(255 96 64 / 24%), transparent 72%), radial-gradient(30% 40% at 88% 12%, rgb(110 110 255 / 12%), transparent 72%); }
.cu-dark-in { position: relative; }
.cu-dark .kit-h2 { color: #fff; }
.cu-dark .kit-p { color: rgb(255 255 255 / 66%); }
.cu-who--dark { color: #fff; }
.cu-dark .cu-tile { box-shadow: none; }
.cu-bc { color: var(--ink); --kit-line: rgb(0 0 0 / 8%); box-shadow: 0 0 0 1px rgb(255 255 255 / 10%), 0 40px 100px -30px rgb(255 96 64 / 38%), 0 30px 60px -30px #000; }
.cu-bc .kit-screen-bar span:not(.kit-sample) { color: var(--ink-2); font-weight: 400; }
.cu-bc .kit-screen-bar b + span { padding-left: 4px; }
.cu-bc-body { display: grid; grid-template-columns: 26% 1fr 29%; gap: 14px; padding: 16px; background: #f7f7f9; }
.cu-col { background: #fff; border-radius: 14px; padding: 16px 16px 18px; box-shadow: inset 0 0 0 1px var(--kit-line); min-width: 0; }
.cu-col h3 { font: 500 14px/1 var(--font-text); color: var(--ink); margin-bottom: 14px; }
.cu-rules li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-top: 1px solid var(--kit-line); font: 400 14px/20px var(--font-text); }
.cu-rules li:first-child { border-top: 0; padding-top: 0; }
.cu-rules u { text-decoration: none; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #ffeae5; color: #d9422f; font: 500 12px/1 var(--mono); }
.cu-sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-left: 4px; vertical-align: -1px; }
.cu-sw--y { background: #f2b705; } .cu-sw--b { background: #1e3f7a; }
.cu-line { position: relative; display: flex; gap: 12px; align-items: baseline; padding: 11px 12px; margin: 0 -4px 4px; border-radius: 10px; font: 400 15px/21px var(--font-text); color: var(--ink); }
.cu-line em { flex: none; width: 22px; font: 500 12px/1 var(--mono); font-style: normal; color: var(--ink-2); }
.cu-line.is-flag { background: #fff0ec; box-shadow: inset 3px 0 0 #d9422f; }
.cu-line.is-flag em { color: #d9422f; }
.cu-line svg { position: absolute; left: 46px; right: 14px; bottom: 5px; width: calc(100% - 60px); height: 7px; overflow: visible; }
.cu-line .kit-draw path { stroke: #d9422f; stroke-width: 1.7; }
.cu-notes ul { display: flex; flex-direction: column; gap: 10px; }
.cu-notes li { padding: 11px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--kit-line); font: 400 14px/20px var(--font-text); color: var(--ink); background: #fff; }
.cu-notes em { display: block; font: 500 11px/1 var(--mono); font-style: normal; color: #d9422f; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .02em; }

/* ---------------------------------------------------------------- the quote (Sample) on a phone */
.cu-quote { background: #f4f4f6; }
.cu-phone-wrap { display: flex; justify-content: center; }
.cu-quote .kit-phone { width: 270px; aspect-ratio: 9 / 13; }
.cu-ph-head { display: flex; align-items: center; justify-content: space-between; padding: 40px 16px 12px; border-bottom: 1px solid var(--kit-line); font: 500 14px/1 var(--font-text); background: #fafafb; }
.cu-ph-body { display: flex; flex-direction: column; gap: 14px; padding: 20px 14px; }
.cu-ph-body p { display: flex; flex-direction: column; gap: 6px; max-width: 88%; }
.cu-ph-body .cu-out { align-items: flex-start; }
.cu-q { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cu-q blockquote { margin: 0; font-size: 34px; }
.cu-q figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.cu-q figcaption .kit-sample { font-size: 11px; padding: 4px 8px; }
.cu-q figcaption { margin: 0; }

/* ---------------------------------------------------------------- your kind of business, and the close */
.cu-trades { padding-bottom: 96px; }
.cu-trades .kit-head { margin-bottom: 28px; }
.cu-trades .chip { padding: 10px 16px; font-size: 15px; }
.cu-more { margin: 32px 0 0; }
.cu-close-band { position: relative; padding: 24px 0 112px; }
.cu-close { position: relative; text-align: left; padding: 64px 56px; border-radius: 28px; background: var(--kit-glass); box-shadow: inset 0 0 0 1px var(--kit-line), var(--kit-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); overflow: hidden; }
.cu-close::before { content: ""; position: absolute; inset: -30% -10% auto; height: 90%; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 60% at 30% 40%, rgb(255 120 80 / 14%), transparent 70%), radial-gradient(50% 60% at 72% 50%, color-mix(in srgb, var(--kit-accent) 14%, transparent), transparent 70%); }
.cu-close .kit-p { margin-inline: 0; font-size: 19px; line-height: 28px; }
.cu-close .kit-hero-actions { margin: 28px 0 24px; justify-content: flex-start; }
.cu-close .small { max-width: 34em; margin: 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1023px) {
  .cu-split, .cu-split--rev { grid-template-columns: 1fr; gap: 40px; }
  .cu-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cu-logos > li:nth-child(even) { margin-top: 0; }
  .cu-logos > li:nth-child(n+3) { margin-top: 0; }
  .cu-bc-body { grid-template-columns: 1fr 1fr; }
  .cu-creative { grid-column: 1 / -1; order: -1; }
  .cu-q blockquote { font-size: 30px; }
  .cu-split--rev .cu-phone-wrap { order: 2; }
  .cu-site--a, .cu-site--b { grid-column: 1 / -1; grid-row: auto; }
  .cu-site--b { max-width: 520px; margin-top: 0; }
  .cu-fu { position: relative; right: auto; bottom: auto; width: auto; max-width: 420px; margin: 28px 0 0 8px; }
}
@media (max-width: 767px) {
  .cu-hero { padding-top: 48px; }
  .cu-stage { margin-top: 40px; }
  .cu-logos { gap: 12px; }
  .cu-logo { padding: 18px; min-height: 0; }
  .cu-logo .cu-tile { width: 56px; height: 56px; border-radius: 15px; margin-bottom: 16px; }
  .cu-logo .kit-h3 { font-size: 20px; line-height: 24px; }
  .cu-job { font-size: 14px; }
  .cu-crm { padding-top: 56px; }
  .cu-crm-body { grid-template-columns: 1fr; min-height: 0; }
  .cu-list { display: none; }
  .cu-sites-grid { display: block; }
  .cu-site--b { margin-top: 48px; }
  .cu-fu { margin: 24px 4px 0; max-width: none; }
  .cu-dark { padding-block: 72px; }
  .cu-bc-body { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
  .cu-creative { order: 0; grid-column: auto; }
  .cu-bc .kit-screen-bar b + span { display: none; }
  .cu-line { font-size: 14px; line-height: 20px; }
  .cu-q blockquote { font-size: 26px; }
  .cu-close { padding: 40px 22px; border-radius: 22px; }
  .cu-close-band { padding-bottom: 72px; }
  .cu-trades { padding-bottom: 56px; }
}
