/* =====================================================================
   v2 — modern layer (supersedes earlier hover/tilt/spotlight styling)
   ===================================================================== */
:root { --r: 12px; --r-lg: 22px; --sh: 0 30px 60px -30px rgba(2, 29, 74, .35); }
h1, h2 { letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.2vw + .6rem, 3.5rem); font-weight: 700; }
.eyebrow { display: inline-flex; padding: .42rem .9rem; border: 1px solid var(--silver-300); border-radius: 999px; background: rgba(255, 255, 255, .6); letter-spacing: .16em; font-size: .7rem; }
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(53, 102, 201, .2); }
.eyebrow--light { border-color: rgba(197, 204, 216, .3); background: rgba(255, 255, 255, .06); color: var(--blue-300); } .eyebrow--light::before { background: var(--blue-300); }
.card .eyebrow { border: 0; padding: 0; background: none; } .card .eyebrow::before { display: none; }

/* floating glass header */
.site-header { height: 0; background: none; border: 0; backdrop-filter: none; box-shadow: none !important; }
.site-header::after { display: none; }
.site-header__in { position: absolute; left: 0; right: 0; top: 12px; margin-inline: auto; height: var(--hdr); padding: 0 12px 0 20px; background: rgba(1, 15, 40, .66); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border: 1px solid rgba(197, 204, 216, .22); border-radius: 22px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); transition: background .3s, top .3s; }
.site-header.is-scrolled .site-header__in { background: rgba(1, 11, 32, .9); top: 8px; }
.site-header__in::after { content: ''; position: absolute; left: 22px; bottom: -1px; height: 2px; width: var(--prog, 0%); max-width: calc(100% - 44px); background: var(--metal); border-radius: 2px; }
.brand { height: calc(var(--hdr) - 18px); }
.nav > ul { position: relative; } .nav__a::after { display: none; } .nav__a { position: relative; z-index: 1; }
.nav__pill { position: absolute; left: 0; top: 50%; height: 42px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; transform: translate(0, -50%); }
.nav__a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--blue-400); }
.mega { border-radius: 22px; top: calc(100% + 16px); } .mega__promo { border-radius: 0 22px 22px 0; }

