/* "Industries we serve" photo cards (homepage, services page). */
.ind-sec { --ind-ink: #0B1023; --ind-ease: cubic-bezier(.16, 1, .3, 1); position: relative; padding: clamp(4.5rem, 9vw, 7rem) 0; background: #F7F6FC; }
.ind-dark { color: #fff; background: #07051A; }
.ind-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 3rem; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.ind-head h2 { margin: .9rem 0 0; max-width: 680px; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.04; letter-spacing: -.035em; color: var(--ind-ink); }
.ind-dark .ind-head h2 { color: #fff; }
.ind-head p { margin: 0; max-width: 420px; font-size: 1.05rem; line-height: 1.6; color: #475569; }
.ind-dark .ind-head p { color: rgba(226, 232, 255, .72); }
.ind-kick { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6D28D9; }
.ind-kick::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(110deg, #8B5CF6, #EC4899 55%, #FB923C); }
.ind-dark .ind-kick { color: #C4B5FD; }
.ind-grad { background: linear-gradient(110deg, #8B5CF6, #EC4899 55%, #FB923C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; perspective: 1200px; }
.ind-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; overflow: hidden; border-radius: 24px; color: #fff; text-decoration: none; isolation: isolate; background: #110C2E;
    box-shadow: 0 30px 60px -40px rgba(43, 28, 120, .7); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transform-style: preserve-3d; transition: transform .6s var(--ind-ease), box-shadow .6s; }
.ind-card:hover { color: #fff; box-shadow: 0 50px 80px -40px rgba(76, 29, 149, .85); }
.ind-photo { position: absolute; inset: 0; z-index: 0; }
.ind-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ind-ease); }
.ind-card:hover .ind-photo img { transform: scale(1.12); }
.ind-card::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 5, 26, .15) 25%, rgba(7, 5, 26, .9)); transition: background .5s; }
.ind-card:hover::after { background: linear-gradient(180deg, rgba(46, 16, 101, .35), rgba(7, 5, 26, .95)); }
.ind-glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .22), transparent 45%); opacity: 0; transition: opacity .4s; }
.ind-card:hover .ind-glare { opacity: 1; }
.ind-top { position: absolute; z-index: 3; left: 1.2rem; right: 1.2rem; top: 1.1rem; display: flex; justify-content: space-between; align-items: center; transform: translateZ(30px); }
.ind-n { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: rgba(255, 255, 255, .8); }
.ind-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 13px; font-size: .95rem; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3); }
.ind-body { position: relative; z-index: 3; display: block; padding: 1.3rem; transform: translateZ(40px); }
.ind-body h3 { margin: 0; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.ind-body small { display: block; margin-top: .45rem; font-size: .86rem; line-height: 1.45; color: rgba(236, 233, 255, .8); }
.ind-tags { display: flex; flex-wrap: wrap; gap: .3rem; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ind-ease), opacity .4s, margin .6s; }
.ind-card:hover .ind-tags, .ind-card:focus-visible .ind-tags { max-height: 90px; opacity: 1; margin-top: .8rem; }
.ind-tags em { padding: .22rem .55rem; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 600; background: rgba(255, 255, 255, .16); }
.ind-go { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; font-size: .86rem; font-weight: 800; color: #F9A8D4; }
.ind-go i { transition: transform .35s var(--ind-ease); }
.ind-card:hover .ind-go i { transform: translateX(5px); }
.ind-card:focus-visible { outline: 3px solid #A78BFA; outline-offset: 3px; }
.ind-card:nth-child(1), .ind-card:nth-child(6) { grid-column: span 2; }
/* reveal */
.ind-js [data-ind-reveal] { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ind-ease), translate 1s var(--ind-ease), transform .6s var(--ind-ease), box-shadow .6s; transition-delay: calc(var(--d, 0) * 60ms), calc(var(--d, 0) * 60ms), 0s, 0s; }
.ind-js [data-ind-reveal].is-in { opacity: 1; translate: 0 0; }
@media (max-width: 1080px) { .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ind-card:nth-child(6) { grid-column: auto; } }
@media (max-width: 760px) {
    .ind-grid { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -1rem; padding: 0 1rem .6rem; scrollbar-width: none; perspective: none; }
    .ind-grid::-webkit-scrollbar { display: none; }
    .ind-card, .ind-card:nth-child(1), .ind-card:nth-child(6) { flex: 0 0 80%; min-height: 380px; scroll-snap-align: center; transform: none; transform-style: flat; }
    .ind-top, .ind-body { transform: none; }
    .ind-tags { max-height: none; opacity: 1; margin-top: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ind-js [data-ind-reveal] { opacity: 1; translate: none; transition: none; }
    .ind-card, .ind-photo img { transition: none; }
}

/* Industry page: the service areas ticked for this industry */
.ind-areas-sec { background: #fff; }
.ind-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.ind-area { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.3rem; border-radius: 20px; background: #F7F6FC; border: 1px solid #ECE9F8;
    color: var(--ind-ink); text-decoration: none !important; overflow: hidden; isolation: isolate; transition: transform .5s var(--ind-ease), box-shadow .5s, border-color .3s; }
.ind-area::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(120deg, rgba(139, 92, 246, .1), rgba(236, 72, 153, .08) 60%, rgba(251, 146, 60, .08)); transition: opacity .4s; }
.ind-area:hover { transform: translateY(-4px); border-color: #C4B5FD; box-shadow: 0 24px 40px -28px rgba(76, 29, 149, .55); }
.ind-area:hover::before { opacity: 1; }
.ind-area-ic { flex: none; width: 50px; height: 50px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem;
    background: linear-gradient(135deg, #8B5CF6, #EC4899 60%, #FB923C); box-shadow: 0 12px 22px -12px rgba(139, 92, 246, .8); }
.ind-area-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.ind-area-text strong { font-size: 1.05rem; letter-spacing: -.01em; }
.ind-area-text small { font-size: .86rem; line-height: 1.45; color: #64748B; }
.ind-area-go { color: #7C3AED; transition: transform .4s var(--ind-ease); }
.ind-area:hover .ind-area-go { transform: translateX(4px); }
@media (max-width: 600px) { .ind-areas { grid-template-columns: 1fr; } .ind-area { padding: 1rem; } }

/* Industries page */
.ind-missing .sv-head { max-width: 640px; margin: 0 auto; }
.ind-missing-text { margin: 1rem auto 1.6rem; max-width: 520px; font-size: 1.05rem; line-height: 1.6; color: #475569; }
@media (max-width: 600px) {
    .ind-missing .sv-actions { flex-direction: column; align-items: stretch; }
    .ind-missing .sv-actions .btn { width: 100%; justify-content: center; }
}

/* Industries page: every industry in an even grid (3 / 2 columns), never a swipe strip */
.ind-full .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ind-full .ind-card, .ind-full .ind-card:nth-child(1), .ind-full .ind-card:nth-child(6) { grid-column: auto; min-height: 320px; }
@media (max-width: 900px) { .ind-full .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .ind-full .ind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; overflow: visible; }
    .ind-full .ind-card, .ind-full .ind-card:nth-child(1), .ind-full .ind-card:nth-child(6) { flex: none; min-height: 230px; border-radius: 18px; }
    .ind-full .ind-top { left: .8rem; right: .8rem; top: .8rem; }
    .ind-full .ind-ic { width: 34px; height: 34px; border-radius: 10px; font-size: .8rem; }
    .ind-full .ind-body { padding: .9rem; }
    .ind-full .ind-body h3 { font-size: 1.02rem; }
    .ind-full .ind-body small, .ind-full .ind-tags { display: none; }
    .ind-full .ind-go { margin-top: .5rem; font-size: .78rem; }
}

/* Industry page: no big empty band between the overview and "How we help" */
.ind-ov { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.ind-ov + .ind-sec { padding-top: clamp(2.5rem, 5vw, 4rem); }
