/*
 * RareCyte — Shared Stylesheet
 * Compiled from: index.html, orion-overview.html, orion-instruments.html,
 *               orion-panels.html, orion-applications.html
 */

/* ============================================================
   RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #141720; }
::-webkit-scrollbar-thumb { background: #122e43; border-radius: 3px; }

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --white:    #ffffff;
    --navy:     #206092;
    --navy-l:   #3a7fbf;
    --navy-xl:  #67c8e8;
    --gold:     #F4B324;
    --gold-d:   #d99b1a;
    --mist:     #ccd8e0;
    --bg:       #09090f;
    --bg2:      #0e1016;
    --bg3:      #141720;
    --bg4:      #122e43;
    --bg5:      rgba(14,16,22,0.9);
    --border:   rgba(184,200,211,0.11);
    --border-m: rgba(184,200,211,0.22);
    --text:     #eef2f6;
    --body:     rgba(210,222,230,0.82);
    --muted:    rgba(210,222,230,0.62);
    --dim:      rgba(210,222,230,0.48);
}

/* ============================================================
   BODY & TYPOGRAPHY
   ============================================================ */
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

.grid-bg { background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px); background-size: 64px 64px; }

.label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: 'Inter', sans-serif; }
.label::before { content: ''; width: 9px; height: 1px; background: var(--gold); flex-shrink: 0; }