/* bento solutions grid */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; grid-auto-flow: dense; }
.bento .card { padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; }
.bento .card .card__icon { margin-bottom: auto; }
.bento .card:nth-child(1) { grid-column: span 2; grid-row: span 2; min-height: 520px; background: var(--navy-grad); }
.bento .card:nth-child(1) h3 { color: #fff; font-size: 2rem; } .bento .card:nth-child(1) .card__link { color: #fff; font-size: 1rem; }
.bento .card:nth-child(1) p { color: var(--silver-200); font-size: 1.05rem; max-width: 36ch; }
.bento .card:nth-child(1) .card__icon { width: 70px; height: 70px; background: var(--metal); color: var(--navy-800); }
.bento .card:nth-child(1) .card__no { color: rgba(255, 255, 255, .15); font-size: 6rem; }
.bento .card:nth-child(1)::before { --fill: linear-gradient(150deg, #3b6fd8, #1a418f 70%); }
.bento .card:nth-child(n+4) { grid-column: span 2; min-height: 220px; }

/* hero */
.hero, .page-hero, .cta-band { background-color: var(--navy-950); }
.hero { padding: calc(var(--hdr) + clamp(3.5rem, 7vw, 6rem)) 0 clamp(3.5rem, 7vw, 6rem); background-image: radial-gradient(60% 55% at 85% 0%, rgba(53, 102, 201, .6), transparent 62%), radial-gradient(45% 45% at 5% 100%, rgba(91, 134, 224, .3), transparent 60%), linear-gradient(170deg, rgba(1, 19, 47, .55), rgba(1, 11, 32, .96)), var(--hero-img, none); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw + .4rem, 5.4rem); line-height: 1.02; }
.page-hero { padding: calc(var(--hdr) + clamp(2.5rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem); background-image: radial-gradient(55% 80% at 90% 0%, rgba(53, 102, 201, .5), transparent 65%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 480'%3E%3Cpolygon points='20,20 330,20 380,70 380,320 200,460 20,320' fill='none' stroke='%23c5ccd8' stroke-opacity='.16' stroke-width='2'/%3E%3Cpolygon points='60,60 310,60 340,90 340,300 200,410 60,300' fill='none' stroke='%23c5ccd8' stroke-opacity='.1' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 0 0, right 4% center; background-size: auto, 440px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw + .4rem, 4rem); max-width: 18ch; }
.hero::after, .page-hero::after, .cta-band::after, .sec--dark::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__panel, .notch.hero__panel { border-radius: 26px; clip-path: none; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); backdrop-filter: blur(14px); border: 1px solid rgba(197, 204, 216, .3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.about-art { border-radius: 26px; clip-path: none; } .notch { clip-path: none; }
/* layers fan out when the panel is hovered ("exploded view") */
.ls__layer { transform: translateY(0); transition: transform .8s var(--ease), opacity .4s; opacity: .86; }
.hero__panel:hover .ls__layer, .ls__layer:hover, .ls__layer:focus-visible { transform: translateY(calc(var(--i) * -16px + 26px)); }
.ls__layer:hover { opacity: 1; } .ls__layer:hover polygon, .ls__layer:focus-visible polygon { filter: brightness(1.25) saturate(1.2); }

/* ticker */
.ticker { background: var(--navy-950); border-top: 1px solid rgba(197, 204, 216, .15); border-bottom: 1px solid rgba(197, 204, 216, .15); overflow: hidden; padding: 1.1rem 0; position: relative; z-index: 2; }
.ticker__track { display: flex; width: max-content; gap: 2rem; align-items: center; animation: marquee 48s linear infinite; } .ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { font: 700 clamp(1.1rem, 2vw, 1.6rem) var(--font-h); text-transform: uppercase; letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1px rgba(197, 204, 216, .55); white-space: nowrap; transition: color .3s; } .ticker span:hover { color: var(--silver-200); }
.ticker i { width: 10px; height: 10px; background: var(--blue-400); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1rem)); } }

/* surfaces */
.sec--tint { background-color: #f3f6fb; background-image: radial-gradient(rgba(2, 29, 74, .08) 1px, transparent 1px); background-size: 24px 24px; }
.strip { background: #fff; } .sec { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.panel, .form, .side-card, .empty { border-radius: var(--r-lg); } .faq__item { border-radius: 16px; } .notice { border-radius: 14px; }
.form { box-shadow: var(--sh); border-color: rgba(2, 29, 74, .08); } .field input, .field select, .field textarea { border-radius: 12px; }
.cta-band { background-image: radial-gradient(50% 120% at 100% 0%, rgba(53, 102, 201, .55), transparent 60%), radial-gradient(40% 100% at 0% 100%, rgba(91, 134, 224, .25), transparent 60%); } .cta-band h2 { font-size: clamp(2rem, 3.4vw + .5rem, 3.6rem); max-width: 18ch; }
.step__n { border-radius: 14px; clip-path: none; }
.js .reveal { filter: blur(8px); transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); } .js .reveal.is-in { filter: none; }
.js .card.reveal.is-in { transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms), filter .9s var(--ease) var(--d, 0ms), color .5s, box-shadow .5s, border-color .5s; }

@media (max-width: 960px) {
  .site-header__in { padding: 0 10px 0 14px; border-radius: 18px; }
  .bento { grid-template-columns: repeat(2, 1fr); } .bento .card:nth-child(1) { grid-column: 1 / -1; grid-row: auto; min-height: 340px; } .bento .card:nth-child(n+4) { grid-column: auto; min-height: 240px; } .bento .card:nth-child(6) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .card, .bento .card:nth-child(n) { grid-column: auto; min-height: 220px; } .bento .card:nth-child(1) { min-height: 300px; } .ticker span { font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* corporate typography: IBM Plex Sans throughout */
body { font-weight: 400; letter-spacing: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.015em; }
h1 { font-weight: 600; } .hero h1 { letter-spacing: -.03em; line-height: 1.05; }
.btn, .nav__a, .eyebrow, .chip, .card__link, .mega__h { font-weight: 600; letter-spacing: .01em; }
.eyebrow { letter-spacing: .14em; }
.ticker span { font-weight: 600; letter-spacing: .04em; }

/* ---- owner-content sections ---- */
.hero h1 { font-size: clamp(2.2rem, 4.2vw + .4rem, 4.2rem); line-height: 1.06; max-width: 18ch; }
.hero__txt .lead { max-width: 58ch; }
.hero__cap { min-height: 3.2em; } .hero__cap [data-rot] { display: inline-block; transition: opacity .4s, transform .4s var(--ease); font: 600 1.05rem var(--font-h); color: #fff; }
.values--4 { grid-template-columns: repeat(4, 1fr); }
.why--4 { grid-template-columns: repeat(4, 1fr); } .why--4 .why__item, .why--4 .why__item:nth-child(n+4) { grid-column: auto; } .why--4 .why__item:last-child { grid-column: auto; }
.check-list--light { color: var(--silver-100); } .check-list--light .ic { color: var(--blue-300); }
.card--service-lg { padding: 2.25rem; min-height: 230px; } .card--service-lg h3 { font-size: 1.5rem; }
.footer__tag { font: 600 .95rem var(--font-h); color: #fff; margin-top: 1rem; }
.cta-band .actions--col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: min(500px, 100%); }
.banners { background: var(--navy-950); padding: 0; } .banners__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.banner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 220px; padding: 2rem 1.75rem; color: #fff; border-left: 1px solid rgba(197, 204, 216, .15); overflow: hidden; isolation: isolate; transition: color .4s; }
.banner:last-child { border-right: 1px solid rgba(197, 204, 216, .15); }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, #3b6fd8, #1a418f); transform: translateY(101%); transition: transform .6s var(--ease); } .banner:hover::before { transform: none; }
.banner__n { font: 600 .85rem var(--font-h); letter-spacing: .2em; color: var(--blue-300); transition: color .4s; } .banner:hover .banner__n { color: #fff; }
.banner strong { font: 600 1.35rem/1.25 var(--font-h); max-width: 18ch; } .banner .ic { width: 28px; height: 28px; transition: transform .5s var(--ease); } .banner:hover .ic { transform: translateX(8px) rotate(-45deg); }
@media (max-width: 960px) { .values--4, .why--4 { grid-template-columns: repeat(2, 1fr); } .banners__grid { grid-template-columns: repeat(2, 1fr); } .cta-band .actions--col { width: 100%; } }
@media (max-width: 640px) { .values--4, .why--4, .banners__grid, .cta-band .actions--col { grid-template-columns: 1fr; } .banner { min-height: 150px; } }

/* floating actions: WhatsApp bottom-left, chat assistant bottom-right */
.wa-float { right: auto; left: 18px; bottom: 18px; }
.wa-float__tip { right: auto; left: 70px; transform: translateX(-8px); }
.chat-launch { right: 18px; bottom: 18px; }
.chat { right: 18px; bottom: 82px; }
@media (max-width: 640px) {
  .wa-float { left: 14px; bottom: 14px; }
  .chat-launch { right: 14px; bottom: 14px; }
  .chat { right: 0; bottom: 0; }
}

/* ---- footer v3 ---- */
.site-footer { background: radial-gradient(60% 80% at 100% 0%, rgba(53, 102, 201, .22), transparent 60%), var(--navy-950); padding-top: 0; position: relative; }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid rgba(197, 204, 216, .16); }
.f-tag { margin: 0; font: 600 clamp(1.7rem, 3vw + .4rem, 2.8rem)/1.1 var(--font-h); letter-spacing: -.02em; color: #fff; } .f-tag span { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr 1.5fr; gap: clamp(1.5rem, 3vw, 3.5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; align-items: start; }
.f-brand img { width: 92px; height: auto; margin-bottom: 1.1rem; transition: transform .5s var(--ease); } .f-brand a:hover img { transform: scale(1.06); }
.f-brand p { max-width: 36ch; color: var(--silver-300); font-size: .93rem; line-height: 1.7; }
.f-grid h3 { position: relative; color: #fff; font: 600 .78rem var(--font-h); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.4rem; padding-bottom: .8rem; }
.f-grid h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--blue-400); }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.f-grid li a { position: relative; display: inline-block; color: var(--silver-300); font-size: .93rem; transition: color .25s, transform .3s var(--ease); } .f-grid li a:hover { color: #fff; transform: translateX(6px); padding-left: 0; }
.f-contact li { display: flex; gap: .7rem; align-items: flex-start; color: var(--silver-300); font-size: .93rem; } .f-contact .ic { margin-top: .2rem; color: var(--blue-300); width: 1.05em; height: 1.05em; } .f-contact a { word-break: break-word; }
.f-base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1.5rem 0 5.5rem; border-top: 1px solid rgba(197, 204, 216, .16); font-size: .85rem; color: var(--silver-400); }
.f-base p { margin: 0; } .f-legal { display: flex; gap: 1.5rem; justify-content: center; } .f-legal a, .f-credit a { color: var(--silver-300); } .f-legal a:hover, .f-credit a:hover { color: #fff; }
.f-credit { text-align: right; } .f-credit a { font-weight: 600; }
.f-base, .f-top, .f-grid { position: relative; }
@media (max-width: 1100px) { .f-grid { grid-template-columns: repeat(3, 1fr); } .f-brand { grid-column: 1 / -1; } .f-brand p { max-width: 60ch; } }
@media (max-width: 760px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-contact { grid-column: 1 / -1; } .f-base { grid-template-columns: 1fr; text-align: center; } .f-legal { justify-content: center; flex-wrap: wrap; } .f-credit { text-align: center; } .f-actions .btn { width: 100%; } .f-actions { width: 100%; } }
@media (max-width: 480px) { .f-grid { grid-template-columns: 1fr; } }
.site-footer a.btn { color: var(--fg); } .site-footer a.btn:hover { color: var(--fgh); }
.site-footer .f-actions .btn--ghost { --fg: #fff; }
.f-contact small { display: block; width: 100%; color: var(--silver-400); font-size: .75rem; margin-top: .1rem; }
.f-contact li { flex-wrap: wrap; } .f-contact li > a, .f-contact li > span { flex: 1; min-width: 0; } .f-contact li small { padding-left: 1.75rem; }
.f-contact li { flex-wrap: nowrap; align-items: baseline; } .f-contact li .ic { align-self: flex-start; flex: none; }
.f-contact small { display: inline; width: auto; padding-left: .4rem !important; margin: 0; white-space: nowrap; }
.f-contact li > a { flex: 0 1 auto; }

/* chatbot launcher: round bot icon */
.chat-launch { width: 58px; height: 58px; padding: 0; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: linear-gradient(145deg, #3b6fd8, #021d4a); box-shadow: 0 10px 24px -6px rgba(1, 11, 32, .6); }
.chat-launch .ic { width: 30px; height: 30px; }
.chat-launch::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(91, 134, 224, .7); animation: ping 3.2s ease-out infinite; }
.chat-launch:hover { transform: scale(1.1) rotate(6deg); }
.chat-launch span { display: block !important; }
.chat-launch__tip { position: absolute; right: 70px; white-space: nowrap; background: var(--navy-900); color: #fff; font: 600 .82rem var(--font-h); padding: .45rem .8rem; border-radius: var(--r); opacity: 0; transform: translateX(8px); pointer-events: none; transition: all .3s var(--ease); }
.chat-launch:hover .chat-launch__tip, .chat-launch:focus-visible .chat-launch__tip { opacity: 1; transform: none; }
.chat { bottom: 88px; }
.chat__avatar { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); } .chat__avatar .ic { width: 22px; height: 22px; }
@media (max-width: 640px) { .chat-launch { width: 54px; height: 54px; } .chat-launch__tip { display: none; } .chat { bottom: 0; } }

/* advanced bot artwork */
.chat-launch { background: none; border: 0; padding: 0; width: 64px; height: 64px; box-shadow: 0 14px 28px -8px rgba(1, 11, 32, .7), 0 0 0 3px rgba(255, 255, 255, .9); }
.chat-launch img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.chat-launch::before { border-color: rgba(127, 178, 255, .8); }
.chat-launch:hover { transform: scale(1.1); }
.chat__avatar { width: 44px; height: 44px; padding: 0; border: 0; background: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); border-radius: 50%; overflow: hidden; } .chat__avatar img { width: 100%; height: 100%; display: block; }
.chat-launch__tip { right: 78px; }
.chat { bottom: 94px; }
@media (max-width: 640px) { .chat-launch { width: 58px; height: 58px; } .chat { bottom: 0; } }

/* ---- vision / mission ---- */
.purpose { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.purpose__card { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: clamp(1.75rem, 3vw, 3rem); border-radius: 26px; overflow: hidden; }
.purpose__card h3 { font-size: clamp(1.6rem, 2vw + .6rem, 2.3rem); margin: 0 0 .75rem; }
.purpose__card--vision { background: radial-gradient(70% 60% at 100% 0%, rgba(91, 134, 224, .5), transparent 60%), var(--navy-grad); color: #fff; box-shadow: var(--sh); }
.purpose__card--vision h3 { color: #fff; }
.purpose__card--mission { background: #fff; border: 1px solid rgba(2, 29, 74, .1); box-shadow: var(--sh); }
.purpose__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--metal); color: var(--navy-800); margin-bottom: 1rem; } .purpose__icon .ic { width: 28px; height: 28px; }
.purpose__icon--dark { background: var(--navy-grad); color: #fff; }
.purpose__lead { font-size: clamp(1.15rem, .8vw + 1rem, 1.5rem); line-height: 1.5; font-weight: 500; color: var(--silver-100); margin: 0 0 1.75rem; }
.pillars { list-style: none; margin: auto 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(197, 204, 216, .25); display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.pillars li { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font: 600 .9rem/1.3 var(--font-h); transition: background .4s var(--ease), transform .4s var(--ease); } .pillars li:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); } .pillars .ic { color: var(--blue-300); width: 1.5rem; height: 1.5rem; }
.mission-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: m; }
.mission-list li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.15rem 0; border-bottom: 1px solid var(--silver-200); transition: padding-left .4s var(--ease); } .mission-list li:last-child { border-bottom: 0; padding-bottom: 0; } .mission-list li:first-child { padding-top: 0; } .mission-list li:hover { padding-left: .5rem; }
.mission-list__n { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-100); color: var(--navy-700); font: 700 .95rem var(--font-h); transition: background .4s, color .4s; } .mission-list li:hover .mission-list__n { background: var(--navy-800); color: #fff; }
.mission-list p { margin: 0; padding-top: .5rem; font-size: 1.02rem; color: var(--ink); }
@media (max-width: 960px) { .purpose { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillars li { flex-direction: row; align-items: center; } }

/* ---- refined hover system (simple, consistent) ---- */
.cursor-glow { display: none !important; }
.btn { --fgh: #fff; transition: background .3s, color .3s, box-shadow .3s, border-color .3s, transform .25s var(--ease); }
.btn::before { display: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(2, 29, 74, .6); color: var(--fgh); }
.btn__t { display: inline; height: auto; line-height: inherit; overflow: visible; } .btn__r { display: inline; transform: none !important; } .btn__r > span { display: inline; height: auto; } .btn__r > span:nth-child(2) { display: none; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--navy:hover { background: linear-gradient(160deg, #1a418f, #0b2d69); }
.btn--silver:hover, .site-footer a.btn--silver:hover { color: var(--navy-800); filter: brightness(1.05); box-shadow: 0 0 0 4px rgba(154, 184, 242, .28), 0 14px 26px -14px rgba(0, 0, 0, .6); }
.btn--line:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn--ghost:hover, .site-footer a.btn--ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; color: #fff; }
.btn--icon:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(2, 29, 74, .45); border-color: rgba(53, 102, 201, .45); }
.card::after { display: block; }
.card:hover .card__icon { background: var(--blue-500); transform: scale(1.06); }
.card:hover .card__media span { transform: scale(1.1); }
.bento .card:nth-child(1):hover .card__icon { background: #fff; }
.js .reveal.is-done, .js .card.reveal.is-in.is-done { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background .3s; transition-delay: 0ms; }
.values li, .strip__item, .info { transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s; }
.values li:hover, .strip__item:hover, .info:hover { transform: translateY(-3px); border-color: var(--blue-500); background: #f2f6fd; box-shadow: 0 16px 30px -20px rgba(2, 29, 74, .5); color: inherit; }
.values li:hover .ic, .strip__item:hover .ic { color: var(--navy-800); }
.why__item { transition: transform .35s var(--ease), background .3s, border-color .3s; } .why__item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.banner::before { display: none; } .banner { background: rgba(255, 255, 255, 0); transition: background .4s; } .banner:hover { background: rgba(59, 111, 216, .28); } .banner:hover .ic { transform: translateX(6px); }

/* ---- alignment fixes ---- */
.purpose__card .eyebrow { align-self: flex-start; }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; } .about-intro .lead { margin: 0; max-width: none; font-size: 1.12rem; }
.contact-grid h2 { font-size: clamp(1.6rem, 1.6vw + .9rem, 2.2rem); margin: 0 0 1rem; } .contact-info > p { margin-bottom: 1.25rem; }
.contact-info .social { margin: .5rem 0 2rem; } .contact-info > .info__l { margin: 1.5rem 0 0; } .contact-info h3 { margin: 0 0 .9rem; }
.f-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr 1.7fr; }
.f-contact li { flex-wrap: wrap; } .f-contact li > a { white-space: nowrap; flex: 0 1 auto; } .f-contact small { display: block; flex-basis: 100%; padding-left: 1.75rem !important; margin-top: -.25rem; white-space: normal; }
@media (min-width: 961px) { #solutions .grid > .card:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 0 1.75rem; align-items: center; } #solutions .grid > .card:last-child:nth-child(3n+1) .card__icon { grid-row: span 2; margin: 0; } #solutions .grid > .card:last-child:nth-child(3n+1) h3, #solutions .grid > .card:last-child:nth-child(3n+1) p { margin: 0; } #solutions .grid > .card:last-child:nth-child(3n+1) .card__link { grid-row: span 2; grid-column: 3; } }
@media (max-width: 760px) { .about-intro { grid-template-columns: 1fr; } }

/* ---- glossary ---- */
.gloss-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; position: sticky; top: calc(var(--hdr) + 24px); z-index: 5; padding: .75rem; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border: 1px solid var(--silver-200); border-radius: 18px; }
.gloss-group { margin-bottom: 3.5rem; scroll-margin-top: calc(var(--hdr) + 110px); } .gloss-group h2 { font-size: clamp(1.5rem, 1.5vw + .9rem, 2.1rem); padding-bottom: .9rem; margin-bottom: 1.25rem; border-bottom: 2px solid var(--navy-800); display: inline-block; padding-right: 2rem; }
.gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; margin: 0; }
.gloss__item { padding: 1.1rem 0; border-bottom: 1px solid var(--silver-200); transition: padding-left .3s var(--ease), border-color .3s; } .gloss__item:hover { padding-left: .6rem; border-color: var(--blue-500); }
.gloss dt { font: 600 1.05rem var(--font-h); color: var(--navy-800); margin-bottom: .3rem; } .gloss dd { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .gloss { grid-template-columns: 1fr; } .gloss-nav { position: static; } }

/* ---- tighter vertical rhythm (removes excess blank space) ---- */
.sec { padding: clamp(2.75rem, 5vw, 4.5rem) 0; }
.sec--tight { padding: 1.75rem 0 3rem; }
.hero { padding-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.page-hero { padding-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.cta-band { padding: clamp(2.5rem, 4.5vw, 4rem) 0; }
.sec-head { margin-bottom: 2rem; }
.center { margin-top: 2rem; }
.f-top { padding: clamp(2rem, 4vw, 3rem) 0; }
.f-grid { padding: clamp(2rem, 4vw, 3rem) 0; }
.f-base { padding: 1.25rem 0; }
.f-credit { margin-right: 84px; }
.gloss-group { margin-bottom: 2.25rem; }
.hero__cap { min-height: 0; }
@media (max-width: 760px) { .f-credit { margin-right: 0; } .f-base { padding-bottom: 4.5rem; } }

/* ---- modern dropdowns (dark glass) ---- */
.mega { background: rgba(2, 12, 34, .94); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); border: 1px solid rgba(197, 204, 216, .22); border-radius: 24px; box-shadow: 0 40px 80px -28px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); top: calc(100% + 18px); padding: 0; overflow: visible; }
.mega::after { background: rgba(2, 12, 34, .96); box-shadow: -1px -1px 0 rgba(197, 204, 216, .22); }
.mega--products { width: min(960px, 94vw); } .mega--services { width: 400px; }
.mm { display: grid; grid-template-columns: 1fr 280px; gap: 0; } .mm--single { grid-template-columns: 1fr; }
.mm-main { padding: 1.25rem 1.25rem 1.1rem; }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin: 0 .5rem 1rem; padding-bottom: .85rem; border-bottom: 1px solid rgba(197, 204, 216, .15); }
.mm-head span { font: 600 .72rem var(--font-h); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-300); }
.mm-head a { display: inline-flex; align-items: center; gap: .4rem; font: 600 .84rem var(--font-h); color: var(--silver-200); transition: color .25s, gap .3s var(--ease); } .mm-head a:hover { color: #fff; gap: .65rem; } .mm-head .ic { width: 1em; height: 1em; }
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; } .mm-list { display: grid; gap: .25rem; }
.mm-item { position: relative; display: flex; align-items: center; gap: .9rem; padding: .75rem .8rem; border-radius: 16px; color: #fff; isolation: isolate; transition: background .3s, transform .3s var(--ease); }
.mm-item::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--blue-400); transform: scaleY(0); transition: transform .35s var(--ease); }
.mm-item:hover, .mm-item:focus-visible { background: rgba(255, 255, 255, .08); transform: translateX(4px); } .mm-item:hover::before, .mm-item:focus-visible::before { transform: scaleY(1); }
.mm-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: var(--blue-300); transition: background .3s, color .3s, transform .4s var(--ease), border-color .3s; } .mm-ic .ic { width: 22px; height: 22px; }
.mm-item:hover .mm-ic, .mm-item:focus-visible .mm-ic { background: linear-gradient(145deg, #5b86e0, #1a418f); color: #fff; border-color: transparent; transform: scale(1.06) rotate(-4deg); }
.mm-tx { flex: 1; min-width: 0; display: grid; gap: .1rem; } .mm-tx strong { font: 600 .95rem/1.25 var(--font-h); color: #fff; } .mm-tx small { font-size: .78rem; color: var(--silver-400); line-height: 1.35; transition: color .3s; } .mm-item:hover small { color: var(--silver-200); }
.mm-ar { flex: none; opacity: 0; transform: translateX(-8px); color: var(--blue-300); transition: opacity .3s, transform .35s var(--ease); } .mm-ar .ic { width: 18px; height: 18px; } .mm-item:hover .mm-ar, .mm-item:focus-visible .mm-ar { opacity: 1; transform: none; }
.mm-feature { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1.6rem 1.5rem; margin: .6rem; border-radius: 18px; overflow: hidden; background: radial-gradient(90% 70% at 100% 0%, rgba(91, 134, 224, .55), transparent 65%), linear-gradient(160deg, #0e3478, #021d4a 70%); border: 1px solid rgba(197, 204, 216, .25); }
.mm-feature::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border: 2px solid rgba(255, 255, 255, .12); border-radius: 30px; transform: rotate(25deg); pointer-events: none; }
.mm-feature__tag { font: 600 .68rem var(--font-h); letter-spacing: .16em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--blue-300); }
.mm-feature h4 { color: #fff; font-size: 1.25rem; margin: .25rem 0 0; } .mm-feature p { color: var(--silver-200); font-size: .88rem; margin: 0 0 .5rem; }
.mm-feature__link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; font: 600 .86rem var(--font-h); color: #fff; padding-top: .5rem; transition: gap .3s var(--ease); } .mm-feature__link:hover { gap: .7rem; } .mm-feature__link .ic { width: 1em; height: 1em; }
.has-menu:hover > .mega .mm-item, .has-menu.is-open > .mega .mm-item { animation: mmIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms + 60ms); }
@keyframes mmIn { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .mm-item { animation: none !important; } }
@media (max-width: 1100px) { .mm { grid-template-columns: 1fr 240px; } .mega--products { width: min(860px, 94vw); } }

/* ---- map ---- */
.map { border-radius: 24px; overflow: hidden; border: 1px solid rgba(2, 29, 74, .12); box-shadow: var(--sh); background: var(--silver-100); }
.map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 480px); border: 0; }

/* ---- footer fixes: long address must wrap ---- */
.f-grid > * { min-width: 0; }
.f-contact li > a, .f-contact li > span { flex: 1 1 0; min-width: 0; white-space: normal; overflow-wrap: break-word; line-height: 1.55; }
.f-contact li { align-items: flex-start; }
.f-contact .ic { flex: none; }
.f-grid { grid-template-columns: 1.35fr .9fr 1.1fr 1.15fr 1.6fr; }
@media (max-width: 1100px) { .f-grid { grid-template-columns: repeat(3, 1fr); } .f-brand, .f-contact { grid-column: 1 / -1; } }
@media (max-width: 760px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-grid nav:nth-of-type(3) { grid-column: 1 / -1; } .f-grid nav:nth-of-type(3) ul { grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; } }
@media (max-width: 480px) { .f-grid { grid-template-columns: 1fr 1fr; } }

/* ---- card layout fixes: no overlaps, consistent rhythm ---- */
.card { display: flex; flex-direction: column; }
.card > * { min-width: 0; }
.card__no { top: 1.4rem; right: 1.5rem; font: 600 .8rem var(--font-h); letter-spacing: .16em; color: var(--silver-400); line-height: 1; z-index: 2; }
.card:hover .card__no { color: var(--blue-500); }
.card > .card__no ~ h3 { padding-right: 2.75rem; }
.card__icon { flex: none; margin-bottom: 1.1rem; }
.card h3 { margin-bottom: .55rem; }
.card > p { margin-bottom: 1rem; }
.card > .card__link, .card .card__link:last-child { margin-top: auto; }
.card--service-lg { min-height: 0; }

/* bento (homepage product range) */
.bento { align-items: stretch; }
.bento .card { padding: 1.75rem; justify-content: flex-start; min-height: 0; }
.bento .card .card__icon { margin-bottom: 1.1rem; }
.bento .card .card__no { display: block; }
.bento .card:nth-child(1) { justify-content: space-between; padding: 2.25rem; min-height: 460px; }
.bento .card:nth-child(1) .card__icon { margin-bottom: auto; }
.bento .card:nth-child(1) .card__no { font-size: .95rem; top: 2rem; right: 2.25rem; color: rgba(255, 255, 255, .55); }
.bento .card:nth-child(1) h3 { font-size: 1.9rem; padding-right: 0; }
.bento .card:nth-child(n+4) { min-height: 0; }
.bento .card:nth-child(n+2) { min-height: 230px; }
.bento .card .card__link { margin-top: auto; padding-top: .5rem; }

/* cards that are only a number + title (strength / quality) */
.card:not(:has(.card__icon)):not(:has(p)):not(:has(ul)) { min-height: 110px; justify-content: flex-end; }
.card:not(:has(.card__icon)):not(:has(p)):not(:has(ul)) h3 { margin-bottom: 0; padding-right: 0; font-size: 1.15rem; }
.card:not(:has(.card__icon)):not(:has(p)):not(:has(ul)) .card__no { top: 1.1rem; }

/* icon + text rows (info cards) */
.info .card__icon { margin: 0; }

/* services dropdown = same layout as products */
.mega--services { width: min(960px, 94vw); }
@media (max-width: 1100px) { .mega--services { width: min(860px, 94vw); } }

/* eyebrow on dark sections must stay readable */
.sec--dark .eyebrow, .sec--dark .sec-head .eyebrow { color: var(--blue-300); background: rgba(255, 255, 255, .08); border-color: rgba(197, 204, 216, .35); }
.sec--dark .eyebrow::before { background: var(--blue-300); box-shadow: 0 0 0 4px rgba(154, 184, 242, .2); }
.sec--dark .sec-head h2 { color: #fff; }

/* banners: titles aligned to the top, arrows to the bottom */
.banner { justify-content: flex-start; gap: 1.1rem; } .banner .ic { margin-top: auto; }
/* CTA band: text left, buttons right */
.cta-band__in { flex-wrap: nowrap; align-items: center; }
.cta-band__in > div:first-child { flex: 1 1 420px; min-width: 0; }
.cta-band .actions--col { flex: 0 1 500px; }
@media (max-width: 960px) { .cta-band__in { flex-wrap: wrap; } .cta-band .actions--col { flex: 1 1 100%; } }
.btn { line-height: 1.25; }
.cta-band .actions--col { flex: 0 1 620px; gap: .75rem; }
.cta-band .btn { white-space: nowrap; font-size: .9rem; padding-inline: 1rem; }
.cta-band .btn > span { gap: .5rem; }
@media (max-width: 640px) { .cta-band .btn { white-space: normal; } }

/* ---- clients ---- */
.client-group { margin-bottom: 2.75rem; } .client-group h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.25rem; margin-bottom: 1.1rem; } .client-group h3 small { font: 600 .75rem var(--font-h); color: var(--blue-500); background: var(--blue-100); padding: .25rem .6rem; border-radius: 999px; }
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.client { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 104px; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--silver-200); border-radius: 16px; text-align: left; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.client:hover { transform: translateY(-4px); border-color: var(--blue-500); box-shadow: 0 18px 32px -22px rgba(2, 29, 74, .55); }
.client img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; } .client:hover img { filter: none; opacity: 1; }
.client__mono { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--navy-grad); color: #fff; font: 700 .85rem var(--font-h); letter-spacing: .04em; }
.client__name { font: 600 .92rem/1.3 var(--font-h); color: var(--navy-800); min-width: 0; overflow-wrap: anywhere; }
.clients-strip { background: #fff; padding: 2.25rem 0 2.5rem; border-top: 1px solid var(--silver-200); border-bottom: 1px solid var(--silver-200); }
.clients-strip__t { text-align: center; font: 600 .78rem var(--font-h); letter-spacing: .2em; text-transform: uppercase; color: var(--silver-500); margin-bottom: 1.25rem; }
.clients-strip__rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-strip__track { display: flex; width: max-content; gap: 3rem; animation: marquee 70s linear infinite; } .clients-strip__rail:hover .clients-strip__track { animation-play-state: paused; }
.clients-strip__track span { font: 600 1.15rem var(--font-h); color: var(--navy-700); white-space: nowrap; opacity: .75; } .clients-strip__track span::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 3rem; background: var(--blue-400); transform: rotate(45deg); vertical-align: middle; }
.clients-strip .center { margin-top: 1.5rem; }
@media (max-width: 1100px) { .clients { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .clients { grid-template-columns: repeat(2, 1fr); } .client { padding: .85rem; min-height: 92px; } .client__mono { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .clients-strip__track { animation: none; } }
.client__name--big { font: 700 1.25rem var(--font-h); letter-spacing: .04em; text-align: center; width: 100%; }

/* ---- bigger logo, nav fills the bar ---- */
:root { --hdr: 92px; }
.site-header__in { gap: 1.5rem; padding: 0 14px 0 14px; }
.brand { height: calc(var(--hdr) - 14px); margin-left: -2px; }
.nav { flex: 1; margin-left: 0; display: flex; justify-content: center; }
.nav > ul { gap: .15rem; }
.nav__a { font-size: .98rem; padding: .65rem .85rem; }
.nav__t { margin-left: -.55rem; }
.nav-quote { margin-left: 0; padding-inline: 1.3rem; }
.nav-phone { display: none; align-items: center; gap: .7rem; padding: .35rem .9rem .35rem .4rem; border-radius: 999px; border: 1px solid rgba(197, 204, 216, .28); background: rgba(255, 255, 255, .06); color: #fff; font: 600 .92rem var(--font-h); white-space: nowrap; transition: background .3s, border-color .3s; }
.nav-phone .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: linear-gradient(145deg, #5b86e0, #1a418f); color: #fff; }
.nav-phone span { display: grid; line-height: 1.15; } .nav-phone small { font: 500 .66rem var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); }
.nav-phone:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
@media (min-width: 1280px) { .nav-phone { display: inline-flex; } }
@media (max-width: 1279px) { .nav__a { font-size: .93rem; padding: .6rem .6rem; } }
@media (max-width: 1100px) { .nav-quote { display: none; } }
@media (max-width: 960px) { :root { --hdr: 76px; } .brand { height: calc(var(--hdr) - 12px); } .site-header__in { padding: 0 10px 0 12px; } .burger { margin-left: auto; } }

/* header: wider bar, no wrapping labels */
.site-header__in { width: min(1360px, 100% - 32px); }
.nav__a, .nav-quote, .nav-quote span, .nav-phone { white-space: nowrap; }
.nav-quote .btn__t, .nav-quote .btn__r > span { white-space: nowrap; }
@media (min-width: 1280px) and (max-width: 1399px) { .nav-phone { display: none; } }
@media (min-width: 1400px) { .nav-phone { display: inline-flex; } .nav__a { padding: .65rem .9rem; } }

/* ---- dropdowns anchor to the header bar (centred, even side margins) ---- */
.nav, .nav > ul, .nav li.has-menu { position: static; }
.site-header__in .mega { left: 50%; right: auto; translate: -50% 0; top: calc(100% + 14px); max-width: calc(100vw - 32px); }
.site-header__in .mega::after { display: none; }
.site-header__in .mega::before { top: -64px; height: 64px; left: 0; right: 0; }
.mega--products, .mega--services { width: min(960px, calc(100vw - 48px)); }
@media (max-width: 1280px) { .mega--products, .mega--services { width: min(900px, calc(100vw - 48px)); } }

/* ---- photos: hero, mosaic, gallery, lightbox ---- */
.hero--photo { background-image: linear-gradient(90deg, rgba(1, 11, 32, .95) 0%, rgba(1, 11, 32, .8) 42%, rgba(1, 11, 32, .5) 100%), linear-gradient(0deg, rgba(1, 11, 32, .9), transparent 35%), var(--hero-img); background-size: cover; background-position: center; }
.shot { position: relative; display: block; padding: 0; border: 0; background: var(--silver-200); border-radius: 18px; overflow: hidden; cursor: zoom-in; isolation: isolate; box-shadow: 0 14px 30px -22px rgba(2, 29, 74, .6); }
.shot img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(1, 11, 32, .55)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.shot:hover img { transform: scale(1.06); } .shot:hover::after { opacity: 1; }
.shot__zoom { position: absolute; z-index: 2; right: .8rem; bottom: .8rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--navy-800); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease); } .shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }
.shot[hidden] { display: none; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; } .mosaic .shot--big { grid-column: span 2; grid-row: span 2; }
.gallery { columns: 3 300px; column-gap: 1rem; } .gallery .shot { width: 100%; margin: 0 0 1rem; break-inside: avoid; } .gallery .shot img { height: auto; }
.shot-filters { margin-bottom: 1.75rem; display: flex; }
.strip-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; } .strip-photos .shot { aspect-ratio: 4 / 3; }
.sec--photos { background: #fff; padding-top: clamp(2rem, 4vw, 3.5rem); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 1rem; background: rgba(1, 8, 22, .94); backdrop-filter: blur(6px); animation: chatIn .3s var(--ease); } .lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .75rem; min-width: 0; } .lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); object-fit: contain; }
.lightbox figcaption { color: var(--silver-200); font-size: .92rem; text-align: center; }
.lb__x { position: absolute; top: 1rem; right: 1.25rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; } .lb__x:hover { background: rgba(255, 255, 255, .2); }
.lb__n { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; justify-self: center; } .lb__n:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 960px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .strip-photos { grid-template-columns: repeat(2, 1fr); } .gallery { columns: 2 220px; } }
@media (max-width: 640px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .mosaic .shot--big { grid-column: 1 / -1; grid-row: span 2; } .strip-photos { grid-template-columns: 1fr; } .gallery { columns: 1; } .lightbox { grid-template-columns: 1fr; } .lb__n { position: absolute; bottom: 1rem; } .lb__n--p { left: calc(50% - 64px); } .lb__n--n { left: calc(50% + 12px); } }

/* ---- icon system ---- */
.card__media { height: 150px; }
.card__media span.pi, .card__media span { width: 84px; height: 84px; background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04)); border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 26px; color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.card__media .ic { width: 40px; height: 40px; }
.card:hover .card__media span.pi, .card:hover .card__media span { transform: scale(1.08) rotate(-4deg); background: linear-gradient(145deg, #5b86e0, #1a418f); border-color: transparent; }
.card__media .pcat { position: absolute; z-index: 2; left: .85rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .4rem; font: 600 .7rem var(--font-h); letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-style: normal; backdrop-filter: blur(4px); }
.card__media .pcat .ic { width: 14px; height: 14px; }
.chip { display: inline-flex; align-items: center; gap: .4rem; } .chip .ic { width: 1.05em; height: 1.05em; flex: none; }
.chip--btn .ic { color: var(--blue-500); } .chip--btn.is-on .ic { color: #fff; }
.card__apps { display: flex; gap: .55rem; align-items: flex-start; } .card__apps > .ic { width: 1.05rem; height: 1.05rem; margin-top: .2rem; color: var(--blue-500); flex: none; }
.faq summary { align-items: center; } .faq__q { display: inline-flex; gap: .85rem; align-items: center; min-width: 0; } .faq__q > .ic { width: 1.45rem; height: 1.45rem; padding: 0; color: var(--blue-500); flex: none; }
.faq summary > .ic { flex: none; }
.gloss-group h2 { display: inline-flex; align-items: center; gap: .75rem; } .gloss-group h2 > .ic { width: 1.6rem; height: 1.6rem; color: var(--blue-500); }
.hero-icon { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 2rem 1.5rem; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(197, 204, 216, .3); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.hero-icon span { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 32px; background: linear-gradient(145deg, #5b86e0, #1a418f 70%); color: #fff; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .4); animation: bob 4s ease-in-out infinite; } .hero-icon .ic { width: 56px; height: 56px; }
.hero-icon p { margin: 0; color: var(--silver-100); font: 600 1.05rem var(--font-h); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.values li > .ic, .check-list li > .ic { color: var(--blue-500); }
.values li > .ic { width: 1.5rem; height: 1.5rem; flex: none; }
.check-list li > .ic { width: 1.15em; height: 1.15em; flex: none; }
.card .card__icon + h3 { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .hero-icon span { animation: none; } }
.card__media .pcat { display: none; }
.card__actions { gap: .45rem; flex-wrap: nowrap; } .card__actions .btn--sm { padding: .55rem .85rem; font-size: .82rem; white-space: nowrap; } .card__actions .btn--icon { flex: none; }
.card h3 + .check-list { margin-top: .9rem; } .card .check-list { gap: .8rem; }

/* =====================================================================
   Card system v3 — cleaner, lighter, consistent
   ===================================================================== */
.card { padding: 1.6rem; border-radius: 20px; border: 1px solid rgba(2, 29, 74, .09); background: #fff; box-shadow: 0 1px 2px rgba(2, 29, 74, .04); }
.card:hover { transform: translateY(-5px); border-color: rgba(53, 102, 201, .45); box-shadow: 0 24px 44px -24px rgba(2, 29, 74, .4); }
.card::after { display: none; }
.card__no { display: none; }
.bento .card:nth-child(1) .card__no { display: block; }
.card h3 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .5rem; padding-right: 0 !important; }
.card p { font-size: .95rem; line-height: 1.6; color: var(--muted); }
.card__icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1.15rem; background: var(--blue-100); color: var(--navy-700); box-shadow: none; border: 1px solid rgba(53, 102, 201, .12); }
.card__icon .ic { width: 24px; height: 24px; }
.card:hover .card__icon { background: linear-gradient(145deg, #3b6fd8, #1a418f); color: #fff; border-color: transparent; transform: none; }
.card__icon--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); }
/* link row: divider + arrow, always pinned to the bottom */
.card > .card__link { width: 100%; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--silver-200); justify-content: space-between; font-size: .9rem; }
.card > .card__link .ic { width: 1.1em; height: 1.1em; }
.card:hover > .card__link { border-color: rgba(53, 102, 201, .3); color: var(--blue-500); }
.card > p { margin-bottom: 1.1rem; }

/* dark bento feature card keeps its look */
.bento .card:nth-child(1) { background: var(--navy-grad); border-color: transparent; }
.bento .card:nth-child(1) .card__icon { background: var(--metal); color: var(--navy-800); width: 64px; height: 64px; border-radius: 18px; }
.bento .card:nth-child(1) .card__icon .ic { width: 30px; height: 30px; }
.bento .card:nth-child(1) > .card__link { border-color: rgba(255, 255, 255, .25); color: #fff; }
.bento .card:nth-child(1) p { color: var(--silver-200); }
.bento .card:nth-child(1):hover .card__icon { background: #fff; }

/* ---- product cards ---- */
.card--product { padding: 1.6rem; display: flex; flex-direction: column; }
.pc__top { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem; }
.pc__icon { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(145deg, #1a418f, #021d4a); color: #fff; box-shadow: 0 10px 20px -10px rgba(2, 29, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .4s var(--ease), background .3s; }
.pc__icon .ic { width: 28px; height: 28px; }
.card--product:hover .pc__icon { transform: scale(1.06) rotate(-4deg); background: linear-gradient(145deg, #5b86e0, #1a418f); }
.pc__tags { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .1rem; min-width: 0; }
.card--product h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.pc__sum { margin: 0 0 1rem !important; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.pc__apps { list-style: none; margin: 0 0 1.35rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pc__apps li { font: 500 .78rem var(--font-b); color: var(--navy-700); background: var(--silver-100); border: 1px solid var(--silver-200); padding: .3rem .65rem; border-radius: 999px; }
.pc__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding-top: 1.1rem; border-top: 1px solid var(--silver-200); }
.pc__actions .btn { width: 100%; }
.pc__actions .pc__main { grid-column: 1 / -1; }
.pc__actions .btn--sm { padding: .65rem .8rem; font-size: .85rem; white-space: nowrap; }
.pc__actions .btn--line > span .ic { width: 1.1em; height: 1.1em; }
.card--product .chip { font-size: .72rem; }

/* other card types */
.card--service-lg { padding: 2rem; } .card--service-lg h3 { font-size: 1.35rem; }
.card--article .card__icon { margin-bottom: 1rem; } .card--article .eyebrow { margin-bottom: .6rem; }
.card--industry, .card--service { min-height: 0; }
.why__item { padding: 1.6rem; border-radius: 20px; } .why__item h3 { font-size: 1.15rem; }
.card:not(:has(p)):not(:has(ul)):not(:has(.card__link)) { min-height: 0; justify-content: flex-start; }
.card:not(:has(p)):not(:has(ul)):not(:has(.card__link)) h3 { margin-bottom: 0; font-size: 1.1rem; }
.card:not(:has(p)):not(:has(ul)):not(:has(.card__link)) .card__icon { margin-bottom: .9rem; }
.pc__top { justify-content: space-between; align-items: flex-start; margin-bottom: 1.2rem; }
.pc__cat { display: flex; align-items: center; gap: .45rem; margin: 0 0 .4rem !important; font: 600 .72rem var(--font-h) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500) !important; }
.pc__cat .ic { width: 1rem; height: 1rem; }
.card--product h3 { margin-bottom: .55rem; }
.card--product .badge { white-space: nowrap; }
.pc__apps { margin-bottom: 1.2rem; }
.bento .card:not(:nth-child(1)) .card__no { display: none; }

/* ---- project / application cards ---- */
.card--project { padding: 1.6rem; display: flex; flex-direction: column; }
.badge--ill { background: var(--blue-100); color: var(--navy-700); border: 1px solid rgba(53, 102, 201, .2); white-space: nowrap; }
.pc__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; margin: 0 0 1.2rem; }
.pc__meta-l { font: 600 .7rem var(--font-h); letter-spacing: .1em; text-transform: uppercase; color: var(--silver-500); }
.pc__loc { display: flex; align-items: center; gap: .45rem; margin: 0 0 .9rem !important; font-size: .88rem !important; } .pc__loc .ic { width: 1rem; height: 1rem; color: var(--blue-500); }
.card--project .pc__sum { margin-bottom: 1rem !important; }
.card--project .chip { position: relative; z-index: 2; }
/* gallery: uniform grid (no uneven columns) */
.gallery { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery .shot { margin: 0; aspect-ratio: 4 / 3; break-inside: auto; } .gallery .shot img { height: 100%; object-position: center 40%; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.art__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin: 0 0 .75rem !important; font-size: .82rem !important; color: var(--silver-500) !important; }
.card--article .card__icon { margin-bottom: .9rem; }
.card__txt { margin: 0 !important; color: var(--ink) !important; font-weight: 500; font-size: 1rem !important; line-height: 1.5 !important; }
.info { background: #fff; border: 1px solid rgba(2, 29, 74, .09); border-radius: 18px; box-shadow: 0 1px 2px rgba(2, 29, 74, .04); padding: 1rem 1.25rem; }
.info .card__icon { background: var(--blue-100); color: var(--navy-700); border: 1px solid rgba(53, 102, 201, .12); width: 46px; height: 46px; border-radius: 14px; margin: 0; }
.info:hover { transform: translateY(-3px); border-color: rgba(53, 102, 201, .45); background: #fff; box-shadow: 0 18px 32px -22px rgba(2, 29, 74, .45); }
.info:hover p, .info:hover a { color: inherit; } .info:hover .info__l { color: var(--silver-500); }
.info:hover .card__icon { background: linear-gradient(145deg, #3b6fd8, #1a418f); color: #fff; }
.side-card, .panel { border-radius: 20px; border: 1px solid rgba(2, 29, 74, .09); background: #fff; box-shadow: 0 1px 2px rgba(2, 29, 74, .04); }
.panel--dark { background: var(--navy-grad); border-color: transparent; }

/* ---- client logos: identical size, full colour, moving strip ---- */
.clients { grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.client { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .7rem; min-height: 0; padding: .9rem .9rem .8rem; text-align: center; background: #fff; border: 1px solid rgba(2, 29, 74, .09); border-radius: 18px; }
.client__box { display: grid; place-items: center; width: 100%; aspect-ratio: 440 / 170; background: #fff; border-radius: 12px; overflow: hidden; }
.client img { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; filter: none; opacity: 1; }
.client:hover img { filter: none; }
.client__cap { font: 600 .8rem/1.3 var(--font-h); color: var(--navy-700); padding: 0 .25rem; }
.client__box--text { background: var(--silver-100); border: 1px dashed var(--silver-300); } .client__box--text span { font: 700 1.15rem/1.25 var(--font-h); color: var(--navy-800); text-align: center; padding: .5rem 1rem; letter-spacing: .02em; }
.client:has(.client__box--text) { justify-content: center; }

.clients-strip__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.25rem; width: max-content; animation: logoscroll 60s linear infinite; }
.clients-strip__rail:hover .clients-strip__track { animation-play-state: paused; }
.cm { flex: none; width: 220px; height: 85px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(2, 29, 74, .1); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(2, 29, 74, .04); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cm img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cm:hover { transform: translateY(-3px); border-color: rgba(53, 102, 201, .45); box-shadow: 0 16px 28px -18px rgba(2, 29, 74, .5); }
.clients-strip__rail { padding: .6rem 0; }
@keyframes logoscroll { to { transform: translateX(calc(-50% - .625rem)); } }
@media (max-width: 1100px) { .clients { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .clients { grid-template-columns: repeat(3, 1fr); } .cm { width: 190px; height: 74px; } }
@media (max-width: 600px) { .clients { grid-template-columns: repeat(2, 1fr); gap: .75rem; } .cm { width: 160px; height: 62px; } .clients-strip__track { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) { .clients-strip__track { animation: none; } .clients-strip__rail { overflow-x: auto; } }
/* logo tiles: 3:2 boxes so tall and wide logos read at a similar size */
.client__box { aspect-ratio: 400 / 260; }
.cm { width: 176px; height: 114px; }
@media (max-width: 860px) { .cm { width: 156px; height: 101px; } }
@media (max-width: 600px) { .cm { width: 138px; height: 90px; } }

/* ===== fill-the-row: orphan cards stretch so grids never leave blank cells ===== */
@media (min-width:641px){.grid--2:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.grid--2:not(.is-filtered)>*{grid-column:span 1}.grid--2:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:640px){.grid--2:not(.is-filtered){grid-template-columns:1fr}.grid--2:not(.is-filtered)>*{grid-column:auto}}
@media (min-width:961px){.grid--3:not(.is-filtered){grid-template-columns:repeat(6,minmax(0,1fr))}.grid--3:not(.is-filtered)>*{grid-column:span 2}.grid--3:not(.is-filtered)>*:last-child:nth-child(3n+1){grid-column:span 6}.grid--3:not(.is-filtered)>*:nth-last-child(2):nth-child(3n+1){grid-column:span 3}.grid--3:not(.is-filtered)>*:last-child:nth-child(3n+2){grid-column:span 3}}
@media (min-width:641px) and (max-width:960px){.grid--3:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.grid--3:not(.is-filtered)>*{grid-column:span 1}.grid--3:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:640px){.grid--3:not(.is-filtered){grid-template-columns:1fr}.grid--3:not(.is-filtered)>*{grid-column:auto}}
@media (min-width:1101px){.grid--4:not(.is-filtered){grid-template-columns:repeat(12,minmax(0,1fr))}.grid--4:not(.is-filtered)>*{grid-column:span 3}.grid--4:not(.is-filtered)>*:last-child:nth-child(4n+1){grid-column:span 12}.grid--4:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+1){grid-column:span 6}.grid--4:not(.is-filtered)>*:last-child:nth-child(4n+2){grid-column:span 6}.grid--4:not(.is-filtered)>*:nth-last-child(3):nth-child(4n+1){grid-column:span 4}.grid--4:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+2){grid-column:span 4}.grid--4:not(.is-filtered)>*:last-child:nth-child(4n+3){grid-column:span 4}}
@media (min-width:641px) and (max-width:1100px){.grid--4:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.grid--4:not(.is-filtered)>*{grid-column:span 1}.grid--4:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:640px){.grid--4:not(.is-filtered){grid-template-columns:1fr}.grid--4:not(.is-filtered)>*{grid-column:auto}}
@media (min-width:1101px){.clients:not(.is-filtered){grid-template-columns:repeat(60,minmax(0,1fr))}.clients:not(.is-filtered)>*{grid-column:span 12}.clients:not(.is-filtered)>*:last-child:nth-child(5n+1){grid-column:span 60}.clients:not(.is-filtered)>*:nth-last-child(2):nth-child(5n+1){grid-column:span 30}.clients:not(.is-filtered)>*:last-child:nth-child(5n+2){grid-column:span 30}.clients:not(.is-filtered)>*:nth-last-child(3):nth-child(5n+1){grid-column:span 20}.clients:not(.is-filtered)>*:nth-last-child(2):nth-child(5n+2){grid-column:span 20}.clients:not(.is-filtered)>*:last-child:nth-child(5n+3){grid-column:span 20}.clients:not(.is-filtered)>*:nth-last-child(4):nth-child(5n+1){grid-column:span 15}.clients:not(.is-filtered)>*:nth-last-child(3):nth-child(5n+2){grid-column:span 15}.clients:not(.is-filtered)>*:nth-last-child(2):nth-child(5n+3){grid-column:span 15}.clients:not(.is-filtered)>*:last-child:nth-child(5n+4){grid-column:span 15}}
@media (min-width:861px) and (max-width:1100px){.clients:not(.is-filtered){grid-template-columns:repeat(12,minmax(0,1fr))}.clients:not(.is-filtered)>*{grid-column:span 3}.clients:not(.is-filtered)>*:last-child:nth-child(4n+1){grid-column:span 12}.clients:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+1){grid-column:span 6}.clients:not(.is-filtered)>*:last-child:nth-child(4n+2){grid-column:span 6}.clients:not(.is-filtered)>*:nth-last-child(3):nth-child(4n+1){grid-column:span 4}.clients:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+2){grid-column:span 4}.clients:not(.is-filtered)>*:last-child:nth-child(4n+3){grid-column:span 4}}
@media (min-width:601px) and (max-width:860px){.clients:not(.is-filtered){grid-template-columns:repeat(6,minmax(0,1fr))}.clients:not(.is-filtered)>*{grid-column:span 2}.clients:not(.is-filtered)>*:last-child:nth-child(3n+1){grid-column:span 6}.clients:not(.is-filtered)>*:nth-last-child(2):nth-child(3n+1){grid-column:span 3}.clients:not(.is-filtered)>*:last-child:nth-child(3n+2){grid-column:span 3}}
@media (max-width:600px){.clients:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.clients:not(.is-filtered)>*{grid-column:span 1}.clients:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (min-width:961px){.values:not(.is-filtered){grid-template-columns:repeat(6,minmax(0,1fr))}.values:not(.is-filtered)>*{grid-column:span 2}.values:not(.is-filtered)>*:last-child:nth-child(3n+1){grid-column:span 6}.values:not(.is-filtered)>*:nth-last-child(2):nth-child(3n+1){grid-column:span 3}.values:not(.is-filtered)>*:last-child:nth-child(3n+2){grid-column:span 3}}
@media (min-width:641px) and (max-width:960px){.values:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.values:not(.is-filtered)>*{grid-column:span 1}.values:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:640px){.values:not(.is-filtered){grid-template-columns:1fr}.values:not(.is-filtered)>*{grid-column:auto}}
@media (min-width:961px){.values--4:not(.is-filtered){grid-template-columns:repeat(12,minmax(0,1fr))}.values--4:not(.is-filtered)>*{grid-column:span 3}.values--4:not(.is-filtered)>*:last-child:nth-child(4n+1){grid-column:span 12}.values--4:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+1){grid-column:span 6}.values--4:not(.is-filtered)>*:last-child:nth-child(4n+2){grid-column:span 6}.values--4:not(.is-filtered)>*:nth-last-child(3):nth-child(4n+1){grid-column:span 4}.values--4:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+2){grid-column:span 4}.values--4:not(.is-filtered)>*:last-child:nth-child(4n+3){grid-column:span 4}}
@media (min-width:641px) and (max-width:960px){.values--4:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.values--4:not(.is-filtered)>*{grid-column:span 1}.values--4:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:640px){.values--4:not(.is-filtered){grid-template-columns:1fr}.values--4:not(.is-filtered)>*{grid-column:auto}}
@media (min-width:961px){.why.why--4:not(.is-filtered){grid-template-columns:repeat(12,minmax(0,1fr))}.why.why--4:not(.is-filtered)>*{grid-column:span 3}.why.why--4:not(.is-filtered)>*:last-child:nth-child(4n+1){grid-column:span 12}.why.why--4:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+1){grid-column:span 6}.why.why--4:not(.is-filtered)>*:last-child:nth-child(4n+2){grid-column:span 6}.why.why--4:not(.is-filtered)>*:nth-last-child(3):nth-child(4n+1){grid-column:span 4}.why.why--4:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+2){grid-column:span 4}.why.why--4:not(.is-filtered)>*:last-child:nth-child(4n+3){grid-column:span 4}}
@media (min-width:641px) and (max-width:960px){.why.why--4:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.why.why--4:not(.is-filtered)>*{grid-column:span 1}.why.why--4:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:640px){.why.why--4:not(.is-filtered){grid-template-columns:1fr}.why.why--4:not(.is-filtered)>*{grid-column:auto}}
@media (min-width:961px){.strip-photos:not(.is-filtered){grid-template-columns:repeat(6,minmax(0,1fr))}.strip-photos:not(.is-filtered)>*{grid-column:span 2}.strip-photos:not(.is-filtered)>*:last-child:nth-child(3n+1){grid-column:span 6}.strip-photos:not(.is-filtered)>*:nth-last-child(2):nth-child(3n+1){grid-column:span 3}.strip-photos:not(.is-filtered)>*:last-child:nth-child(3n+2){grid-column:span 3}}
@media (min-width:641px) and (max-width:960px){.strip-photos:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.strip-photos:not(.is-filtered)>*{grid-column:span 1}.strip-photos:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:640px){.strip-photos:not(.is-filtered){grid-template-columns:1fr}.strip-photos:not(.is-filtered)>*{grid-column:auto}}
@media (min-width:961px){.gallery:not(.is-filtered){grid-template-columns:repeat(6,minmax(0,1fr))}.gallery:not(.is-filtered)>*{grid-column:span 2}.gallery:not(.is-filtered)>*:last-child:nth-child(3n+1){grid-column:span 6}.gallery:not(.is-filtered)>*:nth-last-child(2):nth-child(3n+1){grid-column:span 3}.gallery:not(.is-filtered)>*:last-child:nth-child(3n+2){grid-column:span 3}}
@media (min-width:561px) and (max-width:960px){.gallery:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.gallery:not(.is-filtered)>*{grid-column:span 1}.gallery:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:560px){.gallery:not(.is-filtered){grid-template-columns:1fr}.gallery:not(.is-filtered)>*{grid-column:auto}}
@media (min-width:961px){.banners__grid:not(.is-filtered){grid-template-columns:repeat(12,minmax(0,1fr))}.banners__grid:not(.is-filtered)>*{grid-column:span 3}.banners__grid:not(.is-filtered)>*:last-child:nth-child(4n+1){grid-column:span 12}.banners__grid:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+1){grid-column:span 6}.banners__grid:not(.is-filtered)>*:last-child:nth-child(4n+2){grid-column:span 6}.banners__grid:not(.is-filtered)>*:nth-last-child(3):nth-child(4n+1){grid-column:span 4}.banners__grid:not(.is-filtered)>*:nth-last-child(2):nth-child(4n+2){grid-column:span 4}.banners__grid:not(.is-filtered)>*:last-child:nth-child(4n+3){grid-column:span 4}}
@media (min-width:641px) and (max-width:960px){.banners__grid:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.banners__grid:not(.is-filtered)>*{grid-column:span 1}.banners__grid:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:640px){.banners__grid:not(.is-filtered){grid-template-columns:1fr}.banners__grid:not(.is-filtered)>*{grid-column:auto}}
@media (min-width:761px){.gloss:not(.is-filtered){grid-template-columns:repeat(2,minmax(0,1fr))}.gloss:not(.is-filtered)>*{grid-column:span 1}.gloss:not(.is-filtered)>*:last-child:nth-child(2n+1){grid-column:span 2}}
@media (max-width:760px){.gloss:not(.is-filtered){grid-template-columns:1fr}.gloss:not(.is-filtered)>*{grid-column:auto}}
.grid.is-filtered>*{grid-column:auto}
.gloss__item{min-width:0}

/* desktop menu must stay hidden when the burger drawer is in use */
@media (max-width: 960px) { .nav, .nav-phone, .nav-quote { display: none !important; } .burger { display: grid; } .drawer .burger { display: grid; } }
.f-tag2 { margin: 1rem 0 0; font: 600 1.05rem/1.3 var(--font-h); color: #fff; } .f-tag2 span { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-grid { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* ---- featured Waterproofing card: photo + applications, no empty space ---- */
.bento .card--feature { position: relative; overflow: hidden; justify-content: flex-start; min-height: 0; padding: 2rem; background: #01132f; }
.card--feature .feat__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .55; transition: transform 1.2s var(--ease), opacity .5s; }
.card--feature::before { content: ''; position: absolute; inset: 0; z-index: 0; clip-path: none; transform: none; background: linear-gradient(180deg, rgba(1, 19, 47, .78) 0%, rgba(1, 19, 47, .86) 45%, rgba(1, 19, 47, .97) 100%); }
.bento .card--feature:hover::before { clip-path: none; }
.card--feature:hover .feat__bg { transform: scale(1.06); opacity: .7; }
.card--feature > * { position: relative; z-index: 1; }
.card--feature > .feat__bg { position: absolute; }
.card--feature .card__icon { margin-bottom: 1.25rem !important; }
.card--feature h3 { font-size: 2rem; margin-bottom: .6rem; }
.card--feature p { max-width: 42ch; margin-bottom: 1.4rem; }
.feat__apps { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .9rem; }
.feat__apps li { display: flex; align-items: center; gap: .55rem; color: #fff; font: 500 .92rem/1.3 var(--font-b); }
.feat__apps .ic { flex: none; width: 1.2rem; height: 1.2rem; padding: 3px; border-radius: 50%; background: rgba(91, 134, 224, .35); color: var(--blue-300); }
.feat__facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.feat__facts span { display: inline-flex; align-items: center; gap: .45rem; font: 600 .78rem var(--font-h); color: var(--silver-100); padding: .4rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(4px); }
.feat__facts .ic { width: 1rem; height: 1rem; color: var(--blue-300); }
.card--feature > .card__link { margin-top: auto; }
@media (max-width: 560px) { .feat__apps { grid-template-columns: 1fr; } }
.card--feature::before { background: linear-gradient(180deg, rgba(1, 19, 47, .88) 0%, rgba(1, 19, 47, .9) 50%, rgba(1, 19, 47, .97) 100%); }
.card--feature .feat__bg { opacity: .5; }
.card--feature h3, .card--feature p { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }

/* dropdowns: JS controls open/close (no CSS :hover race); CSS :hover only as a no-JS fallback */
.has-menu:hover > .mega { opacity: 0; visibility: hidden; transform: translateY(10px); }
.has-menu.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .has-menu:hover > .mega, html:not(.js) .has-menu:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.has-menu:hover .nav__t .ic { transform: none; } .has-menu.is-open .nav__t .ic { transform: rotate(180deg); }
/* hover bridge: fills the gap under the bar only; never covers the other menu items */
.site-header__in .mega::before { top: -22px; height: 22px; }
.mega { pointer-events: none; } .has-menu.is-open > .mega { pointer-events: auto; }

/* ---- legibility over photos ---- */
.hero--photo { background-image: linear-gradient(90deg, rgba(1, 11, 32, .97) 0%, rgba(1, 11, 32, .9) 48%, rgba(1, 11, 32, .7) 100%), linear-gradient(0deg, rgba(1, 11, 32, .95), transparent 40%), var(--hero-img); }
.hero .lead--light { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.hero__panel, .notch.hero__panel { background: linear-gradient(160deg, rgba(3, 18, 48, .82), rgba(2, 12, 34, .88)); backdrop-filter: blur(16px); border-color: rgba(197, 204, 216, .35); }
.ls__tag text { font-size: 15px; font-weight: 600; fill: #fff; letter-spacing: .02em; paint-order: stroke; stroke: rgba(1, 11, 32, .6); stroke-width: 3px; }
.ls__tag line { stroke: var(--silver-300); }
.ls { overflow: visible; }
.hero__cap, .hero__cap [data-rot] { color: #fff; font-size: 1.1rem; }
.card--feature .feat__bg { opacity: .32; }
.card--feature::before { background: linear-gradient(180deg, rgba(1, 19, 47, .92) 0%, rgba(1, 19, 47, .94) 55%, rgba(1, 19, 47, .98) 100%); }
.card--feature p { color: #fff; font-size: 1.02rem; text-shadow: none; }
.card--feature h3 { text-shadow: none; }
.feat__apps li { font-size: .96rem; font-weight: 600; }
.feat__facts span { background: rgba(255, 255, 255, .14); color: #fff; }
.page-hero .lead--light, .cta-band .lead--light { color: #f2f5fb; }
.sec--dark .why__item p { color: #e6ebf5; }

/* ---- featured Waterproofing card: photo banner on top, all text on solid navy ---- */
.bento .card--feature { background: #021a40; padding: 2rem; }
.card--feature::before { display: none; }
.card--feature .feat__bg { inset: 0 0 auto 0; height: 190px; opacity: 1; background-position: center 35%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.card--feature:hover .feat__bg { transform: none; opacity: 1; filter: brightness(1.08); }
.card--feature .card__icon { margin-bottom: 3.6rem !important; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }
.card--feature h3 { color: #fff; font-size: 2rem; }
.card--feature p { color: #eef2fa; font-size: 1.05rem; line-height: 1.6; max-width: 46ch; }
.feat__apps { gap: .75rem 1.25rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.feat__apps li { color: #fff; font-size: 1.02rem; font-weight: 600; }
.feat__apps .ic { background: #3b6fd8; color: #fff; width: 1.35rem; height: 1.35rem; padding: 4px; }
.feat__facts span { background: #0e3478; border-color: rgba(154, 184, 242, .5); color: #fff; font-size: .85rem; padding: .5rem .9rem; }
.card--feature > .card__link { color: #fff; border-color: rgba(255, 255, 255, .25); font-size: 1rem; }
