/* Services (sv2-*). Paste into /services → Page settings → Custom code → Head.
   Full-fidelity layer over the native basic styles. Fonts inherit the site. */
.sv2-main { --sv-gap: clamp(10px, 1vw, 14px); --c-web: #4E86F7; --c-mig: #E0D6C4; --c-des: #8A5CF5; --c-gro: #16A06B; --c-app: #E8A21C; --c-care: #E0435B; }
.sv2-container { max-width: 1240px; margin: 0 auto; padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
@media (max-width: 767px) { .sv2-container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.sv2-main a { text-decoration: none; }
.sv2-main a:focus-visible, .sv2-main button:focus-visible { outline: 2px solid #1257E8; outline-offset: 3px; border-radius: 6px; }
.sv2-eyebrow { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #0B0B0C; }
.sv2-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.sv2-btn-blue { background: #1257E8; color: #fff; }
.sv2-btn-blue:hover { background: #0B3FB5; color: #fff; }
.sv2-btn-line { border: 1px solid #E2E2E6; color: #0B0B0C; }
.sv2-btn-line:hover { border-color: #0B0B0C; }

/* Head */
.sv2-head { text-align: center; padding-block: clamp(48px, 7vw, 104px) clamp(36px, 4vw, 56px); }
.sv2-head .sv2-container { display: grid; justify-items: center; gap: clamp(18px, 2vw, 24px); }
.sv2-title { margin: 0; font-size: clamp(36px, 6.3vw, 84px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; max-width: 20ch; text-wrap: balance; }
@media (min-width: 900px) { .sv2-title { max-width: none; } }
@media (max-width: 899px) { .sv2-title br { display: none; } }
.sv2-intro { margin: 0; color: #6A6A72; font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.5; max-width: 62ch; text-wrap: pretty; }
.sv2-head-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
/* Type-out (js/services.js), same as /work */
@keyframes sv2-tw-safe { to { opacity: 1; } }
@keyframes sv2-tw-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .sv2-title:not([data-typed]) { opacity: 0; animation: sv2-tw-safe 0s 2.5s forwards; } }
.sv2-tw-word, .sv2-tw-char, .sv2-tw-caret { float: none; }
.sv2-tw-word { display: inline !important; white-space: nowrap; }
.sv2-tw-char { display: inline !important; }   /* the type-out spans must stay inline, whatever a class registry sets */
.sv2-title.is-typing .sv2-tw-char:not(.is-on) { visibility: hidden; }
.sv2-tw-caret { display: inline-block !important; position: relative; width: 0; height: .78em; vertical-align: -0.04em; }
.sv2-tw-caret::after { content: ""; position: absolute; left: .04em; top: 0; width: .09em; height: 100%; background: #1257E8; }
.sv2-title.is-typed .sv2-tw-caret::after { animation: sv2-tw-blink 1s steps(1) infinite; }

/* Clients ticker */
.sv2-clients { padding-bottom: clamp(48px, 6vw, 80px); display: grid; justify-items: center; gap: 22px; }
.sv2-clients .sv2-eyebrow { color: #6A6A72; }
.sv2-ticker { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sv2-track { display: flex; width: max-content; animation: sv2-tick 46s linear infinite; }
.sv2-ticker:hover .sv2-track, .sv2-cta-tick:hover .sv2-track { animation-play-state: paused; }
.sv2-client { padding: 0 clamp(22px, 3vw, 44px); font-size: clamp(18px, 1.9vw, 25px); font-weight: 600; letter-spacing: -0.03em; color: #9A9AA2; white-space: nowrap; }
@keyframes sv2-tick { to { transform: translateX(-50%); } }

/* Bento */
.sv2-band { background: #041C2C; color: #fff; padding-block: clamp(56px, 7vw, 104px); }
.sv2-bento { display: grid; gap: var(--sv-gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .sv2-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .sv2-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(400px, auto); } .sv2-span2 { grid-column: span 2; } }
.sv2-tile { position: relative; min-width: 0; border-radius: 16px; overflow: hidden; }
.sv2-statement { padding: clamp(22px, 2vw, 28px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border: 1px solid rgba(224,214,196,.18); min-height: 300px; }
.sv2-statement .sv2-eyebrow { color: #E0D6C4; }
.sv2-statement-title { margin: 0; font-size: clamp(30px, 2.7vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.06; color: #fff; text-wrap: balance; }
.sv2-svc { --c: #fff; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2vw, 28px); border: 1px solid color-mix(in srgb, var(--c) 70%, transparent); background: rgba(255,255,255,.02); color: #fff; transition: background .3s, border-color .3s; min-height: 340px; }
.sv2-svc:hover { background: color-mix(in srgb, var(--c) 9%, transparent); border-color: var(--c); color: #fff; }
.sv2-svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sv2-svc-title { margin: 0; font-size: clamp(24px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
.sv2-ico { width: 40px; height: 40px; flex: 0 0 auto; color: var(--c); }
.sv2-ico svg { width: 100%; height: 100%; display: block; }
.sv2-svc-for { margin: auto 0 0; font-size: 15.5px; line-height: 1.45; color: rgba(255,255,255,.86); max-width: 30ch; }
.sv2-incl { margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 7px; font-size: 14px; color: rgba(255,255,255,.66); }
.sv2-incl li { display: flex; gap: 10px; margin: 0; }
.sv2-incl li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--c); }
.sv2-more { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 500; color: #fff; }
.sv2-more::after { content: "→"; transition: transform .25s; }
.sv2-svc:hover .sv2-more::after { transform: translateX(3px); }
.sv2-img { min-height: 300px; background: #0E2A3D; margin: 0; }
.sv2-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,.84,.28,1); }
.sv2-img:hover img { transform: scale(1.04); }
.sv2-cap { position: absolute; left: 14px; bottom: 14px; z-index: 1; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(4,28,44,.72); padding: 6px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sv2-web { --c: var(--c-web); } .sv2-mig { --c: var(--c-mig); } .sv2-des { --c: var(--c-des); } .sv2-gro { --c: var(--c-gro); } .sv2-app { --c: var(--c-app); } .sv2-care { --c: var(--c-care); }

/* Start here */
.sv2-start { padding-block: clamp(72px, 9vw, 128px) clamp(48px, 6vw, 80px); text-align: center; }
.sv2-start .sv2-container { display: grid; justify-items: center; gap: clamp(28px, 3vw, 40px); }
.sv2-start .sv2-eyebrow { color: #6A6A72; }
.sv2-start-title { margin: 0; font-size: clamp(32px, 4.2vw, 58px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; max-width: 22ch; text-wrap: balance; }
.sv2-entries { width: 100%; display: grid; gap: var(--sv-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.sv2-entry { border-radius: 16px; padding: clamp(36px, 5vw, 64px) clamp(22px, 3vw, 48px); display: grid; justify-items: center; gap: 22px; align-content: center; min-height: 340px; }
.sv2-entry-blue { background: #1257E8; color: #fff; }
.sv2-entry-sand { background: #E0D6C4; color: #041C2C; }
.sv2-pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; border: 1px solid currentColor; }
.sv2-entry-blue .sv2-pill { border-color: rgba(255,255,255,.45); }
.sv2-entry-sand .sv2-pill { border-color: rgba(4,28,44,.3); }
.sv2-entry-title { margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; max-width: 16ch; text-wrap: balance; color: inherit; }
.sv2-entry-blue .sv2-btn { background: #fff; color: #0B0B0C; }
.sv2-entry-blue .sv2-btn:hover { background: #E8EEFD; }
.sv2-entry-sand .sv2-btn { background: #041C2C; color: #fff; }
.sv2-entry-sand .sv2-btn:hover { background: #0B2E45; }

/* CTA ticker */
.sv2-cta-tick { display: block; background: #0B0B0C; color: #fff; overflow: hidden; padding: 18px 0; }
.sv2-cta-tick:hover { color: #fff; }
.sv2-cta-tick .sv2-track { animation-duration: 30s; align-items: center; }
.sv2-tick-item { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 40px); padding-right: clamp(22px, 3vw, 40px); font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.sv2-tick-item::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, #fff); }
.sv2-tick-item:nth-child(6n+1) { --c: var(--c-web); } .sv2-tick-item:nth-child(6n+2) { --c: var(--c-app); } .sv2-tick-item:nth-child(6n+3) { --c: var(--c-gro); }
.sv2-tick-item:nth-child(6n+4) { --c: var(--c-des); } .sv2-tick-item:nth-child(6n+5) { --c: var(--c-care); } .sv2-tick-item:nth-child(6n) { --c: var(--c-mig); }

/* Selected work */
.sv2-work { padding-block: clamp(72px, 9vw, 120px) 0; }
.sv2-work .sv2-container { display: grid; gap: 28px; }
.sv2-work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.sv2-label { margin: 0; font-size: 13px; font-weight: 500; color: #0B0B0C; padding-bottom: 8px; border-bottom: 2px solid #0B0B0C; }
.sv2-cards { display: grid; gap: clamp(24px, 2.6vw, 34px) var(--sv-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.sv2-card { display: grid; gap: 12px; align-content: start; color: #0B0B0C; }
.sv2-card:hover { color: #0B0B0C; }
.sv2-card-media { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: #F3F3F5; }
.sv2-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.16,.84,.28,1); }
.sv2-card:hover .sv2-card-media img { transform: scale(1.04); }
.sv2-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: #6A6A72; }
.sv2-card-title { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.sv2-card-line { margin: -6px 0 0; color: #35353C; font-size: 15px; }

/* FAQ: native tabs + accordion, driven by js/services.js */
.sv2-faq { padding-block: clamp(72px, 9vw, 128px); }
.sv2-faq-grid { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) { .sv2-faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); } .sv2-faq-side { position: sticky; top: 100px; align-self: start; } }
.sv2-faq-side { display: grid; gap: 22px; align-content: start; }
.sv2-faq-title { margin: 0; font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.sv2-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .sv2-tabs { flex-direction: column; align-items: flex-start; } }
.sv2-tab { padding: 8px 16px; border-radius: 999px; border: 1px solid #E2E2E6; background: #fff; color: #0B0B0C; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s, border-color .2s; }
.sv2-tab:hover { border-color: #0B0B0C; color: #0B0B0C; }
.sv2-tab.is-active { background: #0B0B0C; color: #fff; border-color: #0B0B0C; }
.sv2-tab.is-active::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.sv2-panel { border-top: 1px solid #E2E2E6; }
.sv2-panel:not(.is-active) { display: none; }
.sv2-qa { border-bottom: 1px solid #E2E2E6; }
.sv2-q { width: 100%; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: clamp(18px, 2vw, 26px) 0; background: none; border: 0; text-align: left; cursor: pointer; color: #0B0B0C; font-size: clamp(19px, 2vw, 28px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.sv2-q::after { content: ""; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #E2E2E6; background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%230B0B0C' stroke-width='1.8'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); transition: transform .3s, background-color .3s, border-color .3s; }
.sv2-qa.is-open .sv2-q::after { transform: rotate(180deg); background-color: #0B0B0C; border-color: #0B0B0C; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23FFFFFF' stroke-width='1.8'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); }
.sv2-a { display: none; padding: 0 52px 26px 0; color: #35353C; font-size: 16.5px; line-height: 1.6; max-width: 66ch; }
.sv2-qa.is-open .sv2-a { display: block; }
.sv2-a a { color: #1257E8; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18,87,232,.35); }

@media (prefers-reduced-motion: reduce) { .sv2-track { animation: none; } .sv2-main * { transition: none !important; } }
