:root {
  --bg: #07070b;
  --bg-2: #0a0b11;
  --panel: rgba(14, 15, 23, 0.78);
  --panel-solid: #0f1018;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --text: #f2f4f8;
  --muted: #a2a7b5;
  --faint: #696f7d;
  --violet: #7c5cff;
  --violet-2: #a68cff;
  --cyan: #5ce1e6;
  --green: #56e39f;
  --danger: #ff6b87;
  --shadow: 0 25px 80px rgba(0,0,0,.35);
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background: radial-gradient(circle at 50% -20%, rgba(124,92,255,.18), transparent 42%);
}

::selection { background: rgba(124,92,255,.4); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 10000;
  padding: 10px 14px; background: #fff; color: #000; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13,14,21,.88), rgba(8,9,14,.72));
}

.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; background: transparent; z-index: 1001; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--violet), var(--cyan)); box-shadow: 0 0 18px var(--violet); }
.ambient { position: fixed; width: 38vw; height: 38vw; filter: blur(110px); border-radius: 50%; opacity: .13; z-index: -4; pointer-events: none; }
.ambient-one { top: -12vw; right: -8vw; background: var(--violet); }
.ambient-two { bottom: -15vw; left: -10vw; background: #273fbd; }
.noise { position: fixed; inset: 0; opacity: .025; pointer-events: none; z-index: -2; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  background: rgba(7,7,11,.72); border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { font: 800 22px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--violet-2); letter-spacing: -2px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 14px; letter-spacing: -.01em; }
.brand-copy small { margin-top: 4px; color: var(--faint); font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; gap: 28px; font: 650 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #b7bbc7; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .site-nav a.active { color: #fff; }
.nav-cta { padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,.035); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: #fff; transition: transform .2s ease, opacity .2s ease; }

.hero { padding-top: 158px; padding-bottom: 74px; min-height: 100vh; display: grid; align-content: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: center; gap: 76px; }
.status-pill { width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid rgba(86,227,159,.24); background: rgba(86,227,159,.055); color: #9ff2c6; border-radius: 999px; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .16em; }
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px rgba(86,227,159,.7); animation: pulse 2s ease-in-out infinite; }
.eyebrow, .section-kicker { color: var(--violet-2); font: 750 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { margin: 22px 0 14px; }
.hero h1 { margin: 0; max-width: 800px; font-size: clamp(64px, 8vw, 112px); line-height: .83; letter-spacing: -.075em; font-weight: 850; }
.hero h1 span { color: #7e8190; }
.hero-tagline { margin: 30px 0 8px; font-size: clamp(20px, 2vw, 30px); line-height: 1.25; letter-spacing: -.035em; font-weight: 720; }
.hero-description { max-width: 680px; margin: 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 18px; border-radius: 11px; border: 1px solid transparent; cursor: pointer; font: 750 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #6f52ff, #8a63ff); box-shadow: 0 12px 35px rgba(124,92,255,.25); }
.btn-primary:hover { box-shadow: 0 16px 45px rgba(124,92,255,.34); }
.btn-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.035); color: #d5d8e0; }
.btn-secondary:hover { border-color: rgba(166,140,255,.55); background: rgba(124,92,255,.06); }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: #858b9a; font: 650 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.hero-links a:hover { color: var(--violet-2); }

.hero-visual { position: relative; min-height: 570px; }
.profile-frame { position: absolute; inset: 0 10% 12% 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 26px; background: linear-gradient(155deg, rgba(124,92,255,.10), rgba(255,255,255,.02) 42%, rgba(5,5,8,.86)); box-shadow: var(--shadow); }
.frame-topline, .terminal-bar { height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); color: #747989; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.frame-topline > span:last-child { margin-left: auto; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #3e424e; }
.window-dots i:nth-child(1) { background: #664969; }
.window-dots i:nth-child(2) { background: #655f49; }
.window-dots i:nth-child(3) { background: #476455; }
.profile-art { position: relative; height: calc(100% - 94px); min-height: 410px; display: grid; place-items: center; overflow: hidden; }
.profile-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 75%, transparent); }
.profile-art::after { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(166,140,255,.18); border-radius: 50%; box-shadow: 0 0 0 55px rgba(124,92,255,.025), 0 0 0 110px rgba(124,92,255,.015); }
.profile-art img { position: relative; z-index: 3; width: 74%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.scanner { position: absolute; z-index: 5; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--violet-2), transparent); box-shadow: 0 0 16px var(--violet); animation: scan 5s ease-in-out infinite; }
.crosshair { position: absolute; z-index: 4; width: 18px; height: 18px; border: 1px solid rgba(166,140,255,.4); }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: rgba(166,140,255,.6); }
.crosshair::before { width: 28px; height: 1px; left: -6px; top: 8px; }
.crosshair::after { width: 1px; height: 28px; top: -6px; left: 8px; }
.crosshair-a { top: 19%; left: 12%; } .crosshair-b { right: 13%; bottom: 20%; }
.profile-caption { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-top: 1px solid var(--line); color: #747989; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; }
.profile-caption span { display: flex; align-items: center; gap: 8px; }
.profile-caption i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(86,227,159,.6); }
.profile-caption strong { color: #a79bbf; font-size: 8px; }
.terminal-card { position: absolute; z-index: 10; right: 0; bottom: 0; width: min(88%, 430px); border: 1px solid rgba(166,140,255,.30); border-radius: 16px; overflow: hidden; background: rgba(7,8,13,.95); box-shadow: 0 24px 70px rgba(0,0,0,.52), 0 0 40px rgba(124,92,255,.08); }
.terminal-bar { color: #8a8e9b; }
.terminal-status { margin-left: auto; color: var(--green); font-size: 8px; }
.terminal-body { padding: 18px 20px 20px; min-height: 180px; font: 650 11px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #d7d9e0; }
.terminal-body p { margin: 0; }
.prompt { color: var(--violet-2); margin-right: 8px; }
.terminal-output { padding-left: 17px; color: #9197a7; }
.status-line { display: flex; align-items: center; gap: 7px; }
.status-line span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.terminal-cursor b { display: inline-block; width: 7px; height: 13px; background: #d3d6df; vertical-align: -2px; animation: blink .9s steps(1) infinite; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 74px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.02); }
.stat-strip > div { min-height: 92px; padding: 20px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.stat-strip > div:last-child { border-right: 0; }
.stat-strip strong { font: 800 24px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; }
.stat-strip span { margin-top: 8px; color: #747a89; font-size: 11px; }

.section-heading { max-width: 900px; }
.section-heading h2, .contact-copy h2 { margin: 10px 0 0; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; margin-bottom: 44px; }
.split-heading > p { margin: 0; max-width: 470px; justify-self: end; color: var(--muted); font-size: 14px; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.about-copy { border-left: 1px solid var(--line); padding-left: 48px; color: var(--muted); }
.about-copy .lead { margin-top: 0; color: #e1e3e9; font-size: 20px; line-height: 1.55; letter-spacing: -.02em; }
.about-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.about-meta div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.022); }
.about-meta span, .about-meta small { display: block; color: #777c8b; font-size: 10px; }
.about-meta strong { display: block; margin: 8px 0 5px; font-size: 13px; line-height: 1.35; }

.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.expertise-card { position: relative; min-height: 340px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); overflow: hidden; transition: background .25s ease, transform .25s ease; }
.expertise-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -90px; bottom: -100px; border-radius: 50%; background: rgba(124,92,255,.18); filter: blur(45px); opacity: 0; transition: opacity .25s ease; }
.expertise-card:hover { background: rgba(124,92,255,.05); transform: translateY(-4px); }
.expertise-card:hover::after { opacity: 1; }
.card-index { color: #626777; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.card-icon { float: right; color: var(--violet-2); font: 700 21px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.expertise-card h3 { margin: 72px 0 12px; font-size: 21px; letter-spacing: -.025em; }
.expertise-card p { color: var(--muted); font-size: 13px; }
.expertise-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.expertise-card li { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: #8f95a4; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.timeline { position: relative; max-width: 1000px; margin-top: 30px; }
.timeline::before { content: ""; position: absolute; left: 219px; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--violet), var(--line) 14%, var(--line) 86%, transparent); }
.timeline-item { display: grid; grid-template-columns: 190px 60px 1fr; gap: 0; min-height: 190px; }
.timeline-date { padding-top: 7px; color: #717685; font: 650 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: right; }
.timeline-dot { position: relative; }
.timeline-dot::before { content: ""; position: absolute; top: 8px; left: 26px; width: 7px; height: 7px; border-radius: 50%; background: #0b0c12; border: 2px solid var(--violet-2); box-shadow: 0 0 20px rgba(124,92,255,.35); }
.timeline-content { padding: 0 0 46px 18px; }
.timeline-label { margin: 0 0 7px; color: var(--green); font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .16em; }
.timeline-content h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.timeline-content h4 { margin: 5px 0 12px; color: var(--violet-2); font-size: 12px; font-weight: 600; }
.timeline-content p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; }
.parallel-work { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.parallel-work div { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.018); }
.parallel-work span { color: #717685; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.parallel-work strong { display: block; margin: 12px 0 8px; font-size: 17px; }
.parallel-work p { margin: 0; color: var(--muted); font-size: 12px; }

.credential-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.credential-card { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.026), rgba(255,255,255,.012)); transition: border-color .2s ease, transform .2s ease; }
.credential-card:hover { border-color: rgba(166,140,255,.42); transform: translateY(-3px); }
.credential-card > span { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(166,140,255,.3); border-radius: 15px; background: rgba(124,92,255,.08); color: var(--violet-2); font: 800 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.credential-card h3 { margin: 36px 0 8px; font-size: 14px; line-height: 1.35; }
.credential-card p { margin: 0; color: #777d8c; font-size: 11px; }

.engagement-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.engagement-list { border-top: 1px solid var(--line); }
.engagement-list article { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; min-height: 96px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.engagement-list article > span { color: #5f6472; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.engagement-list h3 { margin: 0; font-size: 15px; }
.engagement-list p { margin: 4px 0 0; color: #7d8290; font-size: 11px; }
.engagement-list b { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: #858b9a; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.engagement-aside { display: grid; gap: 14px; }
.radar-card, .ack-card { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.018); padding: 24px; }
.radar { position: relative; width: 150px; height: 150px; margin: 2px auto 30px; border: 1px solid rgba(124,92,255,.25); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 25px, rgba(124,92,255,.12) 26px 27px), linear-gradient(90deg, transparent 49.5%, rgba(124,92,255,.2) 50%, transparent 50.5%), linear-gradient(transparent 49.5%, rgba(124,92,255,.2) 50%, transparent 50.5%); }
.radar::after { content: ""; position: absolute; inset: 50% 50% 0 50%; transform-origin: top left; width: 1px; background: linear-gradient(var(--violet-2), transparent); animation: rotate 4.5s linear infinite; box-shadow: 0 0 20px var(--violet); }
.radar i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.radar i:nth-child(1) { left: 30%; top: 26%; }.radar i:nth-child(2) { right: 24%; bottom: 33%; }.radar i:nth-child(3) { left: 43%; bottom: 19%; }
.radar span { position: absolute; inset: 49%; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.radar-card h3, .ack-card h3 { margin: 7px 0 14px; font-size: 22px; letter-spacing: -.03em; }
.radar-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.radar-card li { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid var(--line); color: #9096a5; font-size: 10px; }
.radar-card li b { color: var(--violet-2); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ack-card > span { color: #777d8c; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .14em; }
.ack-card p { color: var(--muted); font-size: 12px; }
.ack-card a { display: inline-block; margin-top: 4px; color: var(--violet-2); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.contact-section { background: radial-gradient(circle at 80% 50%, rgba(124,92,255,.11), transparent 33%); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.contact-copy > p:not(.section-kicker) { color: var(--muted); max-width: 520px; }
.contact-direct { margin-top: 34px; border-top: 1px solid var(--line); }
.contact-direct a { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-direct span { color: #656a78; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.contact-direct strong { font-size: 12px; }
.contact-direct b { color: var(--violet-2); }
.contact-form { border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; padding: 0 28px 28px; background: rgba(10,11,17,.78); box-shadow: var(--shadow); }
.form-head { margin: 0 -28px 24px; height: 45px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: #666c7c; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.form-head span:last-child { color: var(--green); }
.contact-form label { display: block; margin: 16px 0 7px; color: #858b9b; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; outline: none; background: rgba(255,255,255,.02); color: #fff; padding: 13px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(166,140,255,.55); box-shadow: 0 0 0 3px rgba(124,92,255,.08); }
.contact-form .btn { width: 100%; margin-top: 18px; border: 0; }
.form-note { margin: 12px 0 0; color: #636978; font-size: 9px; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0; background: #07070b; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-grid > p { margin: 0; color: #626776; font-size: 10px; text-align: center; }
.footer-links { display: flex; justify-content: flex-end; align-items: center; gap: 16px; color: #6e7483; font-size: 9px; }
.footer-links a:hover { color: var(--violet-2); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--delay,0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--delay,0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 0%,100% { opacity: .75; transform: scale(.86); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes blink { 0%,52% { opacity: 1; } 53%,100% { opacity: 0; } }
@keyframes scan { 0%,100% { top: 15%; opacity: .25; } 50% { top: 82%; opacity: .85; } }
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 1020px) {
  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-grid { grid-template-columns: 1fr .88fr; gap: 42px; }
  .hero h1 { font-size: clamp(58px, 8vw, 90px); }
  .hero-visual { min-height: 500px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .credential-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .contact-grid { gap: 55px; }
  .about-meta { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .section { padding: 88px 0; }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 20px; flex-direction: column; align-items: stretch; background: rgba(7,7,11,.98); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.nav-cta) { display: block; padding: 11px 4px; }
  .nav-cta { text-align: center; }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { padding-top: 128px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero h1 { font-size: clamp(66px, 16vw, 104px); }
  .hero-visual { min-height: 540px; width: min(100%, 620px); margin: 20px auto 0; }
  .profile-frame { inset-right: 7%; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip > div:nth-child(2) { border-right: 0; }
  .stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-heading, .about-grid, .contact-grid, .engagement-layout { grid-template-columns: 1fr; gap: 34px; }
  .split-heading > p { justify-self: start; }
  .about-copy { border-left: 0; padding-left: 0; }
  .timeline::before { left: 15px; }
  .timeline-item { grid-template-columns: 30px 1fr; min-height: 0; }
  .timeline-date { grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 6px 16px; }
  .timeline-dot { grid-column: 1; grid-row: 1 / span 2; }
  .timeline-dot::before { left: 11px; top: 4px; }
  .timeline-content { grid-column: 2; grid-row: 2; padding-left: 16px; }
  .credential-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .footer-grid > p { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 110px; padding-bottom: 58px; }
  .status-pill { font-size: 7px; letter-spacing: .11em; }
  .eyebrow { font-size: 8px; }
  .hero h1 { font-size: clamp(58px, 19vw, 82px); }
  .hero-tagline { font-size: 20px; }
  .hero-description { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-links { gap: 8px; }
  .hero-visual { min-height: 470px; }
  .profile-frame { inset: 0 0 16% 0; }
  .profile-art { min-height: 330px; }
  .terminal-card { width: 94%; }
  .terminal-body { font-size: 9px; padding-inline: 14px; }
  .stat-strip { margin-top: 52px; }
  .stat-strip > div { padding: 16px; min-height: 84px; }
  .stat-strip strong { font-size: 20px; }
  .stat-strip span { font-size: 9px; }
  .section-heading h2, .contact-copy h2 { font-size: clamp(38px, 12vw, 54px); }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 300px; }
  .parallel-work { grid-template-columns: 1fr; }
  .credential-grid { grid-template-columns: 1fr; }
  .credential-card { min-height: 175px; }
  .credential-card h3 { margin-top: 24px; }
  .engagement-list article { grid-template-columns: 30px 1fr; }
  .engagement-list b { grid-column: 2; width: fit-content; }
  .contact-direct a { grid-template-columns: 72px 1fr; }
  .contact-direct b { display: none; }
  .contact-direct strong { overflow-wrap: anywhere; }
  .contact-form { padding-inline: 18px; }
  .form-head { margin-inline: -18px; }
}



/* =========================================================
   Motion & interaction polish
   Added for the animated portfolio edition.
   ========================================================= */

/* Slow ambient motion keeps the page alive without distracting from content. */
.ambient-one { animation: ambientDriftOne 16s ease-in-out infinite alternate; }
.ambient-two { animation: ambientDriftTwo 20s ease-in-out infinite alternate; }

.site-header {
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(7,7,11,.90);
  border-bottom-color: rgba(166,140,255,.16);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.site-nav a:not(.nav-cta) { position: relative; padding-block: 8px; }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta).active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero name: masked two-line entrance + subtle cyber shimmer. */
.hero-name { perspective: 900px; }
.hero-name .name-line {
  display: block;
  overflow: hidden;
  padding-right: .08em;
  margin-right: -.08em;
}
.hero-name .name-text {
  display: inline-block;
  will-change: transform, opacity, filter;
}
.hero-name .name-line-primary .name-text { color: var(--text); }
.hero-name .name-line-secondary .name-text {
  color: #7e8190;
  background: linear-gradient(105deg, #717481 10%, #979baa 42%, #717481 62%, #a68cff 78%, #717481 94%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.animations-ready .hero-copy .status-pill,
.animations-ready .hero-copy .eyebrow,
.animations-ready .hero-copy .hero-tagline,
.animations-ready .hero-copy .hero-description,
.animations-ready .hero-copy .hero-actions,
.animations-ready .hero-copy .hero-links {
  opacity: 0;
  transform: translateY(16px);
}
.animations-ready .hero-copy .name-text {
  opacity: 0;
  transform: translateY(112%) rotateX(-8deg);
  filter: blur(7px);
}

.hero-copy.visible .name-line-primary .name-text {
  animation: nameReveal .82s cubic-bezier(.16,1,.3,1) .08s forwards;
}
.hero-copy.visible .name-line-secondary .name-text {
  animation:
    nameReveal .92s cubic-bezier(.16,1,.3,1) .19s forwards,
    nameShimmer 5.5s ease-in-out 1.4s infinite;
}
.hero-copy.visible .status-pill { animation: heroRise .55s ease-out .02s forwards; }
.hero-copy.visible .eyebrow { animation: heroRise .58s ease-out .10s forwards; }
.hero-copy.visible .hero-tagline { animation: heroRise .62s ease-out .36s forwards; }
.hero-copy.visible .hero-description { animation: heroRise .62s ease-out .44s forwards; }
.hero-copy.visible .hero-actions { animation: heroRise .62s ease-out .52s forwards; }
.hero-copy.visible .hero-links { animation: heroRise .62s ease-out .60s forwards; }

.hero-name:hover .name-line-primary .name-text {
  text-shadow: 0 0 34px rgba(166,140,255,.18);
}

/* Button sheen and a slightly stronger hover state. */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 32%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent);
  transition: left .55s ease;
  z-index: -1;
}
.btn:hover::before { left: 120%; }
.nav-cta { transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.nav-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(166,140,255,.48);
  background: rgba(124,92,255,.08);
  box-shadow: 0 10px 30px rgba(124,92,255,.10);
}

/* Interactive hero panel. JS updates these custom properties on pointer movement. */
.hero-visual {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --float-x: 0px;
  --float-y: 0px;
}
.profile-frame {
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(var(--float-x), var(--float-y), 0);
  transform-style: preserve-3d;
  transition: transform .22s ease-out, border-color .3s ease, box-shadow .3s ease;
}
.hero-visual:hover .profile-frame {
  border-color: rgba(166,140,255,.30);
  box-shadow: 0 32px 95px rgba(0,0,0,.42), 0 0 70px rgba(124,92,255,.08);
}
.terminal-card {
  transform: translate3d(calc(var(--float-x) * -.35), calc(var(--float-y) * -.35), 0);
  transition: transform .22s ease-out, border-color .3s ease, box-shadow .3s ease;
}
.hero-visual:hover .terminal-card {
  border-color: rgba(166,140,255,.46);
  box-shadow: 0 28px 80px rgba(0,0,0,.56), 0 0 52px rgba(124,92,255,.12);
}
.profile-art img { animation: profileFloat 5.8s ease-in-out infinite; }
.crosshair-a { animation: crosshairFloatA 6.5s ease-in-out infinite; }
.crosshair-b { animation: crosshairFloatB 7.2s ease-in-out infinite; }

/* Statistics enter one-by-one. */
.animations-ready .stat-strip > div { opacity: 0; transform: translateY(16px); }
.stat-strip.visible > div:nth-child(1) { animation: statRise .55s ease .05s forwards; }
.stat-strip.visible > div:nth-child(2) { animation: statRise .55s ease .13s forwards; }
.stat-strip.visible > div:nth-child(3) { animation: statRise .55s ease .21s forwards; }
.stat-strip.visible > div:nth-child(4) { animation: statRise .55s ease .29s forwards; }
.stat-strip strong { text-shadow: 0 0 24px rgba(166,140,255,.08); }

/* Section-heading accent grows when each section enters view. */
.section-heading h2,
.contact-copy h2 { position: relative; }
.section-heading h2::after,
.contact-copy h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  opacity: .9;
}
.section-heading.visible h2::after,
.contact-copy.reveal.visible h2::after {
  animation: lineGrow .8s cubic-bezier(.16,1,.3,1) .18s forwards;
}

/* Cursor-positioned light on cards. */
.expertise-card,
.credential-card,
.parallel-work > div,
.engagement-list article {
  --mouse-x: 50%;
  --mouse-y: 50%;
}
.expertise-card::before,
.credential-card::before,
.parallel-work > div::before,
.engagement-list article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mouse-x) var(--mouse-y), rgba(124,92,255,.12), transparent 48%);
  transition: opacity .28s ease;
}
.expertise-card:hover::before,
.credential-card:hover::before,
.parallel-work > div:hover::before,
.engagement-list article:hover::before { opacity: 1; }
.credential-card,
.parallel-work > div,
.engagement-list article { position: relative; overflow: hidden; }

.expertise-card,
.credential-card,
.parallel-work > div,
.engagement-list article {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.parallel-work > div:hover,
.engagement-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(166,140,255,.30);
  background: rgba(124,92,255,.035);
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

/* Timeline items slide in from the content side. */
.animations-ready .timeline-item.reveal { transform: translateX(-24px); }
.timeline-item.reveal.visible { transform: translateX(0); }
.timeline-item:hover .timeline-dot::before {
  box-shadow: 0 0 0 6px rgba(124,92,255,.08), 0 0 22px rgba(166,140,255,.34);
}

/* A tiny focus pulse gives form controls a more premium feel. */
.contact-form { transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.contact-form:focus-within {
  border-color: rgba(166,140,255,.32);
  box-shadow: 0 30px 95px rgba(0,0,0,.42), 0 0 46px rgba(124,92,255,.06);
  transform: translateY(-2px);
}

@keyframes nameReveal {
  0% { opacity: 0; transform: translateY(112%) rotateX(-8deg); filter: blur(7px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); }
}
@keyframes nameShimmer {
  0%, 70%, 100% { background-position: 0% 50%; }
  84% { background-position: 100% 50%; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes statRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes profileFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.012); }
}
@keyframes crosshairFloatA {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(8px,-5px); }
}
@keyframes crosshairFloatB {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-7px,6px); }
}
@keyframes ambientDriftOne {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-5vw,7vh,0) scale(1.12); }
}
@keyframes ambientDriftTwo {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(6vw,-5vh,0) scale(1.08); }
}

@media (max-width: 820px) {
  .profile-frame,
  .terminal-card { transform: none !important; }
}




/* =========================================================
   Video hero + full-page motion pass
   ========================================================= */

/* The uploaded 16:9 showreel replaces the static hero artwork. */
.video-stage {
  isolation: isolate;
  background: #080a10;
}
.video-stage::before {
  z-index: 4;
  opacity: .42;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mix-blend-mode: overlay;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), #000 70%, transparent);
}
.video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(124,92,255,.24), transparent 28%),
    linear-gradient(180deg, rgba(7,7,11,.06) 25%, rgba(7,7,11,.18) 58%, rgba(7,7,11,.82) 100%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: saturate(.88) contrast(1.06) brightness(.88);
  transform: scale(1.025);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.profile-frame:hover .hero-video {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.08) brightness(.94);
}
.video-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,8,13,.28), transparent 38%, rgba(38,22,79,.12)),
    linear-gradient(180deg, rgba(7,7,11,.08), transparent 48%, rgba(7,7,11,.62));
}
.video-grid {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .15;
  background-image:
    linear-gradient(rgba(166,140,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166,140,255,.16) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: videoGridDrift 14s linear infinite;
}
.video-badge {
  position: absolute;
  z-index: 8;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(6,7,11,.66);
  color: #d7d9e2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 750 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .14em;
}
.video-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(86,227,159,.85);
  animation: pulse 2s ease-in-out infinite;
}
.video-sound {
  position: absolute;
  z-index: 9;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(7,8,13,.66);
  color: #d0d3dc;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  font: 750 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .12em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.video-sound:hover {
  transform: translateY(-2px);
  border-color: rgba(166,140,255,.45);
  background: rgba(124,92,255,.15);
}
.sound-bars { display: inline-flex; align-items: end; gap: 2px; height: 11px; }
.sound-bars i { width: 2px; border-radius: 2px; background: var(--violet-2); animation: soundBar 1s ease-in-out infinite; animation-play-state: paused; }
.sound-bars i:nth-child(1) { height: 5px; }
.sound-bars i:nth-child(2) { height: 10px; animation-delay: .15s; }
.sound-bars i:nth-child(3) { height: 7px; animation-delay: .3s; }
.video-sound.is-on .sound-bars i { animation-play-state: running; }
.video-sound.is-on { border-color: rgba(86,227,159,.30); color: #c9f8de; }
.video-sound.is-on .sound-bars i { background: var(--green); }

/* Keep HUD details legible above the video. */
.video-stage .scanner { z-index: 7; opacity: .7; }
.video-stage .crosshair { z-index: 7; }

/* Progressive motion across the page. Each repeated group is staggered in JS. */
.animations-ready .expertise-card.reveal,
.animations-ready .credential-card.reveal,
.animations-ready .timeline-item.reveal,
.animations-ready .engagement-list article.reveal,
.animations-ready .parallel-work > div.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(28px) scale(.985);
}
.expertise-card.reveal.visible,
.credential-card.reveal.visible,
.timeline-item.reveal.visible,
.engagement-list article.reveal.visible,
.parallel-work > div.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.timeline-item.reveal.visible { transform: translateX(0) scale(1); }

/* Animated accent sweep is restrained and only visible on hover. */
.expertise-card::after,
.credential-card::after {
  transition: opacity .35s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}
.expertise-card:hover::after,
.credential-card:hover::after { transform: translate3d(-18px,-10px,0) scale(1.08); }

/* Headings get a tiny depth effect while entering. */
.animations-ready .section-heading.reveal h2,
.animations-ready .contact-copy.reveal h2 {
  transform: translateY(12px);
  opacity: .88;
  transition: transform .8s cubic-bezier(.16,1,.3,1), opacity .8s ease;
}
.section-heading.reveal.visible h2,
.contact-copy.reveal.visible h2 {
  transform: translateY(0);
  opacity: 1;
}

/* Small floating effect on the radar / acknowledgement panels. */
.engagement-aside .reveal.visible:nth-child(1) { animation: asideFloat 6s ease-in-out 1s infinite; }
.engagement-aside .reveal.visible:nth-child(2) { animation: asideFloat 7s ease-in-out 1.5s infinite reverse; }

/* Page grid drifts almost imperceptibly to avoid a static wallpaper feel. */
body {
  animation: pageGridDrift 28s linear infinite;
}

@keyframes videoGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}
@keyframes soundBar {
  0%,100% { transform: scaleY(.5); opacity: .65; }
  50% { transform: scaleY(1.2); opacity: 1; }
}
@keyframes asideFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes pageGridDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 44px 44px, 44px 44px, 0 0; }
}

@media (max-width: 560px) {
  .video-sound { top: 12px; right: 12px; }
  .video-badge { left: 12px; bottom: 12px; font-size: 7px; }
  .hero-video { object-position: center; }
}




/* Video autoplay fallback -------------------------------------------------- */
.video-play-fallback {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 12;
  transform: translate(-50%, -50%) scale(.94);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(166, 140, 255, .45);
  border-radius: 999px;
  background: rgba(7, 7, 11, .78);
  color: #fff;
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .16em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 35px rgba(0,0,0,.35), 0 0 30px rgba(124,92,255,.16);
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease;
}
.video-play-fallback.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.video-play-fallback:hover {
  border-color: rgba(166, 140, 255, .85);
  transform: translate(-50%, -50%) scale(1.035);
}
.play-triangle {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--violet-2);
}


/* =========================================================
   V3 — explicit motion layer
   The portfolio owner requested visible animations even on
   systems where Windows "Animation effects" is disabled.
   ========================================================= */
html.force-motion { scroll-behavior: smooth; }

/* Hero copy enters in a deliberate sequence. */
html.force-motion .hero-copy.reveal { opacity: 1; transform: none; }
html.force-motion .hero-copy .status-pill,
html.force-motion .hero-copy .eyebrow,
html.force-motion .hero-copy .hero-tagline,
html.force-motion .hero-copy .hero-description,
html.force-motion .hero-copy .hero-actions,
html.force-motion .hero-copy .hero-links {
  opacity: 0;
  transform: translateY(22px);
}
html.force-motion .hero-copy .name-text {
  opacity: 0;
  transform: translateY(118%) rotateX(-10deg);
  filter: blur(9px);
}
html.force-motion .hero-copy.visible .status-pill { animation: heroRise .62s cubic-bezier(.16,1,.3,1) .05s both; }
html.force-motion .hero-copy.visible .eyebrow { animation: heroRise .66s cubic-bezier(.16,1,.3,1) .14s both; }
html.force-motion .hero-copy.visible .name-line-primary .name-text { animation: nameReveal .90s cubic-bezier(.16,1,.3,1) .18s both; }
html.force-motion .hero-copy.visible .name-line-secondary .name-text {
  animation: nameReveal 1s cubic-bezier(.16,1,.3,1) .32s both, nameShimmer 5.5s ease-in-out 1.7s infinite;
}
html.force-motion .hero-copy.visible .hero-tagline { animation: heroRise .72s cubic-bezier(.16,1,.3,1) .50s both; }
html.force-motion .hero-copy.visible .hero-description { animation: heroRise .72s cubic-bezier(.16,1,.3,1) .60s both; }
html.force-motion .hero-copy.visible .hero-actions { animation: heroRise .72s cubic-bezier(.16,1,.3,1) .70s both; }
html.force-motion .hero-copy.visible .hero-links { animation: heroRise .72s cubic-bezier(.16,1,.3,1) .80s both; }

/* Hero video has its own cinematic entrance. */
html.force-motion .hero-visual {
  opacity: 0;
  transform: translate3d(40px,18px,0) scale(.965);
  filter: blur(9px);
}
html.force-motion .hero-visual.motion-visible {
  animation: heroVisualIn 1.05s cubic-bezier(.16,1,.3,1) .38s both;
}
html.force-motion .video-stage::after { animation: videoGlowBreath 6s ease-in-out 1.4s infinite; }
html.force-motion .scanner { animation: scan 4.4s ease-in-out infinite; }
html.force-motion .video-grid { animation: videoGridDrift 12s linear infinite; }

/* Every content section visibly reveals on scroll. */
html.force-motion .reveal:not(.hero-copy) {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition:
    opacity .78s cubic-bezier(.16,1,.3,1) var(--delay,0s),
    transform .78s cubic-bezier(.16,1,.3,1) var(--delay,0s),
    filter .78s ease var(--delay,0s);
}
html.force-motion .reveal.visible:not(.hero-copy) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
html.force-motion .timeline-item.reveal { transform: translateX(-34px); }
html.force-motion .timeline-item.reveal.visible { transform: translateX(0); }

/* Stats pop in while the numbers count. */
html.force-motion .stat-strip.visible > div:nth-child(1) { animation: statPop .62s cubic-bezier(.16,1,.3,1) .04s both; }
html.force-motion .stat-strip.visible > div:nth-child(2) { animation: statPop .62s cubic-bezier(.16,1,.3,1) .13s both; }
html.force-motion .stat-strip.visible > div:nth-child(3) { animation: statPop .62s cubic-bezier(.16,1,.3,1) .22s both; }
html.force-motion .stat-strip.visible > div:nth-child(4) { animation: statPop .62s cubic-bezier(.16,1,.3,1) .31s both; }

/* Slight floating life in the cybersecurity UI. */
html.force-motion .ambient-one { animation: ambientDriftOne 14s ease-in-out infinite alternate; }
html.force-motion .ambient-two { animation: ambientDriftTwo 18s ease-in-out infinite alternate; }
html.force-motion body { animation: pageGridDrift 24s linear infinite; }
html.force-motion .video-badge i { animation: pulse 1.7s ease-in-out infinite; }
html.force-motion .engagement-aside .reveal.visible:nth-child(1) { animation: asideFloat 5.5s ease-in-out 1.1s infinite; }
html.force-motion .engagement-aside .reveal.visible:nth-child(2) { animation: asideFloat 6.5s ease-in-out 1.5s infinite reverse; }

@keyframes heroVisualIn {
  0% { opacity: 0; transform: translate3d(40px,18px,0) scale(.965); filter: blur(9px); }
  100% { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); }
}
@keyframes statPop {
  0% { opacity: 0; transform: translateY(18px) scale(.94); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes videoGlowBreath {
  0%,100% { opacity: .92; }
  50% { opacity: 1; }
}

/* Optional accessibility hook: add class reduce-motion to <html> if desired later. */
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
  animation: none !important;
  transition-duration: .01ms !important;
}
html.reduce-motion .reveal,
html.reduce-motion .hero-visual,
html.reduce-motion .hero-copy .name-text,
html.reduce-motion .hero-copy .status-pill,
html.reduce-motion .hero-copy .eyebrow,
html.reduce-motion .hero-copy .hero-tagline,
html.reduce-motion .hero-copy .hero-description,
html.reduce-motion .hero-copy .hero-actions,
html.reduce-motion .hero-copy .hero-links {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