.grad-text { background: linear-gradient(135deg, var(--gold), #f0c85a, #ffe8a0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gold-text  { background: linear-gradient(135deg, var(--gold), #f0c85a, #f0c85a);  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary { background: var(--gold-d); color: #0e1016; padding: 14px 32px; border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s; cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.btn-primary:hover { background: var(--gold); box-shadow: 0 8px 28px rgba(244,179,36,0.3); transform: translateY(-1px); }

.btn-gold { background: transparent; color: var(--gold); padding: 14px 32px; border-radius: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s; cursor: pointer; border: 1px solid rgba(244,179,36,0.45); font-family: 'Inter', sans-serif; }
.btn-gold:hover { background: rgba(244,179,36,0.08); border-color: rgba(244,179,36,0.75); }

.btn-ghost { background: transparent; color: var(--muted); padding: 14px 32px; border-radius: 8px; font-size: 14px; font-weight: 400; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s; border: 1px solid rgba(210,222,230,0.3); cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-ghost:hover { background: rgba(210,222,230,0.06); border-color: rgba(210,222,230,0.5); color: var(--text); }

.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 101; background: rgba(9,9,15,0.70); backdrop-filter: blur(5px); border-bottom: 1px solid var(--border); }
.nav-inner { width: 100%; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; padding-left: 28px; justify-self: start; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; justify-content: center; }
.nav-right { display: flex; align-items: center; gap: 20px; justify-self: end; padding-right: 24px; }

.nav-item { position: relative; }
.nav-item > a {
    font-size: 15px; letter-spacing: 0.01em; text-transform: none;
    color: lightgrey; text-decoration: none;
    font-family: 'Inter', sans-serif; display: flex; align-items: center;
    gap: 5px; padding: 8px 12px; border-radius: 6px 6px 0 0; white-space: nowrap;
    border-bottom: 2px solid transparent; transition: border-color 0.2s;
}
.nav-item > a:hover, .nav-item:hover > a { border-bottom-color: var(--gold); background: none; }

.nav-dropdown {
    position: absolute; top: calc(100% + 10px); left: 0;
    transform: translateY(-6px);
    background: rgba(10,12,18,0.98); backdrop-filter: blur(28px);
    border: 1px solid var(--border-m); border-radius: 14px;
    padding: 8px; min-width: 200px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.50s ease, transform 0.18s ease, visibility 0.18s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 200;
}
.nav-dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }

.nav-dropdown--2col { display: flex; min-width: 600px; padding: 16px 8px; gap: 0; }
.nav-dropdown-col { flex: 1; padding: 4px 16px; }
.nav-dropdown-col + .nav-dropdown-col { border-left: 0px solid var(--border); }
.nav-col-header { font-size: 15px; letter-spacing: 0.05em; text-transform: capitalize; color: var(--gold); opacity: 0.9; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid var(--border-m); }

.nav-dropdown a { display: block; font-size: 15px; color: rgba(210,222,230,0.95); text-decoration: none; padding: 8px 10px; border-radius: 7px; transition: color 0.15s, background 0.15s; letter-spacing: 0.01em; text-transform: none; font-family: 'Inter', sans-serif; white-space: nowrap; }
.nav-dropdown a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-dropdown--1col { min-width: 250px; padding: 8px; }
.nav-dropdown--1col a { padding: 9px 12px; }

.nav-portal { display: flex; align-items: center; justify-content: center; width: 36px; height: 34px; border-radius: 8px; border: 0px solid var(--border); color: var(--muted); text-decoration: none; transition: all 0.2s; }
.nav-portal:hover { border-color: var(--border-m); color: white; background: rgba(255,255,255,0.05); }

.nav-portal-text { display: flex; align-items: center; justify-content: center; width: 88px; height: 34px; border-radius: 8px; border: 0px solid var(--border); color: var(--muted); text-decoration: none; transition: all 0.2s; }
.nav-portal-text:hover { border-color: var(--border-m); color: white; background: rgba(255,255,255,0.05); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.ann-bar { position: fixed; top: 64px; left: 0; right: 0; z-index: 100; background: var(--bg4); border-bottom: 1px solid rgba(58,127,191,0.35); padding: 10px 40px; display: flex; align-items: center; justify-content: center; }
.ann-badge { background: rgba(32,96,146,0.80); color: white; font-size: 9px; letter-spacing: 0.15em; text-transform: none; padding: 3px 10px; border-radius: 4px; font-family: 'Inter', sans-serif; flex-shrink: 0; }
.ann-text { font-size: 14px; color: rgba(255,255,255,0.88); font-family: 'Inter', sans-serif; text-align: center; flex: 1; padding: 0 12px; }
.ann-text a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(244,179,36,0.4); }
.ann-close { flex-shrink: 0; background: none; border: none; color: rgba(255,255,255,0.5); cursor: pointer; font-size: 18px; line-height: 1; padding: 0; width: 28px; text-align: right; }

/* ============================================================
   HERO — index.html (full-viewport video)
   ============================================================ */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    justify-content: center; padding: 180px 40px 120px; text-align: left; overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero-video-overlay { position: absolute; inset: 0; background: rgba(9,9,15,0.55); z-index: 1; pointer-events: none; }
.hero-glow      { position: absolute; top: 5%; left: 50%; transform: translateX(-50%); width: 80%; height: 70%; background: radial-gradient(ellipse, rgba(32,96,146,0.11) 0%, transparent 65%); pointer-events: none; z-index: 2; }
.hero-glow-gold { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50%; height: 35%; background: radial-gradient(ellipse, rgba(244,179,36,0.05) 0%, transparent 65%); pointer-events: none; z-index: 2; }

/* ============================================================
   HERO — inner pages (static image, set bg-image inline per page)
   ============================================================ */
.hero-inner {
    position: relative; height: 600px; display: flex; align-items: center;
    padding: 0 40px; overflow: hidden;
}
.hero-inner::before { content: ''; position: absolute; inset: 0; background: rgba(9,9,15,0.62); z-index: 1; pointer-events: none; }
.hero-inner > * { position: relative; z-index: 2; }

/* ============================================================
   HERO — inner pages (static image, set bg-image inline per page)
   ============================================================ */
.hero-inner-small {
    position: relative; height: 360px; display: flex; align-items: center;
    padding: 0 40px; overflow: hidden;
}
.hero-inner-small::before { content: ''; position: absolute; inset: 0; background: rgba(9,9,15,0.62); z-index: 1; pointer-events: none; }
.hero-inner-small > * { position: relative; z-index: 2; }

/* ============================================================
   HERO — blog pages (static image, set bg-image inline per page)
   ============================================================ */
.hero-inner-blog {
    position: relative; height: 150px; display: flex; align-items: center;
    padding: 0 40px; overflow: hidden;
}
.hero-inner-small::before { content: ''; position: absolute; inset: 0; background: rgba(9,9,15,0.62); z-index: 1; pointer-events: none; }
.hero-inner-small > * { position: relative; z-index: 2; }

.hero-inner-small-bright {
    position: relative; height: 360px; display: flex; align-items: center;
    padding: 0 40px; overflow: hidden;
}
.hero-inner-small-bright-bright::before { content: ''; position: absolute; inset: 0; background: rgba(9,9,15,0.62); z-index: 1; pointer-events: none; }
.hero-inner-small > * { position: relative; z-index: 2; }

/* Hero with grid overlay (instruments / applications short hero) */
.hero-page {
    position: relative; min-height: 72vh; display: flex; align-items: center;
    padding: 180px 40px 120px; overflow: hidden; background: var(--bg);
}
.hero-grid  { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px); background-size: 64px 64px; }
.hero-glow2 { position: absolute; bottom: -10%; right: 5%; width: 40%; height: 60%; background: radial-gradient(ellipse, rgba(244,179,36,0.05) 0%, transparent 65%); pointer-events: none; }
.hero-glow3 { position: absolute; top: 0; left: 40%; transform: translateX(-50%); width: 70%; height: 80%; background: radial-gradient(ellipse, rgba(32,96,146,0.13) 0%, transparent 65%); pointer-events: none; }

