/* Additions for the self-hosted version (outside Webflow's exported CSS). */

/* Form wrapper was renamed from .w-form so webflow.js doesn't hijack submits. */
.w-form-self { margin: 0 0 15px; }

/* Honeypot spam trap: hidden from people, bots fill it in. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Reference cards are static now (no detail page). */
.lp-mq-card, .lp-card { cursor: default; }

/* Header (with mobile menu) must sit above the hero copy, which shares z-index:1 inside .lp-hero */
.lp-hero > header.nav, header.nav { position: relative; z-index: 30; }

/* Burger button for the mobile menu */
.nav-menu-btn.nav-burger { width: 48px; padding: 0; justify-content: center; }
.nav-menu-btn::-webkit-details-marker { display: none; }
.nav-menu-btn::marker { content: ""; }
.burger { position: relative; width: 20px; height: 14px; display: block; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
.nav-menu[open] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-menu[open] .burger span:nth-child(2) { opacity: 0; }
.nav-menu[open] .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }

/* Display font: Geist (variable, self-hosted, SIL OFL). Was referenced by the CSS but never loaded. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root { --_primitives---font--display: "Geist", Inter, system-ui, sans-serif; }

/* Body + mono fonts, self-hosted (were loaded from Google Fonts). Inter + Inconsolata variable, SIL OFL, via Fontsource. */
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inconsolata"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/inconsolata-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inconsolata"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/inconsolata-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* "Trusted by" logos: optically balanced sizes.
   Each logo's height = unit (--u) x its own factor (--h). The factor comes from
   h ~ aspect^-0.5 x inkDensity^-0.2 (measured from the SVGs), relative to Toptal = 1:
   wide wordmarks get shorter, compact or light logos get taller, so they read as one size. */
.lp-logo-grid.lp-logo-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); --u: min(40px, 2.65vw); }
.lp-logo-grid-5 .lp-logo-img { height: calc(var(--u) * var(--h, 1)); width: auto; max-width: 90%; max-height: none; object-fit: contain; }
.lp-logo-grid-5 .lp-logo-cell:nth-child(1) .lp-logo-img { --h: 0.80; } /* Marsh */
.lp-logo-grid-5 .lp-logo-cell:nth-child(2) .lp-logo-img { --h: 0.81; } /* Filevine */
.lp-logo-grid-5 .lp-logo-cell:nth-child(3) .lp-logo-img { --h: 1.43; } /* CSOB */
.lp-logo-grid-5 .lp-logo-cell:nth-child(4) .lp-logo-img { --h: 0.61; } /* Penta */
.lp-logo-grid-5 .lp-logo-cell:nth-child(5) .lp-logo-img { --h: 1; }    /* Toptal */
@media screen and (max-width: 767px) {
  /* 3 + 2 full rows */
  .lp-logo-grid.lp-logo-grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); --u: min(36px, 5vw); }
  .lp-logo-grid-5 .lp-logo-cell { grid-column: span 2; }
  .lp-logo-grid-5 .lp-logo-cell:nth-child(n+4) { grid-column: span 3; }
}
@media screen and (max-width: 479px) {
  /* 2 + 2 + 1 (last one across the row) */
  .lp-logo-grid.lp-logo-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); --u: min(28px, 7.2vw); }
  .lp-logo-grid-5 .lp-logo-cell, .lp-logo-grid-5 .lp-logo-cell:nth-child(n+4) { grid-column: span 1; }
  .lp-logo-grid-5 .lp-logo-cell:last-child { grid-column: span 2; }
}

/* Preview-only blocks: visible with ?preview in the URL (work in progress, hidden from visitors). */
.preview-only { display: none !important; }
html.is-preview .preview-only { display: block !important; }

/* Work: 2 columns, bigger images */
.lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
@media screen and (max-width: 479px) { .lp-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; } }

/* Impact stats: number at the top of the cell, text at the bottom */
.lp-bento .lp-cell:not(.lp-cell-img):not(.lp-cell-statement) { justify-content: space-between; row-gap: 24px; }

