
/* HN Multiverrse — About Team Gallery and Founder profile additions */
.hn-team-gallery{padding:88px 0;background:#f7f7ff;color:#15143b;overflow:hidden}
.hn-team-head{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:30px}
.hn-team-head h2,.hn-founder-invite h2,.hn-founder-section-label h2,.hn-founder-timeline-head h2,.hn-founder-bottom h2{font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.04em;margin:12px 0}
.hn-team-head h2 em,.hn-founder-invite h2 em,.hn-founder-section-label h2 em,.hn-founder-timeline-head h2 em,.hn-founder-bottom h2 em{font-style:normal;color:#8d7aff}
.hn-team-head>p{max-width:390px;color:#65647f;line-height:1.7;margin:0 0 5px}
.hn-team-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:16px}
.hn-team-photo{position:relative;min-height:255px;margin:0;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#1e153e,#6941e8 65%,#a58aff);box-shadow:0 18px 45px #291c541c}
.hn-team-photo img{width:100%;height:100%;min-height:255px;object-fit:cover;display:block;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.hn-team-photo:hover img{transform:scale(1.045)}
.hn-team-photo:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#181032d9);pointer-events:none}
.hn-team-photo figcaption{position:absolute;z-index:1;left:22px;right:20px;bottom:20px;color:white;display:grid;gap:5px}
.hn-team-photo figcaption span{font-size:10px;letter-spacing:.15em;font-weight:800;color:#dbd3f4}
.hn-team-photo figcaption b{font-size:20px}
.hn-photo-placeholder{display:flex;align-items:center;justify-content:center}
.hn-photo-placeholder:before{content:"Add your team photo here";color:#fff9;font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.hn-founder-invite{margin-top:24px;padding:35px 42px;border-radius:24px;background:linear-gradient(110deg,#1e153e,#34236a 68%,#6941e8);color:#fff;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden}
.hn-founder-invite:after{content:"";position:absolute;width:320px;height:320px;border:1px solid #ffffff20;border-radius:50%;right:10%;top:-210px;box-shadow:0 0 0 35px #ffffff08,0 0 0 70px #ffffff06}
.hn-founder-invite .hn-info-kicker{color:#d9d1f3}.hn-founder-invite h2{max-width:600px}.hn-founder-invite h2 em{color:#c6b9ee}
.hn-founder-invite p{color:#dfd8f5;margin:0 0 20px}.hn-founder-invite-mark{font-size:70px;font-weight:900;letter-spacing:-.1em;color:#ffffff20;z-index:1}.hn-founder-invite-mark span{font-size:25px;color:#c6b9ee;vertical-align:top}
.hn-founder-page{color:#1e143d}
.hn-founder-hero{background:radial-gradient(ellipse at 78% 45%,#6941e8 0,transparent 40%),linear-gradient(120deg,#101032,#271a4f 62%,#6941e8);color:#fff;overflow:hidden}
.hn-founder-hero-inner{min-height:510px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:35px;padding-top:55px}
.hn-founder-hero-copy{padding:35px 0;position:relative;z-index:2}.hn-founder-hero-copy .hn-info-kicker{color:#d6c5ff}
.hn-founder-hero h1{font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.055em;margin:22px 0 14px}.hn-founder-hero h1 em{font-style:normal;color:#bcaeeb}
.hn-founder-role{font-size:20px;font-weight:650;margin:0 0 25px}.hn-founder-tagline{font-size:19px;color:#d9d1f2;font-style:italic;margin-bottom:28px}
.hn-founder-portfolio{display:inline-flex;gap:18px;align-items:center;padding:13px 20px;border-radius:99px;background:#8d7aff;color:white;font-weight:750;text-decoration:none;box-shadow:0 12px 32px #8d7aff55}
.hn-founder-portrait-wrap{height:440px;align-self:end;position:relative;display:flex;align-items:end;justify-content:center}
.hn-founder-portrait-glow{position:absolute;width:360px;height:360px;border-radius:50%;background:linear-gradient(135deg,#9170ff88,#ffffff08);filter:blur(2px);bottom:28px}
.hn-founder-portrait{position:relative;width:min(100%,390px);height:420px;border-radius:190px 190px 22px 22px;overflow:hidden;background:linear-gradient(145deg,#6941e8,#261a4d);border:1px solid #ffffff38;box-shadow:0 24px 65px #0d091b77}
.hn-founder-portrait img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.hn-portrait-fallback{display:none}.hn-portrait-placeholder .hn-portrait-fallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}
.hn-portrait-fallback span{font-size:82px;font-weight:850;letter-spacing:-.08em}.hn-portrait-fallback small{letter-spacing:.15em;text-transform:uppercase;color:#d8caff}
.hn-founder-portrait-caption{position:absolute;right:0;bottom:20px;font-size:10px;letter-spacing:.18em;color:#d8caff}
.hn-founder-story{padding:90px 0;background:#fff}
.hn-founder-story-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:65px}
.hn-founder-section-label h2{max-width:360px}.hn-founder-story-copy{max-width:760px;color:#65647b;line-height:1.85;font-size:16px}
.hn-founder-story-copy p{margin:0 0 18px}.hn-founder-story-copy .hn-founder-lead{font-size:23px;line-height:1.5;color:#271b50;font-weight:650}
.hn-founder-vision{padding:20px 0 85px;background:#fff}
.hn-founder-vision-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.hn-founder-vision-card{padding:36px;border-radius:22px;background:#f4f2fc;border:1px solid #e5defe}
.hn-founder-vision-card span{font-size:11px;letter-spacing:.15em;font-weight:850;color:#8d7aff}
.hn-founder-vision-card h2{font-size:30px;line-height:1.1;letter-spacing:-.04em;margin:18px 0}
.hn-founder-vision-card h2 em{font-style:normal;color:#8d7aff}.hn-founder-vision-card p{color:#66627e;line-height:1.75;margin:0}
.hn-founder-vision-card.hn-vision-primary{background:linear-gradient(130deg,#1e153e,#6941e8);color:#fff}
.hn-vision-primary span{color:#d3caf2}.hn-vision-primary h2 em{color:#c3b6ed}.hn-vision-primary p{color:#dfd9f4}
.hn-founder-timeline{padding:85px 0;background:#f7f6ff}
.hn-founder-timeline-head{text-align:center;max-width:620px;margin:0 auto 55px}.hn-founder-timeline-head p{color:#77738e}
.hn-timeline-track{display:grid;grid-template-columns:1fr 1fr;gap:45px;max-width:900px;margin:auto;position:relative}
.hn-timeline-track:before{content:"";height:2px;background:linear-gradient(90deg,#8d7aff,#ccc1f0);position:absolute;top:7px;left:8%;right:8%}
.hn-timeline-item{position:relative;padding:35px 28px 25px;border-radius:18px;background:#fff;box-shadow:0 12px 36px #2418490d}
.hn-timeline-dot{position:absolute;top:-1px;left:28px;width:16px;height:16px;border-radius:50%;background:#8d7aff;border:4px solid #e5e0f7;box-shadow:0 0 0 5px #8d7aff22}
.hn-timeline-item small{font-size:10px;letter-spacing:.14em;color:#8d7aff;font-weight:850}
.hn-timeline-item h3{font-size:22px;margin:10px 0}.hn-timeline-item p{color:#706d85;line-height:1.7;margin:0}
.hn-founder-bottom{padding:75px 0;background:#1e153e;color:#fff}
.hn-founder-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.hn-founder-bottom .hn-info-kicker{color:#d7cef3}.hn-founder-bottom h2 em{color:#c3b6ed}.hn-founder-bottom p{color:#d9d3ed;margin:0}
@media(max-width:800px){.hn-team-head{display:block}.hn-team-head>p{margin-top:14px}.hn-team-grid{grid-template-columns:1fr 1fr}.hn-team-photo-wide{grid-column:1/-1}.hn-founder-hero-inner{grid-template-columns:1fr;gap:0;padding-top:45px}.hn-founder-portrait-wrap{height:340px}.hn-founder-portrait{height:330px;width:300px}.hn-founder-portrait-glow{width:280px;height:280px}.hn-founder-portrait-caption{right:calc(50% - 150px)}.hn-founder-story-grid{grid-template-columns:1fr;gap:22px}.hn-founder-vision-grid{grid-template-columns:1fr}.hn-founder-bottom-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.hn-team-gallery{padding:60px 0}.hn-team-grid{grid-template-columns:1fr}.hn-team-photo-wide{grid-column:auto}.hn-team-photo{min-height:220px}.hn-team-photo img{min-height:220px}.hn-founder-invite{padding:28px;display:block}.hn-founder-invite-mark{position:absolute;right:22px;bottom:10px;font-size:48px;opacity:.65}.hn-founder-story{padding:60px 0}.hn-founder-vision{padding-bottom:60px}.hn-founder-vision-card{padding:27px}.hn-founder-timeline{padding:60px 0}.hn-timeline-track{grid-template-columns:1fr;gap:20px}.hn-timeline-track:before{left:7px;right:auto;top:5px;bottom:5px;width:2px;height:auto}.hn-timeline-item{margin-left:22px}.hn-founder-bottom{padding:60px 0}}
@media(prefers-reduced-motion:no-preference){.hn-team-photo{animation:hn-gallery-rise .7s both}.hn-team-photo:nth-child(2){animation-delay:.1s}.hn-team-photo:nth-child(3){animation-delay:.2s}.hn-timeline-item{animation:hn-timeline-rise .7s both}.hn-timeline-item:nth-child(2){animation-delay:.18s}@keyframes hn-gallery-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes hn-timeline-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}}

/* 25-image cinematic gallery: layered depth, tilt and hover lift */
.hn-team-gallery{background:radial-gradient(ellipse at 50% 0%,#ece8f9 0,transparent 52%),#f8f7ff}
.hn-team-gallery-stage{perspective:1400px;transform-style:preserve-3d}
.hn-team-gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px;transform-style:preserve-3d}
.hn-team-photo-card{min-height:205px;border-radius:17px;overflow:hidden;position:relative;isolation:isolate;transform-style:preserve-3d;box-shadow:0 14px 28px #23184720;transition:transform .55s cubic-bezier(.2,.8,.2,1),box-shadow .55s}
.hn-team-photo-card:nth-child(5n+1){transform:rotateY(4deg) rotateX(2deg)}
.hn-team-photo-card:nth-child(5n+3){transform:rotateY(-4deg) rotateX(-2deg)}
.hn-team-photo-card:nth-child(5n){transform:translateZ(10px) rotateY(-2deg)}
.hn-team-photo-card img{width:100%;height:100%;min-height:205px;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.2,.8,.2,1),filter .6s}
.hn-team-photo-card:hover{z-index:3;transform:translateY(-12px) translateZ(45px) rotateX(0) rotateY(0) scale(1.035);box-shadow:0 30px 55px #271b5038}
.hn-team-photo-card:hover img{transform:scale(1.1);filter:saturate(1.12)}
.hn-team-photo-card:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border:1px solid #ffffff55;border-radius:inherit;box-shadow:inset 0 1px #ffffff50}
.hn-team-photo-card figcaption{left:13px;right:13px;bottom:13px;transform:translateZ(24px)}
.hn-team-photo-card figcaption b{font-size:28px;line-height:1;color:#fff9}
.hn-team-photo-card figcaption span{font-size:8px;letter-spacing:.13em}
.hn-team-photo-card.hn-photo-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#1e153e,#6941e8 60%,#967bf0);min-height:205px}
.hn-team-photo-card.hn-photo-placeholder:after{content:"TEAM PHOTO";position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);font-size:11px;letter-spacing:.18em;color:#fff9;font-weight:800}
.hn-team-photo-card.hn-photo-placeholder figcaption{z-index:2}
@media(max-width:1050px){.hn-team-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.hn-team-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.hn-team-photo-card,.hn-team-photo-card img{min-height:165px}}
@media(max-width:480px){.hn-team-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hn-team-photo-card,.hn-team-photo-card img{min-height:150px}}
@media(prefers-reduced-motion:no-preference){.hn-team-photo-card{animation:hn-photo-enter .8s both;animation-delay:calc(var(--photo-index)*35ms)}@keyframes hn-photo-enter{from{opacity:0;transform:translateY(28px) rotateX(12deg) scale(.96)}to{opacity:1}}}

/* === 3D Team carousel === */
.hn-team-gallery{padding:92px 0 100px;background:radial-gradient(ellipse at 50% 0%,#e8ddff 0,transparent 52%),linear-gradient(180deg,#faf9ff,#f2efff)}
.hn-team-carousel{position:relative;padding:16px 46px 0;perspective:1600px;transform-style:preserve-3d}
.hn-team-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:24px 8px 35px;scrollbar-width:none;transform-style:preserve-3d}
.hn-team-track::-webkit-scrollbar{display:none}
.hn-team-slide{flex:0 0 clamp(245px,31%,370px);scroll-snap-align:center;perspective:1100px;transform-style:preserve-3d}
.hn-team-slide-inner{height:290px;position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(140deg,#221846,#6941e8);box-shadow:0 20px 38px #20164126,0 5px 12px #20164114;transform:rotateY(-7deg) rotateX(3deg) translateZ(0);transition:transform .65s cubic-bezier(.2,.8,.2,1),box-shadow .65s;isolation:isolate}
.hn-team-slide:nth-child(even) .hn-team-slide-inner{transform:rotateY(7deg) rotateX(-2deg)}
.hn-team-slide:hover .hn-team-slide-inner{transform:rotateY(0) rotateX(0) translateY(-13px) translateZ(48px) scale(1.035);box-shadow:0 34px 60px #20164142}
.hn-team-slide img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.2,.8,.2,1),filter .6s}
.hn-team-slide:hover img{transform:scale(1.11);filter:saturate(1.15) contrast(1.04)}
.hn-team-slide-overlay{position:absolute;inset:auto 0 0;padding:55px 20px 19px;display:flex;justify-content:space-between;align-items:end;color:#fff;background:linear-gradient(transparent,#160f2ed9);z-index:2}
.hn-team-slide-overlay span{font-size:9px;letter-spacing:.16em;font-weight:800;color:#e4def7}
.hn-team-slide-overlay b{font-size:28px;color:#ffffffa8;line-height:1}
.hn-team-slide-shine{position:absolute;z-index:3;inset:-80% auto -80% -60%;width:38%;background:linear-gradient(90deg,transparent,#ffffff42,transparent);transform:rotate(25deg) translateX(-220%);pointer-events:none}
.hn-team-slide:hover .hn-team-slide-shine{animation:hn-team-shine 1s ease}
.hn-team-arrow{position:absolute;z-index:5;top:45%;width:46px;height:46px;border:1px solid #dbd4f4;border-radius:50%;background:linear-gradient(145deg,#fff,#eee8ff);color:#6941e8;font-size:29px;line-height:1;box-shadow:0 10px 24px #22174625;cursor:pointer;transition:transform .25s,box-shadow .25s}
.hn-team-arrow:hover{transform:translateY(-4px) scale(1.08);box-shadow:0 16px 28px #22174635}
.hn-team-prev{left:0}.hn-team-next{right:0}
.hn-team-carousel-footer{display:flex;align-items:center;gap:16px;padding:0 8px;color:#5d5678;font-size:12px;font-weight:700}
.hn-team-progress{height:4px;background:#dcd5f4;border-radius:9px;flex:1;overflow:hidden}
.hn-team-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#6941e8,#bdafeb);border-radius:9px;transition:width .2s}
.hn-team-hint{font-weight:500;color:#88819f}
.hn-team-empty{padding:35px;border:1px dashed #b7a8e8;border-radius:18px;color:#6e628e;text-align:center;background:#fff9}
@keyframes hn-team-shine{to{transform:rotate(25deg) translateX(650%)}}
@media(max-width:700px){.hn-team-carousel{padding:10px 30px 0}.hn-team-slide{flex-basis:82%}.hn-team-slide-inner{height:245px}.hn-team-arrow{width:38px;height:38px;font-size:24px}.hn-team-carousel-footer{flex-wrap:wrap}.hn-team-hint{display:none}}
/* === Founder page: immersive 3D motion and depth === */
.hn-founder-hero{position:relative;isolation:isolate;background:radial-gradient(ellipse at 76% 48%,#8d7aff 0,transparent 32%),radial-gradient(ellipse at 8% 0%,#6941e8 0,transparent 42%),linear-gradient(125deg,#0d0b2c,#241849 58%,#35246c);perspective:1300px}
.hn-founder-hero:before,.hn-founder-hero:after{content:"";position:absolute;z-index:-1;border:1px solid #c6baee35;border-radius:50%;width:540px;height:540px;right:4%;top:-90px;box-shadow:0 0 0 35px #c6baee09,0 0 0 75px #c6baee06;animation:hn-founder-orbit 22s linear infinite}
.hn-founder-hero:after{width:390px;height:390px;right:9%;top:-15px;border-style:dashed;animation-direction:reverse;animation-duration:30s}
.hn-founder-hero-inner{transform-style:preserve-3d}
.hn-founder-hero-copy{transform:translateZ(45px)}
.hn-founder-portrait-wrap{perspective:1000px;transform-style:preserve-3d}
.hn-founder-portrait{transform:rotateY(-10deg) rotateX(4deg) translateZ(35px);transform-style:preserve-3d;box-shadow:25px 35px 70px #05031999,-12px -8px 35px #a58aff30;transition:transform .8s cubic-bezier(.2,.8,.2,1),box-shadow .8s;animation:hn-founder-float 6s ease-in-out infinite}
.hn-founder-portrait:hover{transform:rotateY(0) rotateX(0) translateZ(75px) scale(1.025);box-shadow:35px 45px 85px #050319aa,0 0 55px #a58aff55}
.hn-founder-portrait-glow{animation:hn-founder-glow 5s ease-in-out infinite;transform:translateZ(-30px)}
.hn-founder-portrait:after{content:"";position:absolute;inset:12px;border:1px solid #ffffff55;border-radius:180px 180px 16px 16px;pointer-events:none;transform:translateZ(20px)}
.hn-founder-vision-card{transform:perspective(900px) rotateX(2deg) translateZ(0);transition:transform .55s,box-shadow .55s}
.hn-founder-vision-card:hover{transform:perspective(900px) rotateX(0) rotateY(-3deg) translateY(-10px) translateZ(35px);box-shadow:0 28px 55px #22174620}
.hn-timeline-item{transform:perspective(900px) rotateY(3deg);transition:transform .55s,box-shadow .55s}
.hn-timeline-item:hover{transform:perspective(900px) rotateY(0) translateY(-8px) translateZ(25px);box-shadow:0 25px 50px #22174620}
.hn-founder-portfolio{transform:translateZ(30px);transition:transform .3s,box-shadow .3s}
.hn-founder-portfolio:hover{transform:translateY(-4px) translateZ(45px) scale(1.04)}
@keyframes hn-founder-float{0%,100%{translate:0 0}50%{translate:0 -13px}}
@keyframes hn-founder-orbit{to{transform:rotate(360deg)}}
@keyframes hn-founder-glow{0%,100%{opacity:.65;scale:1}50%{opacity:1;scale:1.08}}
@media(prefers-reduced-motion:reduce){.hn-team-track{scroll-behavior:auto}.hn-team-slide-inner,.hn-founder-portrait,.hn-founder-hero:before,.hn-founder-hero:after,.hn-founder-portrait-glow{animation:none!important;transition:none!important}}
