/* ChrysalisGold — site styles. Fonts are self-hosted (see assets/fonts). */
/* inter 400 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* inter 400 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* inter 400 greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-greek-ext.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* inter 400 greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* inter 400 vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* inter 400 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* inter 400 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* inter 500 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* inter 500 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* inter 500 greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-greek-ext.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* inter 500 greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* inter 500 vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* inter 500 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* inter 500 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* inter 600 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* inter 600 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* inter 600 greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-greek-ext.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* inter 600 greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* inter 600 vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* inter 600 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* inter 600 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* inter 700 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* inter 700 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* inter 700 greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-greek-ext.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* inter 700 greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* inter 700 vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* inter 700 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* inter 700 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* poppins 500 devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-devanagari.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* poppins 500 latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* poppins 500 latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* poppins 600 devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-devanagari.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* poppins 600 latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* poppins 600 latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* poppins 700 devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-devanagari.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* poppins 700 latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* poppins 700 latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0B110E; --bg2: #0F1712; --bg3: #0D140F;
  --ink: #E9EDE8; --muted: #9FB0A3;
  --gold: #E3B54A; --gold-soft: #F0D48A; --green: #3FBF7F;
  --line: rgba(255,255,255,0.07);
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Poppins', 'Inter', Arial, sans-serif;
}
html { background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: transparent; /* html carries the bg so the fixed matrix-rain canvas (z-index:-1) is visible */ -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(227,181,74,0.35); }
:focus-visible { outline: 2px solid #E3B54A; outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1); }
  [data-reveal].rv-in { opacity: 1; transform: none; }
}
.hov-arrow { display: inline-block; transition: transform .35s cubic-bezier(.16,1,.3,1); }
a:hover .hov-arrow, button:hover .hov-arrow { transform: translateX(6px); }
.img-anim { transition: transform .6s cubic-bezier(.16,1,.3,1), box-shadow .6s ease; }
.img-anim:hover { transform: scale(1.03) translateY(-4px); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes cg-kenburns { from { transform: scale(1); } to { transform: scale(1.14); } }
  .kenburns { animation: cg-kenburns 24s ease-in-out infinite alternate; }
}
@keyframes cg-rise { 0% { transform: translateY(100%); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(-100%); opacity: 0; } }
@keyframes cg-floor-glow { 0%, 100% { transform: translateX(-50%) scale(0.9); opacity: 0.6; } 50% { transform: translateX(-50%) scale(1.1); opacity: 1; } }
@keyframes cg-main-glow { from { opacity: 0.45; filter: blur(26px); } to { opacity: 0.7; filter: blur(16px); } }
@keyframes cg-grid-move { from { background-position: 0 0; } to { background-position: 0 40px; } }