/* ============================================================
   CARDS
   ============================================================ */
.card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.card:hover { border-color: rgba(244,179,36,0.2); transform: translateY(0px); }

.pimg { height: 240px; overflow: hidden; position: relative; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.pimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg2) 0%, transparent 55%); }

.pimg2 { height: 350px; overflow: hidden; position: relative; }
.pimg2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.pimg2::after { content: ''; position: absolute; inset: 0; }

.pimg-blog { height: 100%; overflow: hidden; position: relative; }
.pimg-blog img { width: 100%; height: 100%; object-fit: scale-down; transition: transform 0.6s; }
.pimgblog::after { content: ''; position: absolute; inset: 0; }

.stan-pimg { height: 100%; overflow: hidden; position: relative; }
.stan-pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.stan-pimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg2) 0%, transparent 0%); }

/* Tile card */
.tile { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 36px 32px; transition: border-color 0.3s, transform 0.3s; }
.tile:hover { border-color: rgba(244,179,36,0.25); transform: translateY(-2px); }
.tile-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(32,96,146,0.18); border: 1px solid rgba(58,127,191,0.22); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }

/* Advantage card */
.adv-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 36px 32px; transition: border-color 0.3s; }
.adv-card:hover { border-color: rgba(244,179,36,0.25); }
.adv-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(32,96,146,0.18); border: 1px solid rgba(58,127,191,0.22); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }

/* Platform card */
.platform-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 36px 32px; display: flex; flex-direction: column; transition: border-color 0.3s; }
.platform-card:hover { border-color: rgba(244,179,36,0.25); }

/* Why card */
.why-card { background: var(--bg5); opacity: 0.5; border: 1px solid var(--border); border-radius: 16px; padding: 36px 32px; transition: border-color 0.3s, transform 0.3s; }
.why-card:hover { border-color: rgba(244,179,36,0.2); transform: translateY(0px); }
.why-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(32,96,146,0.18); border: 1px solid rgba(58,127,191,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }

/* News card */
.news-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 30px 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color 0.3s, background 0.3s; }
.news-card:hover { background: var(--bg3); border-color: rgba(244,179,36,0.2); }
.news-src { font-size: 10px; letter-spacing: 0.2em; text-transform: none; color: var(--gold); margin-bottom: 14px; opacity: 0.85; }
.news-ttl { font-size: 17px; font-weight: 400; line-height: 1.35; margin-bottom: 12px; flex-grow: 1; color: var(--text); }
.news-by { font-size: 12px; color: var(--dim); line-height: 1.5; margin-bottom: 20px; }
.news-arrow { font-size: 11px; letter-spacing: 0.14em; color: var(--gold); display: flex; align-items: center; gap: 6px; transition: gap 0.2s; opacity: 0.85; }
.news-card:hover .news-arrow { gap: 10px; opacity: 1; }

/* Publication card */
.pub-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 36px; text-decoration: none; color: inherit; display: flex; gap: 32px; align-items: flex-start; transition: border-color 0.3s; }
.pub-card:hover { background: var(--bg3); border-color: rgba(244,179,36,0.2); }
.pub-badge { flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: 0.1em; text-transform: none; font-weight: 500; }

/* Resource card */
.resource-card { border: 0px solid var(--border); border-radius: 12px; padding: 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color 0.3s, background 0.3s; }
.resource-card:hover { border-color: rgba(244,179,36,0.0); }
.resource-type  { font-size: 10px; letter-spacing: 0.2em; text-transform: none; color: var(--gold); opacity: 0.85; margin-bottom: 12px; }
.resource-title { font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--text); margin-bottom: auto; padding-bottom: 16px; }
.resource-arrow { font-size: 11px; letter-spacing: 0.12em; text-transform: none; color: var(--gold); opacity: 0.85; align-items: center;}