/* Other clients: white logos on the blue impact section, 5 per row */
.lp-more-clients { margin-top: 80px; }
.lp-more-title { color: #fff; margin: 0 0 32px; max-width: 640px; }
.lp-cl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--_primitives---blue--400); border-left: 1px solid var(--_primitives---blue--400); }
.lp-cl-cell { height: 128px; display: flex; align-items: center; justify-content: center; padding: 0 16px;
  border-right: 1px solid var(--_primitives---blue--400); border-bottom: 1px solid var(--_primitives---blue--400); }
.lp-cl-grid { --u: 28px; }
.lp-cl-img { height: calc(var(--u) * var(--h, 1)); width: auto; max-width: 80%; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.lp-cl-empty span { font-family: var(--_primitives---font--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); }
@media screen and (max-width: 767px) {
  .lp-more-clients { margin-top: 56px; }
  .lp-cl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); --u: min(22px, 4.2vw); }
  .lp-cl-cell { height: 96px; }
}
@media screen and (max-width: 479px) { .lp-cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); --u: min(22px, 6vw); } .lp-cl-cell { height: 80px; } }

/* Services visual variants (preview only: ?svc=1, ?svc=2, ?svc=3). Default keeps the icons. */
.svc-v { display: none; position: relative; height: 240px; overflow: hidden; }
html.svc-1 .svc-v1, html.svc-2 .svc-v2, html.svc-3 .svc-v3 { display: block; }
html.svc-1 .lp-svc-icon, html.svc-2 .lp-svc-icon, html.svc-3 .lp-svc-icon { display: none; }
@media screen and (max-width: 991px) { .svc-v { height: 200px; } }
@media screen and (max-width: 767px) { .svc-v { height: 220px; margin-bottom: 8px; } }

/* 1: fanned stack of real project shots, spreads out on hover */
.svc-v1 { overflow: visible; }
.sv1-img { position: absolute; left: 52%; top: 50%; width: 64%; aspect-ratio: 4 / 3; object-fit: cover;
  box-shadow: 0 12px 32px rgba(0,0,0,.18); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sv1-1 { transform: translate(-50%,-50%) rotate(-7deg) translateX(-14%); z-index: 1; }
.sv1-2 { transform: translate(-50%,-50%) rotate(5deg) translateX(14%); z-index: 2; }
.sv1-3 { transform: translate(-50%,-50%) rotate(-1deg); z-index: 3; }
.lp-svc-row:hover .sv1-1 { transform: translate(-50%,-50%) rotate(-12deg) translateX(-26%) translateY(-4%); }
.lp-svc-row:hover .sv1-2 { transform: translate(-50%,-50%) rotate(10deg) translateX(26%) translateY(-4%); }
.lp-svc-row:hover .sv1-3 { transform: translate(-50%,-52%) rotate(0deg) scale(1.04); }

/* 2: crossfading slideshow with project name */
.sv2-slide { position: absolute; inset: 0; margin: 0; opacity: 0; animation: sv2 9s infinite; }
.sv2-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: sv2zoom 9s infinite; }
.sv2-slide figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: rgba(14,14,14,.85); color: #f5f5f5;
  font-family: var(--_primitives---font--mono); font-size: 12px; }
.sv2-2, .sv2-2 img { animation-delay: 3s; } .sv2-3, .sv2-3 img { animation-delay: 6s; }
@keyframes sv2 { 0% { opacity: 0 } 6% { opacity: 1 } 33% { opacity: 1 } 40% { opacity: 0 } 100% { opacity: 0 } }
@keyframes sv2zoom { 0% { transform: scale(1.1) } 40% { transform: scale(1) } 100% { transform: scale(1) } }

/* 3: bold, cropped motifs with motion (blue / black / white only) */
.sv3 { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }

