/* ==========================================================
   79mplus — main stylesheet (Bootstrap 5.3 on top)

   >>> BRAND COLOURS <<<
   Change ONLY the values in this block to re-theme the whole site
   to match the 79mplus logo. Use the logo's main colour for --brand,
   a darker shade for --brand-dark, a very light tint for --brand-soft,
   and the logo's second colour (if any) for --accent.
   ========================================================== */
:root {
  --brand: #12853b;          /* logo green: buttons, links, icons          */
  --brand-rgb: 18, 133, 59;  /* same colour as R, G, B (for soft shadows)  */
  --brand-dark: #0b6a2e;     /* hover state / darker green                 */
  --brand-soft: #e7f6ec;     /* light green tint for badges and highlights */
  --brand-2: #22a84e;        /* lighter green (gradient partner)           */
  --accent: #fcc419;         /* logo yellow: highlights and key buttons    */
  --dark-1: #04271a;         /* hero dark background (start)               */
  --dark-2: #0a5a2a;         /* hero dark background (end)                 */
  --footer-bg: #03200f;

  /* ---- neutral tokens (usually leave as they are) ---- */
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ink);
}

html { scroll-behavior: smooth; }
body { color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -0.02em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: 0.7rem 1.5rem; transition: all .2s ease; }
.btn-brand { background: var(--brand); color: #fff; border: 2px solid var(--brand); }
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-brand { color: var(--brand); border: 2px solid var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #1c2a05; border: 2px solid var(--accent); }
.btn-accent:hover { background: #ffd43b; border-color: #ffd43b; color: #1c2a05; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.btn-light-outline { color: #fff; border: 2px solid rgba(255,255,255,.55); background: transparent; }
.btn-light-outline:hover { background: #fff; color: var(--brand-dark); }

/* ---------- Navbar ---------- */
.site-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: all .25s ease; padding: .9rem 0; }
.site-nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); padding: .55rem 0; }

/* Logo image + wordmark. The name is ONE word — 79mplus. */
.brand-mark { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.55rem; color: var(--brand); letter-spacing: -0.04em; line-height: 1; }
.logo-img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; display: block; box-shadow: 0 4px 12px rgba(var(--brand-rgb), .35); }
.brand-mark:hover { color: var(--brand-dark); }
.site-footer .brand-mark { color: #fff; }
.site-footer .brand-mark:hover { color: #fff; }

.site-nav .nav-link { font-weight: 600; color: #334155; padding: .5rem 1rem !important; border-radius: 999px; }
.site-nav .nav-link:hover { color: var(--brand); }
.site-nav .nav-link.active { color: var(--brand); background: var(--brand-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 9rem 0 6rem; background: radial-gradient(1200px 500px at 85% -10%, rgba(var(--brand-rgb), .45), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(var(--brand-rgb), .25), transparent 60%), linear-gradient(160deg, var(--dark-1) 0%, var(--dark-2) 100%); color: #fff; overflow: hidden; }
/* legibility scrim: keeps particle glow from washing out the copy */
.hero::after, .page-header::after.hero-scrim { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2,10,6,.55) 0%, rgba(2,10,6,.15) 45%, rgba(2,10,6,.72) 100%); z-index: 1; }
.hero .container, .hero > *:not(canvas) { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.08; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { color: #cbd5e1; max-width: 34rem; }
.hero-proof { margin-top: 1.4rem; color: #cbd5e1; font-size: .92rem; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.hero-proof .stars { display: inline-flex; gap: .15rem; color: var(--accent); font-size: .85rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1rem; }
.hero .eyebrow, .page-header .eyebrow { background: rgba(255,255,255,.12); color: #fff; }

.code-window { background: #0b1120; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.45); overflow: hidden; }
/* No 3D transform here on purpose: a perspective()/rotateY() forces the
   browser to rasterise the text into a texture and resample it, which makes
   the code look soft. Depth is carried by box-shadow, which stays crisp. */
.code-window .bar { display: flex; gap: .4rem; padding: .8rem 1rem; background: #111a2e; }
.code-window .bar i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.code-window .bar i:nth-child(1) { background: #ef4444; } .code-window .bar i:nth-child(2) { background: #f59e0b; } .code-window .bar i:nth-child(3) { background: #22c55e; }
.code-window pre { margin: 0; padding: 1.25rem 1.5rem 1.5rem; font-size: 14px; line-height: 24px; color: #cbd5e1; font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace; white-space: pre-wrap; }
.tok-k { color: #c4b5fd; } .tok-f { color: #67e8f9; } .tok-s { color: #fcd34d; } .tok-c { color: #64748b; }

.float-chip { position: absolute; z-index: 4; background: #fff; color: var(--ink); border-radius: 14px; padding: .6rem 1rem; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .5rem; animation: bob 5s ease-in-out infinite; }
.float-chip i { color: var(--brand); font-size: 1.1rem; }
.float-chip.c1 { top: -32px; right: 6%; }
.float-chip.c2 { bottom: -34px; left: 4%; animation-delay: -2.5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Stats strip ---------- */
.stats-strip { margin-top: -3.2rem; position: relative; z-index: 5; }
.stats-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-md); border: 1px solid var(--line); padding: 1.8rem 1rem; }
.stat { text-align: center; padding: .4rem 1rem; }
.stat .num { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--brand); letter-spacing: -0.03em; line-height: 1.1; }
.stat .lbl { color: var(--muted); font-weight: 600; font-size: .92rem; margin-top: .25rem; }
@media (min-width: 768px) { .stat + .stat { border-left: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface-alt); }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-sub { color: var(--muted); max-width: 40rem; }

.page-header { padding: 8.5rem 0 4rem; background: linear-gradient(160deg, var(--dark-1) 0%, var(--dark-2) 100%); color: #fff; position: relative; overflow: hidden; }
.page-header::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(var(--brand-rgb), .35); filter: blur(10px); }
.page-header .container { position: relative; z-index: 1; }
.page-header p { color: #cbd5e1; max-width: 38rem; }

/* ---------- Cards ---------- */
.feature-card { height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: all .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.icon-badge { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; background: var(--brand-soft); color: var(--brand); margin-bottom: 1.1rem; }
.feature-card h5 { font-size: 1.15rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.feature-card .mini-list { list-style: none; padding: 0; margin: .9rem 0 0; color: var(--muted); font-size: .94rem; }
.feature-card .mini-list li { padding: .22rem 0 .22rem 1.4rem; position: relative; }
.feature-card .mini-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .22rem; color: var(--brand); font-size: .95rem; }

.product-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-thumb { height: 170px; display: grid; place-items: center; font-size: 3.2rem; color: #fff; }
.thumb-1 { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.thumb-2 { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.thumb-3 { background: linear-gradient(135deg, var(--accent), var(--brand)); }
.product-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-body p { color: var(--muted); }
.product-body .mt-auto { padding-top: .5rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); margin-bottom: .8rem; align-self: flex-start; }

.post-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; transition: all .25s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card h5 { font-size: 1.15rem; line-height: 1.35; }
.post-card h5 a { color: var(--ink); }
.post-card h5 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); }
.read-more { font-weight: 700; margin-top: auto; }
.read-more i { transition: transform .2s ease; display: inline-block; }
.read-more:hover i { transform: translateX(4px); }

.reco-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; height: 100%; color: var(--ink); transition: all .25s ease; }
.reco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.reco-card .icon-badge { margin: 0; flex-shrink: 0; }
.reco-card small { color: var(--muted); display: block; }

/* ---------- Work / portfolio ---------- */
.work-card { height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: all .25s ease; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-top { padding: 1.6rem 1.6rem 1.2rem; background: linear-gradient(135deg, var(--dark-1), var(--dark-2)); color: #fff; }
.work-top .bi { font-size: 1.8rem; color: var(--accent); }
.work-top h5 { color: #fff; margin: .7rem 0 0; font-size: 1.1rem; }
.work-body { padding: 1.4rem 1.6rem 1.6rem; color: var(--muted); }
.chip { display: inline-block; font-size: .78rem; font-weight: 600; padding: .28rem .7rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); margin: 0 .3rem .4rem 0; }
.chip-outline { background: #fff; border: 1px solid var(--line); color: #334155; }

/* ---------- Process timeline ---------- */
.process-step { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; }
.process-step .step-num { margin-bottom: 1rem; }
.process-step h5 { font-size: 1.1rem; }
.process-step p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 28px; padding: 3.5rem 2rem; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -120px; border-radius: 50%; background: rgba(255,255,255,.10); }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn-light { color: var(--brand-dark) !important; }

/* ---------- Lists / misc ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .7rem; padding: .45rem 0; }
.check-list i { color: var(--brand); font-size: 1.15rem; margin-top: .1rem; }

.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }

.accordion-item { border: 1px solid var(--line) !important; border-radius: 14px !important; margin-bottom: .8rem; overflow: hidden; }
.accordion-button { font-weight: 700; }
.accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-dark); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(var(--brand-rgb), .2); }

.form-control, .form-select { border-radius: 12px; padding: .8rem 1rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .25rem rgba(var(--brand-rgb), .15); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2.2rem; box-shadow: var(--shadow-sm); }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-item .icon-badge { margin: 0; flex-shrink: 0; width: 48px; height: 48px; font-size: 1.25rem; }

.filter-pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem 1rem; font-weight: 600; font-size: .9rem; color: #334155; }
.filter-pill.active, .filter-pill:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.about-visual { border-radius: 24px; padding: 2.4rem; color: #fff; background: linear-gradient(150deg, var(--dark-1), var(--dark-2)); position: relative; overflow: hidden; }
.about-visual::after { content: ""; position: absolute; width: 300px; height: 300px; right: -90px; bottom: -110px; border-radius: 50%; background: rgba(var(--brand-rgb), .45); }
.about-visual > * { position: relative; z-index: 1; }
.about-visual .big { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; color: var(--accent); line-height: 1; }

/* ---------- Team ---------- */
.team-card { height: 100%; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.4rem; transition: all .25s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.avatar { width: 96px; height: 96px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: 4px solid var(--accent); box-shadow: 0 8px 20px rgba(var(--brand-rgb), .3); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h5 { font-size: 1.1rem; margin-bottom: .2rem; }
.team-role { color: var(--brand); font-weight: 700; font-size: .92rem; margin-bottom: .8rem; }
.team-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.team-card.lead-card { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(252,196,25,.25); }
.avatar-row { display: flex; justify-content: center; flex-wrap: wrap; }
.avatar-row .avatar { width: 64px; height: 64px; font-size: 1.15rem; margin: 0 -8px 0 0; border-width: 3px; }

/* ---------- Blog article ---------- */
.article-meta { color: #cbd5e1; font-size: .95rem; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.article-meta i { color: var(--accent); margin-right: .35rem; }
.article-body { font-size: 1.07rem; line-height: 1.8; color: #1e293b; }
.article-body h2 { font-size: 1.55rem; margin: 2.4rem 0 .9rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.8rem 0 .7rem; }
.article-body p { margin-bottom: 1.15rem; }
.article-body ul, .article-body ol { margin-bottom: 1.3rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .45rem; }
.article-body .lead-in { font-size: 1.2rem; color: var(--muted); border-left: 4px solid var(--accent); padding-left: 1.1rem; margin-bottom: 1.8rem; }
.article-body pre { background: #04271a; color: #d1fae5; border-radius: 14px; padding: 1.2rem 1.4rem; overflow-x: auto; font-size: .9rem; margin: 1.3rem 0; }
.article-body code { color: var(--brand-dark); background: var(--brand-soft); padding: .1rem .4rem; border-radius: 6px; font-size: .92em; }
.article-body pre code { color: inherit; background: transparent; padding: 0; }
.callout { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.4rem; }
.sidebar-card h6 { font-weight: 800; margin-bottom: 1rem; }
.related-link { display: block; padding: .75rem 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; line-height: 1.35; }
.related-link:first-of-type { border-top: 0; padding-top: 0; }
.related-link:hover { color: var(--brand); }
.share-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: #334155; margin-right: .4rem; background: #fff; }
.share-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #94a3b8; padding: 4.5rem 0 2rem; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 3rem; padding-top: 1.6rem; font-size: .9rem; }
.social a { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: #1e293b; margin-right: .4rem; }
.social a:hover { background: var(--brand); color: #fff; }

/* ---------- Scroll to top ---------- */
#scrollTop { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease; z-index: 1030; }
#scrollTop.show { opacity: 1; visibility: visible; transform: none; }
#scrollTop:hover { background: var(--brand-dark); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 991.98px) {
  .hero { padding: 7.5rem 0 4.5rem; }
  .code-window { margin-top: 2.5rem; }
  .section { padding: 4rem 0; }
  .site-nav .navbar-collapse { background: #fff; border-radius: 16px; padding: 1rem; margin-top: .6rem; box-shadow: var(--shadow-md); }
}

/* ==========================================================
   TECH EXPERIENCE LAYER — particles · 3D tilt · beams · more
   Everything below is progressive enhancement: the site still
   works perfectly without JS or on touch devices.
   ========================================================== */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1080; background: linear-gradient(90deg, var(--brand), var(--brand-2) 45%, var(--accent)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* ---------- Blueprint grid + particle canvas on dark headers ---------- */
.hero::before, .page-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 40%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 85% at 50% 40%, #000 25%, transparent 78%);
}
.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .85; }
.hero .container, .page-header .container { position: relative; z-index: 2; }

/* ---------- Infinite tech ticker ---------- */
.tech-ticker { background: linear-gradient(90deg, var(--dark-1), #06341d 50%, var(--dark-1)); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); overflow: hidden; padding: .85rem 0; }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker-scroll 36s linear infinite; }
.tech-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track .tk { color: #d1fae5; font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; margin-right: 1rem; }
.ticker-track .tk-dot { color: var(--accent); font-size: .55rem; margin-right: 2.6rem; flex-shrink: 0; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ---------- 3D tilt cards + moving glare ---------- */
.tilt-3d { transform-style: preserve-3d; will-change: transform; transition: transform .14s ease-out, box-shadow .25s ease; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), rgba(255,255,255,0) 55%); opacity: 0; transition: opacity .35s ease; pointer-events: none; mix-blend-mode: overlay; z-index: 3; }
.tilt-3d:hover .tilt-glare { opacity: .5; }
.team-card .avatar-wrap, .team-card h5, .team-card .team-role { transform: translateZ(34px); }
.feature-card .icon-badge, .feature-card h5 { transform: translateZ(26px); }
.team-card:hover, .feature-card:hover { box-shadow: 0 26px 52px rgba(var(--brand-rgb), .16); }

/* ---------- Cursor spotlight + rotating beam border on cards ---------- */
.team-card, .feature-card { position: relative; }
.team-card::after, .feature-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(var(--brand-rgb), .10), transparent 62%);
}
.team-card:hover::after, .feature-card:hover::after { opacity: 1; }
.team-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: calc(var(--radius) + 1px); padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: conic-gradient(from var(--ang), transparent 0 62%, rgba(var(--brand-rgb), .9) 78%, var(--accent) 88%, transparent 100%);
  -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;
}
.team-card:hover::before { opacity: 1; animation: beam-spin 3.2s linear infinite; }
@keyframes beam-spin { to { --ang: 360deg; } }

/* ---------- Holographic avatar ring ---------- */
.avatar-wrap { position: relative; width: 96px; height: 96px; margin: 0 auto 1.25rem; }
.avatar-wrap .avatar { width: 100%; height: 100%; margin: 0; }
.avatar-wrap::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--ang), var(--brand), var(--accent), var(--brand-2), var(--brand));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: beam-spin 4.5s linear infinite;
}
.avatar-wrap::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none; animation: avatar-pulse 2.6s ease-out infinite; }
@keyframes avatar-pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), .38); }
  70% { box-shadow: 0 0 0 16px rgba(var(--brand-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0); }
}

/* ---------- Team skill chips ---------- */
.team-skills { display: flex; flex-wrap: wrap; justify-content: center; gap: .38rem; margin-top: 1rem; }
.skill-chip {
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  padding: .24rem .62rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark);
  border: 1px solid rgba(var(--brand-rgb), .22);
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.skill-chip:nth-child(2) { transition-delay: .04s; } .skill-chip:nth-child(3) { transition-delay: .08s; } .skill-chip:nth-child(4) { transition-delay: .12s; }
.team-card:hover .skill-chip { background: var(--brand); color: #fff; transform: translateY(-3px); box-shadow: 0 6px 14px rgba(var(--brand-rgb), .3); }

/* ---------- Nav link gradient underline ---------- */
.site-nav .nav-link { position: relative; }
.site-nav .nav-link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .16rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left center; transition: transform .28s ease;
}
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }

/* ---------- Button sheen sweep (solid buttons) ---------- */
.btn-brand, .btn-accent {
  background-image: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  background-size: 260% 100%; background-position: 115% 0; background-repeat: no-repeat;
}
.btn-brand:hover, .btn-accent:hover { background-position: -15% 0; transition: background-position .7s ease, all .2s ease; }

/* ---------- Gradient shine text ---------- */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-title {
    background: linear-gradient(110deg, var(--ink) 20%, var(--brand-dark) 38%, var(--brand) 50%, var(--brand-dark) 62%, var(--ink) 80%);
    background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: title-sheen 9s ease-in-out infinite;
  }
  .hero h1 .hl {
    background: linear-gradient(90deg, var(--accent), #ffe066 35%, #ffd43b 50%, #ffe066 65%, var(--accent));
    background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: hl-flow 4s linear infinite;
  }
}
@keyframes title-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes hl-flow { to { background-position: -200% 0; } }

/* ---------- Step numbers & stats glow up ---------- */
.step-num { background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 18px rgba(var(--brand-rgb), .35); }
.stat .num { font-variant-numeric: tabular-nums; }
#scrollTop { background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 22px rgba(var(--brand-rgb), .45); }

/* ---------- Reduced motion: calm everything down ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .avatar-wrap::before, .avatar-wrap::after, .team-card:hover::before,
  .section-title, .hero h1 .hl { animation: none !important; }
  .tilt-3d, .tilt-glare, .team-card::after, .feature-card::after { transition: none !important; }
  .tilt-glare { display: none; }
}