/* Application image card */
.app-img-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.3s; }
.app-img-card:hover { border-color: rgba(244,179,36,0.25); }
.app-img-card img { width: 100%; height: 220px; object-fit: cover; object-position: center; display: block; }

/* Media card */
.media-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.3s; }
.media-card:hover { border-color: rgba(244,179,36,0.25); }
.media-card img   { height: 280px; width: auto; display: block; }
.media-card video { height: 280px; width: auto; display: block; }

/* ============================================================
   LISTS
   ============================================================ */
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--body); line-height: 1.65; }
.feat-list li::before { content: ''; width: 14px; height: 1px; background: var(--gold); margin-top: 11px; flex-shrink: 0; opacity: 0.7; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--body); line-height: 1.6; }
.check-list li::before { content: '✓'; color: var(--gold); font-size: 13px; flex-shrink: 0; margin-top: 2px; font-weight: 500; }

.disc-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.disc-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--body); line-height: 1.6; }
.disc-list li::before { content: '*'; color: var(--gold); font-size: 13px; flex-shrink: 0; margin-top: 2px; font-weight: 500; }

.disc-list-large { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.disc-list-large li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--body); line-height: 1.6; }
.disc-list-large li::before { content: '*'; color: var(--gold); font-size: 13px; flex-shrink: 0; margin-top: 2px; font-weight: 500; }

/* ============================================================
   STATS
   ============================================================ */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.stat-cell { background: var(--bg2); padding: 28px 24px; }
.stat-num { font-size: 42px; font-weight: 300; line-height: 1; margin-bottom: 6px; color: var(--gold); }
.stat-lbl { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); line-height: 1.5; }

/* ============================================================
   TESTIMONIAL CAROUSEL
   ============================================================ */
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.carousel-slide { min-width: 100%; padding: 0 16px; }
.testimonial-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; opacity: 0.95; padding: 48px 52px; max-width: 820px; margin: 0 auto; text-align: center; }

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 48px 52px; }
.quote-text { font-size: 18px; color: var(--body); line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.quote-attr { font-size: 13px; color: var(--gold); letter-spacing: 0.06em; line-height: 1.6; }
.quote-comp { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; line-height: 1.6; }
.quote-link { font-size: 13px; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(217,155,26,0.50); transition: border-color 0.2s; margin-top: 16px; display: inline-block; }
.quote-link:hover { border-bottom-color: var(--gold); }


/* ============================================================
   PARAGRAPH LINKS BLOCK
   ============================================================ */
.paragraph-link { font-size: 17px; color: var(--gold); text-decoration: none; border-bottom: 0px solid rgba(217,155,26,0.50); transition: border-color 0.2s; display: inline-block; }
.paragraph-link:hover { border-bottom-color: var(--gold); }


/* ============================================================
   MOBILE NAV CONTACTU US LINK
   ============================================================ */
.mobilenav-link { font-size: 14px; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(217,155,26,0.50); transition: border-color 0.2s; margin-top: 16px; display: inline-block; }
.mobilenav-link:hover { border-bottom-color: var(--gold); }

/* ============================================================
   HYPERLINK IN GOLD
   ============================================================ */
.hyperlink-link { font-size: 13px; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(217,155,26,0.50); transition: border-color 0.2s; display: inline-block; }
.hyperlink-link:hover { border-bottom-color: var(--gold); }

/* ============================================================
   STEP COMPONENTS
   ============================================================ */
.step-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(32,96,146,0.15); border: 1px solid rgba(58,127,191,0.25); border-radius: 24px; padding: 6px 16px; font-size: 11px; letter-spacing: 0.12em; text-transform: none; color: var(--navy-xl); margin-bottom: 16px; }

.workflow-step { background: var(--bg2); border: 0px solid var(--border); border-radius: 16px; padding: 32px 28px; position: relative; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: rgba(244,179,36,0.12); border: 1px solid rgba(244,179,36,0.35); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 20px; }

/* ============================================================
   VIDEO BOX
   ============================================================ */
.video-box { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 16/9; }
.video-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-label { position: absolute; bottom: 16px; left: 16px; background: rgba(9,9,15,0.75); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font-size: 11px; letter-spacing: 0.1em; text-transform: none; color: var(--muted); }

/* ============================================================
   ATLAS BANNER
   ============================================================ */
.atlas-banner { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--bg3); }
.atlas-banner img { width: 100%; height: 280px; object-fit: cover; display: block; }
.atlas-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,9,15,0.82) 0%, rgba(9,9,15,0.3) 60%, transparent 100%); }
.atlas-content { position: absolute; inset: 0; display: flex; align-items: center; padding: 48px; z-index: 2; }