/* Branding: variable-weight "Aa" breathing, rotating badge, popping swatches */
.sv3-brand { background: #2448ff; color: #fff; }
.sv3-aa { font-family: "Geist", sans-serif; font-size: 168px; line-height: .8; letter-spacing: -.06em; font-weight: 200;
  animation: sv3wght 4s cubic-bezier(.7,0,.3,1) infinite alternate; transform: translate(-6%, 4%); }
@keyframes sv3wght { 0% { font-weight: 200; letter-spacing: -.02em } 100% { font-weight: 900; letter-spacing: -.08em } }
.sv3-badge { position: absolute; top: -18px; right: -18px; width: 132px; height: 132px; animation: sv3spin 14s linear infinite; }
.sv3-badge text { fill: #fff; font-family: var(--_primitives---font--mono); font-size: 11.5px; letter-spacing: .14em; }
@keyframes sv3spin { to { transform: rotate(360deg) } }
.sv3-sw { position: absolute; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; animation: sv3pop 4s ease-in-out infinite; }
.sv3-sw1 { left: 16px; background: #0e0e0e; } .sv3-sw2 { left: 40px; background: #8fa2ff; animation-delay: .25s; } .sv3-sw3 { left: 64px; background: #fff; animation-delay: .5s; }
@keyframes sv3pop { 0%, 60%, 100% { transform: scale(1) } 70% { transform: scale(1.35) } 80% { transform: scale(.9) } }
.lp-svc-row:hover .sv3-aa { animation-duration: 1.2s; } .lp-svc-row:hover .sv3-badge { animation-duration: 4s; }

/* Websites: oversized browser that scrolls, a cursor that hunts the button */
.sv3-web { background: #0e0e0e; align-items: flex-start; justify-content: flex-start; }
.sv3-win { position: absolute; left: 14%; top: 16%; width: 120%; height: 120%; background: #fff; border-radius: 10px 0 0 0; overflow: hidden; }
.sv3-dots { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 22px; background: #f0f0f0; }
.sv3-dots::before { content: ""; position: absolute; top: 8px; left: 10px; width: 7px; height: 7px; border-radius: 50%; background: #2448ff; box-shadow: 11px 0 #8fa2ff, 22px 0 #c9d2ff; }
.sv3-page { position: absolute; top: 22px; left: 0; right: 0; padding: 14px; display: flex; flex-direction: column; gap: 9px; animation: sv3scroll 7s cubic-bezier(.6,0,.2,1) infinite; }
.sv3-hero { height: 70px; width: 70%; background: #2448ff; }
.sv3-line { height: 8px; background: #0e0e0e; } .sv3-line.l1 { width: 58%; } .sv3-line.l2 { width: 40%; background: #c9c9c9; }
.sv3-btn { align-self: flex-start; padding: 7px 12px; background: #0e0e0e; color: #fff; font: 600 11px "Geist", sans-serif; animation: sv3btn 7s infinite; }
.sv3-cards { display: grid; grid-template-columns: repeat(3, 70px); gap: 8px; margin-top: 6px; } .sv3-cards b { height: 86px; background: #e9edff; } .sv3-cards b:nth-child(2) { background: #8fa2ff; }
@keyframes sv3scroll { 0%, 18% { transform: translateY(0) } 40%, 62% { transform: translateY(-52px) } 85%, 100% { transform: translateY(0) } }
@keyframes sv3btn { 0%, 52% { background: #0e0e0e } 56%, 70% { background: #2448ff; transform: scale(.94) } 74%, 100% { background: #0e0e0e; transform: scale(1) } }
.sv3-cursor { position: absolute; z-index: 3; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 20px solid #fff;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); transform: rotate(-28deg); left: 80%; top: 80%; animation: sv3cur 7s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes sv3cur { 0%, 15% { left: 82%; top: 82% } 45% { left: 30%; top: 62% } 52% { left: 30%; top: 62%; transform: rotate(-28deg) scale(.8) } 58% { transform: rotate(-28deg) scale(1) } 80% { left: 30%; top: 62% } 100% { left: 82%; top: 82% } }

/* Product: phone with a live feed, a toggle, a toast and a tap ripple */
.sv3-app { background: #2448ff; }
.sv3-phone { position: absolute; left: 50%; top: 22px; width: 132px; height: 280px; margin-left: -66px; background: #0e0e0e; border-radius: 26px; padding: 10px; transform: rotate(-8deg); }
.sv3-feed { height: 100%; overflow: hidden; border-radius: 18px; background: #fff; padding: 22px 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.sv3-feed .sv3-c { flex: none; height: 26px; border-radius: 6px; background: #e9edff; animation: sv3feed 6s cubic-bezier(.6,0,.2,1) infinite; }
.sv3-feed .sv3-c.big { height: 56px; background: #2448ff; } .sv3-feed .sv3-c.mid { height: 38px; background: #8fa2ff; }
@keyframes sv3feed { 0%, 20% { transform: translateY(0) } 45%, 70% { transform: translateY(-96px) } 95%, 100% { transform: translateY(0) } }
.sv3-toast { position: absolute; left: 18px; right: 18px; top: 18px; padding: 6px 8px; border-radius: 8px; background: #0e0e0e; color: #fff; font: 600 10px "Geist", sans-serif; text-align: center;
  animation: sv3toast 6s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes sv3toast { 0%, 48% { transform: translateY(-50px); opacity: 0 } 55%, 78% { transform: translateY(0); opacity: 1 } 85%, 100% { transform: translateY(-50px); opacity: 0 } }
.sv3-toggle { position: absolute; right: 22px; top: 150px; width: 34px; height: 20px; border-radius: 10px; background: #c9c9c9; animation: sv3tg 6s infinite; }
.sv3-toggle i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; animation: sv3knob 6s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes sv3tg { 0%, 46% { background: #c9c9c9 } 50%, 90% { background: #2448ff } 94%, 100% { background: #c9c9c9 } }
@keyframes sv3knob { 0%, 46% { transform: translateX(0) } 50%, 90% { transform: translateX(14px) } 94%, 100% { transform: translateX(0) } }
.sv3-tap { position: absolute; left: calc(50% + 12px); top: 168px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; opacity: 0; animation: sv3tap 6s infinite; }
@keyframes sv3tap { 0%, 42% { opacity: 0; transform: scale(.4) } 46% { opacity: 1; transform: scale(.6) } 54% { opacity: 0; transform: scale(1.8) } 100% { opacity: 0 } }
.lp-svc-row:hover .sv3-app .sv3-phone { transform: rotate(0deg) translateY(-6px); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sv3-phone { transition: transform .5s cubic-bezier(.2,.8,.2,1); }

@media (prefers-reduced-motion: reduce) { .sv2-slide, .sv2-slide img, .sv3 *, .sv3-aa { animation: none !important; } .sv2-1 { opacity: 1; } .sv3-aa { font-weight: 700; } .sv3-toast { opacity: 1; transform: none; } }

/* Sudolabs SVG has lots of padding around the mark */

/* Case study detail (draft template: /case-study, noindex) */
.cs-hero { padding: 64px var(--_layout---margin) 48px; }
.cs-back { display: inline-block; margin-bottom: 32px; color: inherit; text-decoration: none; }
.cs-title { margin: 0 0 24px; }
.cs-summary { max-width: 760px; margin: 0 0 48px; }
.cs-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding-top: 24px; border-top: 1px solid var(--_semantic---border--default); }
.cs-meta dt { margin-bottom: 6px; } .cs-meta dd { margin: 0; }
.cs-cover { padding: 0 var(--_layout---margin); }
.cs-img { display: block; width: 100%; height: auto; }
.cs-cover .cs-img { max-width: 1240px; margin: 0 auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cs-sec { padding: 72px var(--_layout---margin) 0; }
.cs-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; }
.cs-cols .h3 { margin: 0; } .cs-text p { margin: 0; max-width: 720px; }
.cs-work .container { display: flex; flex-direction: column; gap: 32px; }
.cs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cs-pair .cs-img { aspect-ratio: 4 / 5; object-fit: cover; }
.cs-cap { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; margin-top: 16px; }
.cs-cap .h4, .cs-cap p { margin: 0; }
.cs-quote blockquote { margin: 0 0 16px; max-width: 960px; }
.cs-next { padding: 96px var(--_layout---margin); margin-top: 96px; border-top: 1px solid var(--_semantic---border--default); }
.cs-next-link { color: inherit; text-decoration: none; }
@media screen and (max-width: 767px) {
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-cols, .cs-cap, .cs-pair { grid-template-columns: 1fr; }
  .cs-sec { padding-top: 48px; }
}
/* Empty logo slots show only in ?preview; visitors see just the real logos */
.lp-cl-empty { display: none; } html.is-preview .lp-cl-empty { display: flex; }
/* Services: variant 3 is the chosen one, shown to everyone */
.svc-v.svc-on { display: block; }
