/* Interior-page visual system */
body:not(.page-home) main{background:var(--paper)}
.inner-hero{position:relative;isolation:isolate;min-height:clamp(590px,76svh,820px);overflow:hidden;background:var(--deep);color:#fff}
.inner-hero-image{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;max-width:none;box-shadow:none;transform:scale(1.06) translate3d(0,var(--inner-shift,0px),0);transition:transform 1.6s cubic-bezier(.2,.7,.2,1)}
.inner-hero:before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(5,22,31,.9),rgba(5,22,31,.68) 47%,rgba(5,22,31,.18) 100%),linear-gradient(0deg,rgba(5,22,31,.4),transparent 35%)}
.inner-hero-grid{display:flex;align-items:center;justify-content:space-between;gap:50px;min-height:clamp(590px,76svh,820px);padding:95px 0 110px}
.inner-hero-copy{max-width:970px}
.inner-hero .eyebrow{color:#eeb78b}
.inner-hero h1{max-width:930px;margin:30px 0 24px;color:#fff;font-size:clamp(66px,8vw,128px);line-height:.99}
.inner-hero h1 em{color:#f4af79}
.inner-hero p{max-width:600px;margin:0;color:#e7eee9;font-size:clamp(17px,1.7vw,21px);line-height:1.65}
.inner-hero-side{align-self:center;flex:none;writing-mode:vertical-rl;font-size:10px;font-weight:800;letter-spacing:.24em;color:#d3e2dc}
.inner-hero-foot{position:absolute;bottom:25px;left:0;right:0;display:flex;justify-content:space-between;gap:20px;padding-top:15px;border-top:1px solid rgba(255,255,255,.38);color:#e5eae4;font-size:10px;font-weight:800;letter-spacing:.18em}
.page-about .inner-hero-image{object-position:center 38%}
.page-team .inner-hero-image{object-position:center 48%}
.page-pipeline .inner-hero-image{object-position:center}
.page-careers .inner-hero-image{object-position:center 45%}
.page-contact .inner-hero-image{object-position:center}
.page-investors .inner-hero-image,.page-news .inner-hero-image{object-position:center}
.page-contact .inner-hero:before,.page-careers .inner-hero:before{background:linear-gradient(90deg,rgba(5,22,31,.91),rgba(5,22,31,.66) 55%,rgba(5,22,31,.24))}

/* A curtain slides off each interior hero after load. */
.js-ready .inner-hero:after{content:'';position:absolute;z-index:3;inset:0;background:var(--copper);pointer-events:none;animation:curtain-out .95s cubic-bezier(.78,0,.22,1) both}
.js-ready .inner-hero-copy{animation:rise-in .75s .35s cubic-bezier(.2,.75,.2,1)}
.js-ready .inner-hero-image{transform:scale(1.015) translate3d(0,var(--inner-shift,0px),0)}
@keyframes curtain-out{from{transform:translateX(0)}to{transform:translateX(101%)}}
.file-preview .inner-hero:after{display:none}
.file-preview .inner-hero-copy{animation:none}

/* Reusable interior section rhythm */
body:not(.page-home) .body-section{position:relative}
body:not(.page-home) .body-section .editorial-grid{align-items:start}
body:not(.page-home) .body-section .editorial-grid>div:first-child{position:relative;padding-top:20px;border-top:1px solid var(--copper)}
body:not(.page-home) .body-section h2{font-size:clamp(48px,5.9vw,88px)}
body:not(.page-home) .body-section .prose{padding:35px 0 0}
body:not(.page-home) .body-section .prose p{font-size:18px;line-height:1.85}
body:not(.page-home) .body-section .prose p:first-child{font-size:clamp(22px,2vw,29px);line-height:1.55}
.page-about .body-section{background:#fffaf1}
.page-about .pillar-list{margin-top:45px}
.page-about .pillar-list li{font-family:Manrope,sans-serif;font-size:21px;letter-spacing:-.035em;transition:padding .25s,color .25s}
.page-about .pillar-list li:hover{padding-left:65px;color:var(--blue)}
.page-about .focus-section{background:var(--deep)}
.page-about .focus-grid{gap:15px}
.page-about .focus-item{position:relative;min-height:350px;padding:30px;background:#173947;border-top:3px solid var(--copper);overflow:hidden;transition:transform .4s,background .4s}
.page-about .focus-item:before{content:'';position:absolute;inset:auto -20% -60% 10%;height:100%;border:1px solid rgba(150,217,207,.18);border-radius:50%;transform:scale(.5);transition:transform .5s}
.page-about .focus-item:hover{transform:translateY(-8px);background:#205064}
.page-about .focus-item:hover:before{transform:scale(1.35)}
.page-about .focus-item p{position:relative;margin-top:75px;color:#f2f7f2}
.page-about .about-team-link{position:relative;background:#e8eee8}
.page-about .about-team-link:after{content:'IBEX';position:absolute;right:3vw;bottom:-4vw;color:rgba(21,81,96,.055);font-family:Manrope,sans-serif;font-size:clamp(120px,20vw,340px);font-weight:800;letter-spacing:-.1em;pointer-events:none}
.page-about .about-team-link .shell{position:relative;z-index:1}

/* Team: portraits as opening blocks, full biographies on demand. */
.team-section{background:#faf7ef}
.board-section{background:#e9eee9}
.team-section .shell>.eyebrow{margin-bottom:15px}
.team-section h2{max-width:990px;margin-bottom:60px}
.profiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.profile{position:relative;display:grid;grid-template-columns:175px minmax(0,1fr);gap:22px;align-items:start;padding:20px;background:#fff;border:1px solid #d5dfda;overflow:hidden;transition:transform .35s,box-shadow .35s,border-color .35s}
.profile:before{content:'';position:absolute;top:0;left:0;width:100%;height:4px;background:var(--copper);transform:scaleX(0);transform-origin:left;transition:transform .4s}
.profile:hover,.profile.is-open{border-color:#acc6bd;box-shadow:0 22px 45px rgba(6,38,49,.09)}
.profile:hover:before,.profile.is-open:before{transform:scaleX(1)}
.profile>img{width:175px;height:215px;object-fit:cover;object-position:top;background:#e1eae4;filter:saturate(.75);transition:filter .45s,transform .45s}
.profile:hover>img,.profile.is-open>img{filter:saturate(1);transform:scale(1.025)}
.profile-copy{padding:8px 5px 0 0}
.profile-role{display:block;color:var(--blue);font-size:10px;line-height:1.6;letter-spacing:.14em}
.profile h3{max-width:340px;margin:14px 0 27px;font-size:clamp(26px,2.55vw,39px)}
.profile-preview{display:none;max-width:390px;margin:0 0 22px;color:#4f6668;font-size:14px;line-height:1.65}
.js-ready .profile-preview{display:block}
.js-ready .profile.is-open .profile-preview{display:none}
.profile-toggle{display:none;align-items:center;gap:18px;padding:0 0 8px;border:0;border-bottom:1px solid var(--blue);background:transparent;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.js-ready .profile-toggle{display:inline-flex}
.profile-toggle b{font-family:Manrope,sans-serif;font-size:24px;font-weight:400;line-height:14px;transition:transform .3s}
.profile.is-open .profile-toggle b{transform:rotate(45deg)}
.profile-bio-wrap{grid-column:1/-1;display:grid;grid-template-rows:1fr;opacity:1;transition:grid-template-rows .48s cubic-bezier(.2,.75,.25,1),opacity .35s}
.profile-bio{min-height:0;overflow:hidden;columns:2;column-gap:30px}
.profile-bio p{break-inside:avoid;margin:0 0 16px;color:#4f6668;font-size:14px;line-height:1.77}
.js-ready .profile:not(.is-open) .profile-bio-wrap{grid-template-rows:0fr;opacity:0}

/* Pipeline cards open visually as they enter. */
.page-pipeline .body-section{background:#f8f4ec}
.page-pipeline .section-heading{max-width:1000px}
.page-pipeline .section-heading>p{color:var(--muted);font-size:19px}
.pipeline-list{gap:16px;margin-top:60px}
.pipeline-list article{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:530px;padding:35px;overflow:hidden;background:#12303d;color:#fff;border:0;transition:transform .4s}
.pipeline-list article:before{content:'';position:absolute;z-index:-2;inset:0;background:center/cover no-repeat;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.pipeline-list article:nth-child(1):before{background-image:url('assets/cells-dark.webp')}
.pipeline-list article:nth-child(2):before{background-image:url('assets/hero-light.webp')}
.pipeline-list article:nth-child(3):before{background-image:url('assets/research-team.webp')}
.pipeline-list article:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(4,26,35,.96),rgba(4,26,35,.68) 63%,rgba(4,26,35,.33))}
.pipeline-list article:hover{transform:translateY(-9px)}
.pipeline-list article:hover:before{transform:scale(1.09)}
.pipeline-list article>span{color:#f2b788;font-size:11px}
.pipeline-list article>div{margin-top:auto}
.pipeline-list h3{margin:0 0 15px;color:#fff;font-size:clamp(31px,3vw,47px)}
.pipeline-list p{color:#d4e0db;font-size:15px;line-height:1.7}
.pipeline-table-section{background:#0e2936}
.pipeline-table-section .table-scroll{background:#143744}
.pipeline-table tbody tr:not(.table-group){transition:background .2s}
.pipeline-table tbody tr:not(.table-group):hover{background:#1d4a58}
.research-media{background:#ecf0e9}
.video-grid>div{padding:12px 12px 20px;background:#fff}
.video-grid h3{padding:0 12px}
.video-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(0deg,rgba(6,29,40,.84),rgba(6,29,40,.18)),url('assets/cells-dark.webp') center/cover}
.video-grid>div:nth-child(2) .video-frame{background-image:linear-gradient(0deg,rgba(6,29,40,.84),rgba(6,29,40,.18)),url('assets/hero-light.webp')}
.video-link{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:20px;width:100%;height:100%;padding:30px;color:#fff;font-size:13px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;transition:background .25s}
.video-link:hover{background:rgba(11,44,55,.24)}
.video-play{display:grid;place-items:center;width:68px;height:68px;border:1px solid rgba(255,255,255,.85);border-radius:50%;font-size:18px;transition:background .25s,color .25s,transform .25s}
.video-link:hover .video-play{background:#fff;color:var(--deep);transform:scale(1.08)}
.video-frame iframe{display:block;width:100%;height:100%;border:0;background:var(--deep)}

/* Careers, contact, investors and news */
.page-careers .body-section{background:#f8f4ec}
.page-careers .openings{display:grid;grid-template-columns:190px 1fr;gap:15px 45px;margin-top:100px;padding:35px 0;border:0;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);background:transparent}
.page-careers .openings>span{grid-row:span 2;padding-top:12px}
.page-careers .openings h3{margin:0;font-size:clamp(34px,4vw,58px)}
.page-careers .openings p{max-width:650px}
.page-contact .body-section{background:#f7f2e9}
.contact-layout{gap:7%;align-items:start}
.contact-layout>div:first-child{padding:35px;background:#fff;border-top:5px solid var(--copper);box-shadow:0 25px 50px rgba(12,45,52,.07)}
.contact-layout h2{font-size:clamp(42px,4.7vw,70px)!important}
.contact-aside{background:#163743;color:#fff}
.contact-aside>img{height:320px;margin:0;filter:saturate(.8)}
.contact-options{padding:15px 35px 25px}
.contact-options>div{border-color:#527078}
.contact-options span{color:#ebb388}
.contact-options p{color:#d3dfdb}
.contact-options a:hover{color:#f2bd91}
.page-investors .body-section{background:#f8f4ec}
.offering-notice{margin:30px 0;padding:23px 25px;border-left:4px solid var(--copper);background:#e9eee9}
.offering-notice strong{display:block;margin-bottom:10px;color:var(--deep);font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.page-investors .offering-notice p{margin:0;color:#4f6668;font-size:14px!important;line-height:1.7!important}
.investor-docs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:85px;border:0}
.investor-docs a{display:flex;flex-direction:column;align-items:flex-start;min-height:290px;padding:30px;border:1px solid #cfdbd5;background:#fff;transition:transform .35s,box-shadow .35s,background .35s}
.investor-docs a:hover{transform:translateY(-7px);background:#eff5ef;box-shadow:0 22px 40px rgba(6,38,49,.08)}
.investor-docs a>span{font-size:14px}
.investor-docs a>div{margin-top:auto}
.investor-docs a b{align-self:flex-end;margin-top:14px;color:var(--copper)}
.page-news .archive-section{background:#f8f4ec}
.page-news .archive-grid{gap:18px}
.page-news .story{border:0;box-shadow:0 8px 32px rgba(6,38,49,.06)}
.page-news .story:hover{box-shadow:0 28px 55px rgba(6,38,49,.13)}
.article-head{position:relative;overflow:hidden;padding:100px 0 105px;background:#102e3b;color:#fff}
.article-head:before{content:'';position:absolute;right:-10vw;top:-20vw;width:60vw;height:60vw;border:1px solid rgba(142,206,195,.15);border-radius:50%;box-shadow:0 0 0 8vw rgba(142,206,195,.035),0 0 0 16vw rgba(142,206,195,.025)}
.article-head .shell{position:relative}
.article-head .back-link,.article-meta{color:#eeb78b}
.article-head h1{color:#fff}
.article-head p{color:#d3e1dc}
.article-body{background:#f8f4ec}
.article-image{position:relative;overflow:hidden}
.article-image img{max-height:580px;transition:transform .8s}
.article-image:hover img{transform:scale(1.025)}
.article-resources{border-left:4px solid var(--copper);background:#e9eee9}

/* Scroll-enter blocks */
.reveal-block{opacity:1;clip-path:none;transform:none}
.reveal-block.is-visible{animation:block-unfold .8s cubic-bezier(.2,.75,.2,1)}
.reveal-side{opacity:1;transform:none}
.reveal-side.is-visible{animation:slide-in .75s cubic-bezier(.2,.75,.2,1)}
@keyframes block-unfold{from{clip-path:inset(0 0 18% 0);transform:translateY(18px)}to{clip-path:inset(0 0 0 0);transform:translateY(0)}}
@keyframes slide-in{from{transform:translateX(38px)}to{transform:translateX(0)}}
.profile.reveal-block.is-visible:hover{transform:translateY(-4px)}
.pipeline-list article.reveal-block.is-visible:hover,.investor-docs a.reveal-block.is-visible:hover{transform:translateY(-8px)}
@keyframes menu-unfold{from{opacity:0;clip-path:inset(0 0 100% 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
@media(max-width:980px){.mobile-nav:not([hidden]){animation:menu-unfold .35s cubic-bezier(.2,.75,.2,1) both}}

@media(max-width:1100px){.profiles{grid-template-columns:1fr}.profile{grid-template-columns:200px minmax(0,1fr)}.profile>img{width:200px;height:230px}.pipeline-list article{min-height:480px}.investor-docs{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.inner-hero,.inner-hero-grid{min-height:650px}.inner-hero-grid{padding:90px 0 105px}.inner-hero h1{font-size:clamp(55px,9vw,88px)}.pipeline-list{grid-template-columns:1fr}.pipeline-list article{min-height:420px}.page-about .focus-grid{grid-template-columns:1fr}.page-about .focus-item{min-height:260px}.page-about .focus-item p{margin-top:45px}.page-careers .openings{grid-template-columns:1fr;gap:15px}.page-careers .openings>span{grid-row:auto}}
@media(max-width:720px){.inner-hero,.inner-hero-grid{min-height:640px}.inner-hero-image{object-position:60% center}.inner-hero:before{background:linear-gradient(0deg,rgba(5,22,31,.95),rgba(5,22,31,.62) 70%,rgba(5,22,31,.28))}.inner-hero-grid{align-items:flex-end;padding:100px 0 110px}.inner-hero h1{font-size:clamp(51px,10vw,72px)}.inner-hero p{font-size:16px}.inner-hero-side{display:none}.inner-hero-foot{font-size:9px}.inner-hero-foot span:first-child{display:none}.inner-hero-foot span:last-child{margin-left:auto}.profiles{grid-template-columns:1fr}.profile{grid-template-columns:130px minmax(0,1fr);gap:15px;padding:14px}.profile>img{width:130px;height:160px}.profile h3{font-size:25px;margin:10px 0 17px}.profile-bio{columns:1}.contact-layout>div:first-child{padding:25px}.contact-options{padding:15px 25px 25px}.investor-docs{grid-template-columns:1fr}.investor-docs a{min-height:230px}.page-about .about-team-link:after{display:none}.article-head{padding:75px 0}.article-head h1{font-size:clamp(48px,9vw,72px)}}
@media(max-width:420px){.profile{grid-template-columns:100px minmax(0,1fr)}.profile>img{width:100px;height:130px}.profile h3{font-size:22px}.profile-role{font-size:9px}.profile-toggle{font-size:10px}.page-contact .contact-layout h2{font-size:43px!important}}
@media(prefers-reduced-motion:reduce){.js-ready .inner-hero:after{display:none}.js-ready .inner-hero-copy{opacity:1;transform:none}.reveal-block,.reveal-side{opacity:1;transform:none;clip-path:none}.inner-hero-image{transform:none!important}}
