/* Nexstroid — Ethereal. Values mirror the Nexstroid Brand System tokens. */


:root {
    --nx-blue: #1B5CA0; --nx-steel: #1A5698; --nx-deep: #184A8A; --nx-navy: #18376C; --nx-grey: #8E9094;
    --mist-blue: #CFE0F7; --mist-lilac: #E4DEF7; --mist-aqua: #D8F1F2;
    --surface-ground: #F4F7FC; --surface-raised: #FFFFFF;
    --glass: rgba(255,255,255,.6); --glass-strong: rgba(255,255,255,.75); --glass-edge: rgba(255,255,255,.95);
    --hairline: rgba(24,55,108,.12); --line-strong: #7C8698;
    --text-primary: #18376C; --text-secondary: #4A5468; --text-muted: #5E6168;
    --action: #1B5CA0; --action-hover: #18376C; --focus: #1B5CA0;
    --success: #0F7A55; --danger: #B42318;
    --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
    --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
    --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;
    --blur-glass: 16px; --blur-mist: 70px;
    --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface-ground); color: var(--text-secondary); font: 400 16px/1.625 var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--nx-blue); }
a:hover { color: var(--nx-navy); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; color: var(--text-primary); }
p { margin: 0; }

/* Scales like the 1440px direction artboard: 64px gutters at 1440 (4.45vw), content grows on wider screens. */
.wrap { width: 100%; max-width: 2400px; margin: 0 auto; padding-inline: clamp(20px, 4.45vw, 112px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--action); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { top: 16px; }

/* Type */
.eyebrow { font: 500 13px/16px var(--font-display); letter-spacing: .26em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.display { font: 300 clamp(46px, 5.55vw, 104px)/1.04 var(--font-display); letter-spacing: -.03em; }
.h2 { font: 300 clamp(32px, 4vw, 44px)/1.12 var(--font-display); letter-spacing: -.02em; }
.h3 { font: 500 22px/1.35 var(--font-display); }
.h4 { font: 600 18px/1.4 var(--font-display); color: var(--text-primary); }
.display em, .h2 em { font-style: normal; font-weight: 500; color: var(--nx-blue); }
.lead { font-size: clamp(18px, 1.39vw, 24px); line-height: 1.6; max-width: 40em; }
.sub { font-size: 18px; line-height: 1.6; max-width: 640px; }

/* Surfaces */
.glass { background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(var(--blur-glass)); backdrop-filter: blur(var(--blur-glass)); }
.glass-strong { background: var(--glass-strong); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(var(--blur-glass)); backdrop-filter: blur(var(--blur-glass)); }
.mist { position: absolute; border-radius: 50%; filter: blur(var(--blur-mist)); pointer-events: none; z-index: 0; }
.mist-blue { background: var(--mist-blue); } .mist-lilac { background: var(--mist-lilac); } .mist-aqua { background: var(--mist-aqua); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 28px; border-radius: var(--r-pill); font: 700 16px/1.2 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-hover); color: #fff; }
.btn-glass { background: var(--glass-strong); border-color: var(--hairline); color: var(--text-primary); -webkit-backdrop-filter: blur(var(--blur-glass)); backdrop-filter: blur(var(--blur-glass)); }
.btn-glass:hover { background: #fff; color: var(--text-primary); }
.link { font-weight: 700; text-decoration: none; }
.arr { display: inline-block; margin-left: .3em; }
.cover { display: block; width: 100%; height: auto; border-radius: 14px; margin-bottom: 4px; }
.link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; padding: 22px 0; background: rgba(244,247,252,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img:first-child { height: 36px; width: auto; }
.brand img:last-child { height: 30px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-radius: var(--r-pill); }
.nav a { color: var(--text-primary); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 16px; border-radius: var(--r-pill); }
.nav a:hover { background: #fff; }
@media (max-width: 960px) { .nav { order: 3; width: 100%; justify-content: center; } }
@media (max-width: 560px) { .nav a { padding: 8px 10px; font-size: 14px; } }

/* Hero */
/* Hero fills the first screen (header included) and centres its content in the space below the header. */
.hero { position: relative; margin-top: -96px; padding: 128px 0 56px; min-height: clamp(640px, 100svh, 1040px); display: flex; align-items: center; overflow-x: clip; }
.hero > .wrap { width: 100%; }
@media (max-width: 960px) { .site-header { position: relative; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; } .hero { margin-top: 0; padding: 48px 0 24px; min-height: 0; } }
.m-hero-1 { width: 560px; height: 560px; right: 8%; top: 20px; }
.m-hero-2 { width: 340px; height: 340px; right: -80px; top: -120px; }
.m-hero-3 { width: 420px; height: 420px; right: 32%; bottom: -160px; }
.m-hero-4 { width: 380px; height: 380px; left: 4%; top: -160px; background: #FFFFFF; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: min(100%, 50vw); }
@media (max-width: 980px) { .hero-copy { max-width: 100%; } }
.hero-copy .eyebrow { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; width: clamp(300px, 31.9vw, 600px); max-width: 100%; aspect-ratio: 1; margin: 0 4.2vw 0 auto; }
@media (max-width: 980px) { .hero-art { width: min(100%, 460px); margin: 0 auto; } }
.orbits { position: absolute; left: -34.78%; top: -34.78%; width: 169.56%; height: 169.56%; max-width: none; pointer-events: none; }
.orb { position: absolute; inset: 15.2%; border-radius: 50%; display: grid; place-items: center; }
.orb img { width: 33%; height: auto; }
.float-chip { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: var(--r-lg); font-size: 13px; line-height: 1.4; max-width: 190px; }
.float-chip .stat { font: 400 30px/1.1 var(--font-display); color: var(--text-primary); }
.fc-1 { right: -10px; top: 11%; }
.fc-2 { left: -40px; bottom: 9%; }
/* Capability badges from the live site, in the empty corners of the hero art. */
.badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: var(--r-pill); font: 600 14px/1 var(--font-sans); color: var(--text-primary); white-space: nowrap; }
.badge .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--nx-blue); color: #fff; stroke-width: 2; }
.fb-1 { left: 2%; top: 4%; }
.fb-2 { right: 0; bottom: 3%; }
@media (max-width: 560px) { .badge { font-size: 12px; padding: 7px 12px 7px 8px; } .badge .ico { width: 22px; height: 22px; padding: 4px; } .fb-1 { left: 0; top: 16%; } .fb-2 { right: 0; bottom: 16%; } }
@media (max-width: 560px) { .float-chip { padding: 10px 14px; max-width: 150px; font-size: 12px; } .float-chip .stat { font-size: 24px; } .fc-1 { right: 0; top: 2%; } .fc-2 { left: 0; bottom: 2%; } }

/* Sections */
.section { position: relative; padding: var(--section) 0 0; }
.section-head { margin-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.section-head .eyebrow { margin: 0; }
.section-head.center { align-items: center; text-align: center; }
.section-head.split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }

/* Cards */
.card { border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { font-size: 15px; }
.icon-tile { width: 44px; height: 44px; flex: none; border-radius: var(--r-md); display: grid; place-items: center; background: var(--surface-raised); border: 1px solid var(--hairline); color: var(--nx-blue); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.tag { font: 600 12px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--r-pill); }
.tag-blue { background: var(--nx-blue); color: #fff; }
.pill-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { font-size: 13px; font-weight: 600; color: var(--text-primary); background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 6px 12px; }
.pill-list.small li { font-size: 12px; padding: 4px 10px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; margin-bottom: 16px; }
.feature { padding: 36px; gap: 14px; }
.feature p { font-size: 16px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }

/* About */
/* 35:65 — the orbit art is a quiet accent; the copy and pillars get the room. */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 13fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; } .about-art { max-width: 320px; } }
.about-grid .sub { margin: 14px 0 28px; }
.about-art { position: relative; max-width: 400px; width: 100%; margin: 0 auto; }
.about-art .orbit-art { position: relative; z-index: 1; width: 100%; height: auto; }
.m-about { width: 70%; height: 70%; left: 15%; top: 15%; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar { border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.pillar p { font-size: 14px; }
.pillar.highlight { border-color: var(--nx-blue); }

/* Industries */
.industry-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industry-list li { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px 12px 16px; border-radius: var(--r-pill); color: var(--text-primary); font-weight: 600; }

/* Cyber Safe India */
.awareness { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; align-items: center; }
.awareness > :not(.mist):not(.bg-shield) { position: relative; z-index: 1; }
.m-aw-1 { width: 420px; height: 420px; right: -80px; top: -120px; }
.m-aw-2 { width: 300px; height: 300px; left: -60px; bottom: -140px; }
.awareness-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.awareness-copy .eyebrow { margin: 0; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats div { border-radius: var(--r-lg); padding: 22px 16px; text-align: center; display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dt { font-size: 14px; color: var(--text-secondary); }
.stats dd { margin: 0; font: 400 clamp(30px, 3.6vw, 42px)/1.1 var(--font-display); color: var(--text-primary); }

/* Insights */
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.insight { text-decoration: none; color: inherit; transition: background-color .2s; }
.insight:hover { background: rgba(255,255,255,.85); color: inherit; }
.meta { font: 600 12px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--nx-blue); }
.excerpt { font-size: 15px; }

/* Contact */
.contact { padding-bottom: var(--section); overflow: hidden; }
.m-ct-1 { width: 460px; height: 460px; right: 4%; top: 80px; }
.m-ct-2 { width: 320px; height: 320px; left: -80px; bottom: 0; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.contact-grid .sub { margin-top: 14px; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--text-primary); }
.contact-list a { color: var(--text-primary); text-decoration: none; }
.contact-list a:hover { color: var(--nx-blue); text-decoration: underline; }

/* Form */
.form { border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.form > .h3, .form-success, .field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.label { font: 600 13px/1.4 var(--font-sans); color: var(--text-secondary); padding: 0; margin: 0 0 2px; letter-spacing: .01em; }
.field input, .field textarea { font: 500 15px/1.4 var(--font-sans); color: var(--text-primary); background: var(--surface-raised); border: 1px solid #8A94A6; border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: #8A94A6; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(27,92,160,.18); }
.error { font-size: 13px; font-weight: 600; color: var(--danger); }
.error:empty { display: none; }
/* Interest options: an even 2-column grid of tiles with a radio dot. */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
.option { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface-raised); cursor: pointer; font: 600 14px/1.3 var(--font-sans); color: var(--text-primary); }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #8A94A6; background: #fff; transition: border-color .2s, box-shadow .2s; }
.option:has(input:checked) { border-color: var(--nx-blue); background: #EEF4FC; }
.option input:checked + .dot { border-color: var(--nx-blue); box-shadow: inset 0 0 0 4px #fff; background: var(--nx-blue); }
.option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.option:hover { border-color: rgba(27,92,160,.45); }
.form-foot { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.fineprint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.ico-sm { width: 16px; height: 16px; color: var(--nx-blue); flex: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .option .dot { border-color: var(--danger); }
.form-status { grid-column: 1 / -1; }
.form noscript { grid-column: 1 / -1; }
.form-error { background: rgba(180,35,24,.06); border: 1px solid rgba(180,35,24,.35); color: var(--danger); font-weight: 600; border-radius: var(--r-md); padding: 14px 16px; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.form-success { background: rgba(15,122,85,.08); border: 1px solid rgba(15,122,85,.35); color: var(--success); font-weight: 600; border-radius: var(--r-md); padding: 14px 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--nx-navy); color: #C9D5E8; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-brand p { font-size: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer-h { font: 600 13px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 6px; }
.site-footer a { color: #C9D5E8; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-links { display: flex; gap: 20px; }

/* Error page */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px; }


/* Industry icons */
.ind-ico { width: 18px; height: 18px; color: var(--nx-blue); flex: none; }

/* Shield as an accent: faint outlines in the background, a static shield in the About art, icons on key buttons. */
.bg-shield { position: absolute; z-index: 0; pointer-events: none; fill: none; stroke: var(--nx-navy); stroke-opacity: .09; stroke-width: .18; stroke-linejoin: round; }
.bg-shield-aw { width: 360px; height: 360px; right: 4%; top: 50%; transform: translateY(-50%); }
.bg-shield-ct { width: 520px; height: 520px; left: -120px; bottom: -120px; stroke-opacity: .07; }
@media (max-width: 980px) { .bg-shield-aw { width: 240px; height: 240px; right: -40px; top: 20%; transform: none; } .bg-shield-ct { width: 320px; height: 320px; } }
.about-shield { position: absolute; z-index: 2; left: 50%; top: 50%; width: 24%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 24px rgba(27,92,160,.35)); }
.btn-ico { width: 18px; height: 18px; margin-right: 8px; flex: none; }
.btn-primary .btn-ico { color: #fff; }
.btn-glass .btn-ico { color: var(--nx-blue); }

/* ───────────── Dark section bands (trial) ─────────────
   Add class="section-dark" to a <section> to switch it to the Night palette.
   Rollback: remove that class from the sections in Views/Home/Index.cshtml. */
.section-dark {
    --text-primary: #E8EEF7; --text-secondary: #B4C0D6; --text-muted: #9AA6BC;
    --glass: rgba(19,36,71,.55); --glass-strong: rgba(19,36,71,.72); --glass-edge: rgba(255,255,255,.12);
    --hairline: rgba(232,238,247,.14); --surface-raised: #132447; --line-strong: #5A719C;
    --mist-blue: #1B4A8A; --mist-lilac: #3A2F7A; --mist-aqua: #0F4E57;
    position: relative; overflow: hidden; isolation: isolate;
    margin-top: var(--section); padding-block: var(--section);
    background: #081428; color: var(--text-secondary);
}
.section-dark + .section:not(.section-dark) { padding-top: var(--section); }
.section-dark .mist { opacity: .75; }
.section-dark .display em, .section-dark .h2 em { color: #6BA3E8; }
.section-dark a:not(.btn):not(.card) { color: #8FBBF0; }
.section-dark a:not(.btn):not(.card):hover { color: #FFFFFF; }
.section-dark .insight { color: var(--text-secondary); }
.section-dark .insight:hover { color: var(--text-secondary); }
.section-dark .meta { color: #6BA3E8; }
.m-in-1 { width: 460px; height: 460px; right: -100px; top: -160px; }
.m-in-2 { width: 360px; height: 360px; left: 10%; bottom: -220px; }
.section-dark > .wrap { position: relative; z-index: 1; }
.section-dark .icon-tile { color: #6BA3E8; }
.section-dark .pillar.highlight { border-color: #6BA3E8; }
.section-dark .card:hover, .section-dark .pillar:hover { background: rgba(27,58,107,.6); border-color: rgba(107,163,232,.4); box-shadow: 0 24px 48px -28px rgba(0,0,0,.6); }
.section-dark .industry-list li:hover, .section-dark .stats > div:hover { background: rgba(27,58,107,.7); }
.section-dark .about-art circle[fill="none"] { stroke: #E8EEF7; }
.section-dark .about-art circle[fill="#18376C"] { fill: #6BA3E8; }
.section-dark .about-art circle[fill="#1B5CA0"] { fill: #2A6DB5; }
/* The awareness panel sits on the dark band: a deeper glass with its own glows. */
.section-dark .awareness { background: rgba(13,26,51,.55); }
/* Band edges: a soft hairline glow so dark meets light gently. */
.section-dark::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(107,163,232,.5), transparent); }

/* ───────────── Motion ─────────────
   Calm, Ethereal motion: things drift, float and rise; nothing snaps or spins fast. */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(36px, -24px) scale(.94); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(27,92,160,.28); } 70%, 100% { box-shadow: 0 0 0 22px rgba(27,92,160,0); } }

@media (prefers-reduced-motion: no-preference) {
    /* Hero entrance, staggered */
    .hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
    .hero-copy > :nth-child(2) { animation-delay: .12s; }
    .hero-copy > :nth-child(3) { animation-delay: .24s; }
    .hero-copy > :nth-child(4) { animation-delay: .36s; }
    .hero-art { animation: rise 1.1s .2s cubic-bezier(.2,.7,.2,1) both; }

    /* Living atmosphere */
    .mist-blue { animation: drift-a 22s ease-in-out infinite; }
    .mist-lilac { animation: drift-b 26s ease-in-out infinite; }
    .mist-aqua { animation: drift-a 30s ease-in-out infinite reverse; }
    .orbits { animation: spin 140s linear infinite; }
    .orb { animation: float 7s ease-in-out infinite, pulse-ring 4s 1.5s ease-out infinite; }
    .fc-1 { animation: float 6s .4s ease-in-out infinite; }
    .fc-2 { animation: float 6.5s 1.6s ease-in-out infinite; }
    .fb-1 { animation: float 7.5s .9s ease-in-out infinite; }
    .fb-2 { animation: float 7s 2.2s ease-in-out infinite; }
    .about-art .orbit-art { animation: spin 160s linear infinite reverse; }

    /* Scroll reveal (site.js adds .is-pending only to below-the-fold elements) */
    .is-pending { opacity: 0; transform: translateY(24px); }
    .is-in { animation: rise .8s var(--d, 0ms) cubic-bezier(.2,.7,.2,1) both; }

    /* Buttons */
    .btn { position: relative; overflow: hidden; transition: background-color .25s, color .25s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
    .btn:hover { transform: translateY(-2px); }
    .btn:active { transform: translateY(0) scale(.98); }
    .btn-primary:hover { box-shadow: 0 10px 24px -10px rgba(27,92,160,.6); }
    .btn-primary::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
    .btn-primary:hover::after { animation: shine .9s ease; }
    .arr { display: inline-block; margin-left: .25em; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
    .btn:hover .arr, .link:hover .arr { transform: translateX(4px); }

    /* Cards */
    .card, .pillar, .stats > div, .industry-list li { transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .35s, border-color .35s, box-shadow .35s; }
    .card:hover, .pillar:hover { transform: translateY(-6px); background: rgba(255,255,255,.85); border-color: rgba(27,92,160,.28); box-shadow: 0 24px 48px -28px rgba(24,55,108,.35); }
    .industry-list li:hover, .stats > div:hover { transform: translateY(-3px); background: #fff; }
    .icon-tile { transition: background-color .35s, color .35s, transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s; }
    .card:hover .icon-tile, .contact-list li:hover .icon-tile { background: var(--nx-blue); border-color: var(--nx-blue); color: #fff; transform: rotate(-6deg) scale(1.06); }
    .pill-list li { transition: background-color .25s, color .25s, border-color .25s; }
    .card:hover .pill-list li { border-color: rgba(27,92,160,.3); }

    /* Nav + form */
    .nav a { transition: background-color .25s, color .25s; }
    .nav a:hover { color: var(--nx-blue); }
    .option { transition: background-color .2s, border-color .2s, transform .2s; }
    .option:hover { transform: translateY(-1px); }
    .field input, .field textarea { transition: border-color .2s, box-shadow .2s; }
    .form-success { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
}
