/* HP2HOME: Hebrew homepage v8 (root /), loaded by portal/portal_heb.html. Font Assistant comes from base_heb.html. */
.hp2 {
  --o: #FF7F4D; --o-deep: #D85A30; --o-tint: #fff1e8;
  --teal: #2AA3A8; --teal-deep: #1d7c80;
  --purple: #7f77dd; --purple-deep: #5b52c9;
  --ink: #1e293b; --muted: #475569; --line: #e2e8f0; --cream: #fffbf7;
  font-family: 'Assistant', 'Heebo', system-ui, sans-serif;
  color: var(--ink); background: var(--cream); line-height: 1.65;
  direction: rtl; text-align: right; overflow-x: hidden;
}
.hp2 *, .hp2 *::before, .hp2 *::after { box-sizing: border-box; }
.hp2 a { text-decoration: none; color: inherit; }
.hp2 h1, .hp2 h2, .hp2 h3, .hp2 p, .hp2 ul { margin: 0; padding: 0; }
.hp2 ul { list-style: none; }
.hp2 svg text { direction: ltr; }
.hp2 .wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hp2 .eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .02em; padding: 6px 14px; border-radius: 999px; }

/* buttons */
.hp2 .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 17px; padding: 13px 26px; border-radius: 12px; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; cursor: pointer; }
.hp2 .btn:hover { transform: translateY(-2px); }
.hp2 .btn-primary { background: var(--o); color: var(--ink); box-shadow: 0 6px 20px rgba(255,127,77,.35); }
.hp2 .btn-primary:hover { background: #ff6a35; box-shadow: 0 10px 26px rgba(255,127,77,.45); }
.hp2 .btn-ink { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(30,41,59,.28); }
.hp2 .btn-ink:hover { background: #0f172a; }
.hp2 .btn-white { background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(160,60,10,.18); }
.hp2 .btn-white:hover { color: var(--o-deep); }
.hp2 .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hp2 .btn-ghost:hover { background: rgba(255,255,255,.1); }
.hp2 .btn-ghost-dark { background: #fff; border-color: var(--line); color: var(--ink); }
.hp2 .btn-ghost-dark:hover { border-color: var(--o); color: var(--o-deep); }

.hp2 .section { padding: 84px 0; }
.hp2 .sec-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.2; color: var(--ink); }
.hp2 .sec-sub { font-size: 19px; color: var(--muted); margin-top: 14px; max-width: 720px; }

/* ================= HERO ================= */
.hp2 .hero { position: relative; padding: 64px 0 150px; overflow: hidden; color: var(--ink); background: linear-gradient(135deg, #FF7F4D 0%, #FF8F5E 52%, #FFA574 100%); }
.hp2 .hb { position: absolute; pointer-events: none; will-change: transform, border-radius; }
.hp2 .hb-1 { width: 46%; height: 120%; top: -30%; right: -12%; background: linear-gradient(135deg, #FFC4A5, #FFA574); opacity: .55; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; animation: hp2-morph1 26s ease-in-out infinite; }
.hp2 .hb-2 { width: 34%; height: 70%; bottom: -18%; left: -6%; background: linear-gradient(135deg, #FFE3D3, #FFCDB4); opacity: .6; border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%; animation: hp2-morph2 30s ease-in-out infinite; }
.hp2 .hb-3 { width: 22%; height: 46%; top: 6%; left: 34%; background: #FF6A35; opacity: .3; border-radius: 50%; animation: hp2-morph3 34s ease-in-out infinite; }
@keyframes hp2-morph1 { 0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translate(0, 0); } 50% { border-radius: 42% 58% 60% 40% / 40% 45% 55% 60%; transform: translate(-2%, 3%); } }
@keyframes hp2-morph2 { 0%, 100% { border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%; transform: translate(0, 0); } 50% { border-radius: 50%; transform: translate(4%, -4%); } }
@keyframes hp2-morph3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 8%) scale(1.12); } }

.hp2 .bub { position: absolute; bottom: -90px; border-radius: 50%; background: rgba(255,255,255,.22); pointer-events: none; animation: hp2-rise linear infinite; }
@keyframes hp2-rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(26px, -520px); } 90% { opacity: 1; } 100% { transform: translate(-10px, -1100px); opacity: 0; } }

.hp2 .hero-inner { position: relative; z-index: 2; }
.hp2 .hero-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; }
.hp2 .brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.hp2 .logo { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 4px 14px rgba(160,60,10,.2); }
.hp2 .hero .eyebrow { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(160,60,10,.15); }
.hp2 .hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.hp2 .hero h1 em { font-style: normal; white-space: nowrap; display: inline-block; background: #fff; color: var(--o-deep); padding: 0 14px; border-radius: 12px; transform: rotate(-1.2deg); box-shadow: 0 6px 18px rgba(160,60,10,.18); }
.hp2 .hero-sub { font-size: clamp(18px, 2vw, 21px); color: rgba(30,41,59,.88); max-width: 600px; margin-top: 20px; text-wrap: balance; }
.hp2 .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hp2 .hero-art-wrap { position: relative; }
.hp2 .hero-orbit { display: block; width: 100%; height: auto; overflow: visible; }
.hp2 .hero-orbit .pulse { transform-box: fill-box; transform-origin: center; animation: hp2-pulse 9s ease-in-out infinite; }
.hp2 .hero-orbit .p2 { animation-duration: 12s; animation-delay: -4s; }
.hp2 .hero-orbit .orb { transform-origin: 260px 210px; }
.hp2 .hero-orbit .orb-a { animation: hp2-orbit 52s linear infinite; }
.hp2 .hero-orbit .orb-b { animation: hp2-orbit 78s linear infinite reverse; }
.hp2 .hero-orbit .orb-c { animation: hp2-orbit 104s linear infinite; }
.hp2 .hero-orbit .bob { transform-box: fill-box; transform-origin: center; animation: hp2-bob 9s ease-in-out infinite; }
.hp2 .hero-orbit .b2 { animation-duration: 11s; animation-delay: -3s; }
.hp2 .hero-orbit .b3 { animation-duration: 10s; animation-delay: -6s; }
.hp2 .hero-orbit .b4 { animation-duration: 12s; animation-delay: -2s; }
.hp2 .hero-orbit .b5 { animation-duration: 13s; animation-delay: -7s; }
.hp2 .hero-orbit .b6 { animation-duration: 14s; animation-delay: -5s; }
.hp2 .hero-orbit .spark { transform-box: fill-box; transform-origin: center; animation: hp2-spark 6s ease-in-out infinite; }
.hp2 .hero-orbit .s2 { animation-delay: -2s; }
.hp2 .hero-orbit .s3 { animation-delay: -4s; }
.hp2 .hero-orbit .s4 { animation-delay: -1s; }
@keyframes hp2-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .65; } }
@keyframes hp2-orbit { to { transform: rotate(360deg); } }
@keyframes hp2-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes hp2-spark { 0%, 100% { transform: scale(.6); opacity: .35; } 50% { transform: scale(1.1); opacity: 1; } }

.hp2 .pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.hp2 .pillar { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 24px; padding: 32px 32px 28px; background: #fff; box-shadow: 0 24px 60px rgba(150,50,5,.22); transition: transform .3s ease, box-shadow .3s ease; }
.hp2 .pillar:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(150,50,5,.27); }
.hp2 .pillar::after { content: ""; position: absolute; top: -70px; left: -70px; width: 200px; height: 200px; border-radius: 50%; background: var(--accent); opacity: .1; pointer-events: none; }
.hp2 .pillar[data-p="omega"] { --accent: var(--purple); --tint: #efedfc; --deep: var(--purple-deep); }
.hp2 .pillar[data-p="school"] { --accent: var(--teal); --tint: #e0f4f4; --deep: var(--teal-deep); }
.hp2 .pillar .tag { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--deep); }
.hp2 .pillar h2 { font-size: 34px; font-weight: 800; margin-top: 14px; direction: ltr; text-align: right; color: var(--ink); }
.hp2 .pillar .lead { font-size: 18px; color: var(--muted); margin-top: 10px; }
.hp2 .pillar .points { margin-top: 18px; display: grid; gap: 9px; }
.hp2 .pillar .points li { position: relative; padding-right: 22px; font-size: 16px; color: var(--ink); }
.hp2 .pillar .points li::before { content: ""; position: absolute; right: 0; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.hp2 .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hp2 .chips span { font-size: 14px; font-weight: 600; padding: 5px 13px; border-radius: 999px; background: var(--tint); color: var(--deep); }
.hp2 .pillar .more { margin-top: auto; padding-top: 24px; font-weight: 700; font-size: 17px; color: var(--deep); display: inline-flex; gap: 8px; align-items: center; }
.hp2 .pillar .more:hover { color: var(--o-deep); }

.hp2 .hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 96px; overflow: hidden; direction: ltr; z-index: 1; pointer-events: none; }
.hp2 .wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.hp2 .w1 { animation: hp2-wavex 48s linear infinite; }
.hp2 .w2 { animation: hp2-wavex 72s linear infinite reverse; }
@keyframes hp2-wavex { to { transform: translateX(-50%); } }

/* ================= VIDEO ================= */
.hp2 .video-sec { background: var(--cream); }
.hp2 .video-head { text-align: center; }
.hp2 .video-head .sec-sub { margin-left: auto; margin-right: auto; }
.hp2 .video-frame { position: relative; max-width: 940px; margin: 40px auto 0; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; border: 6px solid #fff; background: #0f172a; box-shadow: 0 24px 60px rgba(30,41,59,.18); }
.hp2 .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hp2 .video-alt { text-align: center; margin-top: 16px; font-size: 15px; }
.hp2 .video-alt a { color: var(--o-deep); font-weight: 700; text-decoration: underline; }

/* ================= WHY ================= */
.hp2 .why-sec { background: #fff; }
.hp2 .why-panel { background: var(--o-tint); border: 1px solid #ffd9c4; border-radius: 28px; padding: 44px 48px; max-width: 980px; margin: 0 auto; }
.hp2 .why-panel .eyebrow { background: #fff; color: var(--teal-deep); box-shadow: 0 2px 10px rgba(30,41,59,.08); }
.hp2 .why-panel p { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.75; margin-top: 18px; font-weight: 600; color: var(--ink); }
.hp2 .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 26px auto 0; }
.hp2 .step { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; box-shadow: 0 8px 24px rgba(30,41,59,.05); }
.hp2 .step .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--c); color: var(--ink); }
.hp2 .step:nth-child(1) { --c: var(--o); }
.hp2 .step:nth-child(2) { --c: var(--teal); }
.hp2 .step:nth-child(3) { --c: var(--purple); }
.hp2 .step:nth-child(3) .n { color: #fff; }
.hp2 .step h3 { font-size: 20px; font-weight: 800; margin-top: 14px; }
.hp2 .step p { color: var(--muted); font-size: 16px; margin-top: 6px; }

/* ================= AGENTS ================= */
.hp2 .ag-sec { background: linear-gradient(180deg, #e6f6f6 0%, #f5fbfb 100%); }
.hp2 .ag-head { text-align: center; }
.hp2 .ag-head .eyebrow { background: #fff; color: var(--o-deep); border: 1px solid #ffd0b8; margin-bottom: 18px; }
.hp2 .ag-head .sec-title { max-width: 820px; margin: 0 auto; }
.hp2 .ag-head .sec-sub { margin-left: auto; margin-right: auto; }
.hp2 .ag-art { max-width: 900px; margin: 40px auto 0; border-radius: 28px; overflow: hidden; border: 5px solid #fff; background: #fff; box-shadow: 0 24px 60px rgba(30,41,59,.16); }
.hp2 .ag-art svg { display: block; width: 100%; height: auto; }
.hp2 .ag-art svg text.bn { direction: ltr; font-family: 'Assistant', sans-serif; font-weight: 800; font-size: 15px; fill: #fff; }
.hp2 .ag-art svg .fl { animation: hp2-float 4.5s ease-in-out infinite; }
.hp2 .ag-art svg .hop { animation: hp2-hop 2s ease-in-out infinite; }
.hp2 .ag-art svg .spin { transform-box: fill-box; transform-origin: center; animation: hp2-spin 9s linear infinite; }
.hp2 .ag-art svg .beat { transform: translate(58px, 62px) scale(2.1); animation: hp2-beat 1.8s ease-in-out infinite; }
.hp2 .ag-art svg .fly { animation: hp2-fly 3.4s ease-in-out infinite; }
.hp2 .ag-art svg .tw { animation: hp2-tw 4s ease-in-out infinite; }
.hp2 .ag-art svg .cloud { animation: hp2-cloud 38s ease-in-out infinite alternate; }
.hp2 .ag-art svg .cl2 { animation-duration: 52s; animation-delay: -10s; }
.hp2 .ag-art svg .cl3 { animation-duration: 44s; animation-delay: -20s; }
.hp2 .ag-art svg .mh { transform-origin: 400px 114px; animation: hp2-tick 30s linear infinite; }
.hp2 .ag-art svg .wave-flag { transform-origin: 400px 37px; animation: hp2-flag 3s ease-in-out infinite; }
.hp2 .ag-art svg .eyes { transform-box: fill-box; transform-origin: center; animation: hp2-blink 5s infinite; }
@keyframes hp2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes hp2-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hp2-spin { to { transform: rotate(360deg); } }
@keyframes hp2-beat { 0%, 100% { transform: translate(58px, 62px) scale(2.1); } 50% { transform: translate(58px, 62px) scale(2.4); } }
@keyframes hp2-fly { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -6px); } }
@keyframes hp2-tw { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes hp2-cloud { from { transform: translateX(-24px); } to { transform: translateX(34px); } }
@keyframes hp2-tick { to { transform: rotate(360deg); } }
@keyframes hp2-flag { 0%, 100% { transform: skewY(0deg); } 50% { transform: skewY(8deg); } }
@keyframes hp2-blink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

.hp2 .ticker { max-width: 900px; margin: 22px auto 0; display: flex; align-items: stretch; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(30,41,59,.06); }
.hp2 .ticker-label { flex: none; padding: 10px 20px; font-weight: 800; font-size: 15px; color: var(--ink); background: var(--o); display: flex; align-items: center; }
.hp2 .ticker-view { flex: 1; overflow: hidden; direction: ltr; display: flex; align-items: center; }
.hp2 .ticker-track { display: inline-flex; flex: none; gap: 34px; padding: 10px 17px; white-space: nowrap; animation: hp2-marq 46s linear infinite; }
.hp2 .ticker-track span { direction: rtl; font-size: 15px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.hp2 .ticker-track span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
@keyframes hp2-marq { to { transform: translateX(-50%); } }

.hp2 .ag-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.hp2 .ag-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 20px 18px; box-shadow: 0 8px 24px rgba(30,41,59,.05); }
.hp2 .ag-item .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--ink); background: var(--c); }
.hp2 .ag-item[data-c="o"] { --c: var(--o); }
.hp2 .ag-item[data-c="t"] { --c: var(--teal); }
.hp2 .ag-item[data-c="p"] { --c: var(--purple); }
.hp2 .ag-item[data-c="p"] .n, .hp2 .ag-item[data-c="r"] .n { color: #fff; }
.hp2 .ag-item[data-c="r"] { --c: var(--o-deep); }
.hp2 .ag-item h3 { font-size: 19px; font-weight: 800; margin-top: 12px; }
.hp2 .ag-item p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.hp2 .ag-note { text-align: center; font-size: 13px; color: #64748b; margin-top: 22px; }

/* ================= AUDIENCES ================= */
.hp2 .aud-sec { background: var(--cream); }
.hp2 .aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.hp2 .aud { border-radius: 24px; padding: 34px 32px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: flex-start; box-shadow: 0 8px 24px rgba(30,41,59,.05); transition: transform .25s, box-shadow .25s; }
.hp2 .aud:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(30,41,59,.1); }
.hp2 .aud h3 { font-size: 26px; font-weight: 800; }
.hp2 .aud p { font-size: 18px; color: var(--muted); margin-top: 10px; }
.hp2 .aud .btn { margin-top: 24px; }

/* ================= STORE ================= */
.hp2 .store-sec { background: #f8fafc; }
.hp2 .store-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hp2 .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.hp2 .tile { background: #fff; border-radius: 20px; padding: 22px 22px 20px; border: 1px solid var(--line); border-top: 4px solid var(--c); display: flex; flex-direction: column; gap: 6px; transition: transform .2s, box-shadow .2s; }
.hp2 .tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,41,59,.1); }
.hp2 .tile h3 { font-size: 19px; font-weight: 800; }
.hp2 .tile p { font-size: 15px; color: var(--muted); }
.hp2 .tile[data-c="o"] { --c: var(--o); }
.hp2 .tile[data-c="t"] { --c: var(--teal); }
.hp2 .tile[data-c="p"] { --c: var(--purple); }
.hp2 .tile[data-c="r"] { --c: var(--o-deep); }
.hp2 .reads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; align-items: center; }
.hp2 .reads b { font-size: 16px; margin-left: 6px; }
.hp2 .reads a { font-size: 15px; font-weight: 600; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.hp2 .reads a:hover { border-color: var(--o); color: var(--o-deep); }

/* ================= SCIENCE (as on the current page) ================= */
.hp2 .sci-sec { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: #fff; }
.hp2 .sci-sec .sec-title { color: #fff; }
.hp2 .sci-sec .sec-sub { color: rgba(255,255,255,.74); }
.hp2 .sci-sec .sec-title span { color: var(--o); }
.hp2 .themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.hp2 .theme { border-radius: 20px; padding: 28px 26px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.hp2 .theme .ic { font-size: 30px; }
.hp2 .theme h3 { font-size: 21px; font-weight: 800; margin-top: 10px; }
.hp2 .theme p { font-size: 16px; color: rgba(255,255,255,.78); margin-top: 8px; }
.hp2 .sci-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ================= CONTACT ================= */
.hp2 .contact-sec { position: relative; overflow: hidden; padding: 84px 0; background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #e0e7ff 100%); }
.hp2 .contact-sec::before, .hp2 .contact-sec::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hp2 .contact-sec::before { width: 320px; height: 320px; top: -110px; right: -80px; background: rgba(139,92,246,.13); animation: hp2-morph3 30s ease-in-out infinite; }
.hp2 .contact-sec::after { width: 240px; height: 240px; bottom: -90px; left: -60px; background: rgba(99,102,241,.1); animation: hp2-morph3 36s ease-in-out infinite reverse; }
.hp2 .contact-panel { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; border-radius: 32px; padding: 56px 40px; text-align: center; background: #fff; box-shadow: 0 24px 60px rgba(124,58,237,.14); }
.hp2 .contact-panel h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; color: var(--ink); }
.hp2 .contact-panel p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 14px auto 0; }
.hp2 .contact-panel .btn { margin-top: 28px; background: var(--o); color: var(--ink); box-shadow: 0 6px 20px rgba(255,127,77,.35); }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hp2 .hero { padding: 48px 0 120px; }
  .hp2 .hero-top { grid-template-columns: 1fr; }
  .hp2 .hero-art-wrap { display: none; }
  .hp2 .pillars, .hp2 .aud-grid, .hp2 .steps, .hp2 .themes { grid-template-columns: 1fr; }
  .hp2 .tiles, .hp2 .ag-legend { grid-template-columns: 1fr 1fr; }
  .hp2 .why-panel { padding: 32px 26px; }
}
@media (max-width: 600px) {
  .hp2 .section, .hp2 .contact-sec { padding: 56px 0; }
  .hp2 .wrap { padding: 0 18px; }
  .hp2 .tiles, .hp2 .ag-legend { grid-template-columns: 1fr; }
  .hp2 .pillar { padding: 28px 22px 24px; }
  .hp2 .btn { width: 100%; }
  .hp2 .hero-cta { gap: 18px; }
  .hp2 .contact-panel { padding: 44px 22px; }
  .hp2 .ag-art { border-radius: 20px; }
  .hp2 .ticker-label { padding: 10px 14px; font-size: 14px; }
  .hp2 .hero-waves { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp2 *, .hp2 *::before, .hp2 *::after { animation: none !important; }
}

/* ================= v5 additions ================= */

/* reveal on scroll (only hides when JS is running) */
:where(.hp2) .rv { transition: opacity .85s ease, translate .85s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
:where(.hp2.hp2-js) .rv:not(.in) { opacity: 0; translate: 0 30px; }

/* hero: drifting gradient, cursor light, parallax */
.hp2 .hero { background-size: 180% 180%; animation: hp2-grad 24s ease-in-out infinite; }
@keyframes hp2-grad { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hp2 .hero-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(460px circle at var(--mx, 70%) var(--my, 28%), rgba(255,255,255,.32), transparent 62%); }
.hp2 .hero:hover .hero-glow { opacity: 1; }
.hp2 .hb-1 { translate: calc(var(--px, 0) * -22px) calc(var(--py, 0) * -14px); transition: translate .7s ease-out; }
.hp2 .hb-2 { translate: calc(var(--px, 0) * 18px) calc(var(--py, 0) * 12px); transition: translate .7s ease-out; }
.hp2 .hb-3 { translate: calc(var(--px, 0) * -32px) calc(var(--py, 0) * 24px); transition: translate .7s ease-out; }
.hp2 .hero-art-wrap { translate: calc(var(--px, 0) * 18px) calc(var(--py, 0) * 12px); transition: translate .5s ease-out; }

/* hero headline (v4) */
.hp2 .hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; line-height: 1.2; color: var(--ink); text-wrap: balance; animation: hp2-fadeup .9s ease .9s both; }
.hp2 .hero h1 em { font-style: normal; white-space: nowrap; display: inline-block; background: #fff; color: var(--o-deep); padding: 0 14px; border-radius: 12px; transform: rotate(-1.2deg); box-shadow: 0 6px 18px rgba(160,60,10,.18); }
/* welcome banner */
.hp2 .welcome { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0; margin-bottom: 22px; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(160,60,10,.22); animation: hp2-fadeup .8s ease .25s both; }
.hp2 .welcome .wv { padding: 10px 18px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; background: var(--ink); color: #fff; }
.hp2 .welcome .wv2 { background: #fff; color: var(--o-deep); position: relative; overflow: hidden; }
.hp2 .welcome .wv2::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,127,77,.28), transparent); animation: hp2-sheen 6s ease-in-out 2s infinite; }
@keyframes hp2-sheen { 0% { left: -60%; } 30%, 100% { left: 120%; } }
.hp2 .hero-lead { font-size: clamp(17px, 1.9vw, 20px); font-weight: 400; line-height: 1.6; color: rgba(30,41,59,.92); max-width: 620px; margin-top: 22px; text-wrap: pretty; animation: hp2-fadeup .9s ease 1.5s both; }
.hp2 .hero-lead b { font-weight: 800; color: var(--ink); }
.hp2 .hero-cta { align-items: center; gap: 26px; animation: hp2-fadeup .9s ease 1.75s both; }
.hp2 .hero-play { display: inline-flex; align-items: center; gap: 16px; color: var(--ink); direction: rtl; }
.hp2 .hero-play .hp-ic { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--o-deep); color: #fff; box-shadow: 0 10px 26px rgba(160,60,10,.3); transition: transform .25s; }
.hp2 .hero-play .hp-ic svg { width: 24px; height: 24px; margin-left: -3px; }
.hp2 .hero-play .hp-ic::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(30,41,59,.35); animation: hp2-ring 2.8s ease-out infinite; }
.hp2 .hero-play:hover .hp-ic { transform: scale(1.08); }
.hp2 .hero-play .hp-tx { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.hp2 .hero-play .hp-ic { flex: none; }
.hp2 .hero-play b { font-size: 18px; font-weight: 800; }
.hp2 .hero-play small { font-size: 14px; font-weight: 600; color: rgba(30,41,59,.72); }
.hp2 .hero-talk { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: var(--ink); padding-bottom: 3px; border-bottom: 2.5px solid rgba(30,41,59,.55); transition: border-color .2s, gap .2s; }
.hp2 .hero-talk:hover { border-color: var(--ink); gap: 14px; }
.hp2 .brand-row { animation: hp2-fadeup .8s ease .05s both; }
@keyframes hp2-fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hp2 .hero-orbit .glint { transform-box: fill-box; transform-origin: center; animation: hp2-glint 5.5s ease-in-out infinite; }
@keyframes hp2-glint { 0%, 55%, 100% { transform: scale(0) rotate(0deg); opacity: 0; } 70% { transform: scale(1.2) rotate(45deg); opacity: 1; } 85% { transform: scale(.4) rotate(90deg); opacity: .5; } }

/* pillars: tilt and cursor glow */
.hp2 .pillar { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .25s ease-out, box-shadow .3s ease, opacity .85s ease, translate .85s cubic-bezier(.2,.7,.2,1); transition-delay: 0s, 0s, var(--d, 0s), var(--d, 0s); transform-style: preserve-3d; }
.hp2 .pillar:hover { --lift: -4px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); box-shadow: 0 30px 70px rgba(150,50,5,.27); }
.hp2 .pillar > * { position: relative; z-index: 1; }
.hp2 .pillar::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(340px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,127,77,.16), transparent 65%); }
.hp2 .pillar:hover::before { opacity: 1; }

/* stats strip floating over the hero edge */
.hp2 .stats { position: relative; z-index: 3; margin-top: -60px; padding-bottom: 6px; }
.hp2 .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 24px; border: 1px solid #ffe3d3; box-shadow: 0 24px 60px rgba(150,50,5,.18); overflow: hidden; }
.hp2 .stat { position: relative; padding: 26px 18px; text-align: center; }
.hp2 .stat + .stat::before { content: ""; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.hp2 .stat .num { direction: ltr; font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; line-height: 1.1; color: var(--ink); }
.hp2 .stat .num em { font-style: normal; color: var(--o); }
.hp2 .stat .num.txt { direction: rtl; }
.hp2 .stat .lbl { font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.hp2 .video-sec { padding-top: 56px; }

/* journey (the protocol, ending on the sovereign self learner) */
.hp2 .journey { position: relative; max-width: 980px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hp2 .jr-track { position: absolute; top: 22px; right: 12.5%; left: 12.5%; height: 6px; border-radius: 6px; background: #e2e8f0; }
.hp2 .jr-fill { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(270deg, var(--o), var(--teal), var(--purple)); transform-origin: right center; transition: transform 3.3s cubic-bezier(.5,0,.2,1) .3s; }
.hp2 .jr-dot { position: absolute; top: -9px; right: 0; width: 24px; height: 24px; margin-right: -12px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 4px 12px rgba(30,41,59,.25); animation: hp2-jrdot 3.3s cubic-bezier(.5,0,.2,1) .3s both; z-index: 3; }
.hp2 .jr-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--o); }
@keyframes hp2-jrdot { from { right: 0; opacity: 1; } 92% { opacity: 1; } to { right: 100%; opacity: 1; } }
@keyframes hp2-jrdot-v { from { top: 0; opacity: 1; } to { top: 100%; opacity: 1; } }
:where(.hp2.hp2-js) .journey:not(.in) .jr-fill { transform: scaleX(0); }
:where(.hp2.hp2-js) .journey:not(.in) .jr-dot { animation: none; opacity: 0; }
.hp2 .jr-step { position: relative; text-align: center; }
.hp2 .jr-node { position: relative; z-index: 2; width: 50px; height: 50px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 800; background: var(--c); color: var(--ink); border: 3px solid #fff; box-shadow: 0 8px 20px rgba(30,41,59,.16); transition: transform .7s cubic-bezier(.3,1.6,.5,1), background .5s, color .5s, box-shadow .5s; transition-delay: var(--td, 0s); }
:where(.hp2.hp2-js) .journey:not(.in) .jr-node { background: #e2e8f0; color: #94a3b8; transform: scale(.78); box-shadow: none; }
.hp2 .jr-step:nth-of-type(3) .jr-node { color: #fff; }
:where(.hp2.hp2-js) .journey:not(.in) .jr-step:nth-of-type(3) .jr-node { color: #94a3b8; }
.hp2 .jr-txt h3 { font-size: 19px; font-weight: 800; margin-top: 14px; }
.hp2 .jr-txt p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.hp2 .jr-final .jr-node { width: 62px; height: 62px; margin-top: -6px; background: #ffd166; }
.hp2 .jr-final .jr-node::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255,127,77,.55); animation: hp2-ring 3.6s ease-out infinite; }
.hp2 .jr-final .jr-node svg { width: 30px; height: 30px; }
.hp2 .jr-final .jr-txt h3 { color: var(--o-deep); }
@keyframes hp2-ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* agents scene: busy bots and calm humans */
.hp2 .ag-art svg .wd { animation: hp2-wd1 20s ease-in-out infinite; }
.hp2 .ag-art svg .wd2 { animation-name: hp2-wd2; }
.hp2 .ag-art svg .wd3 { animation-name: hp2-wd3; }
@keyframes hp2-wd1 { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(58px, -12px); } 50% { transform: translate(84px, 16px); } 75% { transform: translate(26px, 26px); } }
@keyframes hp2-wd2 { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-64px, 14px); } 60% { transform: translate(-24px, -16px); } 80% { transform: translate(-70px, -4px); } }
@keyframes hp2-wd3 { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(36px, 22px); } 55% { transform: translate(-36px, 30px); } 80% { transform: translate(-52px, -8px); } }
.hp2 .ag-art svg .cour { animation: hp2-cour 22s linear infinite; }
.hp2 .ag-art svg .c2 { animation-duration: 28s; animation-direction: reverse; animation-delay: -10s; }
@keyframes hp2-cour { 0% { transform: translate(-90px, 0); } 25% { transform: translate(190px, -16px); } 50% { transform: translate(450px, 12px); } 75% { transform: translate(680px, -14px); } 100% { transform: translate(900px, 4px); } }
.hp2 .ag-art svg .wk { transform-box: fill-box; transform-origin: center; animation: hp2-walk 30s linear infinite; }
.hp2 .ag-art svg .wk2 { animation-duration: 38s; animation-delay: -14s; }
.hp2 .ag-art svg .wk3 { animation-duration: 46s; animation-delay: -27s; }
@keyframes hp2-walk { 0% { transform: translateX(-50px) scaleX(1); } 46% { transform: translateX(800px) scaleX(1); } 50% { transform: translateX(800px) scaleX(-1); } 96% { transform: translateX(-50px) scaleX(-1); } 100% { transform: translateX(-50px) scaleX(1); } }
.hp2 .ag-art svg .stp { animation: hp2-step .6s ease-in-out infinite alternate; }
@keyframes hp2-step { from { transform: translateY(0); } to { transform: translateY(-3.5px); } }
.hp2 .ag-art svg .pk { opacity: 0; filter: drop-shadow(0 0 3px rgba(255,255,255,.9)); }
.hp2 .ag-art svg .pkx { animation: hp2-pkx 8s linear infinite; }
.hp2 .ag-art svg .pky { animation: hp2-pky 8s linear infinite; }
@keyframes hp2-pkx { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(568px); opacity: 0; } }
@keyframes hp2-pky { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(284px); opacity: 0; } }
.hp2 .ag-art svg .pop { transform-box: fill-box; transform-origin: center; animation: hp2-pop 8s ease-out infinite; }
@keyframes hp2-pop { 0%, 62% { transform: scale(0); opacity: 0; } 68% { transform: scale(1.18); opacity: 1; } 72% { transform: scale(1); } 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(.6); opacity: 0; } }
.hp2 .ag-art svg .sw { transform-box: fill-box; transform-origin: 50% 100%; animation: hp2-sway 6s ease-in-out infinite; }
@keyframes hp2-sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.hp2 .ag-art svg .aha { transform-box: fill-box; transform-origin: center; animation: hp2-aha 9s ease-out infinite; }
@keyframes hp2-aha { 0%, 55% { transform: translateY(6px) scale(0); opacity: 0; } 64% { transform: translateY(-4px) scale(1.2); opacity: 1; } 70% { transform: translateY(-4px) scale(1); } 90% { transform: translateY(-9px) scale(1); opacity: 1; } 100% { transform: translateY(-14px) scale(.7); opacity: 0; } }

/* responsive additions */
@media (max-width: 900px) {
  .hp2 .journey { grid-template-columns: 1fr; gap: 28px; }
  .hp2 .jr-track { top: 25px; bottom: 25px; right: 22px; left: auto; width: 6px; height: auto; }
  .hp2 .jr-fill { transform-origin: center top; background: linear-gradient(180deg, var(--o), var(--teal), var(--purple)); }
  :where(.hp2.hp2-js) .journey:not(.in) .jr-fill { transform: scaleY(0); }
  .hp2 .jr-dot { right: auto; left: 50%; top: 0; margin: 0 0 0 -12px; animation-name: hp2-jrdot-v; }
  .hp2 .jr-step { display: grid; grid-template-columns: 50px 1fr; gap: 16px; text-align: right; align-items: start; }
  .hp2 .jr-node { margin: 0; }
  .hp2 .jr-final .jr-node { margin: -6px -6px -6px 0; }
  .hp2 .jr-txt h3 { margin-top: 2px; }
}
@media (max-width: 600px) {
  .hp2 .stat { padding: 18px 6px; }
  .hp2 .stat .lbl { font-size: 12.5px; }
  .hp2 .stats { margin-top: -50px; }
}
@media (prefers-reduced-motion: reduce) {
    .hp2 .jr-fill { transform: none !important; }
  .hp2 .jr-node { transform: none !important; }
  .hp2 .rv { opacity: 1 !important; translate: none !important; }
  .hp2 *, .hp2 *::before, .hp2 *::after { transition: none !important; }
}
