/* Home page 2 (Spotlight edition) – loaded by home-2.html after styles.css */

:root { --ink: #0A1438; --glass: rgba(255, 255, 255, .08); --glass-line: rgba(255, 255, 255, .16); }

/* ---------- Header that sits over the dark hero ---------- */
.site-header.over { position: fixed; left: 0; right: 0; background: transparent; transition: background .3s, box-shadow .3s; }
.site-header.over .logo-dark { display: none; }
.site-header.over .logo-light { display: block; }
.site-header.over.scrolled { background: #fff; }
.site-header.over.scrolled .logo-dark { display: block; }
.site-header.over.scrolled .logo-light { display: none; }
.site-header.over:not(.scrolled) .icon-btn { color: #fff; }
.site-header.over:not(.scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .14); }
.site-header.over:not(.scrolled) .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.site-header.over:not(.scrolled) .menu-toggle span { background: #fff; }
@media (min-width: 981px) {
  .site-header.over:not(.scrolled) .nav-link { color: rgba(255, 255, 255, .88); }
  .site-header.over:not(.scrolled) .nav-item:hover .nav-link { color: #fff; }
  .site-header.over:not(.scrolled) .nav-link::after { background: #fff; }
}

/* ---------- Section headings ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(28px, 3.3vw, 44px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin-top: 12px; }
.sec-head h2 .grad { display: inline-block; padding-bottom: .1em; }
.sec-head p.intro { font-size: 14.5px; line-height: 1.55; color: var(--slate); max-width: 380px; padding-bottom: 6px; }
.eyebrow.num { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow.num b { font-weight: 600; color: var(--blue); }
.eyebrow.num::after { content: ''; width: 40px; height: 1px; background: currentColor; opacity: .4; }
.sec-dark { position: relative; overflow: hidden; color: #fff; background: var(--ink); isolation: isolate; }
.sec-dark .eyebrow { color: rgba(255, 255, 255, .7); }
.sec-dark .eyebrow.num b { color: #A9BEFA; }
.sec-dark .sec-head p.intro { color: rgba(255, 255, 255, .75); }
.sec-dark .grad, .sp .grad { background: linear-gradient(90deg, #9DB4F8, #E3EAFF); -webkit-background-clip: text; background-clip: text; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); }
.aurora i:nth-child(1) { width: 640px; height: 640px; right: 2%; top: -16%; background: #2F54B8; opacity: .9; animation: drift-a 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: 28%; bottom: -36%; background: #5B80E0; opacity: .5; animation: drift-b 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 480px; height: 480px; left: -10%; top: 26%; background: #213A82; opacity: .9; animation: drift-b 26s ease-in-out -6s infinite alternate; }
.aurora::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); }
@keyframes drift-a { to { transform: translate(-70px, 50px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(80px, -40px) scale(.92); } }

/* =====================================================
   HERO – Spotlight
   ===================================================== */
.sp { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink); padding-top: var(--header-h); }
.sp-inner { display: grid; grid-template-columns: minmax(320px, 50%) 1fr; align-items: center; gap: 20px; min-height: min(640px, calc(100vh - 210px)); padding-top: 34px; padding-bottom: 20px; }
.sp .eyebrow { color: rgba(255, 255, 255, .72); }
.sp .eyebrow-rule::after { background: rgba(255, 255, 255, .35); }
.sp h1 { font-size: clamp(36px, 3.7vw, 50px); font-weight: 600; line-height: 1.05; letter-spacing: -.025em; margin: 22px 0 20px; }
.sp h1 .grad { display: inline-block; padding-bottom: .12em; }
.sp-sub { font-size: 17.5px; line-height: 1.55; color: rgba(255, 255, 255, .82); max-width: 470px; margin-bottom: 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.sp-facts { display: flex; gap: 34px; margin-top: 42px; }
.sp-facts b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.sp-facts span { font-size: 12px; color: rgba(255, 255, 255, .66); }
.sp-facts div + div { padding-left: 34px; border-left: 1px solid var(--glass-line); }

.sp-stage { position: relative; aspect-ratio: 1 / .9; width: 100%; max-width: 620px; margin-left: auto; }
.sp-beam { position: absolute; left: 14%; right: 14%; top: -12%; bottom: 20%; background: linear-gradient(180deg, rgba(190, 210, 255, .5), rgba(190, 210, 255, 0) 88%); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); filter: blur(34px); opacity: .32; }
.sp-glow { position: absolute; left: 12%; right: 12%; top: 8%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(170, 195, 255, .55) 0%, rgba(91, 128, 224, .28) 42%, rgba(91, 128, 224, 0) 70%); }
.sp-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(170, 195, 255, .26); left: 2%; right: 2%; top: -2%; aspect-ratio: 1; }
.sp-ring.r2 { left: -10%; right: -10%; top: -14%; border-color: rgba(170, 195, 255, .12); border-style: dashed; }
.sp-floor { position: absolute; left: 8%; right: 8%; bottom: 9%; height: 17%; border-radius: 50%; background: radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, .34) 0%, rgba(150, 180, 255, .2) 40%, rgba(150, 180, 255, 0) 70%); border-top: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 30px 60px rgba(3, 8, 30, .5); }
.sp-prod { position: absolute; left: 18%; right: 18%; top: 6%; bottom: 17%; display: grid; place-items: end center; opacity: 0; transform: translateY(22px) scale(.95); transition: opacity .6s ease, transform .8s var(--ease); pointer-events: none; }
.sp-prod.on { opacity: 1; transform: none; }
.sp-prod img { max-width: calc(100% * var(--k, 1)); max-height: calc(100% * var(--k, 1)); width: auto; height: auto; filter: drop-shadow(0 26px 30px rgba(3, 8, 30, .55)); -webkit-box-reflect: below 2px linear-gradient(transparent 72%, rgba(255, 255, 255, .16)); }
.sp-chip { position: absolute; z-index: 3; padding: 11px 16px 12px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); min-width: 150px; transition: opacity .4s; }
.sp-chip small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #A9BEFA; margin-bottom: 3px; }
.sp-chip b { font-size: 14px; font-weight: 500; white-space: nowrap; }
.sp-chip.c1 { left: -11%; top: 14%; }
.sp-chip.c2 { right: -7%; top: 58%; }
.sp-count { position: absolute; right: 0; top: 2%; font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.sp-count b { font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: #fff; margin-right: 6px; }
.sp-brand { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 9px 18px; border-radius: 999px; background: #fff; box-shadow: 0 16px 40px rgba(3, 8, 30, .45); white-space: nowrap; }
.sp-brand img { height: 18px; width: auto; }
.sp-brand span { font-size: 12.5px; font-weight: 500; color: var(--navy); padding-left: 12px; border-left: 1px solid var(--line); }

.sp-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--glass-line); }
.sp-rail button { position: relative; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 12px; padding: 18px 16px 20px; text-align: left; color: rgba(255, 255, 255, .62); transition: color .25s, background .25s; }
.sp-rail button + button { border-left: 1px solid rgba(255, 255, 255, .08); }
.sp-rail img { width: 46px; height: 46px; object-fit: contain; opacity: .7; transition: opacity .25s, transform .4s var(--ease); }
.sp-rail strong { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.sp-rail small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.sp-rail button::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: #A9BEFA; transform: scaleX(0); transform-origin: left; }
.sp-rail button:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.sp-rail button.on { color: #fff; background: rgba(255, 255, 255, .06); }
.sp-rail button.on img { opacity: 1; transform: scale(1.1); }
.sp-rail button.on::before { transform: scaleX(1); }
@keyframes sp-fill { from { transform: scaleX(0); } }
@keyframes sp-float { 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: no-preference) {
  .sp-rail button.on::before { animation: sp-fill 4.6s linear; }
  .sp-prod.on img { animation: sp-float 6s ease-in-out infinite; }
  .sp-chip.c1 { animation: sp-float 7s ease-in-out -2s infinite; }
  .sp-chip.c2 { animation: sp-float 8s ease-in-out -4s infinite; }
  .sp-copy > * { animation: rise .8s var(--ease) both; }
  .sp-copy > :nth-child(2) { animation-delay: .08s; } .sp-copy > :nth-child(3) { animation-delay: .16s; }
  .sp-copy > :nth-child(4) { animation-delay: .24s; } .sp-copy > :nth-child(5) { animation-delay: .32s; }
  .sp-stage { animation: rise 1s var(--ease) .15s both; }
}

/* ---------- Clients ---------- */
.clients { background: #fff; }

/* ---------- Products bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 290px; gap: 16px; }
.b-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #E3E9F6; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .25s; }
.b-card .pic { position: absolute; left: 12%; right: 12%; top: 7%; bottom: 52%; display: grid; place-items: center; }
.b-card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(13, 26, 69, .18)); transition: transform .6s var(--ease); }
.b-card .pic.photo img { mix-blend-mode: multiply; filter: none; }
.b-card small { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.b-card strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; margin: 5px 0 6px; }
.b-card p { font-size: 13px; line-height: 1.5; color: var(--slate); }
.b-card .arrow-btn { position: absolute; right: 18px; top: 18px; }
.b-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(13, 26, 69, .14); border-color: #C3D0EE; }
.b-card:hover .pic img { transform: scale(1.06); }
.b-card:hover .arrow-btn { background: var(--brand); border-color: var(--brand); color: #fff; }
.b-3 { grid-column: span 3; }
.b-6 { grid-column: span 6; }
.b-hero { grid-column: span 6; grid-row: span 2; color: #fff; border: 0; padding: 34px; background: radial-gradient(460px 420px at 72% 34%, rgba(91, 128, 224, .75), rgba(91, 128, 224, 0) 70%), linear-gradient(150deg, #0A1438, #213A82); }
.b-hero .pic { left: 46%; right: 5%; top: 7%; bottom: 7%; }
.b-hero .pic img { filter: drop-shadow(0 30px 30px rgba(3, 8, 30, .5)); }
.b-hero small { color: #A9BEFA; }
.b-hero strong { font-size: 30px; letter-spacing: -.02em; max-width: 46%; }
.b-hero p { color: rgba(255, 255, 255, .8); max-width: 40%; font-size: 14px; }
.b-hero .arrow-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.b-wide { flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; }
.b-wide .pic { position: relative; inset: auto; flex: none; width: 38%; height: 100%; border-radius: 14px; overflow: hidden; }
.b-wide .pic img { object-fit: cover; mix-blend-mode: normal; }
.b-cta { justify-content: space-between; color: #fff; border: 0; background: linear-gradient(135deg, #213A82, #3F64CC); }
.b-cta strong { font-size: 26px; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.b-cta p { color: rgba(255, 255, 255, .85); font-size: 14px; }
.b-cta .btn { align-self: flex-start; }

/* ---------- Categories (dark) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { position: relative; aspect-ratio: 16 / 10.5; border-radius: 20px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 22px; border: 1px solid var(--glass-line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 56, .1) 15%, rgba(10, 20, 56, .92) 100%); }
.cat-card > strong, .cat-card > .arrow-btn { position: relative; z-index: 1; }
.cat-card strong { font-size: 20px; font-weight: 600; line-height: 1.2; }
.cat-card strong small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: #A9BEFA; margin-bottom: 7px; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0, 0, 0, .4); border-color: rgba(255, 255, 255, .4); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card:hover .arrow-btn { background: #fff; color: var(--brand); }

/* ---------- About ---------- */
.about-tag { font-size: 13px; font-weight: 500; color: var(--brand); margin-top: 16px; }
.about-stats.big strong { font-size: 40px; }
.about-stats strong span { font-size: inherit; color: inherit; }
.awards { display: grid; gap: 8px; margin: 0 0 26px; }
.awards li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--navy); }
.awards svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Partners (tabs) ---------- */
.pt-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 16px; }
.pt-tabs button { display: grid; place-items: center; height: 84px; padding: 0 16px; border-radius: 16px; background: #fff; border: 1px solid #E3E9F6; transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.pt-tabs img { max-height: 34px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.pt-tabs button:hover img, .pt-tabs button.on img { filter: none; opacity: 1; }
.pt-tabs button.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(33, 58, 130, .12), var(--shadow-md); transform: translateY(-2px); }
.pt-panels { position: relative; border-radius: 24px; background: #fff; border: 1px solid #E3E9F6; overflow: hidden; }
.pt-panel { display: none; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; padding: 44px 48px; min-height: 340px; }
.pt-panel.on { display: grid; animation: rise .6s var(--ease) both; }
.pt-panel small { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.pt-panel h3 { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 14px; }
.pt-panel p { font-size: 15px; line-height: 1.7; color: var(--slate); margin-bottom: 22px; }
.pt-pic { position: relative; aspect-ratio: 1 / .8; display: grid; place-items: center; }
.pt-pic::before { content: ''; position: absolute; left: 12%; right: 12%; top: 2%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #E9EFFC, #D5E0F8); }
.pt-pic img { position: absolute; inset: 4% 12%; width: 76%; height: 92%; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(13, 26, 69, .2)); }
.pt-pic.photo img { inset: 6% 20%; width: 60%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: none; box-shadow: 0 20px 40px rgba(13, 26, 69, .2); }

/* ---------- Contact uses the hero's aurora ---------- */
.contact { isolation: isolate; background: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-auto-rows: 280px; }
  .b-3 { grid-column: span 6; }
  .b-hero { grid-column: span 12; }
  .b-6 { grid-column: span 12; }
  .sp-rail strong { font-size: 12.5px; }
}
@media (max-width: 980px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sp-inner { grid-template-columns: 1fr; gap: 26px; min-height: 0; }
  .sp-stage { margin: 0 auto; max-width: 480px; }
  .sp-rail { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-tabs { grid-template-columns: repeat(3, 1fr); }
  .pt-panel { grid-template-columns: 1fr; padding: 30px; }
  .pt-pic { max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .sp h1 { font-size: 36px; }
  .sp-sub { font-size: 15.5px; }
  .sp-facts { gap: 18px; margin-top: 30px; }
  .sp-facts div + div { padding-left: 18px; }
  .sp-facts b { font-size: 22px; }
  .sp-chip { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b-card, .b-3, .b-6, .b-hero { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
  .b-hero { min-height: 420px; }
  .b-hero .pic { left: 14%; right: 14%; top: 4%; bottom: 42%; }
  .b-hero strong, .b-hero p { max-width: none; }
  .b-wide { flex-direction: column; align-items: flex-start; }
  .b-wide .pic { width: 100%; height: 150px; }
  .cat-grid { grid-template-columns: 1fr; }
  .pt-tabs { grid-template-columns: repeat(2, 1fr); }
  .pt-tabs button { height: 68px; }
  .pt-panel { padding: 22px; }
  .pt-panel h3 { font-size: 22px; }
  .about-stats.big strong { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .aurora i { animation: none; } }


/* ---------- Partners gallery: logo one side, text the other ---------- */
.pg { display: grid; gap: 18px; }
.pg-row { display: grid; grid-template-columns: 42% 1fr; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid #E3E9F6; transition: box-shadow .45s var(--ease), border-color .25s, transform .45s var(--ease); }
.pg-row:nth-child(even) { grid-template-columns: 1fr 42%; }
.pg-row:nth-child(even) .pg-logo { order: 2; }
.pg-logo { position: relative; display: grid; place-items: center; min-height: 300px; padding: 40px; background: radial-gradient(420px 320px at 50% 50%, #fff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(140deg, #E4EBFA, #F4F7FE); overflow: hidden; }
.pg-logo::before, .pg-logo::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(33, 58, 130, .1); aspect-ratio: 1; }
.pg-logo::before { width: 78%; }
.pg-logo::after { width: 112%; border-style: dashed; }
.pg-logo img { position: relative; z-index: 1; max-width: min(72%, 300px); max-height: 96px; width: auto; height: auto; object-fit: contain; transition: transform .5s var(--ease); }
.pg-logo span { position: absolute; z-index: 1; left: 24px; top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: #9AA9CC; }
.pg-text { padding: 40px 44px; align-self: center; }
.pg-text small { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.pg-text h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 14px; }
.pg-text p { font-size: 14.5px; line-height: 1.7; color: var(--slate); }
.pg-text p + p { margin-top: 10px; }
.pg-row:hover { box-shadow: 0 22px 50px rgba(13, 26, 69, .12); border-color: #C3D0EE; transform: translateY(-3px); }
.pg-row:hover .pg-logo img { transform: scale(1.06); }
@media (max-width: 860px) {
  .pg-row, .pg-row:nth-child(even) { grid-template-columns: 1fr; }
  .pg-row:nth-child(even) .pg-logo { order: 0; }
  .pg-logo { min-height: 170px; padding: 28px; }
  .pg-logo img { max-height: 64px; }
  .pg-text { padding: 26px 22px 28px; }
  .pg-text h3 { font-size: 21px; }
}


/* ---------- Partner logo cards (same card pattern as "Find the technology") ---------- */
.pc-card { text-align: left; cursor: pointer; }
.pc-logo { display: grid; place-items: center; padding: 0 18%; background: radial-gradient(circle at 50% 45%, #fff 0%, #fff 38%, #EAF0FB 100%); }
.wf-card .pc-logo img { width: auto; height: auto; max-width: 100%; max-height: 46%; object-fit: contain; }
.pc-card .wf-foot { letter-spacing: .05em; font-size: 11.5px; }
.pc-card.active .arrow-btn { background: var(--brand); border-color: var(--brand); color: #fff; }
.pc-card.active .arrow-btn svg { transform: rotate(90deg); }
.pc-panels { margin-top: 18px; border-radius: 20px; background: #fff; border: 1px solid #E3E9F6; }
.pc-panel { display: none; padding: 34px 40px 36px; }
.pc-panel.on { display: block; animation: rise .55s var(--ease) both; }
.pc-panel small { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.pc-panel h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 12px; }
.pc-panel p { font-size: 14.5px; line-height: 1.7; color: var(--slate); max-width: 920px; }
.pc-panel p + p { margin-top: 8px; }
@media (max-width: 640px) { .pc-panel { padding: 22px; } .pc-panel h3 { font-size: 20px; } }


/* ############ Picked designs: products A, categories A, about A, partners B, contact A ############ */

/* ---------- Products: pop-out cards ---------- */
.pp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 86px 18px; padding-top: 64px; }
.pp-card { position: relative; display: flex; flex-direction: column; padding: 132px 26px 26px; border-radius: 26px; background: #fff; border: 1px solid #E3E9F6; transition: background .35s, border-color .35s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.pp-card i { position: absolute; left: 50%; top: -44px; width: 168px; height: 168px; border-radius: 50%; transform: translateX(-50%); background: var(--c, #DCE6FA); transition: transform .5s var(--ease), background .35s; }
.pp-card img { position: absolute; left: 50%; top: -64px; width: 190px; height: 196px; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 18px 16px rgba(13, 26, 69, .22)); transition: transform .55s var(--ease); }
.pp-card img.blend { mix-blend-mode: multiply; filter: none; }
.pp-card img.round { top: -44px; width: 168px; height: 168px; border-radius: 50%; object-fit: cover; filter: none; box-shadow: 0 16px 30px rgba(13, 26, 69, .18); }
.pp-card small { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); transition: color .35s; }
.pp-card strong { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 7px 0 9px; }
.pp-card span { font-size: 13.5px; line-height: 1.55; color: var(--slate); transition: color .35s; flex: 1; }
.pp-card em { font-style: normal; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--blue); transition: color .35s; }
.pp-card em svg { width: 13px; height: 13px; transition: transform .3s; }
.pp-card:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-6px); box-shadow: 0 26px 56px rgba(33, 58, 130, .32); }
.pp-card:hover span { color: rgba(255, 255, 255, .82); }
.pp-card:hover small, .pp-card:hover em { color: #C9D6FB; }
.pp-card:hover i { transform: translateX(-50%) scale(1.08); background: #fff; }
.pp-card:hover img:not(.round) { transform: translateX(-50%) translateY(-10px) scale(1.06); }
.pp-card:hover em svg { transform: translateX(5px); }

/* ---------- Categories: icon cards ---------- */
.kc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kc-card { position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 28px; border-radius: 24px; background: #F5F8FE; border: 1px solid #E6ECF8; overflow: hidden; transition: background .35s, border-color .35s, color .35s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.kc-card b { position: absolute; right: 14px; top: -26px; font-size: 150px; font-weight: 700; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #DCE4F5; transition: -webkit-text-stroke-color .35s; pointer-events: none; }
.kc-ic { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 22px; background: #fff; color: var(--brand); box-shadow: 0 10px 24px rgba(33, 58, 130, .12); transition: background .35s, color .35s, transform .45s var(--ease); }
.kc-ic svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kc-card strong { position: relative; margin-top: auto; padding-top: 30px; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.kc-card em { position: relative; font-style: normal; display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--blue); transition: color .35s; }
.kc-card em svg { width: 13px; height: 13px; transition: transform .3s; }
.kc-card::after { content: ''; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.kc-card:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-5px); box-shadow: 0 24px 50px rgba(33, 58, 130, .3); }
.kc-card:hover b { -webkit-text-stroke-color: rgba(255, 255, 255, .18); }
.kc-card:hover .kc-ic { transform: rotate(-6deg) scale(1.06); }
.kc-card:hover em { color: #C9D6FB; }
.kc-card:hover em svg { transform: translateX(5px); }

/* ---------- About: arch photo + number boxes ---------- */
.ab { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 72px; align-items: center; }
.ab-photo { position: relative; }
.ab-photo::before { content: ''; position: absolute; left: -18px; right: 18px; top: 18px; bottom: -18px; border-radius: 220px 220px 30px 30px; border: 1.5px solid #B9C8EE; }
.ab-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 1 / 1.16; object-fit: cover; border-radius: 220px 220px 30px 30px; box-shadow: 0 30px 60px rgba(13, 26, 69, .18); }
.ab-photo b { position: absolute; right: -18px; bottom: 36px; padding: 15px 26px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 500; letter-spacing: .02em; box-shadow: 0 16px 34px rgba(33, 58, 130, .38); }
.ab-copy h2 { font-size: clamp(32px, 3.6vw, 50px); font-weight: 600; line-height: 1.06; letter-spacing: -.03em; margin: 16px 0 24px; max-width: 12.5em; }
.ab-copy h2 .grad { display: inline-block; padding-bottom: .1em; }
.ab-lead { font-size: 21px; font-weight: 500; line-height: 1.42; letter-spacing: -.012em; color: var(--navy); max-width: 30em; }
.ab-text { font-size: 15.5px; line-height: 1.75; color: var(--slate); max-width: 38em; margin-top: 14px; }
.ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 30px; }
.ab-stats > div { padding: 22px 24px 20px; border-radius: 22px; background: #fff; border: 1px solid #E3E9F6; }
.ab-stats strong { display: flex; align-items: baseline; font-size: 46px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.ab-stats strong i { font-style: normal; font-size: 26px; font-weight: 500; margin-left: 3px; color: #5B80E0; }
.ab-stats > div > span { display: block; margin-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.ab-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ab-foot > span { font-size: 12.5px; color: var(--muted); }

/* ---------- Partners: logo list at the side ---------- */
.pl { display: grid; grid-template-columns: 270px 1fr; border-radius: 26px; border: 1px solid #E3E9F6; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgba(13, 26, 69, .06); }
.pl-list { display: grid; background: #F5F8FE; }
.pl-list button { position: relative; display: grid; place-items: center; min-height: 84px; padding: 0 30px; border-bottom: 1px solid #E3E9F6; border-right: 1px solid #E3E9F6; transition: background .25s; }
.pl-list button:last-child { border-bottom: 0; }
.pl-list img { max-height: 30px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .25s, opacity .25s, transform .35s var(--ease); }
.pl-list button::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); transform: scaleY(0); transition: transform .3s var(--ease); }
.pl-list button:hover img, .pl-list button.on img { filter: none; opacity: 1; }
.pl-list button.on { background: #fff; border-right-color: #fff; }
.pl-list button.on::before { transform: scaleY(1); }
.pl-list button.on img { transform: scale(1.08); }
.pl-body { position: relative; }
.pl-panel { display: none; grid-template-columns: 1fr 270px; gap: 36px; align-items: center; height: 100%; padding: 44px 48px; }
.pl-panel.solo { grid-template-columns: 1fr; }
.pl-panel.on { display: grid; animation: rise .5s var(--ease) both; }
.pl-panel small { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.pl-panel h3 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 14px; }
.pl-panel p { font-size: 14.5px; line-height: 1.7; color: var(--slate); max-width: 46em; }
.pl-panel p + p { margin-top: 9px; }
.pl-panel img { width: 100%; height: 260px; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(13, 26, 69, .2)); }

/* ---------- Contact: glass form over the lab photo ---------- */
.ct { padding: 92px 0; background: #0D1A45; }
.ct-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ct::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 20, 56, .95) 0%, rgba(20, 38, 92, .86) 50%, rgba(33, 58, 130, .62) 100%); }
.ct .contact-form { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(22px) saturate(1.2); color: #fff; box-shadow: 0 30px 80px rgba(3, 8, 30, .45), inset 0 1px 0 rgba(255, 255, 255, .2); border-radius: 26px; }
.ct .contact-form label, .ct .contact-form .form-note { color: rgba(255, 255, 255, .72); }
.ct .contact-form input, .ct .contact-form select, .ct .contact-form textarea { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); color: #fff; }
.ct .contact-form input:focus, .ct .contact-form select:focus, .ct .contact-form textarea:focus { background: rgba(255, 255, 255, .18); border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
.ct .contact-form option { color: var(--navy); }
.ct .contact-form .btn-primary { background: #fff; color: var(--navy); }
.ct .contact-form .btn-primary:hover { background: #E6ECFA; }
.ct h2 { font-size: clamp(32px, 3.8vw, 50px); letter-spacing: -.03em; }

@media (max-width: 980px) {
  .pp { grid-template-columns: repeat(2, 1fr); }
  .kc { grid-template-columns: repeat(2, 1fr); }
  .ab { grid-template-columns: 1fr; gap: 44px; }
  .ab-photo { max-width: 380px; margin: 0 auto; width: 100%; }
  .pl { grid-template-columns: 1fr; }
  .pl-list { grid-template-columns: repeat(3, 1fr); }
  .pl-list button { min-height: 70px; padding: 0 16px; border-right: 1px solid #E3E9F6; }
  .pl-list button.on { border-right-color: #E3E9F6; }
  .pl-list button::before { top: auto; right: 0; width: auto; height: 3px; transform: scaleX(0); }
  .pl-list button.on::before { transform: scaleX(1); }
  .pl-panel { grid-template-columns: 1fr; padding: 28px; }
  .pl-panel img { height: 200px; }
}
@media (max-width: 640px) {
  .pp { grid-template-columns: 1fr; gap: 80px; }
  .kc { grid-template-columns: 1fr; }
  .kc-card { min-height: 190px; }
  .ab-photo b { right: 0; }
  .ab-lead { font-size: 18px; }
  .ab-stats { grid-template-columns: 1fr; }
  .ab-stats > div { display: flex; align-items: center; justify-content: space-between; }
  .ab-stats strong { font-size: 36px; }
  .ab-stats > div > span { margin: 0; }
  .pl-list { grid-template-columns: repeat(2, 1fr); }
  .pl-panel h3 { font-size: 24px; }
  .ct { padding: 56px 0; }
}

/* ############ Hero background, round 2: deeper base, light field behind the product, orbit lines ############ */
.sp {
  background:
    radial-gradient(900px 620px at 74% 46%, rgba(72, 112, 230, .55) 0%, rgba(47, 84, 184, .28) 38%, rgba(47, 84, 184, 0) 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(33, 58, 130, .7) 0%, rgba(33, 58, 130, 0) 70%),
    linear-gradient(118deg, #060D2B 0%, #0B1846 42%, #142A6E 100%);
}
.sp .aurora i { filter: blur(90px); }
.sp .aurora i:nth-child(1) { width: 520px; height: 520px; right: 10%; top: 6%; background: #5B80E0; opacity: .55; }
.sp .aurora i:nth-child(2) { width: 460px; height: 460px; right: 34%; bottom: -30%; background: #2F54B8; opacity: .6; }
.sp .aurora i:nth-child(3) { width: 420px; height: 420px; left: -8%; top: -18%; background: #1B3173; opacity: .9; }
/* fine dot field, fading away from the product */
.sp .aurora::after {
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 74% 48%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 70% at 74% 48%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
}
/* wide orbit lines centred on the product + soft vignette so the text side stays calm */
.sp::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 13, 43, .55) 0%, rgba(6, 13, 43, 0) 46%),
    linear-gradient(0deg, rgba(6, 13, 43, .6) 0%, rgba(6, 13, 43, 0) 26%),
    repeating-radial-gradient(circle at 74% 50%, rgba(255, 255, 255, 0) 0 139px, rgba(190, 208, 255, .1) 139px 140px);
}
.sp::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none; left: 38%; right: -12%; top: -30%; height: 90%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(190, 208, 255, .1) 48%, rgba(255, 255, 255, 0) 62%);
  transform: rotate(-12deg);
}
.sp-glow { left: 6%; right: 6%; top: 2%; background: radial-gradient(circle, rgba(214, 226, 255, .62) 0%, rgba(120, 150, 240, .34) 36%, rgba(91, 128, 224, 0) 68%); }
.sp-beam { opacity: .22; }
.sp-ring { border-color: rgba(200, 215, 255, .34); }
.sp-ring::after { content: ''; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px 4px rgba(170, 195, 255, .9); }
.sp-ring.r2::after { display: none; }
.sp-floor { left: 4%; right: 4%; bottom: 8%; height: 19%; background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, .42) 0%, rgba(170, 195, 255, .22) 38%, rgba(150, 180, 255, 0) 70%); border-top: 1px solid rgba(255, 255, 255, .4); }
.sp-floor::after { content: ''; position: absolute; left: 12%; right: 12%; top: 22%; bottom: 22%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); }
.sp-chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); box-shadow: 0 14px 34px rgba(3, 8, 30, .28), inset 0 1px 0 rgba(255, 255, 255, .18); }
.sp-chip.c1 { left: -13%; top: 12%; }
.sp-chip.c2 { right: -2%; top: 64%; }
.sp-rail { border-top-color: rgba(255, 255, 255, .2); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0)); }
@keyframes sp-orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .sp-ring { animation: sp-orbit 40s linear infinite; }
  .sp-ring.r2 { animation-duration: 70s; animation-direction: reverse; }
}


/* ############ Hero background: lab film, tinted in brand blue ############ */
.sp { background: #0A1438; }
.sp::before { display: none; }
.sp::after { background: none; }
.sp-film { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sp-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 13, 43, .96) 0%, rgba(13, 26, 69, .86) 40%, rgba(33, 58, 130, .58) 72%, rgba(47, 84, 184, .5) 100%), linear-gradient(0deg, rgba(6, 13, 43, .85) 0%, rgba(6, 13, 43, 0) 30%); }
@media (max-width: 980px) { .sp-film::after { background: linear-gradient(180deg, rgba(6, 13, 43, .94) 0%, rgba(13, 26, 69, .8) 45%, rgba(33, 58, 130, .62) 100%); } }

/* hero: no product counter · clients: logos in their own colours, no hover effect */
.sp-count { display: none; }
.clients .marquee img, .clients .marquee img:hover { filter: none; opacity: 1; transition: none; }
.clients .marquee:hover .marquee-track { animation-play-state: running; }


/* ############ Hero: light & clean (chosen) ############ */
.sp.bg-light::before, .sp.bg-light::after { display: none; }
/* ---------- 7 · Light & clean ---------- */
.sp.bg-light { color: #14265C; background: radial-gradient(900px 600px at 78% 40%, #fff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #F6F8FE 0%, #E2EAFB 100%); font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; }
.hv-light .sp h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.04; letter-spacing: -.04em; }
.hv-light .sp h1 .grad { background: linear-gradient(90deg, #213A82, #5B80E0); -webkit-background-clip: text; background-clip: text; }
.hv-light .sp .eyebrow { color: #213A82; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(13, 26, 69, .08); width: max-content; letter-spacing: .14em; }
.hv-light .sp .eyebrow-rule::after { display: none; }
.hv-light .sp-sub { color: #4B5768; }
.hv-light .sp .btn { border-radius: 14px; }
.hv-light .sp .btn-light { background: #213A82; color: #fff; box-shadow: 0 12px 28px rgba(33, 58, 130, .35); }
.hv-light .sp .btn-ghost { border-color: #B9C9E6; color: #14265C; background: #fff; }
.hv-light .sp-facts b { font-weight: 800; letter-spacing: -.04em; color: #213A82; }
.hv-light .sp-facts span { color: #4B5768; }
.hv-light .sp-facts div + div { border-color: #CBD6EC; }
.hv-light .sp-glow { left: 9%; right: 9%; top: 4%; background: radial-gradient(circle at 36% 28%, #6E8EE6 0%, #2F54B8 45%, #213A82 80%); box-shadow: 0 50px 90px rgba(33, 58, 130, .38); }
.hv-light .sp-beam { display: none; }
.hv-light .sp-ring { border-color: rgba(33, 58, 130, .2); }
.hv-light .sp-ring.r2 { border-color: rgba(33, 58, 130, .1); }
.hv-light .sp-ring::after { background: #213A82; box-shadow: 0 0 0 5px rgba(33, 58, 130, .14); }
.hv-light .sp-floor { background: radial-gradient(ellipse at 50% 40%, rgba(13, 26, 69, .28), rgba(13, 26, 69, 0) 68%); border: 0; box-shadow: none; }
.hv-light .sp-floor::after { display: none; }
.hv-light .sp-prod img { -webkit-box-reflect: unset; filter: drop-shadow(0 30px 28px rgba(8, 18, 55, .45)); }
.hv-light .sp-chip { background: #fff; border-color: #DCE4F3; color: #14265C; box-shadow: 0 14px 34px rgba(13, 26, 69, .12); backdrop-filter: none; }
.hv-light .sp-chip small { color: #2F54B8; }
.hv-light .sp-count { color: #7A8698; }
.hv-light .sp-count b { color: #14265C; font-weight: 800; }
.hv-light .sp-rail { border-color: #CBD6EC; background: none; }
.hv-light .sp-rail button { color: #4B5768; }
.hv-light .sp-rail button + button { border-color: #D8E1F2; }
.hv-light .sp-rail button.on, .hv-light .sp-rail button:hover { color: #14265C; background: rgba(255, 255, 255, .8); }
.hv-light .sp-rail button::before { background: #213A82; }
.hv-light .site-header.over:not(.scrolled) .logo-dark { display: block; mix-blend-mode: multiply; }
.hv-light .site-header.over:not(.scrolled) .logo-light { display: none; }
.hv-light .site-header.over:not(.scrolled) .icon-btn { color: #14265C; }
.hv-light .site-header.over:not(.scrolled) .btn-primary { background: #213A82; color: #fff; }
.hv-light .site-header.over:not(.scrolled) .menu-toggle span { background: #14265C; }
@media (min-width: 981px) {
  .hv-light .site-header.over:not(.scrolled) .nav-link { color: #14265C; }
  .hv-light .site-header.over:not(.scrolled) .nav-link::after { background: #213A82; }
}

.hv-light .site-header.over:not(.scrolled) .logo-dark { mix-blend-mode: normal; }
.hv-light .sp-rail strong { color: inherit; }


/* ############ White footer ############ */
.site-footer { background: #fff; color: var(--slate); border-top: 1px solid #E3E9F6; }
.footer-brand img { height: 70px; }
.footer-brand p { color: var(--slate); }
.footer-col h3 { color: var(--navy); }
.footer-col a { color: var(--slate); }
.footer-col a:hover { color: var(--brand); }
.footer-col address { color: var(--slate); }
.footer-bottom { color: var(--muted); background: linear-gradient(#E3E9F6, #E3E9F6) top / 100% 1px no-repeat content-box; }

/* ############ Navbar: solid white bar, four dropdown links, one button ############ */
.site-header:not(.over) .logo-light { display: none; }
.site-header:not(.over) { box-shadow: 0 1px 0 #E6ECF6; }
.site-header .main-nav { gap: 40px; }
.site-header .nav-link { font-size: 15px; }
.site-header .btn-primary { height: 44px; padding: 0 22px; font-size: 14px; }
.sp { padding-top: 0; }


/* ############ Navbar returns after the hero, with a gentle slide ############ */
.site-header { position: absolute; left: 0; right: 0; top: 0; }
.site-header.scrolled:not(.stuck) .header-inner { height: var(--header-h); }
.site-header.scrolled:not(.stuck) .logo img { height: 60px; }
main { padding-top: var(--header-h); }
.site-header.stuck { position: fixed; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(13, 26, 69, .08); animation: nav-in .55s var(--ease) both; }
.site-header.stuck .header-inner { height: 68px; }
.site-header.stuck .logo img { height: 50px; }
@keyframes nav-in { from { transform: translateY(-14px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .site-header.stuck { animation: none; } }
@media (max-width: 640px) { .site-header.scrolled:not(.stuck) .logo img { height: 46px; } }


/* ############ Motion ############ */
.scroll-bar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 100; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.motion-on .reveal { opacity: 1; transform: none; transition: none; }
.pp-card i { transform: translateX(-50%); translate: none; }

/* hide the browser scrollbar (the page still scrolls) */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }


/* ############ Navbar hidden at the top of the hero, appears after a slight scroll ############ */
main { padding-top: 0; }
.site-header, .site-header.stuck { position: fixed; left: 0; right: 0; top: 0; animation: none; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 rgba(217, 226, 236, .7), 0 6px 24px rgba(13, 26, 69, .06); transition: transform .5s var(--ease), opacity .35s ease, visibility .5s; }
.site-header:not(.stuck) { transform: translateY(-100%); opacity: 0; visibility: hidden; pointer-events: none; }
.site-header.stuck { transform: none; opacity: 1; visibility: visible; }
.site-header .header-inner, .site-header.stuck .header-inner { height: 68px; }
.site-header .logo img, .site-header.stuck .logo img { height: 50px; }
.sp-inner { padding-top: 56px; }
@media (max-width: 980px) { .site-header .main-nav { top: 68px; } }

.pp-more { display: flex; justify-content: center; margin-top: 44px; }


/* products heading: text with the "All products" button */
.sec-cta { display: flex; align-items: center; gap: 28px; padding-bottom: 6px; }
.sec-cta .intro { padding-bottom: 0; }
.sec-cta .btn { flex: none; }
@media (max-width: 980px) { .sec-cta { flex-direction: column; align-items: flex-start; gap: 16px; } }


/* ############ Partners: side list with photo + logo panel ############ */
.pl-panel.ps { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; align-items: stretch; background: #F5F8FE; }
.ps-photo { position: relative; min-height: 440px; overflow: hidden; }
.pl-panel.ps .ps-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform 1.2s var(--ease); }
.pl-panel.ps.on .ps-photo img { animation: ps-zoom 8s ease-out both; }
@keyframes ps-zoom { from { transform: scale(1.08); } }
.ps-txt { align-self: center; padding: 44px 48px; }
.pl-panel.ps .ps-logo { width: auto; height: 46px; max-width: 220px; object-fit: contain; object-position: left; filter: none; margin-bottom: 22px; }
.ps-txt small { display: block; font-size: 11px; letter-spacing: .16em; }
.ps-txt p { font-size: 16.5px; line-height: 1.65; color: var(--slate); margin: 12px 0 26px; max-width: 30em; }
@media (max-width: 980px) {
  .pl-panel.ps { grid-template-columns: 1fr; }
  .ps-photo { min-height: 230px; }
  .ps-txt { padding: 28px 24px 32px; }
}

/* ############ Partners: smooth cross-fade between panels ############ */
.pl-body { display: grid; background: #F5F8FE; }
.pl-panel.ps, .pl-panel.ps.on { display: grid; grid-area: 1 / 1; animation: none; }
.pl-panel.ps { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s ease, visibility .7s; }
.pl-panel.ps.on { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.pl-panel.ps .ps-photo img, .pl-panel.ps.on .ps-photo img { animation: none; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.pl-panel.ps.on .ps-photo img { transform: scale(1); }
.ps-txt > * { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .7s var(--ease); }
.pl-panel.ps.on .ps-txt > * { opacity: 1; transform: none; }
.pl-panel.ps.on .ps-txt > :nth-child(1) { transition-delay: .18s; }
.pl-panel.ps.on .ps-txt > :nth-child(2) { transition-delay: .26s; }
.pl-panel.ps.on .ps-txt > :nth-child(3) { transition-delay: .34s; }
.pl-panel.ps.on .ps-txt > :nth-child(4) { transition-delay: .42s; }
.pl-list button, .pl-list img { transition: background .4s ease, filter .4s ease, opacity .4s ease, transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .pl-panel.ps, .ps-txt > *, .pl-panel.ps .ps-photo img { transition: none; } }


/* ############ Hero copied from the first home page ############ */
.hero .hero-inner { padding-top: 64px; padding-bottom: 56px; }


/* ############ About photo: wide frame so the whole team shows ############ */
.ab { grid-template-columns: 1.08fr 1fr; gap: 64px; }
.ab-photo { padding: 0 26px 26px 0; }
.ab-photo::before { left: 26px; right: 0; top: 26px; bottom: 0; border: 0; border-radius: 28px; background: linear-gradient(140deg, #213A82, #5B80E0); }
.ab-photo::after { content: ''; position: absolute; left: -22px; top: -22px; width: 120px; height: 120px; z-index: 0; background-image: radial-gradient(#9FB3E8 1.6px, transparent 2px); background-size: 15px 15px; }
.ab-photo img { z-index: 1; aspect-ratio: 3 / 2; border-radius: 28px; object-position: 50% 40%; box-shadow: 0 30px 60px rgba(13, 26, 69, .22); }
.ab-photo b { z-index: 2; right: auto; left: 22px; bottom: 48px; }
.ab-chip { position: absolute; z-index: 2; right: 0; top: 26px; display: grid; gap: 2px; max-width: 170px; padding: 16px 20px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(13, 26, 69, .18); font-size: 12.5px; line-height: 1.35; color: var(--slate); }
.ab-chip strong { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--brand); }
.ab-cap { position: absolute; z-index: 2; right: 44px; bottom: 44px; padding: 7px 14px; border-radius: 999px; background: rgba(13, 26, 69, .6); backdrop-filter: blur(8px); color: #fff; font-size: 12px; }
.ab-copy h2 { font-size: clamp(30px, 3.1vw, 44px); }
.ab-stats > div { padding: 18px 18px 16px; }
.ab-stats strong { font-size: 38px; }
@media (max-width: 980px) { .ab { grid-template-columns: 1fr; } .ab-photo { max-width: 640px; } }
@media (max-width: 640px) { .ab-photo { padding: 0 14px 14px 0; } .ab-photo::before { left: 14px; top: 14px; } .ab-chip { top: 12px; padding: 12px 14px; } .ab-chip strong { font-size: 22px; } .ab-cap { display: none; } .ab-photo b { left: 12px; bottom: 28px; right: auto; } }


/* ############ About, redesigned: headline row, photo + story, stats band ############ */
.ab2-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.ab2-head h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; margin-top: 14px; }
.ab2-head h2 .grad { display: inline-block; padding-bottom: .1em; }
.ab2-lead { font-size: 21px; font-weight: 500; line-height: 1.45; letter-spacing: -.012em; color: var(--navy); padding: 0 0 8px 26px; border-left: 3px solid var(--brand); }
.ab2-main { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.ab2-photo { position: relative; margin: 0; min-height: 480px; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(13, 26, 69, .16); }
.ab2-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 1.2s var(--ease); }
.ab2-photo:hover img { transform: scale(1.04); }
.ab2-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 26, 69, 0) 55%, rgba(13, 26, 69, .72) 100%); }
.ab2-photo figcaption { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; }
.ab2-photo figcaption b { padding: 12px 22px; border-radius: 999px; background: var(--brand); font-size: 14px; font-weight: 500; box-shadow: 0 12px 28px rgba(13, 26, 69, .4); }
.ab2-photo figcaption span { font-size: 13px; opacity: .9; }
.ab2-side { display: flex; flex-direction: column; gap: 20px; padding: 34px 34px 32px; border-radius: 28px; background: #fff; border: 1px solid #E3E9F6; }
.ab2-text { font-size: 15.5px; line-height: 1.72; color: var(--slate); }
.ab2-points { display: flex; flex-wrap: wrap; gap: 8px; }
.ab2-points li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #EEF2FB; font-size: 12.5px; font-weight: 500; color: var(--navy); }
.ab2-points svg { width: 15px; height: 15px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab2-awards { padding-top: 20px; border-top: 1px solid #E3E9F6; }
.ab2-awards > p { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.ab2-awards ul { display: grid; gap: 12px; }
.ab2-awards li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; }
.ab2-awards svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: #EEF2FB; fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ab2-awards span { font-size: 12.5px; color: var(--slate); line-height: 1.4; }
.ab2-awards strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.ab2-side .btn { align-self: flex-start; margin-top: auto; }
.ab2-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; border-radius: 28px; overflow: hidden; color: #fff; background: radial-gradient(520px 260px at 88% 120%, rgba(143, 169, 242, .55), rgba(143, 169, 242, 0) 70%), linear-gradient(120deg, #14265C, #213A82 55%, #2F54B8); }
.ab2-stats > div { padding: 30px 34px 28px; }
.ab2-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .16); }
.ab2-stats strong { display: flex; align-items: baseline; font-size: clamp(38px, 4vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ab2-stats strong i { font-style: normal; font-size: .55em; font-weight: 500; margin-left: 3px; color: #A9BEFA; }
.ab2-stats strong span { font-size: inherit; }
.ab2-stats > div > span { display: block; margin-top: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
@media (max-width: 980px) {
  .ab2-head, .ab2-main { grid-template-columns: 1fr; gap: 22px; }
  .ab2-photo { min-height: 0; aspect-ratio: 3 / 2; }
  .ab2-stats { grid-template-columns: repeat(2, 1fr); }
  .ab2-stats > div:nth-child(3) { border-left: 0; }
  .ab2-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
}
@media (max-width: 640px) {
  .ab2-lead { font-size: 17.5px; padding-left: 18px; }
  .ab2-side { padding: 24px 22px; }
  .ab2-stats > div { padding: 22px 20px; }
  .ab2-photo figcaption span { display: none; }
}

/* ---------- menu dropdowns: wide two-column lists for Products and Applications ---------- */
.dropdown.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6px; min-width: 520px; }
.dropdown.two a { white-space: normal; line-height: 1.35; }
.dropdown .dd-all { grid-column: 1 / -1; margin-bottom: 6px; padding-bottom: 12px; border-bottom: 1px solid #EEF2FA; border-radius: 8px 8px 0 0; font-weight: 600; color: var(--brand); }
.dropdown { border-radius: 16px; padding: 10px; box-shadow: 0 24px 54px rgba(13, 26, 69, .16); }
.dropdown a { font-size: 13.5px; padding: 10px 12px; }
.nav-item:nth-last-child(-n+2) .dropdown { left: auto; right: -18px; }

/* figures band, option J: solid logo blue, orange plus signs (and the figure that has no plus) */
.ab2-stats { background: #213A82; }
.ab2-stats strong i { color: #FFB04A; }
.ab2-stats > div:last-child strong { color: #FFB04A; }
.ab2-stats > div > span { color: #C9D6F7; }

/* home hero: copy column with calmer type and spacing (headline, line, button) */
.hero .hero-inner { grid-template-columns: minmax(340px, 35%) 1fr; column-gap: 56px; }
.hero .eyebrow { font-size: 11.5px; letter-spacing: .2em; }
.hero h1.h1-long { font-size: clamp(32px, 3.1vw, 48px); line-height: 1.1; letter-spacing: -.03em; max-width: none; margin: 22px 0 22px; }
.hero h1.h1-long .grad { display: inline; padding-bottom: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .hero-sub { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; color: var(--slate); max-width: 26em; margin-bottom: 32px; }
.hero .hero-copy .btn-lg { height: 54px; padding: 0 30px; }
@media (max-width: 980px) { .hero .hero-inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .hero h1.h1-long { font-size: 31px; margin: 16px 0 16px; } .hero .hero-sub { font-size: 16px; margin-bottom: 24px; } }
@media (max-width: 980px) { .hero h1.h1-long br.hbr { display: none; } }

/* home hero headline: Inter Tight, with an Instrument Serif italic accent */
/* three lines on computers and tablets: the size follows the column width, with calm space around */
@media (min-width: 981px) { .hero .hero-inner { grid-template-columns: minmax(0, 44%) 1fr; column-gap: 48px; } }
.hero .hero-copy { container-type: inline-size; }
.hero h1.h1-long { font-family: 'Inter Tight', 'Outfit', sans-serif; font-weight: 600; font-size: clamp(28px, 6.85cqi, 44px); line-height: 1.14; letter-spacing: -.034em; color: #0B1635; margin: 30px 0 30px; }
.hero h1.h1-long br.hbr { display: inline; }
.hero .hero-sub { margin-bottom: 40px; }
.hero h1 .h1-accent { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.14em; line-height: .9; letter-spacing: -.012em; color: #2B4CB3; }

/* home hero: one product in the spotlight, thumbnails below (hero-spot.js) */
.hsp { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-areas: "stage info" "thumbs thumbs"; align-items: center; column-gap: 32px; }
.hsp .ring-1 { width: 66%; left: 0; top: -14%; }
.hsp .ring-2 { width: 34%; right: -6%; top: 4%; }
.hsp-stage { grid-area: stage; position: relative; z-index: 1; container-type: inline-size; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: clamp(300px, 32vw, 450px); }
.hsp-pic { position: relative; z-index: 2; flex: none; display: flex; align-items: flex-end; justify-content: center; width: 82%; height: calc(100% - 13cqw); margin-bottom: -9cqw; }
.hsp-pic img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 2.4cqw 2.6cqw rgba(11, 30, 70, .17)); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.hsp-pic img.out { opacity: 0; transform: translateY(6cqw) scale(.92); }
.hsp-pic img.pre { opacity: 0; transform: translateY(-5cqw) scale(1.04); transition: none; }
.hsp-stage .plinth { width: 90%; --ph: 22cqw; }
.hsp-info { grid-area: info; position: relative; z-index: 2; transition: opacity .35s, transform .45s var(--ease); }
.hsp-info.out { opacity: 0; transform: translateY(10px); }
.hsp-t { margin: 0 0 10px; font-family: 'Inter Tight', 'Outfit', sans-serif; font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.14; letter-spacing: -.03em; color: #0B1635; }
.hsp-b { margin: 0 0 24px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.hsp-thumbs { grid-area: thumbs; position: relative; z-index: 2; display: flex; gap: 12px; margin-top: 22px; padding: 6px 2px 8px; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.hsp-thumbs::-webkit-scrollbar { display: none; }
.hsp-thumbs button { flex: none; width: 102px; height: 102px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  box-shadow: 0 2px 8px rgba(11, 30, 70, .05); transition: border-color .25s, box-shadow .25s, transform .25s; }
.hsp-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.hsp-thumbs button:hover { border-color: #A9BBEC; transform: translateY(-2px); }
.hsp-thumbs button.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 84, 184, .14), 0 8px 18px rgba(11, 30, 70, .08); transform: translateY(-3px); }
@media (max-width: 980px) {
  .hsp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "info" "thumbs"; margin-top: 18px; }
  .hsp-stage { height: min(78vw, 400px); }
  .hsp-info { text-align: center; margin-top: 18px; }
  .hsp-thumbs { margin-top: 18px; }
}
@media (max-width: 600px) {
  .hero h1.h1-long { font-size: 31px; letter-spacing: -.034em; margin: 18px 0 18px; }
  .hero h1.h1-long br.hbr { display: none; }
  .hero .eyebrow-rule { white-space: normal; letter-spacing: .14em; }
  .hero .eyebrow-rule::after { display: none; }
  .hsp-t { font-size: 22px; }
  .hsp-thumbs { gap: 10px; }
  .hsp-thumbs button { width: 86px; height: 86px; padding: 10px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hsp-pic img { transition: opacity .3s; }
  .hsp-pic img.out, .hsp-pic img.pre { transform: none; }
}

/* phones: small all-caps labels stay readable */
@media (max-width: 600px) {
  .sp-chip small, .sp-rail small, .b-card small, .cat-card strong small, .pt-panel small, .pg-text small, .pc-panel small, .pp-card small, .pl-panel small { font-size: 11px; }
  .eyebrow { font-size: 11px; }
  .footer-bottom a, .footer-col a { display: inline-block; padding: 9px 4px; }
}
