/* ===== Live tune (Oct 2026) =====
   The live site stays as it is. Two fixes only:
   1. Shorter frames, so each image block fits on a laptop screen and the details stay in view.
   2. A simpler client showcase.
   Loaded last in <head>, so it wins over main.css and the inline <style> block. */

/* ---------- 1. Frame heights ---------- */

/* Neon quote banner: was a full screen tall; now a strip framed on the sign */
@media (min-width: 768px) {
    html body .tp-banner-img { height: min(38vw, 620px) !important; }
    html body .tp-banner-img img { height: 100%; object-fit: cover; object-position: center 58%; margin-top: 0 !important; transform: none !important; }
}

/* Sunset video: was 56% of the page width tall */
html body .tp-video-area .tp-video-thumb { height: min(36vw, 480px) !important; }
html body .tp-video-area .tp-video-thumb video { height: 100% !important; margin-top: 0 !important; object-fit: cover; }

/* Services: the stack releases when the last panel lands (inline script), so it needs no extra room;
   the last panel scrolls in unpinned, so it sits above the pinned ones */
html body #services .tp-service-pin > .tp-service-panel:last-child { position: relative; z-index: 10; }

/* Stats panels: 400px numbers and 146px circles made each panel taller than the screen */
@media (min-width: 1200px) {
    html body .tp-funfact-green-wrap { padding-top: 48px !important; padding-bottom: 32px !important; }
    html body .tp-funfact-img > div { width: 96px !important; height: 96px !important; }
    html body .tp-funfact-img > div img, html body .tp-funfact-img img { width: 90px !important; height: 90px !important; }
    html body .tp-funfact-big-img { max-width: 200px; }
    html body .tp-funfact-number span { font-size: 220px !important; transform: none !important; }
    html body .tp-funfact-number span i { -webkit-text-stroke-width: 4px; }
    html body .tp-funfact-img-wrap-2 { margin-top: 8px; }
}

/* ---------- 2. Client showcase: one row per project ----------
   Text and "What we built" on the left, the sample on the right. No tag pills:
   the list already says what was built. Partners and embedded roles are a compact list. */
html body #work { padding-top: 100px !important; padding-bottom: 100px !important; }
#work .kd-work-intro { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 620px; margin: 16px auto 0; }

#work .kd-project {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: center;
    padding: 56px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
#work .kd-project:first-of-type { border-top: 0; padding-top: 8px; }
#work .kd-project-num { display: block; color: #fc00ff; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; margin-bottom: 10px; }
html body #work .kd-project-title { color: #fff; font-size: clamp(28px, 2.6vw, 38px) !important; line-height: 1.05; margin-bottom: 10px; }
#work .kd-project-sub { color: #fff; font-size: 16px !important; font-weight: 600; margin: 0 0 12px; }
#work .kd-project-desc { color: rgba(255,255,255,0.75); font-size: 16px !important; line-height: 1.65; margin: 0 0 22px; }
/* "What we built" speaks in the heading type (bold Inter) so it reads apart from the Geist paragraph */
#work .kd-project-label { display: block; color: #fff; font-family: var(--tp-ff-heading); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 8px; }
#work .kd-project-list { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 28px; color: #fff; }
#work .kd-project-list li { font-family: var(--tp-ff-heading); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.75; }
#work .kd-project-list li:not(:last-child)::after { content: "\00B7"; margin: 0 10px; color: #fc00ff; font-weight: 700; }

#work .kd-project-media { position: relative; background: #000; border-radius: 12px; overflow: hidden; cursor: pointer; }
#work .kd-project-media video { display: block; width: 100%; height: auto; }

/* Pill link: pink fill and nudged arrow on hover */
#work .kd-link {
    display: inline-flex; align-items: center; gap: 10px;
    color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 10px 20px; border: 1px solid rgba(255,255,255,0.3); border-radius: 30px;
    transition: background 0.3s, border-color 0.3s;
}
#work .kd-link:hover { background: #fc00ff; border-color: #fc00ff; color: #fff; }
#work .kd-link svg { transition: transform 0.3s; }
#work .kd-link:hover svg { transform: translate(3px, -3px); }

/* Ongoing partnerships + embedded roles */
#work .kd-partners { margin-top: 88px; }
#work .kd-partner-list + .kd-partners-head { margin-top: 64px; }
html body #work .kd-partners-title { color: #fff; font-size: clamp(20px, 1.5vw, 24px) !important; margin: 10px 0 0; }
#work .kd-partner-list { list-style: none; padding: 0; margin: 20px 0 0; }
#work .kd-partner {
    display: grid;
    grid-template-columns: 120px minmax(0, 220px) minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
#work .kd-partner:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
#work .kd-partner-logo { width: 120px; height: 72px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; }
#work .kd-partner-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
#work .kd-partner-name h4 { color: #fff; font-size: 18px; margin: 0 0 4px; }
#work .kd-partner-name p { color: #fc00ff; font-size: 14px !important; font-weight: 600; line-height: 1.4; margin: 0; }
#work .kd-partner-desc { color: rgba(255,255,255,0.75); font-size: 15px !important; line-height: 1.6; margin: 0; }

@media (max-width: 991px) {
    html body #work { padding-top: 80px !important; padding-bottom: 80px !important; }
    #work .kd-project { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 44px 0; }
    #work .kd-project-media { order: -1; }
    #work .kd-partners { margin-top: 64px; }
    #work .kd-partner { grid-template-columns: 96px minmax(0, 1fr); gap: 14px 20px; }
    #work .kd-partner-logo { width: 96px; height: 60px; }
    #work .kd-partner-desc, #work .kd-partner .kd-link { grid-column: 1 / -1; }
    #work .kd-partner .kd-link { justify-self: start; }
}


/* ---------- 3. Pricing: proposal based, four offers in one row ---------- */
html body #pricing .kd-price-intro { max-width: 640px; margin-left: auto; margin-right: auto; }
html body #pricing .kd-price-row { margin-top: 10px; }
html body #pricing .kd-price-note { text-align: center; font-size: 16px; margin: 44px auto 0 !important; max-width: 900px; }
/* Offer names sit on one line so the four cards line up */
@media (min-width: 1200px) {
    html body #pricing .app-price-box .crp-price-head h4 { font-size: clamp(30px, 2.4vw, 38px); white-space: nowrap; }
}
html body #pricing .kd-price-note a { color: #fc00ff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html body #pricing .crp-price-item .tp-btn-black-border { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1439px) {
    html body #pricing .app-price-box .crp-price-item { padding-left: 22px; padding-right: 22px; }
    html body #pricing .crp-price-item .tp-btn-black-border { padding-left: 12px; padding-right: 12px; }
}