/* ============================================================
   IMAGE BANNER
   ============================================================ */
.image-banner { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--bg3); }
.image-banner img { width: 100%; height: 280px; object-fit: cover; display: block; }
.image-banner::after { content: ''; position: absolute; inset: 0; }
.image-content { position: absolute; inset: 0; display: flex; align-items: center; padding: 48px; z-index: 2; }
.image-label { position: absolute; bottom: 16px; left: 16px; background: rgba(9,9,15,0.75); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }

/* ============================================================
   IMAGE BANNER
   ============================================================ */
.image-window { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--bg3); }
.image-window img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-window::after { content: ''; position: absolute; inset: 0; }
.image-content { position: absolute; inset: 0; display: flex; align-items: center; padding: 48px; z-index: 2; }

.image-window-no-border { position: relative; overflow: hidden; }
.image-window-no-border img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-window-no-border::after { content: ''; position: absolute; inset: 0; }
.image-content-no-border { position: absolute; inset: 0; display: flex; align-items: center; padding: 48px; z-index: 2; }

/* ============================================================
   INSTRUMENT ROW (orion-instruments.html)
   ============================================================ */
.instrument-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; background: #000; border-radius: 20px; overflow: hidden; }
.instrument-img { position: relative; overflow: hidden; }
.instrument-img img { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; padding: 40px; min-height: 380px; }
.instrument-copy { padding: 52px; }
.instrument-tag { display: inline-block; font-size: 9px; letter-spacing: 0.22em; text-transform: none; color: var(--navy-xl); background: rgba(32,96,146,0.18); border: 1px solid rgba(58,127,191,0.25); border-radius: 20px; padding: 4px 14px; margin-bottom: 18px; }

/* ============================================================
   COMPARISON TABLE (orion-instruments.html)
   ============================================================ */
.compare-table-wrap { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-size: 14px; letter-spacing: 0.12em; color: var(--gold); font-weight: 500; background: var(--bg3); border-bottom: 1px solid var(--border-m); }
.compare-table thead th:first-child { border-radius: 14px 0 0 0; text-align: left; }
.compare-table thead th:last-child  { border-radius: 0 14px 0 0; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table td:first-child { color: var(--muted); font-size: 16px; text-align: left; font-weight: 700; }
.compare-table td:not(:first-child) { color: var(--muted); font-weight: 400; }
.compare-table .check { color: var(--gold); font-size: 16px; }
.compare-table .dash  { color: var(--dim); }

/* ============================================================
   TECH TILES & FORM (orion-instruments.html)
   ============================================================ */
.tech-tile { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; transition: border-color 0.3s; }
.tech-tile:hover { border-color: rgba(244,179,36,0.2); }
.tech-num { font-size: 10px; letter-spacing: 0.2em; text-transform: none; color: var(--gold); opacity: 0.85; margin-bottom: 10px; }

.form-input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: var(--text); font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: rgba(244,179,36,0.45); }
.form-input::placeholder { color: var(--dim); }
.form-label { font-size: 11px; letter-spacing: 0.08em; text-transform: none; color: var(--mist); margin-bottom: 6px; display: block; }

.footer-form-input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: var(--text); font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; }
.footer-form-input:focus { border-color: rgba(244,179,36,0.45); }
.footer-form-input::placeholder { color: var(--gold); }
.footer-form-label { font-size: 11px; letter-spacing: 0.08em; text-transform: none; color: var(--mist); margin-bottom: 6px; display: block; }

/* ============================================================
   SCROLL REVEAL & ANIMATIONS
   ============================================================ */
.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-reveal { opacity: 0; transform: translateY(20px); }
.js-reveal.visible { opacity: 1; transform: translateY(0); }