/* ---- Navigation (responsive, replaces design-tool runtime) ---- */
.nav-desktop { display: flex; }
.nav-burger { display: none !important; }
@media (max-width: 919px) {
  .nav-desktop { display: none !important; }
  .nav-burger { display: inline-flex !important; }
}
.products-menu { display: none !important; }
.products-menu.open { display: flex !important; animation: cg-pop .22s ease; }
@keyframes cg-pop { from { opacity: 0; transform: translateX(-50%) translateY(-6px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.mobile-panel { display: none !important; }
.mobile-panel.open { display: flex !important; animation: cg-drop .28s ease; }
@keyframes cg-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Blog article prose (elevated panel so the article stands off the page bg) ---- */
.prose { font-size: 17px; line-height: 1.85; color: #C9D3CB;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px; padding: clamp(26px, 4.5vw, 52px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-top: 22px; }
.prose h2 { font-family: var(--font-head); font-size: 26px; line-height: 1.3; color: #FFFFFF; margin: 44px 0 16px; }
.prose h3 { font-family: var(--font-head); font-size: 20px; color: #FFFFFF; margin: 36px 0 12px; }
.prose p { margin: 0 0 20px; }
.prose a { color: var(--gold); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 26px; }
.prose li { margin-bottom: 10px; }
.prose strong { color: #FFFFFF; }
.prose em { color: #AEBBB1; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; margin: 30px auto 8px; }
.prose .img-caption { display: block; text-align: center; font-size: 13px; color: #7E8F83; margin-bottom: 26px; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 24px 0; padding: 6px 0 6px 20px; color: #AEBBB1; font-style: italic; }

/* hover states extracted from design */
.hv-navlink:hover { color:#FFFFFF;background:rgba(255,255,255,0.07) }
.hv-menuitem:hover { background:rgba(227,181,74,0.12);color:#E3B54A }
.hv-goldbtn:hover { background:#F0C55C }
.hv-soft:hover { background:rgba(255,255,255,0.07) }
.hv-greenline:hover { border-color:#3FBF7F;color:#3FBF7F }
.hv-card:hover { transform:translateY(-8px) scale(1.02);border-color:rgba(227,181,74,0.7);box-shadow:0 26px 56px rgba(0,0,0,0.5), 0 0 34px rgba(227,181,74,0.2);background:rgba(227,181,74,0.05) }
.hv-featured:hover { transform:translateY(-8px) scale(1.02);border-color:rgba(227,181,74,0.6);box-shadow:0 30px 64px rgba(0,0,0,0.5), 0 0 52px rgba(63,191,127,0.2);background:rgba(63,191,127,0.08) }
.hv-prodcard:hover { transform:translateY(-8px) scale(1.02);border-color:rgba(63,191,127,0.65);box-shadow:0 24px 52px rgba(0,0,0,0.45), 0 0 42px rgba(63,191,127,0.18);background:rgba(63,191,127,0.08); }
.hv-industry:hover { border-color:rgba(227,181,74,0.55);background:rgba(227,181,74,0.05) }
.hv-underline:hover { text-decoration:underline }
.hv-gold:hover { color:#E3B54A }

/* ---------- Long-form paragraph alignment (2026-07-07, matches live-site typography).
   Only wide body copy is justified; narrow card text stays left-aligned. No hyphens
   anywhere — hyphenation added ugly line-end dashes, reverted 2026-07-21. ---------- */
.prose p, p[style*="font-size:16.5px"], p[style*="font-size:17px"] { text-align: justify; }
[style*="text-align:center"] p, [style*="text-align: center"] p { text-align: center; }

/* ---------- Card typography (2026-07-21, FINAL): body copy left-aligned —
   justify created too many word gaps in narrow cards. text-wrap:pretty tidies
   the ragged right; text-wrap:balance evens out multi-line headings. ---------- */
.hv-card p { text-align: left; text-wrap: pretty; }
.hv-card h3 { text-wrap: balance; }

/* ---------- Card accent bar (2026-08-21) ----------
   Replaces the numbered 01/02/03 chips on feature cards. The numbers implied a
   sequence, but these are parallel capabilities — "Sentiment Analysis" is not
   step one of anything. A gold-to-lime rule carries both brand colours and
   makes no such claim. Extends on hover, matching the card's own lift. ---------- */
.cg-accent-bar {
  display: block;
  align-self: flex-start;   /* stop the flex column from stretching it full width */
  flex: none;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #F4C542, #9FE870);
  transition: width .45s cubic-bezier(.16,1,.3,1);
}
.hv-card:hover .cg-accent-bar,
.hv-featured:hover .cg-accent-bar,
.hv-prodcard:hover .cg-accent-bar,
.hv-industry:hover .cg-accent-bar,
.hv-card.is-selected .cg-accent-bar,
.hv-featured.is-selected .cg-accent-bar,
.hv-prodcard.is-selected .cg-accent-bar,
.hv-industry.is-selected .cg-accent-bar { width: 76px; }

@media (prefers-reduced-motion: reduce) {
  .cg-accent-bar { transition: none; }
}

/* ---------- Premium travelling-light border (2026-08-13) ----------
   A beam of light orbits the card edge on hover. Built as a conic-gradient
   whose start angle is animated, then masked down to just the 1.5px rim.

   Why an animated custom property and not a rotated element: the usual trick
   is to spin an oversized pseudo-element and cover its middle with an opaque
   inner layer. That is GPU-cheap but it would make the cards opaque, and these
   cards are deliberately translucent — the neural-constellation canvas shows
   through them. mask-composite keeps the centre genuinely transparent.

   Cost is contained: the animation is paused unless the card is hovered or
   selected, so at most one card ever repaints at a time.

   Existing hover glow, lift and background shift are untouched — this layer
   sits on top of them. ---------- */
@property --cg-beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.hv-card,
.hv-featured,
.hv-prodcard,
.hv-industry { position: relative; }

.hv-card::before,
.hv-featured::before,
.hv-prodcard::before,
.hv-industry::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;          /* respects each card's own corner radius */
  padding: 1.5px;                  /* = beam thickness */
  pointer-events: none;            /* must not swallow the click-to-select */

  /* A comet: mostly transparent, ramping into a bright gold->lime core.
     Stops are eased in and out so nothing ever hard-edges or blinks. */
  background: conic-gradient(
    from var(--cg-beam-angle),
    rgba(244,197,66,0)    0deg,
    rgba(244,197,66,0)   38deg,
    rgba(244,197,66,0.10) 56deg,
    rgba(247,231,161,0.45) 72deg,
    rgba(244,197,66,0.95) 84deg,
    rgba(247,231,161,1)   90deg,
    rgba(159,232,112,0.95) 97deg,
    rgba(159,232,112,0.40) 110deg,
    rgba(159,232,112,0.08) 130deg,
    rgba(159,232,112,0)  152deg,
    rgba(244,197,66,0)   360deg
  );

  /* Punch out the middle so only the rim shows and the card stays see-through */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;

  /* drop-shadow follows the beam's alpha shape, so the glow travels with it */
  filter: drop-shadow(0 0 5px rgba(244,197,66,0.45));

  opacity: 0;
  transition: opacity .5s ease;
  animation: cg-beam-orbit 4.5s linear infinite;
  animation-play-state: paused;    /* nothing runs until hover/selection */
}

.hv-card:hover::before,
.hv-featured:hover::before,
.hv-prodcard:hover::before,
.hv-industry:hover::before,
.hv-card:focus-visible::before,
.hv-featured:focus-visible::before,
.hv-prodcard:focus-visible::before,
.hv-industry:focus-visible::before,
.hv-card.is-selected::before,
.hv-featured.is-selected::before,
.hv-prodcard.is-selected::before,
.hv-industry.is-selected::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes cg-beam-orbit {
  to { --cg-beam-angle: 360deg; }
}

/* Reduced motion: keep the premium rim, drop the travel. */
@media (prefers-reduced-motion: reduce) {
  .hv-card::before,
  .hv-featured::before,
  .hv-prodcard::before,
  .hv-industry::before { animation: none; }
}

/* ---------- Click-to-select cards (2026-08-12) ----------
   Cards already lift on hover, but hover does not exist on touch devices and
   the highlight vanishes the moment the pointer leaves. `.is-selected` is
   toggled by site.js on click and makes that same highlight stick, with a
   thicker gold border so the chosen card reads clearly. Applied only to cards
   that are NOT wrapped in a link — those navigate instead. ---------- */
.hv-card.is-selected,
.hv-featured.is-selected,
.hv-prodcard.is-selected,
.hv-industry.is-selected {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(227,181,74,0.7) !important;
  box-shadow: 0 26px 56px rgba(0,0,0,0.55), 0 0 40px rgba(227,181,74,0.32) !important;
  background: rgba(227,181,74,0.07) !important;
}
/* NB: border-width is deliberately left at 1px. Thickening it would reflow the
   card's contents by a pixel on every select. The travelling beam above already
   marks the selected card, so the extra weight is unnecessary. */

/* Product cards keep their green identity on hover; selection is still gold
   so "selected" looks the same everywhere on the site. */
.hv-prodcard.is-selected h3,
.hv-card.is-selected h3 { color: #F0D48A; }

/* Selectable cards get a pointer cursor so it is discoverable that they click. */
.hv-card[data-selectable],
.hv-featured[data-selectable],
.hv-prodcard[data-selectable],
.hv-industry[data-selectable] { cursor: pointer; }

/* Keyboard focus ring — these become tabbable, so focus must be visible. */
.hv-card[data-selectable]:focus-visible,
.hv-featured[data-selectable]:focus-visible,
.hv-prodcard[data-selectable]:focus-visible,
.hv-industry[data-selectable]:focus-visible {
  outline: 2px solid #E3B54A;
  outline-offset: 3px;
}

/* hv-industry cards carry no inline transition, unlike the others. */
.hv-industry { transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .45s ease, box-shadow .45s ease, background .45s ease; }

@media (prefers-reduced-motion: reduce) {
  .hv-card.is-selected,
  .hv-featured.is-selected,
  .hv-prodcard.is-selected,
  .hv-industry.is-selected { transform: none; }
}

/* ---------- Blog index cards: strong hover highlight (2026-07-07) ---------- */
.hv-blogcard:hover { transform: translateY(-6px);
  border-color: rgba(227,181,74,0.75) !important;
  box-shadow: 0 24px 56px rgba(0,0,0,0.5), 0 0 34px rgba(227,181,74,0.22); }
.hv-blogcard:hover h2 { color: #F0D48A; }
.hv-blogcard h2 { transition: color .3s ease; }

/* ---------- Product "in action" animated panels (2026-07-07) ---------- */
.cg-panel { background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 70px rgba(0,0,0,0.35); }
.cg-vbar { transform-origin: bottom; border-radius: 6px 6px 2px 2px; }
.cg-hbar { transform-origin: left; border-radius: 4px; height: 10px; display: block; }
.cg-dot-alert { width: 12px; height: 12px; border-radius: 50%; background: #E3B54A; box-shadow: 0 0 14px rgba(227,181,74,0.8); }
.cg-dot-ok { width: 10px; height: 10px; border-radius: 50%; background: #3FBF7F; box-shadow: 0 0 10px rgba(63,191,127,0.6); }
.cg-typedot { width: 8px; height: 8px; border-radius: 50%; background: #E3B54A; display: inline-block; }
.cg-scanwrap { position: relative; overflow: hidden; }
.cg-scanline { position: absolute; top: 0; bottom: 0; width: 26%; background: linear-gradient(90deg, transparent, rgba(227,181,74,0.14), transparent); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .cg-vbar { animation: cg-vgrow 3.6s cubic-bezier(.16,1,.3,1) infinite; }
  .cg-hbar { animation: cg-hgrow 4s cubic-bezier(.16,1,.3,1) infinite; }
  .cg-dot-alert { animation: cg-pulse 1.6s ease-in-out infinite; }
  .cg-typedot { animation: cg-pulse 1.2s ease-in-out infinite; }
  .cg-scanline { animation: cg-scan 3.2s linear infinite; }
  .cg-wave { stroke-dasharray: 12 8; animation: cg-wavemove 1.6s linear infinite; }
  .cg-float { animation: cg-float 5s ease-in-out infinite; }
}
@keyframes cg-vgrow { 0% { transform: scaleY(0.15); } 45% { transform: scaleY(1); } 70% { transform: scaleY(1); } 100% { transform: scaleY(0.15); } }
@keyframes cg-hgrow { 0% { transform: scaleX(0.08); } 50% { transform: scaleX(1); } 75% { transform: scaleX(1); } 100% { transform: scaleX(0.08); } }
@keyframes cg-pulse { 0%, 100% { opacity: 0.35; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes cg-scan { 0% { transform: translateX(-110%); } 100% { transform: translateX(490%); } }
@keyframes cg-wavemove { to { stroke-dashoffset: -40; } }
@keyframes cg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