.reveal2 { background-image: url("https://rarecyte.com/wp-content/uploads/2025/09/header-21.jpg"); align-content: flex-end; background-repeat: no-repeat; opacity: 0.75; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal3 { background-image: url("https://rarecyte.com/wp-content/uploads/2024/12/inner-bg-04.jpg"); align-content: flex-end; background-repeat: no-repeat; opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal4 { background-image: url("https://rarecyte.com/wp-content/uploads/2026/03/CTA-bgrd-mouse-ileum.jpg"); align-content: flex-end; background-repeat: no-repeat; opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }

@keyframes pulse   { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes fadeUp  { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

.a1 { animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.10s both; }
.a2 { animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.28s both; }
.a3 { animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.44s both; }
.a4 { animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.60s both; }
.a5 { animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.76s both; }


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — HAMBURGER NAV  (always loaded, shown only on mobile)
   ════════════════════════════════════════════════════════════════ */

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.06); border-color: var(--border-m); }
.nav-hamburger span {
    display: block;
    width: 18px; height: 1.5px;
    background: var(--mist);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.25s ease, width 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — full-height panel below the nav bar */
.nav-mobile-menu {
    display: none;          /* block only at ≤ 768 px */
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(9,9,15,0.98);
    backdrop-filter: blur(28px);
    border-top: 1px solid var(--border);
    z-index: 99;
    overflow-y: auto;
    padding: 8px 0 80px;
    /* slide-in animation */
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.nav-mobile-menu.open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
}

/* Accordion item */
.nms-item { border-bottom: 1px solid var(--border); }

.nms-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 17px 24px;
    background: none; border: none; cursor: pointer;
    font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 400;
    color: var(--text); text-align: left;
    transition: background 0.15s;
}
.nms-toggle:hover { background: rgba(255,255,255,0.03); }

.nms-chevron {
    font-size: 10px; color: var(--dim);
    transition: transform 0.25s ease;
    line-height: 1; flex-shrink: 0; margin-left: 8px;
}
.nms-item.open .nms-chevron { transform: rotate(180deg); }

.nms-body {
    display: none;
    padding: 4px 0 12px;
    background: rgba(255,255,255,0.012);
}
.nms-item.open .nms-body { display: block; }

.nms-subhead {
    font-size: 10px; letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold); opacity: 0.85;
    padding: 14px 28px 5px;
}
.nms-body a {
    display: block; font-size: 15px; color: var(--body);
    text-decoration: none; padding: 10px 36px;
    font-family: 'Inter', sans-serif;
    transition: color 0.15s, background 0.15s;
}
.nms-body a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

/* Plain top-level links (no accordion) */
.nms-link {
    display: block; font-size: 16px; color: var(--text);
    text-decoration: none; padding: 17px 24px;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.nms-link:hover { background: rgba(255,255,255,0.03); }

/* CTA buttons at the bottom of mobile menu */
.nms-cta {
    padding: 28px 24px 8px;
    display: flex; gap: 12px; flex-wrap: wrap;
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024 px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

    /* Reduce horizontal section padding */
    section { padding-left: 24px !important; padding-right: 24px !important; }

    /* Shrink oversized column gaps */
    [style*="gap:100px"] { gap: 52px !important; }
    [style*="gap:80px"]  { gap: 40px !important; }

    /* 3-col → 2-col */
    [style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: repeat(2,1fr) !important;
    }
    /* 4-col → 2-col */
    [style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2,1fr) !important;
    }

    /* Hero inner: let it grow naturally instead of fixed 750 px */
    .hero-inner {
        height: auto !important;
        min-height: 520px;
        padding-top: 120px !important;
        padding-bottom: 64px !important;
    }

    /* Instrument row: already uses .instrument-row class */
    .instrument-row { grid-template-columns: 1fr !important; }

    /* Footer: 5-col → 3-col */
    [style*="grid-template-columns:2.2fr 1fr 1fr 1fr 1fr"] {
        grid-template-columns: 2fr 1fr 1fr !important;
        gap: 32px !important;
    }
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768 px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Navigation ──────────────────────────────── */
    .nav-links                  { display: none !important; }
    .nav-right .nav-portal      { display: none !important; }
    .nav-hamburger              { display: flex !important; }
    .nav-mobile-menu            { display: block; }   /* .open drives visibility */
    .nav-inner {
        grid-template-columns: 1fr auto !important;
        padding-left: 20px; padding-right: 12px;
    }

    /* ── Section padding ─────────────────────────── */
    section { padding-left: 20px !important; padding-right: 20px !important; }
    section[style*="padding:100px 40px"] { padding-top: 64px  !important; padding-bottom: 64px  !important; }
    section[style*="padding:80px 40px"]  { padding-top: 52px  !important; padding-bottom: 52px  !important; }
    section[style*="padding:120px 40px"] { padding-top: 72px  !important; padding-bottom: 72px  !important; }

    /* ── Hero ────────────────────────────────────── */
    .hero       { padding: 100px 20px 72px !important; }
    .hero-inner {
        height: auto !important; min-height: 0;
        padding: 100px 20px 56px !important;
    }

    /* ── All 2-col grids → 1-col ─────────────────── */
    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* ── All 3-col grids → 1-col ─────────────────── */
    [style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    /* ── 4-col grids → 2-col ─────────────────────── */
    [style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2,1fr) !important;
        gap: 14px !important;
    }

    /* ── Footer ──────────────────────────────────── */
    [style*="grid-template-columns:2.2fr 1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
    }
    footer > div[style*="padding:60px 40px"] {
        padding-left: 20px !important; padding-right: 20px !important;
        padding-top: 48px !important;
    }
    footer [style*="justify-content:space-between"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    /* ── Comparison table: horizontal scroll ─────── */
    .compare-table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    .compare-table      { min-width: 520px; }
    .compare-table th, .compare-table td {
        padding: 12px 12px !important;
        font-size: 12px !important;
    }

    /* ── Quote block ─────────────────────────────── */
    .quote-block  { padding: 28px 22px !important; flex-direction: column !important; gap: 20px !important; }
    .quote-text   { font-size: 16px !important; }

    /* ── Testimonial card ───────────────────────── */
    .testimonial-card { padding: 32px 22px !important; }

    /* ── Instrument row ─────────────────────────── */
    .instrument-row  { grid-template-columns: 1fr !important; }
    .instrument-copy { padding: 32px 24px !important; }
    .instrument-img img { min-height: 240px !important; }

    /* ── Atlas banner ───────────────────────────── */
    .atlas-banner img  { height: 280px !important; }
    .atlas-content     { padding: 28px !important; }
    .atlas-content h3  { font-size: 22px !important; }

    /* ── Research Spotlight / horizontal news cards → vertical ── */
    a.news-card[style*="flex-direction:row"],
    .news-card[style*="flex-direction:row"] {
        flex-direction: column !important;

        gap: 16px !important;
        padding: 22px !important;
    }
    /* Keep thumbnail from being too tall when stacked */
    a.news-card[style*="flex-direction:row"] > div:first-child,
    .news-card[style*="flex-direction:row"] > div:first-child {
        width: 88px !important; height: 88px !important;
    }

    /* ── Media row (orion-applications) — stack vertically ─── */
    #media-row { flex-direction: column !important; gap: 12px !important; }
    #media-row .media-card { width: 100% !important; flex-shrink: 1 !important; }
    #media-row .media-card img,
    #media-row .media-card video {
        width: 100% !important; height: 220px !important;
        object-fit: cover !important;
    }

    /* ── App image cards (response-to-therapy row) ─── */
    .app-img-card       { width: 100% !important; }
    .app-img-card img   { width: 100% !important; height: 180px !important; object-fit: cover !important; }

    /* ── Stat grid: keep 2-col even on mobile ─────── */
    .stat-grid { grid-template-columns: 1fr 1fr !important; }

    /* ── "As Featured On" ribbon ─────────────────── */
    [style*="padding:16px 40px"] { padding-left: 20px !important; padding-right: 20px !important; }

    /* ── Announcement bar ────────────────────────── */
    .ann-bar  { padding: 10px 20px; }
    .ann-text { font-size: 13px; }
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL PHONE  (≤ 480 px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* Tighten all horizontal gutters */
    section { padding-left: 16px !important; padding-right: 16px !important; }
    .hero       { padding: 90px 16px 60px !important; }
    .hero-inner { padding: 88px 16px 48px !important; }

    /* Footer: collapse to single column */
    [style*="grid-template-columns:2.2fr 1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    footer > div[style*="padding:60px 40px"] {
        padding-left: 16px !important; padding-right: 16px !important;
    }

    /* 3-col that was 2-col at 768: go to 1-col */
    [style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
    }
    /* 4-col → 1-col on tiny screens */
    [style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Research spotlight thumbnails — slightly smaller */
    a.news-card[style*="flex-direction:row"] > div:first-child,
    .news-card[style*="flex-direction:row"] > div:first-child {
        width: 76px !important; height: 76px !important;
    }

    /* Reduce instrument image height */
    .instrument-img img { min-height: 200px !important; }
}

/* ============================================================
   STEP BANNER  (orion-panels.html — 3-step workflow)
   Matches horizontal dark-banner style with large gold numbers
   ============================================================ */
.step-banner {
    display: flex;
    align-items: stretch;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
}

.step-banner__item {
    flex: 1;
    padding: 36px 36px 40px;
    display: flex;
    flex-direction: column;
}

/* Thin vertical gold rule between steps */
.step-banner__divider {
    width: 1px;
    background: rgba(244,179,36,0.28);
    flex-shrink: 0;
    margin: 24px 0;
}

/* Number + title on one line */
.step-banner__header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 14px;
}

.step-banner__num {
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    color: var(--gold);
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

.step-banner__grtnum {
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    color: var(--gold);
    flex-shrink: 0;
    letter-spacing: -0.02em;
    display: block;
    width: 100%;
    text-align: center;
}

.step-banner__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text);
    margin: 0;
}

.step-banner__title-gold {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--gold);
    margin: 0;
    width: 100%;
    text-align: center;
    display: block;
}

/* Gold rule below the header row */
.step-banner__rule {
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(244,179,36,0.90));
    border-radius: 1px;
    margin-bottom: 20px;
}

.step-banner__body {
    font-size: 14px;
    color: var(--body);
    line-height: 1.75;
    margin: 0;
}

.step-banner__body2 {
    font-size: 18px;
    color: var(--body);
    line-height: 1.75;
    margin: 0;
	text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .step-banner           { flex-direction: column; }
    .step-banner__divider  { width: auto; height: 1px; margin: 0 24px; }
}

        /* ── Video card ───────────────────────────── */
        .vid-card {
            background: var(--bg2);
            border: 1px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: border-color 0.3s, transform 0.3s;
        }
        .vid-card:hover { border-color: rgba(244,179,36,0.25); transform: translateY(-2px); }

        /* ── Embed wrapper — forces 16:9 ─────────── */
        .vid-embed {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 */
            background: #000;
            cursor: pointer;
            overflow: hidden;
        }
        .vid-embed iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Thumbnail shown before iframe loads */
        .vid-thumb {
            position: absolute;
            inset: 0;
            background: var(--bg3) center center / cover no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: opacity 0.3s;
        }
        .vid-thumb:hover { opacity: 0.9; }
        .vid-thumb.hidden { display: none; }

        /* Play button overlay */
        .play-btn {
            width: 64px; height: 64px;
            background: rgba(244,179,36,0.92);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 4px 24px rgba(0,0,0,0.5);
            transition: transform 0.2s, background 0.2s;
            flex-shrink: 0;
        }
        .vid-thumb:hover .play-btn { transform: scale(1.08); background: var(--gold); }
        .play-btn svg { margin-left: 4px; }

        /* ── Card body ────────────────────────────── */
        .vid-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
        .vid-label { font-size: 9px; letter-spacing: 0.2em; text-transform: none; color: var(--gold); opacity: 0.85; margin-bottom: 10px; }
        .vid-title { font-size: 16px; font-weight: 400; line-height: 1.45; color: var(--text); margin-bottom: 10px; }
        .vid-presenter { font-size: 12px; color: var(--dim); line-height: 1.6; margin-bottom: 18px; flex-grow: 1; }
        .vid-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; }
        .vid-duration { font-size: 11px; color: var(--dim); opacity: 0.7; }
        .vid-transcript {
            font-size: 11px; letter-spacing: 0.1em; text-transform: none;
            color: var(--gold); opacity: 0.8; text-decoration: none;
            transition: opacity 0.2s;
        }
        .vid-transcript:hover { opacity: 1; }

        /* ── Responsive ───────────────────────────── */
        @media (max-width: 768px) {
            .vid-grid { grid-template-columns: 1fr !important; }
        }


/* ============================================================
   ATLAS CARD  (tissue-atlas.html — clickable image tiles)
   ============================================================ */
.atlas-card {
    display: block;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    outline: none;
    transition: border-color 0.05s ease, box-shadow 0.05s ease, transform 0.05s ease;
    cursor: pointer;
}
.atlas-label { position: absolute; bottom: 16px; left: 16px; background: rgba(9,9,15,0.75); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font-size: 13px; letter-spacing: 0.1em; color: var(--muted); }

.atlas-card:hover {
    border-color: rgba(244,179,36,0.65);
    box-shadow: 0 0 0 1px rgba(244,179,36,0.35), 0 8px 32px rgba(244,179,36,0.1);
    transform: translateY(0px);
}
.atlas-card:focus-visible {
    border-color: rgba(244,179,36,0.65);
    box-shadow: 0 0 0 2px rgba(244,179,36,0.45);
}
/* Scale the image gently on hover */
.atlas-card:hover .pimg2 img {
    transform: scale(1.00);
}
